@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
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.listItemsQueryParams_pageSchema = void 0;
|
|
37
|
+
// Generated by ts-to-zod
|
|
38
|
+
const z = __importStar(require("zod"));
|
|
39
|
+
exports.listItemsQueryParams_pageSchema = z.string();
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
export declare const listItemsRequestSchema: z.ZodObject<{
|
|
3
|
+
itemIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4
|
+
locationId: z.ZodOptional<z.ZodString>;
|
|
5
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
page: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
//# sourceMappingURL=ListItemsRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListItemsRequest.d.ts","sourceRoot":"","sources":["../../src/schemas/ListItemsRequest.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,eAAO,MAAM,sBAAsB;;;;;iBAKjC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.listItemsRequestSchema = void 0;
|
|
37
|
+
// Generated by ts-to-zod
|
|
38
|
+
const z = __importStar(require("zod"));
|
|
39
|
+
exports.listItemsRequestSchema = z.object({
|
|
40
|
+
itemIds: z.array(z.string()).optional(),
|
|
41
|
+
locationId: z.string().optional(),
|
|
42
|
+
limit: z.number().optional(),
|
|
43
|
+
page: z.string().optional(),
|
|
44
|
+
});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
import { MembershipRenewalPaymentMethod } from '../models/MembershipRenewalPaymentMethod';
|
|
3
|
+
export declare const membershipRenewalPaymentMethodSchema: z.ZodEnum<typeof MembershipRenewalPaymentMethod>;
|
|
4
|
+
//# sourceMappingURL=MembershipRenewalPaymentMethod.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MembershipRenewalPaymentMethod.d.ts","sourceRoot":"","sources":["../../src/schemas/MembershipRenewalPaymentMethod.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,8BAA8B,EAAE,MAAM,0CAA0C,CAAC;AAE1F,eAAO,MAAM,oCAAoC,kDAAyC,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.membershipRenewalPaymentMethodSchema = void 0;
|
|
37
|
+
// Generated by ts-to-zod
|
|
38
|
+
const z = __importStar(require("zod"));
|
|
39
|
+
const MembershipRenewalPaymentMethod_1 = require("../models/MembershipRenewalPaymentMethod");
|
|
40
|
+
exports.membershipRenewalPaymentMethodSchema = z.enum(MembershipRenewalPaymentMethod_1.MembershipRenewalPaymentMethod);
|
|
@@ -350,6 +350,11 @@ export declare const offerCombinationSchema: z.ZodObject<{
|
|
|
350
350
|
}, z.core.$strip>>>;
|
|
351
351
|
}, z.core.$strip>>>;
|
|
352
352
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
353
|
+
shortDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
354
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
355
|
+
durationAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
356
|
+
durationUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("..").DurationUnit>>>;
|
|
357
|
+
coverImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
353
358
|
}, z.core.$strip>>>;
|
|
354
359
|
membershipBenefit: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
355
360
|
id: z.ZodString;
|
|
@@ -357,6 +362,37 @@ export declare const offerCombinationSchema: z.ZodObject<{
|
|
|
357
362
|
description: z.ZodString;
|
|
358
363
|
}, z.core.$strip>>>;
|
|
359
364
|
redemptionCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
365
|
+
pricingCategory: z.ZodOptional<z.ZodObject<{
|
|
366
|
+
category: z.ZodString;
|
|
367
|
+
minTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
368
|
+
maxTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
369
|
+
groupSizeMin: z.ZodNumber;
|
|
370
|
+
groupSizeMax: z.ZodNullable<z.ZodNumber>;
|
|
371
|
+
ageFrom: z.ZodNullable<z.ZodNumber>;
|
|
372
|
+
ageTo: z.ZodNullable<z.ZodNumber>;
|
|
373
|
+
bookingCategory: z.ZodEnum<typeof import("..").GetYourGuideBookingCategory>;
|
|
374
|
+
price: z.ZodArray<z.ZodObject<{
|
|
375
|
+
priceType: z.ZodEnum<typeof import("..").GetYourGuidePriceType>;
|
|
376
|
+
price: z.ZodNumber;
|
|
377
|
+
currency: z.ZodString;
|
|
378
|
+
}, z.core.$strip>>;
|
|
379
|
+
tiers: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
380
|
+
lowerBound: z.ZodNumber;
|
|
381
|
+
upperBound: z.ZodNumber;
|
|
382
|
+
price: z.ZodNumber;
|
|
383
|
+
currency: z.ZodString;
|
|
384
|
+
}, z.core.$strip>>>;
|
|
385
|
+
}, z.core.$strip>>;
|
|
386
|
+
ticketTypePrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
387
|
+
ticketType: z.ZodEnum<typeof import("..").ExpediaTicketType>;
|
|
388
|
+
minimumAge: z.ZodNumber;
|
|
389
|
+
maximumAge: z.ZodNumber;
|
|
390
|
+
minimumGroupSize: z.ZodNumber;
|
|
391
|
+
maximumGroupSize: z.ZodNumber;
|
|
392
|
+
partnerTicketTypeId: z.ZodString;
|
|
393
|
+
basePrice: z.ZodOptional<z.ZodString>;
|
|
394
|
+
netPrice: z.ZodOptional<z.ZodString>;
|
|
395
|
+
}, z.core.$strip>>>;
|
|
360
396
|
}, z.core.$strip>>;
|
|
361
397
|
booking: z.ZodNullable<z.ZodType<import("..").Booking, unknown, z.core.$ZodTypeInternals<import("..").Booking, unknown>>>;
|
|
362
398
|
}, z.core.$strip>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OfferCombination.d.ts","sourceRoot":"","sources":["../../src/schemas/OfferCombination.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"OfferCombination.d.ts","sourceRoot":"","sources":["../../src/schemas/OfferCombination.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBASjC,CAAC"}
|
|
@@ -349,6 +349,11 @@ export declare const offerComparisonSchema: z.ZodObject<{
|
|
|
349
349
|
}, z.core.$strip>>>;
|
|
350
350
|
}, z.core.$strip>>>;
|
|
351
351
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
352
|
+
shortDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
353
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
354
|
+
durationAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
355
|
+
durationUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("..").DurationUnit>>>;
|
|
356
|
+
coverImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
352
357
|
}, z.core.$strip>>>;
|
|
353
358
|
membershipBenefit: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
354
359
|
id: z.ZodString;
|
|
@@ -356,6 +361,37 @@ export declare const offerComparisonSchema: z.ZodObject<{
|
|
|
356
361
|
description: z.ZodString;
|
|
357
362
|
}, z.core.$strip>>>;
|
|
358
363
|
redemptionCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
364
|
+
pricingCategory: z.ZodOptional<z.ZodObject<{
|
|
365
|
+
category: z.ZodString;
|
|
366
|
+
minTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
367
|
+
maxTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
368
|
+
groupSizeMin: z.ZodNumber;
|
|
369
|
+
groupSizeMax: z.ZodNullable<z.ZodNumber>;
|
|
370
|
+
ageFrom: z.ZodNullable<z.ZodNumber>;
|
|
371
|
+
ageTo: z.ZodNullable<z.ZodNumber>;
|
|
372
|
+
bookingCategory: z.ZodEnum<typeof import("..").GetYourGuideBookingCategory>;
|
|
373
|
+
price: z.ZodArray<z.ZodObject<{
|
|
374
|
+
priceType: z.ZodEnum<typeof import("..").GetYourGuidePriceType>;
|
|
375
|
+
price: z.ZodNumber;
|
|
376
|
+
currency: z.ZodString;
|
|
377
|
+
}, z.core.$strip>>;
|
|
378
|
+
tiers: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
379
|
+
lowerBound: z.ZodNumber;
|
|
380
|
+
upperBound: z.ZodNumber;
|
|
381
|
+
price: z.ZodNumber;
|
|
382
|
+
currency: z.ZodString;
|
|
383
|
+
}, z.core.$strip>>>;
|
|
384
|
+
}, z.core.$strip>>;
|
|
385
|
+
ticketTypePrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
386
|
+
ticketType: z.ZodEnum<typeof import("..").ExpediaTicketType>;
|
|
387
|
+
minimumAge: z.ZodNumber;
|
|
388
|
+
maximumAge: z.ZodNumber;
|
|
389
|
+
minimumGroupSize: z.ZodNumber;
|
|
390
|
+
maximumGroupSize: z.ZodNumber;
|
|
391
|
+
partnerTicketTypeId: z.ZodString;
|
|
392
|
+
basePrice: z.ZodOptional<z.ZodString>;
|
|
393
|
+
netPrice: z.ZodOptional<z.ZodString>;
|
|
394
|
+
}, z.core.$strip>>>;
|
|
359
395
|
}, z.core.$strip>>;
|
|
360
396
|
}, z.core.$strip>;
|
|
361
397
|
//# sourceMappingURL=OfferComparison.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OfferComparison.d.ts","sourceRoot":"","sources":["../../src/schemas/OfferComparison.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"OfferComparison.d.ts","sourceRoot":"","sources":["../../src/schemas/OfferComparison.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAKzB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../src/schemas/Option.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"Option.d.ts","sourceRoot":"","sources":["../../src/schemas/Option.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAezB,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAE/C,eAAO,MAAM,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,CAqD1C,CAAC"}
|
package/dist/schemas/Option.js
CHANGED
|
@@ -48,6 +48,8 @@ const Question_1 = require("./Question");
|
|
|
48
48
|
const Extra_1 = require("./Extra");
|
|
49
49
|
const PackageInclude_1 = require("./PackageInclude");
|
|
50
50
|
const RentalDuration_1 = require("./RentalDuration");
|
|
51
|
+
const GetYourGuideTiersByCategory_1 = require("./GetYourGuideTiersByCategory");
|
|
52
|
+
const ExpediaVolumeBasedPricing_1 = require("./ExpediaVolumeBasedPricing");
|
|
51
53
|
exports.optionSchema = z.lazy(() => z.object({
|
|
52
54
|
id: z.string(),
|
|
53
55
|
default: z.boolean(),
|
|
@@ -95,4 +97,8 @@ exports.optionSchema = z.lazy(() => z.object({
|
|
|
95
97
|
extras: z.array(Extra_1.extraSchema).optional(),
|
|
96
98
|
packageIncludes: z.array(PackageInclude_1.packageIncludeSchema).optional(),
|
|
97
99
|
rentalDurations: z.array(RentalDuration_1.rentalDurationSchema).optional(),
|
|
100
|
+
hasTieredPrices: z.boolean().optional(),
|
|
101
|
+
tiersByCategory: z.array(GetYourGuideTiersByCategory_1.getYourGuideTiersByCategorySchema).optional(),
|
|
102
|
+
hasVolumeBasedPricing: z.boolean().optional(),
|
|
103
|
+
volumeBasedPricing: ExpediaVolumeBasedPricing_1.expediaVolumeBasedPricingSchema.optional().nullable(),
|
|
98
104
|
}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
export declare const optionExpediaSchema: z.ZodObject<{
|
|
3
|
+
hasVolumeBasedPricing: z.ZodOptional<z.ZodBoolean>;
|
|
4
|
+
volumeBasedPricing: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5
|
+
priceType: z.ZodEnum<typeof import("..").ExpediaPriceType>;
|
|
6
|
+
ticketTypePrices: z.ZodArray<z.ZodObject<{
|
|
7
|
+
ticketType: z.ZodEnum<typeof import("..").ExpediaTicketType>;
|
|
8
|
+
minimumAge: z.ZodNumber;
|
|
9
|
+
maximumAge: z.ZodNumber;
|
|
10
|
+
minimumGroupSize: z.ZodNumber;
|
|
11
|
+
maximumGroupSize: z.ZodNumber;
|
|
12
|
+
partnerTicketTypeId: z.ZodString;
|
|
13
|
+
basePrice: z.ZodOptional<z.ZodString>;
|
|
14
|
+
netPrice: z.ZodOptional<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
}, z.core.$strip>>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
//# sourceMappingURL=OptionExpedia.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionExpedia.d.ts","sourceRoot":"","sources":["../../src/schemas/OptionExpedia.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;iBAG9B,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.optionExpediaSchema = void 0;
|
|
37
|
+
// Generated by ts-to-zod
|
|
38
|
+
const z = __importStar(require("zod"));
|
|
39
|
+
const ExpediaVolumeBasedPricing_1 = require("./ExpediaVolumeBasedPricing");
|
|
40
|
+
exports.optionExpediaSchema = z.object({
|
|
41
|
+
hasVolumeBasedPricing: z.boolean().optional(),
|
|
42
|
+
volumeBasedPricing: ExpediaVolumeBasedPricing_1.expediaVolumeBasedPricingSchema.optional().nullable(),
|
|
43
|
+
});
|
|
@@ -132,6 +132,11 @@ export declare const optionExtrasSchema: z.ZodObject<{
|
|
|
132
132
|
}, z.core.$strip>>>;
|
|
133
133
|
}, z.core.$strip>>>;
|
|
134
134
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
135
|
+
shortDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
136
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
137
|
+
durationAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
138
|
+
durationUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("..").DurationUnit>>>;
|
|
139
|
+
coverImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
135
140
|
}, z.core.$strip>>>;
|
|
136
141
|
}, z.core.$strip>;
|
|
137
142
|
//# sourceMappingURL=OptionExtras.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OptionExtras.d.ts","sourceRoot":"","sources":["../../src/schemas/OptionExtras.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"OptionExtras.d.ts","sourceRoot":"","sources":["../../src/schemas/OptionExtras.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE7B,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
export declare const optionGetYourGuideSchema: z.ZodObject<{
|
|
3
|
+
hasTieredPrices: z.ZodOptional<z.ZodBoolean>;
|
|
4
|
+
tiersByCategory: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5
|
+
category: z.ZodString;
|
|
6
|
+
tiers: z.ZodArray<z.ZodObject<{
|
|
7
|
+
lowerBound: z.ZodNumber;
|
|
8
|
+
upperBound: z.ZodNumber;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
//# sourceMappingURL=OptionGetYourGuide.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OptionGetYourGuide.d.ts","sourceRoot":"","sources":["../../src/schemas/OptionGetYourGuide.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,wBAAwB;;;;;;;;;iBAGnC,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.optionGetYourGuideSchema = void 0;
|
|
37
|
+
// Generated by ts-to-zod
|
|
38
|
+
const z = __importStar(require("zod"));
|
|
39
|
+
const GetYourGuideTiersByCategory_1 = require("./GetYourGuideTiersByCategory");
|
|
40
|
+
exports.optionGetYourGuideSchema = z.object({
|
|
41
|
+
hasTieredPrices: z.boolean().optional(),
|
|
42
|
+
tiersByCategory: z.array(GetYourGuideTiersByCategory_1.getYourGuideTiersByCategorySchema).optional(),
|
|
43
|
+
});
|
package/dist/schemas/Order.d.ts
CHANGED
|
@@ -62,6 +62,20 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
62
62
|
}, z.core.$strip>>;
|
|
63
63
|
}, z.core.$strip>>;
|
|
64
64
|
active: z.ZodBoolean;
|
|
65
|
+
channel: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
66
|
+
id: z.ZodString;
|
|
67
|
+
name: z.ZodString;
|
|
68
|
+
tags: z.ZodArray<z.ZodString>;
|
|
69
|
+
}, z.core.$strip>>>;
|
|
70
|
+
via: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("..").Via>>>;
|
|
71
|
+
user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
72
|
+
id: z.ZodString;
|
|
73
|
+
name: z.ZodString;
|
|
74
|
+
reference: z.ZodNullable<z.ZodString>;
|
|
75
|
+
tags: z.ZodArray<z.ZodString>;
|
|
76
|
+
emailAddress: z.ZodString;
|
|
77
|
+
phoneNumber: z.ZodNullable<z.ZodString>;
|
|
78
|
+
}, z.core.$strip>>>;
|
|
65
79
|
termsAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
66
80
|
destination: z.ZodOptional<z.ZodObject<{
|
|
67
81
|
id: z.ZodString;
|
|
@@ -694,6 +708,11 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
694
708
|
}, z.core.$strip>>>;
|
|
695
709
|
}, z.core.$strip>>>;
|
|
696
710
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
711
|
+
shortDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
712
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
713
|
+
durationAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
714
|
+
durationUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("..").DurationUnit>>>;
|
|
715
|
+
coverImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
697
716
|
}, z.core.$strip>>>;
|
|
698
717
|
membershipBenefit: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
699
718
|
id: z.ZodString;
|
|
@@ -701,6 +720,37 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
701
720
|
description: z.ZodString;
|
|
702
721
|
}, z.core.$strip>>>;
|
|
703
722
|
redemptionCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
723
|
+
pricingCategory: z.ZodOptional<z.ZodObject<{
|
|
724
|
+
category: z.ZodString;
|
|
725
|
+
minTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
726
|
+
maxTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
727
|
+
groupSizeMin: z.ZodNumber;
|
|
728
|
+
groupSizeMax: z.ZodNullable<z.ZodNumber>;
|
|
729
|
+
ageFrom: z.ZodNullable<z.ZodNumber>;
|
|
730
|
+
ageTo: z.ZodNullable<z.ZodNumber>;
|
|
731
|
+
bookingCategory: z.ZodEnum<typeof import("..").GetYourGuideBookingCategory>;
|
|
732
|
+
price: z.ZodArray<z.ZodObject<{
|
|
733
|
+
priceType: z.ZodEnum<typeof import("..").GetYourGuidePriceType>;
|
|
734
|
+
price: z.ZodNumber;
|
|
735
|
+
currency: z.ZodString;
|
|
736
|
+
}, z.core.$strip>>;
|
|
737
|
+
tiers: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
738
|
+
lowerBound: z.ZodNumber;
|
|
739
|
+
upperBound: z.ZodNumber;
|
|
740
|
+
price: z.ZodNumber;
|
|
741
|
+
currency: z.ZodString;
|
|
742
|
+
}, z.core.$strip>>>;
|
|
743
|
+
}, z.core.$strip>>;
|
|
744
|
+
ticketTypePrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
745
|
+
ticketType: z.ZodEnum<typeof import("..").ExpediaTicketType>;
|
|
746
|
+
minimumAge: z.ZodNumber;
|
|
747
|
+
maximumAge: z.ZodNumber;
|
|
748
|
+
minimumGroupSize: z.ZodNumber;
|
|
749
|
+
maximumGroupSize: z.ZodNumber;
|
|
750
|
+
partnerTicketTypeId: z.ZodString;
|
|
751
|
+
basePrice: z.ZodOptional<z.ZodString>;
|
|
752
|
+
netPrice: z.ZodOptional<z.ZodString>;
|
|
753
|
+
}, z.core.$strip>>>;
|
|
704
754
|
}, z.core.$strip>>;
|
|
705
755
|
booking: z.ZodNullable<z.ZodType<import("..").Booking, unknown, z.core.$ZodTypeInternals<import("..").Booking, unknown>>>;
|
|
706
756
|
}, z.core.$strip>>>;
|
|
@@ -1360,6 +1410,11 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
1360
1410
|
}, z.core.$strip>>>;
|
|
1361
1411
|
}, z.core.$strip>>>;
|
|
1362
1412
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1413
|
+
shortDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1414
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1415
|
+
durationAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1416
|
+
durationUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("..").DurationUnit>>>;
|
|
1417
|
+
coverImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1363
1418
|
}, z.core.$strip>>>;
|
|
1364
1419
|
membershipBenefit: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1365
1420
|
id: z.ZodString;
|
|
@@ -1367,6 +1422,37 @@ export declare const orderSchema: z.ZodObject<{
|
|
|
1367
1422
|
description: z.ZodString;
|
|
1368
1423
|
}, z.core.$strip>>>;
|
|
1369
1424
|
redemptionCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1425
|
+
pricingCategory: z.ZodOptional<z.ZodObject<{
|
|
1426
|
+
category: z.ZodString;
|
|
1427
|
+
minTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
1428
|
+
maxTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
1429
|
+
groupSizeMin: z.ZodNumber;
|
|
1430
|
+
groupSizeMax: z.ZodNullable<z.ZodNumber>;
|
|
1431
|
+
ageFrom: z.ZodNullable<z.ZodNumber>;
|
|
1432
|
+
ageTo: z.ZodNullable<z.ZodNumber>;
|
|
1433
|
+
bookingCategory: z.ZodEnum<typeof import("..").GetYourGuideBookingCategory>;
|
|
1434
|
+
price: z.ZodArray<z.ZodObject<{
|
|
1435
|
+
priceType: z.ZodEnum<typeof import("..").GetYourGuidePriceType>;
|
|
1436
|
+
price: z.ZodNumber;
|
|
1437
|
+
currency: z.ZodString;
|
|
1438
|
+
}, z.core.$strip>>;
|
|
1439
|
+
tiers: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1440
|
+
lowerBound: z.ZodNumber;
|
|
1441
|
+
upperBound: z.ZodNumber;
|
|
1442
|
+
price: z.ZodNumber;
|
|
1443
|
+
currency: z.ZodString;
|
|
1444
|
+
}, z.core.$strip>>>;
|
|
1445
|
+
}, z.core.$strip>>;
|
|
1446
|
+
ticketTypePrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1447
|
+
ticketType: z.ZodEnum<typeof import("..").ExpediaTicketType>;
|
|
1448
|
+
minimumAge: z.ZodNumber;
|
|
1449
|
+
maximumAge: z.ZodNumber;
|
|
1450
|
+
minimumGroupSize: z.ZodNumber;
|
|
1451
|
+
maximumGroupSize: z.ZodNumber;
|
|
1452
|
+
partnerTicketTypeId: z.ZodString;
|
|
1453
|
+
basePrice: z.ZodOptional<z.ZodString>;
|
|
1454
|
+
netPrice: z.ZodOptional<z.ZodString>;
|
|
1455
|
+
}, z.core.$strip>>>;
|
|
1370
1456
|
}, z.core.$strip>>;
|
|
1371
1457
|
}, z.core.$strip>>>;
|
|
1372
1458
|
offerIsCombination: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../src/schemas/Order.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../src/schemas/Order.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAqBzB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoDtB,CAAC"}
|
package/dist/schemas/Order.js
CHANGED
|
@@ -42,6 +42,9 @@ const CustomerContact_1 = require("./CustomerContact");
|
|
|
42
42
|
const Booking_1 = require("./Booking");
|
|
43
43
|
const ContactField_1 = require("./ContactField");
|
|
44
44
|
const GiftVoucher_1 = require("./GiftVoucher");
|
|
45
|
+
const Channel_1 = require("./Channel");
|
|
46
|
+
const Via_1 = require("./Via");
|
|
47
|
+
const User_1 = require("./User");
|
|
45
48
|
const Destination_1 = require("./Destination");
|
|
46
49
|
const Brand_1 = require("./Brand");
|
|
47
50
|
const Pricing_1 = require("./Pricing");
|
|
@@ -77,6 +80,9 @@ exports.orderSchema = z.object({
|
|
|
77
80
|
requiredContactFields: z.array(ContactField_1.contactFieldSchema),
|
|
78
81
|
voucher: GiftVoucher_1.giftVoucherSchema.nullable(),
|
|
79
82
|
active: z.boolean(),
|
|
83
|
+
channel: Channel_1.channelSchema.optional().nullable(),
|
|
84
|
+
via: Via_1.viaSchema.optional().nullable(),
|
|
85
|
+
user: User_1.userSchema.optional().nullable(),
|
|
80
86
|
termsAccepted: z.boolean().optional(),
|
|
81
87
|
destination: Destination_1.destinationSchema.optional(),
|
|
82
88
|
brand: Brand_1.brandSchema.optional(),
|
|
@@ -656,6 +656,11 @@ export declare const orderGiftsSchema: z.ZodObject<{
|
|
|
656
656
|
}, z.core.$strip>>>;
|
|
657
657
|
}, z.core.$strip>>>;
|
|
658
658
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
659
|
+
shortDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
660
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
661
|
+
durationAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
662
|
+
durationUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("..").DurationUnit>>>;
|
|
663
|
+
coverImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
659
664
|
}, z.core.$strip>>>;
|
|
660
665
|
membershipBenefit: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
661
666
|
id: z.ZodString;
|
|
@@ -663,6 +668,37 @@ export declare const orderGiftsSchema: z.ZodObject<{
|
|
|
663
668
|
description: z.ZodString;
|
|
664
669
|
}, z.core.$strip>>>;
|
|
665
670
|
redemptionCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
671
|
+
pricingCategory: z.ZodOptional<z.ZodObject<{
|
|
672
|
+
category: z.ZodString;
|
|
673
|
+
minTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
674
|
+
maxTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
675
|
+
groupSizeMin: z.ZodNumber;
|
|
676
|
+
groupSizeMax: z.ZodNullable<z.ZodNumber>;
|
|
677
|
+
ageFrom: z.ZodNullable<z.ZodNumber>;
|
|
678
|
+
ageTo: z.ZodNullable<z.ZodNumber>;
|
|
679
|
+
bookingCategory: z.ZodEnum<typeof import("..").GetYourGuideBookingCategory>;
|
|
680
|
+
price: z.ZodArray<z.ZodObject<{
|
|
681
|
+
priceType: z.ZodEnum<typeof import("..").GetYourGuidePriceType>;
|
|
682
|
+
price: z.ZodNumber;
|
|
683
|
+
currency: z.ZodString;
|
|
684
|
+
}, z.core.$strip>>;
|
|
685
|
+
tiers: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
686
|
+
lowerBound: z.ZodNumber;
|
|
687
|
+
upperBound: z.ZodNumber;
|
|
688
|
+
price: z.ZodNumber;
|
|
689
|
+
currency: z.ZodString;
|
|
690
|
+
}, z.core.$strip>>>;
|
|
691
|
+
}, z.core.$strip>>;
|
|
692
|
+
ticketTypePrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
693
|
+
ticketType: z.ZodEnum<typeof import("..").ExpediaTicketType>;
|
|
694
|
+
minimumAge: z.ZodNumber;
|
|
695
|
+
maximumAge: z.ZodNumber;
|
|
696
|
+
minimumGroupSize: z.ZodNumber;
|
|
697
|
+
maximumGroupSize: z.ZodNumber;
|
|
698
|
+
partnerTicketTypeId: z.ZodString;
|
|
699
|
+
basePrice: z.ZodOptional<z.ZodString>;
|
|
700
|
+
netPrice: z.ZodOptional<z.ZodString>;
|
|
701
|
+
}, z.core.$strip>>>;
|
|
666
702
|
}, z.core.$strip>>;
|
|
667
703
|
}, z.core.$strip>>>;
|
|
668
704
|
offerIsCombination: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrderGifts.d.ts","sourceRoot":"","sources":["../../src/schemas/OrderGifts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"OrderGifts.d.ts","sourceRoot":"","sources":["../../src/schemas/OrderGifts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAG3B,CAAC"}
|