@ventrata/octo-types 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +473 -0
- package/dist/models/AdjustmentDiscount.d.ts +10 -0
- package/dist/models/AdjustmentPer.d.ts +8 -0
- package/dist/models/Agent.d.ts +18 -0
- package/dist/models/Availability.d.ts +134 -0
- package/dist/models/AvailabilityCalendarBody.d.ts +24 -0
- package/dist/models/AvailabilityCalendarErrorResponse.d.ts +2 -0
- package/dist/models/AvailabilityCalendarRequest.d.ts +4 -0
- package/dist/models/AvailabilityCheckBody.d.ts +28 -0
- package/dist/models/AvailabilityCheckErrorResponse.d.ts +2 -0
- package/dist/models/AvailabilityCheckRequest.d.ts +4 -0
- package/dist/models/AvailabilityContent.d.ts +32 -0
- package/dist/models/AvailabilityOffers.d.ts +19 -0
- package/dist/models/AvailabilityPickups.d.ts +18 -0
- package/dist/models/AvailabilityPricing.d.ts +12 -0
- package/dist/models/AvailabilityStatus.d.ts +7 -0
- package/dist/models/AvailabilityType.d.ts +4 -0
- package/dist/models/AvailabilityUnit.d.ts +12 -0
- package/dist/models/Booking.d.ts +281 -0
- package/dist/models/BookingAdjustment.d.ts +17 -0
- package/dist/models/BookingAdjustments.d.ts +7 -0
- package/dist/models/BookingCancellation.d.ts +15 -0
- package/dist/models/BookingCancellationBody.d.ts +2 -0
- package/dist/models/BookingCancellationErrorResponse.d.ts +2 -0
- package/dist/models/BookingCancellationRequest.d.ts +5 -0
- package/dist/models/BookingCart.d.ts +5 -0
- package/dist/models/BookingConfirmationBody.d.ts +20 -0
- package/dist/models/BookingConfirmationErrorResponse.d.ts +2 -0
- package/dist/models/BookingConfirmationRequest_uuid.d.ts +4 -0
- package/dist/models/BookingContact.d.ts +58 -0
- package/dist/models/BookingContent.d.ts +12 -0
- package/dist/models/BookingExtras.d.ts +4 -0
- package/dist/models/BookingGifts.d.ts +4 -0
- package/dist/models/BookingIdentities.d.ts +5 -0
- package/dist/models/BookingOffers.d.ts +22 -0
- package/dist/models/BookingPackages.d.ts +24 -0
- package/dist/models/BookingPickups.d.ts +29 -0
- package/dist/models/BookingPricing.d.ts +7 -0
- package/dist/models/BookingQuestions.d.ts +8 -0
- package/dist/models/BookingRejection.d.ts +10 -0
- package/dist/models/BookingReservationBody.d.ts +68 -0
- package/dist/models/BookingReservationErrorResponse.d.ts +2 -0
- package/dist/models/BookingReservationRequest.d.ts +4 -0
- package/dist/models/BookingResources.d.ts +7 -0
- package/dist/models/BookingStatus.d.ts +11 -0
- package/dist/models/BookingUpdateBody.d.ts +63 -0
- package/dist/models/BookingUpdateRequest.d.ts +4 -0
- package/dist/models/Brand.d.ts +17 -0
- package/dist/models/BrandContact.d.ts +7 -0
- package/dist/models/CancellationCutoffUnit.d.ts +5 -0
- package/dist/models/Capability.d.ts +23 -0
- package/dist/models/Category.d.ts +38 -0
- package/dist/models/ContactField.d.ts +11 -0
- package/dist/models/CreateWaitlistRequest.d.ts +11 -0
- package/dist/models/CustomerContact.d.ts +62 -0
- package/dist/models/DefaultableID.d.ts +6 -0
- package/dist/models/DeliveryFormat.d.ts +6 -0
- package/dist/models/DeliveryMethod.d.ts +4 -0
- package/dist/models/DeliveryOption.d.ts +17 -0
- package/dist/models/Destination.d.ts +86 -0
- package/dist/models/DestinationContact.d.ts +25 -0
- package/dist/models/DurationUnit.d.ts +5 -0
- package/dist/models/ExtendReservationBody.d.ts +2 -0
- package/dist/models/ExtendReservationErrorResponse.d.ts +2 -0
- package/dist/models/ExtendReservationRequest.d.ts +5 -0
- package/dist/models/Extra.d.ts +40 -0
- package/dist/models/ExtraItem.d.ts +20 -0
- package/dist/models/ExtraRestrictions.d.ts +18 -0
- package/dist/models/FAQ.d.ts +10 -0
- package/dist/models/Font.d.ts +14 -0
- package/dist/models/GetBookingRequest.d.ts +2 -0
- package/dist/models/GetBookingsRequest.d.ts +2 -0
- package/dist/models/GetProductRequest.d.ts +2 -0
- package/dist/models/GetProductsRequest.d.ts +2 -0
- package/dist/models/GetSupplierRequest.d.ts +2 -0
- package/dist/models/GetYourGuideActivateBody.d.ts +14 -0
- package/dist/models/GetYourGuideActivateRequest.d.ts +4 -0
- package/dist/models/GetYourGuideActivateRequestHeaders_octoCapabilities.d.ts +4 -0
- package/dist/models/GetYourGuideConnection.d.ts +31 -0
- package/dist/models/Gift.d.ts +50 -0
- package/dist/models/GiftIdentities.d.ts +5 -0
- package/dist/models/GiftPayment.d.ts +5 -0
- package/dist/models/GoogleLocalizedText.d.ts +10 -0
- package/dist/models/GoogleLocation.d.ts +11 -0
- package/dist/models/GoogleOperator.d.ts +22 -0
- package/dist/models/GoogleOptionCategory.d.ts +6 -0
- package/dist/models/GoogleOptions.d.ts +35 -0
- package/dist/models/GoogleRating.d.ts +10 -0
- package/dist/models/GoogleRelatedLocation.d.ts +17 -0
- package/dist/models/GoogleUrl.d.ts +6 -0
- package/dist/models/Identity.d.ts +7 -0
- package/dist/models/Image.d.ts +5 -0
- package/dist/models/Include.d.ts +28 -0
- package/dist/models/ItineraryItem.d.ts +60 -0
- package/dist/models/ItineraryItemType.d.ts +6 -0
- package/dist/models/Label.d.ts +4 -0
- package/dist/models/ListOrdersRequest.d.ts +10 -0
- package/dist/models/Mapping.d.ts +51 -0
- package/dist/models/MediaRel.d.ts +5 -0
- package/dist/models/MediaType.d.ts +8 -0
- package/dist/models/NetDiscount.d.ts +6 -0
- package/dist/models/Notice.d.ts +6 -0
- package/dist/models/Octo_AvailabilityCalendar.d.ts +45 -0
- package/dist/models/Octo_AvailabilityCalendarErrorResponse.d.ts +9 -0
- package/dist/models/Octo_AvailabilityCheckErrorResponse.d.ts +9 -0
- package/dist/models/Octo_BaseError.d.ts +10 -0
- package/dist/models/Octo_BookingCancellationBody.d.ts +10 -0
- package/dist/models/Octo_BookingCancellationErrorResponse.d.ts +8 -0
- package/dist/models/Octo_BookingCancellationRequest.d.ts +8 -0
- package/dist/models/Octo_BookingCancellationRequest_uuid.d.ts +4 -0
- package/dist/models/Octo_BookingConfirmationErrorResponse.d.ts +12 -0
- package/dist/models/Octo_BookingReservationErrorResponse.d.ts +11 -0
- package/dist/models/Octo_ErrorBadRequest.d.ts +2 -0
- package/dist/models/Octo_ErrorForbidden.d.ts +2 -0
- package/dist/models/Octo_ErrorInternalServerError.d.ts +2 -0
- package/dist/models/Octo_ErrorInvalidAvailabilityID.d.ts +7 -0
- package/dist/models/Octo_ErrorInvalidBookingUUID.d.ts +7 -0
- package/dist/models/Octo_ErrorInvalidOptionID.d.ts +7 -0
- package/dist/models/Octo_ErrorInvalidProductID.d.ts +7 -0
- package/dist/models/Octo_ErrorInvalidUnitID.d.ts +7 -0
- package/dist/models/Octo_ErrorUnauthorized.d.ts +2 -0
- package/dist/models/Octo_ErrorUnprocessableEntity.d.ts +2 -0
- package/dist/models/Octo_ExtendReservationBody.d.ts +3 -0
- package/dist/models/Octo_ExtendReservationErrorResponse.d.ts +8 -0
- package/dist/models/Octo_ExtendReservationRequest.d.ts +8 -0
- package/dist/models/Octo_ExtendReservationRequest_uuid.d.ts +4 -0
- package/dist/models/Octo_GetBookingRequest.d.ts +6 -0
- package/dist/models/Octo_GetBookingRequest_uuid.d.ts +4 -0
- package/dist/models/Octo_GetBookingsRequest.d.ts +30 -0
- package/dist/models/Octo_GetBookingsRequest_localDate.d.ts +4 -0
- package/dist/models/Octo_GetBookingsRequest_localDateEnd.d.ts +4 -0
- package/dist/models/Octo_GetBookingsRequest_localDateStart.d.ts +4 -0
- package/dist/models/Octo_GetBookingsRequest_optionId.d.ts +4 -0
- package/dist/models/Octo_GetBookingsRequest_productId.d.ts +4 -0
- package/dist/models/Octo_GetBookingsRequest_resellerReference.d.ts +4 -0
- package/dist/models/Octo_GetBookingsRequest_supplierReference.d.ts +4 -0
- package/dist/models/Octo_GetProductRequest.d.ts +6 -0
- package/dist/models/Octo_GetProductRequest_id.d.ts +4 -0
- package/dist/models/Octo_GetProductsRequest.d.ts +1 -0
- package/dist/models/Octo_GetSupplierRequest.d.ts +1 -0
- package/dist/models/Octo_Media.d.ts +35 -0
- package/dist/models/Octo_OpeningHours.d.ts +13 -0
- package/dist/models/Octo_Pricing.d.ts +27 -0
- package/dist/models/Octo_PricingUnit.d.ts +7 -0
- package/dist/models/Octo_RequestHeaders.d.ts +1 -0
- package/dist/models/Octo_RequestHeadersContent.d.ts +4 -0
- package/dist/models/Octo_RequestHeaders_octoCapabilities.d.ts +4 -0
- package/dist/models/Octo_ResponseHeaders.d.ts +1 -0
- package/dist/models/Octo_Tax.d.ts +15 -0
- package/dist/models/Offer.d.ts +28 -0
- package/dist/models/OfferCombination.d.ts +37 -0
- package/dist/models/OfferComparison.d.ts +29 -0
- package/dist/models/OfferDiscount.d.ts +15 -0
- package/dist/models/OfferRestrictions.d.ts +22 -0
- package/dist/models/OpeningHours.d.ts +25 -0
- package/dist/models/OpeningHoursContent.d.ts +14 -0
- package/dist/models/Option.d.ts +156 -0
- package/dist/models/OptionContent.d.ts +55 -0
- package/dist/models/OptionExtras.d.ts +4 -0
- package/dist/models/OptionPackages.d.ts +4 -0
- package/dist/models/OptionPickups.d.ts +18 -0
- package/dist/models/OptionQuestions.d.ts +7 -0
- package/dist/models/OptionRestrictions.d.ts +18 -0
- package/dist/models/Order.d.ts +36 -0
- package/dist/models/OrderGifts.d.ts +4 -0
- package/dist/models/OrderIdentities.d.ts +5 -0
- package/dist/models/OrderOffers.d.ts +4 -0
- package/dist/models/PackageInclude.d.ts +15 -0
- package/dist/models/Partner.d.ts +11 -0
- package/dist/models/PartnerEnum.d.ts +3 -0
- package/dist/models/PartnersConnection.d.ts +14 -0
- package/dist/models/PartnersListConnection.d.ts +17 -0
- package/dist/models/PartnersListConnectionsRequest.d.ts +1 -0
- package/dist/models/PartnersListConnectionsRequestHeaders.d.ts +2 -0
- package/dist/models/PartnersListConnectionsRequestHeaders_octoCapabilities.d.ts +4 -0
- package/dist/models/PartnersListConnectionsRequestHeaders_ventrataPartnerKey.d.ts +1 -0
- package/dist/models/PickupPoint.d.ts +62 -0
- package/dist/models/Point.d.ts +21 -0
- package/dist/models/PointGroup.d.ts +18 -0
- package/dist/models/Pricing.d.ts +30 -0
- package/dist/models/PricingExtras.d.ts +3 -0
- package/dist/models/PricingOffers.d.ts +4 -0
- package/dist/models/PricingPer.d.ts +4 -0
- package/dist/models/PricingUnit.d.ts +33 -0
- package/dist/models/PricingUnitExtras.d.ts +4 -0
- package/dist/models/Product.d.ts +192 -0
- package/dist/models/ProductContent.d.ts +95 -0
- package/dist/models/ProductGoogle.d.ts +4 -0
- package/dist/models/ProductPackages.d.ts +4 -0
- package/dist/models/ProductPricing.d.ts +16 -0
- package/dist/models/Question.d.ts +43 -0
- package/dist/models/QuestionAnswer.d.ts +51 -0
- package/dist/models/QuestionInputType.d.ts +5 -0
- package/dist/models/RedemptionMethod.d.ts +5 -0
- package/dist/models/Refund.d.ts +5 -0
- package/dist/models/RequestHeaders.d.ts +2 -0
- package/dist/models/Reseller.d.ts +18 -0
- package/dist/models/ResellerStatus.d.ts +5 -0
- package/dist/models/Resource.d.ts +19 -0
- package/dist/models/ResourceAllocation.d.ts +37 -0
- package/dist/models/ResourceGroup.d.ts +14 -0
- package/dist/models/ResponseHeaders.d.ts +2 -0
- package/dist/models/Seat.d.ts +18 -0
- package/dist/models/SelectOption.d.ts +10 -0
- package/dist/models/Seller.d.ts +8 -0
- package/dist/models/SettlementMethod.d.ts +7 -0
- package/dist/models/Supplier.d.ts +31 -0
- package/dist/models/SupplierContact.d.ts +18 -0
- package/dist/models/SupplierContent.d.ts +5 -0
- package/dist/models/Tax.d.ts +16 -0
- package/dist/models/Ticket.d.ts +24 -0
- package/dist/models/TourGroup.d.ts +14 -0
- package/dist/models/UUID.d.ts +1 -0
- package/dist/models/Unit.d.ts +74 -0
- package/dist/models/UnitContent.d.ts +14 -0
- package/dist/models/UnitExtras.d.ts +4 -0
- package/dist/models/UnitItem.d.ts +85 -0
- package/dist/models/UnitItemIdentifier.d.ts +19 -0
- package/dist/models/UnitItemPricing.d.ts +7 -0
- package/dist/models/UnitItemQuestions.d.ts +7 -0
- package/dist/models/UnitPricing.d.ts +11 -0
- package/dist/models/UnitQuestions.d.ts +7 -0
- package/dist/models/UnitRestrictions.d.ts +59 -0
- package/dist/models/UnitType.d.ts +11 -0
- package/dist/models/User.d.ts +8 -0
- package/dist/models/Waitlist.d.ts +11 -0
- package/dist/models/WaitlistUnitIdentifier.d.ts +4 -0
- package/dist/models/WaitlistUnitItemIdentifier.d.ts +4 -0
- package/dist/models/Webhook.d.ts +32 -0
- package/dist/models/WebhookEvent.d.ts +4 -0
- package/dist/models/WhoIAm.d.ts +14 -0
- package/dist/models/WhoIAmRequest.d.ts +1 -0
- package/dist/schemas/AdjustmentDiscount.d.ts +3 -0
- package/dist/schemas/AdjustmentPer.d.ts +3 -0
- package/dist/schemas/Agent.d.ts +17 -0
- package/dist/schemas/Availability.d.ts +894 -0
- package/dist/schemas/AvailabilityCalendarBody.d.ts +43 -0
- package/dist/schemas/AvailabilityCalendarErrorResponse.d.ts +99 -0
- package/dist/schemas/AvailabilityCalendarRequest.d.ts +71 -0
- package/dist/schemas/AvailabilityCheckBody.d.ts +46 -0
- package/dist/schemas/AvailabilityCheckErrorResponse.d.ts +99 -0
- package/dist/schemas/AvailabilityCheckRequest.d.ts +76 -0
- package/dist/schemas/AvailabilityContent.d.ts +71 -0
- package/dist/schemas/AvailabilityOffers.d.ts +171 -0
- package/dist/schemas/AvailabilityPickups.d.ts +94 -0
- package/dist/schemas/AvailabilityPricing.d.ts +486 -0
- package/dist/schemas/AvailabilityStatus.d.ts +3 -0
- package/dist/schemas/AvailabilityType.d.ts +3 -0
- package/dist/schemas/AvailabilityUnit.d.ts +14 -0
- package/dist/schemas/Booking.d.ts +3 -0
- package/dist/schemas/BookingAdjustment.d.ts +17 -0
- package/dist/schemas/BookingAdjustments.d.ts +33 -0
- package/dist/schemas/BookingCancellation.d.ts +14 -0
- package/dist/schemas/BookingCancellationBody.d.ts +10 -0
- package/dist/schemas/BookingCancellationErrorResponse.d.ts +74 -0
- package/dist/schemas/BookingCancellationRequest.d.ts +47 -0
- package/dist/schemas/BookingCart.d.ts +14 -0
- package/dist/schemas/BookingConfirmationBody.d.ts +122 -0
- package/dist/schemas/BookingConfirmationErrorResponse.d.ts +174 -0
- package/dist/schemas/BookingConfirmationRequest.d.ts +305 -0
- package/dist/schemas/BookingConfirmationRequest_uuid.d.ts +2 -0
- package/dist/schemas/BookingContact.d.ts +47 -0
- package/dist/schemas/BookingContent.d.ts +54 -0
- package/dist/schemas/BookingExtras.d.ts +905 -0
- package/dist/schemas/BookingGifts.d.ts +28 -0
- package/dist/schemas/BookingIdentities.d.ts +26 -0
- package/dist/schemas/BookingOffers.d.ts +2158 -0
- package/dist/schemas/BookingPackages.d.ts +62 -0
- package/dist/schemas/BookingPickups.d.ts +103 -0
- package/dist/schemas/BookingPricing.d.ts +177 -0
- package/dist/schemas/BookingQuestions.d.ts +104 -0
- package/dist/schemas/BookingRejection.d.ts +11 -0
- package/dist/schemas/BookingReservationBody.d.ts +164 -0
- package/dist/schemas/BookingReservationErrorResponse.d.ts +149 -0
- package/dist/schemas/BookingReservationRequest.d.ts +250 -0
- package/dist/schemas/BookingResources.d.ts +196 -0
- package/dist/schemas/BookingStatus.d.ts +3 -0
- package/dist/schemas/BookingUpdateBody.d.ts +158 -0
- package/dist/schemas/BookingUpdateRequest.d.ts +240 -0
- package/dist/schemas/Brand.d.ts +179 -0
- package/dist/schemas/BrandContact.d.ts +20 -0
- package/dist/schemas/CancellationCutoffUnit.d.ts +3 -0
- package/dist/schemas/Capability.d.ts +3 -0
- package/dist/schemas/Category.d.ts +32 -0
- package/dist/schemas/ContactField.d.ts +3 -0
- package/dist/schemas/CreateWaitlistRequest.d.ts +113 -0
- package/dist/schemas/CustomerContact.d.ts +50 -0
- package/dist/schemas/DefaultableID.d.ts +2 -0
- package/dist/schemas/DeliveryFormat.d.ts +3 -0
- package/dist/schemas/DeliveryMethod.d.ts +3 -0
- package/dist/schemas/DeliveryOption.d.ts +11 -0
- package/dist/schemas/Destination.d.ts +182 -0
- package/dist/schemas/DestinationContact.d.ts +20 -0
- package/dist/schemas/DurationUnit.d.ts +3 -0
- package/dist/schemas/ExtendReservationBody.d.ts +7 -0
- package/dist/schemas/ExtendReservationErrorResponse.d.ts +74 -0
- package/dist/schemas/ExtendReservationRequest.d.ts +37 -0
- package/dist/schemas/Extra.d.ts +395 -0
- package/dist/schemas/ExtraItem.d.ts +709 -0
- package/dist/schemas/ExtraRestrictions.d.ts +17 -0
- package/dist/schemas/FAQ.d.ts +11 -0
- package/dist/schemas/Font.d.ts +23 -0
- package/dist/schemas/GetBookingRequest.d.ts +7 -0
- package/dist/schemas/GetBookingsRequest.d.ts +25 -0
- package/dist/schemas/GetProductRequest.d.ts +7 -0
- package/dist/schemas/GetProductsRequest.d.ts +1 -0
- package/dist/schemas/GetSupplierRequest.d.ts +1 -0
- package/dist/schemas/GetYourGuideActivateBody.d.ts +14 -0
- package/dist/schemas/GetYourGuideActivateRequest.d.ts +28 -0
- package/dist/schemas/GetYourGuideActivateRequestHeaders.d.ts +2 -0
- package/dist/schemas/GetYourGuideActivateRequestHeaders_octoCapabilities.d.ts +2 -0
- package/dist/schemas/GetYourGuideConnection.d.ts +38 -0
- package/dist/schemas/Gift.d.ts +657 -0
- package/dist/schemas/GiftIdentities.d.ts +26 -0
- package/dist/schemas/GiftPayment.d.ts +14 -0
- package/dist/schemas/GoogleLocalizedText.d.ts +11 -0
- package/dist/schemas/GoogleLocation.d.ts +18 -0
- package/dist/schemas/GoogleOperator.d.ts +72 -0
- package/dist/schemas/GoogleOptionCategory.d.ts +8 -0
- package/dist/schemas/GoogleOptions.d.ts +216 -0
- package/dist/schemas/GoogleRating.d.ts +11 -0
- package/dist/schemas/GoogleRelatedLocation.d.ts +35 -0
- package/dist/schemas/GoogleUrl.d.ts +8 -0
- package/dist/schemas/Identity.d.ts +11 -0
- package/dist/schemas/Image.d.ts +14 -0
- package/dist/schemas/Include.d.ts +29 -0
- package/dist/schemas/ItineraryItem.d.ts +44 -0
- package/dist/schemas/ItineraryItemType.d.ts +3 -0
- package/dist/schemas/Label.d.ts +11 -0
- package/dist/schemas/ListOrdersRequest.d.ts +29 -0
- package/dist/schemas/Mapping.d.ts +41 -0
- package/dist/schemas/MediaRel.d.ts +3 -0
- package/dist/schemas/MediaType.d.ts +3 -0
- package/dist/schemas/NetDiscount.d.ts +3 -0
- package/dist/schemas/Notice.d.ts +17 -0
- package/dist/schemas/Octo_AvailabilityCalendar.d.ts +194 -0
- package/dist/schemas/Octo_AvailabilityCalendarBody.d.ts +38 -0
- package/dist/schemas/Octo_AvailabilityCalendarErrorResponse.d.ts +100 -0
- package/dist/schemas/Octo_AvailabilityCalendarRequest.d.ts +64 -0
- package/dist/schemas/Octo_AvailabilityCheckBody.d.ts +41 -0
- package/dist/schemas/Octo_AvailabilityCheckErrorResponse.d.ts +100 -0
- package/dist/schemas/Octo_AvailabilityCheckRequest.d.ts +69 -0
- package/dist/schemas/Octo_AvailabilityUnit.d.ts +11 -0
- package/dist/schemas/Octo_BaseError.d.ts +11 -0
- package/dist/schemas/Octo_BookingCancellationBody.d.ts +11 -0
- package/dist/schemas/Octo_BookingCancellationErrorResponse.d.ts +75 -0
- package/dist/schemas/Octo_BookingCancellationRequest.d.ts +26 -0
- package/dist/schemas/Octo_BookingCancellationRequest_uuid.d.ts +2 -0
- package/dist/schemas/Octo_BookingConfirmationBody.d.ts +82 -0
- package/dist/schemas/Octo_BookingConfirmationErrorResponse.d.ts +175 -0
- package/dist/schemas/Octo_BookingConfirmationRequest.d.ts +127 -0
- package/dist/schemas/Octo_BookingConfirmationRequest_uuid.d.ts +2 -0
- package/dist/schemas/Octo_BookingContact.d.ts +32 -0
- package/dist/schemas/Octo_BookingReservationBody.d.ts +44 -0
- package/dist/schemas/Octo_BookingReservationErrorResponse.d.ts +150 -0
- package/dist/schemas/Octo_BookingReservationRequest.d.ts +74 -0
- package/dist/schemas/Octo_BookingUnitItem.d.ts +11 -0
- package/dist/schemas/Octo_ErrorBadRequest.d.ts +10 -0
- package/dist/schemas/Octo_ErrorForbidden.d.ts +10 -0
- package/dist/schemas/Octo_ErrorInternalServerError.d.ts +10 -0
- package/dist/schemas/Octo_ErrorInvalidAvailabilityID.d.ts +17 -0
- package/dist/schemas/Octo_ErrorInvalidBookingUUID.d.ts +17 -0
- package/dist/schemas/Octo_ErrorInvalidOptionID.d.ts +17 -0
- package/dist/schemas/Octo_ErrorInvalidProductID.d.ts +17 -0
- package/dist/schemas/Octo_ErrorInvalidUnitID.d.ts +17 -0
- package/dist/schemas/Octo_ErrorUnauthorized.d.ts +10 -0
- package/dist/schemas/Octo_ErrorUnprocessableEntity.d.ts +10 -0
- package/dist/schemas/Octo_ExtendReservationBody.d.ts +8 -0
- package/dist/schemas/Octo_ExtendReservationErrorResponse.d.ts +75 -0
- package/dist/schemas/Octo_ExtendReservationRequest.d.ts +21 -0
- package/dist/schemas/Octo_ExtendReservationRequest_uuid.d.ts +2 -0
- package/dist/schemas/Octo_GetBookingRequest.d.ts +8 -0
- package/dist/schemas/Octo_GetBookingRequest_uuid.d.ts +2 -0
- package/dist/schemas/Octo_GetBookingsRequest.d.ts +26 -0
- package/dist/schemas/Octo_GetBookingsRequest_localDate.d.ts +2 -0
- package/dist/schemas/Octo_GetBookingsRequest_localDateEnd.d.ts +2 -0
- package/dist/schemas/Octo_GetBookingsRequest_localDateStart.d.ts +2 -0
- package/dist/schemas/Octo_GetBookingsRequest_optionId.d.ts +2 -0
- package/dist/schemas/Octo_GetBookingsRequest_productId.d.ts +2 -0
- package/dist/schemas/Octo_GetBookingsRequest_resellerReference.d.ts +2 -0
- package/dist/schemas/Octo_GetBookingsRequest_supplierReference.d.ts +2 -0
- package/dist/schemas/Octo_GetProductRequest.d.ts +8 -0
- package/dist/schemas/Octo_GetProductRequest_id.d.ts +2 -0
- package/dist/schemas/Octo_GetProductsRequest.d.ts +2 -0
- package/dist/schemas/Octo_GetSupplierRequest.d.ts +2 -0
- package/dist/schemas/Octo_Media.d.ts +23 -0
- package/dist/schemas/Octo_OpeningHours.d.ts +11 -0
- package/dist/schemas/Octo_Pricing.d.ts +48 -0
- package/dist/schemas/Octo_PricingUnit.d.ts +54 -0
- package/dist/schemas/Octo_RequestHeaders.d.ts +2 -0
- package/dist/schemas/Octo_RequestHeadersContent.d.ts +2 -0
- package/dist/schemas/Octo_RequestHeaders_octoCapabilities.d.ts +2 -0
- package/dist/schemas/Octo_ResponseHeaders.d.ts +2 -0
- package/dist/schemas/Octo_Tax.d.ts +17 -0
- package/dist/schemas/Offer.d.ts +53 -0
- package/dist/schemas/OfferCombination.d.ts +1599 -0
- package/dist/schemas/OfferComparison.d.ts +1593 -0
- package/dist/schemas/OfferDiscount.d.ts +44 -0
- package/dist/schemas/OfferRestrictions.d.ts +20 -0
- package/dist/schemas/OpeningHours.d.ts +20 -0
- package/dist/schemas/OpeningHoursContent.d.ts +14 -0
- package/dist/schemas/Option.d.ts +3 -0
- package/dist/schemas/OptionContent.d.ts +238 -0
- package/dist/schemas/OptionExtras.d.ts +531 -0
- package/dist/schemas/OptionPackages.d.ts +91 -0
- package/dist/schemas/OptionPickups.d.ts +94 -0
- package/dist/schemas/OptionQuestions.d.ts +94 -0
- package/dist/schemas/OptionRestrictions.d.ts +17 -0
- package/dist/schemas/Order.d.ts +2300 -0
- package/dist/schemas/OrderGifts.d.ts +28 -0
- package/dist/schemas/OrderIdentities.d.ts +26 -0
- package/dist/schemas/OrderOffers.d.ts +1999 -0
- package/dist/schemas/PackageInclude.d.ts +59 -0
- package/dist/schemas/Partner.d.ts +11 -0
- package/dist/schemas/PartnerEnum.d.ts +3 -0
- package/dist/schemas/PartnersConnection.d.ts +14 -0
- package/dist/schemas/PartnersListConnection.d.ts +587 -0
- package/dist/schemas/PartnersListConnectionsRequest.d.ts +2 -0
- package/dist/schemas/PartnersListConnectionsRequestHeaders.d.ts +1 -0
- package/dist/schemas/PartnersListConnectionsRequestHeaders_octoCapabilities.d.ts +2 -0
- package/dist/schemas/PartnersListConnectionsRequestHeaders_ventrataPartnerKey.d.ts +2 -0
- package/dist/schemas/PickupPoint.d.ts +50 -0
- package/dist/schemas/Point.d.ts +45 -0
- package/dist/schemas/PointGroup.d.ts +17 -0
- package/dist/schemas/Pricing.d.ts +121 -0
- package/dist/schemas/PricingExtras.d.ts +8 -0
- package/dist/schemas/PricingOffers.d.ts +70 -0
- package/dist/schemas/PricingPer.d.ts +3 -0
- package/dist/schemas/PricingUnit.d.ts +228 -0
- package/dist/schemas/PricingUnitExtras.d.ts +177 -0
- package/dist/schemas/Product.d.ts +3 -0
- package/dist/schemas/ProductContent.d.ts +725 -0
- package/dist/schemas/ProductGoogle.d.ts +298 -0
- package/dist/schemas/ProductPackages.d.ts +11 -0
- package/dist/schemas/ProductPricing.d.ts +17 -0
- package/dist/schemas/Question.d.ts +56 -0
- package/dist/schemas/QuestionAnswer.d.ts +62 -0
- package/dist/schemas/QuestionInputType.d.ts +3 -0
- package/dist/schemas/RedemptionMethod.d.ts +3 -0
- package/dist/schemas/Refund.d.ts +3 -0
- package/dist/schemas/RequestHeaders.d.ts +1 -0
- package/dist/schemas/Reseller.d.ts +17 -0
- package/dist/schemas/ResellerStatus.d.ts +3 -0
- package/dist/schemas/Resource.d.ts +42 -0
- package/dist/schemas/ResourceAllocation.d.ts +134 -0
- package/dist/schemas/ResourceGroup.d.ts +14 -0
- package/dist/schemas/ResponseHeaders.d.ts +1 -0
- package/dist/schemas/Seat.d.ts +17 -0
- package/dist/schemas/SelectOption.d.ts +11 -0
- package/dist/schemas/Seller.d.ts +23 -0
- package/dist/schemas/SettlementMethod.d.ts +3 -0
- package/dist/schemas/Supplier.d.ts +361 -0
- package/dist/schemas/SupplierContact.d.ts +17 -0
- package/dist/schemas/SupplierContent.d.ts +283 -0
- package/dist/schemas/Tax.d.ts +20 -0
- package/dist/schemas/Ticket.d.ts +32 -0
- package/dist/schemas/TourGroup.d.ts +14 -0
- package/dist/schemas/UUID.d.ts +2 -0
- package/dist/schemas/Unit.d.ts +1077 -0
- package/dist/schemas/UnitContent.d.ts +14 -0
- package/dist/schemas/UnitExtras.d.ts +531 -0
- package/dist/schemas/UnitItem.d.ts +1863 -0
- package/dist/schemas/UnitItemIdentifier.d.ts +20 -0
- package/dist/schemas/UnitItemPricing.d.ts +177 -0
- package/dist/schemas/UnitItemQuestions.d.ts +104 -0
- package/dist/schemas/UnitPricing.d.ts +349 -0
- package/dist/schemas/UnitQuestions.d.ts +94 -0
- package/dist/schemas/UnitRestrictions.d.ts +50 -0
- package/dist/schemas/UnitType.d.ts +3 -0
- package/dist/schemas/User.d.ts +23 -0
- package/dist/schemas/Waitlist.d.ts +118 -0
- package/dist/schemas/WaitlistUnitIdentifier.d.ts +11 -0
- package/dist/schemas/WaitlistUnitItemIdentifier.d.ts +11 -0
- package/dist/schemas/Webhook.d.ts +26 -0
- package/dist/schemas/WebhookEvent.d.ts +3 -0
- package/dist/schemas/WhoIAm.d.ts +639 -0
- package/dist/schemas/WhoIAmRequest.d.ts +2 -0
- package/package.json +50 -9
- package/README.md +0 -1
- package/indes.js +0 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { Category } from './Category';
|
|
2
|
+
import type { DestinationContact } from './DestinationContact';
|
|
3
|
+
import type { Notice } from './Notice';
|
|
4
|
+
export type Destination = {
|
|
5
|
+
/**
|
|
6
|
+
* Unique identifier used in the platform to represent the destination.
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* TRUE` identifies the destination as default, and should therefore rendered and selected first
|
|
11
|
+
*/
|
|
12
|
+
default: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* The name of the destination.
|
|
15
|
+
*/
|
|
16
|
+
name: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* The title of the destination.
|
|
19
|
+
*/
|
|
20
|
+
title: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* The description of the destination.
|
|
23
|
+
*/
|
|
24
|
+
shortDescription: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* `TRUE` identifies the destination as featured, and should therefore rendered and selected first
|
|
27
|
+
*/
|
|
28
|
+
featured: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* The country the destination is in
|
|
31
|
+
*/
|
|
32
|
+
country: string | null;
|
|
33
|
+
contact: DestinationContact;
|
|
34
|
+
/**
|
|
35
|
+
* The latitude of the destination.
|
|
36
|
+
*/
|
|
37
|
+
latitude: number | null;
|
|
38
|
+
/**
|
|
39
|
+
* The longitude of the destination.
|
|
40
|
+
*/
|
|
41
|
+
longitude: number | null;
|
|
42
|
+
/**
|
|
43
|
+
* The Google Place ID for the destination.
|
|
44
|
+
*/
|
|
45
|
+
googlePlaceId: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* The URL of the image that represents the destination.
|
|
48
|
+
*/
|
|
49
|
+
bannerImageUrl: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* The URL of the image that represents the destination.
|
|
52
|
+
*/
|
|
53
|
+
coverImageUrl: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* The URL of the video that represents the destination.
|
|
56
|
+
*/
|
|
57
|
+
videoUrl: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* The Facebook URL for the destination.
|
|
60
|
+
*/
|
|
61
|
+
facebookUrl: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* The Google URL for the destination.
|
|
64
|
+
*/
|
|
65
|
+
googleUrl: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* The Tripadvisor URL for the destination.
|
|
68
|
+
*/
|
|
69
|
+
tripadvisorUrl: string | null;
|
|
70
|
+
/**
|
|
71
|
+
* The Twitter URL for the destination.
|
|
72
|
+
*/
|
|
73
|
+
twitterUrl: string | null;
|
|
74
|
+
youtubeUrl: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* The Instagram URL for the destination.
|
|
77
|
+
*/
|
|
78
|
+
instagramUrl: string | null;
|
|
79
|
+
/**
|
|
80
|
+
* An array of categories that the destination falls under.
|
|
81
|
+
*/
|
|
82
|
+
categories: Array<Category>;
|
|
83
|
+
tags: Array<string>;
|
|
84
|
+
address: string | null;
|
|
85
|
+
notices: Array<Notice>;
|
|
86
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contact information.
|
|
3
|
+
*/
|
|
4
|
+
export type DestinationContact = {
|
|
5
|
+
/**
|
|
6
|
+
* Contact name
|
|
7
|
+
*/
|
|
8
|
+
name: string | null;
|
|
9
|
+
/**
|
|
10
|
+
* The email support contact for the Supplier.
|
|
11
|
+
*/
|
|
12
|
+
email: string | null;
|
|
13
|
+
/**
|
|
14
|
+
* The phone support contact for the Supplier.
|
|
15
|
+
*/
|
|
16
|
+
telephone: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* The (snail) mail address support contact for the Supplier.
|
|
19
|
+
*/
|
|
20
|
+
address: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* This SHOULD be the website of the Supplier that is separate from the Booking Platform but MAY be a unique destination within the Booking Platform about the Supplier.
|
|
23
|
+
*/
|
|
24
|
+
website: string | null;
|
|
25
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { ExtraRestrictions } from './ExtraRestrictions';
|
|
2
|
+
import type { Pricing } from './Pricing';
|
|
3
|
+
export type Extra = {
|
|
4
|
+
/**
|
|
5
|
+
* Unique identifier for the extra.
|
|
6
|
+
*/
|
|
7
|
+
id: string;
|
|
8
|
+
/**
|
|
9
|
+
* Optional internal name for backend usage.
|
|
10
|
+
*/
|
|
11
|
+
internalName: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* Optional public-facing title of the extra.
|
|
14
|
+
*/
|
|
15
|
+
title: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* Optional detailed description of the extra.
|
|
18
|
+
*/
|
|
19
|
+
description: string | null;
|
|
20
|
+
/**
|
|
21
|
+
* Optional reference code for the extra.
|
|
22
|
+
*/
|
|
23
|
+
reference: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* Restrictions applicable to the extra.
|
|
26
|
+
*/
|
|
27
|
+
restrictions: ExtraRestrictions;
|
|
28
|
+
/**
|
|
29
|
+
* Optional array of starting prices.
|
|
30
|
+
*/
|
|
31
|
+
pricingFrom?: Array<Pricing>;
|
|
32
|
+
/**
|
|
33
|
+
* Optional array of pricing details.
|
|
34
|
+
*/
|
|
35
|
+
pricing?: Array<Pricing>;
|
|
36
|
+
/**
|
|
37
|
+
* Optional short summary of the extra.
|
|
38
|
+
*/
|
|
39
|
+
shortDescription: string | null;
|
|
40
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Extra } from './Extra';
|
|
2
|
+
import type { Pricing } from './Pricing';
|
|
3
|
+
export type ExtraItem = {
|
|
4
|
+
/**
|
|
5
|
+
* Unique identifier for the extra item.
|
|
6
|
+
*/
|
|
7
|
+
id: string;
|
|
8
|
+
/**
|
|
9
|
+
* Reference ID of the extra.
|
|
10
|
+
*/
|
|
11
|
+
extraId: string;
|
|
12
|
+
/**
|
|
13
|
+
* Full extra metadata.
|
|
14
|
+
*/
|
|
15
|
+
extra: Extra;
|
|
16
|
+
/**
|
|
17
|
+
* Pricing details for this specific extra item.
|
|
18
|
+
*/
|
|
19
|
+
pricing: Pricing;
|
|
20
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type ExtraRestrictions = {
|
|
2
|
+
/**
|
|
3
|
+
* Indicates whether this restriction is the default one.
|
|
4
|
+
*/
|
|
5
|
+
default: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Specifies if this restriction is required.
|
|
8
|
+
*/
|
|
9
|
+
required: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Minimum quantity required.
|
|
12
|
+
*/
|
|
13
|
+
minQuantity: number;
|
|
14
|
+
/**
|
|
15
|
+
* Maximum quantity allowed (optional).
|
|
16
|
+
*/
|
|
17
|
+
maxQuantity: number | null;
|
|
18
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type FAQ = {
|
|
2
|
+
/**
|
|
3
|
+
* The text of the frequently asked question. This should be a well-phrased question that reflects typical customer concerns or queries about the product (e.g., "Is hotel pickup included?", "What is the cancellation policy?"). Note: FAQs are intentionally repeated at both product and option levels, enabling suppliers to address questions specific to each context. Resellers must combine FAQs from both levels for customer presentation.
|
|
4
|
+
*/
|
|
5
|
+
question: string;
|
|
6
|
+
/**
|
|
7
|
+
* The detailed response to the corresponding question. Answers should be accurate, informative, and written in a way that resolves customer uncertainty (e.g., "Yes, hotel pickup is included within a 10-mile radius of the city center.", "Cancellations are free up to 24 hours before the activity.").
|
|
8
|
+
*/
|
|
9
|
+
answer: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type GetYourGuideActivateBody = {
|
|
2
|
+
/**
|
|
3
|
+
* Secret used to generate OTP codes for GetYourGuide login.
|
|
4
|
+
*/
|
|
5
|
+
gygLoginOTPSecret: string;
|
|
6
|
+
/**
|
|
7
|
+
* Supplier ID provided by GetYourGuide.
|
|
8
|
+
*/
|
|
9
|
+
gygSupplierId: string;
|
|
10
|
+
/**
|
|
11
|
+
* Supplier name provided by GetYourGuide.
|
|
12
|
+
*/
|
|
13
|
+
gygSupplierName: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { PartnersConnection } from './PartnersConnection';
|
|
2
|
+
export type GetYourGuideConnection = PartnersConnection & {
|
|
3
|
+
/**
|
|
4
|
+
* The GetYourGuide Connect ID.
|
|
5
|
+
*/
|
|
6
|
+
gygConnectId: string;
|
|
7
|
+
/**
|
|
8
|
+
* Email address used to log into GetYourGuide.
|
|
9
|
+
*/
|
|
10
|
+
gygLoginEmail: string;
|
|
11
|
+
/**
|
|
12
|
+
* Password used to log into GetYourGuide.
|
|
13
|
+
*/
|
|
14
|
+
gygLoginPassword: string;
|
|
15
|
+
/**
|
|
16
|
+
* Secret used to generate OTP codes for login.
|
|
17
|
+
*/
|
|
18
|
+
gygLoginOTPSecret?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional supplier ID from GetYourGuide.
|
|
21
|
+
*/
|
|
22
|
+
gygSupplierId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Optional supplier name from GetYourGuide.
|
|
25
|
+
*/
|
|
26
|
+
gygSupplierName?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Indicates whether the connection is activated.
|
|
29
|
+
*/
|
|
30
|
+
gygActivated: boolean;
|
|
31
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { Agent } from './Agent';
|
|
2
|
+
import type { BookingCancellation } from './BookingCancellation';
|
|
3
|
+
import type { BookingStatus } from './BookingStatus';
|
|
4
|
+
import type { ContactField } from './ContactField';
|
|
5
|
+
import type { CustomerContact } from './CustomerContact';
|
|
6
|
+
import type { DeliveryMethod } from './DeliveryMethod';
|
|
7
|
+
import type { GiftPayment } from './GiftPayment';
|
|
8
|
+
import type { Identity } from './Identity';
|
|
9
|
+
import type { Pricing } from './Pricing';
|
|
10
|
+
import type { Reseller } from './Reseller';
|
|
11
|
+
import type { Seller } from './Seller';
|
|
12
|
+
import type { SettlementMethod } from './SettlementMethod';
|
|
13
|
+
import type { Ticket } from './Ticket';
|
|
14
|
+
import type { User } from './User';
|
|
15
|
+
export type Gift = {
|
|
16
|
+
agent: Agent | null;
|
|
17
|
+
alias: string | null;
|
|
18
|
+
amount: number;
|
|
19
|
+
cancellable: boolean;
|
|
20
|
+
cancellation: BookingCancellation | null;
|
|
21
|
+
confirmable: boolean;
|
|
22
|
+
contact: CustomerContact | null;
|
|
23
|
+
currency: string;
|
|
24
|
+
deliveryMethods: Array<DeliveryMethod>;
|
|
25
|
+
giftPayment: GiftPayment | null;
|
|
26
|
+
id: string;
|
|
27
|
+
message: string | null;
|
|
28
|
+
notes: string | null;
|
|
29
|
+
pricing?: Pricing;
|
|
30
|
+
recipient: CustomerContact | null;
|
|
31
|
+
requiredContactFields: Array<ContactField>;
|
|
32
|
+
reseller: Reseller | null;
|
|
33
|
+
resellerReference: string | null;
|
|
34
|
+
seller: Seller | null;
|
|
35
|
+
settlementMethod: SettlementMethod;
|
|
36
|
+
status: BookingStatus;
|
|
37
|
+
supplierReference: string;
|
|
38
|
+
testMode: boolean | null;
|
|
39
|
+
user: User | null;
|
|
40
|
+
utcCreatedAt: string;
|
|
41
|
+
utcUpdatedAt: string;
|
|
42
|
+
utcExpiresAt: string | null;
|
|
43
|
+
utcRedeemedAt: string | null;
|
|
44
|
+
utcConfirmedAt: string | null;
|
|
45
|
+
uuid: string;
|
|
46
|
+
VisibleContactFields: Array<ContactField>;
|
|
47
|
+
voucher: Ticket;
|
|
48
|
+
identity?: Identity;
|
|
49
|
+
identityId?: string;
|
|
50
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { GoogleLocalizedText } from './GoogleLocalizedText';
|
|
2
|
+
import type { GoogleLocation } from './GoogleLocation';
|
|
3
|
+
export type GoogleOperator = {
|
|
4
|
+
/**
|
|
5
|
+
* Display name of the operator.
|
|
6
|
+
*/
|
|
7
|
+
name: string;
|
|
8
|
+
/**
|
|
9
|
+
* Localized business profile name as shown on Google.
|
|
10
|
+
*/
|
|
11
|
+
google_business_profile_name: {
|
|
12
|
+
localized_texts: Array<GoogleLocalizedText>;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Operator’s phone number.
|
|
16
|
+
*/
|
|
17
|
+
phone_number: string;
|
|
18
|
+
/**
|
|
19
|
+
* List of associated locations.
|
|
20
|
+
*/
|
|
21
|
+
locations: Array<GoogleLocation>;
|
|
22
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { GoogleOperator } from './GoogleOperator';
|
|
2
|
+
import type { GoogleOptionCategory } from './GoogleOptionCategory';
|
|
3
|
+
import type { GoogleRating } from './GoogleRating';
|
|
4
|
+
import type { GoogleRelatedLocation } from './GoogleRelatedLocation';
|
|
5
|
+
import type { GoogleUrl } from './GoogleUrl';
|
|
6
|
+
export type GoogleOptions = {
|
|
7
|
+
/**
|
|
8
|
+
* Optional Google operator details.
|
|
9
|
+
*/
|
|
10
|
+
operator: GoogleOperator | null;
|
|
11
|
+
/**
|
|
12
|
+
* Optional rating data (e.g., average score, count).
|
|
13
|
+
*/
|
|
14
|
+
rating: GoogleRating | null;
|
|
15
|
+
/**
|
|
16
|
+
* Google landing page URL.
|
|
17
|
+
*/
|
|
18
|
+
landing_page: GoogleUrl;
|
|
19
|
+
/**
|
|
20
|
+
* Type of inventory (e.g., TICKETED, SCHEDULED).
|
|
21
|
+
*/
|
|
22
|
+
inventory_type: string;
|
|
23
|
+
/**
|
|
24
|
+
* Google list view landing page URL.
|
|
25
|
+
*/
|
|
26
|
+
landing_page_list_view: GoogleUrl;
|
|
27
|
+
/**
|
|
28
|
+
* Categories associated with the option.
|
|
29
|
+
*/
|
|
30
|
+
option_categories: Array<GoogleOptionCategory>;
|
|
31
|
+
/**
|
|
32
|
+
* Related Google locations (e.g., nearby or alternatives).
|
|
33
|
+
*/
|
|
34
|
+
related_locations: Array<GoogleRelatedLocation>;
|
|
35
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export type GoogleRelatedLocation = {
|
|
2
|
+
/**
|
|
3
|
+
* Nested location structure with place ID.
|
|
4
|
+
*/
|
|
5
|
+
location: {
|
|
6
|
+
location: {
|
|
7
|
+
/**
|
|
8
|
+
* Google Place ID of the related location.
|
|
9
|
+
*/
|
|
10
|
+
place_id: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Type of relationship to the main location (e.g., 'NEARBY', 'ALTERNATIVE').
|
|
15
|
+
*/
|
|
16
|
+
relation_type: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { DefaultableID } from './DefaultableID';
|
|
2
|
+
import type { Option } from './Option';
|
|
3
|
+
import type { Product } from './Product';
|
|
4
|
+
export type Include = {
|
|
5
|
+
/**
|
|
6
|
+
* The ID of the include.
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* Whether the include is required.
|
|
11
|
+
*/
|
|
12
|
+
required: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* The limit of the include.
|
|
15
|
+
*/
|
|
16
|
+
limit: number;
|
|
17
|
+
/**
|
|
18
|
+
* The validity days of the include.
|
|
19
|
+
*/
|
|
20
|
+
validityDays?: number;
|
|
21
|
+
/**
|
|
22
|
+
* The product ID of the include.
|
|
23
|
+
*/
|
|
24
|
+
productId: string;
|
|
25
|
+
product: Product | null;
|
|
26
|
+
optionId: DefaultableID;
|
|
27
|
+
option: Option | null;
|
|
28
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { DurationUnit } from './DurationUnit';
|
|
2
|
+
import type { ItineraryItemType } from './ItineraryItemType';
|
|
3
|
+
export type ItineraryItem = {
|
|
4
|
+
/**
|
|
5
|
+
* The name of the itinerary.
|
|
6
|
+
*/
|
|
7
|
+
name: string;
|
|
8
|
+
/**
|
|
9
|
+
* The type of the itinerary.
|
|
10
|
+
* Possible values are `START`, `POI`, `END`, `EVENT`. The default is `START`.
|
|
11
|
+
*/
|
|
12
|
+
type: ItineraryItemType;
|
|
13
|
+
/**
|
|
14
|
+
* The description of the itinerary.
|
|
15
|
+
*/
|
|
16
|
+
description: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* The address of the itinerary.
|
|
19
|
+
*/
|
|
20
|
+
address: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* The Google Place ID of the itinerary.
|
|
23
|
+
*/
|
|
24
|
+
googlePlaceId: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* The latitude of the itinerary.
|
|
27
|
+
*/
|
|
28
|
+
latitude: number | null;
|
|
29
|
+
/**
|
|
30
|
+
* The longitude of the itinerary.
|
|
31
|
+
*/
|
|
32
|
+
longitude: number | null;
|
|
33
|
+
/**
|
|
34
|
+
* The travel time of the itinerary.
|
|
35
|
+
*/
|
|
36
|
+
travelTime: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* The travel time amount of the itinerary.
|
|
39
|
+
*/
|
|
40
|
+
travelTimeAmount: number | null;
|
|
41
|
+
/**
|
|
42
|
+
* The travel time unit of the itinerary.
|
|
43
|
+
*/
|
|
44
|
+
travelTimeUnit: DurationUnit | null;
|
|
45
|
+
/**
|
|
46
|
+
* Human readable duration of the option. Duration starts to count on redemption.
|
|
47
|
+
* This field can be hidden by `hide_duration`.
|
|
48
|
+
*/
|
|
49
|
+
duration: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* The duration amount of the option.
|
|
52
|
+
* This field can be hidden by `hide_duration`.
|
|
53
|
+
*/
|
|
54
|
+
durationAmount: number;
|
|
55
|
+
/**
|
|
56
|
+
* The duration unit. Possible values are `hour`, `minute`, `day`.
|
|
57
|
+
* This field can be hidden by `hide_duration`.
|
|
58
|
+
*/
|
|
59
|
+
durationUnit: DurationUnit;
|
|
60
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type ListOrdersRequest = {
|
|
2
|
+
contactEmailAddress?: string;
|
|
3
|
+
contactLastName?: string;
|
|
4
|
+
contactPhoneNumber?: string;
|
|
5
|
+
supplierReference?: string;
|
|
6
|
+
utcCreatedAtEnd?: string;
|
|
7
|
+
utcCreatedAtStart?: string;
|
|
8
|
+
utcUpdatedAtEnd?: string;
|
|
9
|
+
utcUpdatedAtStart?: string;
|
|
10
|
+
};
|