@ventrata/octo-types 0.0.10 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +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/GoogleOptions.d.ts +1 -1
- 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 +5 -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 +644 -161
- package/dist/schemas/AvailabilityCalendar.d.ts +609 -138
- package/dist/schemas/AvailabilityCalendarExtras.d.ts +90 -0
- package/dist/schemas/AvailabilityCalendarOffers.d.ts +86 -0
- package/dist/schemas/AvailabilityCalendarPricing.d.ts +423 -123
- 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 +423 -123
- package/dist/schemas/AvailabilityResources.d.ts +8 -0
- package/dist/schemas/AvailabilityUpdate.d.ts +856 -306
- 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/GoogleOptions.d.ts +3 -3
- 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 +143 -87
- package/dist/schemas/PricingUnitExtras.d.ts +83 -85
- package/dist/schemas/ProductContent.d.ts +46 -116
- package/dist/schemas/ProductGoogle.d.ts +5 -5
- 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 -1
- package/dist/models/Octo_PricingUnit.d.ts +0 -7
|
@@ -5,19 +5,16 @@ export declare const offerDiscountSchema: z.ZodObject<{
|
|
|
5
5
|
includedTaxes: z.ZodArray<z.ZodObject<{
|
|
6
6
|
name: z.ZodString;
|
|
7
7
|
retail: z.ZodNumber;
|
|
8
|
-
original: z.ZodNumber;
|
|
9
8
|
net: z.ZodNullable<z.ZodNumber>;
|
|
10
9
|
shortDescription: z.ZodNullable<z.ZodString>;
|
|
11
10
|
}, "strip", z.ZodTypeAny, {
|
|
12
11
|
name: string;
|
|
13
12
|
retail: number;
|
|
14
|
-
original: number;
|
|
15
13
|
net: number | null;
|
|
16
14
|
shortDescription: string | null;
|
|
17
15
|
}, {
|
|
18
16
|
name: string;
|
|
19
17
|
retail: number;
|
|
20
|
-
original: number;
|
|
21
18
|
net: number | null;
|
|
22
19
|
shortDescription: string | null;
|
|
23
20
|
}>, "many">;
|
|
@@ -27,7 +24,6 @@ export declare const offerDiscountSchema: z.ZodObject<{
|
|
|
27
24
|
includedTaxes: {
|
|
28
25
|
name: string;
|
|
29
26
|
retail: number;
|
|
30
|
-
original: number;
|
|
31
27
|
net: number | null;
|
|
32
28
|
shortDescription: string | null;
|
|
33
29
|
}[];
|
|
@@ -37,7 +33,6 @@ export declare const offerDiscountSchema: z.ZodObject<{
|
|
|
37
33
|
includedTaxes: {
|
|
38
34
|
name: string;
|
|
39
35
|
retail: number;
|
|
40
|
-
original: number;
|
|
41
36
|
net: number | null;
|
|
42
37
|
shortDescription: string | null;
|
|
43
38
|
}[];
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const offerMembershipsSchema: z.ZodObject<{
|
|
3
|
+
membershipBenefit: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4
|
+
id: z.ZodString;
|
|
5
|
+
title: z.ZodString;
|
|
6
|
+
description: z.ZodString;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
id: string;
|
|
9
|
+
title: string;
|
|
10
|
+
description: string;
|
|
11
|
+
}, {
|
|
12
|
+
id: string;
|
|
13
|
+
title: string;
|
|
14
|
+
description: string;
|
|
15
|
+
}>>>;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
membershipBenefit?: {
|
|
18
|
+
id: string;
|
|
19
|
+
title: string;
|
|
20
|
+
description: string;
|
|
21
|
+
} | null | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
membershipBenefit?: {
|
|
24
|
+
id: string;
|
|
25
|
+
title: string;
|
|
26
|
+
description: string;
|
|
27
|
+
} | null | undefined;
|
|
28
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const offerTaxSchema: z.ZodObject<{
|
|
3
|
+
name: z.ZodString;
|
|
4
|
+
retail: z.ZodNumber;
|
|
5
|
+
net: z.ZodNullable<z.ZodNumber>;
|
|
6
|
+
shortDescription: z.ZodNullable<z.ZodString>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
name: string;
|
|
9
|
+
retail: number;
|
|
10
|
+
net: number | null;
|
|
11
|
+
shortDescription: string | null;
|
|
12
|
+
}, {
|
|
13
|
+
name: string;
|
|
14
|
+
retail: number;
|
|
15
|
+
net: number | null;
|
|
16
|
+
shortDescription: string | null;
|
|
17
|
+
}>;
|
|
@@ -2,19 +2,19 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const openingHoursSchema: z.ZodObject<{
|
|
3
3
|
from: z.ZodString;
|
|
4
4
|
to: z.ZodString;
|
|
5
|
-
frequency: z.ZodOptional<z.ZodString
|
|
6
|
-
frequencyAmount: z.ZodOptional<z.ZodNumber
|
|
7
|
-
frequencyUnit: z.ZodOptional<z.
|
|
5
|
+
frequency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6
|
+
frequencyAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
7
|
+
frequencyUnit: z.ZodOptional<z.ZodNativeEnum<typeof import("..").DurationUnit>>;
|
|
8
8
|
}, "strip", z.ZodTypeAny, {
|
|
9
9
|
from: string;
|
|
10
10
|
to: string;
|
|
11
|
-
frequency?: string | undefined;
|
|
12
|
-
frequencyAmount?: number | undefined;
|
|
13
|
-
frequencyUnit?:
|
|
11
|
+
frequency?: string | null | undefined;
|
|
12
|
+
frequencyAmount?: number | null | undefined;
|
|
13
|
+
frequencyUnit?: import("..").DurationUnit | undefined;
|
|
14
14
|
}, {
|
|
15
15
|
from: string;
|
|
16
16
|
to: string;
|
|
17
|
-
frequency?: string | undefined;
|
|
18
|
-
frequencyAmount?: number | undefined;
|
|
19
|
-
frequencyUnit?:
|
|
17
|
+
frequency?: string | null | undefined;
|
|
18
|
+
frequencyAmount?: number | null | undefined;
|
|
19
|
+
frequencyUnit?: import("..").DurationUnit | undefined;
|
|
20
20
|
}>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const openingHoursContentSchema: z.ZodObject<{
|
|
3
|
-
frequency: z.ZodOptional<z.ZodString
|
|
4
|
-
frequencyAmount: z.ZodOptional<z.ZodNumber
|
|
5
|
-
frequencyUnit: z.ZodOptional<z.
|
|
3
|
+
frequency: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4
|
+
frequencyAmount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
5
|
+
frequencyUnit: z.ZodOptional<z.ZodNativeEnum<typeof import("..").DurationUnit>>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
frequency?: string | undefined;
|
|
8
|
-
frequencyAmount?: number | undefined;
|
|
9
|
-
frequencyUnit?:
|
|
7
|
+
frequency?: string | null | undefined;
|
|
8
|
+
frequencyAmount?: number | null | undefined;
|
|
9
|
+
frequencyUnit?: import("..").DurationUnit | undefined;
|
|
10
10
|
}, {
|
|
11
|
-
frequency?: string | undefined;
|
|
12
|
-
frequencyAmount?: number | undefined;
|
|
13
|
-
frequencyUnit?:
|
|
11
|
+
frequency?: string | null | undefined;
|
|
12
|
+
frequencyAmount?: number | null | undefined;
|
|
13
|
+
frequencyUnit?: import("..").DurationUnit | undefined;
|
|
14
14
|
}>;
|
|
@@ -23,8 +23,8 @@ export declare const optionContentSchema: z.ZodObject<{
|
|
|
23
23
|
durationAmount: z.ZodNumber;
|
|
24
24
|
durationUnit: z.ZodNativeEnum<typeof import("..").DurationUnit>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
name: string;
|
|
27
26
|
type: import("..").ItineraryItemType;
|
|
27
|
+
name: string;
|
|
28
28
|
address: string | null;
|
|
29
29
|
latitude: number | null;
|
|
30
30
|
longitude: number | null;
|
|
@@ -37,8 +37,8 @@ export declare const optionContentSchema: z.ZodObject<{
|
|
|
37
37
|
durationAmount: number;
|
|
38
38
|
durationUnit: import("..").DurationUnit;
|
|
39
39
|
}, {
|
|
40
|
-
name: string;
|
|
41
40
|
type: import("..").ItineraryItemType;
|
|
41
|
+
name: string;
|
|
42
42
|
address: string | null;
|
|
43
43
|
latitude: number | null;
|
|
44
44
|
longitude: number | null;
|
|
@@ -149,8 +149,8 @@ export declare const optionContentSchema: z.ZodObject<{
|
|
|
149
149
|
durationUnit?: import("..").DurationUnit | undefined;
|
|
150
150
|
language?: string | undefined;
|
|
151
151
|
itinerary?: {
|
|
152
|
-
name: string;
|
|
153
152
|
type: import("..").ItineraryItemType;
|
|
153
|
+
name: string;
|
|
154
154
|
address: string | null;
|
|
155
155
|
latitude: number | null;
|
|
156
156
|
longitude: number | null;
|
|
@@ -197,8 +197,8 @@ export declare const optionContentSchema: z.ZodObject<{
|
|
|
197
197
|
durationUnit?: import("..").DurationUnit | undefined;
|
|
198
198
|
language?: string | undefined;
|
|
199
199
|
itinerary?: {
|
|
200
|
-
name: string;
|
|
201
200
|
type: import("..").ItineraryItemType;
|
|
201
|
+
name: string;
|
|
202
202
|
address: string | null;
|
|
203
203
|
latitude: number | null;
|
|
204
204
|
longitude: number | null;
|