@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,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* The type of discount. Possible values are `NONE`, `FULL`, `SPLIT`, `PRORATED` or `MANUAL`
|
|
7
|
+
*/
|
|
8
|
+
export enum AdjustmentDiscount {
|
|
9
|
+
NONE = 'NONE',
|
|
10
|
+
FULL = 'FULL',
|
|
11
|
+
SPLIT = 'SPLIT',
|
|
12
|
+
PRORATED = 'PRORATED',
|
|
13
|
+
MANUAL = 'MANUAL',
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* The type of adjustment. Possible values are `BOOKING`, `UNIT` or `PERCENTAGE`
|
|
7
|
+
*/
|
|
8
|
+
export enum AdjustmentPer {
|
|
9
|
+
BOOKING = 'BOOKING',
|
|
10
|
+
UNIT = 'UNIT',
|
|
11
|
+
PERCENTAGE = 'PERCENTAGE',
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { AdyenGatewaySession } from './AdyenGatewaySession';
|
|
6
|
+
import type { AdyenPaymentMethodsConfiguration } from './AdyenPaymentMethodsConfiguration';
|
|
7
|
+
export type AdyenGateway = {
|
|
8
|
+
environment?: string;
|
|
9
|
+
clientKey?: string;
|
|
10
|
+
session?: AdyenGatewaySession | null;
|
|
11
|
+
countryCode?: string;
|
|
12
|
+
paymentMethodsConfiguration?: AdyenPaymentMethodsConfiguration;
|
|
13
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { AdyenPaymentMethodsConfigurationApplePay } from './AdyenPaymentMethodsConfigurationApplePay';
|
|
6
|
+
import type { AdyenPaymentMethodsConfigurationCard } from './AdyenPaymentMethodsConfigurationCard';
|
|
7
|
+
import type { AdyenPaymentMethodsConfigurationGooglePay } from './AdyenPaymentMethodsConfigurationGooglePay';
|
|
8
|
+
import type { AdyenPaymentMethodsConfigurationPayPay } from './AdyenPaymentMethodsConfigurationPayPay';
|
|
9
|
+
export type AdyenPaymentMethodsConfiguration = {
|
|
10
|
+
card: AdyenPaymentMethodsConfigurationCard;
|
|
11
|
+
paypal: AdyenPaymentMethodsConfigurationPayPay;
|
|
12
|
+
applepay: AdyenPaymentMethodsConfigurationApplePay;
|
|
13
|
+
googlepay: AdyenPaymentMethodsConfigurationGooglePay;
|
|
14
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { AdyenPaymentMethodsConfigurationCardBillingAddressMode } from './AdyenPaymentMethodsConfigurationCardBillingAddressMode';
|
|
6
|
+
export type AdyenPaymentMethodsConfigurationCard = {
|
|
7
|
+
hasHolderName: boolean;
|
|
8
|
+
billingAddressRequired: boolean;
|
|
9
|
+
billingAddressMode: AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
10
|
+
data: {
|
|
11
|
+
holderName: string;
|
|
12
|
+
billingAddress: {
|
|
13
|
+
street: string;
|
|
14
|
+
postalCode: string;
|
|
15
|
+
city: string;
|
|
16
|
+
country: string;
|
|
17
|
+
stateOrProvince: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
clickToPayConfiguration: {
|
|
21
|
+
merchantDisplayName: string;
|
|
22
|
+
shopperEmail: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters } from './AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters';
|
|
6
|
+
export type AdyenPaymentMethodsConfigurationGooglePay = {
|
|
7
|
+
billingAddressRequired: boolean;
|
|
8
|
+
billingAddressParameters: AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type AdyenPaymentMethodsConfigurationPayPay = {
|
|
6
|
+
blockPayPalCreditButton: boolean;
|
|
7
|
+
blockPayPalPayLaterButton: boolean;
|
|
8
|
+
blockPayPalVenmoButton: boolean;
|
|
9
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type Agent = {
|
|
6
|
+
/**
|
|
7
|
+
* A unique ID / UUID generated to identify the agent.
|
|
8
|
+
*/
|
|
9
|
+
id: string;
|
|
10
|
+
/**
|
|
11
|
+
* Agent name.
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* Agent reference.
|
|
16
|
+
*/
|
|
17
|
+
reference: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* An array of tags that can be used to filter.
|
|
20
|
+
*/
|
|
21
|
+
tags: Array<string>;
|
|
22
|
+
};
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { AvailabilityStatus } from './AvailabilityStatus';
|
|
6
|
+
import type { ExtraPricing } from './ExtraPricing';
|
|
7
|
+
import type { Notice } from './Notice';
|
|
8
|
+
import type { Offer } from './Offer';
|
|
9
|
+
import type { OpeningHours } from './OpeningHours';
|
|
10
|
+
import type { PickupPoint } from './PickupPoint';
|
|
11
|
+
import type { Pricing } from './Pricing';
|
|
12
|
+
import type { PricingUnit } from './PricingUnit';
|
|
13
|
+
import type { TourGroup } from './TourGroup';
|
|
14
|
+
export type Availability = {
|
|
15
|
+
/**
|
|
16
|
+
* A unique identifier for this availability. This ID is used during booking and must be unique within the scope of an option.
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* The start time for this availability in the product’s local time zone. This value must conform to ISO 8601 standards (e.g., "2024-11-17T09:00:00+00:00").
|
|
21
|
+
*/
|
|
22
|
+
localDateTimeStart: string;
|
|
23
|
+
/**
|
|
24
|
+
* The end time for this availability in the product’s local time zone. It must also adhere to ISO 8601 standards.
|
|
25
|
+
*/
|
|
26
|
+
localDateTimeEnd: string;
|
|
27
|
+
/**
|
|
28
|
+
* The time by which the booking must be confirmed at
|
|
29
|
+
*/
|
|
30
|
+
utcCutoffAt: string;
|
|
31
|
+
/**
|
|
32
|
+
* Indicates if this availability spans the entire day. If set to true, there will be no specific start or end times for this availability.
|
|
33
|
+
*/
|
|
34
|
+
allDay: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Indicates if there are remaining slots available for this date or time slot.
|
|
37
|
+
*/
|
|
38
|
+
available: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Defines the current status of the availability:
|
|
41
|
+
* AVAILABLE: Open for booking.
|
|
42
|
+
* FREESALE: Unlimited availability, no capacity limits.
|
|
43
|
+
* SOLD_OUT: No spots available.
|
|
44
|
+
* LIMITED: Less than 50% capacity remaining.
|
|
45
|
+
* CLOSED: The availability is closed.
|
|
46
|
+
*/
|
|
47
|
+
status: AvailabilityStatus;
|
|
48
|
+
/**
|
|
49
|
+
* Specifies the number of available slots remaining. Should be nulled or omitted when status is FREESALE. If availability is tracked per unit, this represents the maximum remaining quantity across all units.
|
|
50
|
+
*/
|
|
51
|
+
vacancies: number | null;
|
|
52
|
+
/**
|
|
53
|
+
* The total capacity for this availability.
|
|
54
|
+
*/
|
|
55
|
+
capacity: number | null;
|
|
56
|
+
/**
|
|
57
|
+
* The maximum number of units that can be sold in a single booking during this availability slot.
|
|
58
|
+
*/
|
|
59
|
+
maxUnits: number | null;
|
|
60
|
+
/**
|
|
61
|
+
* Defines the opening hours for this availability, even for start time-based availability. Supports multiple periods for breaks in the day.
|
|
62
|
+
*/
|
|
63
|
+
openingHours: Array<OpeningHours>;
|
|
64
|
+
code: string | null;
|
|
65
|
+
totalCapacity: number | null;
|
|
66
|
+
limitCapacity: number | null;
|
|
67
|
+
limitPaxCount: number;
|
|
68
|
+
noShows: number;
|
|
69
|
+
totalNoShows: number;
|
|
70
|
+
totalPaxCount: number;
|
|
71
|
+
paxCount: number;
|
|
72
|
+
maxPaxCount: number | null;
|
|
73
|
+
/**
|
|
74
|
+
* Whether this availability has pickup available.
|
|
75
|
+
* This field is only present when the capability `octo/pickups` is requested.
|
|
76
|
+
*/
|
|
77
|
+
pickupAvailable?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* Whether pickup is required for this availability.
|
|
80
|
+
* This field is only present when the capability `octo/pickups` is requested.
|
|
81
|
+
*/
|
|
82
|
+
pickupRequired?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Whether pickup is required for this availability.
|
|
85
|
+
* This field is only present when the capability `octo/pickups` is requested.
|
|
86
|
+
*/
|
|
87
|
+
pickupPoints?: Array<PickupPoint>;
|
|
88
|
+
/**
|
|
89
|
+
* Is on the object when Pricing capability is requested.
|
|
90
|
+
*/
|
|
91
|
+
unitPricing?: Array<PricingUnit>;
|
|
92
|
+
/**
|
|
93
|
+
* Is on the object when Pricing capability is requested.
|
|
94
|
+
*/
|
|
95
|
+
pricing?: Pricing;
|
|
96
|
+
/**
|
|
97
|
+
* Optional code used to apply a specific offer.
|
|
98
|
+
*/
|
|
99
|
+
offerCode?: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* Optional display title of the offer.
|
|
102
|
+
*/
|
|
103
|
+
offerTitle?: string | null;
|
|
104
|
+
/**
|
|
105
|
+
* List of available offers for the availability.
|
|
106
|
+
*/
|
|
107
|
+
offers?: Array<Offer>;
|
|
108
|
+
/**
|
|
109
|
+
* Best or selected offer for this availability.
|
|
110
|
+
*/
|
|
111
|
+
offer?: Offer | null;
|
|
112
|
+
/**
|
|
113
|
+
* Optional text for the meeting point location.
|
|
114
|
+
*/
|
|
115
|
+
meetingPoint?: string | null;
|
|
116
|
+
/**
|
|
117
|
+
* Optional meeting point coordinates as an string: longitude, latitude
|
|
118
|
+
*/
|
|
119
|
+
meetingPointCoordinates?: string | null;
|
|
120
|
+
/**
|
|
121
|
+
* Optional meeting point direstions
|
|
122
|
+
*/
|
|
123
|
+
meetingPointDirections?: string | null;
|
|
124
|
+
/**
|
|
125
|
+
* Latitude component of the meeting point.
|
|
126
|
+
*/
|
|
127
|
+
meetingPointLatitude?: number | null;
|
|
128
|
+
/**
|
|
129
|
+
* Longitude component of the meeting point.
|
|
130
|
+
*/
|
|
131
|
+
meetingPointLongitude?: number | null;
|
|
132
|
+
/**
|
|
133
|
+
* Local datetime string (ISO 8601) for when to meet.
|
|
134
|
+
*/
|
|
135
|
+
meetingLocalDateTime?: string | null;
|
|
136
|
+
/**
|
|
137
|
+
* Optional reference to the tour group this availability belongs to.
|
|
138
|
+
*/
|
|
139
|
+
tourGroup?: TourGroup | null;
|
|
140
|
+
fare?: any;
|
|
141
|
+
/**
|
|
142
|
+
* List of important notices related to the availability.
|
|
143
|
+
*/
|
|
144
|
+
notices?: Array<Notice>;
|
|
145
|
+
extraPricing?: Array<ExtraPricing>;
|
|
146
|
+
/**
|
|
147
|
+
* Indicates whether the availability uses resources (e.g., guides, vehicles).
|
|
148
|
+
*/
|
|
149
|
+
hasResources?: boolean;
|
|
150
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { AvailabilityStatus } from './AvailabilityStatus';
|
|
6
|
+
import type { ExtraPricing } from './ExtraPricing';
|
|
7
|
+
import type { Offer } from './Offer';
|
|
8
|
+
import type { OpeningHours } from './OpeningHours';
|
|
9
|
+
import type { Pricing } from './Pricing';
|
|
10
|
+
import type { PricingUnit } from './PricingUnit';
|
|
11
|
+
export type AvailabilityCalendar = {
|
|
12
|
+
/**
|
|
13
|
+
* The specific date for querying availability on Availability Calendar endpoint. This field must follow the ISO 8601 date format (e.g., 2024-11-18). It ensures standardized representation of dates across different systems.
|
|
14
|
+
*/
|
|
15
|
+
localDate: string;
|
|
16
|
+
/**
|
|
17
|
+
* Indicates whether there is any remaining availability for the specified date.
|
|
18
|
+
* true: Availability exists.
|
|
19
|
+
* false: Fully booked or unavailable.
|
|
20
|
+
*/
|
|
21
|
+
available: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Defines the current status of the availability date:
|
|
24
|
+
* AVAILABLE: Open for booking.
|
|
25
|
+
* FREESALE: Unlimited availability, no capacity limits.
|
|
26
|
+
* SOLD_OUT: No spots available.
|
|
27
|
+
* LIMITED: Less than 50% capacity remaining.
|
|
28
|
+
* CLOSED: The availability is closed.
|
|
29
|
+
*/
|
|
30
|
+
status: AvailabilityStatus;
|
|
31
|
+
/**
|
|
32
|
+
* Specifies the number of available slots remaining quantity (highest remaining vacancies from all availabilities of this day). Should be nulled or omitted when status is FREESALE.
|
|
33
|
+
*/
|
|
34
|
+
vacancies: number | null;
|
|
35
|
+
/**
|
|
36
|
+
* The total capacity for this availability date.
|
|
37
|
+
*/
|
|
38
|
+
capacity: number | null;
|
|
39
|
+
/**
|
|
40
|
+
* Defines the opening hours for this availability, even for start time-based availability. Supports multiple periods for breaks in the day.
|
|
41
|
+
*/
|
|
42
|
+
openingHours: Array<OpeningHours>;
|
|
43
|
+
limitCapacity: number | null;
|
|
44
|
+
totalCapacity: number | null;
|
|
45
|
+
limitPaxCount: number;
|
|
46
|
+
totalPaxCount: number;
|
|
47
|
+
paxCount: number;
|
|
48
|
+
/**
|
|
49
|
+
* The time by which the booking must be confirmed at
|
|
50
|
+
*/
|
|
51
|
+
utcCutoffAt: string;
|
|
52
|
+
/**
|
|
53
|
+
* List of local start times for the availability.
|
|
54
|
+
*/
|
|
55
|
+
availabilityLocalStartTimes: Array<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Is on the object when Pricing capability is requested.
|
|
58
|
+
*/
|
|
59
|
+
unitPricingFrom?: Array<PricingUnit>;
|
|
60
|
+
/**
|
|
61
|
+
* Is on the object when Pricing capability is requested.
|
|
62
|
+
*/
|
|
63
|
+
pricingFrom?: Pricing;
|
|
64
|
+
/**
|
|
65
|
+
* Optional code used to apply a specific offer.
|
|
66
|
+
*/
|
|
67
|
+
offerCode?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* Optional display title of the offer.
|
|
70
|
+
*/
|
|
71
|
+
offerTitle?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* List of available offers for the availability.
|
|
74
|
+
*/
|
|
75
|
+
offers?: Array<Offer>;
|
|
76
|
+
/**
|
|
77
|
+
* Best or selected offer for this availability.
|
|
78
|
+
*/
|
|
79
|
+
offer?: Offer | null;
|
|
80
|
+
extraPricingFrom?: Array<ExtraPricing>;
|
|
81
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { AvailabilityUnit } from './AvailabilityUnit';
|
|
6
|
+
export type AvailabilityCalendarBody = {
|
|
7
|
+
/**
|
|
8
|
+
* The product id.
|
|
9
|
+
*/
|
|
10
|
+
productId: string;
|
|
11
|
+
/**
|
|
12
|
+
* The option id.
|
|
13
|
+
*/
|
|
14
|
+
optionId: string;
|
|
15
|
+
/**
|
|
16
|
+
* Start date to query for (YYYY-MM-DD).
|
|
17
|
+
*/
|
|
18
|
+
localDateStart?: string;
|
|
19
|
+
/**
|
|
20
|
+
* End date to query for (YYYY-MM-DD).
|
|
21
|
+
*/
|
|
22
|
+
localDateEnd?: string;
|
|
23
|
+
units?: Array<AvailabilityUnit>;
|
|
24
|
+
/**
|
|
25
|
+
* Can be used only when pricing capability is used.
|
|
26
|
+
*/
|
|
27
|
+
currency?: string;
|
|
28
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Octo_AvailabilityCalendarErrorResponse } from './Octo_AvailabilityCalendarErrorResponse';
|
|
6
|
+
export type AvailabilityCalendarErrorResponse = Octo_AvailabilityCalendarErrorResponse;
|
|
@@ -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 { ExtraPricing } from './ExtraPricing';
|
|
6
|
+
export type AvailabilityCalendarExtras = {
|
|
7
|
+
extraPricingFrom?: Array<ExtraPricing>;
|
|
8
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Offer } from './Offer';
|
|
6
|
+
export type AvailabilityCalendarOffers = {
|
|
7
|
+
/**
|
|
8
|
+
* Optional code used to apply a specific offer.
|
|
9
|
+
*/
|
|
10
|
+
offerCode?: string | null;
|
|
11
|
+
/**
|
|
12
|
+
* Optional display title of the offer.
|
|
13
|
+
*/
|
|
14
|
+
offerTitle?: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* List of available offers for the availability.
|
|
17
|
+
*/
|
|
18
|
+
offers?: Array<Offer>;
|
|
19
|
+
/**
|
|
20
|
+
* Best or selected offer for this availability.
|
|
21
|
+
*/
|
|
22
|
+
offer?: Offer | null;
|
|
23
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { PricingUnit } from './PricingUnit';
|
|
7
|
+
export type AvailabilityCalendarPricing = {
|
|
8
|
+
/**
|
|
9
|
+
* Is on the object when Pricing capability is requested.
|
|
10
|
+
*/
|
|
11
|
+
unitPricingFrom?: Array<PricingUnit>;
|
|
12
|
+
/**
|
|
13
|
+
* Is on the object when Pricing capability is requested.
|
|
14
|
+
*/
|
|
15
|
+
pricingFrom?: Pricing;
|
|
16
|
+
};
|
|
@@ -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 { AvailabilityCalendarBody } from './AvailabilityCalendarBody';
|
|
6
|
+
export type AvailabilityCalendarRequest = {
|
|
7
|
+
body: AvailabilityCalendarBody;
|
|
8
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { AvailabilityUnit } from './AvailabilityUnit';
|
|
6
|
+
export type AvailabilityCheckBody = {
|
|
7
|
+
/**
|
|
8
|
+
* The product id.
|
|
9
|
+
*/
|
|
10
|
+
productId: string;
|
|
11
|
+
/**
|
|
12
|
+
* The option id.
|
|
13
|
+
*/
|
|
14
|
+
optionId: string;
|
|
15
|
+
/**
|
|
16
|
+
* Start date to query for (YYYY-MM-DD). Required if `localDateEnd` is set.
|
|
17
|
+
*/
|
|
18
|
+
localDateStart?: string;
|
|
19
|
+
/**
|
|
20
|
+
* End date to query for (YYYY-MM-DD). Required if `localDateStart` is set.
|
|
21
|
+
*/
|
|
22
|
+
localDateEnd?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Filter the results by the given ids.
|
|
25
|
+
*/
|
|
26
|
+
availabilityIds?: Array<string>;
|
|
27
|
+
units?: Array<AvailabilityUnit>;
|
|
28
|
+
/**
|
|
29
|
+
* Can be used only when pricing capability is used.
|
|
30
|
+
*/
|
|
31
|
+
currency?: string;
|
|
32
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Octo_AvailabilityCheckErrorResponse } from './Octo_AvailabilityCheckErrorResponse';
|
|
6
|
+
export type AvailabilityCheckErrorResponse = Octo_AvailabilityCheckErrorResponse;
|
|
@@ -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 { AvailabilityCheckBody } from './AvailabilityCheckBody';
|
|
6
|
+
export type AvailabilityCheckRequest = {
|
|
7
|
+
body: AvailabilityCheckBody;
|
|
8
|
+
};
|
|
@@ -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 { Notice } from './Notice';
|
|
6
|
+
import type { TourGroup } from './TourGroup';
|
|
7
|
+
export type AvailabilityContent = {
|
|
8
|
+
/**
|
|
9
|
+
* Optional text for the meeting point location.
|
|
10
|
+
*/
|
|
11
|
+
meetingPoint?: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* Optional meeting point coordinates as an string: longitude, latitude
|
|
14
|
+
*/
|
|
15
|
+
meetingPointCoordinates?: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* Optional meeting point direstions
|
|
18
|
+
*/
|
|
19
|
+
meetingPointDirections?: string | null;
|
|
20
|
+
/**
|
|
21
|
+
* Latitude component of the meeting point.
|
|
22
|
+
*/
|
|
23
|
+
meetingPointLatitude?: number | null;
|
|
24
|
+
/**
|
|
25
|
+
* Longitude component of the meeting point.
|
|
26
|
+
*/
|
|
27
|
+
meetingPointLongitude?: number | null;
|
|
28
|
+
/**
|
|
29
|
+
* Local datetime string (ISO 8601) for when to meet.
|
|
30
|
+
*/
|
|
31
|
+
meetingLocalDateTime?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* Optional reference to the tour group this availability belongs to.
|
|
34
|
+
*/
|
|
35
|
+
tourGroup?: TourGroup | null;
|
|
36
|
+
fare?: any;
|
|
37
|
+
/**
|
|
38
|
+
* List of important notices related to the availability.
|
|
39
|
+
*/
|
|
40
|
+
notices?: Array<Notice>;
|
|
41
|
+
};
|
|
@@ -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 { ExtraPricing } from './ExtraPricing';
|
|
6
|
+
export type AvailabilityExtras = {
|
|
7
|
+
extraPricing?: Array<ExtraPricing>;
|
|
8
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Offer } from './Offer';
|
|
6
|
+
export type AvailabilityOffers = {
|
|
7
|
+
/**
|
|
8
|
+
* Optional code used to apply a specific offer.
|
|
9
|
+
*/
|
|
10
|
+
offerCode?: string | null;
|
|
11
|
+
/**
|
|
12
|
+
* Optional display title of the offer.
|
|
13
|
+
*/
|
|
14
|
+
offerTitle?: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* List of available offers for the availability.
|
|
17
|
+
*/
|
|
18
|
+
offers?: Array<Offer>;
|
|
19
|
+
/**
|
|
20
|
+
* Best or selected offer for this availability.
|
|
21
|
+
*/
|
|
22
|
+
offer?: Offer | null;
|
|
23
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { PickupPoint } from './PickupPoint';
|
|
6
|
+
export type AvailabilityPickups = {
|
|
7
|
+
/**
|
|
8
|
+
* Whether this availability has pickup available.
|
|
9
|
+
* This field is only present when the capability `octo/pickups` is requested.
|
|
10
|
+
*/
|
|
11
|
+
pickupAvailable?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Whether pickup is required for this availability.
|
|
14
|
+
* This field is only present when the capability `octo/pickups` is requested.
|
|
15
|
+
*/
|
|
16
|
+
pickupRequired?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Whether pickup is required for this availability.
|
|
19
|
+
* This field is only present when the capability `octo/pickups` is requested.
|
|
20
|
+
*/
|
|
21
|
+
pickupPoints?: Array<PickupPoint>;
|
|
22
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { PricingUnit } from './PricingUnit';
|
|
7
|
+
export type AvailabilityPricing = {
|
|
8
|
+
/**
|
|
9
|
+
* Is on the object when Pricing capability is requested.
|
|
10
|
+
*/
|
|
11
|
+
unitPricing?: Array<PricingUnit>;
|
|
12
|
+
/**
|
|
13
|
+
* Is on the object when Pricing capability is requested.
|
|
14
|
+
*/
|
|
15
|
+
pricing?: Pricing;
|
|
16
|
+
};
|