@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
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const adyenGatewaySchema: z.ZodObject<{
|
|
3
|
+
environment: z.ZodOptional<z.ZodString>;
|
|
4
|
+
clientKey: z.ZodOptional<z.ZodString>;
|
|
5
|
+
session: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6
|
+
id: z.ZodString;
|
|
7
|
+
sessionData: z.ZodString;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
id: string;
|
|
10
|
+
sessionData: string;
|
|
11
|
+
}, {
|
|
12
|
+
id: string;
|
|
13
|
+
sessionData: string;
|
|
14
|
+
}>>>;
|
|
15
|
+
countryCode: z.ZodOptional<z.ZodString>;
|
|
16
|
+
paymentMethodsConfiguration: z.ZodOptional<z.ZodObject<{
|
|
17
|
+
card: z.ZodObject<{
|
|
18
|
+
hasHolderName: z.ZodBoolean;
|
|
19
|
+
billingAddressRequired: z.ZodBoolean;
|
|
20
|
+
billingAddressMode: z.ZodNativeEnum<typeof import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode>;
|
|
21
|
+
data: z.ZodObject<{
|
|
22
|
+
holderName: z.ZodString;
|
|
23
|
+
billingAddress: z.ZodObject<{
|
|
24
|
+
street: z.ZodString;
|
|
25
|
+
postalCode: z.ZodString;
|
|
26
|
+
city: z.ZodString;
|
|
27
|
+
country: z.ZodString;
|
|
28
|
+
stateOrProvince: z.ZodString;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
country: string;
|
|
31
|
+
postalCode: string;
|
|
32
|
+
street: string;
|
|
33
|
+
city: string;
|
|
34
|
+
stateOrProvince: string;
|
|
35
|
+
}, {
|
|
36
|
+
country: string;
|
|
37
|
+
postalCode: string;
|
|
38
|
+
street: string;
|
|
39
|
+
city: string;
|
|
40
|
+
stateOrProvince: string;
|
|
41
|
+
}>;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
holderName: string;
|
|
44
|
+
billingAddress: {
|
|
45
|
+
country: string;
|
|
46
|
+
postalCode: string;
|
|
47
|
+
street: string;
|
|
48
|
+
city: string;
|
|
49
|
+
stateOrProvince: string;
|
|
50
|
+
};
|
|
51
|
+
}, {
|
|
52
|
+
holderName: string;
|
|
53
|
+
billingAddress: {
|
|
54
|
+
country: string;
|
|
55
|
+
postalCode: string;
|
|
56
|
+
street: string;
|
|
57
|
+
city: string;
|
|
58
|
+
stateOrProvince: string;
|
|
59
|
+
};
|
|
60
|
+
}>;
|
|
61
|
+
clickToPayConfiguration: z.ZodObject<{
|
|
62
|
+
merchantDisplayName: z.ZodString;
|
|
63
|
+
shopperEmail: z.ZodString;
|
|
64
|
+
}, "strip", z.ZodTypeAny, {
|
|
65
|
+
merchantDisplayName: string;
|
|
66
|
+
shopperEmail: string;
|
|
67
|
+
}, {
|
|
68
|
+
merchantDisplayName: string;
|
|
69
|
+
shopperEmail: string;
|
|
70
|
+
}>;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
hasHolderName: boolean;
|
|
73
|
+
billingAddressRequired: boolean;
|
|
74
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
75
|
+
data: {
|
|
76
|
+
holderName: string;
|
|
77
|
+
billingAddress: {
|
|
78
|
+
country: string;
|
|
79
|
+
postalCode: string;
|
|
80
|
+
street: string;
|
|
81
|
+
city: string;
|
|
82
|
+
stateOrProvince: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
clickToPayConfiguration: {
|
|
86
|
+
merchantDisplayName: string;
|
|
87
|
+
shopperEmail: string;
|
|
88
|
+
};
|
|
89
|
+
}, {
|
|
90
|
+
hasHolderName: boolean;
|
|
91
|
+
billingAddressRequired: boolean;
|
|
92
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
93
|
+
data: {
|
|
94
|
+
holderName: string;
|
|
95
|
+
billingAddress: {
|
|
96
|
+
country: string;
|
|
97
|
+
postalCode: string;
|
|
98
|
+
street: string;
|
|
99
|
+
city: string;
|
|
100
|
+
stateOrProvince: string;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
clickToPayConfiguration: {
|
|
104
|
+
merchantDisplayName: string;
|
|
105
|
+
shopperEmail: string;
|
|
106
|
+
};
|
|
107
|
+
}>;
|
|
108
|
+
paypal: z.ZodObject<{
|
|
109
|
+
blockPayPalCreditButton: z.ZodBoolean;
|
|
110
|
+
blockPayPalPayLaterButton: z.ZodBoolean;
|
|
111
|
+
blockPayPalVenmoButton: z.ZodBoolean;
|
|
112
|
+
}, "strip", z.ZodTypeAny, {
|
|
113
|
+
blockPayPalCreditButton: boolean;
|
|
114
|
+
blockPayPalPayLaterButton: boolean;
|
|
115
|
+
blockPayPalVenmoButton: boolean;
|
|
116
|
+
}, {
|
|
117
|
+
blockPayPalCreditButton: boolean;
|
|
118
|
+
blockPayPalPayLaterButton: boolean;
|
|
119
|
+
blockPayPalVenmoButton: boolean;
|
|
120
|
+
}>;
|
|
121
|
+
applepay: z.ZodObject<{
|
|
122
|
+
requiredBillingContactFields: z.ZodArray<z.ZodString, "many">;
|
|
123
|
+
}, "strip", z.ZodTypeAny, {
|
|
124
|
+
requiredBillingContactFields: string[];
|
|
125
|
+
}, {
|
|
126
|
+
requiredBillingContactFields: string[];
|
|
127
|
+
}>;
|
|
128
|
+
googlepay: z.ZodObject<{
|
|
129
|
+
billingAddressRequired: z.ZodBoolean;
|
|
130
|
+
billingAddressParameters: z.ZodNativeEnum<typeof import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters>;
|
|
131
|
+
}, "strip", z.ZodTypeAny, {
|
|
132
|
+
billingAddressRequired: boolean;
|
|
133
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
134
|
+
}, {
|
|
135
|
+
billingAddressRequired: boolean;
|
|
136
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
137
|
+
}>;
|
|
138
|
+
}, "strip", z.ZodTypeAny, {
|
|
139
|
+
card: {
|
|
140
|
+
hasHolderName: boolean;
|
|
141
|
+
billingAddressRequired: boolean;
|
|
142
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
143
|
+
data: {
|
|
144
|
+
holderName: string;
|
|
145
|
+
billingAddress: {
|
|
146
|
+
country: string;
|
|
147
|
+
postalCode: string;
|
|
148
|
+
street: string;
|
|
149
|
+
city: string;
|
|
150
|
+
stateOrProvince: string;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
clickToPayConfiguration: {
|
|
154
|
+
merchantDisplayName: string;
|
|
155
|
+
shopperEmail: string;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
paypal: {
|
|
159
|
+
blockPayPalCreditButton: boolean;
|
|
160
|
+
blockPayPalPayLaterButton: boolean;
|
|
161
|
+
blockPayPalVenmoButton: boolean;
|
|
162
|
+
};
|
|
163
|
+
applepay: {
|
|
164
|
+
requiredBillingContactFields: string[];
|
|
165
|
+
};
|
|
166
|
+
googlepay: {
|
|
167
|
+
billingAddressRequired: boolean;
|
|
168
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
169
|
+
};
|
|
170
|
+
}, {
|
|
171
|
+
card: {
|
|
172
|
+
hasHolderName: boolean;
|
|
173
|
+
billingAddressRequired: boolean;
|
|
174
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
175
|
+
data: {
|
|
176
|
+
holderName: string;
|
|
177
|
+
billingAddress: {
|
|
178
|
+
country: string;
|
|
179
|
+
postalCode: string;
|
|
180
|
+
street: string;
|
|
181
|
+
city: string;
|
|
182
|
+
stateOrProvince: string;
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
clickToPayConfiguration: {
|
|
186
|
+
merchantDisplayName: string;
|
|
187
|
+
shopperEmail: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
paypal: {
|
|
191
|
+
blockPayPalCreditButton: boolean;
|
|
192
|
+
blockPayPalPayLaterButton: boolean;
|
|
193
|
+
blockPayPalVenmoButton: boolean;
|
|
194
|
+
};
|
|
195
|
+
applepay: {
|
|
196
|
+
requiredBillingContactFields: string[];
|
|
197
|
+
};
|
|
198
|
+
googlepay: {
|
|
199
|
+
billingAddressRequired: boolean;
|
|
200
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
201
|
+
};
|
|
202
|
+
}>>;
|
|
203
|
+
}, "strip", z.ZodTypeAny, {
|
|
204
|
+
environment?: string | undefined;
|
|
205
|
+
clientKey?: string | undefined;
|
|
206
|
+
session?: {
|
|
207
|
+
id: string;
|
|
208
|
+
sessionData: string;
|
|
209
|
+
} | null | undefined;
|
|
210
|
+
countryCode?: string | undefined;
|
|
211
|
+
paymentMethodsConfiguration?: {
|
|
212
|
+
card: {
|
|
213
|
+
hasHolderName: boolean;
|
|
214
|
+
billingAddressRequired: boolean;
|
|
215
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
216
|
+
data: {
|
|
217
|
+
holderName: string;
|
|
218
|
+
billingAddress: {
|
|
219
|
+
country: string;
|
|
220
|
+
postalCode: string;
|
|
221
|
+
street: string;
|
|
222
|
+
city: string;
|
|
223
|
+
stateOrProvince: string;
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
clickToPayConfiguration: {
|
|
227
|
+
merchantDisplayName: string;
|
|
228
|
+
shopperEmail: string;
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
paypal: {
|
|
232
|
+
blockPayPalCreditButton: boolean;
|
|
233
|
+
blockPayPalPayLaterButton: boolean;
|
|
234
|
+
blockPayPalVenmoButton: boolean;
|
|
235
|
+
};
|
|
236
|
+
applepay: {
|
|
237
|
+
requiredBillingContactFields: string[];
|
|
238
|
+
};
|
|
239
|
+
googlepay: {
|
|
240
|
+
billingAddressRequired: boolean;
|
|
241
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
242
|
+
};
|
|
243
|
+
} | undefined;
|
|
244
|
+
}, {
|
|
245
|
+
environment?: string | undefined;
|
|
246
|
+
clientKey?: string | undefined;
|
|
247
|
+
session?: {
|
|
248
|
+
id: string;
|
|
249
|
+
sessionData: string;
|
|
250
|
+
} | null | undefined;
|
|
251
|
+
countryCode?: string | undefined;
|
|
252
|
+
paymentMethodsConfiguration?: {
|
|
253
|
+
card: {
|
|
254
|
+
hasHolderName: boolean;
|
|
255
|
+
billingAddressRequired: boolean;
|
|
256
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
257
|
+
data: {
|
|
258
|
+
holderName: string;
|
|
259
|
+
billingAddress: {
|
|
260
|
+
country: string;
|
|
261
|
+
postalCode: string;
|
|
262
|
+
street: string;
|
|
263
|
+
city: string;
|
|
264
|
+
stateOrProvince: string;
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
clickToPayConfiguration: {
|
|
268
|
+
merchantDisplayName: string;
|
|
269
|
+
shopperEmail: string;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
paypal: {
|
|
273
|
+
blockPayPalCreditButton: boolean;
|
|
274
|
+
blockPayPalPayLaterButton: boolean;
|
|
275
|
+
blockPayPalVenmoButton: boolean;
|
|
276
|
+
};
|
|
277
|
+
applepay: {
|
|
278
|
+
requiredBillingContactFields: string[];
|
|
279
|
+
};
|
|
280
|
+
googlepay: {
|
|
281
|
+
billingAddressRequired: boolean;
|
|
282
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
283
|
+
};
|
|
284
|
+
} | undefined;
|
|
285
|
+
}>;
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const adyenPaymentMethodsConfigurationSchema: z.ZodObject<{
|
|
3
|
+
card: z.ZodObject<{
|
|
4
|
+
hasHolderName: z.ZodBoolean;
|
|
5
|
+
billingAddressRequired: z.ZodBoolean;
|
|
6
|
+
billingAddressMode: z.ZodNativeEnum<typeof import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode>;
|
|
7
|
+
data: z.ZodObject<{
|
|
8
|
+
holderName: z.ZodString;
|
|
9
|
+
billingAddress: z.ZodObject<{
|
|
10
|
+
street: z.ZodString;
|
|
11
|
+
postalCode: z.ZodString;
|
|
12
|
+
city: z.ZodString;
|
|
13
|
+
country: z.ZodString;
|
|
14
|
+
stateOrProvince: z.ZodString;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
country: string;
|
|
17
|
+
postalCode: string;
|
|
18
|
+
street: string;
|
|
19
|
+
city: string;
|
|
20
|
+
stateOrProvince: string;
|
|
21
|
+
}, {
|
|
22
|
+
country: string;
|
|
23
|
+
postalCode: string;
|
|
24
|
+
street: string;
|
|
25
|
+
city: string;
|
|
26
|
+
stateOrProvince: string;
|
|
27
|
+
}>;
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
holderName: string;
|
|
30
|
+
billingAddress: {
|
|
31
|
+
country: string;
|
|
32
|
+
postalCode: string;
|
|
33
|
+
street: string;
|
|
34
|
+
city: string;
|
|
35
|
+
stateOrProvince: string;
|
|
36
|
+
};
|
|
37
|
+
}, {
|
|
38
|
+
holderName: string;
|
|
39
|
+
billingAddress: {
|
|
40
|
+
country: string;
|
|
41
|
+
postalCode: string;
|
|
42
|
+
street: string;
|
|
43
|
+
city: string;
|
|
44
|
+
stateOrProvince: string;
|
|
45
|
+
};
|
|
46
|
+
}>;
|
|
47
|
+
clickToPayConfiguration: z.ZodObject<{
|
|
48
|
+
merchantDisplayName: z.ZodString;
|
|
49
|
+
shopperEmail: z.ZodString;
|
|
50
|
+
}, "strip", z.ZodTypeAny, {
|
|
51
|
+
merchantDisplayName: string;
|
|
52
|
+
shopperEmail: string;
|
|
53
|
+
}, {
|
|
54
|
+
merchantDisplayName: string;
|
|
55
|
+
shopperEmail: string;
|
|
56
|
+
}>;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
hasHolderName: boolean;
|
|
59
|
+
billingAddressRequired: boolean;
|
|
60
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
61
|
+
data: {
|
|
62
|
+
holderName: string;
|
|
63
|
+
billingAddress: {
|
|
64
|
+
country: string;
|
|
65
|
+
postalCode: string;
|
|
66
|
+
street: string;
|
|
67
|
+
city: string;
|
|
68
|
+
stateOrProvince: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
clickToPayConfiguration: {
|
|
72
|
+
merchantDisplayName: string;
|
|
73
|
+
shopperEmail: string;
|
|
74
|
+
};
|
|
75
|
+
}, {
|
|
76
|
+
hasHolderName: boolean;
|
|
77
|
+
billingAddressRequired: boolean;
|
|
78
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
79
|
+
data: {
|
|
80
|
+
holderName: string;
|
|
81
|
+
billingAddress: {
|
|
82
|
+
country: string;
|
|
83
|
+
postalCode: string;
|
|
84
|
+
street: string;
|
|
85
|
+
city: string;
|
|
86
|
+
stateOrProvince: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
clickToPayConfiguration: {
|
|
90
|
+
merchantDisplayName: string;
|
|
91
|
+
shopperEmail: string;
|
|
92
|
+
};
|
|
93
|
+
}>;
|
|
94
|
+
paypal: z.ZodObject<{
|
|
95
|
+
blockPayPalCreditButton: z.ZodBoolean;
|
|
96
|
+
blockPayPalPayLaterButton: z.ZodBoolean;
|
|
97
|
+
blockPayPalVenmoButton: z.ZodBoolean;
|
|
98
|
+
}, "strip", z.ZodTypeAny, {
|
|
99
|
+
blockPayPalCreditButton: boolean;
|
|
100
|
+
blockPayPalPayLaterButton: boolean;
|
|
101
|
+
blockPayPalVenmoButton: boolean;
|
|
102
|
+
}, {
|
|
103
|
+
blockPayPalCreditButton: boolean;
|
|
104
|
+
blockPayPalPayLaterButton: boolean;
|
|
105
|
+
blockPayPalVenmoButton: boolean;
|
|
106
|
+
}>;
|
|
107
|
+
applepay: z.ZodObject<{
|
|
108
|
+
requiredBillingContactFields: z.ZodArray<z.ZodString, "many">;
|
|
109
|
+
}, "strip", z.ZodTypeAny, {
|
|
110
|
+
requiredBillingContactFields: string[];
|
|
111
|
+
}, {
|
|
112
|
+
requiredBillingContactFields: string[];
|
|
113
|
+
}>;
|
|
114
|
+
googlepay: z.ZodObject<{
|
|
115
|
+
billingAddressRequired: z.ZodBoolean;
|
|
116
|
+
billingAddressParameters: z.ZodNativeEnum<typeof import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters>;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
billingAddressRequired: boolean;
|
|
119
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
120
|
+
}, {
|
|
121
|
+
billingAddressRequired: boolean;
|
|
122
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
123
|
+
}>;
|
|
124
|
+
}, "strip", z.ZodTypeAny, {
|
|
125
|
+
card: {
|
|
126
|
+
hasHolderName: boolean;
|
|
127
|
+
billingAddressRequired: boolean;
|
|
128
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
129
|
+
data: {
|
|
130
|
+
holderName: string;
|
|
131
|
+
billingAddress: {
|
|
132
|
+
country: string;
|
|
133
|
+
postalCode: string;
|
|
134
|
+
street: string;
|
|
135
|
+
city: string;
|
|
136
|
+
stateOrProvince: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
clickToPayConfiguration: {
|
|
140
|
+
merchantDisplayName: string;
|
|
141
|
+
shopperEmail: string;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
paypal: {
|
|
145
|
+
blockPayPalCreditButton: boolean;
|
|
146
|
+
blockPayPalPayLaterButton: boolean;
|
|
147
|
+
blockPayPalVenmoButton: boolean;
|
|
148
|
+
};
|
|
149
|
+
applepay: {
|
|
150
|
+
requiredBillingContactFields: string[];
|
|
151
|
+
};
|
|
152
|
+
googlepay: {
|
|
153
|
+
billingAddressRequired: boolean;
|
|
154
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
155
|
+
};
|
|
156
|
+
}, {
|
|
157
|
+
card: {
|
|
158
|
+
hasHolderName: boolean;
|
|
159
|
+
billingAddressRequired: boolean;
|
|
160
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
161
|
+
data: {
|
|
162
|
+
holderName: string;
|
|
163
|
+
billingAddress: {
|
|
164
|
+
country: string;
|
|
165
|
+
postalCode: string;
|
|
166
|
+
street: string;
|
|
167
|
+
city: string;
|
|
168
|
+
stateOrProvince: string;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
clickToPayConfiguration: {
|
|
172
|
+
merchantDisplayName: string;
|
|
173
|
+
shopperEmail: string;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
paypal: {
|
|
177
|
+
blockPayPalCreditButton: boolean;
|
|
178
|
+
blockPayPalPayLaterButton: boolean;
|
|
179
|
+
blockPayPalVenmoButton: boolean;
|
|
180
|
+
};
|
|
181
|
+
applepay: {
|
|
182
|
+
requiredBillingContactFields: string[];
|
|
183
|
+
};
|
|
184
|
+
googlepay: {
|
|
185
|
+
billingAddressRequired: boolean;
|
|
186
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
187
|
+
};
|
|
188
|
+
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const adyenPaymentMethodsConfigurationApplePaySchema: z.ZodObject<{
|
|
3
|
+
requiredBillingContactFields: z.ZodArray<z.ZodString, "many">;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
requiredBillingContactFields: string[];
|
|
6
|
+
}, {
|
|
7
|
+
requiredBillingContactFields: string[];
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const adyenPaymentMethodsConfigurationCardSchema: z.ZodObject<{
|
|
3
|
+
hasHolderName: z.ZodBoolean;
|
|
4
|
+
billingAddressRequired: z.ZodBoolean;
|
|
5
|
+
billingAddressMode: z.ZodNativeEnum<typeof import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode>;
|
|
6
|
+
data: z.ZodObject<{
|
|
7
|
+
holderName: z.ZodString;
|
|
8
|
+
billingAddress: z.ZodObject<{
|
|
9
|
+
street: z.ZodString;
|
|
10
|
+
postalCode: z.ZodString;
|
|
11
|
+
city: z.ZodString;
|
|
12
|
+
country: z.ZodString;
|
|
13
|
+
stateOrProvince: z.ZodString;
|
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
|
15
|
+
country: string;
|
|
16
|
+
postalCode: string;
|
|
17
|
+
street: string;
|
|
18
|
+
city: string;
|
|
19
|
+
stateOrProvince: string;
|
|
20
|
+
}, {
|
|
21
|
+
country: string;
|
|
22
|
+
postalCode: string;
|
|
23
|
+
street: string;
|
|
24
|
+
city: string;
|
|
25
|
+
stateOrProvince: string;
|
|
26
|
+
}>;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
holderName: string;
|
|
29
|
+
billingAddress: {
|
|
30
|
+
country: string;
|
|
31
|
+
postalCode: string;
|
|
32
|
+
street: string;
|
|
33
|
+
city: string;
|
|
34
|
+
stateOrProvince: string;
|
|
35
|
+
};
|
|
36
|
+
}, {
|
|
37
|
+
holderName: string;
|
|
38
|
+
billingAddress: {
|
|
39
|
+
country: string;
|
|
40
|
+
postalCode: string;
|
|
41
|
+
street: string;
|
|
42
|
+
city: string;
|
|
43
|
+
stateOrProvince: string;
|
|
44
|
+
};
|
|
45
|
+
}>;
|
|
46
|
+
clickToPayConfiguration: z.ZodObject<{
|
|
47
|
+
merchantDisplayName: z.ZodString;
|
|
48
|
+
shopperEmail: z.ZodString;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
merchantDisplayName: string;
|
|
51
|
+
shopperEmail: string;
|
|
52
|
+
}, {
|
|
53
|
+
merchantDisplayName: string;
|
|
54
|
+
shopperEmail: string;
|
|
55
|
+
}>;
|
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
hasHolderName: boolean;
|
|
58
|
+
billingAddressRequired: boolean;
|
|
59
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
60
|
+
data: {
|
|
61
|
+
holderName: string;
|
|
62
|
+
billingAddress: {
|
|
63
|
+
country: string;
|
|
64
|
+
postalCode: string;
|
|
65
|
+
street: string;
|
|
66
|
+
city: string;
|
|
67
|
+
stateOrProvince: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
clickToPayConfiguration: {
|
|
71
|
+
merchantDisplayName: string;
|
|
72
|
+
shopperEmail: string;
|
|
73
|
+
};
|
|
74
|
+
}, {
|
|
75
|
+
hasHolderName: boolean;
|
|
76
|
+
billingAddressRequired: boolean;
|
|
77
|
+
billingAddressMode: import("..").AdyenPaymentMethodsConfigurationCardBillingAddressMode;
|
|
78
|
+
data: {
|
|
79
|
+
holderName: string;
|
|
80
|
+
billingAddress: {
|
|
81
|
+
country: string;
|
|
82
|
+
postalCode: string;
|
|
83
|
+
street: string;
|
|
84
|
+
city: string;
|
|
85
|
+
stateOrProvince: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
clickToPayConfiguration: {
|
|
89
|
+
merchantDisplayName: string;
|
|
90
|
+
shopperEmail: string;
|
|
91
|
+
};
|
|
92
|
+
}>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { AdyenPaymentMethodsConfigurationCardBillingAddressMode } from '../models/AdyenPaymentMethodsConfigurationCardBillingAddressMode';
|
|
3
|
+
export declare const adyenPaymentMethodsConfigurationCardBillingAddressModeSchema: z.ZodNativeEnum<typeof AdyenPaymentMethodsConfigurationCardBillingAddressMode>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const adyenPaymentMethodsConfigurationGooglePaySchema: z.ZodObject<{
|
|
3
|
+
billingAddressRequired: z.ZodBoolean;
|
|
4
|
+
billingAddressParameters: z.ZodNativeEnum<typeof import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
billingAddressRequired: boolean;
|
|
7
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
8
|
+
}, {
|
|
9
|
+
billingAddressRequired: boolean;
|
|
10
|
+
billingAddressParameters: import("..").AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters } from '../models/AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters';
|
|
3
|
+
export declare const adyenPaymentMethodsConfigurationGooglePayBillingAddressParametersSchema: z.ZodNativeEnum<typeof AdyenPaymentMethodsConfigurationGooglePayBillingAddressParameters>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const adyenPaymentMethodsConfigurationPayPaySchema: z.ZodObject<{
|
|
3
|
+
blockPayPalCreditButton: z.ZodBoolean;
|
|
4
|
+
blockPayPalPayLaterButton: z.ZodBoolean;
|
|
5
|
+
blockPayPalVenmoButton: z.ZodBoolean;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
blockPayPalCreditButton: boolean;
|
|
8
|
+
blockPayPalPayLaterButton: boolean;
|
|
9
|
+
blockPayPalVenmoButton: boolean;
|
|
10
|
+
}, {
|
|
11
|
+
blockPayPalCreditButton: boolean;
|
|
12
|
+
blockPayPalPayLaterButton: boolean;
|
|
13
|
+
blockPayPalVenmoButton: boolean;
|
|
14
|
+
}>;
|