@ventrata/octo-types 0.0.14 → 0.0.16
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/DeliveryOption.d.ts +2 -2
- package/dist/models/DeliveryOption.d.ts.map +1 -1
- 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 +4 -4
- 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/DeliveryOption.d.ts +3 -3
- package/dist/schemas/DeliveryOption.js +2 -2
- 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 +4071 -61
- 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 -2
- 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.js +1 -1
- package/dist/schemas/OptionPackages.d.ts +6 -6
- package/dist/schemas/OptionRestrictions.d.ts +3 -3
- package/dist/schemas/OptionRestrictions.js +1 -1
- package/dist/schemas/Order.d.ts +5540 -224
- 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 +4849 -51
- 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 +4 -4
- 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.map +1 -1
- package/dist/schemas/Product.js +8 -0
- 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 +16888 -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/Ticket.d.ts +5 -5
- package/dist/schemas/Unit.d.ts +5 -0
- package/dist/schemas/Unit.d.ts.map +1 -1
- package/dist/schemas/UnitItem.d.ts +22 -15
- 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/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/DeliveryOption.ts +2 -2
- 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 +10304 -6448
- 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/DeliveryOption.ts +2 -2
- 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/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 +1 -1
- package/src/schemas/OptionRestrictions.ts +1 -1
- package/src/schemas/Order.ts +3 -2
- package/src/schemas/OrderCardPayments.ts +2 -2
- 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 +8 -0
- 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/tsconfig.json +19 -19
- 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_DeliveryFormat.d.ts +0 -7
- package/dist/models/Octo_DeliveryFormat.d.ts.map +0 -1
- package/dist/models/Octo_DeliveryFormat.js +0 -14
- 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/dist/schemas/Octo_DeliveryFormat.d.ts +0 -4
- package/dist/schemas/Octo_DeliveryFormat.d.ts.map +0 -1
- package/dist/schemas/Octo_DeliveryFormat.js +0 -7
- package/src/models/Octo_BookingCancellationBody.ts +0 -14
- package/src/models/Octo_DeliveryFormat.ts +0 -10
- 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/src/schemas/Octo_DeliveryFormat.ts +0 -5
- /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
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Generated by ts-to-zod
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
|
|
4
|
+
export const articleSchema = z.object({
|
|
5
|
+
id: z.string(),
|
|
6
|
+
bannerImageUrl: z.string().nullable(),
|
|
7
|
+
coverImageUrl: z.string().nullable(),
|
|
8
|
+
href: z.string().nullable(),
|
|
9
|
+
keywords: z.array(z.string()),
|
|
10
|
+
meta: z.record(z.string()),
|
|
11
|
+
shortDescription: z.string().nullable(),
|
|
12
|
+
title: z.string().nullable(),
|
|
13
|
+
videoUrl: z.string().nullable(),
|
|
14
|
+
availableLanguages: z.array(z.string()),
|
|
15
|
+
});
|
|
@@ -17,7 +17,11 @@ export const availabilityCalendarSchema = z.object({
|
|
|
17
17
|
limitCapacity: z.number().nullable(),
|
|
18
18
|
totalCapacity: z.number().nullable(),
|
|
19
19
|
limitPaxCount: z.number(),
|
|
20
|
+
noShows: z.number(),
|
|
21
|
+
totalNoShows: z.number(),
|
|
20
22
|
totalPaxCount: z.number(),
|
|
23
|
+
maxUnits: z.number().nullable(),
|
|
24
|
+
maxPaxCount: z.number().nullable(),
|
|
21
25
|
paxCount: z.number(),
|
|
22
26
|
utcCutoffAt: z.string(),
|
|
23
27
|
availabilityLocalStartTimes: z.array(z.string()),
|
|
@@ -8,5 +8,5 @@ export const availabilityCalendarBodySchema = z.object({
|
|
|
8
8
|
localDateStart: z.string().optional(),
|
|
9
9
|
localDateEnd: z.string().optional(),
|
|
10
10
|
units: z.array(availabilityUnitSchema).optional(),
|
|
11
|
-
currency: z.string().optional(),
|
|
11
|
+
currency: z.string().optional().nullable(),
|
|
12
12
|
});
|
|
@@ -9,5 +9,5 @@ export const availabilityCheckBodySchema = z.object({
|
|
|
9
9
|
localDateEnd: z.string().optional(),
|
|
10
10
|
availabilityIds: z.array(z.string()).optional(),
|
|
11
11
|
units: z.array(availabilityUnitSchema).optional(),
|
|
12
|
-
currency: z.string().optional(),
|
|
12
|
+
currency: z.string().optional().nullable(),
|
|
13
13
|
});
|
package/src/schemas/Booking.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { z } from 'zod';
|
|
|
3
3
|
import { bookingStatusSchema } from './BookingStatus';
|
|
4
4
|
import { productSchema } from './Product';
|
|
5
5
|
import { optionSchema } from './Option';
|
|
6
|
-
import {
|
|
6
|
+
import { cancellationSchema } from './Cancellation';
|
|
7
7
|
import { availabilitySchema } from './Availability';
|
|
8
8
|
import { customerContactSchema } from './CustomerContact';
|
|
9
9
|
import { deliveryMethodSchema } from './DeliveryMethod';
|
|
@@ -34,7 +34,7 @@ import { identitySchema } from './Identity';
|
|
|
34
34
|
import { membershipBenefitSchema } from './MembershipBenefit';
|
|
35
35
|
import { membershipSchema } from './Membership';
|
|
36
36
|
import { rentalDurationSchema } from './RentalDuration';
|
|
37
|
-
import {
|
|
37
|
+
import { cardPaymentGatewaySchema } from './CardPaymentGateway';
|
|
38
38
|
|
|
39
39
|
import { type Booking } from '../models/Booking';
|
|
40
40
|
|
|
@@ -56,7 +56,7 @@ export const bookingSchema: z.ZodSchema<Booking> = z.lazy(() =>
|
|
|
56
56
|
optionId: z.string(),
|
|
57
57
|
option: optionSchema,
|
|
58
58
|
cancellable: z.boolean(),
|
|
59
|
-
cancellation:
|
|
59
|
+
cancellation: cancellationSchema.nullable(),
|
|
60
60
|
freesale: z.boolean(),
|
|
61
61
|
availabilityId: z.string().nullable(),
|
|
62
62
|
availability: availabilitySchema.optional().nullable(),
|
|
@@ -86,12 +86,13 @@ export const bookingSchema: z.ZodSchema<Booking> = z.lazy(() =>
|
|
|
86
86
|
localDateTimeEnd: z.string(),
|
|
87
87
|
emailReceipt: z.boolean(),
|
|
88
88
|
label: labelSchema.nullable(),
|
|
89
|
-
metadata: z.record(z.
|
|
89
|
+
metadata: z.record(z.any()),
|
|
90
90
|
updatable: z.boolean(),
|
|
91
91
|
availabilityLocalDateStart: z.string().nullable(),
|
|
92
92
|
availabilityLocalDateEnd: z.string().nullable(),
|
|
93
93
|
guide: sellerSchema.nullable(),
|
|
94
94
|
driver: sellerSchema.nullable(),
|
|
95
|
+
active: z.boolean(),
|
|
95
96
|
pickupRequested: z.boolean().optional(),
|
|
96
97
|
pickupHotel: z.string().optional().nullable(),
|
|
97
98
|
pickupRoom: z.string().optional().nullable(),
|
|
@@ -137,10 +138,12 @@ export const bookingSchema: z.ZodSchema<Booking> = z.lazy(() =>
|
|
|
137
138
|
checkinUrl: z.string().optional().nullable(),
|
|
138
139
|
membershipBenefit: membershipBenefitSchema.optional().nullable(),
|
|
139
140
|
membership: membershipSchema.optional().nullable(),
|
|
141
|
+
isMembership: z.boolean().optional(),
|
|
142
|
+
appendMembershipValidity: z.boolean().optional(),
|
|
140
143
|
isRental: z.boolean().optional(),
|
|
141
144
|
rentalDurationId: z.string().optional().nullable(),
|
|
142
145
|
rentalDuration: rentalDurationSchema.optional().nullable(),
|
|
143
|
-
cardPayment:
|
|
146
|
+
cardPayment: cardPaymentGatewaySchema.optional().nullable(),
|
|
144
147
|
returnUrl: z.string().optional().nullable(),
|
|
145
148
|
}),
|
|
146
149
|
);
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
// Generated by ts-to-zod
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { octo_BookingCancellationBodySchema } from './Octo_BookingCancellationBody';
|
|
4
3
|
|
|
5
|
-
export const bookingCancellationBodySchema =
|
|
6
|
-
z.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
);
|
|
4
|
+
export const bookingCancellationBodySchema = z.object({
|
|
5
|
+
reason: z.string().optional(),
|
|
6
|
+
force: z.boolean().optional(),
|
|
7
|
+
emailReceipt: z.boolean().optional(),
|
|
8
|
+
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Generated by ts-to-zod
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import {
|
|
3
|
+
import { cardPaymentGatewaySchema } from './CardPaymentGateway';
|
|
4
4
|
|
|
5
5
|
export const bookingCardPaymentsSchema = z.object({
|
|
6
|
-
cardPayment:
|
|
6
|
+
cardPayment: cardPaymentGatewaySchema.optional().nullable(),
|
|
7
7
|
returnUrl: z.string().optional().nullable(),
|
|
8
8
|
});
|
|
@@ -16,4 +16,8 @@ export const bookingContactSchema = z.object({
|
|
|
16
16
|
city: z.string().optional().nullable(),
|
|
17
17
|
state: z.string().optional().nullable(),
|
|
18
18
|
allowMarketing: z.boolean().optional(),
|
|
19
|
+
company: z.string().optional().nullable(),
|
|
20
|
+
title: z.string().optional().nullable(),
|
|
21
|
+
age: z.number().optional().nullable(),
|
|
22
|
+
birthdate: z.string().optional().nullable(),
|
|
19
23
|
});
|
|
@@ -6,4 +6,6 @@ import { membershipSchema } from './Membership';
|
|
|
6
6
|
export const bookingMembershipsSchema = z.object({
|
|
7
7
|
membershipBenefit: membershipBenefitSchema.optional().nullable(),
|
|
8
8
|
membership: membershipSchema.optional().nullable(),
|
|
9
|
+
isMembership: z.boolean().optional(),
|
|
10
|
+
appendMembershipValidity: z.boolean().optional(),
|
|
9
11
|
});
|
|
@@ -14,7 +14,7 @@ export const bookingReservationBodySchema = z.object({
|
|
|
14
14
|
emailReceipt: z.boolean().optional(),
|
|
15
15
|
unitItems: z.array(unitItemIdentifierSchema),
|
|
16
16
|
contact: bookingContactSchema.optional(),
|
|
17
|
-
currency: z.string().optional(),
|
|
17
|
+
currency: z.string().optional().nullable(),
|
|
18
18
|
alias: z.string().optional(),
|
|
19
19
|
settlementMethod: settlementMethodSchema.optional(),
|
|
20
20
|
quote: z.boolean().optional(),
|
|
@@ -28,4 +28,6 @@ export const bookingReservationBodySchema = z.object({
|
|
|
28
28
|
pickupPointId: z.string().optional(),
|
|
29
29
|
pickupHotel: z.string().optional(),
|
|
30
30
|
pickupHotelRoom: z.string().optional(),
|
|
31
|
+
termsAccepted: z.boolean().optional(),
|
|
32
|
+
identityId: z.string().optional(),
|
|
31
33
|
});
|
package/src/schemas/Brand.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { fontSchema } from './Font';
|
|
|
6
6
|
export const brandSchema = z.object({
|
|
7
7
|
id: z.string().nullable(),
|
|
8
8
|
name: z.string().nullable(),
|
|
9
|
-
contact: brandContactSchema
|
|
9
|
+
contact: brandContactSchema,
|
|
10
10
|
color: z.string().nullable(),
|
|
11
11
|
secondaryColor: z.string().nullable(),
|
|
12
12
|
backgroundColor: z.string().nullable(),
|
|
@@ -17,4 +17,6 @@ export const brandSchema = z.object({
|
|
|
17
17
|
logoUrl: z.string().nullable(),
|
|
18
18
|
logoWhiteUrl: z.string().nullable(),
|
|
19
19
|
faviconUrl: z.string().nullable(),
|
|
20
|
+
headerBackgroundColor: z.string().optional(),
|
|
21
|
+
footerBackgroundColor: z.string().optional(),
|
|
20
22
|
});
|
|
@@ -1,37 +1,15 @@
|
|
|
1
1
|
// Generated by ts-to-zod
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { vivawalletGatewaySchema } from './VivawalletGateway';
|
|
6
|
-
import { stripeGatewaySchema } from './StripeGateway';
|
|
7
|
-
import { bridgepayGatewaySchema } from './BridgepayGateway';
|
|
8
|
-
import { realaxGatewaySchema } from './RealaxGateway';
|
|
9
|
-
import { paypalGatewaySchema } from './PaypalGateway';
|
|
10
|
-
import { externalGatewaySchema } from './ExternalGateway';
|
|
11
|
-
import { paytrGatewaySchema } from './PaytrGateway';
|
|
12
|
-
import { spreedlyGatewaySchema } from './SpreedlyGateway';
|
|
13
|
-
import { peachGatewaySchema } from './PeachGateway';
|
|
3
|
+
import { externalGatewayRequestSchema } from './ExternalGatewayRequest';
|
|
4
|
+
import { paypalGatewayRequestSchema } from './PaypalGatewayRequest';
|
|
14
5
|
|
|
15
6
|
export const cardPaymentSchema = z.object({
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
currency: z.string(),
|
|
25
|
-
currencyPrecision: z.number(),
|
|
26
|
-
reusableCards: z.array(cardSchema),
|
|
27
|
-
adyen: adyenGatewaySchema.optional(),
|
|
28
|
-
vivawallet: vivawalletGatewaySchema.optional(),
|
|
29
|
-
stripe: stripeGatewaySchema.optional(),
|
|
30
|
-
bridgepay: bridgepayGatewaySchema.optional(),
|
|
31
|
-
realax: realaxGatewaySchema.optional(),
|
|
32
|
-
paypal: paypalGatewaySchema.optional(),
|
|
33
|
-
external: externalGatewaySchema.optional(),
|
|
34
|
-
paytr: paytrGatewaySchema.optional(),
|
|
35
|
-
spreedly: spreedlyGatewaySchema.optional(),
|
|
36
|
-
peach: peachGatewaySchema.optional(),
|
|
7
|
+
amount: z.number().nullable(),
|
|
8
|
+
cancel: z.boolean().optional().nullable(),
|
|
9
|
+
cardId: z.string().nullable(),
|
|
10
|
+
currency: z.string().nullable(),
|
|
11
|
+
external: externalGatewayRequestSchema.nullable(),
|
|
12
|
+
gateway: z.string().nullable(),
|
|
13
|
+
notes: z.string().optional().nullable(),
|
|
14
|
+
paypal: paypalGatewayRequestSchema.nullable(),
|
|
37
15
|
});
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// Generated by ts-to-zod
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { cardSchema } from './Card';
|
|
4
|
+
import { adyenGatewaySchema } from './AdyenGateway';
|
|
5
|
+
import { vivawalletGatewaySchema } from './VivawalletGateway';
|
|
6
|
+
import { stripeGatewaySchema } from './StripeGateway';
|
|
7
|
+
import { bridgepayGatewaySchema } from './BridgepayGateway';
|
|
8
|
+
import { realaxGatewaySchema } from './RealaxGateway';
|
|
9
|
+
import { paypalGatewaySchema } from './PaypalGateway';
|
|
10
|
+
import { externalGatewaySchema } from './ExternalGateway';
|
|
11
|
+
import { paytrGatewaySchema } from './PaytrGateway';
|
|
12
|
+
import { spreedlyGatewaySchema } from './SpreedlyGateway';
|
|
13
|
+
import { peachGatewaySchema } from './PeachGateway';
|
|
14
|
+
|
|
15
|
+
export const cardPaymentGatewaySchema = z.object({
|
|
16
|
+
id: z.string(),
|
|
17
|
+
gateway: z.string(),
|
|
18
|
+
source: z.string(),
|
|
19
|
+
paid: z.number(),
|
|
20
|
+
totalPaid: z.number(),
|
|
21
|
+
paidSurcharge: z.number(),
|
|
22
|
+
balance: z.number(),
|
|
23
|
+
surcharge: z.number(),
|
|
24
|
+
totalRefunded: z.number(),
|
|
25
|
+
outstandingBalance: z.number(),
|
|
26
|
+
currency: z.string(),
|
|
27
|
+
currencyPrecision: z.number(),
|
|
28
|
+
reusableCards: z.array(cardSchema),
|
|
29
|
+
adyen: adyenGatewaySchema.optional(),
|
|
30
|
+
vivawallet: vivawalletGatewaySchema.optional(),
|
|
31
|
+
stripe: stripeGatewaySchema.optional(),
|
|
32
|
+
bridgepay: bridgepayGatewaySchema.optional(),
|
|
33
|
+
realax: realaxGatewaySchema.optional(),
|
|
34
|
+
paypal: paypalGatewaySchema.optional(),
|
|
35
|
+
external: externalGatewaySchema.optional(),
|
|
36
|
+
paytr: paytrGatewaySchema.optional(),
|
|
37
|
+
spreedly: spreedlyGatewaySchema.optional(),
|
|
38
|
+
peach: peachGatewaySchema.optional(),
|
|
39
|
+
});
|
package/src/schemas/Category.ts
CHANGED
|
@@ -10,4 +10,8 @@ export const categorySchema = z.object({
|
|
|
10
10
|
shortDescription: z.string().nullable(),
|
|
11
11
|
coverImageUrl: z.string().nullable(),
|
|
12
12
|
bannerImageUrl: z.string().nullable(),
|
|
13
|
+
productIds: z.array(z.string()).optional(),
|
|
14
|
+
href: z.string().optional().nullable(),
|
|
15
|
+
availableLanguages: z.array(z.string()).optional(),
|
|
16
|
+
meta: z.record(z.any()).optional(),
|
|
13
17
|
});
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// Generated by ts-to-zod
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { giftExpiryUnitSchema } from './GiftExpiryUnit';
|
|
4
|
+
import { giftsRestrictionsSchema } from './GiftsRestrictions';
|
|
5
|
+
import { checkoutConfigPricingDisplaySchema } from './CheckoutConfigPricingDisplay';
|
|
6
|
+
import { resellerSchema } from './Reseller';
|
|
7
|
+
import { agentSchema } from './Agent';
|
|
8
|
+
import { destinationContactSchema } from './DestinationContact';
|
|
9
|
+
import { brandSchema } from './Brand';
|
|
10
|
+
import { categorySchema } from './Category';
|
|
11
|
+
import { noticeSchema } from './Notice';
|
|
12
|
+
import { pageSchema } from './Page';
|
|
13
|
+
import { articleSchema } from './Article';
|
|
14
|
+
import { navSchema } from './Nav';
|
|
15
|
+
import { claimSchema } from './Claim';
|
|
16
|
+
import { destinationSchema } from './Destination';
|
|
17
|
+
import { checkoutDomainSchema } from './CheckoutDomain';
|
|
18
|
+
import { checkoutSitemapEntrySchema } from './CheckoutSitemapEntry';
|
|
19
|
+
|
|
20
|
+
export const checkoutConfigSchema = z.object({
|
|
21
|
+
allowedCheckinMethods: z.array(z.string()),
|
|
22
|
+
conversionHtml: z.string().nullable(),
|
|
23
|
+
defaultMarketingAllowed: z.boolean(),
|
|
24
|
+
fingerprintPublicKey: z.string(),
|
|
25
|
+
giftsAllowed: z.boolean(),
|
|
26
|
+
giftsDuration: z.string(),
|
|
27
|
+
giftsDurationAmount: z.number(),
|
|
28
|
+
giftsDurationUnit: giftExpiryUnitSchema,
|
|
29
|
+
giftsRestrictions: giftsRestrictionsSchema,
|
|
30
|
+
googleAnalyticsMeasurementId: z.string().nullable(),
|
|
31
|
+
googleMapsApiKey: z.string(),
|
|
32
|
+
googleUniversalAnalyticsId: z.string().nullable(),
|
|
33
|
+
includeTax: z.boolean(),
|
|
34
|
+
loqateApiKey: z.string().nullable(),
|
|
35
|
+
memberSignupUrl: z.string().nullable(),
|
|
36
|
+
membersAllowed: z.boolean(),
|
|
37
|
+
noindex: z.boolean(),
|
|
38
|
+
postHogExperiment: z.string().nullable(),
|
|
39
|
+
pricingDisplay: checkoutConfigPricingDisplaySchema,
|
|
40
|
+
quotesAllowed: z.boolean(),
|
|
41
|
+
recaptchaEnterpriseSiteKey: z.string().nullable(),
|
|
42
|
+
segmentKey: z.string().nullable(),
|
|
43
|
+
theme: z.string(),
|
|
44
|
+
waitlistsAllowed: z.boolean(),
|
|
45
|
+
widgetCss: z.string().nullable(),
|
|
46
|
+
marketingConsent: z.boolean().nullable(),
|
|
47
|
+
reseller: resellerSchema.nullable(),
|
|
48
|
+
agent: agentSchema.nullable(),
|
|
49
|
+
id: z.string(),
|
|
50
|
+
default: z.boolean(),
|
|
51
|
+
name: z.string().nullable(),
|
|
52
|
+
title: z.string().nullable(),
|
|
53
|
+
shortDescription: z.string().nullable(),
|
|
54
|
+
featured: z.boolean(),
|
|
55
|
+
country: z.string().nullable(),
|
|
56
|
+
contact: destinationContactSchema,
|
|
57
|
+
brand: brandSchema,
|
|
58
|
+
latitude: z.number().nullable(),
|
|
59
|
+
longitude: z.number().nullable(),
|
|
60
|
+
googlePlaceId: z.string().nullable(),
|
|
61
|
+
bannerImageUrl: z.string().nullable(),
|
|
62
|
+
coverImageUrl: z.string().nullable(),
|
|
63
|
+
videoUrl: z.string().nullable(),
|
|
64
|
+
facebookUrl: z.string().nullable(),
|
|
65
|
+
googleUrl: z.string().nullable(),
|
|
66
|
+
tripadvisorUrl: z.string().nullable(),
|
|
67
|
+
twitterUrl: z.string().nullable(),
|
|
68
|
+
youtubeUrl: z.string().nullable(),
|
|
69
|
+
instagramUrl: z.string().nullable(),
|
|
70
|
+
categories: z.array(categorySchema).optional(),
|
|
71
|
+
tags: z.array(z.string()),
|
|
72
|
+
address: z.string().nullable(),
|
|
73
|
+
notices: z.array(noticeSchema),
|
|
74
|
+
defaultCurrency: z.string().optional(),
|
|
75
|
+
availableCurrencies: z.array(z.string()).optional(),
|
|
76
|
+
href: z.string().optional().nullable(),
|
|
77
|
+
availableLanguages: z.array(z.string()).optional(),
|
|
78
|
+
meta: z.record(z.any()).optional(),
|
|
79
|
+
pages: z.array(pageSchema).optional(),
|
|
80
|
+
articles: z.array(articleSchema).optional(),
|
|
81
|
+
navs: z.array(navSchema).optional(),
|
|
82
|
+
claims: z.array(claimSchema).optional(),
|
|
83
|
+
featuredCategories: z.array(categorySchema).optional(),
|
|
84
|
+
bodyHtml: z.string().optional().nullable(),
|
|
85
|
+
destinations: z.array(destinationSchema).optional(),
|
|
86
|
+
domains: z.array(checkoutDomainSchema).optional(),
|
|
87
|
+
footerHtml: z.string().optional().nullable(),
|
|
88
|
+
headHtml: z.string().optional().nullable(),
|
|
89
|
+
legacyWidgetToken: z.string().optional().nullable(),
|
|
90
|
+
redirects: z.record(z.string()).optional(),
|
|
91
|
+
showFooter: z.boolean().optional(),
|
|
92
|
+
showHeader: z.boolean().optional(),
|
|
93
|
+
sitemap: z.record(checkoutSitemapEntrySchema).optional(),
|
|
94
|
+
});
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// Generated by ts-to-zod
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { destinationContactSchema } from './DestinationContact';
|
|
4
|
+
import { brandSchema } from './Brand';
|
|
5
|
+
import { categorySchema } from './Category';
|
|
6
|
+
import { noticeSchema } from './Notice';
|
|
7
|
+
import { pageSchema } from './Page';
|
|
8
|
+
import { articleSchema } from './Article';
|
|
9
|
+
import { navSchema } from './Nav';
|
|
10
|
+
import { claimSchema } from './Claim';
|
|
11
|
+
import { destinationSchema } from './Destination';
|
|
12
|
+
import { checkoutDomainSchema } from './CheckoutDomain';
|
|
13
|
+
import { checkoutSitemapEntrySchema } from './CheckoutSitemapEntry';
|
|
14
|
+
|
|
15
|
+
export const checkoutConfigContentSchema = z.object({
|
|
16
|
+
id: z.string(),
|
|
17
|
+
default: z.boolean(),
|
|
18
|
+
name: z.string().nullable(),
|
|
19
|
+
title: z.string().nullable(),
|
|
20
|
+
shortDescription: z.string().nullable(),
|
|
21
|
+
featured: z.boolean(),
|
|
22
|
+
country: z.string().nullable(),
|
|
23
|
+
contact: destinationContactSchema,
|
|
24
|
+
brand: brandSchema,
|
|
25
|
+
latitude: z.number().nullable(),
|
|
26
|
+
longitude: z.number().nullable(),
|
|
27
|
+
googlePlaceId: z.string().nullable(),
|
|
28
|
+
bannerImageUrl: z.string().nullable(),
|
|
29
|
+
coverImageUrl: z.string().nullable(),
|
|
30
|
+
videoUrl: z.string().nullable(),
|
|
31
|
+
facebookUrl: z.string().nullable(),
|
|
32
|
+
googleUrl: z.string().nullable(),
|
|
33
|
+
tripadvisorUrl: z.string().nullable(),
|
|
34
|
+
twitterUrl: z.string().nullable(),
|
|
35
|
+
youtubeUrl: z.string().nullable(),
|
|
36
|
+
instagramUrl: z.string().nullable(),
|
|
37
|
+
categories: z.array(categorySchema).optional(),
|
|
38
|
+
tags: z.array(z.string()),
|
|
39
|
+
address: z.string().nullable(),
|
|
40
|
+
notices: z.array(noticeSchema),
|
|
41
|
+
defaultCurrency: z.string().optional(),
|
|
42
|
+
availableCurrencies: z.array(z.string()).optional(),
|
|
43
|
+
href: z.string().optional().nullable(),
|
|
44
|
+
availableLanguages: z.array(z.string()).optional(),
|
|
45
|
+
meta: z.record(z.any()).optional(),
|
|
46
|
+
pages: z.array(pageSchema).optional(),
|
|
47
|
+
articles: z.array(articleSchema).optional(),
|
|
48
|
+
navs: z.array(navSchema).optional(),
|
|
49
|
+
claims: z.array(claimSchema).optional(),
|
|
50
|
+
featuredCategories: z.array(categorySchema).optional(),
|
|
51
|
+
bodyHtml: z.string().optional().nullable(),
|
|
52
|
+
destinations: z.array(destinationSchema).optional(),
|
|
53
|
+
domains: z.array(checkoutDomainSchema).optional(),
|
|
54
|
+
footerHtml: z.string().optional().nullable(),
|
|
55
|
+
headHtml: z.string().optional().nullable(),
|
|
56
|
+
legacyWidgetToken: z.string().optional().nullable(),
|
|
57
|
+
redirects: z.record(z.string()).optional(),
|
|
58
|
+
showFooter: z.boolean().optional(),
|
|
59
|
+
showHeader: z.boolean().optional(),
|
|
60
|
+
sitemap: z.record(checkoutSitemapEntrySchema).optional(),
|
|
61
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Generated by ts-to-zod
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { checkoutSitemapEntryRelSchema } from './CheckoutSitemapEntryRel';
|
|
4
|
+
|
|
5
|
+
export const checkoutSitemapEntrySchema = z.object({
|
|
6
|
+
id: z.string().optional(),
|
|
7
|
+
description: z.string().optional(),
|
|
8
|
+
destinationId: z.string().optional(),
|
|
9
|
+
keywords: z.array(z.string()),
|
|
10
|
+
language: z.string(),
|
|
11
|
+
name: z.string().optional(),
|
|
12
|
+
rel: checkoutSitemapEntryRelSchema,
|
|
13
|
+
title: z.string().optional(),
|
|
14
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Generated by ts-to-zod
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { customerContactSchema } from './CustomerContact';
|
|
4
|
+
import { giftPaymentSchema } from './GiftPayment';
|
|
5
|
+
import { settlementMethodSchema } from './SettlementMethod';
|
|
6
|
+
|
|
7
|
+
export const createGiftBodySchema = z.object({
|
|
8
|
+
alias: z.string().optional(),
|
|
9
|
+
amount: z.number(),
|
|
10
|
+
contact: customerContactSchema.optional(),
|
|
11
|
+
currency: z.string().optional(),
|
|
12
|
+
emailReceipt: z.boolean(),
|
|
13
|
+
expirationMinutes: z.number().optional(),
|
|
14
|
+
giftPayment: giftPaymentSchema.optional(),
|
|
15
|
+
identityId: z.string().optional(),
|
|
16
|
+
message: z.string().optional(),
|
|
17
|
+
notes: z.string().optional(),
|
|
18
|
+
offerCode: z.string().optional(),
|
|
19
|
+
resellerReference: z.string().optional(),
|
|
20
|
+
settlementMethod: settlementMethodSchema.optional(),
|
|
21
|
+
});
|
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
// Generated by ts-to-zod
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
+
import { bookingReservationBodySchema } from './BookingReservationBody';
|
|
3
4
|
import { bookingContactSchema } from './BookingContact';
|
|
5
|
+
import { settlementMethodSchema } from './SettlementMethod';
|
|
6
|
+
import { cardPaymentSchema } from './CardPayment';
|
|
7
|
+
import { createGiftBodySchema } from './CreateGiftBody';
|
|
4
8
|
|
|
5
9
|
export const createOrderBodySchema = z.object({
|
|
6
|
-
|
|
7
|
-
emailReceipt: z.boolean().optional(),
|
|
10
|
+
bookings: z.array(bookingReservationBodySchema).optional(),
|
|
8
11
|
contact: bookingContactSchema.optional(),
|
|
12
|
+
emailReceipt: z.boolean().optional(),
|
|
13
|
+
expirationMinutes: z.number().optional(),
|
|
14
|
+
quote: z.boolean().optional(),
|
|
15
|
+
settlementMethod: settlementMethodSchema.optional(),
|
|
9
16
|
currency: z.string().optional(),
|
|
17
|
+
cardPayment: cardPaymentSchema.optional(),
|
|
18
|
+
returnUrl: z.string().optional().nullable(),
|
|
19
|
+
gatewayId: z.string().optional(),
|
|
20
|
+
gifts: z.array(createGiftBodySchema).optional(),
|
|
21
|
+
identityId: z.string().optional(),
|
|
10
22
|
});
|