@ventrata/octo-types 0.0.15 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +140 -21
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +155 -12
- package/dist/models/Article.d.ts +13 -0
- package/dist/models/Article.d.ts.map +1 -0
- package/dist/models/AvailabilityCalendar.d.ts +4 -0
- package/dist/models/AvailabilityCalendar.d.ts.map +1 -1
- package/dist/models/AvailabilityCalendarBody.d.ts +1 -1
- package/dist/models/AvailabilityCalendarBody.d.ts.map +1 -1
- package/dist/models/AvailabilityCheckBody.d.ts +1 -1
- package/dist/models/AvailabilityCheckBody.d.ts.map +1 -1
- package/dist/models/Booking.d.ts +8 -5
- package/dist/models/Booking.d.ts.map +1 -1
- package/dist/models/BookingCancellationBody.d.ts +9 -2
- package/dist/models/BookingCancellationBody.d.ts.map +1 -1
- package/dist/models/BookingCardPayments.d.ts +2 -2
- package/dist/models/BookingCardPayments.d.ts.map +1 -1
- package/dist/models/BookingContact.d.ts +4 -0
- package/dist/models/BookingContact.d.ts.map +1 -1
- package/dist/models/BookingContentBody.d.ts +4 -0
- package/dist/models/BookingContentBody.d.ts.map +1 -0
- package/dist/models/BookingIdenititesBody.d.ts +4 -0
- package/dist/models/BookingIdenititesBody.d.ts.map +1 -0
- package/dist/models/BookingMemberships.d.ts +2 -0
- package/dist/models/BookingMemberships.d.ts.map +1 -1
- package/dist/models/BookingReservationBody.d.ts +3 -1
- package/dist/models/BookingReservationBody.d.ts.map +1 -1
- package/dist/models/BookingUpdateBody.d.ts +1 -0
- package/dist/models/BookingUpdateBody.d.ts.map +1 -1
- package/dist/models/Brand.d.ts +3 -1
- package/dist/models/Brand.d.ts.map +1 -1
- package/dist/models/BrandVentrataCheckoutContent.d.ts +5 -0
- package/dist/models/BrandVentrataCheckoutContent.d.ts.map +1 -0
- package/dist/models/CancelGiftBody.d.ts +5 -0
- package/dist/models/CancelGiftBody.d.ts.map +1 -0
- package/dist/models/CancelGiftPathParams.d.ts +4 -0
- package/dist/models/CancelGiftPathParams.d.ts.map +1 -0
- package/dist/models/CancelOrderBody.d.ts +1 -0
- package/dist/models/CancelOrderBody.d.ts.map +1 -1
- package/dist/models/{BookingCancellation.d.ts → Cancellation.d.ts} +2 -2
- package/dist/models/Cancellation.d.ts.map +1 -0
- package/dist/models/CapabilityId.d.ts +3 -0
- package/dist/models/CapabilityId.d.ts.map +1 -1
- package/dist/models/CapabilityId.js +3 -0
- package/dist/models/CardPayment.d.ts +10 -32
- package/dist/models/CardPayment.d.ts.map +1 -1
- package/dist/models/CardPaymentGateway.d.ts +37 -0
- package/dist/models/CardPaymentGateway.d.ts.map +1 -0
- package/dist/models/Category.d.ts +7 -0
- package/dist/models/Category.d.ts.map +1 -1
- package/dist/models/CategoryVentrataCheckoutContent.d.ts +6 -0
- package/dist/models/CategoryVentrataCheckoutContent.d.ts.map +1 -0
- package/dist/models/Checkout.d.ts +11 -0
- package/dist/models/Checkout.d.ts.map +1 -0
- package/dist/models/CheckoutConfig.d.ts +155 -0
- package/dist/models/CheckoutConfig.d.ts.map +1 -0
- package/dist/models/CheckoutConfigContent.d.ts +122 -0
- package/dist/models/CheckoutConfigContent.d.ts.map +1 -0
- package/dist/models/CheckoutConfigPricingDisplay.d.ts +5 -0
- package/dist/models/CheckoutConfigPricingDisplay.d.ts.map +1 -0
- package/dist/models/CheckoutConfigPricingDisplay.js +12 -0
- package/dist/models/CheckoutDomain.d.ts +5 -0
- package/dist/models/CheckoutDomain.d.ts.map +1 -0
- package/dist/models/CheckoutSitemapEntry.d.ts +12 -0
- package/dist/models/CheckoutSitemapEntry.d.ts.map +1 -0
- package/dist/models/CheckoutSitemapEntryRel.d.ts +7 -0
- package/dist/models/CheckoutSitemapEntryRel.d.ts.map +1 -0
- package/dist/models/CheckoutSitemapEntryRel.js +14 -0
- package/dist/models/Claim.d.ts +8 -0
- package/dist/models/Claim.d.ts.map +1 -0
- package/dist/models/Connection.d.ts +15 -0
- package/dist/models/Connection.d.ts.map +1 -0
- package/dist/models/CreateGiftBody.d.ts +19 -0
- package/dist/models/CreateGiftBody.d.ts.map +1 -0
- package/dist/models/CreateGiftRequest.d.ts +5 -0
- package/dist/models/CreateGiftRequest.d.ts.map +1 -0
- package/dist/models/CreateIdentityBody.d.ts +4 -0
- package/dist/models/CreateIdentityBody.d.ts.map +1 -0
- package/dist/models/CreateIdentityRequest.d.ts +5 -0
- package/dist/models/CreateIdentityRequest.d.ts.map +1 -0
- package/dist/models/CreateIdentityRequest.js +2 -0
- package/dist/models/CreateOrderBody.d.ts +16 -4
- package/dist/models/CreateOrderBody.d.ts.map +1 -1
- package/dist/models/CreateOrderCardPaymentsBody.d.ts +7 -0
- package/dist/models/CreateOrderCardPaymentsBody.d.ts.map +1 -0
- package/dist/models/CreateOrderCardPaymentsBody.js +2 -0
- package/dist/models/CreateOrderGiftsBody.d.ts +5 -0
- package/dist/models/CreateOrderGiftsBody.d.ts.map +1 -0
- package/dist/models/CreateOrderGiftsBody.js +2 -0
- package/dist/models/CreateOrderIdentitiesBody.d.ts +4 -0
- package/dist/models/CreateOrderIdentitiesBody.d.ts.map +1 -0
- package/dist/models/CreateOrderIdentitiesBody.js +2 -0
- package/dist/models/CreateOrderRequest.d.ts +5 -0
- package/dist/models/CreateOrderRequest.d.ts.map +1 -0
- package/dist/models/CreateOrderRequest.js +2 -0
- package/dist/models/DeleteIdentityPathParams.d.ts +4 -0
- package/dist/models/DeleteIdentityPathParams.d.ts.map +1 -0
- package/dist/models/DeleteIdentityPathParams.js +2 -0
- package/dist/models/DeleteIdentityRequest_id.d.ts +2 -0
- package/dist/models/DeleteIdentityRequest_id.d.ts.map +1 -0
- package/dist/models/DeleteIdentityRequest_id.js +2 -0
- package/dist/models/DeliveryFormat.d.ts +2 -1
- package/dist/models/DeliveryFormat.d.ts.map +1 -1
- package/dist/models/DeliveryFormat.js +1 -0
- package/dist/models/Destination.d.ts +17 -0
- package/dist/models/Destination.d.ts.map +1 -1
- package/dist/models/DestinationVentrataCheckoutContent.d.ts +16 -0
- package/dist/models/DestinationVentrataCheckoutContent.d.ts.map +1 -0
- package/dist/models/DestinationVentrataCheckoutContent.js +2 -0
- package/dist/models/{OfferTax.d.ts → DiscountTax.d.ts} +2 -2
- package/dist/models/DiscountTax.d.ts.map +1 -0
- package/dist/models/DiscountTax.js +2 -0
- package/dist/models/ExternalGatewayRequest.d.ts +5 -0
- package/dist/models/ExternalGatewayRequest.d.ts.map +1 -0
- package/dist/models/ExternalGatewayRequest.js +2 -0
- package/dist/models/GetBookingsQueryParams.d.ts +31 -0
- package/dist/models/GetBookingsQueryParams.d.ts.map +1 -0
- package/dist/models/GetBookingsQueryParams.js +2 -0
- package/dist/models/GetBookingsQuery_localDate.d.ts +5 -0
- package/dist/models/GetBookingsQuery_localDate.d.ts.map +1 -0
- package/dist/models/GetBookingsQuery_localDate.js +2 -0
- package/dist/models/GetBookingsQuery_localDateEnd.d.ts +5 -0
- package/dist/models/GetBookingsQuery_localDateEnd.d.ts.map +1 -0
- package/dist/models/GetBookingsQuery_localDateEnd.js +2 -0
- package/dist/models/GetBookingsQuery_localDateStart.d.ts +5 -0
- package/dist/models/GetBookingsQuery_localDateStart.d.ts.map +1 -0
- package/dist/models/GetBookingsQuery_localDateStart.js +2 -0
- package/dist/models/GetBookingsQuery_optionId.d.ts +5 -0
- package/dist/models/GetBookingsQuery_optionId.d.ts.map +1 -0
- package/dist/models/GetBookingsQuery_optionId.js +2 -0
- package/dist/models/GetBookingsQuery_productId.d.ts +5 -0
- package/dist/models/GetBookingsQuery_productId.d.ts.map +1 -0
- package/dist/models/GetBookingsQuery_productId.js +2 -0
- package/dist/models/GetBookingsQuery_resellerReference.d.ts +5 -0
- package/dist/models/GetBookingsQuery_resellerReference.d.ts.map +1 -0
- package/dist/models/GetBookingsQuery_resellerReference.js +2 -0
- package/dist/models/GetBookingsQuery_supplierReference.d.ts +5 -0
- package/dist/models/GetBookingsQuery_supplierReference.d.ts.map +1 -0
- package/dist/models/GetBookingsQuery_supplierReference.js +2 -0
- package/dist/models/GetBookingsRequest.d.ts +30 -2
- package/dist/models/GetBookingsRequest.d.ts.map +1 -1
- package/dist/models/GetMappingsQueryParams.d.ts +20 -0
- package/dist/models/GetMappingsQueryParams.d.ts.map +1 -0
- package/dist/models/GetMappingsQueryParams.js +2 -0
- package/dist/models/GetMappingsQuery_optionId.d.ts +5 -0
- package/dist/models/GetMappingsQuery_optionId.d.ts.map +1 -0
- package/dist/models/GetMappingsQuery_optionId.js +2 -0
- package/dist/models/GetMappingsQuery_productId.d.ts +5 -0
- package/dist/models/GetMappingsQuery_productId.d.ts.map +1 -0
- package/dist/models/GetMappingsQuery_productId.js +2 -0
- package/dist/models/GetMappingsQuery_resellerReference.d.ts +5 -0
- package/dist/models/GetMappingsQuery_resellerReference.d.ts.map +1 -0
- package/dist/models/GetMappingsQuery_resellerReference.js +2 -0
- package/dist/models/GetMappingsQuery_resellerStatus.d.ts +6 -0
- package/dist/models/GetMappingsQuery_resellerStatus.d.ts.map +1 -0
- package/dist/models/GetMappingsQuery_resellerStatus.js +2 -0
- package/dist/models/GetYourGuideConnection.d.ts +2 -2
- package/dist/models/GetYourGuideConnection.d.ts.map +1 -1
- package/dist/models/Gift.d.ts +28 -4
- package/dist/models/Gift.d.ts.map +1 -1
- package/dist/models/GiftCardPayments.d.ts +2 -2
- package/dist/models/GiftCardPayments.d.ts.map +1 -1
- package/dist/models/GiftCart.d.ts +6 -0
- package/dist/models/GiftCart.d.ts.map +1 -0
- package/dist/models/GiftCart.js +2 -0
- package/dist/models/GiftExpiryUnit.d.ts +6 -0
- package/dist/models/GiftExpiryUnit.d.ts.map +1 -0
- package/dist/models/GiftExpiryUnit.js +13 -0
- package/dist/models/GiftOffers.d.ts +23 -0
- package/dist/models/GiftOffers.d.ts.map +1 -0
- package/dist/models/GiftOffers.js +2 -0
- package/dist/models/GiftsRestrictionItem.d.ts +6 -0
- package/dist/models/GiftsRestrictionItem.d.ts.map +1 -0
- package/dist/models/GiftsRestrictionItem.js +2 -0
- package/dist/models/GiftsRestrictions.d.ts +6 -0
- package/dist/models/GiftsRestrictions.d.ts.map +1 -0
- package/dist/models/GiftsRestrictions.js +2 -0
- package/dist/models/Link.d.ts +7 -0
- package/dist/models/Link.d.ts.map +1 -0
- package/dist/models/Link.js +2 -0
- package/dist/models/ListGiftsQueryParams.d.ts +10 -0
- package/dist/models/ListGiftsQueryParams.d.ts.map +1 -0
- package/dist/models/ListGiftsQueryParams.js +2 -0
- package/dist/models/{ListOrdersRequest.d.ts → ListOrdersQueryParams.d.ts} +2 -2
- package/dist/models/ListOrdersQueryParams.d.ts.map +1 -0
- package/dist/models/ListOrdersQueryParams.js +2 -0
- package/dist/models/Nav.d.ts +9 -0
- package/dist/models/Nav.d.ts.map +1 -0
- package/dist/models/Nav.js +2 -0
- package/dist/models/Octo_CapabilityId.d.ts +3 -1
- package/dist/models/Octo_CapabilityId.d.ts.map +1 -1
- package/dist/models/Octo_CapabilityId.js +2 -0
- package/dist/models/Offer.d.ts +1 -0
- package/dist/models/Offer.d.ts.map +1 -1
- package/dist/models/OfferDiscount.d.ts +2 -2
- package/dist/models/OfferDiscount.d.ts.map +1 -1
- package/dist/models/Operator.d.ts +11 -0
- package/dist/models/Operator.d.ts.map +1 -0
- package/dist/models/Operator.js +2 -0
- package/dist/models/Option.d.ts +1 -1
- package/dist/models/Option.d.ts.map +1 -1
- package/dist/models/OptionRestrictions.d.ts +1 -1
- package/dist/models/OptionRestrictions.d.ts.map +1 -1
- package/dist/models/Order.d.ts +3 -2
- package/dist/models/Order.d.ts.map +1 -1
- package/dist/models/OrderCardPayments.d.ts +2 -2
- package/dist/models/OrderCardPayments.d.ts.map +1 -1
- package/dist/models/Page.d.ts +13 -0
- package/dist/models/Page.d.ts.map +1 -0
- package/dist/models/Page.js +2 -0
- package/dist/models/Partner.d.ts +1 -2
- package/dist/models/Partner.d.ts.map +1 -1
- package/dist/models/PaypalGatewayRequest.d.ts +4 -0
- package/dist/models/PaypalGatewayRequest.d.ts.map +1 -0
- package/dist/models/PaypalGatewayRequest.js +2 -0
- package/dist/models/Product.d.ts +8 -0
- package/dist/models/Product.d.ts.map +1 -1
- package/dist/models/ProductPackages.d.ts +1 -0
- package/dist/models/ProductPackages.d.ts.map +1 -1
- package/dist/models/ProductVentrataCheckoutContent.d.ts +10 -0
- package/dist/models/ProductVentrataCheckoutContent.d.ts.map +1 -0
- package/dist/models/ProductVentrataCheckoutContent.js +2 -0
- package/dist/models/RedemptionLookup.d.ts +314 -0
- package/dist/models/RedemptionLookup.d.ts.map +1 -0
- package/dist/models/RedemptionLookup.js +2 -0
- package/dist/models/RedemptionLookupQuery.d.ts +2 -0
- package/dist/models/RedemptionLookupQuery.d.ts.map +1 -0
- package/dist/models/RedemptionLookupQuery.js +2 -0
- package/dist/models/RedemptionLookupQueryParams.d.ts +4 -0
- package/dist/models/RedemptionLookupQueryParams.d.ts.map +1 -0
- package/dist/models/RedemptionLookupQueryParams.js +2 -0
- package/dist/models/RedemptionLookupRequest.d.ts +4 -0
- package/dist/models/RedemptionLookupRequest.d.ts.map +1 -0
- package/dist/models/RedemptionLookupRequest.js +2 -0
- package/dist/models/Terminal.d.ts +11 -0
- package/dist/models/Terminal.d.ts.map +1 -0
- package/dist/models/Terminal.js +2 -0
- package/dist/models/UnitItem.d.ts +2 -2
- package/dist/models/UnitItem.d.ts.map +1 -1
- package/dist/models/UnitRestrictions.d.ts +1 -0
- package/dist/models/UnitRestrictions.d.ts.map +1 -1
- package/dist/models/UpdateGiftBody.d.ts +17 -0
- package/dist/models/UpdateGiftBody.d.ts.map +1 -0
- package/dist/models/UpdateGiftBody.js +2 -0
- package/dist/models/UpdateGiftPathParams.d.ts +4 -0
- package/dist/models/UpdateGiftPathParams.d.ts.map +1 -0
- package/dist/models/UpdateGiftPathParams.js +2 -0
- package/dist/models/UpdateGiftRequest_id.d.ts +2 -0
- package/dist/models/UpdateGiftRequest_id.d.ts.map +1 -0
- package/dist/models/UpdateGiftRequest_id.js +2 -0
- package/dist/models/UpdateIdentityBody.d.ts +4 -0
- package/dist/models/UpdateIdentityBody.d.ts.map +1 -0
- package/dist/models/UpdateIdentityBody.js +2 -0
- package/dist/models/UpdateIdentityPathParams.d.ts +4 -0
- package/dist/models/UpdateIdentityPathParams.d.ts.map +1 -0
- package/dist/models/UpdateIdentityPathParams.js +2 -0
- package/dist/models/UpdateIdentityRequest_id.d.ts +2 -0
- package/dist/models/UpdateIdentityRequest_id.d.ts.map +1 -0
- package/dist/models/UpdateIdentityRequest_id.js +2 -0
- package/dist/models/UpdateOrderBody.d.ts +3 -0
- package/dist/models/UpdateOrderBody.d.ts.map +1 -1
- package/dist/models/WhoAmI.d.ts +17 -0
- package/dist/models/WhoAmI.d.ts.map +1 -0
- package/dist/models/WhoAmI.js +2 -0
- package/dist/models/WhoAmIRequest.d.ts +2 -0
- package/dist/models/WhoAmIRequest.d.ts.map +1 -0
- package/dist/models/WhoAmIRequest.js +2 -0
- package/dist/schemas/Article.d.ts +36 -0
- package/dist/schemas/Article.d.ts.map +1 -0
- package/dist/schemas/Article.js +17 -0
- package/dist/schemas/Availability.d.ts +10 -0
- package/dist/schemas/Availability.d.ts.map +1 -1
- package/dist/schemas/AvailabilityCalendar.d.ts +22 -0
- package/dist/schemas/AvailabilityCalendar.d.ts.map +1 -1
- package/dist/schemas/AvailabilityCalendar.js +4 -0
- package/dist/schemas/AvailabilityCalendarBody.d.ts +3 -3
- package/dist/schemas/AvailabilityCalendarBody.js +1 -1
- package/dist/schemas/AvailabilityCalendarOffers.d.ts +10 -0
- package/dist/schemas/AvailabilityCalendarOffers.d.ts.map +1 -1
- package/dist/schemas/AvailabilityCalendarRequest.d.ts +5 -5
- package/dist/schemas/AvailabilityCheckBody.d.ts +3 -3
- package/dist/schemas/AvailabilityCheckBody.js +1 -1
- package/dist/schemas/AvailabilityCheckRequest.d.ts +5 -5
- package/dist/schemas/AvailabilityOffers.d.ts +10 -0
- package/dist/schemas/AvailabilityOffers.d.ts.map +1 -1
- package/dist/schemas/AvailabilityUpdate.d.ts +678 -34
- package/dist/schemas/AvailabilityUpdate.d.ts.map +1 -1
- package/dist/schemas/Booking.d.ts.map +1 -1
- package/dist/schemas/Booking.js +8 -5
- package/dist/schemas/BookingCancellationBody.d.ts +5 -8
- package/dist/schemas/BookingCancellationBody.d.ts.map +1 -1
- package/dist/schemas/BookingCancellationBody.js +4 -3
- package/dist/schemas/BookingCancellationRequest.d.ts +7 -12
- package/dist/schemas/BookingCancellationRequest.d.ts.map +1 -1
- package/dist/schemas/BookingCardPayments.d.ts +18 -8
- package/dist/schemas/BookingCardPayments.d.ts.map +1 -1
- package/dist/schemas/BookingCardPayments.js +2 -2
- package/dist/schemas/BookingConfirmationBody.d.ts +24 -4
- package/dist/schemas/BookingConfirmationBody.d.ts.map +1 -1
- package/dist/schemas/BookingConfirmationRequest.d.ts +34 -6
- package/dist/schemas/BookingConfirmationRequest.d.ts.map +1 -1
- package/dist/schemas/BookingContact.d.ts +12 -0
- package/dist/schemas/BookingContact.d.ts.map +1 -1
- package/dist/schemas/BookingContact.js +4 -0
- package/dist/schemas/BookingContentBody.d.ts +9 -0
- package/dist/schemas/BookingContentBody.d.ts.map +1 -0
- package/dist/schemas/BookingContentBody.js +8 -0
- package/dist/schemas/BookingIdenititesBody.d.ts +9 -0
- package/dist/schemas/BookingIdenititesBody.d.ts.map +1 -0
- package/dist/schemas/BookingIdenititesBody.js +8 -0
- package/dist/schemas/BookingMemberships.d.ts +6 -0
- package/dist/schemas/BookingMemberships.d.ts.map +1 -1
- package/dist/schemas/BookingMemberships.js +2 -0
- package/dist/schemas/BookingOffers.d.ts +23 -4
- package/dist/schemas/BookingOffers.d.ts.map +1 -1
- package/dist/schemas/BookingPackages.d.ts +3 -53
- package/dist/schemas/BookingPackages.d.ts.map +1 -1
- package/dist/schemas/BookingReservationBody.d.ts +39 -13
- package/dist/schemas/BookingReservationBody.d.ts.map +1 -1
- package/dist/schemas/BookingReservationBody.js +3 -1
- package/dist/schemas/BookingReservationRequest.d.ts +61 -23
- package/dist/schemas/BookingReservationRequest.d.ts.map +1 -1
- package/dist/schemas/BookingUpdate.d.ts +664 -34
- package/dist/schemas/BookingUpdate.d.ts.map +1 -1
- package/dist/schemas/BookingUpdateBody.d.ts +33 -10
- package/dist/schemas/BookingUpdateBody.d.ts.map +1 -1
- package/dist/schemas/BookingUpdateBody.js +1 -0
- package/dist/schemas/BookingUpdateRequest.d.ts +51 -18
- package/dist/schemas/BookingUpdateRequest.d.ts.map +1 -1
- package/dist/schemas/Brand.d.ts +10 -4
- package/dist/schemas/Brand.d.ts.map +1 -1
- package/dist/schemas/Brand.js +3 -1
- package/dist/schemas/BrandVentrataCheckoutContent.d.ts +12 -0
- package/dist/schemas/BrandVentrataCheckoutContent.d.ts.map +1 -0
- package/dist/schemas/BrandVentrataCheckoutContent.js +9 -0
- package/dist/schemas/CancelGiftBody.d.ts +12 -0
- package/dist/schemas/CancelGiftBody.d.ts.map +1 -0
- package/dist/schemas/CancelGiftBody.js +9 -0
- package/dist/schemas/CancelGiftPathParams.d.ts +9 -0
- package/dist/schemas/CancelGiftPathParams.d.ts.map +1 -0
- package/dist/schemas/CancelGiftPathParams.js +8 -0
- package/dist/schemas/CancelOrderBody.d.ts +3 -0
- package/dist/schemas/CancelOrderBody.d.ts.map +1 -1
- package/dist/schemas/CancelOrderBody.js +1 -0
- package/dist/schemas/Cancellation.d.ts +15 -0
- package/dist/schemas/Cancellation.d.ts.map +1 -0
- package/dist/schemas/Cancellation.js +11 -0
- package/dist/schemas/CardPayment.d.ts +43 -657
- package/dist/schemas/CardPayment.d.ts.map +1 -1
- package/dist/schemas/CardPayment.js +10 -32
- package/dist/schemas/CardPaymentGateway.d.ts +675 -0
- package/dist/schemas/CardPaymentGateway.d.ts.map +1 -0
- package/dist/schemas/CardPaymentGateway.js +41 -0
- package/dist/schemas/Category.d.ts +16 -4
- package/dist/schemas/Category.d.ts.map +1 -1
- package/dist/schemas/Category.js +4 -0
- package/dist/schemas/CategoryVentrataCheckoutContent.d.ts +15 -0
- package/dist/schemas/CategoryVentrataCheckoutContent.d.ts.map +1 -0
- package/dist/schemas/CategoryVentrataCheckoutContent.js +10 -0
- package/dist/schemas/Checkout.d.ts +12 -0
- package/dist/schemas/Checkout.d.ts.map +1 -0
- package/dist/schemas/Checkout.js +9 -0
- package/dist/schemas/CheckoutConfig.d.ts +2074 -0
- package/dist/schemas/CheckoutConfig.d.ts.map +1 -0
- package/dist/schemas/CheckoutConfig.js +96 -0
- package/dist/schemas/CheckoutConfigContent.d.ts +1869 -0
- package/dist/schemas/CheckoutConfigContent.d.ts.map +1 -0
- package/dist/schemas/CheckoutConfigContent.js +63 -0
- package/dist/schemas/CheckoutConfigPricingDisplay.d.ts +4 -0
- package/dist/schemas/CheckoutConfigPricingDisplay.d.ts.map +1 -0
- package/dist/schemas/CheckoutConfigPricingDisplay.js +7 -0
- package/dist/schemas/CheckoutDomain.d.ts +12 -0
- package/dist/schemas/CheckoutDomain.d.ts.map +1 -0
- package/dist/schemas/CheckoutDomain.js +9 -0
- package/dist/schemas/CheckoutSitemapEntry.d.ts +30 -0
- package/dist/schemas/CheckoutSitemapEntry.d.ts.map +1 -0
- package/dist/schemas/CheckoutSitemapEntry.js +16 -0
- package/dist/schemas/CheckoutSitemapEntryRel.d.ts +4 -0
- package/dist/schemas/CheckoutSitemapEntryRel.d.ts.map +1 -0
- package/dist/schemas/CheckoutSitemapEntryRel.js +7 -0
- package/dist/schemas/Claim.d.ts +21 -0
- package/dist/schemas/Claim.d.ts.map +1 -0
- package/dist/schemas/Claim.js +12 -0
- package/dist/schemas/ConfirmOrderBody.d.ts +20 -0
- package/dist/schemas/ConfirmOrderBody.d.ts.map +1 -1
- package/dist/schemas/Connection.d.ts +15 -0
- package/dist/schemas/Connection.d.ts.map +1 -0
- package/dist/schemas/Connection.js +10 -0
- package/dist/schemas/CreateGiftBody.d.ts +160 -0
- package/dist/schemas/CreateGiftBody.d.ts.map +1 -0
- package/dist/schemas/CreateGiftBody.js +23 -0
- package/dist/schemas/CreateGiftRequest.d.ts +240 -0
- package/dist/schemas/CreateGiftRequest.d.ts.map +1 -0
- package/dist/schemas/CreateGiftRequest.js +9 -0
- package/dist/schemas/CreateIdentityBody.d.ts +9 -0
- package/dist/schemas/CreateIdentityBody.d.ts.map +1 -0
- package/dist/schemas/CreateIdentityBody.js +8 -0
- package/dist/schemas/CreateIdentityRequest.d.ts +19 -0
- package/dist/schemas/CreateIdentityRequest.d.ts.map +1 -0
- package/dist/schemas/CreateIdentityRequest.js +9 -0
- package/dist/schemas/CreateOrderBody.d.ts +662 -2
- package/dist/schemas/CreateOrderBody.d.ts.map +1 -1
- package/dist/schemas/CreateOrderBody.js +14 -2
- package/dist/schemas/CreateOrderCardPaymentsBody.d.ts +95 -0
- package/dist/schemas/CreateOrderCardPaymentsBody.d.ts.map +1 -0
- package/dist/schemas/CreateOrderCardPaymentsBody.js +11 -0
- package/dist/schemas/CreateOrderGiftsBody.d.ts +240 -0
- package/dist/schemas/CreateOrderGiftsBody.d.ts.map +1 -0
- package/dist/schemas/CreateOrderGiftsBody.js +9 -0
- package/dist/schemas/CreateOrderIdentitiesBody.d.ts +9 -0
- package/dist/schemas/CreateOrderIdentitiesBody.d.ts.map +1 -0
- package/dist/schemas/CreateOrderIdentitiesBody.js +8 -0
- package/dist/schemas/CreateOrderRequest.d.ts +1027 -0
- package/dist/schemas/CreateOrderRequest.d.ts.map +1 -0
- package/dist/schemas/CreateOrderRequest.js +9 -0
- package/dist/schemas/CreateWaitlistRequest.d.ts +20 -0
- package/dist/schemas/CreateWaitlistRequest.d.ts.map +1 -1
- package/dist/schemas/DeleteIdentityPathParams.d.ts +9 -0
- package/dist/schemas/DeleteIdentityPathParams.d.ts.map +1 -0
- package/dist/schemas/DeleteIdentityPathParams.js +8 -0
- package/dist/schemas/DeleteIdentityRequest_id.d.ts +3 -0
- package/dist/schemas/DeleteIdentityRequest_id.d.ts.map +1 -0
- package/dist/schemas/DeleteIdentityRequest_id.js +6 -0
- package/dist/schemas/Destination.d.ts +356 -14
- package/dist/schemas/Destination.d.ts.map +1 -1
- package/dist/schemas/Destination.js +14 -0
- package/dist/schemas/DestinationVentrataCheckoutContent.d.ts +270 -0
- package/dist/schemas/DestinationVentrataCheckoutContent.d.ts.map +1 -0
- package/dist/schemas/DestinationVentrataCheckoutContent.js +20 -0
- package/dist/schemas/DiscountTax.d.ts +18 -0
- package/dist/schemas/DiscountTax.d.ts.map +1 -0
- package/dist/schemas/DiscountTax.js +11 -0
- package/dist/schemas/ExternalGatewayRequest.d.ts +12 -0
- package/dist/schemas/ExternalGatewayRequest.d.ts.map +1 -0
- package/dist/schemas/ExternalGatewayRequest.js +9 -0
- package/dist/schemas/GetBookingsQueryParams.d.ts +27 -0
- package/dist/schemas/GetBookingsQueryParams.d.ts.map +1 -0
- package/dist/schemas/GetBookingsQueryParams.js +14 -0
- package/dist/schemas/GetBookingsQuery_localDate.d.ts +3 -0
- package/dist/schemas/GetBookingsQuery_localDate.d.ts.map +1 -0
- package/dist/schemas/GetBookingsQuery_localDate.js +6 -0
- package/dist/schemas/GetBookingsQuery_localDateEnd.d.ts +3 -0
- package/dist/schemas/GetBookingsQuery_localDateEnd.d.ts.map +1 -0
- package/dist/schemas/GetBookingsQuery_localDateEnd.js +6 -0
- package/dist/schemas/GetBookingsQuery_localDateStart.d.ts +3 -0
- package/dist/schemas/GetBookingsQuery_localDateStart.d.ts.map +1 -0
- package/dist/schemas/GetBookingsQuery_localDateStart.js +6 -0
- package/dist/schemas/GetBookingsQuery_optionId.d.ts +3 -0
- package/dist/schemas/GetBookingsQuery_optionId.d.ts.map +1 -0
- package/dist/schemas/GetBookingsQuery_optionId.js +6 -0
- package/dist/schemas/GetBookingsQuery_productId.d.ts +3 -0
- package/dist/schemas/GetBookingsQuery_productId.d.ts.map +1 -0
- package/dist/schemas/GetBookingsQuery_productId.js +6 -0
- package/dist/schemas/GetBookingsQuery_resellerReference.d.ts +3 -0
- package/dist/schemas/GetBookingsQuery_resellerReference.d.ts.map +1 -0
- package/dist/schemas/GetBookingsQuery_resellerReference.js +6 -0
- package/dist/schemas/GetBookingsQuery_supplierReference.d.ts +3 -0
- package/dist/schemas/GetBookingsQuery_supplierReference.d.ts.map +1 -0
- package/dist/schemas/GetBookingsQuery_supplierReference.js +6 -0
- package/dist/schemas/GetBookingsRequest.d.ts +10 -9
- package/dist/schemas/GetBookingsRequest.d.ts.map +1 -1
- package/dist/schemas/GetBookingsRequest.js +10 -2
- package/dist/schemas/GetMappingsQueryParams.d.ts +18 -0
- package/dist/schemas/GetMappingsQueryParams.d.ts.map +1 -0
- package/dist/schemas/GetMappingsQueryParams.js +12 -0
- package/dist/schemas/GetMappingsQuery_optionId.d.ts +3 -0
- package/dist/schemas/GetMappingsQuery_optionId.d.ts.map +1 -0
- package/dist/schemas/GetMappingsQuery_optionId.js +6 -0
- package/dist/schemas/GetMappingsQuery_productId.d.ts +3 -0
- package/dist/schemas/GetMappingsQuery_productId.d.ts.map +1 -0
- package/dist/schemas/GetMappingsQuery_productId.js +6 -0
- package/dist/schemas/GetMappingsQuery_resellerReference.d.ts +3 -0
- package/dist/schemas/GetMappingsQuery_resellerReference.d.ts.map +1 -0
- package/dist/schemas/GetMappingsQuery_resellerReference.js +6 -0
- package/dist/schemas/GetMappingsQuery_resellerStatus.d.ts +2 -0
- package/dist/schemas/GetMappingsQuery_resellerStatus.d.ts.map +1 -0
- package/dist/schemas/GetMappingsQuery_resellerStatus.js +6 -0
- package/dist/schemas/GetYourGuideConnection.js +2 -2
- package/dist/schemas/Gift.d.ts +4064 -54
- package/dist/schemas/Gift.d.ts.map +1 -1
- package/dist/schemas/Gift.js +16 -4
- package/dist/schemas/GiftCardPayments.d.ts +18 -8
- package/dist/schemas/GiftCardPayments.d.ts.map +1 -1
- package/dist/schemas/GiftCardPayments.js +2 -2
- package/dist/schemas/GiftCart.d.ts +15 -0
- package/dist/schemas/GiftCart.d.ts.map +1 -0
- package/dist/schemas/GiftCart.js +10 -0
- package/dist/schemas/GiftExpiryUnit.d.ts +4 -0
- package/dist/schemas/GiftExpiryUnit.d.ts.map +1 -0
- package/dist/schemas/GiftExpiryUnit.js +7 -0
- package/dist/schemas/GiftOffers.d.ts +3994 -0
- package/dist/schemas/GiftOffers.d.ts.map +1 -0
- package/dist/schemas/GiftOffers.js +15 -0
- package/dist/schemas/GiftsRestrictionItem.d.ts +15 -0
- package/dist/schemas/GiftsRestrictionItem.d.ts.map +1 -0
- package/dist/schemas/GiftsRestrictionItem.js +10 -0
- package/dist/schemas/GiftsRestrictions.d.ts +52 -0
- package/dist/schemas/GiftsRestrictions.d.ts.map +1 -0
- package/dist/schemas/GiftsRestrictions.js +10 -0
- package/dist/schemas/Include.d.ts +2 -31
- package/dist/schemas/Include.d.ts.map +1 -1
- package/dist/schemas/Include.js +2 -3
- package/dist/schemas/Link.d.ts +18 -0
- package/dist/schemas/Link.d.ts.map +1 -0
- package/dist/schemas/Link.js +11 -0
- package/dist/schemas/ListGiftsQueryParams.d.ts +27 -0
- package/dist/schemas/ListGiftsQueryParams.d.ts.map +1 -0
- package/dist/schemas/ListGiftsQueryParams.js +14 -0
- package/dist/schemas/ListOrdersQueryParams.d.ts +30 -0
- package/dist/schemas/ListOrdersQueryParams.d.ts.map +1 -0
- package/dist/schemas/ListOrdersQueryParams.js +15 -0
- package/dist/schemas/Nav.d.ts +24 -0
- package/dist/schemas/Nav.d.ts.map +1 -0
- package/dist/schemas/Nav.js +13 -0
- package/dist/schemas/Offer.d.ts +3 -0
- package/dist/schemas/Offer.d.ts.map +1 -1
- package/dist/schemas/Offer.js +1 -0
- package/dist/schemas/OfferCombination.d.ts +7 -0
- package/dist/schemas/OfferCombination.d.ts.map +1 -1
- package/dist/schemas/OfferComparison.d.ts +9 -2
- package/dist/schemas/OfferComparison.d.ts.map +1 -1
- package/dist/schemas/OfferDiscount.js +2 -2
- package/dist/schemas/Operator.d.ts +12 -0
- package/dist/schemas/Operator.d.ts.map +1 -0
- package/dist/schemas/Operator.js +9 -0
- package/dist/schemas/Option.d.ts +1 -1
- package/dist/schemas/Option.d.ts.map +1 -1
- package/dist/schemas/Option.js +1 -2
- package/dist/schemas/OptionPackages.d.ts +3 -93
- package/dist/schemas/OptionPackages.d.ts.map +1 -1
- package/dist/schemas/OptionRestrictions.d.ts +3 -3
- package/dist/schemas/OptionRestrictions.js +1 -1
- package/dist/schemas/Order.d.ts +5524 -208
- package/dist/schemas/Order.d.ts.map +1 -1
- package/dist/schemas/Order.js +3 -2
- package/dist/schemas/OrderCardPayments.d.ts +18 -8
- package/dist/schemas/OrderCardPayments.d.ts.map +1 -1
- package/dist/schemas/OrderCardPayments.js +2 -2
- package/dist/schemas/OrderContent.d.ts +526 -30
- package/dist/schemas/OrderContent.d.ts.map +1 -1
- package/dist/schemas/OrderGifts.d.ts +4840 -42
- package/dist/schemas/OrderGifts.d.ts.map +1 -1
- package/dist/schemas/OrderOffers.d.ts +9 -0
- package/dist/schemas/OrderOffers.d.ts.map +1 -1
- package/dist/schemas/PackageInclude.d.ts +2 -63
- package/dist/schemas/PackageInclude.d.ts.map +1 -1
- package/dist/schemas/PackageInclude.js +2 -3
- package/dist/schemas/Page.d.ts +36 -0
- package/dist/schemas/Page.d.ts.map +1 -0
- package/dist/schemas/Page.js +17 -0
- package/dist/schemas/Partner.d.ts +3 -3
- package/dist/schemas/Partner.d.ts.map +1 -1
- package/dist/schemas/Partner.js +1 -2
- package/dist/schemas/PartnersListConnection.d.ts +664 -34
- package/dist/schemas/PartnersListConnection.d.ts.map +1 -1
- package/dist/schemas/PaypalGatewayRequest.d.ts +9 -0
- package/dist/schemas/PaypalGatewayRequest.d.ts.map +1 -0
- package/dist/schemas/PaypalGatewayRequest.js +8 -0
- package/dist/schemas/Product.d.ts +1 -1
- package/dist/schemas/Product.d.ts.map +1 -1
- package/dist/schemas/Product.js +8 -1
- package/dist/schemas/ProductContent.d.ts +576 -60
- package/dist/schemas/ProductContent.d.ts.map +1 -1
- package/dist/schemas/ProductPackages.d.ts +3 -0
- package/dist/schemas/ProductPackages.d.ts.map +1 -1
- package/dist/schemas/ProductPackages.js +1 -0
- package/dist/schemas/ProductVentrataCheckoutContent.d.ts +49 -0
- package/dist/schemas/ProductVentrataCheckoutContent.d.ts.map +1 -0
- package/dist/schemas/ProductVentrataCheckoutContent.js +14 -0
- package/dist/schemas/RedemptionLookup.d.ts +16838 -0
- package/dist/schemas/RedemptionLookup.d.ts.map +1 -0
- package/dist/schemas/RedemptionLookup.js +152 -0
- package/dist/schemas/RedemptionLookupQuery.d.ts +3 -0
- package/dist/schemas/RedemptionLookupQuery.d.ts.map +1 -0
- package/dist/schemas/RedemptionLookupQuery.js +6 -0
- package/dist/schemas/RedemptionLookupQueryParams.d.ts +9 -0
- package/dist/schemas/RedemptionLookupQueryParams.d.ts.map +1 -0
- package/dist/schemas/RedemptionLookupQueryParams.js +8 -0
- package/dist/schemas/RedemptionLookupRequest.d.ts +9 -0
- package/dist/schemas/RedemptionLookupRequest.d.ts.map +1 -0
- package/dist/schemas/RedemptionLookupRequest.js +8 -0
- package/dist/schemas/StripeGateway.d.ts +4 -4
- package/dist/schemas/Supplier.d.ts +510 -24
- package/dist/schemas/Supplier.d.ts.map +1 -1
- package/dist/schemas/SupplierContent.d.ts +510 -24
- package/dist/schemas/SupplierContent.d.ts.map +1 -1
- package/dist/schemas/Terminal.d.ts +12 -0
- package/dist/schemas/Terminal.d.ts.map +1 -0
- package/dist/schemas/Terminal.js +9 -0
- package/dist/schemas/Unit.d.ts +5 -0
- package/dist/schemas/Unit.d.ts.map +1 -1
- package/dist/schemas/UnitItem.d.ts +15 -8
- package/dist/schemas/UnitItem.d.ts.map +1 -1
- package/dist/schemas/UnitItem.js +2 -2
- package/dist/schemas/UnitItemIdentifier.d.ts +2 -2
- package/dist/schemas/UnitRestrictions.d.ts +3 -0
- package/dist/schemas/UnitRestrictions.d.ts.map +1 -1
- package/dist/schemas/UnitRestrictions.js +1 -0
- package/dist/schemas/UpdateGiftBody.d.ts +154 -0
- package/dist/schemas/UpdateGiftBody.d.ts.map +1 -0
- package/dist/schemas/UpdateGiftBody.js +21 -0
- package/dist/schemas/UpdateGiftPathParams.d.ts +9 -0
- package/dist/schemas/UpdateGiftPathParams.d.ts.map +1 -0
- package/dist/schemas/UpdateGiftPathParams.js +8 -0
- package/dist/schemas/UpdateGiftRequest_id.d.ts +3 -0
- package/dist/schemas/UpdateGiftRequest_id.d.ts.map +1 -0
- package/dist/schemas/UpdateGiftRequest_id.js +6 -0
- package/dist/schemas/UpdateIdentityBody.d.ts +9 -0
- package/dist/schemas/UpdateIdentityBody.d.ts.map +1 -0
- package/dist/schemas/UpdateIdentityBody.js +8 -0
- package/dist/schemas/UpdateIdentityPathParams.d.ts +9 -0
- package/dist/schemas/UpdateIdentityPathParams.d.ts.map +1 -0
- package/dist/schemas/UpdateIdentityPathParams.js +8 -0
- package/dist/schemas/UpdateIdentityRequest_id.d.ts +3 -0
- package/dist/schemas/UpdateIdentityRequest_id.d.ts.map +1 -0
- package/dist/schemas/UpdateIdentityRequest_id.js +6 -0
- package/dist/schemas/UpdateOrderBody.d.ts +26 -0
- package/dist/schemas/UpdateOrderBody.d.ts.map +1 -1
- package/dist/schemas/UpdateOrderBody.js +3 -0
- package/dist/schemas/WhoAmI.d.ts +1602 -0
- package/dist/schemas/WhoAmI.d.ts.map +1 -0
- package/dist/schemas/WhoAmI.js +21 -0
- package/dist/schemas/WhoAmIRequest.d.ts +3 -0
- package/dist/schemas/WhoAmIRequest.d.ts.map +1 -0
- package/dist/schemas/WhoAmIRequest.js +6 -0
- package/dist/schemas/WhoIAm.d.ts +669 -39
- package/dist/schemas/WhoIAm.d.ts.map +1 -1
- package/dist/utils/generate-schemas.js +103 -33
- package/package.json +1 -1
- package/src/index.ts +140 -21
- package/src/models/Article.ts +16 -0
- package/src/models/AvailabilityCalendar.ts +4 -0
- package/src/models/AvailabilityCalendarBody.ts +1 -1
- package/src/models/AvailabilityCheckBody.ts +1 -1
- package/src/models/Booking.ts +8 -5
- package/src/models/BookingCancellationBody.ts +9 -2
- package/src/models/BookingCardPayments.ts +2 -2
- package/src/models/BookingContact.ts +4 -0
- package/src/models/BookingContentBody.ts +7 -0
- package/src/models/BookingIdenititesBody.ts +7 -0
- package/src/models/BookingMemberships.ts +2 -0
- package/src/models/BookingReservationBody.ts +3 -1
- package/src/models/BookingUpdateBody.ts +1 -0
- package/src/models/Brand.ts +3 -1
- package/src/models/BrandVentrataCheckoutContent.ts +8 -0
- package/src/models/CancelGiftBody.ts +8 -0
- package/src/models/CancelGiftPathParams.ts +7 -0
- package/src/models/CancelOrderBody.ts +1 -0
- package/src/models/{BookingCancellation.ts → Cancellation.ts} +1 -1
- package/src/models/CapabilityId.ts +3 -0
- package/src/models/CardPayment.ts +10 -32
- package/src/models/CardPaymentGateway.ts +40 -0
- package/src/models/Category.ts +7 -0
- package/src/models/CategoryVentrataCheckoutContent.ts +9 -0
- package/src/models/Checkout.ts +14 -0
- package/src/models/CheckoutConfig.ts +158 -0
- package/src/models/CheckoutConfigContent.ts +125 -0
- package/src/models/CheckoutConfigPricingDisplay.ts +8 -0
- package/src/models/CheckoutDomain.ts +8 -0
- package/src/models/CheckoutSitemapEntry.ts +15 -0
- package/src/models/CheckoutSitemapEntryRel.ts +10 -0
- package/src/models/Claim.ts +11 -0
- package/src/models/Connection.ts +18 -0
- package/src/models/CreateGiftBody.ts +22 -0
- package/src/models/CreateGiftRequest.ts +8 -0
- package/src/models/CreateIdentityBody.ts +7 -0
- package/src/models/CreateIdentityRequest.ts +8 -0
- package/src/models/CreateOrderBody.ts +16 -4
- package/src/models/CreateOrderCardPaymentsBody.ts +10 -0
- package/src/models/CreateOrderGiftsBody.ts +8 -0
- package/src/models/CreateOrderIdentitiesBody.ts +7 -0
- package/src/models/CreateOrderRequest.ts +8 -0
- package/src/models/DeleteIdentityPathParams.ts +7 -0
- package/src/models/{WhoIAmRequest.ts → DeleteIdentityRequest_id.ts} +1 -1
- package/src/models/DeliveryFormat.ts +1 -0
- package/src/models/Destination.ts +17 -0
- package/src/models/DestinationVentrataCheckoutContent.ts +19 -0
- package/src/models/{OfferTax.ts → DiscountTax.ts} +1 -1
- package/src/models/ExternalGatewayRequest.ts +8 -0
- package/src/models/{Octo_GetBookingsRequest.ts → GetBookingsQueryParams.ts} +8 -8
- package/src/models/{Octo_GetBookingsRequest_localDateEnd.ts → GetBookingsQuery_localDate.ts} +2 -2
- package/src/models/{Octo_GetBookingsRequest_productId.ts → GetBookingsQuery_localDateEnd.ts} +2 -2
- package/src/models/GetBookingsQuery_localDateStart.ts +8 -0
- package/src/models/{CreateOrderRequest_id.ts → GetBookingsQuery_optionId.ts} +2 -2
- package/src/models/{Octo_GetBookingsRequest_optionId.ts → GetBookingsQuery_productId.ts} +2 -2
- package/src/models/{Octo_GetBookingsRequest_localDate.ts → GetBookingsQuery_resellerReference.ts} +2 -2
- package/src/models/GetBookingsQuery_supplierReference.ts +8 -0
- package/src/models/GetBookingsRequest.ts +30 -2
- package/src/models/GetMappingsQueryParams.ts +23 -0
- package/src/models/{GetMappingsQueryParams_optionId.ts → GetMappingsQuery_optionId.ts} +1 -1
- package/src/models/{GetMappingsQueryParams_productId.ts → GetMappingsQuery_productId.ts} +1 -1
- package/src/models/{GetMappingsQueryParams_resellerReference.ts → GetMappingsQuery_resellerReference.ts} +1 -1
- package/src/models/{GetMappingsQueryParams_resellerStatus.ts → GetMappingsQuery_resellerStatus.ts} +1 -1
- package/src/models/GetYourGuideConnection.ts +2 -2
- package/src/models/Gift.ts +28 -4
- package/src/models/GiftCardPayments.ts +2 -2
- package/src/models/GiftCart.ts +9 -0
- package/src/models/GiftExpiryUnit.ts +9 -0
- package/src/models/GiftOffers.ts +26 -0
- package/src/models/GiftsRestrictionItem.ts +9 -0
- package/src/models/GiftsRestrictions.ts +9 -0
- package/src/models/Link.ts +10 -0
- package/src/models/ListGiftsQueryParams.ts +13 -0
- package/src/models/{ListOrdersRequest.ts → ListOrdersQueryParams.ts} +1 -1
- package/src/models/Nav.ts +12 -0
- package/src/models/Octo_CapabilityId.ts +2 -0
- package/src/models/Offer.ts +1 -0
- package/src/models/OfferDiscount.ts +2 -2
- package/src/models/Operator.ts +14 -0
- package/src/models/Option.ts +1 -1
- package/src/models/OptionRestrictions.ts +1 -1
- package/src/models/Order.ts +3 -2
- package/src/models/OrderCardPayments.ts +2 -2
- package/src/models/Page.ts +16 -0
- package/src/models/Partner.ts +1 -2
- package/src/models/PaypalGatewayRequest.ts +7 -0
- package/src/models/Product.ts +8 -0
- package/src/models/ProductPackages.ts +1 -0
- package/src/models/ProductVentrataCheckoutContent.ts +13 -0
- package/src/models/RedemptionLookup.ts +317 -0
- package/src/models/RedemptionLookupQuery.ts +5 -0
- package/src/models/RedemptionLookupQueryParams.ts +7 -0
- package/src/models/RedemptionLookupRequest.ts +7 -0
- package/src/models/Terminal.ts +14 -0
- package/src/models/UnitItem.ts +2 -2
- package/src/models/UnitRestrictions.ts +1 -0
- package/src/models/UpdateGiftBody.ts +20 -0
- package/src/models/UpdateGiftPathParams.ts +7 -0
- package/src/models/UpdateGiftRequest_id.ts +5 -0
- package/src/models/UpdateIdentityBody.ts +7 -0
- package/src/models/UpdateIdentityPathParams.ts +7 -0
- package/src/models/UpdateIdentityRequest_id.ts +5 -0
- package/src/models/UpdateOrderBody.ts +3 -0
- package/src/models/WhoAmI.ts +20 -0
- package/src/models/WhoAmIRequest.ts +5 -0
- package/src/openapi.yaml +10216 -6352
- package/src/schemas/Article.ts +15 -0
- package/src/schemas/AvailabilityCalendar.ts +4 -0
- package/src/schemas/AvailabilityCalendarBody.ts +1 -1
- package/src/schemas/AvailabilityCheckBody.ts +1 -1
- package/src/schemas/Booking.ts +8 -5
- package/src/schemas/BookingCancellationBody.ts +5 -6
- package/src/schemas/BookingCardPayments.ts +2 -2
- package/src/schemas/BookingContact.ts +4 -0
- package/src/schemas/BookingContentBody.ts +6 -0
- package/src/schemas/BookingIdenititesBody.ts +6 -0
- package/src/schemas/BookingMemberships.ts +2 -0
- package/src/schemas/BookingReservationBody.ts +3 -1
- package/src/schemas/BookingUpdateBody.ts +1 -0
- package/src/schemas/Brand.ts +3 -1
- package/src/schemas/BrandVentrataCheckoutContent.ts +7 -0
- package/src/schemas/CancelGiftBody.ts +7 -0
- package/src/schemas/CancelGiftPathParams.ts +6 -0
- package/src/schemas/CancelOrderBody.ts +1 -0
- package/src/schemas/Cancellation.ts +9 -0
- package/src/schemas/CardPayment.ts +10 -32
- package/src/schemas/CardPaymentGateway.ts +39 -0
- package/src/schemas/Category.ts +4 -0
- package/src/schemas/CategoryVentrataCheckoutContent.ts +8 -0
- package/src/schemas/Checkout.ts +7 -0
- package/src/schemas/CheckoutConfig.ts +94 -0
- package/src/schemas/CheckoutConfigContent.ts +61 -0
- package/src/schemas/CheckoutConfigPricingDisplay.ts +5 -0
- package/src/schemas/CheckoutDomain.ts +7 -0
- package/src/schemas/CheckoutSitemapEntry.ts +14 -0
- package/src/schemas/CheckoutSitemapEntryRel.ts +5 -0
- package/src/schemas/Claim.ts +10 -0
- package/src/schemas/Connection.ts +8 -0
- package/src/schemas/CreateGiftBody.ts +21 -0
- package/src/schemas/CreateGiftRequest.ts +7 -0
- package/src/schemas/CreateIdentityBody.ts +6 -0
- package/src/schemas/CreateIdentityRequest.ts +7 -0
- package/src/schemas/CreateOrderBody.ts +14 -2
- package/src/schemas/CreateOrderCardPaymentsBody.ts +9 -0
- package/src/schemas/CreateOrderGiftsBody.ts +7 -0
- package/src/schemas/CreateOrderIdentitiesBody.ts +6 -0
- package/src/schemas/CreateOrderRequest.ts +7 -0
- package/src/schemas/DeleteIdentityPathParams.ts +6 -0
- package/src/schemas/DeleteIdentityRequest_id.ts +4 -0
- package/src/schemas/Destination.ts +14 -0
- package/src/schemas/DestinationVentrataCheckoutContent.ts +18 -0
- package/src/schemas/DiscountTax.ts +9 -0
- package/src/schemas/ExternalGatewayRequest.ts +7 -0
- package/src/schemas/GetBookingsQueryParams.ts +12 -0
- package/src/schemas/GetBookingsQuery_localDate.ts +4 -0
- package/src/schemas/GetBookingsQuery_localDateEnd.ts +4 -0
- package/src/schemas/GetBookingsQuery_localDateStart.ts +4 -0
- package/src/schemas/GetBookingsQuery_optionId.ts +4 -0
- package/src/schemas/GetBookingsQuery_productId.ts +4 -0
- package/src/schemas/GetBookingsQuery_resellerReference.ts +4 -0
- package/src/schemas/GetBookingsQuery_supplierReference.ts +4 -0
- package/src/schemas/GetBookingsRequest.ts +10 -2
- package/src/schemas/GetMappingsQueryParams.ts +10 -0
- package/src/schemas/GetMappingsQuery_optionId.ts +4 -0
- package/src/schemas/GetMappingsQuery_productId.ts +4 -0
- package/src/schemas/GetMappingsQuery_resellerReference.ts +4 -0
- package/src/schemas/GetMappingsQuery_resellerStatus.ts +4 -0
- package/src/schemas/GetYourGuideConnection.ts +2 -2
- package/src/schemas/Gift.ts +16 -4
- package/src/schemas/GiftCardPayments.ts +2 -2
- package/src/schemas/GiftCart.ts +8 -0
- package/src/schemas/GiftExpiryUnit.ts +5 -0
- package/src/schemas/GiftOffers.ts +13 -0
- package/src/schemas/GiftsRestrictionItem.ts +8 -0
- package/src/schemas/GiftsRestrictions.ts +8 -0
- package/src/schemas/Include.ts +14 -11
- package/src/schemas/Link.ts +9 -0
- package/src/schemas/ListGiftsQueryParams.ts +12 -0
- package/src/schemas/ListOrdersQueryParams.ts +13 -0
- package/src/schemas/Nav.ts +11 -0
- package/src/schemas/Offer.ts +1 -0
- package/src/schemas/OfferDiscount.ts +2 -2
- package/src/schemas/Operator.ts +7 -0
- package/src/schemas/Option.ts +2 -2
- package/src/schemas/OptionRestrictions.ts +1 -1
- package/src/schemas/Order.ts +3 -2
- package/src/schemas/OrderCardPayments.ts +2 -2
- package/src/schemas/PackageInclude.ts +8 -5
- package/src/schemas/Page.ts +15 -0
- package/src/schemas/Partner.ts +1 -2
- package/src/schemas/PaypalGatewayRequest.ts +6 -0
- package/src/schemas/Product.ts +9 -1
- package/src/schemas/ProductPackages.ts +1 -0
- package/src/schemas/ProductVentrataCheckoutContent.ts +12 -0
- package/src/schemas/RedemptionLookup.ts +150 -0
- package/src/schemas/RedemptionLookupQuery.ts +4 -0
- package/src/schemas/RedemptionLookupQueryParams.ts +6 -0
- package/src/schemas/RedemptionLookupRequest.ts +6 -0
- package/src/schemas/Terminal.ts +7 -0
- package/src/schemas/UnitItem.ts +2 -2
- package/src/schemas/UnitRestrictions.ts +1 -0
- package/src/schemas/UpdateGiftBody.ts +19 -0
- package/src/schemas/UpdateGiftPathParams.ts +6 -0
- package/src/schemas/UpdateGiftRequest_id.ts +4 -0
- package/src/schemas/UpdateIdentityBody.ts +6 -0
- package/src/schemas/UpdateIdentityPathParams.ts +6 -0
- package/src/schemas/UpdateIdentityRequest_id.ts +4 -0
- package/src/schemas/UpdateOrderBody.ts +3 -0
- package/src/schemas/WhoAmI.ts +19 -0
- package/src/schemas/WhoAmIRequest.ts +4 -0
- package/src/utils/generate-schemas.ts +126 -36
- package/dist/models/BookingCancellation.d.ts.map +0 -1
- package/dist/models/CreateOrderRequest_id.d.ts +0 -5
- package/dist/models/CreateOrderRequest_id.d.ts.map +0 -1
- package/dist/models/GetMappingsQueryParams_optionId.d.ts +0 -5
- package/dist/models/GetMappingsQueryParams_optionId.d.ts.map +0 -1
- package/dist/models/GetMappingsQueryParams_productId.d.ts +0 -5
- package/dist/models/GetMappingsQueryParams_productId.d.ts.map +0 -1
- package/dist/models/GetMappingsQueryParams_resellerReference.d.ts +0 -5
- package/dist/models/GetMappingsQueryParams_resellerReference.d.ts.map +0 -1
- package/dist/models/GetMappingsQueryParams_resellerStatus.d.ts +0 -6
- package/dist/models/GetMappingsQueryParams_resellerStatus.d.ts.map +0 -1
- package/dist/models/ListOrdersRequest.d.ts.map +0 -1
- package/dist/models/Octo_BookingCancellationBody.d.ts +0 -11
- package/dist/models/Octo_BookingCancellationBody.d.ts.map +0 -1
- package/dist/models/Octo_GetBookingsRequest.d.ts +0 -31
- package/dist/models/Octo_GetBookingsRequest.d.ts.map +0 -1
- package/dist/models/Octo_GetBookingsRequest_localDate.d.ts +0 -5
- package/dist/models/Octo_GetBookingsRequest_localDate.d.ts.map +0 -1
- package/dist/models/Octo_GetBookingsRequest_localDateEnd.d.ts +0 -5
- package/dist/models/Octo_GetBookingsRequest_localDateEnd.d.ts.map +0 -1
- package/dist/models/Octo_GetBookingsRequest_localDateStart.d.ts +0 -5
- package/dist/models/Octo_GetBookingsRequest_localDateStart.d.ts.map +0 -1
- package/dist/models/Octo_GetBookingsRequest_optionId.d.ts +0 -5
- package/dist/models/Octo_GetBookingsRequest_optionId.d.ts.map +0 -1
- package/dist/models/Octo_GetBookingsRequest_productId.d.ts +0 -5
- package/dist/models/Octo_GetBookingsRequest_productId.d.ts.map +0 -1
- package/dist/models/Octo_GetBookingsRequest_resellerReference.d.ts +0 -5
- package/dist/models/Octo_GetBookingsRequest_resellerReference.d.ts.map +0 -1
- package/dist/models/Octo_GetBookingsRequest_supplierReference.d.ts +0 -5
- package/dist/models/Octo_GetBookingsRequest_supplierReference.d.ts.map +0 -1
- package/dist/models/OfferTax.d.ts.map +0 -1
- package/dist/models/WhoIAm.d.ts +0 -15
- package/dist/models/WhoIAm.d.ts.map +0 -1
- package/dist/models/WhoIAmRequest.d.ts +0 -2
- package/dist/models/WhoIAmRequest.d.ts.map +0 -1
- package/src/models/Octo_BookingCancellationBody.ts +0 -14
- package/src/models/Octo_GetBookingsRequest_localDateStart.ts +0 -8
- package/src/models/Octo_GetBookingsRequest_resellerReference.ts +0 -8
- package/src/models/Octo_GetBookingsRequest_supplierReference.ts +0 -8
- package/src/models/WhoIAm.ts +0 -18
- /package/dist/models/{BookingCancellation.js → Article.js} +0 -0
- /package/dist/models/{CreateOrderRequest_id.js → BookingContentBody.js} +0 -0
- /package/dist/models/{GetMappingsQueryParams_optionId.js → BookingIdenititesBody.js} +0 -0
- /package/dist/models/{GetMappingsQueryParams_productId.js → BrandVentrataCheckoutContent.js} +0 -0
- /package/dist/models/{GetMappingsQueryParams_resellerReference.js → CancelGiftBody.js} +0 -0
- /package/dist/models/{GetMappingsQueryParams_resellerStatus.js → CancelGiftPathParams.js} +0 -0
- /package/dist/models/{ListOrdersRequest.js → Cancellation.js} +0 -0
- /package/dist/models/{Octo_BookingCancellationBody.js → CardPaymentGateway.js} +0 -0
- /package/dist/models/{Octo_GetBookingsRequest.js → CategoryVentrataCheckoutContent.js} +0 -0
- /package/dist/models/{Octo_GetBookingsRequest_localDate.js → Checkout.js} +0 -0
- /package/dist/models/{Octo_GetBookingsRequest_localDateEnd.js → CheckoutConfig.js} +0 -0
- /package/dist/models/{Octo_GetBookingsRequest_localDateStart.js → CheckoutConfigContent.js} +0 -0
- /package/dist/models/{Octo_GetBookingsRequest_optionId.js → CheckoutDomain.js} +0 -0
- /package/dist/models/{Octo_GetBookingsRequest_productId.js → CheckoutSitemapEntry.js} +0 -0
- /package/dist/models/{Octo_GetBookingsRequest_resellerReference.js → Claim.js} +0 -0
- /package/dist/models/{Octo_GetBookingsRequest_supplierReference.js → Connection.js} +0 -0
- /package/dist/models/{OfferTax.js → CreateGiftBody.js} +0 -0
- /package/dist/models/{WhoIAm.js → CreateGiftRequest.js} +0 -0
- /package/dist/models/{WhoIAmRequest.js → CreateIdentityBody.js} +0 -0
|
@@ -6,7 +6,7 @@ export type OptionRestrictions = {
|
|
|
6
6
|
/**
|
|
7
7
|
* The minimum number of units (tickets) that can be purchased in a single booking. A null value indicates no minimum.
|
|
8
8
|
*/
|
|
9
|
-
minUnits: number;
|
|
9
|
+
minUnits: number | null;
|
|
10
10
|
/**
|
|
11
11
|
* The maximum number of units (tickets) that can be purchased in a single booking. A null value indicates no maximum.
|
|
12
12
|
*/
|
package/src/models/Order.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
import type { Booking } from './Booking';
|
|
6
6
|
import type { Brand } from './Brand';
|
|
7
|
-
import type {
|
|
7
|
+
import type { CardPaymentGateway } from './CardPaymentGateway';
|
|
8
8
|
import type { ContactField } from './ContactField';
|
|
9
9
|
import type { CustomerContact } from './CustomerContact';
|
|
10
10
|
import type { Destination } from './Destination';
|
|
@@ -38,6 +38,7 @@ export type Order = {
|
|
|
38
38
|
visibleContactFields: Array<ContactField>;
|
|
39
39
|
requiredContactFields: Array<ContactField>;
|
|
40
40
|
voucher: Ticket | null;
|
|
41
|
+
active: boolean;
|
|
41
42
|
termsAccepted?: boolean;
|
|
42
43
|
destination?: Destination;
|
|
43
44
|
brand?: Brand;
|
|
@@ -55,6 +56,6 @@ export type Order = {
|
|
|
55
56
|
checkinAvailable?: boolean;
|
|
56
57
|
checkinUrl?: string | null;
|
|
57
58
|
membership?: Membership | null;
|
|
58
|
-
cardPayment?:
|
|
59
|
+
cardPayment?: CardPaymentGateway | null;
|
|
59
60
|
returnUrl?: string | null;
|
|
60
61
|
};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type {
|
|
5
|
+
import type { CardPaymentGateway } from './CardPaymentGateway';
|
|
6
6
|
export type OrderCardPayments = {
|
|
7
|
-
cardPayment?:
|
|
7
|
+
cardPayment?: CardPaymentGateway | null;
|
|
8
8
|
returnUrl?: string | null;
|
|
9
9
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type Page = {
|
|
6
|
+
id: string;
|
|
7
|
+
body?: string | null;
|
|
8
|
+
fullscreen: boolean;
|
|
9
|
+
href: string | null;
|
|
10
|
+
availableLanguages: Array<string>;
|
|
11
|
+
meta: Record<string, any>;
|
|
12
|
+
shortDescription?: string | null;
|
|
13
|
+
showFooter: boolean;
|
|
14
|
+
showHeader: boolean;
|
|
15
|
+
title: string | null;
|
|
16
|
+
};
|
package/src/models/Partner.ts
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type { PartnerEnum } from './PartnerEnum';
|
|
6
5
|
export type Partner = {
|
|
7
6
|
/**
|
|
8
7
|
* Unique identifier for the partner.
|
|
@@ -11,5 +10,5 @@ export type Partner = {
|
|
|
11
10
|
/**
|
|
12
11
|
* The display name of the partner.
|
|
13
12
|
*/
|
|
14
|
-
name:
|
|
13
|
+
name: string | null;
|
|
15
14
|
};
|
package/src/models/Product.ts
CHANGED
|
@@ -12,6 +12,7 @@ import type { DurationUnit } from './DurationUnit';
|
|
|
12
12
|
import type { FAQ } from './FAQ';
|
|
13
13
|
import type { GoogleOptions } from './GoogleOptions';
|
|
14
14
|
import type { Image } from './Image';
|
|
15
|
+
import type { Link } from './Link';
|
|
15
16
|
import type { Option } from './Option';
|
|
16
17
|
import type { PricingPer } from './PricingPer';
|
|
17
18
|
import type { RedemptionMethod } from './RedemptionMethod';
|
|
@@ -194,7 +195,14 @@ export type Product = {
|
|
|
194
195
|
includeTax?: boolean;
|
|
195
196
|
isPackage?: boolean;
|
|
196
197
|
packageBookingAvailabilityRequired?: boolean;
|
|
198
|
+
packageProduct?: boolean;
|
|
197
199
|
googleOptions?: GoogleOptions;
|
|
198
200
|
isMembership?: boolean;
|
|
199
201
|
isRental?: boolean;
|
|
202
|
+
href?: string | null;
|
|
203
|
+
availableLanguages?: Array<string>;
|
|
204
|
+
meta?: Record<string, string>;
|
|
205
|
+
links?: Array<Link>;
|
|
206
|
+
giftCardAllowed?: boolean;
|
|
207
|
+
relatedProductIds?: Array<string>;
|
|
200
208
|
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Link } from './Link';
|
|
6
|
+
export type ProductVentrataCheckoutContent = {
|
|
7
|
+
href?: string | null;
|
|
8
|
+
availableLanguages?: Array<string>;
|
|
9
|
+
meta?: Record<string, string>;
|
|
10
|
+
links?: Array<Link>;
|
|
11
|
+
giftCardAllowed?: boolean;
|
|
12
|
+
relatedProductIds?: Array<string>;
|
|
13
|
+
};
|
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Agent } from './Agent';
|
|
6
|
+
import type { Availability } from './Availability';
|
|
7
|
+
import type { Booking } from './Booking';
|
|
8
|
+
import type { BookingAdjustment } from './BookingAdjustment';
|
|
9
|
+
import type { BookingRejection } from './BookingRejection';
|
|
10
|
+
import type { BookingStatus } from './BookingStatus';
|
|
11
|
+
import type { Cancellation } from './Cancellation';
|
|
12
|
+
import type { CardPaymentGateway } from './CardPaymentGateway';
|
|
13
|
+
import type { ContactField } from './ContactField';
|
|
14
|
+
import type { CustomerContact } from './CustomerContact';
|
|
15
|
+
import type { DeliveryMethod } from './DeliveryMethod';
|
|
16
|
+
import type { DurationUnit } from './DurationUnit';
|
|
17
|
+
import type { ExtraItem } from './ExtraItem';
|
|
18
|
+
import type { ExtraPricing } from './ExtraPricing';
|
|
19
|
+
import type { GiftPayment } from './GiftPayment';
|
|
20
|
+
import type { Identity } from './Identity';
|
|
21
|
+
import type { Include } from './Include';
|
|
22
|
+
import type { Label } from './Label';
|
|
23
|
+
import type { Membership } from './Membership';
|
|
24
|
+
import type { MembershipBenefit } from './MembershipBenefit';
|
|
25
|
+
import type { Notice } from './Notice';
|
|
26
|
+
import type { Offer } from './Offer';
|
|
27
|
+
import type { OfferComparison } from './OfferComparison';
|
|
28
|
+
import type { Option } from './Option';
|
|
29
|
+
import type { PickupPoint } from './PickupPoint';
|
|
30
|
+
import type { Pricing } from './Pricing';
|
|
31
|
+
import type { Product } from './Product';
|
|
32
|
+
import type { QuestionAnswer } from './QuestionAnswer';
|
|
33
|
+
import type { RentalDuration } from './RentalDuration';
|
|
34
|
+
import type { Reseller } from './Reseller';
|
|
35
|
+
import type { ResourceAllocation } from './ResourceAllocation';
|
|
36
|
+
import type { Seller } from './Seller';
|
|
37
|
+
import type { SettlementMethod } from './SettlementMethod';
|
|
38
|
+
import type { Ticket } from './Ticket';
|
|
39
|
+
import type { UnitItem } from './UnitItem';
|
|
40
|
+
import type { User } from './User';
|
|
41
|
+
export type RedemptionLookup = {
|
|
42
|
+
redemptionCode: string;
|
|
43
|
+
redeemable: boolean;
|
|
44
|
+
unredeemableReason: string;
|
|
45
|
+
unredeemableReasonCode: string;
|
|
46
|
+
/**
|
|
47
|
+
* A unique identifier generated by the supplier system for the booking. This ID ensures traceability and must be unique within the system.
|
|
48
|
+
*/
|
|
49
|
+
id: string;
|
|
50
|
+
/**
|
|
51
|
+
* An optional idempotency key set when creating a booking to prevent duplicate bookings in case of retries. Used for API calls.
|
|
52
|
+
*/
|
|
53
|
+
uuid: string;
|
|
54
|
+
/**
|
|
55
|
+
* Indicates whether the booking was created in test mode. If true, it is a test booking.
|
|
56
|
+
*/
|
|
57
|
+
testMode: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* A reference provided by the reseller to identify the booking.
|
|
60
|
+
*/
|
|
61
|
+
resellerReference: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* A reference provided by the reseller to identify the booking.
|
|
64
|
+
*/
|
|
65
|
+
supplierReference: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* Represents the current state of the booking:
|
|
68
|
+
* ON_HOLD: Awaiting confirmation.
|
|
69
|
+
* EXPIRED: Not confirmed within the hold expiration time.
|
|
70
|
+
* CONFIRMED: Successfully confirmed.
|
|
71
|
+
* CANCELLED: The booking was canceled.
|
|
72
|
+
* PENDING: Awaiting external confirmation.
|
|
73
|
+
* REDEEMED: The booking has been used.
|
|
74
|
+
*/
|
|
75
|
+
status: BookingStatus;
|
|
76
|
+
/**
|
|
77
|
+
* An ISO8601 date time in UTC when the booking was created.
|
|
78
|
+
*/
|
|
79
|
+
utcCreatedAt: string;
|
|
80
|
+
/**
|
|
81
|
+
* An ISO8601 date time in UTC when the booking was last updated, if applicable.
|
|
82
|
+
*/
|
|
83
|
+
utcUpdatedAt: string;
|
|
84
|
+
/**
|
|
85
|
+
* An ISO8601 date times in UTC for when this booking is due to expire if the status is ON_HOLD.
|
|
86
|
+
*/
|
|
87
|
+
utcExpiresAt: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* An ISO8601 date time in UTC at when the booking was redeemed, if applicable.
|
|
90
|
+
*/
|
|
91
|
+
utcRedeemedAt: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* An ISO8601 date time in UTC when the booking was confirmed, if applicable.
|
|
94
|
+
*/
|
|
95
|
+
utcConfirmedAt: string | null;
|
|
96
|
+
/**
|
|
97
|
+
* The ID of product booked.
|
|
98
|
+
*/
|
|
99
|
+
productId: string;
|
|
100
|
+
/**
|
|
101
|
+
* The object of booked product.
|
|
102
|
+
*/
|
|
103
|
+
product?: Product;
|
|
104
|
+
/**
|
|
105
|
+
* The ID of option booked.
|
|
106
|
+
*/
|
|
107
|
+
optionId: string;
|
|
108
|
+
/**
|
|
109
|
+
* The ID of option booked.
|
|
110
|
+
*/
|
|
111
|
+
option: Option;
|
|
112
|
+
/**
|
|
113
|
+
* The object of booked option.
|
|
114
|
+
*/
|
|
115
|
+
cancellable: boolean;
|
|
116
|
+
/**
|
|
117
|
+
* A boolean field indicating whether this booking can be cancelled.
|
|
118
|
+
*/
|
|
119
|
+
cancellation: Cancellation | null;
|
|
120
|
+
/**
|
|
121
|
+
* Indicates if the booking was made without checking availability.
|
|
122
|
+
*/
|
|
123
|
+
freesale: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* The ID of availability booked.
|
|
126
|
+
*/
|
|
127
|
+
availabilityId: string | null;
|
|
128
|
+
/**
|
|
129
|
+
* The availability object that was booked.
|
|
130
|
+
*/
|
|
131
|
+
availability?: Availability | null;
|
|
132
|
+
/**
|
|
133
|
+
* Customer contact details for the booking (see unit object for per ticket / unit details).
|
|
134
|
+
*/
|
|
135
|
+
contact?: CustomerContact;
|
|
136
|
+
/**
|
|
137
|
+
* Customer-facing public notes for the booking.
|
|
138
|
+
*/
|
|
139
|
+
notes: string | null;
|
|
140
|
+
/**
|
|
141
|
+
* Specifies all supported methods of how tickets or vouchers for this booking are delivered.
|
|
142
|
+
* TICKET: Delivered individually per unit in the booking, where each person or unit receives a separate ticket. These will be provided in the ticket object.
|
|
143
|
+
* VOUCHER: Delivered as a single voucher for the entire booking, consolidating all units under one document. These will be provided in the voucher object.
|
|
144
|
+
* This field ensures clarity on the format of ticket or voucher delivery to resellers and customers.
|
|
145
|
+
*/
|
|
146
|
+
deliveryMethods: Array<DeliveryMethod>;
|
|
147
|
+
/**
|
|
148
|
+
* Details for voucher-based delivery, provided when VOUCHER is one of deliveryMethods.
|
|
149
|
+
*/
|
|
150
|
+
voucher: Ticket | null;
|
|
151
|
+
/**
|
|
152
|
+
* An array of unit items included in the booking.
|
|
153
|
+
*/
|
|
154
|
+
unitItems: Array<UnitItem>;
|
|
155
|
+
/**
|
|
156
|
+
* Is on the object when Pricing capability is requested.
|
|
157
|
+
*/
|
|
158
|
+
pricing?: Pricing;
|
|
159
|
+
/**
|
|
160
|
+
* A UUID you can set when generating the booking to use as an idempotency key.
|
|
161
|
+
*/
|
|
162
|
+
rebookingUuid: string | null;
|
|
163
|
+
/**
|
|
164
|
+
* UUID of the original booking if this booking is a rebooking.
|
|
165
|
+
*/
|
|
166
|
+
originalRebookingUuid: string | null;
|
|
167
|
+
/**
|
|
168
|
+
* An alias for the booking.
|
|
169
|
+
*/
|
|
170
|
+
alias: string | null;
|
|
171
|
+
settlementMethod: SettlementMethod;
|
|
172
|
+
/**
|
|
173
|
+
* If `TRUE`, booking was created as a quote.
|
|
174
|
+
*/
|
|
175
|
+
quote: boolean;
|
|
176
|
+
/**
|
|
177
|
+
* Whether the booking can be confirmed.
|
|
178
|
+
*/
|
|
179
|
+
confirmable: boolean;
|
|
180
|
+
agent: Agent | null;
|
|
181
|
+
reseller: Reseller | null;
|
|
182
|
+
/**
|
|
183
|
+
* An array of required contact fields.
|
|
184
|
+
*/
|
|
185
|
+
requiredContactFields: Array<ContactField>;
|
|
186
|
+
/**
|
|
187
|
+
* An array of visible contact fields.
|
|
188
|
+
*/
|
|
189
|
+
visibleContactFields: Array<ContactField>;
|
|
190
|
+
rejection: BookingRejection | null;
|
|
191
|
+
utcNoshowedAt: string | null;
|
|
192
|
+
/**
|
|
193
|
+
* An RFC 3339 date time in UTC when the booking was rebooked.
|
|
194
|
+
*/
|
|
195
|
+
utcRebookedAt: string | null;
|
|
196
|
+
tags?: Array<string>;
|
|
197
|
+
user: User | null;
|
|
198
|
+
seller: Seller | null;
|
|
199
|
+
localDateTimeStart: string;
|
|
200
|
+
localDateTimeEnd: string;
|
|
201
|
+
emailReceipt: boolean;
|
|
202
|
+
label: Label | null;
|
|
203
|
+
metadata: Record<string, any>;
|
|
204
|
+
updatable: boolean;
|
|
205
|
+
availabilityLocalDateStart: string | null;
|
|
206
|
+
availabilityLocalDateEnd: string | null;
|
|
207
|
+
guide: Seller | null;
|
|
208
|
+
driver: Seller | null;
|
|
209
|
+
active: boolean;
|
|
210
|
+
/**
|
|
211
|
+
* Whether the booking requires a pickup. This field is only present when octo/pickups capability is requested.
|
|
212
|
+
*/
|
|
213
|
+
pickupRequested?: boolean;
|
|
214
|
+
/**
|
|
215
|
+
* A hotel name and address that will be included in the booking.
|
|
216
|
+
* This field is only present when octo/pickups capability is requested.
|
|
217
|
+
*/
|
|
218
|
+
pickupHotel?: string | null;
|
|
219
|
+
/**
|
|
220
|
+
* A room number in the pickup hotel.
|
|
221
|
+
* This field is only present when octo/pickups capability is requested.
|
|
222
|
+
*/
|
|
223
|
+
pickupRoom?: string | null;
|
|
224
|
+
/**
|
|
225
|
+
* Optional notes for the pickup. This field is only present when octo/pickups capability is requested.
|
|
226
|
+
*/
|
|
227
|
+
pickupNotes?: string | null;
|
|
228
|
+
/**
|
|
229
|
+
* A pickup point that will be included in the booking. This field is only present when octo/pickups capability is requested.
|
|
230
|
+
*/
|
|
231
|
+
pickupPoint?: PickupPoint | null;
|
|
232
|
+
pickupPointId?: string | null;
|
|
233
|
+
pickupHotelRoom?: string | null;
|
|
234
|
+
pickupDispatch?: string | null;
|
|
235
|
+
dropoffDispatch?: string | null;
|
|
236
|
+
duration?: string;
|
|
237
|
+
durationAmount?: number;
|
|
238
|
+
durationUnit?: DurationUnit;
|
|
239
|
+
meetingLocalDateTime?: string | null;
|
|
240
|
+
meetingPoint?: string | null;
|
|
241
|
+
meetingPointCoordinates?: string | null;
|
|
242
|
+
meetingPointDirections?: string | null;
|
|
243
|
+
notices?: Array<Notice>;
|
|
244
|
+
termsAccepted?: boolean;
|
|
245
|
+
primary?: boolean;
|
|
246
|
+
orderId?: string;
|
|
247
|
+
orderReference?: string;
|
|
248
|
+
/**
|
|
249
|
+
* Optional code used to apply a specific offer.
|
|
250
|
+
*/
|
|
251
|
+
offerCode?: string | null;
|
|
252
|
+
/**
|
|
253
|
+
* Optional display title of the offer.
|
|
254
|
+
*/
|
|
255
|
+
offerTitle?: string | null;
|
|
256
|
+
offerComparisons?: Array<OfferComparison>;
|
|
257
|
+
offerIsCombination?: boolean;
|
|
258
|
+
/**
|
|
259
|
+
* List of available offers for the availability.
|
|
260
|
+
*/
|
|
261
|
+
offers?: Array<Offer>;
|
|
262
|
+
/**
|
|
263
|
+
* Best or selected offer for this availability.
|
|
264
|
+
*/
|
|
265
|
+
offer?: Offer | null;
|
|
266
|
+
/**
|
|
267
|
+
* An array of questions and andswers that will be included in the booking.
|
|
268
|
+
* This field is only present when octo/questions capability is requested.
|
|
269
|
+
*/
|
|
270
|
+
questionAnswers?: Array<QuestionAnswer>;
|
|
271
|
+
/**
|
|
272
|
+
* List of resource allocations associated with the booking.
|
|
273
|
+
*/
|
|
274
|
+
resourceAllocations?: Array<ResourceAllocation>;
|
|
275
|
+
giftPayment?: GiftPayment | null;
|
|
276
|
+
extraItems?: Array<ExtraItem>;
|
|
277
|
+
extraPricing?: Array<ExtraPricing>;
|
|
278
|
+
/**
|
|
279
|
+
* Whether the booking is a package.
|
|
280
|
+
* This field is only present when octo/packages capability is requested.
|
|
281
|
+
*/
|
|
282
|
+
isPackage?: boolean;
|
|
283
|
+
/**
|
|
284
|
+
* The package ID that identifies the package in the booking system to make this reservation.
|
|
285
|
+
* This field is only present when octo/packages capability is requested.
|
|
286
|
+
*/
|
|
287
|
+
packageIncludeId?: string | null;
|
|
288
|
+
/**
|
|
289
|
+
* A package that will be included in the booking.
|
|
290
|
+
* This field is only present when octo/packages capability is requested.
|
|
291
|
+
*/
|
|
292
|
+
packageInclude?: Include | null;
|
|
293
|
+
/**
|
|
294
|
+
* An array of bookings that will be included in the package.
|
|
295
|
+
* This field is only present when octo/packages capability is requested.
|
|
296
|
+
*/
|
|
297
|
+
packageBookings?: Array<Booking>;
|
|
298
|
+
packageUnitItemUuid?: any;
|
|
299
|
+
/**
|
|
300
|
+
* An array of adjustments that will be included in the booking. This field is only present when octo/adjustments capability is requested.
|
|
301
|
+
*/
|
|
302
|
+
adjustments?: Array<BookingAdjustment>;
|
|
303
|
+
identity?: Identity;
|
|
304
|
+
identityId?: string;
|
|
305
|
+
checkedIn?: boolean;
|
|
306
|
+
checkinAvailable?: boolean;
|
|
307
|
+
checkinUrl?: string | null;
|
|
308
|
+
membershipBenefit?: MembershipBenefit | null;
|
|
309
|
+
membership?: Membership | null;
|
|
310
|
+
isMembership?: boolean;
|
|
311
|
+
appendMembershipValidity?: boolean;
|
|
312
|
+
isRental?: boolean;
|
|
313
|
+
rentalDurationId?: string | null;
|
|
314
|
+
rentalDuration?: RentalDuration | null;
|
|
315
|
+
cardPayment?: CardPaymentGateway | null;
|
|
316
|
+
returnUrl?: string | null;
|
|
317
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type Terminal = {
|
|
6
|
+
/**
|
|
7
|
+
* A unique ID / UUID generated to identify the terminal.
|
|
8
|
+
*/
|
|
9
|
+
id: string;
|
|
10
|
+
/**
|
|
11
|
+
* Terminal name.
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
};
|
package/src/models/UnitItem.ts
CHANGED
|
@@ -77,8 +77,8 @@ export type UnitItem = {
|
|
|
77
77
|
*/
|
|
78
78
|
utcRebookedAt: string | null;
|
|
79
79
|
utcNoshowedAt: string | null;
|
|
80
|
-
requiredContactFields
|
|
81
|
-
visibleContactFields
|
|
80
|
+
requiredContactFields: Array<string>;
|
|
81
|
+
visibleContactFields: Array<string>;
|
|
82
82
|
unitType: UnitType;
|
|
83
83
|
localDateTimeStart: string | null;
|
|
84
84
|
localDateTimeEnd: string | null;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { CustomerContact } from './CustomerContact';
|
|
6
|
+
import type { GiftPayment } from './GiftPayment';
|
|
7
|
+
import type { SettlementMethod } from './SettlementMethod';
|
|
8
|
+
export type UpdateGiftBody = {
|
|
9
|
+
alias?: string;
|
|
10
|
+
amount?: number;
|
|
11
|
+
contact?: CustomerContact;
|
|
12
|
+
currency?: string;
|
|
13
|
+
emailReceipt?: boolean;
|
|
14
|
+
expirationMinutes?: number;
|
|
15
|
+
giftPayment?: GiftPayment;
|
|
16
|
+
message?: string;
|
|
17
|
+
notes?: string;
|
|
18
|
+
resellerReference?: string;
|
|
19
|
+
settlementMethod?: SettlementMethod;
|
|
20
|
+
};
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
import type { BookingContact } from './BookingContact';
|
|
6
|
+
import type { SettlementMethod } from './SettlementMethod';
|
|
6
7
|
export type UpdateOrderBody = {
|
|
7
8
|
/**
|
|
8
9
|
* Optional expiration duration for the order, in minutes.
|
|
@@ -16,6 +17,8 @@ export type UpdateOrderBody = {
|
|
|
16
17
|
* Contact information for the order.
|
|
17
18
|
*/
|
|
18
19
|
contact?: BookingContact;
|
|
20
|
+
quote?: boolean;
|
|
21
|
+
settlementMethod?: SettlementMethod;
|
|
19
22
|
/**
|
|
20
23
|
* Optional ISO 4217 currency code for the order.
|
|
21
24
|
*/
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Checkout } from './Checkout';
|
|
6
|
+
import type { Connection } from './Connection';
|
|
7
|
+
import type { Operator } from './Operator';
|
|
8
|
+
import type { Partner } from './Partner';
|
|
9
|
+
import type { Reseller } from './Reseller';
|
|
10
|
+
import type { Supplier } from './Supplier';
|
|
11
|
+
import type { Terminal } from './Terminal';
|
|
12
|
+
export type WhoAmI = {
|
|
13
|
+
supplier: Supplier;
|
|
14
|
+
connection: Connection;
|
|
15
|
+
partner: Partner | null;
|
|
16
|
+
reseller: Reseller | null;
|
|
17
|
+
checkout: Checkout | null;
|
|
18
|
+
operator: Operator | null;
|
|
19
|
+
terminal: Terminal | null;
|
|
20
|
+
};
|