├── maasglobal-schema-package ├── .prettierignore ├── src │ ├── index.ts │ ├── tsconfig.json │ └── main.test.ts ├── .eslintignore ├── .prettierrc.js ├── types │ └── README.md ├── .gitignore ├── tsconfig.eslint.json ├── jest.config.js ├── .extract_code.py └── .eslintrc.json ├── maas-schemas ├── .prettierignore ├── .prettierrc.js ├── schemas.json ├── src │ ├── io-ts │ │ ├── _utils │ │ │ ├── core │ │ │ │ ├── balances │ │ │ │ │ ├── balances.ts │ │ │ │ │ └── __tests__ │ │ │ │ │ │ └── balances.ts │ │ │ │ └── components │ │ │ │ │ ├── units-geo │ │ │ │ │ ├── units-geo.ts │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ └── units-geo.ts │ │ │ │ │ └── location.ts │ │ │ │ │ ├── common │ │ │ │ │ ├── common.ts │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ ├── common.ts │ │ │ │ │ │ └── meta-currency.ts │ │ │ │ │ └── meta-currency.ts │ │ │ │ │ ├── state │ │ │ │ │ ├── state.ts │ │ │ │ │ ├── __tests__ │ │ │ │ │ │ └── state.ts │ │ │ │ │ └── booking-state.ts │ │ │ │ │ ├── vehicle │ │ │ │ │ ├── vehicle.ts │ │ │ │ │ └── __tests__ │ │ │ │ │ │ └── vehicle.ts │ │ │ │ │ ├── units │ │ │ │ │ ├── units.ts │ │ │ │ │ ├── currency.ts │ │ │ │ │ └── authority.ts │ │ │ │ │ └── fare │ │ │ │ │ ├── token-id.ts │ │ │ │ │ └── fare.ts │ │ │ └── README.md │ │ ├── core │ │ │ ├── leg.ts │ │ │ ├── card.ts │ │ │ ├── error.ts │ │ │ ├── legV2.ts │ │ │ ├── plan.ts │ │ │ ├── stop.ts │ │ │ ├── booking.ts │ │ │ ├── customer.ts │ │ │ ├── product.ts │ │ │ ├── profile.ts │ │ │ ├── region.ts │ │ │ ├── itinerary.ts │ │ │ ├── booking-meta.ts │ │ │ ├── itineraryV2.ts │ │ │ ├── kyc-service.ts │ │ │ ├── paymentSource.ts │ │ │ ├── booking-option.ts │ │ │ ├── components │ │ │ │ ├── ajv.ts │ │ │ │ ├── cost.ts │ │ │ │ ├── i18n.ts │ │ │ │ ├── place.ts │ │ │ │ ├── terms.ts │ │ │ │ ├── ACRISS.ts │ │ │ │ ├── address.ts │ │ │ │ ├── geometry.ts │ │ │ │ ├── message.ts │ │ │ │ ├── station.ts │ │ │ │ ├── system.ts │ │ │ │ ├── api-common.ts │ │ │ │ ├── car-rental.ts │ │ │ │ ├── point-cost.ts │ │ │ │ ├── state-log.ts │ │ │ │ ├── agencyOptions.ts │ │ │ │ ├── authorization.ts │ │ │ │ ├── bike-station.ts │ │ │ │ ├── configurator.ts │ │ │ │ ├── costBreakDown.ts │ │ │ │ ├── geolocation.ts │ │ │ │ ├── spaceDemand.ts │ │ │ │ ├── travel-mode.ts │ │ │ │ ├── configuratorV1.ts │ │ │ │ ├── configuratorV2.ts │ │ │ │ ├── benefit-provider.ts │ │ │ │ ├── configuratorCommon.ts │ │ │ │ ├── customerSelection.ts │ │ │ │ ├── payment-parameters.ts │ │ │ │ ├── customerSelectionV1.ts │ │ │ │ ├── customerSelectionV2.ts │ │ │ │ ├── customerSelectionCommon.ts │ │ │ │ ├── personalDataAllowItem.ts │ │ │ │ ├── personalDataValidation.ts │ │ │ │ ├── subscriptionChangeState.ts │ │ │ │ ├── personalDocumentRequiredItem.ts │ │ │ │ ├── fare.ts │ │ │ │ ├── common.ts │ │ │ │ ├── state.ts │ │ │ │ ├── units.ts │ │ │ │ ├── vehicle.ts │ │ │ │ └── units-geo.ts │ │ │ ├── modes │ │ │ │ ├── MODE_BUS.ts │ │ │ │ ├── MODE_CAR.ts │ │ │ │ ├── MODE_FERRY.ts │ │ │ │ ├── MODE_MOPED.ts │ │ │ │ ├── MODE_RAIL.ts │ │ │ │ ├── MODE_TAXI.ts │ │ │ │ ├── MODE_TRAIN.ts │ │ │ │ ├── MODE_TRAM.ts │ │ │ │ ├── MODE_WALK.ts │ │ │ │ ├── MODE_BICYCLE.ts │ │ │ │ ├── MODE_BUSISH.ts │ │ │ │ ├── MODE_GONDOLA.ts │ │ │ │ ├── MODE_SCOOTER.ts │ │ │ │ ├── MODE_SUBWAY.ts │ │ │ │ ├── MODE_TRAINISH.ts │ │ │ │ ├── MODE_TRANSIT.ts │ │ │ │ ├── MODE_CABLE_CAR.ts │ │ │ │ ├── MODE_FUNICULAR.ts │ │ │ │ ├── MODE_SHARED_CAR.ts │ │ │ │ ├── MODE_SHARED_BICYCLE.ts │ │ │ │ └── MODE_SHARED_E_BICYCLE.ts │ │ │ ├── multimodal-plan.ts │ │ │ ├── package-option.ts │ │ │ ├── product-option.ts │ │ │ ├── iot-thing-shadow.ts │ │ │ ├── personal-document.ts │ │ │ ├── product-optionV2.ts │ │ │ ├── partialFavoriteLocation.ts │ │ │ ├── multimodal-routes-metadata.ts │ │ │ └── balances.ts │ │ ├── environments │ │ │ ├── apis.ts │ │ │ ├── accounts.ts │ │ │ ├── environments.ts │ │ │ ├── synopses.ts │ │ │ └── synopsis.ts │ │ ├── geojson │ │ │ └── geometry.ts │ │ ├── tsp │ │ │ ├── manage │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── estimate │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── booking-cancel │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── booking-create │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── booking-ticket │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── booking-update │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── booking-upload │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── customer-auth │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── package-create │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── stations-list │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── vehicle-alert │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── booking-receipt │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── journey-planner │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── payments-initiate │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── payments-retrieve │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── stations-retrieve │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── booking-read-by-id │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── booking-options-list │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── customer-auth-validate │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── customer-registration │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── post-kyc-verification-update │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ └── webhooks-bookings-update │ │ │ │ ├── remote-request.ts │ │ │ │ └── remote-response.ts │ │ └── maas-backend │ │ │ ├── coupons │ │ │ ├── code.ts │ │ │ ├── coupons-validate │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ └── v2 │ │ │ │ └── coupons-redeem │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── invoices │ │ │ ├── invoice.ts │ │ │ ├── invoiceUnits.ts │ │ │ └── invoiceLineItem.ts │ │ │ ├── customers │ │ │ ├── customer.ts │ │ │ ├── personalData.ts │ │ │ ├── delete │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── stats │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── update │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── retrieve │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── benefits │ │ │ │ └── initiate │ │ │ │ │ ├── request.ts │ │ │ │ │ └── response.ts │ │ │ ├── virtual-card-issue │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── virtual-cards │ │ │ │ ├── virtualCard.ts │ │ │ │ ├── create │ │ │ │ │ ├── request.ts │ │ │ │ │ └── response.ts │ │ │ │ ├── remove │ │ │ │ │ └── request.ts │ │ │ │ ├── provision │ │ │ │ │ ├── request.ts │ │ │ │ │ └── response.ts │ │ │ │ ├── virtualCardAccountPosting.ts │ │ │ │ ├── virtualCardTokenReference.ts │ │ │ │ ├── list-transactions │ │ │ │ │ ├── request.ts │ │ │ │ │ └── response.ts │ │ │ │ ├── add-token-reference │ │ │ │ │ ├── request.ts │ │ │ │ │ └── response.ts │ │ │ │ ├── get-token-reference │ │ │ │ │ ├── request.ts │ │ │ │ │ └── response.ts │ │ │ │ └── import-transactions │ │ │ │ │ ├── request.ts │ │ │ │ │ └── response.ts │ │ │ ├── payment-sources │ │ │ │ ├── paymentSource.ts │ │ │ │ ├── create │ │ │ │ │ └── request.ts │ │ │ │ ├── delete │ │ │ │ │ └── request.ts │ │ │ │ ├── update │ │ │ │ │ ├── request.ts │ │ │ │ │ └── response.ts │ │ │ │ └── setup-intent │ │ │ │ │ ├── request.ts │ │ │ │ │ └── response.ts │ │ │ ├── personal-data-delete │ │ │ │ └── request.ts │ │ │ ├── verification │ │ │ │ ├── status │ │ │ │ │ └── response.ts │ │ │ │ ├── initiate │ │ │ │ │ ├── request.ts │ │ │ │ │ └── response.ts │ │ │ │ ├── register │ │ │ │ │ ├── request.ts │ │ │ │ │ └── response.ts │ │ │ │ ├── verification-object.ts │ │ │ │ ├── media │ │ │ │ │ ├── get │ │ │ │ │ │ └── request.ts │ │ │ │ │ └── list │ │ │ │ │ │ └── request.ts │ │ │ │ └── webhooks │ │ │ │ │ ├── event │ │ │ │ │ └── request.ts │ │ │ │ │ └── decision │ │ │ │ │ └── request.ts │ │ │ ├── favorite-locations │ │ │ │ ├── add │ │ │ │ │ ├── request.ts │ │ │ │ │ └── response.ts │ │ │ │ ├── delete │ │ │ │ │ └── request.ts │ │ │ │ ├── list │ │ │ │ │ ├── request.ts │ │ │ │ │ └── response.ts │ │ │ │ └── update │ │ │ │ │ ├── request.ts │ │ │ │ │ └── response.ts │ │ │ └── personal-documents │ │ │ │ ├── create │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ │ ├── remove │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ │ ├── update │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ │ ├── consent │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ │ ├── initiate │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ │ └── revoke-consent │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── products │ │ │ ├── provider.ts │ │ │ ├── products-providers-list │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── products-providers-options │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ └── products-providers-retrieve │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── subscriptions │ │ │ ├── contact.ts │ │ │ ├── pricing.ts │ │ │ ├── subscription.ts │ │ │ ├── subscription-intent.ts │ │ │ ├── subscriptionAddress.ts │ │ │ ├── subscriptionOption.ts │ │ │ ├── subscriptions-create │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── subscriptions-update │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── subscriptions-estimate │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── subscriptions-options │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── subscriptions-package │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── subscriptions-retrieve │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── subscriptions-change-state │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── subscriptions-intents-list │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── subscriptions-intents-create │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── subscriptions-intents-retrieve │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── subscriptions-intents-update │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── subscriptions-intents-update-state │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ └── subscriptions-scheduled-change-delete │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── provider │ │ │ ├── sms │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── routes │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── geocoding │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── autocomplete │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ └── geocoding-reverse │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── tsp-auth │ │ │ ├── init │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── set │ │ │ │ └── request.ts │ │ │ ├── expire │ │ │ │ └── request.ts │ │ │ ├── verify │ │ │ │ ├── request.ts │ │ │ │ ├── response.ts │ │ │ │ └── definitions.ts │ │ │ └── validate │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── push-notification │ │ │ ├── request.ts │ │ │ └── response.ts │ │ │ ├── auth │ │ │ ├── auth-sms-login │ │ │ │ └── request.ts │ │ │ └── auth-sms-request-code │ │ │ │ └── request.ts │ │ │ ├── routes │ │ │ ├── routes-query │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ └── routes-query-v4 │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── booking-option-create │ │ │ ├── request.ts │ │ │ └── response.ts │ │ │ ├── booking-virtual-create │ │ │ ├── request.ts │ │ │ └── response.ts │ │ │ ├── profile │ │ │ ├── profile-edit │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── profile-info │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── profile-webhook │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── profile-devices-put │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── profile-favoriteLocations-add │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ └── profile-favoriteLocations-delete │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── vehicle │ │ │ └── vehicle-alert │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── bookings │ │ │ ├── bookings-cancel │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── bookings-create │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── bookings-list │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── bookings-update │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── bookings-upload │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── bookings-options │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── bookings-retrieve │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── v2 │ │ │ │ └── bookings-create │ │ │ │ │ ├── request.ts │ │ │ │ │ └── response.ts │ │ │ ├── bookings-agency-options │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ └── bookings-agency-products │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── regions │ │ │ └── regions-options │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── stations │ │ │ ├── stations-list │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ └── stations-retrieve │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── geocoding │ │ │ ├── geocoding-query │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ └── geocoding-reverse │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── itineraries │ │ │ ├── itinerary-list │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── itinerary-cancel │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── itinerary-create │ │ │ │ ├── request.ts │ │ │ │ ├── response.ts │ │ │ │ ├── request-v1.ts │ │ │ │ └── request-v2.ts │ │ │ ├── itinerary-update │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── itinerary-estimate │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ └── itinerary-retrieve │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── webhooks │ │ │ ├── webhooks-payments │ │ │ │ ├── request.ts │ │ │ │ ├── response.ts │ │ │ │ └── gateway │ │ │ │ │ ├── avainpay.ts │ │ │ │ │ ├── stripe.ts │ │ │ │ │ └── yaband.ts │ │ │ ├── webhooks-bookings-create │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── webhooks-bookings-update │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── webhooks-message-to-user │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ └── zendesk-push-notification │ │ │ │ ├── request.ts │ │ │ │ └── response.ts │ │ │ ├── autocomplete │ │ │ └── autocomplete-query │ │ │ │ ├── request.ts │ │ │ │ ├── response.ts │ │ │ │ └── suggestion.ts │ │ │ └── tracking │ │ │ ├── tracking-active-leg-get │ │ │ ├── request.ts │ │ │ └── response.ts │ │ │ ├── tracking-active-leg-set │ │ │ ├── request.ts │ │ │ └── response.ts │ │ │ ├── tracking-active-itinerary-get │ │ │ ├── request.ts │ │ │ └── response.ts │ │ │ ├── tracking-active-itinerary-set │ │ │ ├── request.ts │ │ │ └── response.ts │ │ │ ├── tracking-update-user-location │ │ │ ├── request.ts │ │ │ └── response.ts │ │ │ └── tracking-cancel-active-itinerary │ │ │ ├── request.ts │ │ │ └── response.ts │ ├── tsconfig.json │ └── ajv │ │ └── conformance.test.ts ├── .eslintignore ├── tsconfig.eslint.json ├── schemas │ ├── tsp │ │ ├── vehicle-alert │ │ │ ├── response.json │ │ │ └── request.json │ │ ├── journey-planner │ │ │ └── response.json │ │ ├── estimate │ │ │ ├── response.json │ │ │ └── request.json │ │ ├── booking-upload │ │ │ └── response.json │ │ ├── customer-registration │ │ │ ├── response.json │ │ │ └── request.json │ │ ├── booking-cancel │ │ │ └── request.json │ │ ├── booking-receipt │ │ │ └── request.json │ │ ├── manage │ │ │ └── request.json │ │ ├── customer-auth │ │ │ └── response.json │ │ ├── stations-retrieve │ │ │ └── request.json │ │ ├── payments-retrieve │ │ │ └── request.json │ │ ├── booking-read-by-id │ │ │ └── request.json │ │ └── customer-auth-validate │ │ │ └── request.json │ ├── core │ │ ├── modes │ │ │ ├── MODE_BUS.json │ │ │ ├── MODE_TRAM.json │ │ │ ├── MODE_WALK.json │ │ │ ├── MODE_BUSISH.json │ │ │ ├── MODE_FERRY.json │ │ │ ├── MODE_SUBWAY.json │ │ │ ├── MODE_TRAIN.json │ │ │ ├── MODE_GONDOLA.json │ │ │ ├── MODE_TRANSIT.json │ │ │ ├── MODE_CABLE_CAR.json │ │ │ ├── MODE_FUNICULAR.json │ │ │ ├── MODE_TRAINISH.json │ │ │ ├── MODE_CAR.json │ │ │ ├── MODE_SHARED_CAR.json │ │ │ ├── MODE_MOPED.json │ │ │ ├── MODE_SCOOTER.json │ │ │ ├── MODE_SHARED_BICYCLE.json │ │ │ └── MODE_SHARED_E_BICYCLE.json │ │ ├── components │ │ │ ├── point-cost.json │ │ │ ├── i18n.json │ │ │ ├── ACRISS.json │ │ │ ├── benefit-provider.json │ │ │ ├── ajv.json │ │ │ ├── customerSelectionV2.json │ │ │ ├── personalDataAllowItem.json │ │ │ ├── costBreakDown.json │ │ │ └── personalDocumentRequiredItem.json │ │ ├── package-option.json │ │ └── stop.json │ └── maas-backend │ │ ├── profile │ │ ├── profile-edit │ │ │ ├── request.json │ │ │ └── response.json │ │ ├── profile-info │ │ │ ├── request.json │ │ │ └── response.json │ │ ├── profile-webhook │ │ │ ├── request.json │ │ │ └── response.json │ │ ├── profile-favoriteLocations-add │ │ │ └── response.json │ │ └── profile-favoriteLocations-delete │ │ │ └── response.json │ │ ├── provider │ │ ├── geocoding │ │ │ ├── request.json │ │ │ └── response.json │ │ ├── sms │ │ │ ├── request.json │ │ │ └── response.json │ │ ├── autocomplete │ │ │ ├── request.json │ │ │ └── response.json │ │ └── geocoding-reverse │ │ │ ├── request.json │ │ │ └── response.json │ │ ├── itineraries │ │ ├── itinerary-cancel │ │ │ └── response.json │ │ ├── itinerary-estimate │ │ │ └── response.json │ │ └── itinerary-update │ │ │ └── response.json │ │ ├── vehicle │ │ └── vehicle-alert │ │ │ ├── response.json │ │ │ └── request.json │ │ ├── stations │ │ ├── stations-list │ │ │ └── response.json │ │ └── stations-retrieve │ │ │ └── response.json │ │ ├── tracking │ │ ├── tracking-active-leg-get │ │ │ ├── request.json │ │ │ └── response.json │ │ ├── tracking-active-leg-set │ │ │ ├── request.json │ │ │ └── response.json │ │ ├── tracking-update-user-location │ │ │ ├── request.json │ │ │ └── response.json │ │ ├── tracking-cancel-active-itinerary │ │ │ ├── request.json │ │ │ └── response.json │ │ ├── tracking-active-itinerary-get │ │ │ ├── request.json │ │ │ └── response.json │ │ └── tracking-active-itinerary-set │ │ │ ├── request.json │ │ │ └── response.json │ │ ├── coupons │ │ ├── code.json │ │ └── coupons-validate │ │ │ └── response.json │ │ ├── customers │ │ ├── personal-documents │ │ │ ├── initiate │ │ │ │ └── response.json │ │ │ ├── remove │ │ │ │ └── response.json │ │ │ ├── revoke-consent │ │ │ │ └── response.json │ │ │ └── update │ │ │ │ └── response.json │ │ ├── delete │ │ │ └── response.json │ │ ├── update │ │ │ └── response.json │ │ ├── retrieve │ │ │ └── response.json │ │ ├── benefits │ │ │ └── initiate │ │ │ │ └── response.json │ │ ├── verification │ │ │ ├── register │ │ │ │ └── response.json │ │ │ └── initiate │ │ │ │ └── response.json │ │ ├── virtual-cards │ │ │ ├── create │ │ │ │ └── response.json │ │ │ ├── add-token-reference │ │ │ │ └── response.json │ │ │ └── list-transactions │ │ │ │ └── response.json │ │ └── payment-sources │ │ │ └── update │ │ │ └── response.json │ │ ├── bookings │ │ ├── bookings-upload │ │ │ └── response.json │ │ ├── bookings-create │ │ │ └── response.json │ │ ├── bookings-update │ │ │ └── response.json │ │ └── bookings-retrieve │ │ │ └── response.json │ │ ├── invoices │ │ └── invoiceUnits.json │ │ ├── webhooks │ │ ├── webhooks-bookings-update │ │ │ └── response.json │ │ ├── webhooks-message-to-user │ │ │ └── response.json │ │ └── webhooks-bookings-create │ │ │ └── response.json │ │ ├── regions │ │ └── regions-options │ │ │ └── request.json │ │ ├── tsp-auth │ │ ├── init │ │ │ └── response.json │ │ └── validate │ │ │ └── response.json │ │ ├── booking-virtual-create │ │ └── response.json │ │ ├── products │ │ ├── products-providers-retrieve │ │ │ └── response.json │ │ ├── products-providers-list │ │ │ └── response.json │ │ └── products-providers-options │ │ │ └── response.json │ │ └── subscriptions │ │ └── subscriptions-change-state │ │ └── response.json ├── .editorconfig ├── .npmignore ├── jest.config.js └── .gitignore ├── maasglobal-schema-generator-ajv ├── .prettierignore ├── .eslintignore ├── .prettierrc.js ├── types │ └── README.md ├── src │ ├── cli.ts │ └── tsconfig.json ├── .gitignore ├── tsconfig.eslint.json ├── jest.config.js ├── .extract_code.py └── .eslintrc.json ├── maasglobal-json-schema-validator ├── .prettierignore ├── .eslintignore ├── src │ ├── index.ts │ ├── tsconfig.json │ ├── readme.test.ts │ ├── conformance.test.ts │ └── validation-error.test.ts ├── .prettierrc.js ├── types │ └── README.md ├── .gitignore ├── .travis.yml ├── tsconfig.eslint.json ├── jest.config.js ├── .extract_code.py └── .eslintrc.json ├── maasglobal-schema-generator-io-ts ├── .prettierignore ├── .eslintignore ├── .prettierrc.js ├── types │ └── README.md ├── src │ ├── cli.ts │ ├── tsconfig.json │ └── main.test.ts ├── .gitignore ├── tsconfig.eslint.json ├── jest.config.js ├── .extract_code.py └── .eslintrc.json ├── maasglobal-reference-schemas ├── .prettierrc.js ├── .gitignore ├── .npmignore ├── schemas │ ├── eg-comment.json │ ├── eg-set.json │ ├── eg-tuple.json │ ├── eg-literal.json │ └── eg-array.json └── README.md ├── .github └── PULL_REQUEST_TEMPLATE.md └── .gitignore /maasglobal-schema-package/.prettierignore: -------------------------------------------------------------------------------- 1 | lib 2 | src/readme.ts 3 | -------------------------------------------------------------------------------- /maasglobal-schema-package/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './main'; 2 | -------------------------------------------------------------------------------- /maas-schemas/.prettierignore: -------------------------------------------------------------------------------- 1 | lib 2 | src/**/*.doctest.ts 3 | coverage 4 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-ajv/.prettierignore: -------------------------------------------------------------------------------- 1 | lib 2 | src/readme.ts 3 | -------------------------------------------------------------------------------- /maasglobal-json-schema-validator/.prettierignore: -------------------------------------------------------------------------------- 1 | lib 2 | src/readme.ts 3 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-io-ts/.prettierignore: -------------------------------------------------------------------------------- 1 | lib 2 | src/readme.ts 3 | -------------------------------------------------------------------------------- /maasglobal-schema-package/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | lib 3 | tsconfig.eslint.json 4 | -------------------------------------------------------------------------------- /maasglobal-json-schema-validator/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | lib 3 | tsconfig.eslint.json 4 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-ajv/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | lib 3 | tsconfig.eslint.json 4 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-io-ts/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | lib 3 | tsconfig.eslint.json 4 | -------------------------------------------------------------------------------- /maas-schemas/.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = require('eslint-config-maasglobal-ts/prettierrc.js'); 2 | -------------------------------------------------------------------------------- /maas-schemas/schemas.json: -------------------------------------------------------------------------------- 1 | { 2 | "base": "https://schemas.maas.global/", 3 | "deps": {} 4 | } 5 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/balances/balances.ts: -------------------------------------------------------------------------------- 1 | export * as BalanceName_ from './balance-name'; 2 | -------------------------------------------------------------------------------- /maas-schemas/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | lib 3 | tsconfig.eslint.json 4 | src/**/*.doctest.ts 5 | coverage 6 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/README.md: -------------------------------------------------------------------------------- 1 | # Utils Package 2 | 3 | This directory contains hand crafter utils 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/components/units-geo/units-geo.ts: -------------------------------------------------------------------------------- 1 | export * as Location_ from './location'; 2 | -------------------------------------------------------------------------------- /maasglobal-json-schema-validator/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './validation-error'; 2 | export * from './main'; 3 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/components/common/common.ts: -------------------------------------------------------------------------------- 1 | export * as MetaCurrency_ from './meta-currency'; 2 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/components/state/state.ts: -------------------------------------------------------------------------------- 1 | export * as BookingState_ from './booking-state'; 2 | -------------------------------------------------------------------------------- /maasglobal-reference-schemas/.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = require('eslint-config-maasglobal-ts/prettierrc.js'); 2 | -------------------------------------------------------------------------------- /maasglobal-schema-package/.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = require('eslint-config-maasglobal-ts/prettierrc.js'); 2 | -------------------------------------------------------------------------------- /maasglobal-schema-package/types/README.md: -------------------------------------------------------------------------------- 1 | Makeshift type definitions for 3rd party JavaScript libraries go here. 2 | -------------------------------------------------------------------------------- /maasglobal-json-schema-validator/.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = require('eslint-config-maasglobal-ts/prettierrc.js'); 2 | -------------------------------------------------------------------------------- /maasglobal-json-schema-validator/types/README.md: -------------------------------------------------------------------------------- 1 | Makeshift type definitions for 3rd party JavaScript libraries go here. 2 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-ajv/.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = require('eslint-config-maasglobal-ts/prettierrc.js'); 2 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-ajv/types/README.md: -------------------------------------------------------------------------------- 1 | Makeshift type definitions for 3rd party JavaScript libraries go here. 2 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-io-ts/.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = require('eslint-config-maasglobal-ts/prettierrc.js'); 2 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/leg.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/leg'; 4 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-io-ts/types/README.md: -------------------------------------------------------------------------------- 1 | Makeshift type definitions for 3rd party JavaScript libraries go here. 2 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/card.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/card'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/error.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/error'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/legV2.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/legV2'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/plan.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/plan'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/stop.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/stop'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/booking.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/booking'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/customer.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/customer'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/product.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/product'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/profile.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/profile'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/region.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/region'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/itinerary.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/itinerary'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/booking-meta.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/booking-meta'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/itineraryV2.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/itineraryV2'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/kyc-service.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/kyc-service'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/paymentSource.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/paymentSource'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/environments/apis.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/environments/apis'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/geojson/geometry.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/geojson/geometry'; 4 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-ajv/src/cli.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | import { main } from './main'; 4 | 5 | main(process.argv.slice(2)); 6 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-io-ts/src/cli.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | import { main } from './main'; 4 | 5 | main(process.argv.slice(2)); 6 | -------------------------------------------------------------------------------- /maasglobal-schema-package/.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | .DS_Store 3 | lib 4 | node_modules 5 | package-lock.json 6 | yarn-error.log 7 | src/readme.ts 8 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/booking-option.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/booking-option'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/ajv.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/ajv'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_BUS.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_BUS'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_CAR.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_CAR'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/multimodal-plan.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/multimodal-plan'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/package-option.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/package-option'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/product-option.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/product-option'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/manage/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/manage/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/manage/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/manage/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig", 3 | "compilerOptions": { 4 | "noEmit": true 5 | }, 6 | "exclude": [] 7 | } 8 | -------------------------------------------------------------------------------- /maasglobal-json-schema-validator/.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | .DS_Store 3 | lib 4 | node_modules 5 | package-lock.json 6 | yarn-error.log 7 | src/readme.ts 8 | -------------------------------------------------------------------------------- /maasglobal-json-schema-validator/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - '10' 4 | before_install: 5 | - yarn 6 | script: 7 | - yarn ci 8 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-ajv/.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | .DS_Store 3 | lib 4 | node_modules 5 | package-lock.json 6 | yarn-error.log 7 | src/readme.ts 8 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-io-ts/.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | .DS_Store 3 | lib 4 | node_modules 5 | package-lock.json 6 | yarn-error.log 7 | src/readme.ts 8 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/cost.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/cost'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/i18n.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/i18n'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/place.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/place'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/terms.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/terms'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/iot-thing-shadow.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/iot-thing-shadow'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_FERRY.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_FERRY'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_MOPED.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_MOPED'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_RAIL.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_RAIL'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_TAXI.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_TAXI'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_TRAIN.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_TRAIN'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_TRAM.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_TRAM'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_WALK.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_WALK'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/personal-document.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/personal-document'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/product-optionV2.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/product-optionV2'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/environments/accounts.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/environments/accounts'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/estimate/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/estimate/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/estimate/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/estimate/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/ACRISS.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/ACRISS'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/address.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/address'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/geometry.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/geometry'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/message.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/message'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/station.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/station'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/system.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/system'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_BICYCLE.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_BICYCLE'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_BUSISH.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_BUSISH'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_GONDOLA.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_GONDOLA'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_SCOOTER.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_SCOOTER'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_SUBWAY.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_SUBWAY'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_TRAINISH.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_TRAINISH'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_TRANSIT.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_TRANSIT'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/environments/environments.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/environments/environments'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/api-common.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/api-common'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/car-rental.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/car-rental'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/point-cost.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/point-cost'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/state-log.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/state-log'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_CABLE_CAR.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_CABLE_CAR'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_FUNICULAR.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_FUNICULAR'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_SHARED_CAR.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_SHARED_CAR'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/partialFavoriteLocation.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/partialFavoriteLocation'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/coupons/code.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/coupons/code'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/booking-cancel/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/booking-cancel/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/booking-create/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/booking-create/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/booking-ticket/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/booking-ticket/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/booking-update/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/booking-update/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/booking-upload/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/booking-upload/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/customer-auth/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/customer-auth/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/customer-auth/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/customer-auth/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/package-create/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/package-create/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/stations-list/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/stations-list/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/stations-list/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/stations-list/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/vehicle-alert/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/vehicle-alert/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/vehicle-alert/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/vehicle-alert/response'; 4 | -------------------------------------------------------------------------------- /maasglobal-schema-package/src/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig", 3 | "compilerOptions": { 4 | "noEmit": true 5 | }, 6 | "exclude": [] 7 | } 8 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/agencyOptions.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/agencyOptions'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/authorization.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/authorization'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/bike-station.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/bike-station'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/configurator.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/configurator'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/costBreakDown.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/costBreakDown'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/geolocation.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/geolocation'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/spaceDemand.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/spaceDemand'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/travel-mode.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/travel-mode'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/invoices/invoice.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/invoices/invoice'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/booking-cancel/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/booking-cancel/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/booking-create/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/booking-create/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/booking-receipt/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/booking-receipt/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/booking-receipt/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/booking-receipt/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/booking-ticket/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/booking-ticket/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/booking-update/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/booking-update/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/booking-upload/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/booking-upload/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/journey-planner/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/journey-planner/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/journey-planner/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/journey-planner/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/package-create/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/package-create/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/payments-initiate/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/payments-initiate/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/payments-retrieve/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/payments-retrieve/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/stations-retrieve/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/stations-retrieve/request'; 4 | -------------------------------------------------------------------------------- /maasglobal-json-schema-validator/src/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig", 3 | "compilerOptions": { 4 | "noEmit": true 5 | }, 6 | "exclude": [] 7 | } 8 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-ajv/src/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig", 3 | "compilerOptions": { 4 | "noEmit": true 5 | }, 6 | "exclude": [] 7 | } 8 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## What has been implemented? 2 | 3 | ## Todos: 4 | 5 | - [ ] Write tests 6 | 7 | ## Versioning: 8 | 9 | - [ ] Breaking change 10 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/components/vehicle/vehicle.ts: -------------------------------------------------------------------------------- 1 | export * as VehicleIds_ from './vehicle-ids'; 2 | export * as VehicleIdsByMode_ from './vehicle-ids-by-mode'; 3 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/configuratorV1.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/configuratorV1'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/configuratorV2.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/configuratorV2'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_SHARED_BICYCLE.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_SHARED_BICYCLE'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/multimodal-routes-metadata.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/multimodal-routes-metadata'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/customer.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/customers/customer'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/products/provider.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/products/provider'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/booking-read-by-id/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/booking-read-by-id/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/booking-read-by-id/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/booking-read-by-id/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/payments-initiate/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/payments-initiate/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/payments-retrieve/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/payments-retrieve/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/stations-retrieve/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/stations-retrieve/response'; 4 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-io-ts/src/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig", 3 | "compilerOptions": { 4 | "noEmit": true 5 | }, 6 | "exclude": [] 7 | } 8 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/benefit-provider.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/benefit-provider'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/configuratorCommon.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/configuratorCommon'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/customerSelection.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/customerSelection'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/payment-parameters.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/payment-parameters'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/modes/MODE_SHARED_E_BICYCLE.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/modes/MODE_SHARED_E_BICYCLE'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/invoices/invoiceUnits.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/invoices/invoiceUnits'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/contact.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/subscriptions/contact'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/pricing.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/subscriptions/pricing'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/booking-options-list/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/booking-options-list/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/booking-options-list/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/booking-options-list/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/customer-auth-validate/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/customer-auth-validate/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/customer-registration/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/customer-registration/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/customer-registration/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/customer-registration/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/customerSelectionV1.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/customerSelectionV1'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/customerSelectionV2.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/customerSelectionV2'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/personalData.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/customers/personalData'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/provider/sms/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/provider/sms/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/provider/sms/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/provider/sms/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tsp-auth/init/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tsp-auth/init/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tsp-auth/init/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tsp-auth/init/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tsp-auth/set/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tsp-auth/set/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/customer-auth-validate/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/customer-auth-validate/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/balances.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/core/balances'; 4 | export * from '../_utils/core/balances/balances'; 5 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/customerSelectionCommon.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/customerSelectionCommon'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/personalDataAllowItem.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/personalDataAllowItem'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/personalDataValidation.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/personalDataValidation'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/subscriptionChangeState.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/subscriptionChangeState'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/delete/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/customers/delete/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/stats/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/customers/stats/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/stats/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/customers/stats/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/update/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/customers/update/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/invoices/invoiceLineItem.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/invoices/invoiceLineItem'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/provider/routes/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/provider/routes/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/provider/routes/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/provider/routes/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/push-notification/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/push-notification/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/push-notification/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/push-notification/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscription.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/subscriptions/subscription'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tsp-auth/expire/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tsp-auth/expire/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tsp-auth/verify/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tsp-auth/verify/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tsp-auth/verify/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tsp-auth/verify/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/auth/auth-sms-login/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/auth/auth-sms-login/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/delete/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/customers/delete/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/retrieve/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/customers/retrieve/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/retrieve/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/customers/retrieve/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/update/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/customers/update/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/provider/geocoding/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/provider/geocoding/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/provider/geocoding/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/provider/geocoding/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/routes/routes-query/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/routes/routes-query/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tsp-auth/validate/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tsp-auth/validate/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tsp-auth/validate/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tsp-auth/validate/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tsp-auth/verify/definitions.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tsp-auth/verify/definitions'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/post-kyc-verification-update/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/post-kyc-verification-update/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/post-kyc-verification-update/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/post-kyc-verification-update/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/personalDocumentRequiredItem.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/personalDocumentRequiredItem'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/booking-option-create/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/booking-option-create/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/booking-option-create/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/booking-option-create/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/booking-virtual-create/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/booking-virtual-create/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/booking-virtual-create/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/booking-virtual-create/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/profile/profile-edit/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/profile/profile-edit/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/profile/profile-edit/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/profile/profile-edit/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/profile/profile-info/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/profile/profile-info/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/profile/profile-info/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/profile/profile-info/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/provider/autocomplete/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/provider/autocomplete/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/routes/routes-query/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/routes/routes-query/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/vehicle/vehicle-alert/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/vehicle/vehicle-alert/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/webhooks-bookings-update/remote-request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/webhooks-bookings-update/remote-request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/tsp/webhooks-bookings-update/remote-response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/tsp/webhooks-bookings-update/remote-response'; 4 | -------------------------------------------------------------------------------- /maasglobal-schema-package/tsconfig.eslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "include": ["*.js", "*.json", "src/**/*.ts", "./**/tsconfig.json"], 4 | "exclude": ["node_modules"] 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/environments/synopses.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/environments/synopses'; 4 | export * from '../_utils/environments/synopses'; 5 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/environments/synopsis.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../_types/environments/synopsis'; 4 | export * from '../_utils/environments/synopsis'; 5 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-cancel/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-cancel/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-create/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-create/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-list/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-list/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-list/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-list/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-update/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-update/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-upload/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-upload/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/coupons/coupons-validate/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/coupons/coupons-validate/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/profile/profile-webhook/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/profile/profile-webhook/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/profile/profile-webhook/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/profile/profile-webhook/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/provider/autocomplete/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/provider/autocomplete/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/regions/regions-options/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/regions/regions-options/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/regions/regions-options/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/regions/regions-options/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/routes/routes-query-v4/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/routes/routes-query-v4/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/routes/routes-query-v4/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/routes/routes-query-v4/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/stations/stations-list/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/stations/stations-list/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/stations/stations-list/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/stations/stations-list/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscription-intent.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/subscriptions/subscription-intent'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptionAddress.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/subscriptions/subscriptionAddress'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptionOption.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/maas-backend/subscriptions/subscriptionOption'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/vehicle/vehicle-alert/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/vehicle/vehicle-alert/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/tsconfig.eslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "include": ["*.js", "*.json", "src/**/*.ts", "./**/tsconfig.json", "./utils/**/*.js"], 4 | "exclude": ["node_modules"] 5 | } 6 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-ajv/tsconfig.eslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "include": ["*.js", "*.json", "src/**/*.ts", "./**/tsconfig.json"], 4 | "exclude": ["node_modules"] 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/auth/auth-sms-request-code/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/auth/auth-sms-request-code/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-cancel/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-cancel/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-create/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-create/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-options/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-options/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-options/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-options/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-retrieve/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-retrieve/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-update/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-update/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-upload/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-upload/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/coupons/coupons-validate/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/coupons/coupons-validate/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/coupons/v2/coupons-redeem/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/coupons/v2/coupons-redeem/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/geocoding/geocoding-query/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/geocoding/geocoding-query/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/geocoding/geocoding-query/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/geocoding/geocoding-query/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/itineraries/itinerary-list/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/itineraries/itinerary-list/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/provider/geocoding-reverse/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/provider/geocoding-reverse/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/stations/stations-retrieve/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/stations/stations-retrieve/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/webhooks/webhooks-payments/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/webhooks/webhooks-payments/request'; 4 | -------------------------------------------------------------------------------- /maasglobal-json-schema-validator/tsconfig.eslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "include": ["*.js", "*.json", "src/**/*.ts", "./**/tsconfig.json"], 4 | "exclude": ["node_modules"] 5 | } 6 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-io-ts/tsconfig.eslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig.json", 3 | "include": ["*.js", "*.json", "src/**/*.ts", "./**/tsconfig.json"], 4 | "exclude": ["node_modules"] 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/fare.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/fare'; 4 | export * from '../../_utils/core/components/fare/fare'; 5 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-retrieve/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-retrieve/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/v2/bookings-create/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/bookings/v2/bookings-create/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/coupons/v2/coupons-redeem/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/coupons/v2/coupons-redeem/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/benefits/initiate/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/benefits/initiate/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-card-issue/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/customers/virtual-card-issue/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-card-issue/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/customers/virtual-card-issue/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-cards/virtualCard.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/customers/virtual-cards/virtualCard'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/geocoding/geocoding-reverse/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/geocoding/geocoding-reverse/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/geocoding/geocoding-reverse/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/geocoding/geocoding-reverse/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/itineraries/itinerary-cancel/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/itineraries/itinerary-cancel/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/itineraries/itinerary-cancel/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/itineraries/itinerary-cancel/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/itineraries/itinerary-create/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/itineraries/itinerary-create/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/itineraries/itinerary-create/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/itineraries/itinerary-create/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/itineraries/itinerary-list/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/itineraries/itinerary-list/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/itineraries/itinerary-update/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/itineraries/itinerary-update/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/itineraries/itinerary-update/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/itineraries/itinerary-update/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/profile/profile-devices-put/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/profile/profile-devices-put/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/profile/profile-devices-put/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/profile/profile-devices-put/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/provider/geocoding-reverse/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/provider/geocoding-reverse/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/stations/stations-retrieve/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/stations/stations-retrieve/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/webhooks/webhooks-payments/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/webhooks/webhooks-payments/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/common.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/common'; 4 | export * from '../../_utils/core/components/common/common'; 5 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/state.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/state'; 4 | export * from '../../_utils/core/components/state/state'; 5 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/units.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/units'; 4 | export * from '../../_utils/core/components/units/units'; 5 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/autocomplete/autocomplete-query/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/autocomplete/autocomplete-query/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/v2/bookings-create/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/bookings/v2/bookings-create/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/benefits/initiate/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/benefits/initiate/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/payment-sources/paymentSource.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/customers/payment-sources/paymentSource'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/personal-data-delete/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/customers/personal-data-delete/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/verification/status/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/verification/status/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-cards/create/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/virtual-cards/create/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-cards/remove/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/virtual-cards/remove/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/itineraries/itinerary-create/request-v1.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/itineraries/itinerary-create/request-v1'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/itineraries/itinerary-create/request-v2.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/itineraries/itinerary-create/request-v2'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/itineraries/itinerary-estimate/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/itineraries/itinerary-estimate/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/itineraries/itinerary-estimate/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/itineraries/itinerary-estimate/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/itineraries/itinerary-retrieve/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/itineraries/itinerary-retrieve/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/itineraries/itinerary-retrieve/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/itineraries/itinerary-retrieve/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/vehicle.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/vehicle'; 4 | export * from '../../_utils/core/components/vehicle/vehicle'; 5 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/autocomplete/autocomplete-query/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/autocomplete/autocomplete-query/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/autocomplete/autocomplete-query/suggestion.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/autocomplete/autocomplete-query/suggestion'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-agency-options/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-agency-options/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-agency-options/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-agency-options/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-agency-products/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-agency-products/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/bookings/bookings-agency-products/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/bookings/bookings-agency-products/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/favorite-locations/add/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/favorite-locations/add/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/payment-sources/create/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/payment-sources/create/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/payment-sources/delete/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/payment-sources/delete/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/payment-sources/update/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/payment-sources/update/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/verification/initiate/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/verification/initiate/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/verification/initiate/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/verification/initiate/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/verification/register/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/verification/register/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/verification/register/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/verification/register/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/verification/verification-object.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/customers/verification/verification-object'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-cards/create/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/virtual-cards/create/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/products/products-providers-list/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/products/products-providers-list/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/products/products-providers-list/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/products/products-providers-list/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-create/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-create/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-update/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-update/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tracking/tracking-active-leg-get/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tracking/tracking-active-leg-get/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tracking/tracking-active-leg-get/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tracking/tracking-active-leg-get/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tracking/tracking-active-leg-set/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tracking/tracking-active-leg-set/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tracking/tracking-active-leg-set/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tracking/tracking-active-leg-set/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/webhooks/webhooks-bookings-create/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/webhooks/webhooks-bookings-create/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/webhooks/webhooks-bookings-create/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/webhooks/webhooks-bookings-create/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/webhooks/webhooks-bookings-update/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/webhooks/webhooks-bookings-update/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/webhooks/webhooks-bookings-update/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/webhooks/webhooks-bookings-update/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/webhooks/webhooks-message-to-user/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/webhooks/webhooks-message-to-user/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/webhooks/webhooks-message-to-user/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/webhooks/webhooks-message-to-user/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/webhooks/zendesk-push-notification/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/webhooks/zendesk-push-notification/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/favorite-locations/add/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/favorite-locations/add/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/favorite-locations/delete/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/favorite-locations/delete/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/favorite-locations/list/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/favorite-locations/list/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/favorite-locations/list/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/favorite-locations/list/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/favorite-locations/update/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/favorite-locations/update/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/payment-sources/update/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/payment-sources/update/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/personal-documents/create/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/personal-documents/create/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/personal-documents/remove/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/personal-documents/remove/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/personal-documents/update/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/personal-documents/update/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/verification/media/get/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../../_types/maas-backend/customers/verification/media/get/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/verification/media/list/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../../_types/maas-backend/customers/verification/media/list/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-cards/provision/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/virtual-cards/provision/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-cards/provision/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/virtual-cards/provision/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/products/products-providers-options/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/products/products-providers-options/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/products/products-providers-options/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/products/products-providers-options/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/products/products-providers-retrieve/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/products/products-providers-retrieve/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-create/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-create/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-estimate/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-estimate/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-options/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-options/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-options/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-options/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-package/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-package/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-package/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-package/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-retrieve/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-retrieve/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-update/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-update/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/webhooks/webhooks-payments/gateway/avainpay.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/webhooks/webhooks-payments/gateway/avainpay'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/webhooks/webhooks-payments/gateway/stripe.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/webhooks/webhooks-payments/gateway/stripe'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/webhooks/webhooks-payments/gateway/yaband.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/webhooks/webhooks-payments/gateway/yaband'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/webhooks/zendesk-push-notification/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/webhooks/zendesk-push-notification/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/core/components/units-geo.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../_types/core/components/units-geo'; 4 | export * from '../../_utils/core/components/units-geo/units-geo'; 5 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/favorite-locations/update/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/favorite-locations/update/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/personal-documents/consent/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/personal-documents/consent/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/personal-documents/consent/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/personal-documents/consent/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/personal-documents/create/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/personal-documents/create/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/personal-documents/initiate/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/personal-documents/initiate/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/personal-documents/remove/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/personal-documents/remove/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/personal-documents/update/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/personal-documents/update/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/products/products-providers-retrieve/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/products/products-providers-retrieve/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/profile/profile-favoriteLocations-add/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/profile/profile-favoriteLocations-add/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/profile/profile-favoriteLocations-add/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/profile/profile-favoriteLocations-add/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-estimate/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-estimate/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-retrieve/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-retrieve/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tracking/tracking-active-itinerary-get/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tracking/tracking-active-itinerary-get/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tracking/tracking-active-itinerary-get/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tracking/tracking-active-itinerary-get/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tracking/tracking-active-itinerary-set/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tracking/tracking-active-itinerary-set/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tracking/tracking-active-itinerary-set/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tracking/tracking-active-itinerary-set/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tracking/tracking-update-user-location/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tracking/tracking-update-user-location/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tracking/tracking-update-user-location/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tracking/tracking-update-user-location/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/payment-sources/setup-intent/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/payment-sources/setup-intent/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/payment-sources/setup-intent/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/payment-sources/setup-intent/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/personal-documents/initiate/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/personal-documents/initiate/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/verification/webhooks/event/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../../_types/maas-backend/customers/verification/webhooks/event/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-cards/virtualCardAccountPosting.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/customers/virtual-cards/virtualCardAccountPosting'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-cards/virtualCardTokenReference.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/customers/virtual-cards/virtualCardTokenReference'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/profile/profile-favoriteLocations-delete/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/profile/profile-favoriteLocations-delete/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/profile/profile-favoriteLocations-delete/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/profile/profile-favoriteLocations-delete/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-change-state/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-change-state/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-change-state/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-change-state/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-intents-list/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-intents-list/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-intents-list/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-intents-list/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tracking/tracking-cancel-active-itinerary/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tracking/tracking-cancel-active-itinerary/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/verification/webhooks/decision/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../../_types/maas-backend/customers/verification/webhooks/decision/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-cards/list-transactions/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/virtual-cards/list-transactions/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-cards/list-transactions/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/virtual-cards/list-transactions/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-intents-create/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-intents-create/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-intents-create/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-intents-create/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-intents-retrieve/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-intents-retrieve/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-intents-update/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-intents-update/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-intents-update/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-intents-update/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/tracking/tracking-cancel-active-itinerary/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/tracking/tracking-cancel-active-itinerary/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/schemas/tsp/vehicle-alert/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://schemas.maas.global/tsp/vehicle-alert/response.json", 3 | "description": "Request vehicle to alert itself to users", 4 | "type": "object", 5 | "properties": {} 6 | } 7 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/personal-documents/revoke-consent/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/personal-documents/revoke-consent/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/personal-documents/revoke-consent/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/personal-documents/revoke-consent/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-cards/add-token-reference/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/virtual-cards/add-token-reference/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-cards/add-token-reference/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/virtual-cards/add-token-reference/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-cards/get-token-reference/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/virtual-cards/get-token-reference/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-cards/get-token-reference/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/virtual-cards/get-token-reference/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-cards/import-transactions/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/virtual-cards/import-transactions/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/customers/virtual-cards/import-transactions/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../../_types/maas-backend/customers/virtual-cards/import-transactions/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-intents-retrieve/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-intents-retrieve/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-intents-update-state/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-intents-update-state/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-intents-update-state/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-intents-update-state/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-scheduled-change-delete/request.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-scheduled-change-delete/request'; 4 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_BUS.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_BUS.json", 4 | "description": "Schema for MODE_BUS meta field", 5 | "type": "object" 6 | } 7 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_TRAM.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_TRAM.json", 4 | "description": "Schema for MODE_TRAM meta field", 5 | "type": "object" 6 | } 7 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_WALK.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_WALK.json", 4 | "description": "Schema for MODE_WALK meta field", 5 | "type": "object" 6 | } 7 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/components/state/__tests__/state.ts: -------------------------------------------------------------------------------- 1 | import * as State_ from '../state'; 2 | 3 | describe('state', () => { 4 | it('should export BookingState utils', () => { 5 | expect(State_.BookingState_).toBeDefined; 6 | }); 7 | }); 8 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/maas-backend/subscriptions/subscriptions-scheduled-change-delete/response.ts: -------------------------------------------------------------------------------- 1 | // Generated by update-index.ts Do not edit! 2 | 3 | export * from '../../../_types/maas-backend/subscriptions/subscriptions-scheduled-change-delete/response'; 4 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_BUSISH.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_BUSISH.json", 4 | "description": "Schema for MODE_BUSISH meta field", 5 | "type": "object" 6 | } 7 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_FERRY.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_FERRY.json", 4 | "description": "Schema for MODE_FERRY meta field", 5 | "type": "object" 6 | } 7 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_SUBWAY.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_SUBWAY.json", 4 | "description": "Schema for MODE_SUBWAY meta field", 5 | "type": "object" 6 | } 7 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_TRAIN.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_TRAIN.json", 4 | "description": "Schema for MODE_TRAIN meta field", 5 | "type": "object" 6 | } 7 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/balances/__tests__/balances.ts: -------------------------------------------------------------------------------- 1 | import * as Balances_ from '../balances'; 2 | 3 | describe('balances', () => { 4 | it('should export BalanceName utils', () => { 5 | expect(Balances_.BalanceName_).toBeDefined; 6 | }); 7 | }); 8 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/components/common/__tests__/common.ts: -------------------------------------------------------------------------------- 1 | import * as Common_ from '../common'; 2 | 3 | describe('common', () => { 4 | it('should export MetaCurrency utils', () => { 5 | expect(Common_.MetaCurrency_).toBeDefined; 6 | }); 7 | }); 8 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/components/units/units.ts: -------------------------------------------------------------------------------- 1 | export * as Currency_ from './currency'; 2 | export * as Uuid_ from './uuid'; 3 | export * as Authority_ from './authority'; 4 | export * as Hostname_ from './hostname'; 5 | export * as Port_ from './port'; 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_GONDOLA.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_GONDOLA.json", 4 | "description": "Schema for MODE_GONDOLA meta field", 5 | "type": "object" 6 | } 7 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_TRANSIT.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_TRANSIT.json", 4 | "description": "Schema for MODE_TRANSIT meta field", 5 | "type": "object" 6 | } 7 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_CABLE_CAR.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_CABLE_CAR.json", 4 | "description": "Schema for MODE_CABLE_CAR meta field", 5 | "type": "object" 6 | } 7 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_FUNICULAR.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_FUNICULAR.json", 4 | "description": "Schema for MODE_FUNICULAR meta field", 5 | "type": "object" 6 | } 7 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_TRAINISH.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_TRAINISH.json", 4 | "description": "Schema for MODE_TRAINISH meta field", 5 | "type": "object" 6 | } 7 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/components/units-geo/__tests__/units-geo.ts: -------------------------------------------------------------------------------- 1 | import * as UnitsGeo_ from '../units-geo'; 2 | 3 | describe('units-geo', () => { 4 | it('should export Location utils', () => { 5 | expect(UnitsGeo_.Location_).toBeDefined; 6 | }); 7 | }); 8 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/profile/profile-edit/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/profile/profile-edit/request.json", 4 | "description": "Request schema for profile-edit" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/profile/profile-info/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/profile/profile-info/request.json", 4 | "description": "Request schema for profile-info" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/profile/profile-info/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/profile/profile-info/response.json", 4 | "description": "Response schema for profile-info" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/provider/geocoding/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/provider/geocoding/request.json", 4 | "description": "Request schema for geocoding providers" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/provider/sms/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/provider/sms/request.json", 4 | "description": "Request schema for reverse geocoding providers" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/provider/sms/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/provider/sms/response.json", 4 | "description": "Response schema for reverse geocoding providers" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/provider/geocoding/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/provider/geocoding/response.json", 4 | "description": "Response schema for geocoding providers" 5 | } 6 | -------------------------------------------------------------------------------- /maasglobal-json-schema-validator/src/readme.test.ts: -------------------------------------------------------------------------------- 1 | import { phone } from './readme'; 2 | 3 | describe('README.md', () => { 4 | describe('phone', () => { 5 | it('should be a string', () => { 6 | expect(typeof phone).toEqual('string'); 7 | }); 8 | }); 9 | }); 10 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/profile/profile-webhook/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/profile/profile-webhook/request.json", 4 | "description": "Request schema for profile-webhook" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/provider/autocomplete/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/provider/autocomplete/request.json", 4 | "description": "Request schema for autocomplete providers" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/components/fare/token-id.ts: -------------------------------------------------------------------------------- 1 | import * as P from 'maasglobal-prelude-ts'; 2 | 3 | import { TokenId } from '../../../../_types/core/components/fare'; 4 | 5 | export const Eq: P.Eq = P.string_.Eq; 6 | export const Ord: P.Ord = P.string_.Ord; 7 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/components/point-cost.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/components/point-cost.json", 4 | "description": "Subscription option's point cost", 5 | "type": "number", 6 | "minimum": 0 7 | } 8 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/provider/autocomplete/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/provider/autocomplete/response.json", 4 | "description": "Response schema for autocomplete providers" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/components/units/currency.ts: -------------------------------------------------------------------------------- 1 | import * as P from 'maasglobal-prelude-ts'; 2 | 3 | import { Currency } from '../../../../_types/core/components/units'; 4 | 5 | export const Eq: P.Eq = P.string_.Eq; 6 | export const Ord: P.Ord = P.string_.Ord; 7 | -------------------------------------------------------------------------------- /maasglobal-schema-package/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | globals: { 3 | 'ts-jest': { 4 | diagnostics: { 5 | ignoreCodes: [6133, 6196], 6 | }, 7 | }, 8 | }, 9 | transform: { 10 | '^.+\\.tsx?$': 'ts-jest', 11 | }, 12 | roots: ['src'], 13 | }; 14 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/itineraries/itinerary-cancel/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/itineraries/itinerary-cancel/response.json", 4 | "description": "Maas Itinerary cancellation response" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/vehicle/vehicle-alert/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/vehicle/vehicle-alert/response.json", 4 | "description": "", 5 | "type": "object", 6 | "properties": {} 7 | } 8 | -------------------------------------------------------------------------------- /maasglobal-reference-schemas/.gitignore: -------------------------------------------------------------------------------- 1 | # Dependency directory 2 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git 3 | node_modules 4 | 5 | # IDE Stuff 6 | **/.idea 7 | .vscode/launch.json 8 | *.swp 9 | 10 | # OS STUFF 11 | .DS_Store 12 | .tmp 13 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/provider/geocoding-reverse/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/provider/geocoding-reverse/request.json", 4 | "description": "Request schema for reverse geocoding providers" 5 | } 6 | -------------------------------------------------------------------------------- /maasglobal-json-schema-validator/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | globals: { 3 | 'ts-jest': { 4 | diagnostics: { 5 | ignoreCodes: [6133, 6196], 6 | }, 7 | }, 8 | }, 9 | transform: { 10 | '^.+\\.tsx?$': 'ts-jest', 11 | }, 12 | roots: ['src'], 13 | }; 14 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-ajv/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | globals: { 3 | 'ts-jest': { 4 | diagnostics: { 5 | ignoreCodes: [6133, 6196], 6 | }, 7 | }, 8 | }, 9 | transform: { 10 | '^.+\\.tsx?$': 'ts-jest', 11 | }, 12 | roots: ['src'], 13 | }; 14 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-io-ts/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | globals: { 3 | 'ts-jest': { 4 | diagnostics: { 5 | ignoreCodes: [6133, 6196], 6 | }, 7 | }, 8 | }, 9 | transform: { 10 | '^.+\\.tsx?$': 'ts-jest', 11 | }, 12 | roots: ['src'], 13 | }; 14 | -------------------------------------------------------------------------------- /maas-schemas/.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: http://EditorConfig.org 2 | 3 | # top-most EditorConfig file 4 | root = true 5 | 6 | # Unix-style newlines with a newline ending every file 7 | [*] 8 | end_of_line = lf 9 | insert_final_newline = true 10 | indent_style = space 11 | indent_size = 2 12 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/provider/geocoding-reverse/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/provider/geocoding-reverse/response.json", 4 | "description": "Response schema for reverse geocoding providers" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/components/state/booking-state.ts: -------------------------------------------------------------------------------- 1 | import * as P from 'maasglobal-prelude-ts'; 2 | 3 | import { BookingState } from '../../../../_types/core/components/state'; 4 | 5 | export const Eq: P.Eq = P.string_.Eq; 6 | export const Ord: P.Ord = P.string_.Ord; 7 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/components/common/meta-currency.ts: -------------------------------------------------------------------------------- 1 | import * as P from 'maasglobal-prelude-ts'; 2 | 3 | import { MetaCurrency } from '../../../../_types/core/components/common'; 4 | 5 | export const Eq: P.Eq = P.string_.Eq; 6 | export const Ord: P.Ord = P.string_.Ord; 7 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-io-ts/src/main.test.ts: -------------------------------------------------------------------------------- 1 | import { logHeader } from './generate-codecs'; 2 | 3 | describe('io-ts Schema Generator', () => { 4 | describe('logHeader', () => { 5 | it('should start with #', () => { 6 | expect(logHeader.charAt(0)).toBe('#'); 7 | }); 8 | }); 9 | }); 10 | -------------------------------------------------------------------------------- /maasglobal-schema-package/src/main.test.ts: -------------------------------------------------------------------------------- 1 | import { manifestFileName } from './main'; 2 | 3 | describe('Schema Package', () => { 4 | describe('manifest file name', () => { 5 | it('should be schemas.json', () => { 6 | expect(manifestFileName).toBe('schemas.json'); 7 | }); 8 | }); 9 | }); 10 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/stations/stations-list/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/stations/stations-list/response.json", 4 | "allOf": [{ "$ref": "https://schemas.maas.global/tsp/stations-list/response.json" }] 5 | } 6 | -------------------------------------------------------------------------------- /maasglobal-json-schema-validator/src/conformance.test.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | 3 | import { testSchemaPackage } from './conformance'; 4 | 5 | describe('Conformance tests', () => { 6 | const packageRoot = path.resolve(__dirname, '..', '..', 'maas-schemas'); 7 | testSchemaPackage(packageRoot, require); 8 | }); 9 | -------------------------------------------------------------------------------- /maasglobal-reference-schemas/.npmignore: -------------------------------------------------------------------------------- 1 | # Dependency directory 2 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git 3 | node_modules 4 | package-lock.json 5 | 6 | # IDE Stuff 7 | **/.idea 8 | .vscode/launch.json 9 | *.swp 10 | 11 | # OS STUFF 12 | .DS_Store 13 | .tmp 14 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_CAR.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_CAR.json", 4 | "description": "Schemas for MODE_CAR meta field", 5 | "allOf": [{ "$ref": "https://schemas.maas.global/core/components/car-rental.json" }] 6 | } 7 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/tracking/tracking-active-leg-get/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/tracking/tracking-active-leg-get/request.json", 4 | "description": "Request schema for getting active leg tracking object" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/tracking/tracking-active-leg-set/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/tracking/tracking-active-leg-set/request.json", 4 | "description": "Request schema for setting active leg tracking object" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/tracking/tracking-update-user-location/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/tracking/tracking-update-user-location/request.json", 4 | "description": "Request schema for updating user location" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/src/ajv/conformance.test.ts: -------------------------------------------------------------------------------- 1 | import { testSchemaPackage } from 'maasglobal-json-schema-validator/lib/conformance'; 2 | import path from 'path'; 3 | 4 | describe('Ajv Validator Conformance', () => { 5 | const packageRoot = path.resolve(__dirname, '..', '..'); 6 | testSchemaPackage(packageRoot, require); 7 | }); 8 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/tracking/tracking-active-leg-get/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/tracking/tracking-active-leg-get/response.json", 4 | "description": "Response schema for getting active leg tracking object" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/tracking/tracking-active-leg-set/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/tracking/tracking-active-leg-set/response.json", 4 | "description": "Response schema for setting active leg tracking object" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/tracking/tracking-update-user-location/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/tracking/tracking-update-user-location/response.json", 4 | "description": "Response schema for updating user location" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/stations/stations-retrieve/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/stations/stations-retrieve/response.json", 4 | "allOf": [{ "$ref": "https://schemas.maas.global/tsp/stations-retrieve/response.json" }] 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/tracking/tracking-cancel-active-itinerary/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/tracking/tracking-cancel-active-itinerary/request.json", 4 | "description": "Request schema for cancelling active itinerary" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/tracking/tracking-cancel-active-itinerary/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/tracking/tracking-cancel-active-itinerary/response.json", 4 | "description": "Response schema for cancelling active itinerary" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/components/units-geo/location.ts: -------------------------------------------------------------------------------- 1 | import { 2 | Latitude, 3 | Location, 4 | Longitude, 5 | } from '../../../../_types/core/components/units-geo'; 6 | 7 | export function location(lat: Latitude, lon: Longitude): Location { 8 | return { 9 | lat, 10 | lon, 11 | } as Location; 12 | } 13 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/tracking/tracking-active-itinerary-get/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/tracking/tracking-active-itinerary-get/request.json", 4 | "description": "Request schema for getting active itinerary tracking object" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/tracking/tracking-active-itinerary-get/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/tracking/tracking-active-itinerary-get/response.json", 4 | "description": "Response schema for getting active itinerary tracking object" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/tracking/tracking-active-itinerary-set/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/tracking/tracking-active-itinerary-set/request.json", 4 | "description": "Request schema for setting active itinerary tracking object" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/tracking/tracking-active-itinerary-set/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/tracking/tracking-active-itinerary-set/response.json", 4 | "description": "Request schema for setting active itinerary tracking object" 5 | } 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/tsp/journey-planner/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://schemas.maas.global/tsp/journey-planner/response.json", 3 | "description": "Response schema for getting journey options from a TSP adapter.", 4 | "allOf": [ 5 | { "$ref": "https://schemas.maas.global/maas-backend/provider/routes/response.json" } 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /maasglobal-json-schema-validator/src/validation-error.test.ts: -------------------------------------------------------------------------------- 1 | import { ValidationError } from './validation-error'; 2 | 3 | describe('ValidationError', () => { 4 | it('should be instance of ValidationError', () => { 5 | const ve = new ValidationError('foo', ['bar'], {}); 6 | expect(ve).toBeInstanceOf(ValidationError); 7 | }); 8 | }); 9 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_SHARED_CAR.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_SHARED_CAR.json", 4 | "description": "Schemas for MODE_SHARED_CAR meta field", 5 | "allOf": [{ "$ref": "https://schemas.maas.global/core/components/car-rental.json" }] 6 | } 7 | -------------------------------------------------------------------------------- /maasglobal-reference-schemas/schemas/eg-comment.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://reference-schemas.maas.global/comment.json", 4 | "$comment": "This is a toplevel comment", 5 | "definitions": { 6 | "exampleDefinition": { 7 | "$comment": "This is a definition comment" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/coupons/code.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/coupons/code.json", 4 | "description": "MaaS coupon code", 5 | "definitions": { 6 | "code": { 7 | "type": "string", 8 | "description": "MaaS coupon code" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /maas-schemas/schemas/tsp/estimate/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://schemas.maas.global/tsp/estimate/response.json", 3 | "description": "Response schema for estimating a configured product option", 4 | "type": "object", 5 | "properties": { 6 | "productOption": { 7 | "$ref": "https://schemas.maas.global/core/product-option.json" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /maas-schemas/schemas/tsp/vehicle-alert/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://schemas.maas.global/tsp/vehicle-alert/request.json", 3 | "description": "Request vehicle to alert itself to users", 4 | "type": "object", 5 | "properties": { 6 | "vehicleId": { 7 | "type": "string", 8 | "minLength": 1, 9 | "maxLength": 255 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/customers/personal-documents/initiate/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/customers/personal-documents/initiate/response.json", 4 | "description": "Initiate customer KYC process", 5 | "allOf": [{ "$ref": "https://schemas.maas.global/core/kyc-service.json" }] 6 | } 7 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/components/vehicle/__tests__/vehicle.ts: -------------------------------------------------------------------------------- 1 | import * as Vehicle_ from '../vehicle'; 2 | 3 | describe('vehicle', () => { 4 | it('should export VehicleIds utils', () => { 5 | expect(Vehicle_.VehicleIds_).toBeDefined; 6 | }); 7 | it('should export VehicleIdsByMode utils', () => { 8 | expect(Vehicle_.VehicleIdsByMode_).toBeDefined; 9 | }); 10 | }); 11 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/customers/personal-documents/remove/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/customers/personal-documents/remove/response.json", 4 | "description": "Remove customer personal document by id", 5 | "type": "object", 6 | "additionalProperties": false, 7 | "properties": {} 8 | } 9 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/components/i18n.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/components/i18n.json", 4 | "description": "MaaS internationalization schemas", 5 | "definitions": { 6 | "locale": { 7 | "type": "string", 8 | "pattern": "^[a-z]{2,3}(?:-[a-zA-Z]{4})?(?:-[A-Z]{2,3})?$" 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /maasglobal-schema-package/.extract_code.py: -------------------------------------------------------------------------------- 1 | 2 | 3 | import sys; sys.stdout.write(('/*' + '\n' + '/*'.join( 4 | '*/'.join(sys.stdin.read().split('```typescript')).split('```') 5 | ) + '*/').replace("from 'maasglobal-json-schema-validator'", "from './index'").replace("from 'maasglobal-json-schema-validator/lib/", "from './").replace("from 'maas-schemas/", "from '../../maas-schemas/") + '\n' + 'export { }') 6 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-ajv/.extract_code.py: -------------------------------------------------------------------------------- 1 | 2 | 3 | import sys; sys.stdout.write(('/*' + '\n' + '/*'.join( 4 | '*/'.join(sys.stdin.read().split('```typescript')).split('```') 5 | ) + '*/').replace("from 'maasglobal-json-schema-validator'", "from './index'").replace("from 'maasglobal-json-schema-validator/lib/", "from './").replace("from 'maas-schemas/", "from '../../maas-schemas/") + '\n' + 'export { }') 6 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-io-ts/.extract_code.py: -------------------------------------------------------------------------------- 1 | 2 | 3 | import sys; sys.stdout.write(('/*' + '\n' + '/*'.join( 4 | '*/'.join(sys.stdin.read().split('```typescript')).split('```') 5 | ) + '*/').replace("from 'maasglobal-json-schema-validator'", "from './index'").replace("from 'maasglobal-json-schema-validator/lib/", "from './").replace("from 'maas-schemas/", "from '../../maas-schemas/") + '\n' + 'export { }') 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/components/ACRISS.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/components/ACRISS.json", 4 | "description": "ACRISS classification of the car, see https://en.wikipedia.org/wiki/ACRISS_Car_Classification_Code", 5 | "type": "string", 6 | "pattern": "[MNEHCDIJSRFGPULWOX][BCDWVLSTFJXPQZEMRHYNGK][MNCABD][RNDQHIECLSABMFVZUX]" 7 | } 8 | -------------------------------------------------------------------------------- /maas-schemas/.npmignore: -------------------------------------------------------------------------------- 1 | # Dependency directory 2 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git 3 | node_modules 4 | package-lock.json 5 | 6 | # IDE Stuff 7 | **/.idea 8 | .vscode/launch.json 9 | *.swp 10 | 11 | # OS STUFF 12 | .DS_Store 13 | .tmp 14 | 15 | .eslintrc 16 | .travis.yml 17 | gulpfile.js 18 | jest.* 19 | test-lib.js 20 | test/ 21 | .github/ 22 | 23 | .npmrc 24 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/customers/personal-documents/revoke-consent/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/customers/personal-documents/revoke-consent/response.json", 4 | "description": "Revoke user consent to send all document to a TSP", 5 | "type": "object", 6 | "additionalProperties": false, 7 | "properties": {} 8 | } 9 | -------------------------------------------------------------------------------- /maas-schemas/schemas/tsp/booking-upload/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://schemas.maas.global/tsp/booking-upload/response.json", 3 | "description": "Response schema for upload call to a TSP adapter, expecting a signed url", 4 | "type": "object", 5 | "properties": { 6 | "uploadUrl": { 7 | "type": "string" 8 | } 9 | }, 10 | "required": ["uploadUrl"], 11 | "additionalProperties": false 12 | } 13 | -------------------------------------------------------------------------------- /maas-schemas/schemas/tsp/customer-registration/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://schemas.maas.global/tsp/customer-registration/response.json", 3 | "description": "Response schema for retrieving customer registration details", 4 | "type": "object", 5 | "properties": { 6 | "customer": { 7 | "type": "object" 8 | } 9 | }, 10 | "required": ["customer"], 11 | "additionalProperties": true 12 | } 13 | -------------------------------------------------------------------------------- /maas-schemas/schemas/tsp/customer-registration/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://schemas.maas.global/tsp/customer-registration/request.json", 3 | "description": "Request schema for customer registration", 4 | "type": "object", 5 | "properties": { 6 | "customer": { 7 | "$ref": "https://schemas.maas.global/core/customer.json" 8 | } 9 | }, 10 | "required": ["customer"], 11 | "additionalProperties": false 12 | } 13 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/components/benefit-provider.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/components/benefit-provider.json", 4 | "description": "MaaS Benefit Provider", 5 | "definitions": { 6 | "benefitsProviderId": { 7 | "type": "string", 8 | "description": "Benefit Provider ID (name)", 9 | "examples": ["smartum", "epassi"] 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /maas-schemas/schemas/tsp/booking-cancel/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://schemas.maas.global/tsp/booking-cancel/request.json", 3 | "description": "Request schema for cancelling a booking through a TSP adapter", 4 | "type": "object", 5 | "properties": { 6 | "tspId": { 7 | "$ref": "https://schemas.maas.global/core/booking.json#/definitions/tspId" 8 | } 9 | }, 10 | "required": ["tspId"], 11 | "additionalProperties": false 12 | } 13 | -------------------------------------------------------------------------------- /maas-schemas/schemas/tsp/booking-receipt/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://schemas.maas.global/tsp/booking-receipt/request.json", 3 | "description": "Request schema for getting a receipt for a specific booking", 4 | "type": "object", 5 | "properties": { 6 | "tspId": { 7 | "$ref": "https://schemas.maas.global/core/booking.json#/definitions/tspId" 8 | } 9 | }, 10 | "required": ["tspId"], 11 | "additionalProperties": false 12 | } 13 | -------------------------------------------------------------------------------- /maasglobal-json-schema-validator/.extract_code.py: -------------------------------------------------------------------------------- 1 | 2 | 3 | import sys; sys.stdout.write(('/*' + '\n' + '/*'.join( 4 | '*/'.join(sys.stdin.read().split('```typescript')).split('```') 5 | ) + '*/').replace("from 'maasglobal-json-schema-validator'", "from './index'").replace("from 'maasglobal-json-schema-validator/lib/", "from './").replace("from 'maas-schemas/", "from '../../maas-schemas/").replace('[registry]', '[registry as any]') + '\n' + 'export { phone }') 6 | -------------------------------------------------------------------------------- /maas-schemas/schemas/tsp/manage/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://schemas.maas.global/tsp/manage/request.json", 3 | "description": "Request schema for managing TSP", 4 | "type": "object", 5 | "properties": { 6 | "operation": { 7 | "type": "string" 8 | }, 9 | "customer": { 10 | "$ref": "https://schemas.maas.global/core/customer.json" 11 | } 12 | }, 13 | "required": ["operation"], 14 | "additionalProperties": true 15 | } 16 | -------------------------------------------------------------------------------- /maas-schemas/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | globals: { 3 | 'ts-jest': { 4 | diagnostics: { 5 | ignoreCodes: [6133, 6196], 6 | }, 7 | }, 8 | }, 9 | testMatch: ['**/*.test.ts', '**/*.doctest.ts', '**/__tests__/*.ts'], 10 | transform: { 11 | '^.+\\.(t|j)sx?$': 'ts-jest', 12 | }, 13 | roots: ['src'], 14 | collectCoverage: true, 15 | collectCoverageFrom: ['src/io-ts/_utils/**/*.ts', 'src/io-ts/_private/**/*.ts'], 16 | }; 17 | -------------------------------------------------------------------------------- /maas-schemas/schemas/tsp/customer-auth/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://schemas.maas.global/tsp/customer-auth/response.json", 3 | "description": "Response schema for initiating customer authorization for TSP", 4 | "type": "object", 5 | "properties": { 6 | "authUrl": { 7 | "$ref": "https://schemas.maas.global/core/components/units.json#/definitions/url" 8 | } 9 | }, 10 | "required": ["authUrl"], 11 | "additionalProperties": false 12 | } 13 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/bookings/bookings-upload/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/bookings/bookings-upload/response.json", 4 | "description": "Response schema for bookings-upload", 5 | "type": "object", 6 | "properties": { 7 | "uploadUrl": { 8 | "type": "string" 9 | } 10 | }, 11 | "required": ["uploadUrl"], 12 | "additionalProperties": false 13 | } 14 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/invoices/invoiceUnits.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/invoices/invoiceUnits.json", 4 | "description": "MaaS Invoice Units schema", 5 | "definitions": { 6 | "InvoiceId": { 7 | "type": "string", 8 | "minLength": 2 9 | }, 10 | "InvoiceLineItemId": { 11 | "type": "string", 12 | "minLength": 2 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/components/ajv.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/components/ajv.json", 4 | "definitions": { 5 | "stringCoarsedNull": { 6 | "description": "Ajv type coarsing replaces null with empty string", 7 | "anyOf": [ 8 | { 9 | "type": "null" 10 | }, 11 | { 12 | "const": "" 13 | } 14 | ] 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/customers/delete/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/customers/delete/response.json", 4 | "description": "MaaS customer delete", 5 | "type": "object", 6 | "properties": { 7 | "status": { 8 | "description": "Customer delete process status", 9 | "type": "string", 10 | "enum": ["IN_PROGRESS", "DELETED"] 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/webhooks/webhooks-bookings-update/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/webhooks/webhooks-bookings-update/response.json", 4 | "description": "MaaS webhook to update bookings for tsp adapter callback response schema.", 5 | "allOf": [ 6 | { 7 | "$ref": "https://schemas.maas.global/tsp/webhooks-bookings-update/remote-response.json" 8 | } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/customers/update/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/customers/update/response.json", 4 | "description": "MaaS customer update", 5 | "type": "object", 6 | "properties": { 7 | "customer": { 8 | "$ref": "https://schemas.maas.global/maas-backend/customers/customer.json" 9 | } 10 | }, 11 | "additionalProperties": false, 12 | "required": ["customer"] 13 | } 14 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_MOPED.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_MOPED.json", 4 | "type": "object", 5 | "properties": { 6 | "scooter": { 7 | "type": "object", 8 | "properties": { 9 | "id": { 10 | "$ref": "https://schemas.maas.global/core/components/vehicle.json#/definitions/vehicleId" 11 | } 12 | }, 13 | "required": ["id"] 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /maasglobal-reference-schemas/README.md: -------------------------------------------------------------------------------- 1 | # MaaS Global Reference Schemas 2 | 3 | This repository contains definitions and examples for the JSON Schema format used by MaaS Global. 4 | The format is currently a subset of `http://json-schema.org/draft-07/schema#` and 5 | `https://json-schema.org/draft/2019-09/vocab/hyper-schema`. 6 | 7 | The way we describe tuples seem to be from some earlier version of the specification. 8 | 9 | Also, our schemas contain a custom keyword `invalid` with negative test cases. 10 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_SCOOTER.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_SCOOTER.json", 4 | "type": "object", 5 | "properties": { 6 | "scooter": { 7 | "type": "object", 8 | "properties": { 9 | "id": { 10 | "$ref": "https://schemas.maas.global/core/components/vehicle.json#/definitions/vehicleId" 11 | } 12 | }, 13 | "required": ["id"] 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/package-option.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/package-option.json", 4 | "description": "MaaS tsp package schema", 5 | "type": "object", 6 | "properties": { 7 | "id": { 8 | "type": "string", 9 | "minLength": 1, 10 | "maxLength": 256 11 | } 12 | }, 13 | "additionalProperties": false, 14 | "examples": [ 15 | { 16 | "id": "package-id" 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/stop.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/stop.json", 4 | "allOf": [ 5 | { 6 | "$ref": "https://schemas.maas.global/core/components/place.json" 7 | }, 8 | { 9 | "type": "object", 10 | "properties": { 11 | "startTime": { 12 | "$ref": "https://schemas.maas.global/core/components/units.json#/definitions/time" 13 | } 14 | } 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/customers/retrieve/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/customers/retrieve/response.json", 4 | "description": "MaaS customer retrieve", 5 | "type": "object", 6 | "properties": { 7 | "customer": { 8 | "$ref": "https://schemas.maas.global/maas-backend/customers/customer.json" 9 | } 10 | }, 11 | "additionalProperties": false, 12 | "required": ["customer"] 13 | } 14 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/regions/regions-options/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/regions/regions-options/request.json", 4 | "description": "Request schema for regions-options", 5 | "type": "object", 6 | "properties": { 7 | "headers": { 8 | "$ref": "https://schemas.maas.global/core/components/api-common.json#/definitions/headers" 9 | } 10 | }, 11 | "additionalProperties": false 12 | } 13 | -------------------------------------------------------------------------------- /maasglobal-reference-schemas/schemas/eg-set.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://reference-schemas.maas.global/set.json", 4 | "title": "Set Reference schemas", 5 | "description": "Collection of unique items", 6 | "definitions": { 7 | "exampleSet": { 8 | "type": "array", 9 | "uniqueItems": true, 10 | "examples": [[1, 2, 3]], 11 | "invalid": { 12 | "duplicate items": "WzEsMiwxXQo=" 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/tsp-auth/init/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/tsp-auth/init/response.json", 4 | "description": "Response schema for tsp-auth init", 5 | "type": "object", 6 | "properties": { 7 | "authUrl": { 8 | "$ref": "https://schemas.maas.global/core/components/units.json#/definitions/url" 9 | } 10 | }, 11 | "required": ["authUrl"], 12 | "additionalProperties": false 13 | } 14 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/components/fare/fare.ts: -------------------------------------------------------------------------------- 1 | import * as P from 'maasglobal-prelude-ts'; 2 | 3 | import { Fare } from '../../../../_types/core/components/fare'; 4 | import * as BalanceName_ from '../../balances/balance-name'; 5 | 6 | export const Ord: P.Ord = P.Ord_.fromCompare((fareA, fareB) => { 7 | const bnA = BalanceName_.fromFare(fareA); 8 | const bnB = BalanceName_.fromFare(fareB); 9 | return BalanceName_.Ord.compare(bnA, bnB); 10 | }); 11 | 12 | export * as TokenId_ from './token-id'; 13 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/components/customerSelectionV2.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/components/customerSelectionV2.json", 4 | "description": "Customer Selection for Configurator v2", 5 | "type": "object", 6 | "patternProperties": { 7 | "^": { 8 | "$ref": "https://schemas.maas.global/core/components/customerSelectionCommon.json#/definitions/configChoiceSelection" 9 | } 10 | }, 11 | "additionalProperties": false 12 | } 13 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/itineraries/itinerary-estimate/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/itineraries/itinerary-estimate/response.json", 4 | "description": "Maas Itinerary estimate response", 5 | "type": "object", 6 | "properties": { 7 | "itinerary": { 8 | "$ref": "https://schemas.maas.global/core/itinerary.json" 9 | } 10 | }, 11 | "required": ["itinerary"], 12 | "additionalProperties": false 13 | } 14 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/booking-virtual-create/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/booking-virtual-create/response.json", 4 | "description": "Response schema for booking-virtual-create", 5 | "type": "object", 6 | "properties": { 7 | "invoices": { 8 | "type": "array", 9 | "items": { 10 | "$ref": "https://schemas.maas.global/maas-backend/invoices/invoice.json" 11 | } 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/webhooks/webhooks-message-to-user/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/webhooks/webhooks-message-to-user/response.json", 4 | "description": "A response from BE message-to-user webhook", 5 | "type": "object", 6 | "properties": { 7 | "status": { 8 | "type": "string", 9 | "enum": ["OK", "FAILED"] 10 | } 11 | }, 12 | "required": ["status"], 13 | "additionalProperties": false 14 | } 15 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/tsp-auth/validate/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/tsp-auth/validate/response.json", 4 | "description": "Response schema for tsp-auth validate", 5 | "type": "object", 6 | "properties": { 7 | "location": { 8 | "$ref": "https://schemas.maas.global/core/components/common.json#/definitions/whimDeepLink" 9 | } 10 | }, 11 | "required": ["location"], 12 | "additionalProperties": false 13 | } 14 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/customers/personal-documents/update/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/customers/personal-documents/update/response.json", 4 | "description": "Update a pending verification personal document object", 5 | "type": "object", 6 | "properties": { 7 | "personalDocument": { 8 | "$ref": "https://schemas.maas.global/core/personal-document.json" 9 | } 10 | }, 11 | "required": ["personalDocument"] 12 | } 13 | -------------------------------------------------------------------------------- /maas-schemas/schemas/tsp/stations-retrieve/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://schemas.maas.global/tsp/stations-retrieve/request.json", 3 | "description": "MaaS stations retrieve request schema", 4 | "type": "object", 5 | "properties": { 6 | "id": { 7 | "$ref": "https://schemas.maas.global/core/components/station.json#/definitions/id" 8 | }, 9 | "agencyId": { 10 | "$ref": "https://schemas.maas.global/core/components/station.json#/definitions/agencyId" 11 | } 12 | }, 13 | "additionalProperties": false 14 | } 15 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/customers/benefits/initiate/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/customers/benefits/initiate/response.json", 4 | "description": "MaaS customer benefits initiate", 5 | "type": "object", 6 | "properties": { 7 | "checkoutUrl": { 8 | "$ref": "https://schemas.maas.global/core/components/units.json#/definitions/url" 9 | } 10 | }, 11 | "required": ["checkoutUrl"], 12 | "additionalProperties": false 13 | } 14 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/components/personalDataAllowItem.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/components/personalDataAllowItem.json", 4 | "description": "MaaS personal data permissions specification", 5 | "type": "object", 6 | "properties": { 7 | "type": { 8 | "enum": ["allOf", "anyOf"] 9 | }, 10 | "items": { 11 | "type": "array", 12 | "items": { 13 | "type": "string", 14 | "minLength": 1 15 | } 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/vehicle/vehicle-alert/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/vehicle/vehicle-alert/request.json", 4 | "description": "Request to vehicle", 5 | "type": "object", 6 | "properties": { 7 | "vehicleId": { 8 | "type": "string", 9 | "minLength": 1, 10 | "maxLength": 255 11 | }, 12 | "productId": { 13 | "$ref": "https://schemas.maas.global/core/product.json#/definitions/id" 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/customers/verification/register/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/customers/verification/register/response.json", 4 | "description": "Response schema for customers verification register", 5 | "type": "object", 6 | "properties": { 7 | "customer": { 8 | "$ref": "https://schemas.maas.global/maas-backend/customers/customer.json" 9 | } 10 | }, 11 | "additionalProperties": false, 12 | "required": ["customer"] 13 | } 14 | -------------------------------------------------------------------------------- /maas-schemas/schemas/tsp/payments-retrieve/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://schemas.maas.global/tsp/payments-retrieve/request.json", 3 | "description": "Request schema for retrieving a TSP payment from TSP api", 4 | "type": "object", 5 | "properties": { 6 | "tspId": { 7 | "$ref": "https://schemas.maas.global/core/booking.json#/definitions/tspId" 8 | } 9 | }, 10 | "required": ["tspId"], 11 | "additionalProperties": false, 12 | "examples": [ 13 | { 14 | "tspId": "00000000-cafe-cafe-cafe-cafecafecafe" 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/components/units/authority.ts: -------------------------------------------------------------------------------- 1 | import { 2 | Authority, 3 | defaultHostPortDelimiter as colon, 4 | defaultNetworkSchemeDelimiter as colonSlashSlash, 5 | Hostname, 6 | Port, 7 | } from '../../../../_types/core/components/units'; 8 | 9 | export const authority = (hostname: Hostname, port: Port): Authority => 10 | [hostname, port].join(colon) as Authority; 11 | 12 | export const fromOrigin = (origin: string): Authority => { 13 | const [_scheme, rest] = origin.split(colonSlashSlash); 14 | return rest as Authority; 15 | }; 16 | -------------------------------------------------------------------------------- /maasglobal-reference-schemas/schemas/eg-tuple.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://reference-schemas.maas.global/tuple.json", 4 | "title": "Tuple Reference schemas", 5 | "description": "An ordered collection of items, the type of which depend on their position in the collection", 6 | "definitions": { 7 | "tuple": { 8 | "type": "array", 9 | "items": [{ "type": "string" }, { "type": "number" }], 10 | "additionalItems": false, 11 | "examples": [["asdf", 2]] 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/products/products-providers-retrieve/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/products/products-providers-retrieve/response.json", 4 | "description": "Response schema for products-providers-retrieve", 5 | "type": "object", 6 | "properties": { 7 | "provider": { 8 | "$ref": "https://schemas.maas.global/maas-backend/products/provider.json" 9 | } 10 | }, 11 | "required": ["provider"], 12 | "additionalProperties": false 13 | } 14 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/profile/profile-edit/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/profile/profile-edit/response.json", 4 | "description": "Response schema for profile-edit", 5 | "type": "object", 6 | "properties": { 7 | "profile": { 8 | "$ref": "https://schemas.maas.global/core/profile.json" 9 | }, 10 | "debug": { 11 | "type": "object", 12 | "additionalProperties": true 13 | } 14 | }, 15 | "additionalProperties": false 16 | } 17 | -------------------------------------------------------------------------------- /maasglobal-schema-package/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["eslint-config-maasglobal-ts/strict"], 3 | "rules": { 4 | "simple-import-sort/sort": [ 5 | 1, 6 | { 7 | "groups": [["^\\u0000"], ["^maasglobal-prelude"], ["^[^.]"], ["^\\."]] 8 | } 9 | ] 10 | }, 11 | "overrides": [ 12 | { 13 | "files": ["src/readme.ts"], 14 | "rules": { 15 | "@typescript-eslint/consistent-type-definitions": 0, 16 | "import/no-duplicates": 0, 17 | "simple-import-sort/sort": 0 18 | } 19 | } 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/customers/virtual-cards/create/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/customers/virtual-cards/create/response.json", 4 | "description": "MaaS customer virtual cards create response", 5 | "type": "object", 6 | "properties": { 7 | "virtualCard": { 8 | "$ref": "https://schemas.maas.global/maas-backend/customers/virtual-cards/virtualCard.json" 9 | } 10 | }, 11 | "additionalProperties": false, 12 | "required": ["virtualCard"] 13 | } 14 | -------------------------------------------------------------------------------- /maas-schemas/schemas/tsp/booking-read-by-id/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://schemas.maas.global/tsp/booking-read-by-id/request.json", 3 | "description": "Request schema for getting a specific booking with a TSP ID from a TSP adapter", 4 | "type": "object", 5 | "properties": { 6 | "tspId": { 7 | "$ref": "https://schemas.maas.global/core/booking.json#/definitions/tspId" 8 | }, 9 | "query": { 10 | "type": "object", 11 | "description": "Debug info" 12 | } 13 | }, 14 | "required": ["tspId"], 15 | "additionalProperties": false 16 | } 17 | -------------------------------------------------------------------------------- /maasglobal-json-schema-validator/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["eslint-config-maasglobal-ts/strict"], 3 | "rules": { 4 | "simple-import-sort/sort": [ 5 | 1, 6 | { 7 | "groups": [["^\\u0000"], ["^maasglobal-prelude"], ["^[^.]"], ["^\\."]] 8 | } 9 | ] 10 | }, 11 | "overrides": [ 12 | { 13 | "files": ["src/readme.ts"], 14 | "rules": { 15 | "@typescript-eslint/consistent-type-definitions": 0, 16 | "import/no-duplicates": 0, 17 | "simple-import-sort/sort": 0 18 | } 19 | } 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-ajv/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["eslint-config-maasglobal-ts/strict"], 3 | "rules": { 4 | "simple-import-sort/sort": [ 5 | 1, 6 | { 7 | "groups": [["^\\u0000"], ["^maasglobal-prelude"], ["^[^.]"], ["^\\."]] 8 | } 9 | ] 10 | }, 11 | "overrides": [ 12 | { 13 | "files": ["src/readme.ts"], 14 | "rules": { 15 | "@typescript-eslint/consistent-type-definitions": 0, 16 | "import/no-duplicates": 0, 17 | "simple-import-sort/sort": 0 18 | } 19 | } 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /maasglobal-schema-generator-io-ts/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["eslint-config-maasglobal-ts/strict"], 3 | "rules": { 4 | "simple-import-sort/sort": [ 5 | 1, 6 | { 7 | "groups": [["^\\u0000"], ["^maasglobal-prelude"], ["^[^.]"], ["^\\."]] 8 | } 9 | ] 10 | }, 11 | "overrides": [ 12 | { 13 | "files": ["src/readme.ts"], 14 | "rules": { 15 | "@typescript-eslint/consistent-type-definitions": 0, 16 | "import/no-duplicates": 0, 17 | "simple-import-sort/sort": 0 18 | } 19 | } 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/components/costBreakDown.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/components/costBreakDown.json", 4 | "description": "A costBreakDown shows pricing according to TSPs wishes and nuances", 5 | "definitions": { 6 | "costBreakDownArray": { 7 | "type": "array", 8 | "description": "TSP specific cost rules", 9 | "items": { 10 | "type": "string" 11 | }, 12 | "examples": [["First 10 km, 50 euros", "Next 20 km, 10 euros"]] 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/components/personalDocumentRequiredItem.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/components/personalDocumentRequiredItem.json", 4 | "description": "MaaS personal document TSP requirements specification", 5 | "type": "object", 6 | "properties": { 7 | "type": { 8 | "enum": ["allOf", "anyOf"] 9 | }, 10 | "items": { 11 | "type": "array", 12 | "items": { 13 | "type": "string", 14 | "minLength": 1 15 | } 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/profile/profile-webhook/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/profile/profile-webhook/response.json", 4 | "description": "Response schema for profile-webhook", 5 | "type": "object", 6 | "properties": { 7 | "profile": { 8 | "$ref": "https://schemas.maas.global/core/profile.json" 9 | }, 10 | "maas": { 11 | "type": "object", 12 | "additionalProperties": true 13 | } 14 | }, 15 | "additionalProperties": false 16 | } 17 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_SHARED_BICYCLE.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_SHARED_BICYCLE.json", 4 | "type": "object", 5 | "properties": { 6 | "bike": { 7 | "type": "object", 8 | "properties": { 9 | "id": { 10 | "$ref": "https://schemas.maas.global/core/components/vehicle.json#/definitions/vehicleId" 11 | }, 12 | "type": { 13 | "type": "string" 14 | } 15 | }, 16 | "required": ["id"] 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/subscriptions/subscriptions-change-state/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/subscriptions/subscriptions-change-state/response.json", 4 | "description": "Response schema for subscriptions-change-state", 5 | "type": "object", 6 | "properties": { 7 | "changeState": { 8 | "$ref": "https://schemas.maas.global/core/components/subscriptionChangeState.json" 9 | } 10 | }, 11 | "required": ["changeState"], 12 | "additionalProperties": false 13 | } 14 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/coupons/coupons-validate/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/coupons/coupons-validate/response.json", 4 | "description": "MaaS coupon validation", 5 | "type": "object", 6 | "properties": { 7 | "code": { 8 | "$ref": "https://schemas.maas.global/maas-backend/coupons/code.json#/definitions/code" 9 | }, 10 | "valid": { 11 | "type": "boolean" 12 | } 13 | }, 14 | "additionalProperties": false, 15 | "required": ["code", "valid"] 16 | } 17 | -------------------------------------------------------------------------------- /maas-schemas/schemas/core/modes/MODE_SHARED_E_BICYCLE.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/core/modes/MODE_SHARED_E_BICYCLE.json", 4 | "type": "object", 5 | "properties": { 6 | "bike": { 7 | "type": "object", 8 | "properties": { 9 | "id": { 10 | "$ref": "https://schemas.maas.global/core/components/vehicle.json#/definitions/vehicleId" 11 | }, 12 | "battery": { 13 | "type": "number" 14 | } 15 | }, 16 | "required": ["id"] 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Dependency directory 2 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git 3 | node_modules 4 | 5 | # IDE Stuff 6 | **/.idea 7 | .vscode/launch.json 8 | *.swp 9 | 10 | # OS STUFF 11 | .DS_Store 12 | .tmp 13 | 14 | # prebuild is done before publish 15 | prebuilt 16 | 17 | # schemas registry, generated upon build / prepublish 18 | registry.js 19 | 20 | # npmrc 21 | .npmrc 22 | 23 | # Autogenerated docs 24 | maas-schemas/_docs 25 | maas-schemas/docs 26 | 27 | # npm lockfiles 28 | package-lock.json 29 | 30 | # old ts package 31 | maas-schemas-ts 32 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/customers/verification/initiate/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/customers/verification/initiate/response.json", 4 | "description": "MaaS customer verification initiate", 5 | "type": "object", 6 | "properties": { 7 | "verification": { 8 | "$ref": "https://schemas.maas.global/maas-backend/customers/verification/verification-object.json#/definitions/verification" 9 | } 10 | }, 11 | "additionalProperties": false, 12 | "required": ["verification"] 13 | } 14 | -------------------------------------------------------------------------------- /maas-schemas/.gitignore: -------------------------------------------------------------------------------- 1 | # Dependency directory 2 | # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git 3 | node_modules 4 | 5 | # IDE Stuff 6 | **/.idea 7 | .vscode/launch.json 8 | *.swp 9 | 10 | # OS STUFF 11 | .DS_Store 12 | .tmp 13 | 14 | # prebuild is done before publish 15 | prebuilt 16 | 17 | # schemas registry, generated upon build / prepublish 18 | lib/ajv/registry.js 19 | registry.js 20 | 21 | # npmrc 22 | .npmrc 23 | 24 | # build directory 25 | lib 26 | 27 | # generated test files 28 | src/**/*.doctest.ts 29 | 30 | # test coverage report 31 | coverage 32 | -------------------------------------------------------------------------------- /maasglobal-reference-schemas/schemas/eg-literal.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://reference-schemas.maas.global/literal.json", 4 | "title": "Literal Reference Schemas", 5 | "description": "Literals can define any JSON structure, and the input needs to match that structure", 6 | "definitions": { 7 | "stringLiteral": { 8 | "type": "string", 9 | "const": "foo", 10 | "default": "foo" 11 | }, 12 | 13 | "numberLiteral": { 14 | "type": "number", 15 | "const": 123, 16 | "default": 123 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/bookings/bookings-create/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/bookings/bookings-create/response.json", 4 | "description": "Response schema for bookings-create", 5 | "type": "object", 6 | "properties": { 7 | "booking": { 8 | "$ref": "https://schemas.maas.global/core/booking.json" 9 | }, 10 | "debug": { 11 | "type": "object", 12 | "additionalProperties": true 13 | } 14 | }, 15 | "required": ["booking"], 16 | "additionalProperties": false 17 | } 18 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/bookings/bookings-update/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/bookings/bookings-update/response.json", 4 | "description": "Response schema for bookings-update", 5 | "type": "object", 6 | "properties": { 7 | "booking": { 8 | "$ref": "https://schemas.maas.global/core/booking.json" 9 | }, 10 | "debug": { 11 | "type": "object", 12 | "additionalProperties": true 13 | } 14 | }, 15 | "required": ["booking"], 16 | "additionalProperties": false 17 | } 18 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/customers/payment-sources/update/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/customers/payment-sources/update/response.json", 4 | "description": "MaaS customer payment sources update response", 5 | "type": "object", 6 | "additionalProperties": false, 7 | "required": ["paymentSource"], 8 | "properties": { 9 | "paymentSource": { 10 | "$ref": "https://schemas.maas.global/maas-backend/customers/payment-sources/paymentSource.json#/definitions/paymentSource" 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/customers/virtual-cards/add-token-reference/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/customers/virtual-cards/add-token-reference/response.json", 4 | "description": "MaaS customer virtual cards add token reference response", 5 | "type": "object", 6 | "properties": { 7 | "virtualCard": { 8 | "$ref": "https://schemas.maas.global/maas-backend/customers/virtual-cards/virtualCard.json" 9 | } 10 | }, 11 | "additionalProperties": false, 12 | "required": ["virtualCard"] 13 | } 14 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/bookings/bookings-retrieve/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/bookings/bookings-retrieve/response.json", 4 | "description": "Response schema for bookings-retrieve", 5 | "type": "object", 6 | "properties": { 7 | "booking": { 8 | "$ref": "https://schemas.maas.global/core/booking.json" 9 | }, 10 | "debug": { 11 | "type": "object", 12 | "additionalProperties": true 13 | } 14 | }, 15 | "required": ["booking"], 16 | "additionalProperties": false 17 | } 18 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/profile/profile-favoriteLocations-add/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/profile/profile-favoriteLocations-add/response.json", 4 | "description": "Response schema for profile-favoriteLocations-add", 5 | "type": "object", 6 | "properties": { 7 | "profile": { 8 | "$ref": "https://schemas.maas.global/core/profile.json" 9 | }, 10 | "debug": { 11 | "type": "object", 12 | "additionalProperties": true 13 | } 14 | }, 15 | "additionalProperties": false 16 | } 17 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/products/products-providers-list/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/products/products-providers-list/response.json", 4 | "description": "Response schema for products-providers-list", 5 | "type": "object", 6 | "properties": { 7 | "providers": { 8 | "type": "array", 9 | "items": { 10 | "$ref": "https://schemas.maas.global/maas-backend/products/provider.json" 11 | } 12 | } 13 | }, 14 | "required": ["providers"], 15 | "additionalProperties": false 16 | } 17 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/products/products-providers-options/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/products/products-providers-options/response.json", 4 | "description": "Response schema for products-providers-options", 5 | "type": "object", 6 | "properties": { 7 | "providers": { 8 | "type": "array", 9 | "items": { 10 | "$ref": "https://schemas.maas.global/maas-backend/products/provider.json" 11 | } 12 | } 13 | }, 14 | "required": ["providers"], 15 | "additionalProperties": false 16 | } 17 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/profile/profile-favoriteLocations-delete/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/profile/profile-favoriteLocations-delete/response.json", 4 | "description": "Response schema for profile-favoriteLocations-delete", 5 | "type": "object", 6 | "properties": { 7 | "profile": { 8 | "$ref": "https://schemas.maas.global/core/profile.json" 9 | }, 10 | "debug": { 11 | "type": "object", 12 | "additionalProperties": true 13 | } 14 | }, 15 | "additionalProperties": false 16 | } 17 | -------------------------------------------------------------------------------- /maas-schemas/schemas/tsp/customer-auth-validate/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://schemas.maas.global/tsp/customer-auth-validate/request.json", 3 | "description": "Request schema for completing customer authorization for TSP", 4 | "type": "object", 5 | "properties": { 6 | "encodedData": { 7 | "$ref": "https://schemas.maas.global/core/components/common.json#/definitions/encodedQueryParam" 8 | }, 9 | "error": { 10 | "$ref": "https://schemas.maas.global/core/components/common.json#/definitions/errorKey" 11 | } 12 | }, 13 | "required": ["encodedData"], 14 | "additionalProperties": true 15 | } 16 | -------------------------------------------------------------------------------- /maas-schemas/schemas/tsp/estimate/request.json: -------------------------------------------------------------------------------- 1 | { 2 | "$id": "https://schemas.maas.global/tsp/estimate/request.json", 3 | "description": "Request schema for estimating a configured product option", 4 | "type": "object", 5 | "properties": { 6 | "productOption": { 7 | "$ref": "https://schemas.maas.global/core/product-option.json" 8 | }, 9 | "customer": { 10 | "$ref": "https://schemas.maas.global/core/customer.json" 11 | }, 12 | "customerSelection": { 13 | "$ref": "https://schemas.maas.global/core/components/customerSelection.json" 14 | } 15 | }, 16 | "required": ["productOption"] 17 | } 18 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/itineraries/itinerary-update/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/itineraries/itinerary-update/response.json", 4 | "description": "Maas Itinerary update request", 5 | "type": "object", 6 | "properties": { 7 | "itinerary": { 8 | "anyOf": [ 9 | { "$ref": "https://schemas.maas.global/core/itinerary.json" }, 10 | { "$ref": "https://schemas.maas.global/core/itineraryV2.json" } 11 | ] 12 | } 13 | }, 14 | "required": ["itinerary"], 15 | "additionalProperties": false 16 | } 17 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/webhooks/webhooks-bookings-create/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/webhooks/webhooks-bookings-create/response.json", 4 | "description": "Response schema for webhooks-bookings-create", 5 | "type": "object", 6 | "properties": { 7 | "booking": { 8 | "$ref": "https://schemas.maas.global/core/booking.json" 9 | }, 10 | "debug": { 11 | "type": "object", 12 | "additionalProperties": true 13 | } 14 | }, 15 | "required": ["booking"], 16 | "additionalProperties": false 17 | } 18 | -------------------------------------------------------------------------------- /maasglobal-reference-schemas/schemas/eg-array.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://reference-schemas.maas.global/array.json", 4 | "title": "Array", 5 | "description": "An ordered collection of homogenous values, with duplicates allowed. See Set and Tuple for other array based structures.", 6 | "definitions": { 7 | "exampleArray": { 8 | "type": "array", 9 | "items": { "type": "string" }, 10 | "contains": { "type": "string", "const": "foo" }, 11 | "minItems": 1, 12 | "maxItems": 10, 13 | "examples": [["asdf", "foo", "qwer"]] 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /maas-schemas/schemas/maas-backend/customers/virtual-cards/list-transactions/response.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json-schema.org/draft-07/schema#", 3 | "$id": "https://schemas.maas.global/maas-backend/customers/virtual-cards/list-transactions/response.json", 4 | "description": "MaaS customer virtual cards list transactions response", 5 | "properties": { 6 | "transactions": { 7 | "type": "array", 8 | "items": { 9 | "$ref": "https://schemas.maas.global/maas-backend/customers/virtual-cards/virtualCardAccountPosting.json" 10 | } 11 | } 12 | }, 13 | "required": ["transactions"], 14 | "type": "object" 15 | } 16 | -------------------------------------------------------------------------------- /maas-schemas/src/io-ts/_utils/core/components/common/__tests__/meta-currency.ts: -------------------------------------------------------------------------------- 1 | import { 2 | defaultMetaCurrencyTOKEN as TOKEN, 3 | defaultMetaCurrencyWMP as WMP, 4 | } from '../../../../../_types/core/components/common'; 5 | import { Ord } from '../meta-currency'; 6 | 7 | describe('meta-currency', () => { 8 | describe('Ord', () => { 9 | it('should support comparing meta currencies', () => { 10 | expect(Ord.compare(TOKEN, TOKEN)).toEqual(0); 11 | expect(Ord.compare(TOKEN, WMP)).toEqual(-1); 12 | expect(Ord.compare(WMP, WMP)).toEqual(0); 13 | expect(Ord.compare(WMP, TOKEN)).toEqual(1); 14 | }); 15 | }); 16 | }); 17 | --------------------------------------------------------------------------------