@ventrata/octo-types 0.1.3 → 0.1.4
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/esm/index.js +34 -2
- package/dist/esm/models/CapabilityId.js +1 -0
- package/dist/esm/models/Channel.js +1 -0
- package/dist/esm/models/DeliveryFormat.js +1 -0
- package/dist/esm/models/ExpediaPriceType.js +9 -0
- package/dist/esm/models/ExpediaTicketType.js +14 -0
- package/dist/esm/models/ExpediaTicketTypePrice.js +1 -0
- package/dist/esm/models/ExpediaVolumeBasedPricing.js +1 -0
- package/dist/esm/models/GetBookingsQuery_filters.js +1 -0
- package/dist/esm/models/GetYourGuideBookingCategory.js +9 -0
- package/dist/esm/models/GetYourGuidePrice.js +1 -0
- package/dist/esm/models/GetYourGuidePriceType.js +8 -0
- package/dist/esm/models/GetYourGuidePricingCategory.js +1 -0
- package/dist/esm/models/GetYourGuidePricingTier.js +1 -0
- package/dist/esm/models/GetYourGuideTier.js +1 -0
- package/dist/esm/models/GetYourGuideTiersByCategory.js +1 -0
- package/dist/esm/models/Item.js +1 -0
- package/dist/esm/models/ItemRestrictions.js +1 -0
- package/dist/esm/models/ItemVariantGroup.js +1 -0
- package/dist/esm/models/ItemVariantOption.js +1 -0
- package/dist/esm/models/ListItemsQueryParams_itemIds.js +1 -0
- package/dist/esm/models/ListItemsQueryParams_limit.js +1 -0
- package/dist/esm/models/ListItemsQueryParams_locationId.js +1 -0
- package/dist/esm/models/ListItemsQueryParams_page.js +1 -0
- package/dist/esm/models/ListItemsRequest.js +1 -0
- package/dist/esm/models/MembershipRenewalPaymentMethod.js +12 -0
- package/dist/esm/models/OptionExpedia.js +1 -0
- package/dist/esm/models/OptionGetYourGuide.js +1 -0
- package/dist/esm/models/UnitExpedia.js +1 -0
- package/dist/esm/models/UnitGetYourGuide.js +1 -0
- package/dist/esm/models/Via.js +13 -0
- package/dist/esm/schemas/BookingAdjustment.js +0 -2
- package/dist/esm/schemas/Channel.js +7 -0
- package/dist/esm/schemas/ExpediaPriceType.js +4 -0
- package/dist/esm/schemas/ExpediaTicketType.js +4 -0
- package/dist/esm/schemas/ExpediaTicketTypePrice.js +13 -0
- package/dist/esm/schemas/ExpediaVolumeBasedPricing.js +8 -0
- package/dist/esm/schemas/Extra.js +6 -0
- package/dist/esm/schemas/ExtraContent.js +6 -0
- package/dist/esm/schemas/GetBookingsQueryParams.js +1 -0
- package/dist/esm/schemas/GetBookingsQuery_filters.js +3 -0
- package/dist/esm/schemas/GetBookingsRequest.js +1 -0
- package/dist/esm/schemas/GetYourGuideBookingCategory.js +4 -0
- package/dist/esm/schemas/GetYourGuidePrice.js +8 -0
- package/dist/esm/schemas/GetYourGuidePriceType.js +4 -0
- package/dist/esm/schemas/GetYourGuidePricingCategory.js +17 -0
- package/dist/esm/schemas/GetYourGuidePricingTier.js +8 -0
- package/dist/esm/schemas/GetYourGuideTier.js +6 -0
- package/dist/esm/schemas/GetYourGuideTiersByCategory.js +7 -0
- package/dist/esm/schemas/Item.js +36 -0
- package/dist/esm/schemas/ItemRestrictions.js +7 -0
- package/dist/esm/schemas/ItemVariantGroup.js +6 -0
- package/dist/esm/schemas/ItemVariantOption.js +7 -0
- package/dist/esm/schemas/ListItemsQueryParams_itemIds.js +3 -0
- package/dist/esm/schemas/ListItemsQueryParams_limit.js +3 -0
- package/dist/esm/schemas/ListItemsQueryParams_locationId.js +3 -0
- package/dist/esm/schemas/ListItemsQueryParams_page.js +3 -0
- package/dist/esm/schemas/ListItemsRequest.js +8 -0
- package/dist/esm/schemas/MembershipRenewalPaymentMethod.js +4 -0
- package/dist/esm/schemas/Option.js +6 -0
- package/dist/esm/schemas/OptionExpedia.js +7 -0
- package/dist/esm/schemas/OptionGetYourGuide.js +7 -0
- package/dist/esm/schemas/Order.js +6 -0
- package/dist/esm/schemas/Product.js +8 -0
- package/dist/esm/schemas/ProductMemberships.js +8 -0
- package/dist/esm/schemas/Unit.js +4 -0
- package/dist/esm/schemas/UnitExpedia.js +6 -0
- package/dist/esm/schemas/UnitGetYourGuide.js +6 -0
- package/dist/esm/schemas/Via.js +4 -0
- package/dist/esm/schemas-mini/BookingAdjustment.js +0 -2
- package/dist/esm/schemas-mini/Channel.js +7 -0
- package/dist/esm/schemas-mini/ExpediaPriceType.js +4 -0
- package/dist/esm/schemas-mini/ExpediaTicketType.js +4 -0
- package/dist/esm/schemas-mini/ExpediaTicketTypePrice.js +13 -0
- package/dist/esm/schemas-mini/ExpediaVolumeBasedPricing.js +8 -0
- package/dist/esm/schemas-mini/Extra.js +6 -0
- package/dist/esm/schemas-mini/ExtraContent.js +6 -0
- package/dist/esm/schemas-mini/GetBookingsQueryParams.js +1 -0
- package/dist/esm/schemas-mini/GetBookingsQuery_filters.js +3 -0
- package/dist/esm/schemas-mini/GetBookingsRequest.js +1 -0
- package/dist/esm/schemas-mini/GetYourGuideBookingCategory.js +4 -0
- package/dist/esm/schemas-mini/GetYourGuidePrice.js +8 -0
- package/dist/esm/schemas-mini/GetYourGuidePriceType.js +4 -0
- package/dist/esm/schemas-mini/GetYourGuidePricingCategory.js +17 -0
- package/dist/esm/schemas-mini/GetYourGuidePricingTier.js +8 -0
- package/dist/esm/schemas-mini/GetYourGuideTier.js +6 -0
- package/dist/esm/schemas-mini/GetYourGuideTiersByCategory.js +7 -0
- package/dist/esm/schemas-mini/Item.js +36 -0
- package/dist/esm/schemas-mini/ItemRestrictions.js +7 -0
- package/dist/esm/schemas-mini/ItemVariantGroup.js +6 -0
- package/dist/esm/schemas-mini/ItemVariantOption.js +7 -0
- package/dist/esm/schemas-mini/ListItemsQueryParams_itemIds.js +3 -0
- package/dist/esm/schemas-mini/ListItemsQueryParams_limit.js +3 -0
- package/dist/esm/schemas-mini/ListItemsQueryParams_locationId.js +3 -0
- package/dist/esm/schemas-mini/ListItemsQueryParams_page.js +3 -0
- package/dist/esm/schemas-mini/ListItemsRequest.js +8 -0
- package/dist/esm/schemas-mini/MembershipRenewalPaymentMethod.js +4 -0
- package/dist/esm/schemas-mini/Option.js +6 -0
- package/dist/esm/schemas-mini/OptionExpedia.js +7 -0
- package/dist/esm/schemas-mini/OptionGetYourGuide.js +7 -0
- package/dist/esm/schemas-mini/Order.js +6 -0
- package/dist/esm/schemas-mini/Product.js +8 -0
- package/dist/esm/schemas-mini/ProductMemberships.js +8 -0
- package/dist/esm/schemas-mini/Unit.js +4 -0
- package/dist/esm/schemas-mini/UnitExpedia.js +6 -0
- package/dist/esm/schemas-mini/UnitGetYourGuide.js +6 -0
- package/dist/esm/schemas-mini/Via.js +4 -0
- package/dist/esm/schemas-mini/index.js +28 -1
- package/dist/index.d.ts +56 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +77 -13
- package/dist/models/BookingAdjustment.d.ts +0 -2
- package/dist/models/BookingAdjustment.d.ts.map +1 -1
- package/dist/models/CapabilityId.d.ts +1 -0
- package/dist/models/CapabilityId.d.ts.map +1 -1
- package/dist/models/CapabilityId.js +1 -0
- package/dist/models/Channel.d.ts +10 -0
- package/dist/models/Channel.d.ts.map +1 -0
- package/dist/models/Channel.js +2 -0
- package/dist/models/DeliveryFormat.d.ts +1 -0
- package/dist/models/DeliveryFormat.d.ts.map +1 -1
- package/dist/models/DeliveryFormat.js +1 -0
- package/dist/models/ExpediaPriceType.d.ts +5 -0
- package/dist/models/ExpediaPriceType.d.ts.map +1 -0
- package/dist/models/ExpediaPriceType.js +12 -0
- package/dist/models/ExpediaTicketType.d.ts +10 -0
- package/dist/models/ExpediaTicketType.d.ts.map +1 -0
- package/dist/models/ExpediaTicketType.js +17 -0
- package/dist/models/ExpediaTicketTypePrice.d.ts +12 -0
- package/dist/models/ExpediaTicketTypePrice.d.ts.map +1 -0
- package/dist/models/ExpediaTicketTypePrice.js +2 -0
- package/dist/models/ExpediaVolumeBasedPricing.d.ts +7 -0
- package/dist/models/ExpediaVolumeBasedPricing.d.ts.map +1 -0
- package/dist/models/ExpediaVolumeBasedPricing.js +2 -0
- package/dist/models/Extra.d.ts +27 -0
- package/dist/models/Extra.d.ts.map +1 -1
- package/dist/models/ExtraContent.d.ts +27 -0
- package/dist/models/ExtraContent.d.ts.map +1 -1
- package/dist/models/GetBookingsQueryParams.d.ts +22 -0
- package/dist/models/GetBookingsQueryParams.d.ts.map +1 -1
- package/dist/models/GetBookingsQuery_filters.d.ts +23 -0
- package/dist/models/GetBookingsQuery_filters.d.ts.map +1 -0
- package/dist/models/GetBookingsQuery_filters.js +2 -0
- package/dist/models/GetBookingsRequest.d.ts +22 -0
- package/dist/models/GetBookingsRequest.d.ts.map +1 -1
- package/dist/models/GetYourGuideBookingCategory.d.ts +5 -0
- package/dist/models/GetYourGuideBookingCategory.d.ts.map +1 -0
- package/dist/models/GetYourGuideBookingCategory.js +12 -0
- package/dist/models/GetYourGuidePrice.d.ts +7 -0
- package/dist/models/GetYourGuidePrice.d.ts.map +1 -0
- package/dist/models/GetYourGuidePrice.js +2 -0
- package/dist/models/GetYourGuidePriceType.d.ts +4 -0
- package/dist/models/GetYourGuidePriceType.d.ts.map +1 -0
- package/dist/models/GetYourGuidePriceType.js +11 -0
- package/dist/models/GetYourGuidePricingCategory.d.ts +16 -0
- package/dist/models/GetYourGuidePricingCategory.d.ts.map +1 -0
- package/dist/models/GetYourGuidePricingCategory.js +2 -0
- package/dist/models/GetYourGuidePricingTier.d.ts +7 -0
- package/dist/models/GetYourGuidePricingTier.d.ts.map +1 -0
- package/dist/models/GetYourGuidePricingTier.js +2 -0
- package/dist/models/GetYourGuideTier.d.ts +5 -0
- package/dist/models/GetYourGuideTier.d.ts.map +1 -0
- package/dist/models/GetYourGuideTier.js +2 -0
- package/dist/models/GetYourGuideTiersByCategory.d.ts +6 -0
- package/dist/models/GetYourGuideTiersByCategory.d.ts.map +1 -0
- package/dist/models/GetYourGuideTiersByCategory.js +2 -0
- package/dist/models/Item.d.ts +110 -0
- package/dist/models/Item.d.ts.map +1 -0
- package/dist/models/Item.js +2 -0
- package/dist/models/ItemRestrictions.d.ts +15 -0
- package/dist/models/ItemRestrictions.d.ts.map +1 -0
- package/dist/models/ItemRestrictions.js +2 -0
- package/dist/models/ItemVariantGroup.d.ts +11 -0
- package/dist/models/ItemVariantGroup.d.ts.map +1 -0
- package/dist/models/ItemVariantGroup.js +2 -0
- package/dist/models/ItemVariantOption.d.ts +15 -0
- package/dist/models/ItemVariantOption.d.ts.map +1 -0
- package/dist/models/ItemVariantOption.js +2 -0
- package/dist/models/ListItemsQueryParams_itemIds.d.ts +5 -0
- package/dist/models/ListItemsQueryParams_itemIds.d.ts.map +1 -0
- package/dist/models/ListItemsQueryParams_itemIds.js +2 -0
- package/dist/models/ListItemsQueryParams_limit.d.ts +5 -0
- package/dist/models/ListItemsQueryParams_limit.d.ts.map +1 -0
- package/dist/models/ListItemsQueryParams_limit.js +2 -0
- package/dist/models/ListItemsQueryParams_locationId.d.ts +5 -0
- package/dist/models/ListItemsQueryParams_locationId.d.ts.map +1 -0
- package/dist/models/ListItemsQueryParams_locationId.js +2 -0
- package/dist/models/ListItemsQueryParams_page.d.ts +5 -0
- package/dist/models/ListItemsQueryParams_page.d.ts.map +1 -0
- package/dist/models/ListItemsQueryParams_page.js +2 -0
- package/dist/models/ListItemsRequest.d.ts +19 -0
- package/dist/models/ListItemsRequest.d.ts.map +1 -0
- package/dist/models/ListItemsRequest.js +2 -0
- package/dist/models/MembershipRenewalPaymentMethod.d.ts +8 -0
- package/dist/models/MembershipRenewalPaymentMethod.d.ts.map +1 -0
- package/dist/models/MembershipRenewalPaymentMethod.js +15 -0
- package/dist/models/Option.d.ts +6 -0
- package/dist/models/Option.d.ts.map +1 -1
- package/dist/models/OptionExpedia.d.ts +6 -0
- package/dist/models/OptionExpedia.d.ts.map +1 -0
- package/dist/models/OptionExpedia.js +2 -0
- package/dist/models/OptionGetYourGuide.d.ts +6 -0
- package/dist/models/OptionGetYourGuide.d.ts.map +1 -0
- package/dist/models/OptionGetYourGuide.js +2 -0
- package/dist/models/Order.d.ts +17 -0
- package/dist/models/Order.d.ts.map +1 -1
- package/dist/models/Product.d.ts +28 -0
- package/dist/models/Product.d.ts.map +1 -1
- package/dist/models/ProductMemberships.d.ts +28 -0
- package/dist/models/ProductMemberships.d.ts.map +1 -1
- package/dist/models/Unit.d.ts +4 -0
- package/dist/models/Unit.d.ts.map +1 -1
- package/dist/models/UnitExpedia.d.ts +5 -0
- package/dist/models/UnitExpedia.d.ts.map +1 -0
- package/dist/models/UnitExpedia.js +2 -0
- package/dist/models/UnitGetYourGuide.d.ts +5 -0
- package/dist/models/UnitGetYourGuide.d.ts.map +1 -0
- package/dist/models/UnitGetYourGuide.js +2 -0
- package/dist/models/Via.d.ts +9 -0
- package/dist/models/Via.d.ts.map +1 -0
- package/dist/models/Via.js +16 -0
- package/dist/schemas/BookingAdjustment.d.ts.map +1 -1
- package/dist/schemas/BookingAdjustment.js +0 -2
- package/dist/schemas/BookingExtras.d.ts +5 -0
- package/dist/schemas/BookingExtras.d.ts.map +1 -1
- package/dist/schemas/BookingOffers.d.ts +36 -0
- package/dist/schemas/BookingOffers.d.ts.map +1 -1
- package/dist/schemas/Channel.d.ts +7 -0
- package/dist/schemas/Channel.d.ts.map +1 -0
- package/dist/schemas/{AdjustmentDiscount.js → Channel.js} +6 -3
- package/dist/schemas/ExpediaPriceType.d.ts +4 -0
- package/dist/schemas/ExpediaPriceType.d.ts.map +1 -0
- package/dist/schemas/ExpediaPriceType.js +40 -0
- package/dist/schemas/ExpediaTicketType.d.ts +4 -0
- package/dist/schemas/ExpediaTicketType.d.ts.map +1 -0
- package/dist/schemas/ExpediaTicketType.js +40 -0
- package/dist/schemas/ExpediaTicketTypePrice.d.ts +12 -0
- package/dist/schemas/ExpediaTicketTypePrice.d.ts.map +1 -0
- package/dist/schemas/ExpediaTicketTypePrice.js +49 -0
- package/dist/schemas/ExpediaVolumeBasedPricing.d.ts +15 -0
- package/dist/schemas/ExpediaVolumeBasedPricing.d.ts.map +1 -0
- package/dist/schemas/ExpediaVolumeBasedPricing.js +44 -0
- package/dist/schemas/Extra.d.ts +5 -0
- package/dist/schemas/Extra.d.ts.map +1 -1
- package/dist/schemas/Extra.js +6 -0
- package/dist/schemas/ExtraContent.d.ts +5 -0
- package/dist/schemas/ExtraContent.d.ts.map +1 -1
- package/dist/schemas/ExtraContent.js +6 -0
- package/dist/schemas/ExtraItem.d.ts +5 -0
- package/dist/schemas/ExtraItem.d.ts.map +1 -1
- package/dist/schemas/GetBookingsQueryParams.d.ts +1 -0
- package/dist/schemas/GetBookingsQueryParams.d.ts.map +1 -1
- package/dist/schemas/GetBookingsQueryParams.js +1 -0
- package/dist/schemas/GetBookingsQuery_filters.d.ts +3 -0
- package/dist/schemas/GetBookingsQuery_filters.d.ts.map +1 -0
- package/dist/schemas/GetBookingsQuery_filters.js +39 -0
- package/dist/schemas/GetBookingsRequest.d.ts +1 -0
- package/dist/schemas/GetBookingsRequest.d.ts.map +1 -1
- package/dist/schemas/GetBookingsRequest.js +1 -0
- package/dist/schemas/GetYourGuideBookingCategory.d.ts +4 -0
- package/dist/schemas/GetYourGuideBookingCategory.d.ts.map +1 -0
- package/dist/schemas/GetYourGuideBookingCategory.js +40 -0
- package/dist/schemas/GetYourGuidePrice.d.ts +7 -0
- package/dist/schemas/GetYourGuidePrice.d.ts.map +1 -0
- package/dist/schemas/GetYourGuidePrice.js +44 -0
- package/dist/schemas/GetYourGuidePriceType.d.ts +4 -0
- package/dist/schemas/GetYourGuidePriceType.d.ts.map +1 -0
- package/dist/schemas/GetYourGuidePriceType.js +40 -0
- package/dist/schemas/GetYourGuidePricingCategory.d.ts +23 -0
- package/dist/schemas/GetYourGuidePricingCategory.d.ts.map +1 -0
- package/dist/schemas/GetYourGuidePricingCategory.js +53 -0
- package/dist/schemas/GetYourGuidePricingTier.d.ts +8 -0
- package/dist/schemas/GetYourGuidePricingTier.d.ts.map +1 -0
- package/dist/schemas/GetYourGuidePricingTier.js +44 -0
- package/dist/schemas/GetYourGuideTier.d.ts +6 -0
- package/dist/schemas/GetYourGuideTier.d.ts.map +1 -0
- package/dist/schemas/GetYourGuideTier.js +42 -0
- package/dist/schemas/GetYourGuideTiersByCategory.d.ts +9 -0
- package/dist/schemas/GetYourGuideTiersByCategory.d.ts.map +1 -0
- package/dist/schemas/GetYourGuideTiersByCategory.js +43 -0
- package/dist/schemas/Gift.d.ts +36 -0
- package/dist/schemas/Gift.d.ts.map +1 -1
- package/dist/schemas/GiftOffers.d.ts +36 -0
- package/dist/schemas/GiftOffers.d.ts.map +1 -1
- package/dist/schemas/Item.d.ts +248 -0
- package/dist/schemas/Item.d.ts.map +1 -0
- package/dist/schemas/Item.js +72 -0
- package/dist/schemas/ItemRestrictions.d.ts +7 -0
- package/dist/schemas/ItemRestrictions.d.ts.map +1 -0
- package/dist/schemas/ItemRestrictions.js +43 -0
- package/dist/schemas/ItemVariantGroup.d.ts +6 -0
- package/dist/schemas/ItemVariantGroup.d.ts.map +1 -0
- package/dist/schemas/ItemVariantGroup.js +42 -0
- package/dist/schemas/ItemVariantOption.d.ts +7 -0
- package/dist/schemas/ItemVariantOption.d.ts.map +1 -0
- package/dist/schemas/ItemVariantOption.js +43 -0
- package/dist/schemas/ListItemsQueryParams_itemIds.d.ts +3 -0
- package/dist/schemas/ListItemsQueryParams_itemIds.d.ts.map +1 -0
- package/dist/schemas/ListItemsQueryParams_itemIds.js +39 -0
- package/dist/schemas/ListItemsQueryParams_limit.d.ts +3 -0
- package/dist/schemas/ListItemsQueryParams_limit.d.ts.map +1 -0
- package/dist/schemas/ListItemsQueryParams_limit.js +39 -0
- package/dist/schemas/ListItemsQueryParams_locationId.d.ts +3 -0
- package/dist/schemas/ListItemsQueryParams_locationId.d.ts.map +1 -0
- package/dist/schemas/ListItemsQueryParams_locationId.js +39 -0
- package/dist/schemas/ListItemsQueryParams_page.d.ts +3 -0
- package/dist/schemas/ListItemsQueryParams_page.d.ts.map +1 -0
- package/dist/schemas/ListItemsQueryParams_page.js +39 -0
- package/dist/schemas/ListItemsRequest.d.ts +8 -0
- package/dist/schemas/ListItemsRequest.d.ts.map +1 -0
- package/dist/schemas/ListItemsRequest.js +44 -0
- package/dist/schemas/MembershipRenewalPaymentMethod.d.ts +4 -0
- package/dist/schemas/MembershipRenewalPaymentMethod.d.ts.map +1 -0
- package/dist/schemas/MembershipRenewalPaymentMethod.js +40 -0
- package/dist/schemas/OfferCombination.d.ts +36 -0
- package/dist/schemas/OfferCombination.d.ts.map +1 -1
- package/dist/schemas/OfferComparison.d.ts +36 -0
- package/dist/schemas/OfferComparison.d.ts.map +1 -1
- package/dist/schemas/Option.d.ts.map +1 -1
- package/dist/schemas/Option.js +6 -0
- package/dist/schemas/OptionExpedia.d.ts +18 -0
- package/dist/schemas/OptionExpedia.d.ts.map +1 -0
- package/dist/schemas/OptionExpedia.js +43 -0
- package/dist/schemas/OptionExtras.d.ts +5 -0
- package/dist/schemas/OptionExtras.d.ts.map +1 -1
- package/dist/schemas/OptionGetYourGuide.d.ts +12 -0
- package/dist/schemas/OptionGetYourGuide.d.ts.map +1 -0
- package/dist/schemas/OptionGetYourGuide.js +43 -0
- package/dist/schemas/Order.d.ts +86 -0
- package/dist/schemas/Order.d.ts.map +1 -1
- package/dist/schemas/Order.js +6 -0
- package/dist/schemas/OrderGifts.d.ts +36 -0
- package/dist/schemas/OrderGifts.d.ts.map +1 -1
- package/dist/schemas/OrderOffers.d.ts +36 -0
- package/dist/schemas/OrderOffers.d.ts.map +1 -1
- package/dist/schemas/Product.d.ts.map +1 -1
- package/dist/schemas/Product.js +8 -0
- package/dist/schemas/ProductMemberships.d.ts +6 -0
- package/dist/schemas/ProductMemberships.d.ts.map +1 -1
- package/dist/schemas/ProductMemberships.js +8 -0
- package/dist/schemas/RedemptionLookup.d.ts +82 -0
- package/dist/schemas/RedemptionLookup.d.ts.map +1 -1
- package/dist/schemas/Unit.d.ts +36 -0
- package/dist/schemas/Unit.d.ts.map +1 -1
- package/dist/schemas/Unit.js +4 -0
- package/dist/schemas/UnitExpedia.d.ts +14 -0
- package/dist/schemas/UnitExpedia.d.ts.map +1 -0
- package/dist/schemas/UnitExpedia.js +42 -0
- package/dist/schemas/UnitExtras.d.ts +5 -0
- package/dist/schemas/UnitExtras.d.ts.map +1 -1
- package/dist/schemas/UnitGetYourGuide.d.ts +25 -0
- package/dist/schemas/UnitGetYourGuide.d.ts.map +1 -0
- package/dist/schemas/UnitGetYourGuide.js +42 -0
- package/dist/schemas/UnitItem.d.ts +41 -0
- package/dist/schemas/UnitItem.d.ts.map +1 -1
- package/dist/schemas/UnitItemExtras.d.ts +5 -0
- package/dist/schemas/UnitItemExtras.d.ts.map +1 -1
- package/dist/schemas/Via.d.ts +4 -0
- package/dist/schemas/Via.d.ts.map +1 -0
- package/dist/schemas/Via.js +40 -0
- package/dist/schemas-mini/BookingAdjustment.d.ts.map +1 -1
- package/dist/schemas-mini/BookingAdjustment.js +0 -2
- package/dist/schemas-mini/BookingExtras.d.ts +5 -0
- package/dist/schemas-mini/BookingExtras.d.ts.map +1 -1
- package/dist/schemas-mini/BookingOffers.d.ts +36 -0
- package/dist/schemas-mini/BookingOffers.d.ts.map +1 -1
- package/dist/schemas-mini/Channel.d.ts +7 -0
- package/dist/schemas-mini/Channel.d.ts.map +1 -0
- package/dist/schemas-mini/{AdjustmentDiscount.js → Channel.js} +6 -3
- package/dist/schemas-mini/ExpediaPriceType.d.ts +4 -0
- package/dist/schemas-mini/ExpediaPriceType.d.ts.map +1 -0
- package/dist/schemas-mini/ExpediaPriceType.js +40 -0
- package/dist/schemas-mini/ExpediaTicketType.d.ts +4 -0
- package/dist/schemas-mini/ExpediaTicketType.d.ts.map +1 -0
- package/dist/schemas-mini/ExpediaTicketType.js +40 -0
- package/dist/schemas-mini/ExpediaTicketTypePrice.d.ts +12 -0
- package/dist/schemas-mini/ExpediaTicketTypePrice.d.ts.map +1 -0
- package/dist/schemas-mini/ExpediaTicketTypePrice.js +49 -0
- package/dist/schemas-mini/ExpediaVolumeBasedPricing.d.ts +15 -0
- package/dist/schemas-mini/ExpediaVolumeBasedPricing.d.ts.map +1 -0
- package/dist/schemas-mini/ExpediaVolumeBasedPricing.js +44 -0
- package/dist/schemas-mini/Extra.d.ts +5 -0
- package/dist/schemas-mini/Extra.d.ts.map +1 -1
- package/dist/schemas-mini/Extra.js +6 -0
- package/dist/schemas-mini/ExtraContent.d.ts +5 -0
- package/dist/schemas-mini/ExtraContent.d.ts.map +1 -1
- package/dist/schemas-mini/ExtraContent.js +6 -0
- package/dist/schemas-mini/ExtraItem.d.ts +5 -0
- package/dist/schemas-mini/ExtraItem.d.ts.map +1 -1
- package/dist/schemas-mini/GetBookingsQueryParams.d.ts +1 -0
- package/dist/schemas-mini/GetBookingsQueryParams.d.ts.map +1 -1
- package/dist/schemas-mini/GetBookingsQueryParams.js +1 -0
- package/dist/schemas-mini/GetBookingsQuery_filters.d.ts +3 -0
- package/dist/schemas-mini/GetBookingsQuery_filters.d.ts.map +1 -0
- package/dist/schemas-mini/GetBookingsQuery_filters.js +39 -0
- package/dist/schemas-mini/GetBookingsRequest.d.ts +1 -0
- package/dist/schemas-mini/GetBookingsRequest.d.ts.map +1 -1
- package/dist/schemas-mini/GetBookingsRequest.js +1 -0
- package/dist/schemas-mini/GetYourGuideBookingCategory.d.ts +4 -0
- package/dist/schemas-mini/GetYourGuideBookingCategory.d.ts.map +1 -0
- package/dist/schemas-mini/GetYourGuideBookingCategory.js +40 -0
- package/dist/schemas-mini/GetYourGuidePrice.d.ts +7 -0
- package/dist/schemas-mini/GetYourGuidePrice.d.ts.map +1 -0
- package/dist/schemas-mini/GetYourGuidePrice.js +44 -0
- package/dist/schemas-mini/GetYourGuidePriceType.d.ts +4 -0
- package/dist/schemas-mini/GetYourGuidePriceType.d.ts.map +1 -0
- package/dist/schemas-mini/GetYourGuidePriceType.js +40 -0
- package/dist/schemas-mini/GetYourGuidePricingCategory.d.ts +23 -0
- package/dist/schemas-mini/GetYourGuidePricingCategory.d.ts.map +1 -0
- package/dist/schemas-mini/GetYourGuidePricingCategory.js +53 -0
- package/dist/schemas-mini/GetYourGuidePricingTier.d.ts +8 -0
- package/dist/schemas-mini/GetYourGuidePricingTier.d.ts.map +1 -0
- package/dist/schemas-mini/GetYourGuidePricingTier.js +44 -0
- package/dist/schemas-mini/GetYourGuideTier.d.ts +6 -0
- package/dist/schemas-mini/GetYourGuideTier.d.ts.map +1 -0
- package/dist/schemas-mini/GetYourGuideTier.js +42 -0
- package/dist/schemas-mini/GetYourGuideTiersByCategory.d.ts +9 -0
- package/dist/schemas-mini/GetYourGuideTiersByCategory.d.ts.map +1 -0
- package/dist/schemas-mini/GetYourGuideTiersByCategory.js +43 -0
- package/dist/schemas-mini/Gift.d.ts +36 -0
- package/dist/schemas-mini/Gift.d.ts.map +1 -1
- package/dist/schemas-mini/GiftOffers.d.ts +36 -0
- package/dist/schemas-mini/GiftOffers.d.ts.map +1 -1
- package/dist/schemas-mini/Item.d.ts +248 -0
- package/dist/schemas-mini/Item.d.ts.map +1 -0
- package/dist/schemas-mini/Item.js +72 -0
- package/dist/schemas-mini/ItemRestrictions.d.ts +7 -0
- package/dist/schemas-mini/ItemRestrictions.d.ts.map +1 -0
- package/dist/schemas-mini/ItemRestrictions.js +43 -0
- package/dist/schemas-mini/ItemVariantGroup.d.ts +6 -0
- package/dist/schemas-mini/ItemVariantGroup.d.ts.map +1 -0
- package/dist/schemas-mini/ItemVariantGroup.js +42 -0
- package/dist/schemas-mini/ItemVariantOption.d.ts +7 -0
- package/dist/schemas-mini/ItemVariantOption.d.ts.map +1 -0
- package/dist/schemas-mini/ItemVariantOption.js +43 -0
- package/dist/schemas-mini/ListItemsQueryParams_itemIds.d.ts +3 -0
- package/dist/schemas-mini/ListItemsQueryParams_itemIds.d.ts.map +1 -0
- package/dist/schemas-mini/ListItemsQueryParams_itemIds.js +39 -0
- package/dist/schemas-mini/ListItemsQueryParams_limit.d.ts +3 -0
- package/dist/schemas-mini/ListItemsQueryParams_limit.d.ts.map +1 -0
- package/dist/schemas-mini/ListItemsQueryParams_limit.js +39 -0
- package/dist/schemas-mini/ListItemsQueryParams_locationId.d.ts +3 -0
- package/dist/schemas-mini/ListItemsQueryParams_locationId.d.ts.map +1 -0
- package/dist/schemas-mini/ListItemsQueryParams_locationId.js +39 -0
- package/dist/schemas-mini/ListItemsQueryParams_page.d.ts +3 -0
- package/dist/schemas-mini/ListItemsQueryParams_page.d.ts.map +1 -0
- package/dist/schemas-mini/ListItemsQueryParams_page.js +39 -0
- package/dist/schemas-mini/ListItemsRequest.d.ts +8 -0
- package/dist/schemas-mini/ListItemsRequest.d.ts.map +1 -0
- package/dist/schemas-mini/ListItemsRequest.js +44 -0
- package/dist/schemas-mini/MembershipRenewalPaymentMethod.d.ts +4 -0
- package/dist/schemas-mini/MembershipRenewalPaymentMethod.d.ts.map +1 -0
- package/dist/schemas-mini/MembershipRenewalPaymentMethod.js +40 -0
- package/dist/schemas-mini/OfferCombination.d.ts +36 -0
- package/dist/schemas-mini/OfferCombination.d.ts.map +1 -1
- package/dist/schemas-mini/OfferComparison.d.ts +36 -0
- package/dist/schemas-mini/OfferComparison.d.ts.map +1 -1
- package/dist/schemas-mini/Option.d.ts.map +1 -1
- package/dist/schemas-mini/Option.js +6 -0
- package/dist/schemas-mini/OptionExpedia.d.ts +18 -0
- package/dist/schemas-mini/OptionExpedia.d.ts.map +1 -0
- package/dist/schemas-mini/OptionExpedia.js +43 -0
- package/dist/schemas-mini/OptionExtras.d.ts +5 -0
- package/dist/schemas-mini/OptionExtras.d.ts.map +1 -1
- package/dist/schemas-mini/OptionGetYourGuide.d.ts +12 -0
- package/dist/schemas-mini/OptionGetYourGuide.d.ts.map +1 -0
- package/dist/schemas-mini/OptionGetYourGuide.js +43 -0
- package/dist/schemas-mini/Order.d.ts +86 -0
- package/dist/schemas-mini/Order.d.ts.map +1 -1
- package/dist/schemas-mini/Order.js +6 -0
- package/dist/schemas-mini/OrderGifts.d.ts +36 -0
- package/dist/schemas-mini/OrderGifts.d.ts.map +1 -1
- package/dist/schemas-mini/OrderOffers.d.ts +36 -0
- package/dist/schemas-mini/OrderOffers.d.ts.map +1 -1
- package/dist/schemas-mini/Product.d.ts.map +1 -1
- package/dist/schemas-mini/Product.js +8 -0
- package/dist/schemas-mini/ProductMemberships.d.ts +6 -0
- package/dist/schemas-mini/ProductMemberships.d.ts.map +1 -1
- package/dist/schemas-mini/ProductMemberships.js +8 -0
- package/dist/schemas-mini/RedemptionLookup.d.ts +82 -0
- package/dist/schemas-mini/RedemptionLookup.d.ts.map +1 -1
- package/dist/schemas-mini/Unit.d.ts +36 -0
- package/dist/schemas-mini/Unit.d.ts.map +1 -1
- package/dist/schemas-mini/Unit.js +4 -0
- package/dist/schemas-mini/UnitExpedia.d.ts +14 -0
- package/dist/schemas-mini/UnitExpedia.d.ts.map +1 -0
- package/dist/schemas-mini/UnitExpedia.js +42 -0
- package/dist/schemas-mini/UnitExtras.d.ts +5 -0
- package/dist/schemas-mini/UnitExtras.d.ts.map +1 -1
- package/dist/schemas-mini/UnitGetYourGuide.d.ts +25 -0
- package/dist/schemas-mini/UnitGetYourGuide.d.ts.map +1 -0
- package/dist/schemas-mini/UnitGetYourGuide.js +42 -0
- package/dist/schemas-mini/UnitItem.d.ts +41 -0
- package/dist/schemas-mini/UnitItem.d.ts.map +1 -1
- package/dist/schemas-mini/UnitItemExtras.d.ts +5 -0
- package/dist/schemas-mini/UnitItemExtras.d.ts.map +1 -1
- package/dist/schemas-mini/Via.d.ts +4 -0
- package/dist/schemas-mini/Via.d.ts.map +1 -0
- package/dist/schemas-mini/Via.js +40 -0
- package/dist/schemas-mini/index.d.ts +28 -1
- package/dist/schemas-mini/index.d.ts.map +1 -1
- package/dist/schemas-mini/index.js +65 -10
- package/package.json +1 -1
- package/dist/esm/models/AdjustmentDiscount.js +0 -15
- package/dist/esm/schemas/AdjustmentDiscount.js +0 -4
- package/dist/esm/schemas-mini/AdjustmentDiscount.js +0 -4
- package/dist/models/AdjustmentDiscount.d.ts +0 -11
- package/dist/models/AdjustmentDiscount.d.ts.map +0 -1
- package/dist/models/AdjustmentDiscount.js +0 -18
- package/dist/schemas/AdjustmentDiscount.d.ts +0 -4
- package/dist/schemas/AdjustmentDiscount.d.ts.map +0 -1
- package/dist/schemas-mini/AdjustmentDiscount.d.ts +0 -4
- package/dist/schemas-mini/AdjustmentDiscount.d.ts.map +0 -1
|
@@ -6,6 +6,9 @@ import { customerContactSchema } from './CustomerContact.js';
|
|
|
6
6
|
import { bookingSchema } from './Booking.js';
|
|
7
7
|
import { contactFieldSchema } from './ContactField.js';
|
|
8
8
|
import { giftVoucherSchema } from './GiftVoucher.js';
|
|
9
|
+
import { channelSchema } from './Channel.js';
|
|
10
|
+
import { viaSchema } from './Via.js';
|
|
11
|
+
import { userSchema } from './User.js';
|
|
9
12
|
import { destinationSchema } from './Destination.js';
|
|
10
13
|
import { brandSchema } from './Brand.js';
|
|
11
14
|
import { pricingSchema } from './Pricing.js';
|
|
@@ -41,6 +44,9 @@ export const orderSchema = z.object({
|
|
|
41
44
|
requiredContactFields: z.array(contactFieldSchema),
|
|
42
45
|
voucher: giftVoucherSchema.nullable(),
|
|
43
46
|
active: z.boolean(),
|
|
47
|
+
channel: channelSchema.optional().nullable(),
|
|
48
|
+
via: viaSchema.optional().nullable(),
|
|
49
|
+
user: userSchema.optional().nullable(),
|
|
44
50
|
termsAccepted: z.boolean().optional(),
|
|
45
51
|
destination: destinationSchema.optional(),
|
|
46
52
|
brand: brandSchema.optional(),
|
|
@@ -15,6 +15,8 @@ import { imageSchema } from './Image.js';
|
|
|
15
15
|
import { brandSchema } from './Brand.js';
|
|
16
16
|
import { pricingPerSchema } from './PricingPer.js';
|
|
17
17
|
import { googleOptionsSchema } from './GoogleOptions.js';
|
|
18
|
+
import { giftExpiryUnitSchema } from './GiftExpiryUnit.js';
|
|
19
|
+
import { membershipRenewalPaymentMethodSchema } from './MembershipRenewalPaymentMethod.js';
|
|
18
20
|
import { checkoutConfigPricingDisplaySchema } from './CheckoutConfigPricingDisplay.js';
|
|
19
21
|
import { linkSchema } from './Link.js';
|
|
20
22
|
import { availableLanguagesItemSchema } from './AvailableLanguagesItem.js';
|
|
@@ -85,6 +87,12 @@ export const productSchema = z.lazy(() => z.object({
|
|
|
85
87
|
packageProduct: z.boolean().optional(),
|
|
86
88
|
googleOptions: googleOptionsSchema.optional(),
|
|
87
89
|
isMembership: z.boolean().optional(),
|
|
90
|
+
membershipAutoRenew: z.boolean().optional(),
|
|
91
|
+
membershipDurationAmount: z.number().optional().nullable(),
|
|
92
|
+
membershipDurationUnit: giftExpiryUnitSchema.optional().nullable(),
|
|
93
|
+
membershipRenewable: z.boolean().optional(),
|
|
94
|
+
membershipRenewalPaymentMethods: z.array(membershipRenewalPaymentMethodSchema).optional(),
|
|
95
|
+
membershipRenewalReminderDays: z.number().optional().nullable(),
|
|
88
96
|
isRental: z.boolean().optional(),
|
|
89
97
|
pricingDisplay: checkoutConfigPricingDisplaySchema.optional(),
|
|
90
98
|
outstandingBalanceShortDescription: z.string().optional(),
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
// Generated by ts-to-zod
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
+
import { giftExpiryUnitSchema } from './GiftExpiryUnit.js';
|
|
4
|
+
import { membershipRenewalPaymentMethodSchema } from './MembershipRenewalPaymentMethod.js';
|
|
3
5
|
export const productMembershipsSchema = z.object({
|
|
4
6
|
isMembership: z.boolean().optional(),
|
|
7
|
+
membershipAutoRenew: z.boolean().optional(),
|
|
8
|
+
membershipDurationAmount: z.number().optional().nullable(),
|
|
9
|
+
membershipDurationUnit: giftExpiryUnitSchema.optional().nullable(),
|
|
10
|
+
membershipRenewable: z.boolean().optional(),
|
|
11
|
+
membershipRenewalPaymentMethods: z.array(membershipRenewalPaymentMethodSchema).optional(),
|
|
12
|
+
membershipRenewalReminderDays: z.number().optional().nullable(),
|
|
5
13
|
});
|
package/dist/esm/schemas/Unit.js
CHANGED
|
@@ -7,6 +7,8 @@ import { pricingSchema } from './Pricing.js';
|
|
|
7
7
|
import { questionSchema } from './Question.js';
|
|
8
8
|
import { extraSchema } from './Extra.js';
|
|
9
9
|
import { membershipBenefitSchema } from './MembershipBenefit.js';
|
|
10
|
+
import { getYourGuidePricingCategorySchema } from './GetYourGuidePricingCategory.js';
|
|
11
|
+
import { expediaTicketTypePriceSchema } from './ExpediaTicketTypePrice.js';
|
|
10
12
|
export const unitSchema = z.object({
|
|
11
13
|
id: z.string(),
|
|
12
14
|
internalName: z.string(),
|
|
@@ -25,4 +27,6 @@ export const unitSchema = z.object({
|
|
|
25
27
|
extras: z.array(extraSchema).optional(),
|
|
26
28
|
membershipBenefit: membershipBenefitSchema.optional().nullable(),
|
|
27
29
|
redemptionCode: z.string().optional().nullable(),
|
|
30
|
+
pricingCategory: getYourGuidePricingCategorySchema.optional(),
|
|
31
|
+
ticketTypePrices: z.array(expediaTicketTypePriceSchema).optional(),
|
|
28
32
|
});
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
// Generated by ts-to-zod
|
|
2
2
|
import * as z from 'zod/mini';
|
|
3
3
|
import { adjustmentPerSchema } from './AdjustmentPer.js';
|
|
4
|
-
import { adjustmentDiscountSchema } from './AdjustmentDiscount.js';
|
|
5
4
|
export const bookingAdjustmentSchema = z.object({
|
|
6
5
|
per: adjustmentPerSchema,
|
|
7
6
|
amount: z.any(),
|
|
8
7
|
notes: z.nullable(z.string()),
|
|
9
|
-
netDiscount: adjustmentDiscountSchema,
|
|
10
8
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Generated by ts-to-zod
|
|
2
|
+
import * as z from 'zod/mini';
|
|
3
|
+
import { expediaTicketTypeSchema } from './ExpediaTicketType.js';
|
|
4
|
+
export const expediaTicketTypePriceSchema = z.object({
|
|
5
|
+
ticketType: expediaTicketTypeSchema,
|
|
6
|
+
minimumAge: z.number(),
|
|
7
|
+
maximumAge: z.number(),
|
|
8
|
+
minimumGroupSize: z.number(),
|
|
9
|
+
maximumGroupSize: z.number(),
|
|
10
|
+
partnerTicketTypeId: z.string(),
|
|
11
|
+
basePrice: z.optional(z.string()),
|
|
12
|
+
netPrice: z.optional(z.string()),
|
|
13
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Generated by ts-to-zod
|
|
2
|
+
import * as z from 'zod/mini';
|
|
3
|
+
import { expediaPriceTypeSchema } from './ExpediaPriceType.js';
|
|
4
|
+
import { expediaTicketTypePriceSchema } from './ExpediaTicketTypePrice.js';
|
|
5
|
+
export const expediaVolumeBasedPricingSchema = z.object({
|
|
6
|
+
priceType: expediaPriceTypeSchema,
|
|
7
|
+
ticketTypePrices: z.array(expediaTicketTypePriceSchema),
|
|
8
|
+
});
|
|
@@ -3,6 +3,7 @@ import * as z from 'zod/mini';
|
|
|
3
3
|
import { extraRestrictionsSchema } from './ExtraRestrictions.js';
|
|
4
4
|
import { customRetailOptionSchema } from './CustomRetailOption.js';
|
|
5
5
|
import { pricingSchema } from './Pricing.js';
|
|
6
|
+
import { durationUnitSchema } from './DurationUnit.js';
|
|
6
7
|
export const extraSchema = z.object({
|
|
7
8
|
id: z.string(),
|
|
8
9
|
internalName: z.string(),
|
|
@@ -14,4 +15,9 @@ export const extraSchema = z.object({
|
|
|
14
15
|
pricingFrom: z.optional(z.array(pricingSchema)),
|
|
15
16
|
pricing: z.optional(z.array(pricingSchema)),
|
|
16
17
|
title: z.nullable(z.optional(z.string())),
|
|
18
|
+
shortDescription: z.nullable(z.optional(z.string())),
|
|
19
|
+
duration: z.nullable(z.optional(z.string())),
|
|
20
|
+
durationAmount: z.nullable(z.optional(z.number())),
|
|
21
|
+
durationUnit: z.nullable(z.optional(durationUnitSchema)),
|
|
22
|
+
coverImageUrl: z.nullable(z.optional(z.string())),
|
|
17
23
|
});
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
// Generated by ts-to-zod
|
|
2
2
|
import * as z from 'zod/mini';
|
|
3
|
+
import { durationUnitSchema } from './DurationUnit.js';
|
|
3
4
|
export const extraContentSchema = z.object({
|
|
4
5
|
title: z.nullable(z.optional(z.string())),
|
|
6
|
+
shortDescription: z.nullable(z.optional(z.string())),
|
|
7
|
+
duration: z.nullable(z.optional(z.string())),
|
|
8
|
+
durationAmount: z.nullable(z.optional(z.number())),
|
|
9
|
+
durationUnit: z.nullable(z.optional(durationUnitSchema)),
|
|
10
|
+
coverImageUrl: z.nullable(z.optional(z.string())),
|
|
5
11
|
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// Generated by ts-to-zod
|
|
2
|
+
import * as z from 'zod/mini';
|
|
3
|
+
import { getYourGuidePriceTypeSchema } from './GetYourGuidePriceType.js';
|
|
4
|
+
export const getYourGuidePriceSchema = z.object({
|
|
5
|
+
priceType: getYourGuidePriceTypeSchema,
|
|
6
|
+
price: z.number(),
|
|
7
|
+
currency: z.string(),
|
|
8
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Generated by ts-to-zod
|
|
2
|
+
import * as z from 'zod/mini';
|
|
3
|
+
import { getYourGuideBookingCategorySchema } from './GetYourGuideBookingCategory.js';
|
|
4
|
+
import { getYourGuidePriceSchema } from './GetYourGuidePrice.js';
|
|
5
|
+
import { getYourGuidePricingTierSchema } from './GetYourGuidePricingTier.js';
|
|
6
|
+
export const getYourGuidePricingCategorySchema = z.object({
|
|
7
|
+
category: z.string(),
|
|
8
|
+
minTicketAmount: z.nullable(z.number()),
|
|
9
|
+
maxTicketAmount: z.nullable(z.number()),
|
|
10
|
+
groupSizeMin: z.number(),
|
|
11
|
+
groupSizeMax: z.nullable(z.number()),
|
|
12
|
+
ageFrom: z.nullable(z.number()),
|
|
13
|
+
ageTo: z.nullable(z.number()),
|
|
14
|
+
bookingCategory: getYourGuideBookingCategorySchema,
|
|
15
|
+
price: z.array(getYourGuidePriceSchema),
|
|
16
|
+
tiers: z.nullable(z.array(getYourGuidePricingTierSchema)),
|
|
17
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// Generated by ts-to-zod
|
|
2
|
+
import * as z from 'zod/mini';
|
|
3
|
+
import { destinationSchema } from './Destination.js';
|
|
4
|
+
import { customRetailOptionSchema } from './CustomRetailOption.js';
|
|
5
|
+
import { itemRestrictionsSchema } from './ItemRestrictions.js';
|
|
6
|
+
import { pricingSchema } from './Pricing.js';
|
|
7
|
+
import { imageSchema } from './Image.js';
|
|
8
|
+
import { itemVariantGroupSchema } from './ItemVariantGroup.js';
|
|
9
|
+
import { itemVariantOptionSchema } from './ItemVariantOption.js';
|
|
10
|
+
export const itemSchema = z.object({
|
|
11
|
+
id: z.string(),
|
|
12
|
+
internalName: z.string(),
|
|
13
|
+
reference: z.nullable(z.string()),
|
|
14
|
+
billingAccountCode: z.nullable(z.string()),
|
|
15
|
+
tags: z.array(z.string()),
|
|
16
|
+
locale: z.string(),
|
|
17
|
+
timeZone: z.string(),
|
|
18
|
+
title: z.string(),
|
|
19
|
+
titlePlural: z.string(),
|
|
20
|
+
subtitle: z.nullable(z.string()),
|
|
21
|
+
category: z.nullable(z.string()),
|
|
22
|
+
destination: destinationSchema,
|
|
23
|
+
active: z.boolean(),
|
|
24
|
+
customRetail: z.boolean(),
|
|
25
|
+
customRetailOptions: z.array(customRetailOptionSchema),
|
|
26
|
+
restrictions: itemRestrictionsSchema,
|
|
27
|
+
pricing: z.optional(z.array(pricingSchema)),
|
|
28
|
+
coverImageUrl: z.nullable(z.optional(z.string())),
|
|
29
|
+
galleryImages: z.optional(z.array(imageSchema)),
|
|
30
|
+
shortDescription: z.nullable(z.optional(z.string())),
|
|
31
|
+
description: z.nullable(z.optional(z.string())),
|
|
32
|
+
stock: z.nullable(z.optional(z.number())),
|
|
33
|
+
shelfLocation: z.nullable(z.optional(z.string())),
|
|
34
|
+
variantGroup: z.nullable(z.optional(itemVariantGroupSchema)),
|
|
35
|
+
variantOptions: z.optional(z.array(itemVariantOptionSchema)),
|
|
36
|
+
});
|
|
@@ -12,6 +12,8 @@ import { questionSchema } from './Question.js';
|
|
|
12
12
|
import { extraSchema } from './Extra.js';
|
|
13
13
|
import { packageIncludeSchema } from './PackageInclude.js';
|
|
14
14
|
import { rentalDurationSchema } from './RentalDuration.js';
|
|
15
|
+
import { getYourGuideTiersByCategorySchema } from './GetYourGuideTiersByCategory.js';
|
|
16
|
+
import { expediaVolumeBasedPricingSchema } from './ExpediaVolumeBasedPricing.js';
|
|
15
17
|
export const optionSchema = z.lazy(() => z.object({
|
|
16
18
|
id: z.string(),
|
|
17
19
|
default: z.boolean(),
|
|
@@ -59,4 +61,8 @@ export const optionSchema = z.lazy(() => z.object({
|
|
|
59
61
|
extras: z.optional(z.array(extraSchema)),
|
|
60
62
|
packageIncludes: z.optional(z.array(packageIncludeSchema)),
|
|
61
63
|
rentalDurations: z.optional(z.array(rentalDurationSchema)),
|
|
64
|
+
hasTieredPrices: z.optional(z.boolean()),
|
|
65
|
+
tiersByCategory: z.optional(z.array(getYourGuideTiersByCategorySchema)),
|
|
66
|
+
hasVolumeBasedPricing: z.optional(z.boolean()),
|
|
67
|
+
volumeBasedPricing: z.nullable(z.optional(expediaVolumeBasedPricingSchema)),
|
|
62
68
|
}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Generated by ts-to-zod
|
|
2
|
+
import * as z from 'zod/mini';
|
|
3
|
+
import { expediaVolumeBasedPricingSchema } from './ExpediaVolumeBasedPricing.js';
|
|
4
|
+
export const optionExpediaSchema = z.object({
|
|
5
|
+
hasVolumeBasedPricing: z.optional(z.boolean()),
|
|
6
|
+
volumeBasedPricing: z.nullable(z.optional(expediaVolumeBasedPricingSchema)),
|
|
7
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Generated by ts-to-zod
|
|
2
|
+
import * as z from 'zod/mini';
|
|
3
|
+
import { getYourGuideTiersByCategorySchema } from './GetYourGuideTiersByCategory.js';
|
|
4
|
+
export const optionGetYourGuideSchema = z.object({
|
|
5
|
+
hasTieredPrices: z.optional(z.boolean()),
|
|
6
|
+
tiersByCategory: z.optional(z.array(getYourGuideTiersByCategorySchema)),
|
|
7
|
+
});
|
|
@@ -6,6 +6,9 @@ import { customerContactSchema } from './CustomerContact.js';
|
|
|
6
6
|
import { bookingSchema } from './Booking.js';
|
|
7
7
|
import { contactFieldSchema } from './ContactField.js';
|
|
8
8
|
import { giftVoucherSchema } from './GiftVoucher.js';
|
|
9
|
+
import { channelSchema } from './Channel.js';
|
|
10
|
+
import { viaSchema } from './Via.js';
|
|
11
|
+
import { userSchema } from './User.js';
|
|
9
12
|
import { destinationSchema } from './Destination.js';
|
|
10
13
|
import { brandSchema } from './Brand.js';
|
|
11
14
|
import { pricingSchema } from './Pricing.js';
|
|
@@ -41,6 +44,9 @@ export const orderSchema = z.object({
|
|
|
41
44
|
requiredContactFields: z.array(contactFieldSchema),
|
|
42
45
|
voucher: z.nullable(giftVoucherSchema),
|
|
43
46
|
active: z.boolean(),
|
|
47
|
+
channel: z.nullable(z.optional(channelSchema)),
|
|
48
|
+
via: z.nullable(z.optional(viaSchema)),
|
|
49
|
+
user: z.nullable(z.optional(userSchema)),
|
|
44
50
|
termsAccepted: z.optional(z.boolean()),
|
|
45
51
|
destination: z.optional(destinationSchema),
|
|
46
52
|
brand: z.optional(brandSchema),
|
|
@@ -15,6 +15,8 @@ import { imageSchema } from './Image.js';
|
|
|
15
15
|
import { brandSchema } from './Brand.js';
|
|
16
16
|
import { pricingPerSchema } from './PricingPer.js';
|
|
17
17
|
import { googleOptionsSchema } from './GoogleOptions.js';
|
|
18
|
+
import { giftExpiryUnitSchema } from './GiftExpiryUnit.js';
|
|
19
|
+
import { membershipRenewalPaymentMethodSchema } from './MembershipRenewalPaymentMethod.js';
|
|
18
20
|
import { checkoutConfigPricingDisplaySchema } from './CheckoutConfigPricingDisplay.js';
|
|
19
21
|
import { linkSchema } from './Link.js';
|
|
20
22
|
import { availableLanguagesItemSchema } from './AvailableLanguagesItem.js';
|
|
@@ -85,6 +87,12 @@ export const productSchema = z.lazy(() => z.object({
|
|
|
85
87
|
packageProduct: z.optional(z.boolean()),
|
|
86
88
|
googleOptions: z.optional(googleOptionsSchema),
|
|
87
89
|
isMembership: z.optional(z.boolean()),
|
|
90
|
+
membershipAutoRenew: z.optional(z.boolean()),
|
|
91
|
+
membershipDurationAmount: z.nullable(z.optional(z.number())),
|
|
92
|
+
membershipDurationUnit: z.nullable(z.optional(giftExpiryUnitSchema)),
|
|
93
|
+
membershipRenewable: z.optional(z.boolean()),
|
|
94
|
+
membershipRenewalPaymentMethods: z.optional(z.array(membershipRenewalPaymentMethodSchema)),
|
|
95
|
+
membershipRenewalReminderDays: z.nullable(z.optional(z.number())),
|
|
88
96
|
isRental: z.optional(z.boolean()),
|
|
89
97
|
pricingDisplay: z.optional(checkoutConfigPricingDisplaySchema),
|
|
90
98
|
outstandingBalanceShortDescription: z.optional(z.string()),
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
// Generated by ts-to-zod
|
|
2
2
|
import * as z from 'zod/mini';
|
|
3
|
+
import { giftExpiryUnitSchema } from './GiftExpiryUnit.js';
|
|
4
|
+
import { membershipRenewalPaymentMethodSchema } from './MembershipRenewalPaymentMethod.js';
|
|
3
5
|
export const productMembershipsSchema = z.object({
|
|
4
6
|
isMembership: z.optional(z.boolean()),
|
|
7
|
+
membershipAutoRenew: z.optional(z.boolean()),
|
|
8
|
+
membershipDurationAmount: z.nullable(z.optional(z.number())),
|
|
9
|
+
membershipDurationUnit: z.nullable(z.optional(giftExpiryUnitSchema)),
|
|
10
|
+
membershipRenewable: z.optional(z.boolean()),
|
|
11
|
+
membershipRenewalPaymentMethods: z.optional(z.array(membershipRenewalPaymentMethodSchema)),
|
|
12
|
+
membershipRenewalReminderDays: z.nullable(z.optional(z.number())),
|
|
5
13
|
});
|
|
@@ -7,6 +7,8 @@ import { pricingSchema } from './Pricing.js';
|
|
|
7
7
|
import { questionSchema } from './Question.js';
|
|
8
8
|
import { extraSchema } from './Extra.js';
|
|
9
9
|
import { membershipBenefitSchema } from './MembershipBenefit.js';
|
|
10
|
+
import { getYourGuidePricingCategorySchema } from './GetYourGuidePricingCategory.js';
|
|
11
|
+
import { expediaTicketTypePriceSchema } from './ExpediaTicketTypePrice.js';
|
|
10
12
|
export const unitSchema = z.object({
|
|
11
13
|
id: z.string(),
|
|
12
14
|
internalName: z.string(),
|
|
@@ -25,4 +27,6 @@ export const unitSchema = z.object({
|
|
|
25
27
|
extras: z.optional(z.array(extraSchema)),
|
|
26
28
|
membershipBenefit: z.nullable(z.optional(membershipBenefitSchema)),
|
|
27
29
|
redemptionCode: z.nullable(z.optional(z.string())),
|
|
30
|
+
pricingCategory: z.optional(getYourGuidePricingCategorySchema),
|
|
31
|
+
ticketTypePrices: z.optional(z.array(expediaTicketTypePriceSchema)),
|
|
28
32
|
});
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { adjustmentDiscountSchema } from './AdjustmentDiscount.js';
|
|
2
1
|
export { adjustmentPerSchema } from './AdjustmentPer.js';
|
|
3
2
|
export { adyenGatewaySchema } from './AdyenGateway.js';
|
|
4
3
|
export { adyenGatewaySessionSchema } from './AdyenGatewaySession.js';
|
|
@@ -97,6 +96,7 @@ export { cardPaymentSchema } from './CardPayment.js';
|
|
|
97
96
|
export { cardPaymentGatewaySchema } from './CardPaymentGateway.js';
|
|
98
97
|
export { categorySchema } from './Category.js';
|
|
99
98
|
export { categoryVentrataCheckoutContentSchema } from './CategoryVentrataCheckoutContent.js';
|
|
99
|
+
export { channelSchema } from './Channel.js';
|
|
100
100
|
export { checkinLookupSchema } from './CheckinLookup.js';
|
|
101
101
|
export { checkinLookupBodySchema } from './CheckinLookupBody.js';
|
|
102
102
|
export { checkoutSchema } from './Checkout.js';
|
|
@@ -142,6 +142,10 @@ export { discountTaxSchema } from './DiscountTax.js';
|
|
|
142
142
|
export { dropoffPointSchema } from './DropoffPoint.js';
|
|
143
143
|
export { durationUnitSchema } from './DurationUnit.js';
|
|
144
144
|
export { envSchema } from './Env.js';
|
|
145
|
+
export { expediaPriceTypeSchema } from './ExpediaPriceType.js';
|
|
146
|
+
export { expediaTicketTypeSchema } from './ExpediaTicketType.js';
|
|
147
|
+
export { expediaTicketTypePriceSchema } from './ExpediaTicketTypePrice.js';
|
|
148
|
+
export { expediaVolumeBasedPricingSchema } from './ExpediaVolumeBasedPricing.js';
|
|
145
149
|
export { extendOrderBodySchema } from './ExtendOrderBody.js';
|
|
146
150
|
export { extendReservationBodySchema } from './ExtendReservationBody.js';
|
|
147
151
|
export { extendReservationErrorResponseSchema } from './ExtendReservationErrorResponse.js';
|
|
@@ -159,6 +163,7 @@ export { fareGroupSchema } from './FareGroup.js';
|
|
|
159
163
|
export { fontSchema } from './Font.js';
|
|
160
164
|
export { getBookingRequestSchema } from './GetBookingRequest.js';
|
|
161
165
|
export { getBookingsQueryParamsSchema } from './GetBookingsQueryParams.js';
|
|
166
|
+
export { getBookingsQuery_filtersSchema } from './GetBookingsQuery_filters.js';
|
|
162
167
|
export { getBookingsQuery_localDateSchema } from './GetBookingsQuery_localDate.js';
|
|
163
168
|
export { getBookingsQuery_localDateEndSchema } from './GetBookingsQuery_localDateEnd.js';
|
|
164
169
|
export { getBookingsQuery_localDateStartSchema } from './GetBookingsQuery_localDateStart.js';
|
|
@@ -183,7 +188,14 @@ export { getProductsRequestSchema } from './GetProductsRequest.js';
|
|
|
183
188
|
export { getSupplierRequestSchema } from './GetSupplierRequest.js';
|
|
184
189
|
export { getYourGuideActivateBodySchema } from './GetYourGuideActivateBody.js';
|
|
185
190
|
export { getYourGuideActivateRequestHeaders_octoCapabilitiesSchema } from './GetYourGuideActivateRequestHeaders_octoCapabilities.js';
|
|
191
|
+
export { getYourGuideBookingCategorySchema } from './GetYourGuideBookingCategory.js';
|
|
186
192
|
export { getYourGuideConnectionSchema } from './GetYourGuideConnection.js';
|
|
193
|
+
export { getYourGuidePriceSchema } from './GetYourGuidePrice.js';
|
|
194
|
+
export { getYourGuidePriceTypeSchema } from './GetYourGuidePriceType.js';
|
|
195
|
+
export { getYourGuidePricingCategorySchema } from './GetYourGuidePricingCategory.js';
|
|
196
|
+
export { getYourGuidePricingTierSchema } from './GetYourGuidePricingTier.js';
|
|
197
|
+
export { getYourGuideTierSchema } from './GetYourGuideTier.js';
|
|
198
|
+
export { getYourGuideTiersByCategorySchema } from './GetYourGuideTiersByCategory.js';
|
|
187
199
|
export { giftSchema } from './Gift.js';
|
|
188
200
|
export { giftCardPaymentsSchema } from './GiftCardPayments.js';
|
|
189
201
|
export { giftCartSchema } from './GiftCart.js';
|
|
@@ -208,6 +220,10 @@ export { googleUrlSchema } from './GoogleUrl.js';
|
|
|
208
220
|
export { identitySchema } from './Identity.js';
|
|
209
221
|
export { imageSchema } from './Image.js';
|
|
210
222
|
export { includeSchema } from './Include.js';
|
|
223
|
+
export { itemSchema } from './Item.js';
|
|
224
|
+
export { itemRestrictionsSchema } from './ItemRestrictions.js';
|
|
225
|
+
export { itemVariantGroupSchema } from './ItemVariantGroup.js';
|
|
226
|
+
export { itemVariantOptionSchema } from './ItemVariantOption.js';
|
|
211
227
|
export { itineraryItemSchema } from './ItineraryItem.js';
|
|
212
228
|
export { itineraryItemTypeSchema } from './ItineraryItemType.js';
|
|
213
229
|
export { labelSchema } from './Label.js';
|
|
@@ -215,6 +231,11 @@ export { linkSchema } from './Link.js';
|
|
|
215
231
|
export { listCapabilitiesRequestSchema } from './ListCapabilitiesRequest.js';
|
|
216
232
|
export { listCapabilitiesRequestHeadersSchema } from './ListCapabilitiesRequestHeaders.js';
|
|
217
233
|
export { listGiftsQueryParamsSchema } from './ListGiftsQueryParams.js';
|
|
234
|
+
export { listItemsQueryParams_itemIdsSchema } from './ListItemsQueryParams_itemIds.js';
|
|
235
|
+
export { listItemsQueryParams_limitSchema } from './ListItemsQueryParams_limit.js';
|
|
236
|
+
export { listItemsQueryParams_locationIdSchema } from './ListItemsQueryParams_locationId.js';
|
|
237
|
+
export { listItemsQueryParams_pageSchema } from './ListItemsQueryParams_page.js';
|
|
238
|
+
export { listItemsRequestSchema } from './ListItemsRequest.js';
|
|
218
239
|
export { listOrdersQueryParamsSchema } from './ListOrdersQueryParams.js';
|
|
219
240
|
export { listWebhooksRequestSchema } from './ListWebhooksRequest.js';
|
|
220
241
|
export { listWebhooksRequestHeaders_octoCapabilitiesSchema } from './ListWebhooksRequestHeaders_octoCapabilities.js';
|
|
@@ -224,6 +245,7 @@ export { membershipSchema } from './Membership.js';
|
|
|
224
245
|
export { membershipBenefitSchema } from './MembershipBenefit.js';
|
|
225
246
|
export { membershipLookupSchema } from './MembershipLookup.js';
|
|
226
247
|
export { membershipLookupBodySchema } from './MembershipLookupBody.js';
|
|
248
|
+
export { membershipRenewalPaymentMethodSchema } from './MembershipRenewalPaymentMethod.js';
|
|
227
249
|
export { navSchema } from './Nav.js';
|
|
228
250
|
export { netDiscountSchema } from './NetDiscount.js';
|
|
229
251
|
export { noticeSchema } from './Notice.js';
|
|
@@ -267,7 +289,9 @@ export { openingHoursContentSchema } from './OpeningHoursContent.js';
|
|
|
267
289
|
export { operatorSchema } from './Operator.js';
|
|
268
290
|
export { optionSchema } from './Option.js';
|
|
269
291
|
export { optionContentSchema } from './OptionContent.js';
|
|
292
|
+
export { optionExpediaSchema } from './OptionExpedia.js';
|
|
270
293
|
export { optionExtrasSchema } from './OptionExtras.js';
|
|
294
|
+
export { optionGetYourGuideSchema } from './OptionGetYourGuide.js';
|
|
271
295
|
export { optionPackagesSchema } from './OptionPackages.js';
|
|
272
296
|
export { optionPickupsSchema } from './OptionPickups.js';
|
|
273
297
|
export { optionPricingSchema } from './OptionPricing.js';
|
|
@@ -356,7 +380,9 @@ export { uuidSchema } from './UUID.js';
|
|
|
356
380
|
export { uUIDSchema } from './UUID.js';
|
|
357
381
|
export { unitSchema } from './Unit.js';
|
|
358
382
|
export { unitContentSchema } from './UnitContent.js';
|
|
383
|
+
export { unitExpediaSchema } from './UnitExpedia.js';
|
|
359
384
|
export { unitExtrasSchema } from './UnitExtras.js';
|
|
385
|
+
export { unitGetYourGuideSchema } from './UnitGetYourGuide.js';
|
|
360
386
|
export { unitItemSchema } from './UnitItem.js';
|
|
361
387
|
export { unitItemExtrasSchema } from './UnitItemExtras.js';
|
|
362
388
|
export { unitItemIdentifierSchema } from './UnitItemIdentifier.js';
|
|
@@ -376,6 +402,7 @@ export { updateIdentityPathParamsSchema } from './UpdateIdentityPathParams.js';
|
|
|
376
402
|
export { updateOrderBodySchema } from './UpdateOrderBody.js';
|
|
377
403
|
export { updateOrderPricingBodySchema } from './UpdateOrderPricingBody.js';
|
|
378
404
|
export { userSchema } from './User.js';
|
|
405
|
+
export { viaSchema } from './Via.js';
|
|
379
406
|
export { vivawalletGatewaySchema } from './VivawalletGateway.js';
|
|
380
407
|
export { waitlistSchema } from './Waitlist.js';
|
|
381
408
|
export { waitlistUnitIdentifierSchema } from './WaitlistUnitIdentifier.js';
|