@ventrata/octo-types 0.0.11 → 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/dist/index.d.ts +100 -3
- package/dist/models/AdyenGateway.d.ts +9 -0
- package/dist/models/AdyenGatewaySession.d.ts +4 -0
- package/dist/models/AdyenPaymentMethodsConfiguration.d.ts +10 -0
- package/dist/models/AdyenPaymentMethodsConfigurationApplePay.d.ts +3 -0
- package/dist/models/AdyenPaymentMethodsConfigurationCard.d.ts +20 -0
- package/dist/models/AdyenPaymentMethodsConfigurationCardBillingAddressMode.d.ts +5 -0
- package/dist/models/AdyenPaymentMethodsConfigurationGooglePay.d.ts +5 -0
- package/dist/models/AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters.d.ts +4 -0
- package/dist/models/AdyenPaymentMethodsConfigurationPayPay.d.ts +5 -0
- package/dist/models/Availability.d.ts +19 -7
- package/dist/models/AvailabilityCalendar.d.ts +2 -0
- package/dist/models/AvailabilityCalendarExtras.d.ts +4 -0
- package/dist/models/AvailabilityContent.d.ts +12 -7
- package/dist/models/AvailabilityExtras.d.ts +4 -0
- package/dist/models/AvailabilityResources.d.ts +6 -0
- package/dist/models/Booking.d.ts +30 -6
- package/dist/models/BookingCardPayments.d.ts +5 -0
- package/dist/models/BookingCheckin.d.ts +5 -0
- package/dist/models/BookingContent.d.ts +1 -0
- package/dist/models/BookingExtras.d.ts +2 -0
- package/dist/models/BookingMemberships.d.ts +6 -0
- package/dist/models/BookingPackages.d.ts +2 -1
- package/dist/models/BookingPickups.d.ts +4 -4
- package/dist/models/BookingRentals.d.ts +6 -0
- package/dist/models/BridgepayGateway.d.ts +3 -0
- package/dist/models/Card.d.ts +8 -0
- package/dist/models/CardPayment.d.ts +34 -0
- package/dist/models/Category.d.ts +0 -4
- package/dist/models/CustomerContact.d.ts +3 -0
- package/dist/models/DeliveryFormat.d.ts +2 -1
- package/dist/models/DeliveryOption.d.ts +2 -2
- package/dist/models/Destination.d.ts +8 -5
- package/dist/models/DestinationPricing.d.ts +10 -0
- package/dist/models/ExternalGateway.d.ts +1 -0
- package/dist/models/{Octo_Pricing.d.ts → ExtraPricing.d.ts} +4 -3
- package/dist/models/Gift.d.ts +3 -0
- package/dist/models/GiftCardPayments.d.ts +5 -0
- package/dist/models/Include.d.ts +2 -1
- package/dist/models/Membership.d.ts +11 -0
- package/dist/models/MembershipBenefit.d.ts +5 -0
- package/dist/models/Octo_DeliveryFormat.d.ts +6 -0
- package/dist/models/Offer.d.ts +7 -0
- package/dist/models/OfferDiscount.d.ts +2 -2
- package/dist/models/OfferMemberships.d.ts +4 -0
- package/dist/models/{Octo_Tax.d.ts → OfferTax.d.ts} +2 -2
- package/dist/models/OpeningHours.d.ts +4 -3
- package/dist/models/OpeningHoursContent.d.ts +4 -3
- package/dist/models/Option.d.ts +5 -3
- package/dist/models/OptionPricing.d.ts +11 -0
- package/dist/models/OptionRentals.d.ts +4 -0
- package/dist/models/Order.d.ts +28 -8
- package/dist/models/OrderCardPayments.d.ts +5 -0
- package/dist/models/OrderCheckin.d.ts +4 -0
- package/dist/models/OrderContent.d.ts +7 -0
- package/dist/models/OrderGifts.d.ts +2 -0
- package/dist/models/OrderMemberships.d.ts +4 -0
- package/dist/models/OrderPricing.d.ts +4 -0
- package/dist/models/OrderQuestions.d.ts +8 -0
- package/dist/models/PaypalGateway.d.ts +4 -0
- package/dist/models/PaytrGateway.d.ts +5 -0
- package/dist/models/PeachGateway.d.ts +5 -0
- package/dist/models/Pricing.d.ts +3 -1
- package/dist/models/PricingExtras.d.ts +3 -1
- package/dist/models/PricingUnit.d.ts +3 -2
- package/dist/models/PricingUnitExtras.d.ts +3 -2
- package/dist/models/Product.d.ts +6 -4
- package/dist/models/ProductContent.d.ts +4 -4
- package/dist/models/ProductMemberships.d.ts +3 -0
- package/dist/models/ProductRentals.d.ts +3 -0
- package/dist/models/Question.d.ts +0 -4
- package/dist/models/QuestionAnswer.d.ts +3 -45
- package/dist/models/RealaxGateway.d.ts +1 -0
- package/dist/models/RentalDuration.d.ts +9 -0
- package/dist/models/Scan.d.ts +5 -0
- package/dist/models/SettlementMethod.d.ts +5 -5
- package/dist/models/SpreedlyGateway.d.ts +7 -0
- package/dist/models/StripeGateway.d.ts +15 -0
- package/dist/models/Ticket.d.ts +1 -1
- package/dist/models/Unit.d.ts +2 -0
- package/dist/models/UnitItem.d.ts +7 -1
- package/dist/models/UnitItemExtras.d.ts +4 -0
- package/dist/models/UnitItemRedemption.d.ts +4 -0
- package/dist/models/UnitMemberships.d.ts +4 -0
- package/dist/models/VivawalletGateway.d.ts +4 -0
- package/dist/schemas/AdyenGateway.d.ts +285 -0
- package/dist/schemas/AdyenGatewaySession.d.ts +11 -0
- package/dist/schemas/AdyenPaymentMethodsConfiguration.d.ts +188 -0
- package/dist/schemas/AdyenPaymentMethodsConfigurationApplePay.d.ts +8 -0
- package/dist/schemas/AdyenPaymentMethodsConfigurationCard.d.ts +92 -0
- package/dist/schemas/AdyenPaymentMethodsConfigurationCardBillingAddressMode.d.ts +3 -0
- package/dist/schemas/AdyenPaymentMethodsConfigurationGooglePay.d.ts +11 -0
- package/dist/schemas/AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters.d.ts +3 -0
- package/dist/schemas/AdyenPaymentMethodsConfigurationPayPay.d.ts +14 -0
- package/dist/schemas/Availability.d.ts +566 -170
- package/dist/schemas/AvailabilityCalendar.d.ts +531 -147
- package/dist/schemas/AvailabilityCalendarExtras.d.ts +90 -0
- package/dist/schemas/AvailabilityCalendarOffers.d.ts +86 -0
- package/dist/schemas/AvailabilityCalendarPricing.d.ts +345 -132
- package/dist/schemas/AvailabilityContent.d.ts +25 -19
- package/dist/schemas/AvailabilityExtras.d.ts +90 -0
- package/dist/schemas/AvailabilityOffers.d.ts +86 -0
- package/dist/schemas/AvailabilityPickups.d.ts +4 -4
- package/dist/schemas/AvailabilityPricing.d.ts +345 -132
- package/dist/schemas/AvailabilityResources.d.ts +8 -0
- package/dist/schemas/AvailabilityUpdate.d.ts +758 -317
- package/dist/schemas/BookingCardPayments.d.ts +889 -0
- package/dist/schemas/BookingCart.d.ts +2 -2
- package/dist/schemas/BookingCheckin.d.ts +14 -0
- package/dist/schemas/BookingConfirmationBody.d.ts +6 -6
- package/dist/schemas/BookingConfirmationRequest.d.ts +10 -10
- package/dist/schemas/BookingContact.d.ts +2 -2
- package/dist/schemas/BookingContent.d.ts +3 -0
- package/dist/schemas/BookingExtras.d.ts +1089 -76
- package/dist/schemas/BookingMemberships.d.ts +209 -0
- package/dist/schemas/BookingOffers.d.ts +2077 -261
- package/dist/schemas/BookingPackages.d.ts +16 -8
- package/dist/schemas/BookingPickups.d.ts +16 -7
- package/dist/schemas/BookingPricing.d.ts +228 -12
- package/dist/schemas/BookingQuestions.d.ts +120 -85
- package/dist/schemas/BookingRentals.d.ts +49 -0
- package/dist/schemas/BookingReservationBody.d.ts +8 -8
- package/dist/schemas/BookingReservationRequest.d.ts +14 -14
- package/dist/schemas/BookingUpdate.d.ts +20 -103
- package/dist/schemas/BookingUpdateBody.d.ts +6 -6
- package/dist/schemas/BookingUpdateRequest.d.ts +10 -10
- package/dist/schemas/BridgepayGateway.d.ts +8 -0
- package/dist/schemas/Card.d.ts +23 -0
- package/dist/schemas/CardPayment.d.ts +668 -0
- package/dist/schemas/Category.d.ts +0 -3
- package/dist/schemas/ConfirmOrderBody.d.ts +4 -4
- package/dist/schemas/CreateOrderBody.d.ts +4 -4
- package/dist/schemas/CreateWaitlistRequest.d.ts +4 -4
- package/dist/schemas/CustomerContact.d.ts +11 -2
- package/dist/schemas/DeliveryOption.d.ts +3 -3
- package/dist/schemas/Destination.d.ts +8 -55
- package/dist/schemas/DestinationPricing.d.ts +11 -0
- package/dist/schemas/ExternalGateway.d.ts +2 -0
- package/dist/schemas/Extra.d.ts +456 -24
- package/dist/schemas/ExtraItem.d.ts +839 -79
- package/dist/schemas/ExtraPricing.d.ts +56 -0
- package/dist/schemas/GetYourGuideConnection.d.ts +2 -2
- package/dist/schemas/Gift.d.ts +1180 -50
- package/dist/schemas/GiftCardPayments.d.ts +889 -0
- package/dist/schemas/Include.d.ts +6 -3
- package/dist/schemas/ItineraryItem.d.ts +2 -2
- package/dist/schemas/Membership.d.ts +124 -0
- package/dist/schemas/MembershipBenefit.d.ts +14 -0
- package/dist/schemas/Octo_DeliveryFormat.d.ts +3 -0
- package/dist/schemas/Offer.d.ts +29 -0
- package/dist/schemas/OfferCombination.d.ts +1611 -169
- package/dist/schemas/OfferComparison.d.ts +1611 -169
- package/dist/schemas/OfferDiscount.d.ts +0 -5
- package/dist/schemas/OfferMemberships.d.ts +28 -0
- package/dist/schemas/OfferTax.d.ts +17 -0
- package/dist/schemas/OpeningHours.d.ts +9 -9
- package/dist/schemas/OpeningHoursContent.d.ts +9 -9
- package/dist/schemas/OptionContent.d.ts +4 -4
- package/dist/schemas/OptionExtras.d.ts +576 -32
- package/dist/schemas/OptionPackages.d.ts +14 -7
- package/dist/schemas/OptionPickups.d.ts +4 -4
- package/dist/schemas/OptionPricing.d.ts +781 -0
- package/dist/schemas/OptionQuestions.d.ts +4 -9
- package/dist/schemas/OptionRentals.d.ts +43 -0
- package/dist/schemas/Order.d.ts +7421 -991
- package/dist/schemas/OrderCardPayments.d.ts +889 -0
- package/dist/schemas/OrderCheckin.d.ts +11 -0
- package/dist/schemas/OrderContent.d.ts +826 -0
- package/dist/schemas/OrderGifts.d.ts +2342 -0
- package/dist/schemas/OrderMemberships.d.ts +186 -0
- package/dist/schemas/OrderOffers.d.ts +2006 -276
- package/dist/schemas/OrderPricing.d.ts +393 -0
- package/dist/schemas/OrderQuestions.d.ts +139 -0
- package/dist/schemas/PackageInclude.d.ts +10 -5
- package/dist/schemas/PartnersConnection.d.ts +2 -2
- package/dist/schemas/PartnersListConnection.d.ts +28 -111
- package/dist/schemas/PaypalGateway.d.ts +11 -0
- package/dist/schemas/PaytrGateway.d.ts +14 -0
- package/dist/schemas/PeachGateway.d.ts +14 -0
- package/dist/schemas/PickupPoint.d.ts +2 -2
- package/dist/schemas/Pricing.d.ts +168 -8
- package/dist/schemas/PricingExtras.d.ts +170 -3
- package/dist/schemas/PricingOffers.d.ts +0 -7
- package/dist/schemas/PricingUnit.d.ts +83 -92
- package/dist/schemas/PricingUnitExtras.d.ts +83 -85
- package/dist/schemas/ProductContent.d.ts +46 -116
- package/dist/schemas/ProductMemberships.d.ts +8 -0
- package/dist/schemas/ProductRentals.d.ts +8 -0
- package/dist/schemas/Question.d.ts +2 -5
- package/dist/schemas/QuestionAnswer.d.ts +86 -53
- package/dist/schemas/RealaxGateway.d.ts +2 -0
- package/dist/schemas/RentalDuration.d.ts +23 -0
- package/dist/schemas/Scan.d.ts +14 -0
- package/dist/schemas/SpreedlyGateway.d.ts +20 -0
- package/dist/schemas/StripeGateway.d.ts +64 -0
- package/dist/schemas/Supplier.d.ts +14 -79
- package/dist/schemas/SupplierContent.d.ts +14 -79
- package/dist/schemas/Ticket.d.ts +8 -8
- package/dist/schemas/Unit.d.ts +1069 -75
- package/dist/schemas/UnitExtras.d.ts +576 -32
- package/dist/schemas/UnitItem.d.ts +4040 -691
- package/dist/schemas/UnitItemExtras.d.ts +1833 -0
- package/dist/schemas/UnitItemPricing.d.ts +228 -12
- package/dist/schemas/UnitItemQuestions.d.ts +120 -85
- package/dist/schemas/UnitItemRedemption.d.ts +28 -0
- package/dist/schemas/UnitMemberships.d.ts +28 -0
- package/dist/schemas/UnitPricing.d.ts +456 -24
- package/dist/schemas/UnitQuestions.d.ts +4 -9
- package/dist/schemas/UpdateOrderBody.d.ts +4 -4
- package/dist/schemas/VivawalletGateway.d.ts +11 -0
- package/dist/schemas/Waitlist.d.ts +19 -4
- package/dist/schemas/WhoIAm.d.ts +28 -111
- 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
- package/dist/models/Octo_PricingUnit.d.ts +0 -7
|
@@ -0,0 +1,668 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const cardPaymentSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
gateway: z.ZodString;
|
|
5
|
+
source: z.ZodString;
|
|
6
|
+
paid: z.ZodNumber;
|
|
7
|
+
paidSurcharge: z.ZodNumber;
|
|
8
|
+
balance: z.ZodNumber;
|
|
9
|
+
surcharge: z.ZodNumber;
|
|
10
|
+
outstandingBalance: z.ZodNumber;
|
|
11
|
+
currency: z.ZodString;
|
|
12
|
+
currencyPrecision: z.ZodNumber;
|
|
13
|
+
reusableCards: z.ZodArray<z.ZodObject<{
|
|
14
|
+
id: z.ZodString;
|
|
15
|
+
brand: z.ZodString;
|
|
16
|
+
bin: z.ZodString;
|
|
17
|
+
last4: z.ZodString;
|
|
18
|
+
expMonth: z.ZodNumber;
|
|
19
|
+
expYear: z.ZodNumber;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
id: string;
|
|
22
|
+
brand: string;
|
|
23
|
+
bin: string;
|
|
24
|
+
last4: string;
|
|
25
|
+
expMonth: number;
|
|
26
|
+
expYear: number;
|
|
27
|
+
}, {
|
|
28
|
+
id: string;
|
|
29
|
+
brand: string;
|
|
30
|
+
bin: string;
|
|
31
|
+
last4: string;
|
|
32
|
+
expMonth: number;
|
|
33
|
+
expYear: number;
|
|
34
|
+
}>, "many">;
|
|
35
|
+
adyen: z.ZodOptional<z.ZodObject<{
|
|
36
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
37
|
+
clientKey: z.ZodOptional<z.ZodString>;
|
|
38
|
+
session: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
39
|
+
id: z.ZodString;
|
|
40
|
+
sessionData: z.ZodString;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
id: string;
|
|
43
|
+
sessionData: string;
|
|
44
|
+
}, {
|
|
45
|
+
id: string;
|
|
46
|
+
sessionData: string;
|
|
47
|
+
}>>>;
|
|
48
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
49
|
+
paymentMethodsConfiguration: z.ZodOptional<z.ZodObject<{
|
|
50
|
+
card: z.ZodObject<{
|
|
51
|
+
hasHolderName: z.ZodBoolean;
|
|
52
|
+
billingAddressRequired: z.ZodBoolean;
|
|
53
|
+
billingAddressMode: z.ZodNativeEnum<typeof import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode>;
|
|
54
|
+
data: z.ZodObject<{
|
|
55
|
+
holderName: z.ZodString;
|
|
56
|
+
billingAddress: z.ZodObject<{
|
|
57
|
+
street: z.ZodString;
|
|
58
|
+
postalCode: z.ZodString;
|
|
59
|
+
city: z.ZodString;
|
|
60
|
+
country: z.ZodString;
|
|
61
|
+
stateOrProvince: z.ZodString;
|
|
62
|
+
}, "strip", z.ZodTypeAny, {
|
|
63
|
+
country: string;
|
|
64
|
+
postalCode: string;
|
|
65
|
+
street: string;
|
|
66
|
+
city: string;
|
|
67
|
+
stateOrProvince: string;
|
|
68
|
+
}, {
|
|
69
|
+
country: string;
|
|
70
|
+
postalCode: string;
|
|
71
|
+
street: string;
|
|
72
|
+
city: string;
|
|
73
|
+
stateOrProvince: string;
|
|
74
|
+
}>;
|
|
75
|
+
}, "strip", z.ZodTypeAny, {
|
|
76
|
+
holderName: string;
|
|
77
|
+
billingAddress: {
|
|
78
|
+
country: string;
|
|
79
|
+
postalCode: string;
|
|
80
|
+
street: string;
|
|
81
|
+
city: string;
|
|
82
|
+
stateOrProvince: string;
|
|
83
|
+
};
|
|
84
|
+
}, {
|
|
85
|
+
holderName: string;
|
|
86
|
+
billingAddress: {
|
|
87
|
+
country: string;
|
|
88
|
+
postalCode: string;
|
|
89
|
+
street: string;
|
|
90
|
+
city: string;
|
|
91
|
+
stateOrProvince: string;
|
|
92
|
+
};
|
|
93
|
+
}>;
|
|
94
|
+
clickToPayConfiguration: z.ZodObject<{
|
|
95
|
+
merchantDisplayName: z.ZodString;
|
|
96
|
+
shopperEmail: z.ZodString;
|
|
97
|
+
}, "strip", z.ZodTypeAny, {
|
|
98
|
+
merchantDisplayName: string;
|
|
99
|
+
shopperEmail: string;
|
|
100
|
+
}, {
|
|
101
|
+
merchantDisplayName: string;
|
|
102
|
+
shopperEmail: string;
|
|
103
|
+
}>;
|
|
104
|
+
}, "strip", z.ZodTypeAny, {
|
|
105
|
+
hasHolderName: boolean;
|
|
106
|
+
billingAddressRequired: boolean;
|
|
107
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
108
|
+
data: {
|
|
109
|
+
holderName: string;
|
|
110
|
+
billingAddress: {
|
|
111
|
+
country: string;
|
|
112
|
+
postalCode: string;
|
|
113
|
+
street: string;
|
|
114
|
+
city: string;
|
|
115
|
+
stateOrProvince: string;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
clickToPayConfiguration: {
|
|
119
|
+
merchantDisplayName: string;
|
|
120
|
+
shopperEmail: string;
|
|
121
|
+
};
|
|
122
|
+
}, {
|
|
123
|
+
hasHolderName: boolean;
|
|
124
|
+
billingAddressRequired: boolean;
|
|
125
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
126
|
+
data: {
|
|
127
|
+
holderName: string;
|
|
128
|
+
billingAddress: {
|
|
129
|
+
country: string;
|
|
130
|
+
postalCode: string;
|
|
131
|
+
street: string;
|
|
132
|
+
city: string;
|
|
133
|
+
stateOrProvince: string;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
clickToPayConfiguration: {
|
|
137
|
+
merchantDisplayName: string;
|
|
138
|
+
shopperEmail: string;
|
|
139
|
+
};
|
|
140
|
+
}>;
|
|
141
|
+
paypal: z.ZodObject<{
|
|
142
|
+
blockPayPalCreditButton: z.ZodBoolean;
|
|
143
|
+
blockPayPalPayLaterButton: z.ZodBoolean;
|
|
144
|
+
blockPayPalVenmoButton: z.ZodBoolean;
|
|
145
|
+
}, "strip", z.ZodTypeAny, {
|
|
146
|
+
blockPayPalCreditButton: boolean;
|
|
147
|
+
blockPayPalPayLaterButton: boolean;
|
|
148
|
+
blockPayPalVenmoButton: boolean;
|
|
149
|
+
}, {
|
|
150
|
+
blockPayPalCreditButton: boolean;
|
|
151
|
+
blockPayPalPayLaterButton: boolean;
|
|
152
|
+
blockPayPalVenmoButton: boolean;
|
|
153
|
+
}>;
|
|
154
|
+
applepay: z.ZodObject<{
|
|
155
|
+
requiredBillingContactFields: z.ZodArray<z.ZodString, "many">;
|
|
156
|
+
}, "strip", z.ZodTypeAny, {
|
|
157
|
+
requiredBillingContactFields: string[];
|
|
158
|
+
}, {
|
|
159
|
+
requiredBillingContactFields: string[];
|
|
160
|
+
}>;
|
|
161
|
+
googlepay: z.ZodObject<{
|
|
162
|
+
billingAddressRequired: z.ZodBoolean;
|
|
163
|
+
billingAddressParameters: z.ZodNativeEnum<typeof import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters>;
|
|
164
|
+
}, "strip", z.ZodTypeAny, {
|
|
165
|
+
billingAddressRequired: boolean;
|
|
166
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
167
|
+
}, {
|
|
168
|
+
billingAddressRequired: boolean;
|
|
169
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
170
|
+
}>;
|
|
171
|
+
}, "strip", z.ZodTypeAny, {
|
|
172
|
+
card: {
|
|
173
|
+
hasHolderName: boolean;
|
|
174
|
+
billingAddressRequired: boolean;
|
|
175
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
176
|
+
data: {
|
|
177
|
+
holderName: string;
|
|
178
|
+
billingAddress: {
|
|
179
|
+
country: string;
|
|
180
|
+
postalCode: string;
|
|
181
|
+
street: string;
|
|
182
|
+
city: string;
|
|
183
|
+
stateOrProvince: string;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
clickToPayConfiguration: {
|
|
187
|
+
merchantDisplayName: string;
|
|
188
|
+
shopperEmail: string;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
paypal: {
|
|
192
|
+
blockPayPalCreditButton: boolean;
|
|
193
|
+
blockPayPalPayLaterButton: boolean;
|
|
194
|
+
blockPayPalVenmoButton: boolean;
|
|
195
|
+
};
|
|
196
|
+
applepay: {
|
|
197
|
+
requiredBillingContactFields: string[];
|
|
198
|
+
};
|
|
199
|
+
googlepay: {
|
|
200
|
+
billingAddressRequired: boolean;
|
|
201
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
202
|
+
};
|
|
203
|
+
}, {
|
|
204
|
+
card: {
|
|
205
|
+
hasHolderName: boolean;
|
|
206
|
+
billingAddressRequired: boolean;
|
|
207
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
208
|
+
data: {
|
|
209
|
+
holderName: string;
|
|
210
|
+
billingAddress: {
|
|
211
|
+
country: string;
|
|
212
|
+
postalCode: string;
|
|
213
|
+
street: string;
|
|
214
|
+
city: string;
|
|
215
|
+
stateOrProvince: string;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
clickToPayConfiguration: {
|
|
219
|
+
merchantDisplayName: string;
|
|
220
|
+
shopperEmail: string;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
paypal: {
|
|
224
|
+
blockPayPalCreditButton: boolean;
|
|
225
|
+
blockPayPalPayLaterButton: boolean;
|
|
226
|
+
blockPayPalVenmoButton: boolean;
|
|
227
|
+
};
|
|
228
|
+
applepay: {
|
|
229
|
+
requiredBillingContactFields: string[];
|
|
230
|
+
};
|
|
231
|
+
googlepay: {
|
|
232
|
+
billingAddressRequired: boolean;
|
|
233
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
234
|
+
};
|
|
235
|
+
}>>;
|
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
|
237
|
+
environment?: string | undefined;
|
|
238
|
+
clientKey?: string | undefined;
|
|
239
|
+
session?: {
|
|
240
|
+
id: string;
|
|
241
|
+
sessionData: string;
|
|
242
|
+
} | null | undefined;
|
|
243
|
+
countryCode?: string | undefined;
|
|
244
|
+
paymentMethodsConfiguration?: {
|
|
245
|
+
card: {
|
|
246
|
+
hasHolderName: boolean;
|
|
247
|
+
billingAddressRequired: boolean;
|
|
248
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
249
|
+
data: {
|
|
250
|
+
holderName: string;
|
|
251
|
+
billingAddress: {
|
|
252
|
+
country: string;
|
|
253
|
+
postalCode: string;
|
|
254
|
+
street: string;
|
|
255
|
+
city: string;
|
|
256
|
+
stateOrProvince: string;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
clickToPayConfiguration: {
|
|
260
|
+
merchantDisplayName: string;
|
|
261
|
+
shopperEmail: string;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
paypal: {
|
|
265
|
+
blockPayPalCreditButton: boolean;
|
|
266
|
+
blockPayPalPayLaterButton: boolean;
|
|
267
|
+
blockPayPalVenmoButton: boolean;
|
|
268
|
+
};
|
|
269
|
+
applepay: {
|
|
270
|
+
requiredBillingContactFields: string[];
|
|
271
|
+
};
|
|
272
|
+
googlepay: {
|
|
273
|
+
billingAddressRequired: boolean;
|
|
274
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
275
|
+
};
|
|
276
|
+
} | undefined;
|
|
277
|
+
}, {
|
|
278
|
+
environment?: string | undefined;
|
|
279
|
+
clientKey?: string | undefined;
|
|
280
|
+
session?: {
|
|
281
|
+
id: string;
|
|
282
|
+
sessionData: string;
|
|
283
|
+
} | null | undefined;
|
|
284
|
+
countryCode?: string | undefined;
|
|
285
|
+
paymentMethodsConfiguration?: {
|
|
286
|
+
card: {
|
|
287
|
+
hasHolderName: boolean;
|
|
288
|
+
billingAddressRequired: boolean;
|
|
289
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
290
|
+
data: {
|
|
291
|
+
holderName: string;
|
|
292
|
+
billingAddress: {
|
|
293
|
+
country: string;
|
|
294
|
+
postalCode: string;
|
|
295
|
+
street: string;
|
|
296
|
+
city: string;
|
|
297
|
+
stateOrProvince: string;
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
clickToPayConfiguration: {
|
|
301
|
+
merchantDisplayName: string;
|
|
302
|
+
shopperEmail: string;
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
paypal: {
|
|
306
|
+
blockPayPalCreditButton: boolean;
|
|
307
|
+
blockPayPalPayLaterButton: boolean;
|
|
308
|
+
blockPayPalVenmoButton: boolean;
|
|
309
|
+
};
|
|
310
|
+
applepay: {
|
|
311
|
+
requiredBillingContactFields: string[];
|
|
312
|
+
};
|
|
313
|
+
googlepay: {
|
|
314
|
+
billingAddressRequired: boolean;
|
|
315
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
316
|
+
};
|
|
317
|
+
} | undefined;
|
|
318
|
+
}>>;
|
|
319
|
+
vivawallet: z.ZodOptional<z.ZodObject<{
|
|
320
|
+
orderCode: z.ZodOptional<z.ZodString>;
|
|
321
|
+
error: z.ZodOptional<z.ZodString>;
|
|
322
|
+
}, "strip", z.ZodTypeAny, {
|
|
323
|
+
error?: string | undefined;
|
|
324
|
+
orderCode?: string | undefined;
|
|
325
|
+
}, {
|
|
326
|
+
error?: string | undefined;
|
|
327
|
+
orderCode?: string | undefined;
|
|
328
|
+
}>>;
|
|
329
|
+
stripe: z.ZodOptional<z.ZodObject<{
|
|
330
|
+
version: z.ZodOptional<z.ZodString>;
|
|
331
|
+
paymentIntent: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
332
|
+
id: z.ZodString;
|
|
333
|
+
publishableKey: z.ZodString;
|
|
334
|
+
clientSecret: z.ZodString;
|
|
335
|
+
amount: z.ZodNumber;
|
|
336
|
+
currency: z.ZodString;
|
|
337
|
+
}, "strip", z.ZodTypeAny, {
|
|
338
|
+
id: string;
|
|
339
|
+
currency: string;
|
|
340
|
+
amount: number;
|
|
341
|
+
publishableKey: string;
|
|
342
|
+
clientSecret: string;
|
|
343
|
+
}, {
|
|
344
|
+
id: string;
|
|
345
|
+
currency: string;
|
|
346
|
+
amount: number;
|
|
347
|
+
publishableKey: string;
|
|
348
|
+
clientSecret: string;
|
|
349
|
+
}>>>;
|
|
350
|
+
setupIntent: z.ZodOptional<z.ZodObject<{
|
|
351
|
+
id: z.ZodString;
|
|
352
|
+
publishableKey: z.ZodString;
|
|
353
|
+
clientSecret: z.ZodString;
|
|
354
|
+
}, "strip", z.ZodTypeAny, {
|
|
355
|
+
id: string;
|
|
356
|
+
publishableKey: string;
|
|
357
|
+
clientSecret: string;
|
|
358
|
+
}, {
|
|
359
|
+
id: string;
|
|
360
|
+
publishableKey: string;
|
|
361
|
+
clientSecret: string;
|
|
362
|
+
}>>;
|
|
363
|
+
}, "strip", z.ZodTypeAny, {
|
|
364
|
+
version?: string | undefined;
|
|
365
|
+
paymentIntent?: {
|
|
366
|
+
id: string;
|
|
367
|
+
currency: string;
|
|
368
|
+
amount: number;
|
|
369
|
+
publishableKey: string;
|
|
370
|
+
clientSecret: string;
|
|
371
|
+
} | null | undefined;
|
|
372
|
+
setupIntent?: {
|
|
373
|
+
id: string;
|
|
374
|
+
publishableKey: string;
|
|
375
|
+
clientSecret: string;
|
|
376
|
+
} | undefined;
|
|
377
|
+
}, {
|
|
378
|
+
version?: string | undefined;
|
|
379
|
+
paymentIntent?: {
|
|
380
|
+
id: string;
|
|
381
|
+
currency: string;
|
|
382
|
+
amount: number;
|
|
383
|
+
publishableKey: string;
|
|
384
|
+
clientSecret: string;
|
|
385
|
+
} | null | undefined;
|
|
386
|
+
setupIntent?: {
|
|
387
|
+
id: string;
|
|
388
|
+
publishableKey: string;
|
|
389
|
+
clientSecret: string;
|
|
390
|
+
} | undefined;
|
|
391
|
+
}>>;
|
|
392
|
+
bridgepay: z.ZodOptional<z.ZodObject<{
|
|
393
|
+
publicKey: z.ZodString;
|
|
394
|
+
}, "strip", z.ZodTypeAny, {
|
|
395
|
+
publicKey: string;
|
|
396
|
+
}, {
|
|
397
|
+
publicKey: string;
|
|
398
|
+
}>>;
|
|
399
|
+
realax: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
400
|
+
paypal: z.ZodOptional<z.ZodObject<{
|
|
401
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
402
|
+
orderId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
403
|
+
}, "strip", z.ZodTypeAny, {
|
|
404
|
+
clientId?: string | undefined;
|
|
405
|
+
orderId?: string | null | undefined;
|
|
406
|
+
}, {
|
|
407
|
+
clientId?: string | undefined;
|
|
408
|
+
orderId?: string | null | undefined;
|
|
409
|
+
}>>;
|
|
410
|
+
external: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
411
|
+
paytr: z.ZodOptional<z.ZodObject<{
|
|
412
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
413
|
+
iframeUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
414
|
+
error: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
415
|
+
}, "strip", z.ZodTypeAny, {
|
|
416
|
+
id?: string | null | undefined;
|
|
417
|
+
error?: string | null | undefined;
|
|
418
|
+
iframeUrl?: string | null | undefined;
|
|
419
|
+
}, {
|
|
420
|
+
id?: string | null | undefined;
|
|
421
|
+
error?: string | null | undefined;
|
|
422
|
+
iframeUrl?: string | null | undefined;
|
|
423
|
+
}>>;
|
|
424
|
+
spreedly: z.ZodOptional<z.ZodObject<{
|
|
425
|
+
env: z.ZodOptional<z.ZodString>;
|
|
426
|
+
nonce: z.ZodOptional<z.ZodString>;
|
|
427
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
428
|
+
certificateToken: z.ZodOptional<z.ZodString>;
|
|
429
|
+
signature: z.ZodOptional<z.ZodString>;
|
|
430
|
+
}, "strip", z.ZodTypeAny, {
|
|
431
|
+
env?: string | undefined;
|
|
432
|
+
nonce?: string | undefined;
|
|
433
|
+
timestamp?: string | undefined;
|
|
434
|
+
certificateToken?: string | undefined;
|
|
435
|
+
signature?: string | undefined;
|
|
436
|
+
}, {
|
|
437
|
+
env?: string | undefined;
|
|
438
|
+
nonce?: string | undefined;
|
|
439
|
+
timestamp?: string | undefined;
|
|
440
|
+
certificateToken?: string | undefined;
|
|
441
|
+
signature?: string | undefined;
|
|
442
|
+
}>>;
|
|
443
|
+
peach: z.ZodOptional<z.ZodObject<{
|
|
444
|
+
key: z.ZodOptional<z.ZodAny>;
|
|
445
|
+
entityId: z.ZodOptional<z.ZodString>;
|
|
446
|
+
checkoutId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
447
|
+
}, "strip", z.ZodTypeAny, {
|
|
448
|
+
key?: any;
|
|
449
|
+
entityId?: string | undefined;
|
|
450
|
+
checkoutId?: string | null | undefined;
|
|
451
|
+
}, {
|
|
452
|
+
key?: any;
|
|
453
|
+
entityId?: string | undefined;
|
|
454
|
+
checkoutId?: string | null | undefined;
|
|
455
|
+
}>>;
|
|
456
|
+
}, "strip", z.ZodTypeAny, {
|
|
457
|
+
id: string;
|
|
458
|
+
currency: string;
|
|
459
|
+
currencyPrecision: number;
|
|
460
|
+
gateway: string;
|
|
461
|
+
source: string;
|
|
462
|
+
paid: number;
|
|
463
|
+
paidSurcharge: number;
|
|
464
|
+
balance: number;
|
|
465
|
+
surcharge: number;
|
|
466
|
+
outstandingBalance: number;
|
|
467
|
+
reusableCards: {
|
|
468
|
+
id: string;
|
|
469
|
+
brand: string;
|
|
470
|
+
bin: string;
|
|
471
|
+
last4: string;
|
|
472
|
+
expMonth: number;
|
|
473
|
+
expYear: number;
|
|
474
|
+
}[];
|
|
475
|
+
paypal?: {
|
|
476
|
+
clientId?: string | undefined;
|
|
477
|
+
orderId?: string | null | undefined;
|
|
478
|
+
} | undefined;
|
|
479
|
+
adyen?: {
|
|
480
|
+
environment?: string | undefined;
|
|
481
|
+
clientKey?: string | undefined;
|
|
482
|
+
session?: {
|
|
483
|
+
id: string;
|
|
484
|
+
sessionData: string;
|
|
485
|
+
} | null | undefined;
|
|
486
|
+
countryCode?: string | undefined;
|
|
487
|
+
paymentMethodsConfiguration?: {
|
|
488
|
+
card: {
|
|
489
|
+
hasHolderName: boolean;
|
|
490
|
+
billingAddressRequired: boolean;
|
|
491
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
492
|
+
data: {
|
|
493
|
+
holderName: string;
|
|
494
|
+
billingAddress: {
|
|
495
|
+
country: string;
|
|
496
|
+
postalCode: string;
|
|
497
|
+
street: string;
|
|
498
|
+
city: string;
|
|
499
|
+
stateOrProvince: string;
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
clickToPayConfiguration: {
|
|
503
|
+
merchantDisplayName: string;
|
|
504
|
+
shopperEmail: string;
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
paypal: {
|
|
508
|
+
blockPayPalCreditButton: boolean;
|
|
509
|
+
blockPayPalPayLaterButton: boolean;
|
|
510
|
+
blockPayPalVenmoButton: boolean;
|
|
511
|
+
};
|
|
512
|
+
applepay: {
|
|
513
|
+
requiredBillingContactFields: string[];
|
|
514
|
+
};
|
|
515
|
+
googlepay: {
|
|
516
|
+
billingAddressRequired: boolean;
|
|
517
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
518
|
+
};
|
|
519
|
+
} | undefined;
|
|
520
|
+
} | undefined;
|
|
521
|
+
vivawallet?: {
|
|
522
|
+
error?: string | undefined;
|
|
523
|
+
orderCode?: string | undefined;
|
|
524
|
+
} | undefined;
|
|
525
|
+
stripe?: {
|
|
526
|
+
version?: string | undefined;
|
|
527
|
+
paymentIntent?: {
|
|
528
|
+
id: string;
|
|
529
|
+
currency: string;
|
|
530
|
+
amount: number;
|
|
531
|
+
publishableKey: string;
|
|
532
|
+
clientSecret: string;
|
|
533
|
+
} | null | undefined;
|
|
534
|
+
setupIntent?: {
|
|
535
|
+
id: string;
|
|
536
|
+
publishableKey: string;
|
|
537
|
+
clientSecret: string;
|
|
538
|
+
} | undefined;
|
|
539
|
+
} | undefined;
|
|
540
|
+
bridgepay?: {
|
|
541
|
+
publicKey: string;
|
|
542
|
+
} | undefined;
|
|
543
|
+
realax?: Record<string, any> | undefined;
|
|
544
|
+
external?: Record<string, any> | undefined;
|
|
545
|
+
paytr?: {
|
|
546
|
+
id?: string | null | undefined;
|
|
547
|
+
error?: string | null | undefined;
|
|
548
|
+
iframeUrl?: string | null | undefined;
|
|
549
|
+
} | undefined;
|
|
550
|
+
spreedly?: {
|
|
551
|
+
env?: string | undefined;
|
|
552
|
+
nonce?: string | undefined;
|
|
553
|
+
timestamp?: string | undefined;
|
|
554
|
+
certificateToken?: string | undefined;
|
|
555
|
+
signature?: string | undefined;
|
|
556
|
+
} | undefined;
|
|
557
|
+
peach?: {
|
|
558
|
+
key?: any;
|
|
559
|
+
entityId?: string | undefined;
|
|
560
|
+
checkoutId?: string | null | undefined;
|
|
561
|
+
} | undefined;
|
|
562
|
+
}, {
|
|
563
|
+
id: string;
|
|
564
|
+
currency: string;
|
|
565
|
+
currencyPrecision: number;
|
|
566
|
+
gateway: string;
|
|
567
|
+
source: string;
|
|
568
|
+
paid: number;
|
|
569
|
+
paidSurcharge: number;
|
|
570
|
+
balance: number;
|
|
571
|
+
surcharge: number;
|
|
572
|
+
outstandingBalance: number;
|
|
573
|
+
reusableCards: {
|
|
574
|
+
id: string;
|
|
575
|
+
brand: string;
|
|
576
|
+
bin: string;
|
|
577
|
+
last4: string;
|
|
578
|
+
expMonth: number;
|
|
579
|
+
expYear: number;
|
|
580
|
+
}[];
|
|
581
|
+
paypal?: {
|
|
582
|
+
clientId?: string | undefined;
|
|
583
|
+
orderId?: string | null | undefined;
|
|
584
|
+
} | undefined;
|
|
585
|
+
adyen?: {
|
|
586
|
+
environment?: string | undefined;
|
|
587
|
+
clientKey?: string | undefined;
|
|
588
|
+
session?: {
|
|
589
|
+
id: string;
|
|
590
|
+
sessionData: string;
|
|
591
|
+
} | null | undefined;
|
|
592
|
+
countryCode?: string | undefined;
|
|
593
|
+
paymentMethodsConfiguration?: {
|
|
594
|
+
card: {
|
|
595
|
+
hasHolderName: boolean;
|
|
596
|
+
billingAddressRequired: boolean;
|
|
597
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
598
|
+
data: {
|
|
599
|
+
holderName: string;
|
|
600
|
+
billingAddress: {
|
|
601
|
+
country: string;
|
|
602
|
+
postalCode: string;
|
|
603
|
+
street: string;
|
|
604
|
+
city: string;
|
|
605
|
+
stateOrProvince: string;
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
clickToPayConfiguration: {
|
|
609
|
+
merchantDisplayName: string;
|
|
610
|
+
shopperEmail: string;
|
|
611
|
+
};
|
|
612
|
+
};
|
|
613
|
+
paypal: {
|
|
614
|
+
blockPayPalCreditButton: boolean;
|
|
615
|
+
blockPayPalPayLaterButton: boolean;
|
|
616
|
+
blockPayPalVenmoButton: boolean;
|
|
617
|
+
};
|
|
618
|
+
applepay: {
|
|
619
|
+
requiredBillingContactFields: string[];
|
|
620
|
+
};
|
|
621
|
+
googlepay: {
|
|
622
|
+
billingAddressRequired: boolean;
|
|
623
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
624
|
+
};
|
|
625
|
+
} | undefined;
|
|
626
|
+
} | undefined;
|
|
627
|
+
vivawallet?: {
|
|
628
|
+
error?: string | undefined;
|
|
629
|
+
orderCode?: string | undefined;
|
|
630
|
+
} | undefined;
|
|
631
|
+
stripe?: {
|
|
632
|
+
version?: string | undefined;
|
|
633
|
+
paymentIntent?: {
|
|
634
|
+
id: string;
|
|
635
|
+
currency: string;
|
|
636
|
+
amount: number;
|
|
637
|
+
publishableKey: string;
|
|
638
|
+
clientSecret: string;
|
|
639
|
+
} | null | undefined;
|
|
640
|
+
setupIntent?: {
|
|
641
|
+
id: string;
|
|
642
|
+
publishableKey: string;
|
|
643
|
+
clientSecret: string;
|
|
644
|
+
} | undefined;
|
|
645
|
+
} | undefined;
|
|
646
|
+
bridgepay?: {
|
|
647
|
+
publicKey: string;
|
|
648
|
+
} | undefined;
|
|
649
|
+
realax?: Record<string, any> | undefined;
|
|
650
|
+
external?: Record<string, any> | undefined;
|
|
651
|
+
paytr?: {
|
|
652
|
+
id?: string | null | undefined;
|
|
653
|
+
error?: string | null | undefined;
|
|
654
|
+
iframeUrl?: string | null | undefined;
|
|
655
|
+
} | undefined;
|
|
656
|
+
spreedly?: {
|
|
657
|
+
env?: string | undefined;
|
|
658
|
+
nonce?: string | undefined;
|
|
659
|
+
timestamp?: string | undefined;
|
|
660
|
+
certificateToken?: string | undefined;
|
|
661
|
+
signature?: string | undefined;
|
|
662
|
+
} | undefined;
|
|
663
|
+
peach?: {
|
|
664
|
+
key?: any;
|
|
665
|
+
entityId?: string | undefined;
|
|
666
|
+
checkoutId?: string | null | undefined;
|
|
667
|
+
} | undefined;
|
|
668
|
+
}>;
|
|
@@ -8,7 +8,6 @@ export declare const categorySchema: z.ZodObject<{
|
|
|
8
8
|
shortDescription: z.ZodNullable<z.ZodString>;
|
|
9
9
|
coverImageUrl: z.ZodNullable<z.ZodString>;
|
|
10
10
|
bannerImageUrl: z.ZodNullable<z.ZodString>;
|
|
11
|
-
productIds: z.ZodArray<z.ZodString, "many">;
|
|
12
11
|
}, "strip", z.ZodTypeAny, {
|
|
13
12
|
id: string;
|
|
14
13
|
name: string | null;
|
|
@@ -18,7 +17,6 @@ export declare const categorySchema: z.ZodObject<{
|
|
|
18
17
|
coverImageUrl: string | null;
|
|
19
18
|
default: boolean;
|
|
20
19
|
bannerImageUrl: string | null;
|
|
21
|
-
productIds: string[];
|
|
22
20
|
}, {
|
|
23
21
|
id: string;
|
|
24
22
|
name: string | null;
|
|
@@ -28,5 +26,4 @@ export declare const categorySchema: z.ZodObject<{
|
|
|
28
26
|
coverImageUrl: string | null;
|
|
29
27
|
default: boolean;
|
|
30
28
|
bannerImageUrl: string | null;
|
|
31
|
-
productIds: string[];
|
|
32
29
|
}>;
|