@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
|
@@ -351,6 +351,11 @@ export declare const orderOffersSchema: z.ZodObject<{
|
|
|
351
351
|
}, z.core.$strip>>>;
|
|
352
352
|
}, z.core.$strip>>>;
|
|
353
353
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
354
|
+
shortDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
355
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
356
|
+
durationAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
357
|
+
durationUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("..").DurationUnit>>>;
|
|
358
|
+
coverImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
354
359
|
}, z.core.$strip>>>;
|
|
355
360
|
membershipBenefit: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
356
361
|
id: z.ZodString;
|
|
@@ -358,6 +363,37 @@ export declare const orderOffersSchema: z.ZodObject<{
|
|
|
358
363
|
description: z.ZodString;
|
|
359
364
|
}, z.core.$strip>>>;
|
|
360
365
|
redemptionCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
366
|
+
pricingCategory: z.ZodOptional<z.ZodObject<{
|
|
367
|
+
category: z.ZodString;
|
|
368
|
+
minTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
369
|
+
maxTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
370
|
+
groupSizeMin: z.ZodNumber;
|
|
371
|
+
groupSizeMax: z.ZodNullable<z.ZodNumber>;
|
|
372
|
+
ageFrom: z.ZodNullable<z.ZodNumber>;
|
|
373
|
+
ageTo: z.ZodNullable<z.ZodNumber>;
|
|
374
|
+
bookingCategory: z.ZodEnum<typeof import("..").GetYourGuideBookingCategory>;
|
|
375
|
+
price: z.ZodArray<z.ZodObject<{
|
|
376
|
+
priceType: z.ZodEnum<typeof import("..").GetYourGuidePriceType>;
|
|
377
|
+
price: z.ZodNumber;
|
|
378
|
+
currency: z.ZodString;
|
|
379
|
+
}, z.core.$strip>>;
|
|
380
|
+
tiers: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
381
|
+
lowerBound: z.ZodNumber;
|
|
382
|
+
upperBound: z.ZodNumber;
|
|
383
|
+
price: z.ZodNumber;
|
|
384
|
+
currency: z.ZodString;
|
|
385
|
+
}, z.core.$strip>>>;
|
|
386
|
+
}, z.core.$strip>>;
|
|
387
|
+
ticketTypePrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
388
|
+
ticketType: z.ZodEnum<typeof import("..").ExpediaTicketType>;
|
|
389
|
+
minimumAge: z.ZodNumber;
|
|
390
|
+
maximumAge: z.ZodNumber;
|
|
391
|
+
minimumGroupSize: z.ZodNumber;
|
|
392
|
+
maximumGroupSize: z.ZodNumber;
|
|
393
|
+
partnerTicketTypeId: z.ZodString;
|
|
394
|
+
basePrice: z.ZodOptional<z.ZodString>;
|
|
395
|
+
netPrice: z.ZodOptional<z.ZodString>;
|
|
396
|
+
}, z.core.$strip>>>;
|
|
361
397
|
}, z.core.$strip>>;
|
|
362
398
|
booking: z.ZodNullable<z.ZodType<import("..").Booking, unknown, z.core.$ZodTypeInternals<import("..").Booking, unknown>>>;
|
|
363
399
|
}, z.core.$strip>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrderOffers.d.ts","sourceRoot":"","sources":["../../src/schemas/OrderOffers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"OrderOffers.d.ts","sourceRoot":"","sources":["../../src/schemas/OrderOffers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Product.d.ts","sourceRoot":"","sources":["../../src/schemas/Product.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"Product.d.ts","sourceRoot":"","sources":["../../src/schemas/Product.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAqBzB,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,eAAO,MAAM,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAqF5C,CAAC"}
|
package/dist/schemas/Product.js
CHANGED
|
@@ -51,6 +51,8 @@ const Image_1 = require("./Image");
|
|
|
51
51
|
const Brand_1 = require("./Brand");
|
|
52
52
|
const PricingPer_1 = require("./PricingPer");
|
|
53
53
|
const GoogleOptions_1 = require("./GoogleOptions");
|
|
54
|
+
const GiftExpiryUnit_1 = require("./GiftExpiryUnit");
|
|
55
|
+
const MembershipRenewalPaymentMethod_1 = require("./MembershipRenewalPaymentMethod");
|
|
54
56
|
const CheckoutConfigPricingDisplay_1 = require("./CheckoutConfigPricingDisplay");
|
|
55
57
|
const Link_1 = require("./Link");
|
|
56
58
|
const AvailableLanguagesItem_1 = require("./AvailableLanguagesItem");
|
|
@@ -121,6 +123,12 @@ exports.productSchema = z.lazy(() => z.object({
|
|
|
121
123
|
packageProduct: z.boolean().optional(),
|
|
122
124
|
googleOptions: GoogleOptions_1.googleOptionsSchema.optional(),
|
|
123
125
|
isMembership: z.boolean().optional(),
|
|
126
|
+
membershipAutoRenew: z.boolean().optional(),
|
|
127
|
+
membershipDurationAmount: z.number().optional().nullable(),
|
|
128
|
+
membershipDurationUnit: GiftExpiryUnit_1.giftExpiryUnitSchema.optional().nullable(),
|
|
129
|
+
membershipRenewable: z.boolean().optional(),
|
|
130
|
+
membershipRenewalPaymentMethods: z.array(MembershipRenewalPaymentMethod_1.membershipRenewalPaymentMethodSchema).optional(),
|
|
131
|
+
membershipRenewalReminderDays: z.number().optional().nullable(),
|
|
124
132
|
isRental: z.boolean().optional(),
|
|
125
133
|
pricingDisplay: CheckoutConfigPricingDisplay_1.checkoutConfigPricingDisplaySchema.optional(),
|
|
126
134
|
outstandingBalanceShortDescription: z.string().optional(),
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
export declare const productMembershipsSchema: z.ZodObject<{
|
|
3
3
|
isMembership: z.ZodOptional<z.ZodBoolean>;
|
|
4
|
+
membershipAutoRenew: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
+
membershipDurationAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
6
|
+
membershipDurationUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("..").GiftExpiryUnit>>>;
|
|
7
|
+
membershipRenewable: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
membershipRenewalPaymentMethods: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import("..").MembershipRenewalPaymentMethod>>>;
|
|
9
|
+
membershipRenewalReminderDays: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
4
10
|
}, z.core.$strip>;
|
|
5
11
|
//# sourceMappingURL=ProductMemberships.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductMemberships.d.ts","sourceRoot":"","sources":["../../src/schemas/ProductMemberships.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"ProductMemberships.d.ts","sourceRoot":"","sources":["../../src/schemas/ProductMemberships.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,eAAO,MAAM,wBAAwB;;;;;;;;iBAQnC,CAAC"}
|
|
@@ -36,6 +36,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
36
36
|
exports.productMembershipsSchema = void 0;
|
|
37
37
|
// Generated by ts-to-zod
|
|
38
38
|
const z = __importStar(require("zod"));
|
|
39
|
+
const GiftExpiryUnit_1 = require("./GiftExpiryUnit");
|
|
40
|
+
const MembershipRenewalPaymentMethod_1 = require("./MembershipRenewalPaymentMethod");
|
|
39
41
|
exports.productMembershipsSchema = z.object({
|
|
40
42
|
isMembership: z.boolean().optional(),
|
|
43
|
+
membershipAutoRenew: z.boolean().optional(),
|
|
44
|
+
membershipDurationAmount: z.number().optional().nullable(),
|
|
45
|
+
membershipDurationUnit: GiftExpiryUnit_1.giftExpiryUnitSchema.optional().nullable(),
|
|
46
|
+
membershipRenewable: z.boolean().optional(),
|
|
47
|
+
membershipRenewalPaymentMethods: z.array(MembershipRenewalPaymentMethod_1.membershipRenewalPaymentMethodSchema).optional(),
|
|
48
|
+
membershipRenewalReminderDays: z.number().optional().nullable(),
|
|
41
49
|
});
|
|
@@ -667,6 +667,11 @@ export declare const redemptionLookupSchema: z.ZodObject<{
|
|
|
667
667
|
}, z.core.$strip>>>;
|
|
668
668
|
}, z.core.$strip>>>;
|
|
669
669
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
670
|
+
shortDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
671
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
672
|
+
durationAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
673
|
+
durationUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("..").DurationUnit>>>;
|
|
674
|
+
coverImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
670
675
|
}, z.core.$strip>>>;
|
|
671
676
|
membershipBenefit: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
672
677
|
id: z.ZodString;
|
|
@@ -674,6 +679,37 @@ export declare const redemptionLookupSchema: z.ZodObject<{
|
|
|
674
679
|
description: z.ZodString;
|
|
675
680
|
}, z.core.$strip>>>;
|
|
676
681
|
redemptionCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
682
|
+
pricingCategory: z.ZodOptional<z.ZodObject<{
|
|
683
|
+
category: z.ZodString;
|
|
684
|
+
minTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
685
|
+
maxTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
686
|
+
groupSizeMin: z.ZodNumber;
|
|
687
|
+
groupSizeMax: z.ZodNullable<z.ZodNumber>;
|
|
688
|
+
ageFrom: z.ZodNullable<z.ZodNumber>;
|
|
689
|
+
ageTo: z.ZodNullable<z.ZodNumber>;
|
|
690
|
+
bookingCategory: z.ZodEnum<typeof import("..").GetYourGuideBookingCategory>;
|
|
691
|
+
price: z.ZodArray<z.ZodObject<{
|
|
692
|
+
priceType: z.ZodEnum<typeof import("..").GetYourGuidePriceType>;
|
|
693
|
+
price: z.ZodNumber;
|
|
694
|
+
currency: z.ZodString;
|
|
695
|
+
}, z.core.$strip>>;
|
|
696
|
+
tiers: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
697
|
+
lowerBound: z.ZodNumber;
|
|
698
|
+
upperBound: z.ZodNumber;
|
|
699
|
+
price: z.ZodNumber;
|
|
700
|
+
currency: z.ZodString;
|
|
701
|
+
}, z.core.$strip>>>;
|
|
702
|
+
}, z.core.$strip>>;
|
|
703
|
+
ticketTypePrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
704
|
+
ticketType: z.ZodEnum<typeof import("..").ExpediaTicketType>;
|
|
705
|
+
minimumAge: z.ZodNumber;
|
|
706
|
+
maximumAge: z.ZodNumber;
|
|
707
|
+
minimumGroupSize: z.ZodNumber;
|
|
708
|
+
maximumGroupSize: z.ZodNumber;
|
|
709
|
+
partnerTicketTypeId: z.ZodString;
|
|
710
|
+
basePrice: z.ZodOptional<z.ZodString>;
|
|
711
|
+
netPrice: z.ZodOptional<z.ZodString>;
|
|
712
|
+
}, z.core.$strip>>>;
|
|
677
713
|
}, z.core.$strip>;
|
|
678
714
|
weightValue: z.ZodNumber;
|
|
679
715
|
weightUnit: z.ZodString;
|
|
@@ -943,6 +979,11 @@ export declare const redemptionLookupSchema: z.ZodObject<{
|
|
|
943
979
|
}, z.core.$strip>>>;
|
|
944
980
|
}, z.core.$strip>>>;
|
|
945
981
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
982
|
+
shortDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
983
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
984
|
+
durationAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
985
|
+
durationUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("..").DurationUnit>>>;
|
|
986
|
+
coverImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
946
987
|
}, z.core.$strip>;
|
|
947
988
|
pricing: z.ZodObject<{
|
|
948
989
|
original: z.ZodNumber;
|
|
@@ -1526,6 +1567,11 @@ export declare const redemptionLookupSchema: z.ZodObject<{
|
|
|
1526
1567
|
}, z.core.$strip>>>;
|
|
1527
1568
|
}, z.core.$strip>>>;
|
|
1528
1569
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1570
|
+
shortDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1571
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1572
|
+
durationAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1573
|
+
durationUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("..").DurationUnit>>>;
|
|
1574
|
+
coverImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1529
1575
|
}, z.core.$strip>>>;
|
|
1530
1576
|
membershipBenefit: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1531
1577
|
id: z.ZodString;
|
|
@@ -1533,6 +1579,37 @@ export declare const redemptionLookupSchema: z.ZodObject<{
|
|
|
1533
1579
|
description: z.ZodString;
|
|
1534
1580
|
}, z.core.$strip>>>;
|
|
1535
1581
|
redemptionCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1582
|
+
pricingCategory: z.ZodOptional<z.ZodObject<{
|
|
1583
|
+
category: z.ZodString;
|
|
1584
|
+
minTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
1585
|
+
maxTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
1586
|
+
groupSizeMin: z.ZodNumber;
|
|
1587
|
+
groupSizeMax: z.ZodNullable<z.ZodNumber>;
|
|
1588
|
+
ageFrom: z.ZodNullable<z.ZodNumber>;
|
|
1589
|
+
ageTo: z.ZodNullable<z.ZodNumber>;
|
|
1590
|
+
bookingCategory: z.ZodEnum<typeof import("..").GetYourGuideBookingCategory>;
|
|
1591
|
+
price: z.ZodArray<z.ZodObject<{
|
|
1592
|
+
priceType: z.ZodEnum<typeof import("..").GetYourGuidePriceType>;
|
|
1593
|
+
price: z.ZodNumber;
|
|
1594
|
+
currency: z.ZodString;
|
|
1595
|
+
}, z.core.$strip>>;
|
|
1596
|
+
tiers: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1597
|
+
lowerBound: z.ZodNumber;
|
|
1598
|
+
upperBound: z.ZodNumber;
|
|
1599
|
+
price: z.ZodNumber;
|
|
1600
|
+
currency: z.ZodString;
|
|
1601
|
+
}, z.core.$strip>>>;
|
|
1602
|
+
}, z.core.$strip>>;
|
|
1603
|
+
ticketTypePrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1604
|
+
ticketType: z.ZodEnum<typeof import("..").ExpediaTicketType>;
|
|
1605
|
+
minimumAge: z.ZodNumber;
|
|
1606
|
+
maximumAge: z.ZodNumber;
|
|
1607
|
+
minimumGroupSize: z.ZodNumber;
|
|
1608
|
+
maximumGroupSize: z.ZodNumber;
|
|
1609
|
+
partnerTicketTypeId: z.ZodString;
|
|
1610
|
+
basePrice: z.ZodOptional<z.ZodString>;
|
|
1611
|
+
netPrice: z.ZodOptional<z.ZodString>;
|
|
1612
|
+
}, z.core.$strip>>>;
|
|
1536
1613
|
}, z.core.$strip>>;
|
|
1537
1614
|
}, z.core.$strip>>>;
|
|
1538
1615
|
offerIsCombination: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1800,6 +1877,11 @@ export declare const redemptionLookupSchema: z.ZodObject<{
|
|
|
1800
1877
|
}, z.core.$strip>>>;
|
|
1801
1878
|
}, z.core.$strip>>>;
|
|
1802
1879
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1880
|
+
shortDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1881
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1882
|
+
durationAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1883
|
+
durationUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("..").DurationUnit>>>;
|
|
1884
|
+
coverImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1803
1885
|
}, z.core.$strip>;
|
|
1804
1886
|
pricing: z.ZodObject<{
|
|
1805
1887
|
original: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RedemptionLookup.d.ts","sourceRoot":"","sources":["../../src/schemas/RedemptionLookup.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAuCzB,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"RedemptionLookup.d.ts","sourceRoot":"","sources":["../../src/schemas/RedemptionLookup.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAuCzB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqHjC,CAAC"}
|
package/dist/schemas/Unit.d.ts
CHANGED
|
@@ -290,6 +290,11 @@ export declare const unitSchema: z.ZodObject<{
|
|
|
290
290
|
}, z.core.$strip>>>;
|
|
291
291
|
}, z.core.$strip>>>;
|
|
292
292
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
293
|
+
shortDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
294
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
295
|
+
durationAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
296
|
+
durationUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("..").DurationUnit>>>;
|
|
297
|
+
coverImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
293
298
|
}, z.core.$strip>>>;
|
|
294
299
|
membershipBenefit: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
295
300
|
id: z.ZodString;
|
|
@@ -297,5 +302,36 @@ export declare const unitSchema: z.ZodObject<{
|
|
|
297
302
|
description: z.ZodString;
|
|
298
303
|
}, z.core.$strip>>>;
|
|
299
304
|
redemptionCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
305
|
+
pricingCategory: z.ZodOptional<z.ZodObject<{
|
|
306
|
+
category: z.ZodString;
|
|
307
|
+
minTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
308
|
+
maxTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
309
|
+
groupSizeMin: z.ZodNumber;
|
|
310
|
+
groupSizeMax: z.ZodNullable<z.ZodNumber>;
|
|
311
|
+
ageFrom: z.ZodNullable<z.ZodNumber>;
|
|
312
|
+
ageTo: z.ZodNullable<z.ZodNumber>;
|
|
313
|
+
bookingCategory: z.ZodEnum<typeof import("..").GetYourGuideBookingCategory>;
|
|
314
|
+
price: z.ZodArray<z.ZodObject<{
|
|
315
|
+
priceType: z.ZodEnum<typeof import("..").GetYourGuidePriceType>;
|
|
316
|
+
price: z.ZodNumber;
|
|
317
|
+
currency: z.ZodString;
|
|
318
|
+
}, z.core.$strip>>;
|
|
319
|
+
tiers: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
320
|
+
lowerBound: z.ZodNumber;
|
|
321
|
+
upperBound: z.ZodNumber;
|
|
322
|
+
price: z.ZodNumber;
|
|
323
|
+
currency: z.ZodString;
|
|
324
|
+
}, z.core.$strip>>>;
|
|
325
|
+
}, z.core.$strip>>;
|
|
326
|
+
ticketTypePrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
327
|
+
ticketType: z.ZodEnum<typeof import("..").ExpediaTicketType>;
|
|
328
|
+
minimumAge: z.ZodNumber;
|
|
329
|
+
maximumAge: z.ZodNumber;
|
|
330
|
+
minimumGroupSize: z.ZodNumber;
|
|
331
|
+
maximumGroupSize: z.ZodNumber;
|
|
332
|
+
partnerTicketTypeId: z.ZodString;
|
|
333
|
+
basePrice: z.ZodOptional<z.ZodString>;
|
|
334
|
+
netPrice: z.ZodOptional<z.ZodString>;
|
|
335
|
+
}, z.core.$strip>>>;
|
|
300
336
|
}, z.core.$strip>;
|
|
301
337
|
//# sourceMappingURL=Unit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Unit.d.ts","sourceRoot":"","sources":["../../src/schemas/Unit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"Unit.d.ts","sourceRoot":"","sources":["../../src/schemas/Unit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAWzB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoBrB,CAAC"}
|
package/dist/schemas/Unit.js
CHANGED
|
@@ -43,6 +43,8 @@ const Pricing_1 = require("./Pricing");
|
|
|
43
43
|
const Question_1 = require("./Question");
|
|
44
44
|
const Extra_1 = require("./Extra");
|
|
45
45
|
const MembershipBenefit_1 = require("./MembershipBenefit");
|
|
46
|
+
const GetYourGuidePricingCategory_1 = require("./GetYourGuidePricingCategory");
|
|
47
|
+
const ExpediaTicketTypePrice_1 = require("./ExpediaTicketTypePrice");
|
|
46
48
|
exports.unitSchema = z.object({
|
|
47
49
|
id: z.string(),
|
|
48
50
|
internalName: z.string(),
|
|
@@ -61,4 +63,6 @@ exports.unitSchema = z.object({
|
|
|
61
63
|
extras: z.array(Extra_1.extraSchema).optional(),
|
|
62
64
|
membershipBenefit: MembershipBenefit_1.membershipBenefitSchema.optional().nullable(),
|
|
63
65
|
redemptionCode: z.string().optional().nullable(),
|
|
66
|
+
pricingCategory: GetYourGuidePricingCategory_1.getYourGuidePricingCategorySchema.optional(),
|
|
67
|
+
ticketTypePrices: z.array(ExpediaTicketTypePrice_1.expediaTicketTypePriceSchema).optional(),
|
|
64
68
|
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
export declare const unitExpediaSchema: z.ZodObject<{
|
|
3
|
+
ticketTypePrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4
|
+
ticketType: z.ZodEnum<typeof import("..").ExpediaTicketType>;
|
|
5
|
+
minimumAge: z.ZodNumber;
|
|
6
|
+
maximumAge: z.ZodNumber;
|
|
7
|
+
minimumGroupSize: z.ZodNumber;
|
|
8
|
+
maximumGroupSize: z.ZodNumber;
|
|
9
|
+
partnerTicketTypeId: z.ZodString;
|
|
10
|
+
basePrice: z.ZodOptional<z.ZodString>;
|
|
11
|
+
netPrice: z.ZodOptional<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
//# sourceMappingURL=UnitExpedia.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnitExpedia.d.ts","sourceRoot":"","sources":["../../src/schemas/UnitExpedia.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,iBAAiB;;;;;;;;;;;iBAE5B,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.unitExpediaSchema = void 0;
|
|
37
|
+
// Generated by ts-to-zod
|
|
38
|
+
const z = __importStar(require("zod"));
|
|
39
|
+
const ExpediaTicketTypePrice_1 = require("./ExpediaTicketTypePrice");
|
|
40
|
+
exports.unitExpediaSchema = z.object({
|
|
41
|
+
ticketTypePrices: z.array(ExpediaTicketTypePrice_1.expediaTicketTypePriceSchema).optional(),
|
|
42
|
+
});
|
|
@@ -132,6 +132,11 @@ export declare const unitExtrasSchema: 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=UnitExtras.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnitExtras.d.ts","sourceRoot":"","sources":["../../src/schemas/UnitExtras.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"UnitExtras.d.ts","sourceRoot":"","sources":["../../src/schemas/UnitExtras.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE3B,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
export declare const unitGetYourGuideSchema: z.ZodObject<{
|
|
3
|
+
pricingCategory: z.ZodOptional<z.ZodObject<{
|
|
4
|
+
category: z.ZodString;
|
|
5
|
+
minTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
6
|
+
maxTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
7
|
+
groupSizeMin: z.ZodNumber;
|
|
8
|
+
groupSizeMax: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
ageFrom: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
ageTo: z.ZodNullable<z.ZodNumber>;
|
|
11
|
+
bookingCategory: z.ZodEnum<typeof import("..").GetYourGuideBookingCategory>;
|
|
12
|
+
price: z.ZodArray<z.ZodObject<{
|
|
13
|
+
priceType: z.ZodEnum<typeof import("..").GetYourGuidePriceType>;
|
|
14
|
+
price: z.ZodNumber;
|
|
15
|
+
currency: z.ZodString;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
tiers: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
18
|
+
lowerBound: z.ZodNumber;
|
|
19
|
+
upperBound: z.ZodNumber;
|
|
20
|
+
price: z.ZodNumber;
|
|
21
|
+
currency: z.ZodString;
|
|
22
|
+
}, z.core.$strip>>>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
//# sourceMappingURL=UnitGetYourGuide.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UnitGetYourGuide.d.ts","sourceRoot":"","sources":["../../src/schemas/UnitGetYourGuide.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;iBAEjC,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.unitGetYourGuideSchema = void 0;
|
|
37
|
+
// Generated by ts-to-zod
|
|
38
|
+
const z = __importStar(require("zod"));
|
|
39
|
+
const GetYourGuidePricingCategory_1 = require("./GetYourGuidePricingCategory");
|
|
40
|
+
exports.unitGetYourGuideSchema = z.object({
|
|
41
|
+
pricingCategory: GetYourGuidePricingCategory_1.getYourGuidePricingCategorySchema.optional(),
|
|
42
|
+
});
|
|
@@ -295,6 +295,11 @@ export declare const unitItemSchema: z.ZodObject<{
|
|
|
295
295
|
}, z.core.$strip>>>;
|
|
296
296
|
}, z.core.$strip>>>;
|
|
297
297
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
298
|
+
shortDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
299
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
300
|
+
durationAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
301
|
+
durationUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("..").DurationUnit>>>;
|
|
302
|
+
coverImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
298
303
|
}, z.core.$strip>>>;
|
|
299
304
|
membershipBenefit: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
300
305
|
id: z.ZodString;
|
|
@@ -302,6 +307,37 @@ export declare const unitItemSchema: z.ZodObject<{
|
|
|
302
307
|
description: z.ZodString;
|
|
303
308
|
}, z.core.$strip>>>;
|
|
304
309
|
redemptionCode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
310
|
+
pricingCategory: z.ZodOptional<z.ZodObject<{
|
|
311
|
+
category: z.ZodString;
|
|
312
|
+
minTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
313
|
+
maxTicketAmount: z.ZodNullable<z.ZodNumber>;
|
|
314
|
+
groupSizeMin: z.ZodNumber;
|
|
315
|
+
groupSizeMax: z.ZodNullable<z.ZodNumber>;
|
|
316
|
+
ageFrom: z.ZodNullable<z.ZodNumber>;
|
|
317
|
+
ageTo: z.ZodNullable<z.ZodNumber>;
|
|
318
|
+
bookingCategory: z.ZodEnum<typeof import("..").GetYourGuideBookingCategory>;
|
|
319
|
+
price: z.ZodArray<z.ZodObject<{
|
|
320
|
+
priceType: z.ZodEnum<typeof import("..").GetYourGuidePriceType>;
|
|
321
|
+
price: z.ZodNumber;
|
|
322
|
+
currency: z.ZodString;
|
|
323
|
+
}, z.core.$strip>>;
|
|
324
|
+
tiers: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
325
|
+
lowerBound: z.ZodNumber;
|
|
326
|
+
upperBound: z.ZodNumber;
|
|
327
|
+
price: z.ZodNumber;
|
|
328
|
+
currency: z.ZodString;
|
|
329
|
+
}, z.core.$strip>>>;
|
|
330
|
+
}, z.core.$strip>>;
|
|
331
|
+
ticketTypePrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
332
|
+
ticketType: z.ZodEnum<typeof import("..").ExpediaTicketType>;
|
|
333
|
+
minimumAge: z.ZodNumber;
|
|
334
|
+
maximumAge: z.ZodNumber;
|
|
335
|
+
minimumGroupSize: z.ZodNumber;
|
|
336
|
+
maximumGroupSize: z.ZodNumber;
|
|
337
|
+
partnerTicketTypeId: z.ZodString;
|
|
338
|
+
basePrice: z.ZodOptional<z.ZodString>;
|
|
339
|
+
netPrice: z.ZodOptional<z.ZodString>;
|
|
340
|
+
}, z.core.$strip>>>;
|
|
305
341
|
}, z.core.$strip>;
|
|
306
342
|
weightValue: z.ZodNumber;
|
|
307
343
|
weightUnit: z.ZodString;
|
|
@@ -571,6 +607,11 @@ export declare const unitItemSchema: z.ZodObject<{
|
|
|
571
607
|
}, z.core.$strip>>>;
|
|
572
608
|
}, z.core.$strip>>>;
|
|
573
609
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
610
|
+
shortDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
611
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
612
|
+
durationAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
613
|
+
durationUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("..").DurationUnit>>>;
|
|
614
|
+
coverImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
574
615
|
}, z.core.$strip>;
|
|
575
616
|
pricing: z.ZodObject<{
|
|
576
617
|
original: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnitItem.d.ts","sourceRoot":"","sources":["../../src/schemas/UnitItem.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAWzB,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"UnitItem.d.ts","sourceRoot":"","sources":["../../src/schemas/UnitItem.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAWzB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8BzB,CAAC"}
|
|
@@ -135,6 +135,11 @@ export declare const unitItemExtrasSchema: z.ZodObject<{
|
|
|
135
135
|
}, z.core.$strip>>>;
|
|
136
136
|
}, z.core.$strip>>>;
|
|
137
137
|
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
138
|
+
shortDescription: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
139
|
+
duration: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
140
|
+
durationAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
141
|
+
durationUnit: z.ZodNullable<z.ZodOptional<z.ZodEnum<typeof import("..").DurationUnit>>>;
|
|
142
|
+
coverImageUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
138
143
|
}, z.core.$strip>;
|
|
139
144
|
pricing: z.ZodObject<{
|
|
140
145
|
original: z.ZodNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnitItemExtras.d.ts","sourceRoot":"","sources":["../../src/schemas/UnitItemExtras.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"UnitItemExtras.d.ts","sourceRoot":"","sources":["../../src/schemas/UnitItemExtras.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAE/B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Via.d.ts","sourceRoot":"","sources":["../../src/schemas/Via.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,GAAG,EAAE,MAAM,eAAe,CAAC;AAEpC,eAAO,MAAM,SAAS,uBAAc,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.viaSchema = void 0;
|
|
37
|
+
// Generated by ts-to-zod
|
|
38
|
+
const z = __importStar(require("zod"));
|
|
39
|
+
const Via_1 = require("../models/Via");
|
|
40
|
+
exports.viaSchema = z.enum(Via_1.Via);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BookingAdjustment.d.ts","sourceRoot":"","sources":["../../src/schemas-mini/BookingAdjustment.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"BookingAdjustment.d.ts","sourceRoot":"","sources":["../../src/schemas-mini/BookingAdjustment.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAC;AAE9B,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,WAAW,CAAC,iBAAiB,CAI/B,CAAC"}
|