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