@ventrata/octo-types 0.0.12 → 0.0.13
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/.github/dependabot.yml +13 -0
- package/.github/workflows/check-version-pr.yml +48 -0
- package/.github/workflows/code-check-pr.yml +172 -0
- package/.github/workflows/npm-publish.yml +46 -0
- package/biome.json +79 -0
- package/package.json +1 -6
- package/src/index.ts +663 -0
- package/src/models/AdjustmentDiscount.ts +14 -0
- package/src/models/AdjustmentPer.ts +12 -0
- package/src/models/AdyenGateway.ts +13 -0
- package/src/models/AdyenGatewaySession.ts +8 -0
- package/src/models/AdyenPaymentMethodsConfiguration.ts +14 -0
- package/src/models/AdyenPaymentMethodsConfigurationApplePay.ts +7 -0
- package/src/models/AdyenPaymentMethodsConfigurationCard.ts +24 -0
- package/src/models/AdyenPaymentMethodsConfigurationCardBillingAddressMode.ts +9 -0
- package/src/models/AdyenPaymentMethodsConfigurationGooglePay.ts +9 -0
- package/src/models/AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters.ts +8 -0
- package/src/models/AdyenPaymentMethodsConfigurationPayPay.ts +9 -0
- package/src/models/Agent.ts +22 -0
- package/src/models/Availability.ts +150 -0
- package/src/models/AvailabilityCalendar.ts +81 -0
- package/src/models/AvailabilityCalendarBody.ts +28 -0
- package/src/models/AvailabilityCalendarErrorResponse.ts +6 -0
- package/src/models/AvailabilityCalendarExtras.ts +8 -0
- package/src/models/AvailabilityCalendarOffers.ts +23 -0
- package/src/models/AvailabilityCalendarPricing.ts +16 -0
- package/src/models/AvailabilityCalendarRequest.ts +8 -0
- package/src/models/AvailabilityCheckBody.ts +32 -0
- package/src/models/AvailabilityCheckErrorResponse.ts +6 -0
- package/src/models/AvailabilityCheckRequest.ts +8 -0
- package/src/models/AvailabilityContent.ts +41 -0
- package/src/models/AvailabilityExtras.ts +8 -0
- package/src/models/AvailabilityOffers.ts +23 -0
- package/src/models/AvailabilityPickups.ts +22 -0
- package/src/models/AvailabilityPricing.ts +16 -0
- package/src/models/AvailabilityResources.ts +10 -0
- package/src/models/AvailabilityStatus.ts +11 -0
- package/src/models/AvailabilityType.ts +8 -0
- package/src/models/AvailabilityUnit.ts +16 -0
- package/src/models/AvailabilityUpdate.ts +29 -0
- package/src/models/Booking.ts +309 -0
- package/src/models/BookingAdjustment.ts +21 -0
- package/src/models/BookingAdjustments.ts +11 -0
- package/src/models/BookingCancellation.ts +19 -0
- package/src/models/BookingCancellationBody.ts +8 -0
- package/src/models/BookingCancellationErrorResponse.ts +6 -0
- package/src/models/BookingCancellationPathParams.ts +10 -0
- package/src/models/BookingCancellationRequest_uuid.ts +8 -0
- package/src/models/BookingCardPayments.ts +9 -0
- package/src/models/BookingCart.ts +9 -0
- package/src/models/BookingCheckin.ts +9 -0
- package/src/models/BookingConfirmationBody.ts +42 -0
- package/src/models/BookingConfirmationErrorResponse.ts +6 -0
- package/src/models/BookingConfirmationPathParams.ts +10 -0
- package/src/models/BookingConfirmationRequest_uuid.ts +8 -0
- package/src/models/BookingContact.ts +62 -0
- package/src/models/BookingContent.ts +17 -0
- package/src/models/BookingExtras.ts +10 -0
- package/src/models/BookingGifts.ts +8 -0
- package/src/models/BookingIdentities.ts +9 -0
- package/src/models/BookingMemberships.ts +10 -0
- package/src/models/BookingOffers.ts +26 -0
- package/src/models/BookingPackages.ts +29 -0
- package/src/models/BookingPickupBody.ts +22 -0
- package/src/models/BookingPickups.ts +33 -0
- package/src/models/BookingPricing.ts +11 -0
- package/src/models/BookingQuestions.ts +12 -0
- package/src/models/BookingRejection.ts +14 -0
- package/src/models/BookingRentals.ts +10 -0
- package/src/models/BookingReservationBody.ts +89 -0
- package/src/models/BookingReservationErrorResponse.ts +6 -0
- package/src/models/BookingReservationRequest.ts +8 -0
- package/src/models/BookingResources.ts +11 -0
- package/src/models/BookingStatus.ts +15 -0
- package/src/models/BookingUpdate.ts +23 -0
- package/src/models/BookingUpdateBody.ts +84 -0
- package/src/models/BookingUpdatePathParams.ts +10 -0
- package/src/models/BookingUpdateRequest_uuid.ts +8 -0
- package/src/models/Brand.ts +21 -0
- package/src/models/BrandContact.ts +11 -0
- package/src/models/BridgepayGateway.ts +7 -0
- package/src/models/CancelOrderBody.ts +10 -0
- package/src/models/CancelOrderRequest_id.ts +8 -0
- package/src/models/Capability.ts +28 -0
- package/src/models/CapabilityId.ts +27 -0
- package/src/models/Card.ts +12 -0
- package/src/models/CardPayment.ts +38 -0
- package/src/models/Category.ts +38 -0
- package/src/models/ConfirmOrderBody.ts +23 -0
- package/src/models/ConfirmOrderPricingBody.ts +10 -0
- package/src/models/ConfirmOrderRequest_id.ts +8 -0
- package/src/models/ContactField.ts +15 -0
- package/src/models/CreateOrderBody.ts +23 -0
- package/src/models/CreateOrderPricingBody.ts +10 -0
- package/src/models/CreateOrderRequest_id.ts +8 -0
- package/src/models/CreateWaitlistRequest.ts +15 -0
- package/src/models/CreateWebhookBody.ts +39 -0
- package/src/models/CreateWebhookRequest.ts +8 -0
- package/src/models/CreateWebhookRequestHeaders_octoCapabilities.ts +8 -0
- package/src/models/CustomerContact.ts +69 -0
- package/src/models/DefaultableID.ts +10 -0
- package/src/models/DeleteWebhookPathParams.ts +10 -0
- package/src/models/DeleteWebhookRequestHeaders_octoCapabilities.ts +8 -0
- package/src/models/DeleteWebhookRequest_id.ts +8 -0
- package/src/models/DeliveryFormat.ts +11 -0
- package/src/models/DeliveryMethod.ts +8 -0
- package/src/models/DeliveryOption.ts +21 -0
- package/src/models/Destination.ts +95 -0
- package/src/models/DestinationContact.ts +29 -0
- package/src/models/DestinationPricing.ts +14 -0
- package/src/models/Diff.ts +22 -0
- package/src/models/DurationUnit.ts +9 -0
- package/src/models/ExtendOrderBody.ts +7 -0
- package/src/models/ExtendOrderRequest_id.ts +8 -0
- package/src/models/ExtendReservationBody.ts +6 -0
- package/src/models/ExtendReservationErrorResponse.ts +6 -0
- package/src/models/ExtendReservationPathParams.ts +10 -0
- package/src/models/ExtendReservationRequest_uuid.ts +8 -0
- package/src/models/ExternalGateway.ts +5 -0
- package/src/models/Extra.ts +44 -0
- package/src/models/ExtraItem.ts +24 -0
- package/src/models/ExtraPricing.ts +32 -0
- package/src/models/ExtraRestrictions.ts +22 -0
- package/src/models/FAQ.ts +14 -0
- package/src/models/Font.ts +18 -0
- package/src/models/GetBookingRequest.ts +6 -0
- package/src/models/GetBookingsRequest.ts +6 -0
- package/src/models/GetMappingsQueryParams_optionId.ts +8 -0
- package/src/models/GetMappingsQueryParams_productId.ts +8 -0
- package/src/models/GetMappingsQueryParams_resellerReference.ts +8 -0
- package/src/models/GetMappingsQueryParams_resellerStatus.ts +9 -0
- package/src/models/GetMappingsRequest.ts +23 -0
- package/src/models/GetOrderRequest_id.ts +8 -0
- package/src/models/GetProductRequest.ts +6 -0
- package/src/models/GetProductsRequest.ts +6 -0
- package/src/models/GetSupplierRequest.ts +6 -0
- package/src/models/GetYourGuideActivateBody.ts +18 -0
- package/src/models/GetYourGuideActivateRequest.ts +8 -0
- package/src/models/GetYourGuideActivateRequestHeaders_octoCapabilities.ts +8 -0
- package/src/models/GetYourGuideConnection.ts +35 -0
- package/src/models/Gift.ts +57 -0
- package/src/models/GiftCardPayments.ts +9 -0
- package/src/models/GiftIdentities.ts +9 -0
- package/src/models/GiftPayment.ts +9 -0
- package/src/models/GoogleLocalizedText.ts +14 -0
- package/src/models/GoogleLocation.ts +15 -0
- package/src/models/GoogleOperator.ts +26 -0
- package/src/models/GoogleOptionCategory.ts +10 -0
- package/src/models/GoogleOptions.ts +39 -0
- package/src/models/GoogleRating.ts +14 -0
- package/src/models/GoogleRelatedLocation.ts +21 -0
- package/src/models/GoogleUrl.ts +10 -0
- package/src/models/Identity.ts +11 -0
- package/src/models/Image.ts +9 -0
- package/src/models/Include.ts +33 -0
- package/src/models/ItineraryItem.ts +64 -0
- package/src/models/ItineraryItemType.ts +10 -0
- package/src/models/Label.ts +8 -0
- package/src/models/ListCapabilitiesRequest.ts +5 -0
- package/src/models/ListCapabilitiesRequestHeaders.ts +5 -0
- package/src/models/ListOrdersRequest.ts +14 -0
- package/src/models/ListWebhooksRequest.ts +5 -0
- package/src/models/ListWebhooksRequestHeaders_octoCapabilities.ts +8 -0
- package/src/models/Mapping.ts +55 -0
- package/src/models/MappingToUpdate.ts +35 -0
- package/src/models/MediaRel.ts +9 -0
- package/src/models/MediaType.ts +12 -0
- package/src/models/Membership.ts +15 -0
- package/src/models/MembershipBenefit.ts +9 -0
- package/src/models/NetDiscount.ts +10 -0
- package/src/models/Notice.ts +10 -0
- package/src/models/Octo_AvailabilityCalendarErrorResponse.ts +19 -0
- package/src/models/Octo_AvailabilityCheckErrorResponse.ts +19 -0
- package/src/models/Octo_BaseError.ts +14 -0
- package/src/models/Octo_BookingCancellationBody.ts +14 -0
- package/src/models/Octo_BookingCancellationErrorResponse.ts +17 -0
- package/src/models/Octo_BookingConfirmationErrorResponse.ts +25 -0
- package/src/models/Octo_BookingReservationErrorResponse.ts +23 -0
- package/src/models/Octo_CapabilityId.ts +14 -0
- package/src/models/Octo_DeliveryFormat.ts +10 -0
- package/src/models/Octo_ErrorBadRequest.ts +6 -0
- package/src/models/Octo_ErrorForbidden.ts +6 -0
- package/src/models/Octo_ErrorInternalServerError.ts +6 -0
- package/src/models/Octo_ErrorInvalidAvailabilityID.ts +11 -0
- package/src/models/Octo_ErrorInvalidBookingUUID.ts +11 -0
- package/src/models/Octo_ErrorInvalidOptionID.ts +11 -0
- package/src/models/Octo_ErrorInvalidProductID.ts +11 -0
- package/src/models/Octo_ErrorInvalidUnitID.ts +11 -0
- package/src/models/Octo_ErrorUnauthorized.ts +6 -0
- package/src/models/Octo_ErrorUnprocessableEntity.ts +6 -0
- package/src/models/Octo_ExtendReservationBody.ts +7 -0
- package/src/models/Octo_ExtendReservationErrorResponse.ts +17 -0
- package/src/models/Octo_GetBookingRequest.ts +10 -0
- package/src/models/Octo_GetBookingRequest_uuid.ts +8 -0
- package/src/models/Octo_GetBookingsRequest.ts +34 -0
- package/src/models/Octo_GetBookingsRequest_localDate.ts +8 -0
- package/src/models/Octo_GetBookingsRequest_localDateEnd.ts +8 -0
- package/src/models/Octo_GetBookingsRequest_localDateStart.ts +8 -0
- package/src/models/Octo_GetBookingsRequest_optionId.ts +8 -0
- package/src/models/Octo_GetBookingsRequest_productId.ts +8 -0
- package/src/models/Octo_GetBookingsRequest_resellerReference.ts +8 -0
- package/src/models/Octo_GetBookingsRequest_supplierReference.ts +8 -0
- package/src/models/Octo_GetProductRequest.ts +10 -0
- package/src/models/Octo_GetProductRequest_id.ts +8 -0
- package/src/models/Octo_GetProductsRequest.ts +5 -0
- package/src/models/Octo_GetSupplierRequest.ts +5 -0
- package/src/models/Octo_Media.ts +39 -0
- package/src/models/Octo_RequestHeaders.ts +5 -0
- package/src/models/Octo_RequestHeadersContent.ts +8 -0
- package/src/models/Octo_RequestHeaders_octoCapabilities.ts +8 -0
- package/src/models/Octo_ResponseHeaders.ts +5 -0
- package/src/models/Offer.ts +39 -0
- package/src/models/OfferCombination.ts +41 -0
- package/src/models/OfferComparison.ts +33 -0
- package/src/models/OfferDiscount.ts +19 -0
- package/src/models/OfferMemberships.ts +8 -0
- package/src/models/OfferRestrictions.ts +26 -0
- package/src/models/OfferTax.ts +19 -0
- package/src/models/OpeningHours.ts +30 -0
- package/src/models/OpeningHoursContent.ts +19 -0
- package/src/models/Option.ts +163 -0
- package/src/models/OptionContent.ts +59 -0
- package/src/models/OptionExtras.ts +8 -0
- package/src/models/OptionPackages.ts +8 -0
- package/src/models/OptionPickups.ts +22 -0
- package/src/models/OptionPricing.ts +15 -0
- package/src/models/OptionQuestions.ts +11 -0
- package/src/models/OptionRentals.ts +8 -0
- package/src/models/OptionRestrictions.ts +22 -0
- package/src/models/Order.ts +60 -0
- package/src/models/OrderCardPayments.ts +9 -0
- package/src/models/OrderCheckin.ts +8 -0
- package/src/models/OrderContent.ts +11 -0
- package/src/models/OrderGifts.ts +10 -0
- package/src/models/OrderIdentities.ts +9 -0
- package/src/models/OrderMemberships.ts +8 -0
- package/src/models/OrderOffers.ts +8 -0
- package/src/models/OrderPathParams.ts +10 -0
- package/src/models/OrderPricing.ts +8 -0
- package/src/models/OrderQuestions.ts +12 -0
- package/src/models/PackageInclude.ts +19 -0
- package/src/models/Partner.ts +15 -0
- package/src/models/PartnerEnum.ts +7 -0
- package/src/models/PartnersConnection.ts +18 -0
- package/src/models/PartnersListConnection.ts +21 -0
- package/src/models/PartnersListConnectionsRequest.ts +5 -0
- package/src/models/PartnersListConnectionsRequestHeaders.ts +6 -0
- package/src/models/PartnersListConnectionsRequestHeaders_octoCapabilities.ts +8 -0
- package/src/models/PartnersListConnectionsRequestHeaders_ventrataPartnerKey.ts +5 -0
- package/src/models/PaypalGateway.ts +8 -0
- package/src/models/PaytrGateway.ts +9 -0
- package/src/models/PeachGateway.ts +9 -0
- package/src/models/PickupPoint.ts +66 -0
- package/src/models/Point.ts +25 -0
- package/src/models/PointGroup.ts +22 -0
- package/src/models/Pricing.ts +36 -0
- package/src/models/PricingExtras.ts +9 -0
- package/src/models/PricingOffers.ts +8 -0
- package/src/models/PricingPer.ts +8 -0
- package/src/models/PricingUnit.ts +42 -0
- package/src/models/PricingUnitExtras.ts +9 -0
- package/src/models/Product.ts +200 -0
- package/src/models/ProductContent.ts +101 -0
- package/src/models/ProductGoogle.ts +8 -0
- package/src/models/ProductMemberships.ts +7 -0
- package/src/models/ProductPackages.ts +8 -0
- package/src/models/ProductPricing.ts +20 -0
- package/src/models/ProductRentals.ts +7 -0
- package/src/models/Question.ts +43 -0
- package/src/models/QuestionAnswer.ts +13 -0
- package/src/models/QuestionInputType.ts +9 -0
- package/src/models/RealaxGateway.ts +5 -0
- package/src/models/RedemptionMethod.ts +9 -0
- package/src/models/Refund.ts +9 -0
- package/src/models/RentalDuration.ts +13 -0
- package/src/models/RequestHeaders.ts +6 -0
- package/src/models/Reseller.ts +22 -0
- package/src/models/ResellerStatus.ts +9 -0
- package/src/models/Resource.ts +23 -0
- package/src/models/ResourceAllocation.ts +41 -0
- package/src/models/ResourceGroup.ts +18 -0
- package/src/models/ResponseHeaders.ts +6 -0
- package/src/models/Scan.ts +9 -0
- package/src/models/Seat.ts +22 -0
- package/src/models/SelectOption.ts +14 -0
- package/src/models/Seller.ts +12 -0
- package/src/models/SettlementMethod.ts +11 -0
- package/src/models/SpreedlyGateway.ts +11 -0
- package/src/models/StripeGateway.ts +19 -0
- package/src/models/Supplier.ts +35 -0
- package/src/models/SupplierContact.ts +22 -0
- package/src/models/SupplierContent.ts +9 -0
- package/src/models/Tax.ts +20 -0
- package/src/models/Ticket.ts +28 -0
- package/src/models/TourGroup.ts +18 -0
- package/src/models/UUID.ts +5 -0
- package/src/models/Unit.ts +80 -0
- package/src/models/UnitContent.ts +18 -0
- package/src/models/UnitExtras.ts +8 -0
- package/src/models/UnitItem.ts +95 -0
- package/src/models/UnitItemExtras.ts +8 -0
- package/src/models/UnitItemIdentifier.ts +23 -0
- package/src/models/UnitItemPricing.ts +11 -0
- package/src/models/UnitItemQuestions.ts +11 -0
- package/src/models/UnitItemRedemption.ts +8 -0
- package/src/models/UnitMemberships.ts +8 -0
- package/src/models/UnitPricing.ts +15 -0
- package/src/models/UnitQuestions.ts +11 -0
- package/src/models/UnitRestrictions.ts +63 -0
- package/src/models/UnitType.ts +15 -0
- package/src/models/UpdateMappingsRequest.ts +8 -0
- package/src/models/UpdateOrderBody.ts +23 -0
- package/src/models/UpdateOrderPricingBody.ts +10 -0
- package/src/models/UpdateOrderRequest_id.ts +8 -0
- package/src/models/User.ts +12 -0
- package/src/models/VivawalletGateway.ts +8 -0
- package/src/models/Waitlist.ts +15 -0
- package/src/models/WaitlistUnitIdentifier.ts +8 -0
- package/src/models/WaitlistUnitItemIdentifier.ts +8 -0
- package/src/models/Webhook.ts +36 -0
- package/src/models/WebhookEvent.ts +8 -0
- package/src/models/WhoIAm.ts +18 -0
- package/src/models/WhoIAmRequest.ts +5 -0
- package/src/openapi.yaml +16477 -0
- package/src/schemas/AdjustmentDiscount.ts +5 -0
- package/src/schemas/AdjustmentPer.ts +5 -0
- package/src/schemas/AdyenGateway.ts +12 -0
- package/src/schemas/AdyenGatewaySession.ts +7 -0
- package/src/schemas/AdyenPaymentMethodsConfiguration.ts +13 -0
- package/src/schemas/AdyenPaymentMethodsConfigurationApplePay.ts +6 -0
- package/src/schemas/AdyenPaymentMethodsConfigurationCard.ts +23 -0
- package/src/schemas/AdyenPaymentMethodsConfigurationCardBillingAddressMode.ts +7 -0
- package/src/schemas/AdyenPaymentMethodsConfigurationGooglePay.ts +8 -0
- package/src/schemas/AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters.ts +7 -0
- package/src/schemas/AdyenPaymentMethodsConfigurationPayPay.ts +8 -0
- package/src/schemas/Agent.ts +9 -0
- package/src/schemas/Availability.ts +54 -0
- package/src/schemas/AvailabilityCalendar.ts +31 -0
- package/src/schemas/AvailabilityCalendarBody.ts +12 -0
- package/src/schemas/AvailabilityCalendarErrorResponse.ts +4 -0
- package/src/schemas/AvailabilityCalendarExtras.ts +7 -0
- package/src/schemas/AvailabilityCalendarOffers.ts +10 -0
- package/src/schemas/AvailabilityCalendarPricing.ts +9 -0
- package/src/schemas/AvailabilityCalendarRequest.ts +7 -0
- package/src/schemas/AvailabilityCheckBody.ts +13 -0
- package/src/schemas/AvailabilityCheckErrorResponse.ts +4 -0
- package/src/schemas/AvailabilityCheckRequest.ts +7 -0
- package/src/schemas/AvailabilityContent.ts +16 -0
- package/src/schemas/AvailabilityExtras.ts +7 -0
- package/src/schemas/AvailabilityOffers.ts +10 -0
- package/src/schemas/AvailabilityPickups.ts +9 -0
- package/src/schemas/AvailabilityPricing.ts +9 -0
- package/src/schemas/AvailabilityResources.ts +6 -0
- package/src/schemas/AvailabilityStatus.ts +5 -0
- package/src/schemas/AvailabilityType.ts +5 -0
- package/src/schemas/AvailabilityUnit.ts +9 -0
- package/src/schemas/AvailabilityUpdate.ts +13 -0
- package/src/schemas/Booking.ts +146 -0
- package/src/schemas/BookingAdjustment.ts +11 -0
- package/src/schemas/BookingAdjustments.ts +7 -0
- package/src/schemas/BookingCancellation.ts +9 -0
- package/src/schemas/BookingCancellationBody.ts +9 -0
- package/src/schemas/BookingCancellationErrorResponse.ts +4 -0
- package/src/schemas/BookingCancellationPathParams.ts +6 -0
- package/src/schemas/BookingCancellationRequest.ts +10 -0
- package/src/schemas/BookingCancellationRequest_uuid.ts +4 -0
- package/src/schemas/BookingCardPayments.ts +8 -0
- package/src/schemas/BookingCart.ts +8 -0
- package/src/schemas/BookingCheckin.ts +8 -0
- package/src/schemas/BookingConfirmationBody.ts +17 -0
- package/src/schemas/BookingConfirmationErrorResponse.ts +4 -0
- package/src/schemas/BookingConfirmationPathParams.ts +6 -0
- package/src/schemas/BookingConfirmationRequest.ts +10 -0
- package/src/schemas/BookingConfirmationRequest_uuid.ts +4 -0
- package/src/schemas/BookingContact.ts +19 -0
- package/src/schemas/BookingContent.ts +16 -0
- package/src/schemas/BookingExtras.ts +9 -0
- package/src/schemas/BookingGifts.ts +7 -0
- package/src/schemas/BookingIdentities.ts +8 -0
- package/src/schemas/BookingMemberships.ts +9 -0
- package/src/schemas/BookingOffers.ts +13 -0
- package/src/schemas/BookingPackages.ts +12 -0
- package/src/schemas/BookingPickupBody.ts +9 -0
- package/src/schemas/BookingPickups.ts +15 -0
- package/src/schemas/BookingPricing.ts +7 -0
- package/src/schemas/BookingQuestions.ts +7 -0
- package/src/schemas/BookingRejection.ts +7 -0
- package/src/schemas/BookingRentals.ts +9 -0
- package/src/schemas/BookingReservationBody.ts +31 -0
- package/src/schemas/BookingReservationErrorResponse.ts +4 -0
- package/src/schemas/BookingReservationRequest.ts +7 -0
- package/src/schemas/BookingResources.ts +7 -0
- package/src/schemas/BookingStatus.ts +5 -0
- package/src/schemas/BookingUpdate.ts +13 -0
- package/src/schemas/BookingUpdateBody.ts +29 -0
- package/src/schemas/BookingUpdatePathParams.ts +6 -0
- package/src/schemas/BookingUpdateRequest.ts +7 -0
- package/src/schemas/BookingUpdateRequest_uuid.ts +4 -0
- package/src/schemas/Brand.ts +20 -0
- package/src/schemas/BrandContact.ts +10 -0
- package/src/schemas/BridgepayGateway.ts +6 -0
- package/src/schemas/CancelOrderBody.ts +6 -0
- package/src/schemas/CancelOrderRequest_id.ts +4 -0
- package/src/schemas/Capability.ts +12 -0
- package/src/schemas/CapabilityId.ts +5 -0
- package/src/schemas/Card.ts +11 -0
- package/src/schemas/CardPayment.ts +37 -0
- package/src/schemas/Category.ts +13 -0
- package/src/schemas/ConfirmOrderBody.ts +10 -0
- package/src/schemas/ConfirmOrderPricingBody.ts +6 -0
- package/src/schemas/ConfirmOrderRequest_id.ts +4 -0
- package/src/schemas/ContactField.ts +5 -0
- package/src/schemas/CreateOrderBody.ts +10 -0
- package/src/schemas/CreateOrderPricingBody.ts +6 -0
- package/src/schemas/CreateOrderRequest_id.ts +4 -0
- package/src/schemas/CreateWaitlistRequest.ts +14 -0
- package/src/schemas/CreateWebhookBody.ts +13 -0
- package/src/schemas/CreateWebhookRequest.ts +7 -0
- package/src/schemas/CreateWebhookRequestHeaders_octoCapabilities.ts +4 -0
- package/src/schemas/CustomerContact.ts +23 -0
- package/src/schemas/DefaultableID.ts +4 -0
- package/src/schemas/DeleteWebhookPathParams.ts +6 -0
- package/src/schemas/DeleteWebhookRequestHeaders_octoCapabilities.ts +4 -0
- package/src/schemas/DeleteWebhookRequest_id.ts +4 -0
- package/src/schemas/DeliveryFormat.ts +5 -0
- package/src/schemas/DeliveryMethod.ts +5 -0
- package/src/schemas/DeliveryOption.ts +8 -0
- package/src/schemas/Destination.ts +34 -0
- package/src/schemas/DestinationContact.ts +10 -0
- package/src/schemas/DestinationPricing.ts +7 -0
- package/src/schemas/Diff.ts +9 -0
- package/src/schemas/DurationUnit.ts +5 -0
- package/src/schemas/ExtendOrderBody.ts +6 -0
- package/src/schemas/ExtendOrderRequest_id.ts +4 -0
- package/src/schemas/ExtendReservationBody.ts +4 -0
- package/src/schemas/ExtendReservationErrorResponse.ts +4 -0
- package/src/schemas/ExtendReservationPathParams.ts +6 -0
- package/src/schemas/ExtendReservationRequest.ts +10 -0
- package/src/schemas/ExtendReservationRequest_uuid.ts +4 -0
- package/src/schemas/ExternalGateway.ts +4 -0
- package/src/schemas/Extra.ts +16 -0
- package/src/schemas/ExtraItem.ts +11 -0
- package/src/schemas/ExtraPricing.ts +13 -0
- package/src/schemas/ExtraRestrictions.ts +9 -0
- package/src/schemas/FAQ.ts +7 -0
- package/src/schemas/Font.ts +11 -0
- package/src/schemas/GetBookingRequest.ts +4 -0
- package/src/schemas/GetBookingsRequest.ts +4 -0
- package/src/schemas/GetMappingsQueryParams_optionId.ts +4 -0
- package/src/schemas/GetMappingsQueryParams_productId.ts +4 -0
- package/src/schemas/GetMappingsQueryParams_resellerReference.ts +4 -0
- package/src/schemas/GetMappingsQueryParams_resellerStatus.ts +4 -0
- package/src/schemas/GetMappingsRequest.ts +10 -0
- package/src/schemas/GetOrderRequest_id.ts +4 -0
- package/src/schemas/GetProductRequest.ts +4 -0
- package/src/schemas/GetProductsRequest.ts +4 -0
- package/src/schemas/GetSupplierRequest.ts +4 -0
- package/src/schemas/GetYourGuideActivateBody.ts +8 -0
- package/src/schemas/GetYourGuideActivateRequest.ts +7 -0
- package/src/schemas/GetYourGuideActivateRequestHeaders.ts +4 -0
- package/src/schemas/GetYourGuideActivateRequestHeaders_octoCapabilities.ts +4 -0
- package/src/schemas/GetYourGuideConnection.ts +15 -0
- package/src/schemas/Gift.ts +56 -0
- package/src/schemas/GiftCardPayments.ts +8 -0
- package/src/schemas/GiftIdentities.ts +8 -0
- package/src/schemas/GiftPayment.ts +8 -0
- package/src/schemas/GoogleLocalizedText.ts +7 -0
- package/src/schemas/GoogleLocation.ts +8 -0
- package/src/schemas/GoogleOperator.ts +13 -0
- package/src/schemas/GoogleOptionCategory.ts +6 -0
- package/src/schemas/GoogleOptions.ts +17 -0
- package/src/schemas/GoogleRating.ts +7 -0
- package/src/schemas/GoogleRelatedLocation.ts +11 -0
- package/src/schemas/GoogleUrl.ts +6 -0
- package/src/schemas/Identity.ts +7 -0
- package/src/schemas/Image.ts +8 -0
- package/src/schemas/Include.ts +17 -0
- package/src/schemas/ItineraryItem.ts +20 -0
- package/src/schemas/ItineraryItemType.ts +5 -0
- package/src/schemas/Label.ts +7 -0
- package/src/schemas/ListCapabilitiesRequest.ts +4 -0
- package/src/schemas/ListCapabilitiesRequestHeaders.ts +4 -0
- package/src/schemas/ListOrdersRequest.ts +13 -0
- package/src/schemas/ListWebhooksRequest.ts +4 -0
- package/src/schemas/ListWebhooksRequestHeaders_octoCapabilities.ts +4 -0
- package/src/schemas/Mapping.ts +18 -0
- package/src/schemas/MappingToUpdate.ts +13 -0
- package/src/schemas/MediaRel.ts +5 -0
- package/src/schemas/MediaType.ts +5 -0
- package/src/schemas/Membership.ts +14 -0
- package/src/schemas/MembershipBenefit.ts +8 -0
- package/src/schemas/NetDiscount.ts +5 -0
- package/src/schemas/Notice.ts +9 -0
- package/src/schemas/Octo_AvailabilityCalendar.ts +17 -0
- package/src/schemas/Octo_AvailabilityCalendarBody.ts +12 -0
- package/src/schemas/Octo_AvailabilityCalendarErrorResponse.ts +19 -0
- package/src/schemas/Octo_AvailabilityCalendarRequest.ts +7 -0
- package/src/schemas/Octo_AvailabilityCheckBody.ts +13 -0
- package/src/schemas/Octo_AvailabilityCheckErrorResponse.ts +19 -0
- package/src/schemas/Octo_AvailabilityCheckRequest.ts +7 -0
- package/src/schemas/Octo_AvailabilityUnit.ts +7 -0
- package/src/schemas/Octo_BaseError.ts +7 -0
- package/src/schemas/Octo_BookingCancellationBody.ts +7 -0
- package/src/schemas/Octo_BookingCancellationErrorResponse.ts +17 -0
- package/src/schemas/Octo_BookingCancellationRequest.ts +8 -0
- package/src/schemas/Octo_BookingCancellationRequest_uuid.ts +4 -0
- package/src/schemas/Octo_BookingConfirmationBody.ts +11 -0
- package/src/schemas/Octo_BookingConfirmationErrorResponse.ts +25 -0
- package/src/schemas/Octo_BookingConfirmationRequest.ts +8 -0
- package/src/schemas/Octo_BookingConfirmationRequest_uuid.ts +4 -0
- package/src/schemas/Octo_BookingContact.ts +14 -0
- package/src/schemas/Octo_BookingReservationBody.ts +14 -0
- package/src/schemas/Octo_BookingReservationErrorResponse.ts +23 -0
- package/src/schemas/Octo_BookingReservationRequest.ts +7 -0
- package/src/schemas/Octo_BookingUnitItem.ts +7 -0
- package/src/schemas/Octo_Capability.ts +11 -0
- package/src/schemas/Octo_CapabilityId.ts +5 -0
- package/src/schemas/Octo_DeliveryFormat.ts +5 -0
- package/src/schemas/Octo_ErrorBadRequest.ts +4 -0
- package/src/schemas/Octo_ErrorForbidden.ts +4 -0
- package/src/schemas/Octo_ErrorInternalServerError.ts +4 -0
- package/src/schemas/Octo_ErrorInvalidAvailabilityID.ts +9 -0
- package/src/schemas/Octo_ErrorInvalidBookingUUID.ts +9 -0
- package/src/schemas/Octo_ErrorInvalidOptionID.ts +9 -0
- package/src/schemas/Octo_ErrorInvalidProductID.ts +9 -0
- package/src/schemas/Octo_ErrorInvalidUnitID.ts +9 -0
- package/src/schemas/Octo_ErrorUnauthorized.ts +4 -0
- package/src/schemas/Octo_ErrorUnprocessableEntity.ts +4 -0
- package/src/schemas/Octo_ExtendReservationBody.ts +6 -0
- package/src/schemas/Octo_ExtendReservationErrorResponse.ts +17 -0
- package/src/schemas/Octo_ExtendReservationRequest.ts +8 -0
- package/src/schemas/Octo_ExtendReservationRequest_uuid.ts +4 -0
- package/src/schemas/Octo_GetBookingRequest.ts +6 -0
- package/src/schemas/Octo_GetBookingRequest_uuid.ts +4 -0
- package/src/schemas/Octo_GetBookingsRequest.ts +12 -0
- package/src/schemas/Octo_GetBookingsRequest_localDate.ts +4 -0
- package/src/schemas/Octo_GetBookingsRequest_localDateEnd.ts +4 -0
- package/src/schemas/Octo_GetBookingsRequest_localDateStart.ts +4 -0
- package/src/schemas/Octo_GetBookingsRequest_optionId.ts +4 -0
- package/src/schemas/Octo_GetBookingsRequest_productId.ts +4 -0
- package/src/schemas/Octo_GetBookingsRequest_resellerReference.ts +4 -0
- package/src/schemas/Octo_GetBookingsRequest_supplierReference.ts +4 -0
- package/src/schemas/Octo_GetProductRequest.ts +6 -0
- package/src/schemas/Octo_GetProductRequest_id.ts +4 -0
- package/src/schemas/Octo_GetProductsRequest.ts +4 -0
- package/src/schemas/Octo_GetSupplierRequest.ts +4 -0
- package/src/schemas/Octo_Media.ts +13 -0
- package/src/schemas/Octo_OpeningHours.ts +7 -0
- package/src/schemas/Octo_Pricing.ts +12 -0
- package/src/schemas/Octo_PricingUnit.ts +9 -0
- package/src/schemas/Octo_RequestHeaders.ts +4 -0
- package/src/schemas/Octo_RequestHeadersContent.ts +4 -0
- package/src/schemas/Octo_RequestHeaders_octoCapabilities.ts +4 -0
- package/src/schemas/Octo_ResponseHeaders.ts +4 -0
- package/src/schemas/Octo_Tax.ts +9 -0
- package/src/schemas/Offer.ts +17 -0
- package/src/schemas/OfferCombination.ts +16 -0
- package/src/schemas/OfferComparison.ts +14 -0
- package/src/schemas/OfferDiscount.ts +9 -0
- package/src/schemas/OfferMemberships.ts +7 -0
- package/src/schemas/OfferRestrictions.ts +10 -0
- package/src/schemas/OfferTax.ts +9 -0
- package/src/schemas/OpeningHours.ts +11 -0
- package/src/schemas/OpeningHoursContent.ts +9 -0
- package/src/schemas/Option.ts +58 -0
- package/src/schemas/OptionContent.ts +19 -0
- package/src/schemas/OptionExtras.ts +7 -0
- package/src/schemas/OptionPackages.ts +7 -0
- package/src/schemas/OptionPickups.ts +9 -0
- package/src/schemas/OptionPricing.ts +8 -0
- package/src/schemas/OptionQuestions.ts +7 -0
- package/src/schemas/OptionRentals.ts +7 -0
- package/src/schemas/OptionRestrictions.ts +9 -0
- package/src/schemas/Order.ts +55 -0
- package/src/schemas/OrderCardPayments.ts +8 -0
- package/src/schemas/OrderCheckin.ts +7 -0
- package/src/schemas/OrderContent.ts +10 -0
- package/src/schemas/OrderGifts.ts +9 -0
- package/src/schemas/OrderIdentities.ts +8 -0
- package/src/schemas/OrderMemberships.ts +7 -0
- package/src/schemas/OrderOffers.ts +7 -0
- package/src/schemas/OrderPathParams.ts +6 -0
- package/src/schemas/OrderPricing.ts +7 -0
- package/src/schemas/OrderQuestions.ts +7 -0
- package/src/schemas/PackageInclude.ts +9 -0
- package/src/schemas/Partner.ts +8 -0
- package/src/schemas/PartnerEnum.ts +5 -0
- package/src/schemas/PartnersConnection.ts +8 -0
- package/src/schemas/PartnersListConnection.ts +11 -0
- package/src/schemas/PartnersListConnectionsRequest.ts +4 -0
- package/src/schemas/PartnersListConnectionsRequestHeaders.ts +4 -0
- package/src/schemas/PartnersListConnectionsRequestHeaders_octoCapabilities.ts +4 -0
- package/src/schemas/PartnersListConnectionsRequestHeaders_ventrataPartnerKey.ts +4 -0
- package/src/schemas/PaypalGateway.ts +7 -0
- package/src/schemas/PaytrGateway.ts +8 -0
- package/src/schemas/PeachGateway.ts +8 -0
- package/src/schemas/PickupPoint.ts +20 -0
- package/src/schemas/Point.ts +11 -0
- package/src/schemas/PointGroup.ts +9 -0
- package/src/schemas/Pricing.ts +17 -0
- package/src/schemas/PricingExtras.ts +8 -0
- package/src/schemas/PricingOffers.ts +7 -0
- package/src/schemas/PricingPer.ts +5 -0
- package/src/schemas/PricingUnit.ts +20 -0
- package/src/schemas/PricingUnitExtras.ts +8 -0
- package/src/schemas/Product.ts +79 -0
- package/src/schemas/ProductContent.ts +40 -0
- package/src/schemas/ProductGoogle.ts +7 -0
- package/src/schemas/ProductMemberships.ts +6 -0
- package/src/schemas/ProductPackages.ts +7 -0
- package/src/schemas/ProductPricing.ts +10 -0
- package/src/schemas/ProductRentals.ts +6 -0
- package/src/schemas/Question.ts +18 -0
- package/src/schemas/QuestionAnswer.ts +9 -0
- package/src/schemas/QuestionInputType.ts +5 -0
- package/src/schemas/RealaxGateway.ts +4 -0
- package/src/schemas/RedemptionMethod.ts +5 -0
- package/src/schemas/Refund.ts +5 -0
- package/src/schemas/RentalDuration.ts +12 -0
- package/src/schemas/RequestHeaders.ts +4 -0
- package/src/schemas/Reseller.ts +9 -0
- package/src/schemas/ResellerStatus.ts +5 -0
- package/src/schemas/Resource.ts +10 -0
- package/src/schemas/ResourceAllocation.ts +16 -0
- package/src/schemas/ResourceGroup.ts +8 -0
- package/src/schemas/ResponseHeaders.ts +4 -0
- package/src/schemas/Scan.ts +8 -0
- package/src/schemas/Seat.ts +9 -0
- package/src/schemas/SelectOption.ts +7 -0
- package/src/schemas/Seller.ts +11 -0
- package/src/schemas/SettlementMethod.ts +5 -0
- package/src/schemas/SpreedlyGateway.ts +10 -0
- package/src/schemas/StripeGateway.ts +23 -0
- package/src/schemas/Supplier.ts +16 -0
- package/src/schemas/SupplierContact.ts +9 -0
- package/src/schemas/SupplierContent.ts +8 -0
- package/src/schemas/Tax.ts +10 -0
- package/src/schemas/Ticket.ts +11 -0
- package/src/schemas/TourGroup.ts +8 -0
- package/src/schemas/UUID.ts +4 -0
- package/src/schemas/Unit.ts +28 -0
- package/src/schemas/UnitContent.ts +8 -0
- package/src/schemas/UnitExtras.ts +7 -0
- package/src/schemas/UnitItem.ts +40 -0
- package/src/schemas/UnitItemExtras.ts +7 -0
- package/src/schemas/UnitItemIdentifier.ts +10 -0
- package/src/schemas/UnitItemPricing.ts +7 -0
- package/src/schemas/UnitItemQuestions.ts +7 -0
- package/src/schemas/UnitItemRedemption.ts +7 -0
- package/src/schemas/UnitMemberships.ts +7 -0
- package/src/schemas/UnitPricing.ts +8 -0
- package/src/schemas/UnitQuestions.ts +7 -0
- package/src/schemas/UnitRestrictions.ts +20 -0
- package/src/schemas/UnitType.ts +5 -0
- package/src/schemas/UpdateMappingsRequest.ts +7 -0
- package/src/schemas/UpdateOrderBody.ts +10 -0
- package/src/schemas/UpdateOrderPricingBody.ts +6 -0
- package/src/schemas/UpdateOrderRequest_id.ts +4 -0
- package/src/schemas/User.ts +11 -0
- package/src/schemas/VivawalletGateway.ts +7 -0
- package/src/schemas/Waitlist.ts +14 -0
- package/src/schemas/WaitlistUnitIdentifier.ts +7 -0
- package/src/schemas/WaitlistUnitItemIdentifier.ts +7 -0
- package/src/schemas/Webhook.ts +14 -0
- package/src/schemas/WebhookEvent.ts +5 -0
- package/src/schemas/WhoIAm.ts +17 -0
- package/src/schemas/WhoIAmRequest.ts +4 -0
- package/src/utils/generate-schemas.ts +372 -0
- package/src/utils/get-openapi-yaml.ts +20 -0
- package/tsconfig.json +15 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { MediaRel } from './MediaRel';
|
|
6
|
+
import type { MediaType } from './MediaType';
|
|
7
|
+
export type Octo_Media = {
|
|
8
|
+
/**
|
|
9
|
+
* The URL of the media file. The URL must be stable and publicly accessible.
|
|
10
|
+
*/
|
|
11
|
+
src: string;
|
|
12
|
+
/**
|
|
13
|
+
* Specifies the type of the media file, which indicates its format and intended usage. Recommended types include: image/jpeg: High-quality compressed images, ideal for general use. Suggested dimensions: 1920x1080 or higher.
|
|
14
|
+
* image/png: Images with transparency or higher visual fidelity, recommended for logos. Suggested dimensions: At least 1000x1000 pixels.
|
|
15
|
+
* video/mp4: Universal video format for high-quality playback. Suggested resolution: 1080p or higher.
|
|
16
|
+
* video/avi: A less common video format; MP4 is generally preferred for compatibility.
|
|
17
|
+
* external/youtube: URL links to YouTube videos for dynamic content. Use a shareable URL format.
|
|
18
|
+
* external/vimeo: URL links to Vimeo-hosted videos for high-quality or private video content.
|
|
19
|
+
*/
|
|
20
|
+
type: MediaType;
|
|
21
|
+
/**
|
|
22
|
+
* Defines the relationship of the media file to the supplier's content. Common values include: LOGO: For branding assets like supplier logos.
|
|
23
|
+
* COVER: For primary visual elements representing the supplier.
|
|
24
|
+
* GALLERY: For additional images or videos.
|
|
25
|
+
*/
|
|
26
|
+
rel: MediaRel;
|
|
27
|
+
/**
|
|
28
|
+
* The title or name of the media, providing a brief description or identifier for the media file. This helps in organizing and identifying media files (e.g., "Main Attraction Image," "Promotional Video"). This field can be null if no title is provided.
|
|
29
|
+
*/
|
|
30
|
+
title: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* A caption providing additional context or information about what is depicted in the media. Captions should be customer-facing and provide insights such as "Overview of the city skyline at sunset" or "Guests enjoying the guided tour." This field can be null if no caption is provided.
|
|
33
|
+
*/
|
|
34
|
+
caption: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* Information about the copyright status or usage restrictions of the media. This may include details about ownership, licensing terms, or attribution requirements (e.g., "© 2024 Example Corp, All Rights Reserved"). If null, it is assumed there are no copyright restrictions or attribution requirements.
|
|
37
|
+
*/
|
|
38
|
+
copyright: string | null;
|
|
39
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* This optional request header allows to specify preferred languages for content in the response. A language code that specifies the language of the product content. This code must conform to the BCP 47 standard, following RFC 5646 and RFC 4647 specifications for language tags. Examples include en-US for American English, fr-FR for French (France), and es-ES for Spanish (Spain). This header supports a comma-separated list of language tags with optional quality values (q) to indicate priority, such as en-US, fr-CA;q=0.8, fr;q=0.7, which prioritizes U.S. English, followed by Canadian French, and general French. This header is defined in the HTTP/1.1 specification (RFC 7231) and is commonly used for internationalized websites and services to enhance user experience. For more details, visit MDN Web Docs: Accept-Language - HTTP | MDN. Note this only determines preference and does not guarantee location has content available in the desired language.
|
|
7
|
+
*/
|
|
8
|
+
export type Octo_RequestHeadersContent = string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* A list of the Capabilities (their IDs) initialized with your request.
|
|
7
|
+
*/
|
|
8
|
+
export type Octo_RequestHeaders_octoCapabilities = string;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { MembershipBenefit } from './MembershipBenefit';
|
|
6
|
+
import type { NetDiscount } from './NetDiscount';
|
|
7
|
+
import type { OfferRestrictions } from './OfferRestrictions';
|
|
8
|
+
export type Offer = {
|
|
9
|
+
/**
|
|
10
|
+
* The title or name of the offer.
|
|
11
|
+
*/
|
|
12
|
+
title: string;
|
|
13
|
+
/**
|
|
14
|
+
* The label of the offer.
|
|
15
|
+
*/
|
|
16
|
+
label: string;
|
|
17
|
+
/**
|
|
18
|
+
* The unique code used to apply the offer.
|
|
19
|
+
*/
|
|
20
|
+
code: string;
|
|
21
|
+
/**
|
|
22
|
+
* Optional description of the offer.
|
|
23
|
+
*/
|
|
24
|
+
description: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* Net discount strategy applied to the offer.
|
|
27
|
+
*/
|
|
28
|
+
netDiscount: NetDiscount | null;
|
|
29
|
+
/**
|
|
30
|
+
* Restrictions that determine when the offer is valid.
|
|
31
|
+
*/
|
|
32
|
+
restrictions: OfferRestrictions;
|
|
33
|
+
/**
|
|
34
|
+
* Indicates whether the offer can currently be applied.
|
|
35
|
+
*/
|
|
36
|
+
usable: boolean;
|
|
37
|
+
unusableReason: string | null;
|
|
38
|
+
membershipBenefit?: MembershipBenefit | null;
|
|
39
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Booking } from './Booking';
|
|
6
|
+
import type { Pricing } from './Pricing';
|
|
7
|
+
import type { Unit } from './Unit';
|
|
8
|
+
export type OfferCombination = {
|
|
9
|
+
/**
|
|
10
|
+
* ID of the product in the combination.
|
|
11
|
+
*/
|
|
12
|
+
productId: string;
|
|
13
|
+
/**
|
|
14
|
+
* ID of the selected option.
|
|
15
|
+
*/
|
|
16
|
+
optionId: string;
|
|
17
|
+
/**
|
|
18
|
+
* Code used to apply the offer.
|
|
19
|
+
*/
|
|
20
|
+
offerCode: string;
|
|
21
|
+
/**
|
|
22
|
+
* Title of the promotional offer.
|
|
23
|
+
*/
|
|
24
|
+
offerTitle: string;
|
|
25
|
+
/**
|
|
26
|
+
* Pricing details for this offer.
|
|
27
|
+
*/
|
|
28
|
+
pricing: Pricing;
|
|
29
|
+
/**
|
|
30
|
+
* Optional short description.
|
|
31
|
+
*/
|
|
32
|
+
shortDescription?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Units included in this offer.
|
|
35
|
+
*/
|
|
36
|
+
units: Array<Unit>;
|
|
37
|
+
/**
|
|
38
|
+
* Optional booking metadata.
|
|
39
|
+
*/
|
|
40
|
+
booking: Booking | null;
|
|
41
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Pricing } from './Pricing';
|
|
6
|
+
import type { Product } from './Product';
|
|
7
|
+
import type { Unit } from './Unit';
|
|
8
|
+
export type OfferComparison = {
|
|
9
|
+
/**
|
|
10
|
+
* ID of the product being compared.
|
|
11
|
+
*/
|
|
12
|
+
productId: string;
|
|
13
|
+
/**
|
|
14
|
+
* ID of the product option.
|
|
15
|
+
*/
|
|
16
|
+
optionId: string;
|
|
17
|
+
/**
|
|
18
|
+
* Pricing details for this offer.
|
|
19
|
+
*/
|
|
20
|
+
pricing: Pricing;
|
|
21
|
+
/**
|
|
22
|
+
* Full product metadata.
|
|
23
|
+
*/
|
|
24
|
+
product: Product;
|
|
25
|
+
/**
|
|
26
|
+
* Optional short description for the offer.
|
|
27
|
+
*/
|
|
28
|
+
shortDescription?: string;
|
|
29
|
+
/**
|
|
30
|
+
* List of units applicable to this offer.
|
|
31
|
+
*/
|
|
32
|
+
units: Array<Unit>;
|
|
33
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { OfferTax } from './OfferTax';
|
|
6
|
+
export type OfferDiscount = {
|
|
7
|
+
/**
|
|
8
|
+
* Net price before discount.
|
|
9
|
+
*/
|
|
10
|
+
net: number;
|
|
11
|
+
/**
|
|
12
|
+
* Retail price after discount.
|
|
13
|
+
*/
|
|
14
|
+
retail: number;
|
|
15
|
+
/**
|
|
16
|
+
* List of taxes included in the discounted price.
|
|
17
|
+
*/
|
|
18
|
+
includedTaxes: Array<OfferTax>;
|
|
19
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { MembershipBenefit } from './MembershipBenefit';
|
|
6
|
+
export type OfferMemberships = {
|
|
7
|
+
membershipBenefit?: MembershipBenefit | null;
|
|
8
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type OfferRestrictions = {
|
|
6
|
+
/**
|
|
7
|
+
* Minimum number of units allowed.
|
|
8
|
+
*/
|
|
9
|
+
minUnits: number | null;
|
|
10
|
+
/**
|
|
11
|
+
* Maximum number of units allowed.
|
|
12
|
+
*/
|
|
13
|
+
maxUnits: number | null;
|
|
14
|
+
/**
|
|
15
|
+
* Minimum total price or quantity allowed.
|
|
16
|
+
*/
|
|
17
|
+
minTotal: number | null;
|
|
18
|
+
/**
|
|
19
|
+
* Maximum total price or quantity allowed.
|
|
20
|
+
*/
|
|
21
|
+
maxTotal: number | null;
|
|
22
|
+
/**
|
|
23
|
+
* List of unit IDs that the restriction applies to.
|
|
24
|
+
*/
|
|
25
|
+
unitIds: Array<string>;
|
|
26
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type OfferTax = {
|
|
6
|
+
/**
|
|
7
|
+
* The name of the tax or fee, such as "VAT", "City Tax", or "Service Charge". This field provides clear labeling of the tax or fee being applied, making the pricing structure easier to interpret.
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* The value of the tax or fee included in the retail price, expressed in the same currency as the pricingFrom.currency. This value indicates the portion of the end-customer price attributable to the specific tax or fee.
|
|
12
|
+
*/
|
|
13
|
+
retail: number;
|
|
14
|
+
/**
|
|
15
|
+
* The value of the tax or fee included in the net price, expressed in the same currency as the pricingFrom.currency. This value indicates the portion of the reseller’s cost attributable to the specific tax or fee.
|
|
16
|
+
*/
|
|
17
|
+
net: number | null;
|
|
18
|
+
shortDescription: string | null;
|
|
19
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { DurationUnit } from './DurationUnit';
|
|
6
|
+
/**
|
|
7
|
+
* Defines the opening hours for this availability, even for start time-based availability. Supports multiple periods for breaks in the day.
|
|
8
|
+
*/
|
|
9
|
+
export type OpeningHours = {
|
|
10
|
+
/**
|
|
11
|
+
* The opening time
|
|
12
|
+
*/
|
|
13
|
+
from: string;
|
|
14
|
+
/**
|
|
15
|
+
* The closing time
|
|
16
|
+
*/
|
|
17
|
+
to: string;
|
|
18
|
+
/**
|
|
19
|
+
* Optional label for how frequently the event occurs (e.g., daily, weekly).
|
|
20
|
+
*/
|
|
21
|
+
frequency?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* Optional numeric amount representing the interval frequency.
|
|
24
|
+
*/
|
|
25
|
+
frequencyAmount?: number | null;
|
|
26
|
+
/**
|
|
27
|
+
* Optional unit for frequency (e.g., day, week, month).
|
|
28
|
+
*/
|
|
29
|
+
frequencyUnit?: DurationUnit;
|
|
30
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { DurationUnit } from './DurationUnit';
|
|
6
|
+
export type OpeningHoursContent = {
|
|
7
|
+
/**
|
|
8
|
+
* Optional label for how frequently the event occurs (e.g., daily, weekly).
|
|
9
|
+
*/
|
|
10
|
+
frequency?: string | null;
|
|
11
|
+
/**
|
|
12
|
+
* Optional numeric amount representing the interval frequency.
|
|
13
|
+
*/
|
|
14
|
+
frequencyAmount?: number | null;
|
|
15
|
+
/**
|
|
16
|
+
* Optional unit for frequency (e.g., day, week, month).
|
|
17
|
+
*/
|
|
18
|
+
frequencyUnit?: DurationUnit;
|
|
19
|
+
};
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ContactField } from './ContactField';
|
|
6
|
+
import type { DurationUnit } from './DurationUnit';
|
|
7
|
+
import type { Extra } from './Extra';
|
|
8
|
+
import type { ItineraryItem } from './ItineraryItem';
|
|
9
|
+
import type { OptionRestrictions } from './OptionRestrictions';
|
|
10
|
+
import type { PackageInclude } from './PackageInclude';
|
|
11
|
+
import type { PickupPoint } from './PickupPoint';
|
|
12
|
+
import type { Point } from './Point';
|
|
13
|
+
import type { Pricing } from './Pricing';
|
|
14
|
+
import type { Question } from './Question';
|
|
15
|
+
import type { RentalDuration } from './RentalDuration';
|
|
16
|
+
import type { Unit } from './Unit';
|
|
17
|
+
export type Option = {
|
|
18
|
+
/**
|
|
19
|
+
* A unique identifier for the option within the product. This ID is critical for identifying specific options during bookings or other API interactions.
|
|
20
|
+
*/
|
|
21
|
+
id: string;
|
|
22
|
+
/**
|
|
23
|
+
* Indicates whether the option is the default selection.
|
|
24
|
+
* true: This option should be rendered and selected first in customer-facing interfaces.
|
|
25
|
+
* false: The option is not default and requires manual selection.
|
|
26
|
+
*/
|
|
27
|
+
default: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* 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.
|
|
30
|
+
*/
|
|
31
|
+
internalName: string;
|
|
32
|
+
/**
|
|
33
|
+
* 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.
|
|
34
|
+
*/
|
|
35
|
+
reference: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* 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"].
|
|
38
|
+
*/
|
|
39
|
+
availabilityLocalStartTimes: Array<string>;
|
|
40
|
+
availabilityLocalDateStart: string;
|
|
41
|
+
availabilityLocalDateEnd: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* A text description of the option's cancellation policy, providing clear guidelines to customers.
|
|
44
|
+
*/
|
|
45
|
+
cancellationCutoff: string;
|
|
46
|
+
/**
|
|
47
|
+
* The numeric value of the cutoff period for cancellations, relative to start time or closing hour (of opening hours product)
|
|
48
|
+
*/
|
|
49
|
+
cancellationCutoffAmount: number;
|
|
50
|
+
/**
|
|
51
|
+
* The time unit associated with the cutoff period. Possible values are:
|
|
52
|
+
* hour: Cutoff is measured in hours.
|
|
53
|
+
* minute: Cutoff is measured in minutes.
|
|
54
|
+
* day: Cutoff is measured in days.
|
|
55
|
+
*/
|
|
56
|
+
cancellationCutoffUnit: DurationUnit;
|
|
57
|
+
/**
|
|
58
|
+
* An array specifying the contact fields required to confirm a booking. These apply to the lead traveler, not individual tickets. Possible values:
|
|
59
|
+
* firstName: The first name of the traveler.
|
|
60
|
+
* lastName: The last name of the traveler.
|
|
61
|
+
* fullName: The full name of the traveler.
|
|
62
|
+
* emailAddress: The email address of the traveler.
|
|
63
|
+
* phoneNumber: The phone number of the traveler.
|
|
64
|
+
* postalCode: The postal code of the traveler.
|
|
65
|
+
* country: The country of the traveler.
|
|
66
|
+
* notes: Optional notes from the traveler.
|
|
67
|
+
* locales: Preferred language/localization preferences.
|
|
68
|
+
*/
|
|
69
|
+
requiredContactFields: Array<ContactField>;
|
|
70
|
+
availabilityCutoff: string;
|
|
71
|
+
availabilityCutoffAmount: number;
|
|
72
|
+
availabilityCutoffUnit: DurationUnit;
|
|
73
|
+
/**
|
|
74
|
+
* An array of tags that can be used to filter products.
|
|
75
|
+
*/
|
|
76
|
+
tags: Array<string>;
|
|
77
|
+
/**
|
|
78
|
+
* 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.
|
|
79
|
+
*/
|
|
80
|
+
visibleContactFields: Array<ContactField>;
|
|
81
|
+
restrictions: OptionRestrictions;
|
|
82
|
+
units: Array<Unit>;
|
|
83
|
+
/**
|
|
84
|
+
* The title of the option. Only present when ventrata/content capability is requested.
|
|
85
|
+
*/
|
|
86
|
+
title?: string;
|
|
87
|
+
/**
|
|
88
|
+
* The subtitle of the option. Only present when ventrata/content capability is requested.
|
|
89
|
+
*/
|
|
90
|
+
subtitle?: string | null;
|
|
91
|
+
/**
|
|
92
|
+
* The language of the option. Only present when ventrata/content capability is requested.
|
|
93
|
+
*/
|
|
94
|
+
language?: string;
|
|
95
|
+
/**
|
|
96
|
+
* The description of the option. Only present when ventrata/content capability is requested.
|
|
97
|
+
*/
|
|
98
|
+
shortDescription?: string | null;
|
|
99
|
+
/**
|
|
100
|
+
* Human readable duration of the option. Duration starts to count on redemption.
|
|
101
|
+
* This field can be hidden by `hide_duration`.
|
|
102
|
+
* Only present when ventrata/content capability is requested.
|
|
103
|
+
*/
|
|
104
|
+
duration?: string;
|
|
105
|
+
/**
|
|
106
|
+
* The duration amount of the option.
|
|
107
|
+
* This field can be hidden by `hide_duration`.
|
|
108
|
+
* Only present when ventrata/content capability is requested.
|
|
109
|
+
*/
|
|
110
|
+
durationAmount?: number;
|
|
111
|
+
/**
|
|
112
|
+
* The duration unit. Possible values are `hour`, `minute`, `day`.
|
|
113
|
+
* This field can be hidden by `hide_duration`.
|
|
114
|
+
* Only present when ventrata/content capability is requested.
|
|
115
|
+
*/
|
|
116
|
+
durationUnit?: DurationUnit;
|
|
117
|
+
/**
|
|
118
|
+
* The cover image URL of the option. Only present when ventrata/content capability is requested.
|
|
119
|
+
*/
|
|
120
|
+
coverImageUrl?: string | null;
|
|
121
|
+
/**
|
|
122
|
+
* The itinerary of the option. Only present when ventrata/content capability is requested.
|
|
123
|
+
*/
|
|
124
|
+
itinerary?: Array<ItineraryItem> | null;
|
|
125
|
+
/**
|
|
126
|
+
* The origin point of the option. Only present when ventrata/content capability is requested.
|
|
127
|
+
*/
|
|
128
|
+
fromPoint?: Point | null;
|
|
129
|
+
/**
|
|
130
|
+
* The destination point of the option. Only present when ventrata/content capability is requested.
|
|
131
|
+
*/
|
|
132
|
+
toPoint?: Point | null;
|
|
133
|
+
/**
|
|
134
|
+
* Whether this option has pickup available.
|
|
135
|
+
* This field is only present when the capability `octo/pickups` is requested.
|
|
136
|
+
*/
|
|
137
|
+
pickupAvailable?: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* Whether pickup is required for this option.
|
|
140
|
+
* This field is only present when the capability `octo/pickups` is requested.
|
|
141
|
+
*/
|
|
142
|
+
pickupRequired?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Whether pickup is required for this option.
|
|
145
|
+
* This field is only present when the capability `octo/pickups` is requested.
|
|
146
|
+
*/
|
|
147
|
+
pickupPoints?: Array<PickupPoint>;
|
|
148
|
+
/**
|
|
149
|
+
* Is on the object when Pricing capability is requested.
|
|
150
|
+
*/
|
|
151
|
+
pricingFrom?: Array<Pricing>;
|
|
152
|
+
/**
|
|
153
|
+
* Is on the object when Pricing capability is requested.
|
|
154
|
+
*/
|
|
155
|
+
pricing?: Array<Pricing>;
|
|
156
|
+
/**
|
|
157
|
+
* Questions for this option. Only present when octo/questions capability is requested.
|
|
158
|
+
*/
|
|
159
|
+
questions?: Array<Question>;
|
|
160
|
+
extras?: Array<Extra>;
|
|
161
|
+
packageIncludes?: Array<PackageInclude>;
|
|
162
|
+
rentalDurations?: Array<RentalDuration>;
|
|
163
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { DurationUnit } from './DurationUnit';
|
|
6
|
+
import type { ItineraryItem } from './ItineraryItem';
|
|
7
|
+
import type { Point } from './Point';
|
|
8
|
+
export type OptionContent = {
|
|
9
|
+
/**
|
|
10
|
+
* The title of the option. Only present when ventrata/content capability is requested.
|
|
11
|
+
*/
|
|
12
|
+
title?: string;
|
|
13
|
+
/**
|
|
14
|
+
* The subtitle of the option. Only present when ventrata/content capability is requested.
|
|
15
|
+
*/
|
|
16
|
+
subtitle?: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* The language of the option. Only present when ventrata/content capability is requested.
|
|
19
|
+
*/
|
|
20
|
+
language?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The description of the option. Only present when ventrata/content capability is requested.
|
|
23
|
+
*/
|
|
24
|
+
shortDescription?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* Human readable duration of the option. Duration starts to count on redemption.
|
|
27
|
+
* This field can be hidden by `hide_duration`.
|
|
28
|
+
* Only present when ventrata/content capability is requested.
|
|
29
|
+
*/
|
|
30
|
+
duration?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The duration amount of the option.
|
|
33
|
+
* This field can be hidden by `hide_duration`.
|
|
34
|
+
* Only present when ventrata/content capability is requested.
|
|
35
|
+
*/
|
|
36
|
+
durationAmount?: number;
|
|
37
|
+
/**
|
|
38
|
+
* The duration unit. Possible values are `hour`, `minute`, `day`.
|
|
39
|
+
* This field can be hidden by `hide_duration`.
|
|
40
|
+
* Only present when ventrata/content capability is requested.
|
|
41
|
+
*/
|
|
42
|
+
durationUnit?: DurationUnit;
|
|
43
|
+
/**
|
|
44
|
+
* The cover image URL of the option. Only present when ventrata/content capability is requested.
|
|
45
|
+
*/
|
|
46
|
+
coverImageUrl?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* The itinerary of the option. Only present when ventrata/content capability is requested.
|
|
49
|
+
*/
|
|
50
|
+
itinerary?: Array<ItineraryItem> | null;
|
|
51
|
+
/**
|
|
52
|
+
* The origin point of the option. Only present when ventrata/content capability is requested.
|
|
53
|
+
*/
|
|
54
|
+
fromPoint?: Point | null;
|
|
55
|
+
/**
|
|
56
|
+
* The destination point of the option. Only present when ventrata/content capability is requested.
|
|
57
|
+
*/
|
|
58
|
+
toPoint?: Point | null;
|
|
59
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { PackageInclude } from './PackageInclude';
|
|
6
|
+
export type OptionPackages = {
|
|
7
|
+
packageIncludes?: Array<PackageInclude>;
|
|
8
|
+
};
|