@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,29 @@
|
|
|
1
|
+
import type { Pricing } from './Pricing';
|
|
2
|
+
import type { Product } from './Product';
|
|
3
|
+
import type { Unit } from './Unit';
|
|
4
|
+
export type OfferComparison = {
|
|
5
|
+
/**
|
|
6
|
+
* ID of the product being compared.
|
|
7
|
+
*/
|
|
8
|
+
productId: string;
|
|
9
|
+
/**
|
|
10
|
+
* ID of the product option.
|
|
11
|
+
*/
|
|
12
|
+
optionId: string;
|
|
13
|
+
/**
|
|
14
|
+
* Pricing details for this offer.
|
|
15
|
+
*/
|
|
16
|
+
pricing: Pricing;
|
|
17
|
+
/**
|
|
18
|
+
* Full product metadata.
|
|
19
|
+
*/
|
|
20
|
+
product: Product;
|
|
21
|
+
/**
|
|
22
|
+
* Optional short description for the offer.
|
|
23
|
+
*/
|
|
24
|
+
shortDescription?: string;
|
|
25
|
+
/**
|
|
26
|
+
* List of units applicable to this offer.
|
|
27
|
+
*/
|
|
28
|
+
units: Array<Unit>;
|
|
29
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Tax } from './Tax';
|
|
2
|
+
export type OfferDiscount = {
|
|
3
|
+
/**
|
|
4
|
+
* Net price before discount.
|
|
5
|
+
*/
|
|
6
|
+
net: number;
|
|
7
|
+
/**
|
|
8
|
+
* Retail price after discount.
|
|
9
|
+
*/
|
|
10
|
+
retail: number;
|
|
11
|
+
/**
|
|
12
|
+
* List of taxes included in the discounted price.
|
|
13
|
+
*/
|
|
14
|
+
includedTaxes: Array<Tax>;
|
|
15
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type OfferRestrictions = {
|
|
2
|
+
/**
|
|
3
|
+
* Minimum number of units allowed.
|
|
4
|
+
*/
|
|
5
|
+
minUnits: number | null;
|
|
6
|
+
/**
|
|
7
|
+
* Maximum number of units allowed.
|
|
8
|
+
*/
|
|
9
|
+
maxUnits: number | null;
|
|
10
|
+
/**
|
|
11
|
+
* Minimum total price or quantity allowed.
|
|
12
|
+
*/
|
|
13
|
+
minTotal: number | null;
|
|
14
|
+
/**
|
|
15
|
+
* Maximum total price or quantity allowed.
|
|
16
|
+
*/
|
|
17
|
+
maxTotal: number | null;
|
|
18
|
+
/**
|
|
19
|
+
* List of unit IDs that the restriction applies to.
|
|
20
|
+
*/
|
|
21
|
+
unitIds: Array<string>;
|
|
22
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the opening hours for this availability, even for start time-based availability. Supports multiple periods for breaks in the day.
|
|
3
|
+
*/
|
|
4
|
+
export type OpeningHours = {
|
|
5
|
+
/**
|
|
6
|
+
* The opening time
|
|
7
|
+
*/
|
|
8
|
+
from: string;
|
|
9
|
+
/**
|
|
10
|
+
* The closing time
|
|
11
|
+
*/
|
|
12
|
+
to: string;
|
|
13
|
+
/**
|
|
14
|
+
* Optional label for how frequently the event occurs (e.g., daily, weekly).
|
|
15
|
+
*/
|
|
16
|
+
frequency?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Optional numeric amount representing the interval frequency.
|
|
19
|
+
*/
|
|
20
|
+
frequencyAmount?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Optional unit for frequency (e.g., day, week, month).
|
|
23
|
+
*/
|
|
24
|
+
frequencyUnit?: string;
|
|
25
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type OpeningHoursContent = {
|
|
2
|
+
/**
|
|
3
|
+
* Optional label for how frequently the event occurs (e.g., daily, weekly).
|
|
4
|
+
*/
|
|
5
|
+
frequency?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Optional numeric amount representing the interval frequency.
|
|
8
|
+
*/
|
|
9
|
+
frequencyAmount?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Optional unit for frequency (e.g., day, week, month).
|
|
12
|
+
*/
|
|
13
|
+
frequencyUnit?: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import type { CancellationCutoffUnit } from './CancellationCutoffUnit';
|
|
2
|
+
import type { ContactField } from './ContactField';
|
|
3
|
+
import type { DurationUnit } from './DurationUnit';
|
|
4
|
+
import type { Extra } from './Extra';
|
|
5
|
+
import type { ItineraryItem } from './ItineraryItem';
|
|
6
|
+
import type { Octo_Pricing } from './Octo_Pricing';
|
|
7
|
+
import type { OptionRestrictions } from './OptionRestrictions';
|
|
8
|
+
import type { PackageInclude } from './PackageInclude';
|
|
9
|
+
import type { PickupPoint } from './PickupPoint';
|
|
10
|
+
import type { Point } from './Point';
|
|
11
|
+
import type { Question } from './Question';
|
|
12
|
+
import type { Unit } from './Unit';
|
|
13
|
+
export type Option = {
|
|
14
|
+
/**
|
|
15
|
+
* A unique identifier for the option within the product. This ID is critical for identifying specific options during bookings or other API interactions.
|
|
16
|
+
*/
|
|
17
|
+
id: string;
|
|
18
|
+
/**
|
|
19
|
+
* Indicates whether the option is the default selection.
|
|
20
|
+
* true: This option should be rendered and selected first in customer-facing interfaces.
|
|
21
|
+
* false: The option is not default and requires manual selection.
|
|
22
|
+
*/
|
|
23
|
+
default: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The internal name used by the supplier to refer to the option. This name is for internal or operational purposes and may differ from the public, customer-facing name. The customer-facing name is defined separately in the title field under the octo/content capability.
|
|
26
|
+
*/
|
|
27
|
+
internalName: string;
|
|
28
|
+
/**
|
|
29
|
+
* An optional internal code used by the supplier to refer to the product. This field is useful for supplier-specific workflows or cross-referencing. It can be null if no reference code exists for the product.
|
|
30
|
+
*/
|
|
31
|
+
reference: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* An array containing all possible start times for the option that can be returned during availability. For example a tour with multiple departure times may have multiple:["09:00", "14:00", "17:00"].
|
|
34
|
+
*/
|
|
35
|
+
availabilityLocalStartTimes: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
* A text description of the option's cancellation policy, providing clear guidelines to customers.
|
|
38
|
+
*/
|
|
39
|
+
cancellationCutoff: string;
|
|
40
|
+
/**
|
|
41
|
+
* The numeric value of the cutoff period for cancellations, relative to start time or closing hour (of opening hours product)
|
|
42
|
+
*/
|
|
43
|
+
cancellationCutoffAmount: number;
|
|
44
|
+
/**
|
|
45
|
+
* The time unit associated with the cutoff period. Possible values are:
|
|
46
|
+
* hour: Cutoff is measured in hours.
|
|
47
|
+
* minute: Cutoff is measured in minutes.
|
|
48
|
+
* day: Cutoff is measured in days.
|
|
49
|
+
*/
|
|
50
|
+
cancellationCutoffUnit: CancellationCutoffUnit;
|
|
51
|
+
/**
|
|
52
|
+
* An array specifying the contact fields required to confirm a booking. These apply to the lead traveler, not individual tickets. Possible values:
|
|
53
|
+
* firstName: The first name of the traveler.
|
|
54
|
+
* lastName: The last name of the traveler.
|
|
55
|
+
* fullName: The full name of the traveler.
|
|
56
|
+
* emailAddress: The email address of the traveler.
|
|
57
|
+
* phoneNumber: The phone number of the traveler.
|
|
58
|
+
* postalCode: The postal code of the traveler.
|
|
59
|
+
* country: The country of the traveler.
|
|
60
|
+
* notes: Optional notes from the traveler.
|
|
61
|
+
* locales: Preferred language/localization preferences.
|
|
62
|
+
*/
|
|
63
|
+
requiredContactFields: Array<ContactField>;
|
|
64
|
+
availabilityCutoff: string;
|
|
65
|
+
availabilityCutoffAmount: number;
|
|
66
|
+
availabilityCutoffUnit: DurationUnit;
|
|
67
|
+
/**
|
|
68
|
+
* An array of tags that can be used to filter products.
|
|
69
|
+
*/
|
|
70
|
+
tags: Array<string>;
|
|
71
|
+
/**
|
|
72
|
+
* An array of the contact fields that are visible to the user when booking. These just apply to the lead traveller on the booking and not for every ticket.
|
|
73
|
+
*/
|
|
74
|
+
visibleContactFields: Array<ContactField>;
|
|
75
|
+
restrictions: OptionRestrictions;
|
|
76
|
+
units: Array<Unit>;
|
|
77
|
+
/**
|
|
78
|
+
* The title of the option. Only present when ventrata/content capability is requested.
|
|
79
|
+
*/
|
|
80
|
+
title?: string;
|
|
81
|
+
/**
|
|
82
|
+
* The subtitle of the option. Only present when ventrata/content capability is requested.
|
|
83
|
+
*/
|
|
84
|
+
subtitle?: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* The language of the option. Only present when ventrata/content capability is requested.
|
|
87
|
+
*/
|
|
88
|
+
language?: string;
|
|
89
|
+
/**
|
|
90
|
+
* The description of the option. Only present when ventrata/content capability is requested.
|
|
91
|
+
*/
|
|
92
|
+
shortDescription?: string | null;
|
|
93
|
+
/**
|
|
94
|
+
* Human readable duration of the option. Duration starts to count on redemption.
|
|
95
|
+
* This field can be hidden by `hide_duration`.
|
|
96
|
+
* Only present when ventrata/content capability is requested.
|
|
97
|
+
*/
|
|
98
|
+
duration?: string;
|
|
99
|
+
/**
|
|
100
|
+
* The duration amount of the option.
|
|
101
|
+
* This field can be hidden by `hide_duration`.
|
|
102
|
+
* Only present when ventrata/content capability is requested.
|
|
103
|
+
*/
|
|
104
|
+
durationAmount?: number;
|
|
105
|
+
/**
|
|
106
|
+
* The duration unit. Possible values are `hour`, `minute`, `day`.
|
|
107
|
+
* This field can be hidden by `hide_duration`.
|
|
108
|
+
* Only present when ventrata/content capability is requested.
|
|
109
|
+
*/
|
|
110
|
+
durationUnit?: DurationUnit;
|
|
111
|
+
/**
|
|
112
|
+
* The cover image URL of the option. Only present when ventrata/content capability is requested.
|
|
113
|
+
*/
|
|
114
|
+
coverImageUrl?: string | null;
|
|
115
|
+
/**
|
|
116
|
+
* The itinerary of the option. Only present when ventrata/content capability is requested.
|
|
117
|
+
*/
|
|
118
|
+
itinerary?: Array<ItineraryItem> | null;
|
|
119
|
+
/**
|
|
120
|
+
* The origin point of the option. Only present when ventrata/content capability is requested.
|
|
121
|
+
*/
|
|
122
|
+
fromPoint?: Point | null;
|
|
123
|
+
/**
|
|
124
|
+
* The destination point of the option. Only present when ventrata/content capability is requested.
|
|
125
|
+
*/
|
|
126
|
+
toPoint?: Point | null;
|
|
127
|
+
/**
|
|
128
|
+
* Whether this option has pickup available.
|
|
129
|
+
* This field is only present when the capability `octo/pickups` is requested.
|
|
130
|
+
*/
|
|
131
|
+
pickupAvailable?: boolean;
|
|
132
|
+
/**
|
|
133
|
+
* Whether pickup is required for this option.
|
|
134
|
+
* This field is only present when the capability `octo/pickups` is requested.
|
|
135
|
+
*/
|
|
136
|
+
pickupRequired?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Whether pickup is required for this option.
|
|
139
|
+
* This field is only present when the capability `octo/pickups` is requested.
|
|
140
|
+
*/
|
|
141
|
+
pickupPoints?: Array<PickupPoint>;
|
|
142
|
+
/**
|
|
143
|
+
* Is on the object when Pricing capability is requested.
|
|
144
|
+
*/
|
|
145
|
+
pricingFrom?: Array<Octo_Pricing>;
|
|
146
|
+
/**
|
|
147
|
+
* Is on the object when Pricing capability is requested.
|
|
148
|
+
*/
|
|
149
|
+
pricing?: Array<Octo_Pricing>;
|
|
150
|
+
/**
|
|
151
|
+
* Questions for this option. Only present when octo/questions capability is requested.
|
|
152
|
+
*/
|
|
153
|
+
questions?: Array<Question>;
|
|
154
|
+
extras?: Array<Extra>;
|
|
155
|
+
packageIncludes?: Array<PackageInclude>;
|
|
156
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { DurationUnit } from './DurationUnit';
|
|
2
|
+
import type { ItineraryItem } from './ItineraryItem';
|
|
3
|
+
import type { Point } from './Point';
|
|
4
|
+
export type OptionContent = {
|
|
5
|
+
/**
|
|
6
|
+
* The title of the option. Only present when ventrata/content capability is requested.
|
|
7
|
+
*/
|
|
8
|
+
title?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The subtitle of the option. Only present when ventrata/content capability is requested.
|
|
11
|
+
*/
|
|
12
|
+
subtitle?: string | null;
|
|
13
|
+
/**
|
|
14
|
+
* The language of the option. Only present when ventrata/content capability is requested.
|
|
15
|
+
*/
|
|
16
|
+
language?: string;
|
|
17
|
+
/**
|
|
18
|
+
* The description of the option. Only present when ventrata/content capability is requested.
|
|
19
|
+
*/
|
|
20
|
+
shortDescription?: string | null;
|
|
21
|
+
/**
|
|
22
|
+
* Human readable duration of the option. Duration starts to count on redemption.
|
|
23
|
+
* This field can be hidden by `hide_duration`.
|
|
24
|
+
* Only present when ventrata/content capability is requested.
|
|
25
|
+
*/
|
|
26
|
+
duration?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The duration amount of the option.
|
|
29
|
+
* This field can be hidden by `hide_duration`.
|
|
30
|
+
* Only present when ventrata/content capability is requested.
|
|
31
|
+
*/
|
|
32
|
+
durationAmount?: number;
|
|
33
|
+
/**
|
|
34
|
+
* The duration unit. Possible values are `hour`, `minute`, `day`.
|
|
35
|
+
* This field can be hidden by `hide_duration`.
|
|
36
|
+
* Only present when ventrata/content capability is requested.
|
|
37
|
+
*/
|
|
38
|
+
durationUnit?: DurationUnit;
|
|
39
|
+
/**
|
|
40
|
+
* The cover image URL of the option. Only present when ventrata/content capability is requested.
|
|
41
|
+
*/
|
|
42
|
+
coverImageUrl?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* The itinerary of the option. Only present when ventrata/content capability is requested.
|
|
45
|
+
*/
|
|
46
|
+
itinerary?: Array<ItineraryItem> | null;
|
|
47
|
+
/**
|
|
48
|
+
* The origin point of the option. Only present when ventrata/content capability is requested.
|
|
49
|
+
*/
|
|
50
|
+
fromPoint?: Point | null;
|
|
51
|
+
/**
|
|
52
|
+
* The destination point of the option. Only present when ventrata/content capability is requested.
|
|
53
|
+
*/
|
|
54
|
+
toPoint?: Point | null;
|
|
55
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { PickupPoint } from './PickupPoint';
|
|
2
|
+
export type OptionPickups = {
|
|
3
|
+
/**
|
|
4
|
+
* Whether this option has pickup available.
|
|
5
|
+
* This field is only present when the capability `octo/pickups` is requested.
|
|
6
|
+
*/
|
|
7
|
+
pickupAvailable?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Whether pickup is required for this option.
|
|
10
|
+
* This field is only present when the capability `octo/pickups` is requested.
|
|
11
|
+
*/
|
|
12
|
+
pickupRequired?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Whether pickup is required for this option.
|
|
15
|
+
* This field is only present when the capability `octo/pickups` is requested.
|
|
16
|
+
*/
|
|
17
|
+
pickupPoints?: Array<PickupPoint>;
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type OptionRestrictions = {
|
|
2
|
+
/**
|
|
3
|
+
* The minimum number of units (tickets) that can be purchased in a single booking. A null value indicates no minimum.
|
|
4
|
+
*/
|
|
5
|
+
minUnits: number | null;
|
|
6
|
+
/**
|
|
7
|
+
* The maximum number of units (tickets) that can be purchased in a single booking. A null value indicates no maximum.
|
|
8
|
+
*/
|
|
9
|
+
maxUnits: number | null;
|
|
10
|
+
/**
|
|
11
|
+
* The minimum number of pax units that can be purchased in a single booking (null = 0).
|
|
12
|
+
*/
|
|
13
|
+
minPaxCount: number | null;
|
|
14
|
+
/**
|
|
15
|
+
* The maximum number of pax units that can be purchased in a single booking (null = unlimited).
|
|
16
|
+
*/
|
|
17
|
+
maxPaxCount: number | null;
|
|
18
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { Agent } from './Agent';
|
|
2
|
+
import type { Booking } from './Booking';
|
|
3
|
+
import type { ContactField } from './ContactField';
|
|
4
|
+
import type { CustomerContact } from './CustomerContact';
|
|
5
|
+
import type { GiftPayment } from './GiftPayment';
|
|
6
|
+
import type { Identity } from './Identity';
|
|
7
|
+
import type { OfferCombination } from './OfferCombination';
|
|
8
|
+
import type { Reseller } from './Reseller';
|
|
9
|
+
import type { Seller } from './Seller';
|
|
10
|
+
import type { SettlementMethod } from './SettlementMethod';
|
|
11
|
+
import type { User } from './User';
|
|
12
|
+
export type Order = {
|
|
13
|
+
id: string;
|
|
14
|
+
testMode: boolean;
|
|
15
|
+
settlementMethod: SettlementMethod;
|
|
16
|
+
supplierReference: string;
|
|
17
|
+
quote: boolean;
|
|
18
|
+
status: string;
|
|
19
|
+
utcExpiresAt: string | null;
|
|
20
|
+
utcConfirmedAt: string | null;
|
|
21
|
+
cancellable: boolean;
|
|
22
|
+
confirmable: boolean;
|
|
23
|
+
reseller?: Reseller;
|
|
24
|
+
agent?: Agent;
|
|
25
|
+
contact?: CustomerContact;
|
|
26
|
+
emailReceipt?: boolean;
|
|
27
|
+
bookings: Array<Booking>;
|
|
28
|
+
visibleContactFields: Array<ContactField>;
|
|
29
|
+
requiredContactFields: Array<ContactField>;
|
|
30
|
+
user: User | null;
|
|
31
|
+
seller: Seller | null;
|
|
32
|
+
identity?: Identity;
|
|
33
|
+
identityId?: string;
|
|
34
|
+
offerCombinations?: Array<OfferCombination>;
|
|
35
|
+
giftPayment?: GiftPayment | null;
|
|
36
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Include } from './Include';
|
|
2
|
+
export type PackageInclude = {
|
|
3
|
+
/**
|
|
4
|
+
* Include group name or product name.
|
|
5
|
+
*/
|
|
6
|
+
title?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Include count.
|
|
9
|
+
*/
|
|
10
|
+
count: number;
|
|
11
|
+
/**
|
|
12
|
+
* An array of includes.
|
|
13
|
+
*/
|
|
14
|
+
includes: Array<Include>;
|
|
15
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { GetYourGuideConnection } from './GetYourGuideConnection';
|
|
2
|
+
import type { PartnersConnection } from './PartnersConnection';
|
|
3
|
+
import type { Supplier } from './Supplier';
|
|
4
|
+
export type PartnersListConnection = {
|
|
5
|
+
/**
|
|
6
|
+
* The supplier information associated with the connection.
|
|
7
|
+
*/
|
|
8
|
+
supplier: Supplier;
|
|
9
|
+
/**
|
|
10
|
+
* The connection details, which could be a generic partner connection or a GetYourGuide connection.
|
|
11
|
+
*/
|
|
12
|
+
connection: PartnersConnection | GetYourGuideConnection;
|
|
13
|
+
/**
|
|
14
|
+
* The API key used to authenticate this partner connection.
|
|
15
|
+
*/
|
|
16
|
+
apiKey: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type PartnersListConnectionsRequest = Record<string, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type PartnersListConnectionsRequestHeaders_ventrataPartnerKey = string;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export type PickupPoint = {
|
|
2
|
+
/**
|
|
3
|
+
* Unique identifier for the pickup point.
|
|
4
|
+
*/
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* Name of the pickup point.
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Optional directions to reach the pickup point.
|
|
12
|
+
*/
|
|
13
|
+
directions: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Optional address of the pickup point.
|
|
16
|
+
*/
|
|
17
|
+
address: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* Latitude coordinate of the pickup point.
|
|
20
|
+
*/
|
|
21
|
+
latitude: number | null;
|
|
22
|
+
/**
|
|
23
|
+
* Longitude coordinate of the pickup point.
|
|
24
|
+
*/
|
|
25
|
+
longitude: number | null;
|
|
26
|
+
/**
|
|
27
|
+
* Local date and time of the pickup point.
|
|
28
|
+
*/
|
|
29
|
+
localDateTime: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Local date and time of the pickup point.
|
|
32
|
+
*/
|
|
33
|
+
localDateTimeTo: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Google Place ID associated with the pickup point.
|
|
36
|
+
*/
|
|
37
|
+
googlePlaceId: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Street address of the pickup point.
|
|
40
|
+
*/
|
|
41
|
+
street: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Postal code of the pickup point location.
|
|
44
|
+
*/
|
|
45
|
+
postalCode: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* Locality (city or town) of the pickup point.
|
|
48
|
+
*/
|
|
49
|
+
locality: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* Region (e.g., state or province) of the pickup point.
|
|
52
|
+
*/
|
|
53
|
+
region: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* State of the pickup point.
|
|
56
|
+
*/
|
|
57
|
+
state: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* Country of the pickup point.
|
|
60
|
+
*/
|
|
61
|
+
country: string | null;
|
|
62
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { PointGroup } from './PointGroup';
|
|
2
|
+
export type Point = {
|
|
3
|
+
/**
|
|
4
|
+
* The ID of the point.
|
|
5
|
+
*/
|
|
6
|
+
id: string;
|
|
7
|
+
/**
|
|
8
|
+
* The internal name of the point.
|
|
9
|
+
*/
|
|
10
|
+
internalName: string | null;
|
|
11
|
+
/**
|
|
12
|
+
* The title of the point.
|
|
13
|
+
*/
|
|
14
|
+
title: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* The short description of the point. This is preserved for historical compatibility, but will
|
|
17
|
+
* always be `nil`.
|
|
18
|
+
*/
|
|
19
|
+
shortDescription: string | null;
|
|
20
|
+
pointGroup: PointGroup;
|
|
21
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type PointGroup = {
|
|
2
|
+
/**
|
|
3
|
+
* The ID of the point group.
|
|
4
|
+
*/
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* The internal name of the point group.
|
|
8
|
+
*/
|
|
9
|
+
internalName: string;
|
|
10
|
+
/**
|
|
11
|
+
* The title of the point group.
|
|
12
|
+
*/
|
|
13
|
+
title: string;
|
|
14
|
+
/**
|
|
15
|
+
* The short description of the point group.
|
|
16
|
+
*/
|
|
17
|
+
shortDescription: string;
|
|
18
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { OfferDiscount } from './OfferDiscount';
|
|
2
|
+
import type { Tax } from './Tax';
|
|
3
|
+
export type Pricing = {
|
|
4
|
+
/**
|
|
5
|
+
* Represents the advertised marketing price, which must be equal to or higher than pricingFrom.retail. Typically used for strike-through pricing, it highlights the original or component-based value of the product when the retail price reflects a discount or bundled offer. For example, a package product combining multiple components (e.g., hotel + tour + meals) may have a total component value of $500 (original), while the bundled retail price is $400. In such cases, the original price is displayed to show savings.This field should only be shown when it is higher than pricingFrom.retail and must accurately reflect a valid reference price, ensuring transparency and trust.
|
|
6
|
+
*/
|
|
7
|
+
original: number;
|
|
8
|
+
/**
|
|
9
|
+
* The supplier’s recommended sale price, including all taxes and fees. This is the price charged to end customers and represents the total cost.
|
|
10
|
+
*/
|
|
11
|
+
retail: number;
|
|
12
|
+
/**
|
|
13
|
+
* The wholesale price charged to the reseller, including all taxes and fees. This price reflects the amount the reseller pays to the supplier.
|
|
14
|
+
*/
|
|
15
|
+
net: number | null;
|
|
16
|
+
/**
|
|
17
|
+
* Specifies the currency used for the prices provided in the pricingFrom object. The value must adhere to ISO 4217 currency codes (e.g., USD, EUR, JPY) to ensure consistency across systems.
|
|
18
|
+
*/
|
|
19
|
+
currency: string;
|
|
20
|
+
/**
|
|
21
|
+
* All pricing is given in integers to avoid floating point rounding issues. e.g. USD = 2 and JPY = 0. To convert a price to decimal you should do: price / (10 ** currencyPrecision) where ** is to the power of e.g. Math.pow(10, currencyPrecision).
|
|
22
|
+
*/
|
|
23
|
+
currencyPrecision: number;
|
|
24
|
+
/**
|
|
25
|
+
* This field defines the number of decimal places used for the currency in the pricingFrom object, ensuring precise representation and preventing rounding errors during calculations. For example, in currencies like USD, which have a precision of 2, prices are expressed in cents (e.g., $45.00 is represented as 4500). In currencies like JPY, which have a precision of 0, prices are expressed as whole yen amounts (e.g., ¥4500 is represented as 4500). By aligning with the specific decimal requirements of different currencies, this field guarantees accurate pricing calculations and consistent handling across various currency formats.
|
|
26
|
+
*/
|
|
27
|
+
includedTaxes: Array<Tax>;
|
|
28
|
+
offerDiscount?: OfferDiscount | null;
|
|
29
|
+
extraId?: Array<string>;
|
|
30
|
+
};
|