@deliverart/sdk-js-payment 2.39.0 → 2.40.0-dev.1
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/README.md +6 -0
- package/dist/index.cjs +192 -31
- package/dist/index.d.cts +1849 -13
- package/dist/index.d.ts +1849 -13
- package/dist/index.js +172 -31
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,12 @@ export { PaymentMethod, PaymentStatus, paymentMethodSchema, paymentMethods, paym
|
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
5
5
|
|
|
6
|
+
declare const paymentManagementSchema: z.ZodEnum<{
|
|
7
|
+
pos: "pos";
|
|
8
|
+
platform: "platform";
|
|
9
|
+
unknown: "unknown";
|
|
10
|
+
}>;
|
|
11
|
+
type PaymentManagement = z.infer<typeof paymentManagementSchema>;
|
|
6
12
|
declare const paymentSchema: z.ZodObject<{
|
|
7
13
|
id: z.ZodString;
|
|
8
14
|
method: z.ZodEnum<{
|
|
@@ -10,6 +16,8 @@ declare const paymentSchema: z.ZodObject<{
|
|
|
10
16
|
bank_transfer: "bank_transfer";
|
|
11
17
|
cash: "cash";
|
|
12
18
|
credit_card: "credit_card";
|
|
19
|
+
ticket: "ticket";
|
|
20
|
+
platform: "platform";
|
|
13
21
|
}>;
|
|
14
22
|
status: z.ZodEnum<{
|
|
15
23
|
pending: "pending";
|
|
@@ -26,12 +34,26 @@ declare const paymentSchema: z.ZodObject<{
|
|
|
26
34
|
validUntil: z.ZodNullable<z.ZodString>;
|
|
27
35
|
createdAt: z.ZodString;
|
|
28
36
|
updatedAt: z.ZodString;
|
|
37
|
+
management: z.ZodEnum<{
|
|
38
|
+
pos: "pos";
|
|
39
|
+
platform: "platform";
|
|
40
|
+
unknown: "unknown";
|
|
41
|
+
}>;
|
|
42
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
43
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
29
44
|
}, z.core.$strip>;
|
|
30
45
|
type Payment = z.infer<typeof paymentSchema>;
|
|
31
46
|
declare const paymentDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
32
47
|
method: z.ZodLiteral<"stripe">;
|
|
33
48
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id"> | null, unknown>>;
|
|
34
49
|
} & {
|
|
50
|
+
management: z.ZodEnum<{
|
|
51
|
+
pos: "pos";
|
|
52
|
+
platform: "platform";
|
|
53
|
+
unknown: "unknown";
|
|
54
|
+
}>;
|
|
55
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
56
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
35
57
|
status: z.ZodEnum<{
|
|
36
58
|
pending: "pending";
|
|
37
59
|
pending_verification: "pending_verification";
|
|
@@ -52,6 +74,13 @@ declare const paymentDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
52
74
|
method: z.ZodLiteral<"bank_transfer">;
|
|
53
75
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id"> | null, unknown>>;
|
|
54
76
|
} & {
|
|
77
|
+
management: z.ZodEnum<{
|
|
78
|
+
pos: "pos";
|
|
79
|
+
platform: "platform";
|
|
80
|
+
unknown: "unknown";
|
|
81
|
+
}>;
|
|
82
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
83
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
55
84
|
status: z.ZodEnum<{
|
|
56
85
|
pending: "pending";
|
|
57
86
|
pending_verification: "pending_verification";
|
|
@@ -72,6 +101,67 @@ declare const paymentDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
72
101
|
method: z.ZodLiteral<"cash">;
|
|
73
102
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id"> | null, unknown>>;
|
|
74
103
|
} & {
|
|
104
|
+
management: z.ZodEnum<{
|
|
105
|
+
pos: "pos";
|
|
106
|
+
platform: "platform";
|
|
107
|
+
unknown: "unknown";
|
|
108
|
+
}>;
|
|
109
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
110
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
111
|
+
status: z.ZodEnum<{
|
|
112
|
+
pending: "pending";
|
|
113
|
+
pending_verification: "pending_verification";
|
|
114
|
+
paid: "paid";
|
|
115
|
+
canceled: "canceled";
|
|
116
|
+
refunded: "refunded";
|
|
117
|
+
failed: "failed";
|
|
118
|
+
}>;
|
|
119
|
+
createdAt: z.ZodString;
|
|
120
|
+
updatedAt: z.ZodString;
|
|
121
|
+
id: z.ZodString;
|
|
122
|
+
amount: z.ZodString;
|
|
123
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
124
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
125
|
+
response: z.ZodNullable<z.ZodString>;
|
|
126
|
+
validUntil: z.ZodNullable<z.ZodString>;
|
|
127
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
128
|
+
method: z.ZodLiteral<"ticket">;
|
|
129
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/ticket/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/ticket/:id"> | null, unknown>>;
|
|
130
|
+
} & {
|
|
131
|
+
management: z.ZodEnum<{
|
|
132
|
+
pos: "pos";
|
|
133
|
+
platform: "platform";
|
|
134
|
+
unknown: "unknown";
|
|
135
|
+
}>;
|
|
136
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
137
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
138
|
+
status: z.ZodEnum<{
|
|
139
|
+
pending: "pending";
|
|
140
|
+
pending_verification: "pending_verification";
|
|
141
|
+
paid: "paid";
|
|
142
|
+
canceled: "canceled";
|
|
143
|
+
refunded: "refunded";
|
|
144
|
+
failed: "failed";
|
|
145
|
+
}>;
|
|
146
|
+
createdAt: z.ZodString;
|
|
147
|
+
updatedAt: z.ZodString;
|
|
148
|
+
id: z.ZodString;
|
|
149
|
+
amount: z.ZodString;
|
|
150
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
151
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
152
|
+
response: z.ZodNullable<z.ZodString>;
|
|
153
|
+
validUntil: z.ZodNullable<z.ZodString>;
|
|
154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
155
|
+
method: z.ZodLiteral<"platform">;
|
|
156
|
+
config: z.ZodNull;
|
|
157
|
+
} & {
|
|
158
|
+
management: z.ZodEnum<{
|
|
159
|
+
pos: "pos";
|
|
160
|
+
platform: "platform";
|
|
161
|
+
unknown: "unknown";
|
|
162
|
+
}>;
|
|
163
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
164
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
75
165
|
status: z.ZodEnum<{
|
|
76
166
|
pending: "pending";
|
|
77
167
|
pending_verification: "pending_verification";
|
|
@@ -92,6 +182,13 @@ declare const paymentDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
92
182
|
method: z.ZodLiteral<"credit_card">;
|
|
93
183
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id"> | null, unknown>>;
|
|
94
184
|
} & {
|
|
185
|
+
management: z.ZodEnum<{
|
|
186
|
+
pos: "pos";
|
|
187
|
+
platform: "platform";
|
|
188
|
+
unknown: "unknown";
|
|
189
|
+
}>;
|
|
190
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
191
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
95
192
|
status: z.ZodEnum<{
|
|
96
193
|
pending: "pending";
|
|
97
194
|
pending_verification: "pending_verification";
|
|
@@ -129,14 +226,32 @@ declare const paymentConfigBaseSchema: z.ZodObject<{
|
|
|
129
226
|
bank_transfer: "bank_transfer";
|
|
130
227
|
cash: "cash";
|
|
131
228
|
credit_card: "credit_card";
|
|
229
|
+
ticket: "ticket";
|
|
230
|
+
platform: "platform";
|
|
132
231
|
}>;
|
|
133
232
|
configurationCompleted: z.ZodBoolean;
|
|
233
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
234
|
+
hub: "hub";
|
|
235
|
+
ecommerce: "ecommerce";
|
|
236
|
+
}>>;
|
|
237
|
+
execution: z.ZodEnum<{
|
|
238
|
+
stripe: "stripe";
|
|
239
|
+
manual: "manual";
|
|
240
|
+
}>;
|
|
134
241
|
createdAt: z.ZodString;
|
|
135
242
|
updatedAt: z.ZodString;
|
|
136
243
|
}, z.core.$strip>;
|
|
137
244
|
declare const paymentConfigBankTransferSchema: z.ZodObject<{
|
|
138
245
|
id: z.ZodString;
|
|
139
246
|
configurationCompleted: z.ZodBoolean;
|
|
247
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
248
|
+
hub: "hub";
|
|
249
|
+
ecommerce: "ecommerce";
|
|
250
|
+
}>>;
|
|
251
|
+
execution: z.ZodEnum<{
|
|
252
|
+
stripe: "stripe";
|
|
253
|
+
manual: "manual";
|
|
254
|
+
}>;
|
|
140
255
|
createdAt: z.ZodString;
|
|
141
256
|
updatedAt: z.ZodString;
|
|
142
257
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -151,6 +266,14 @@ type PaymentConfigBankTransfer = z.infer<typeof paymentConfigBankTransferSchema>
|
|
|
151
266
|
declare const paymentConfigBankTransferDetailsSchema: z.ZodObject<{
|
|
152
267
|
id: z.ZodString;
|
|
153
268
|
configurationCompleted: z.ZodBoolean;
|
|
269
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
270
|
+
hub: "hub";
|
|
271
|
+
ecommerce: "ecommerce";
|
|
272
|
+
}>>;
|
|
273
|
+
execution: z.ZodEnum<{
|
|
274
|
+
stripe: "stripe";
|
|
275
|
+
manual: "manual";
|
|
276
|
+
}>;
|
|
154
277
|
createdAt: z.ZodString;
|
|
155
278
|
updatedAt: z.ZodString;
|
|
156
279
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -176,6 +299,14 @@ type WritablePaymentConfigBankTransfer = z.infer<typeof writablePaymentConfigBan
|
|
|
176
299
|
declare const paymentConfigStripeSchema: z.ZodObject<{
|
|
177
300
|
id: z.ZodString;
|
|
178
301
|
configurationCompleted: z.ZodBoolean;
|
|
302
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
303
|
+
hub: "hub";
|
|
304
|
+
ecommerce: "ecommerce";
|
|
305
|
+
}>>;
|
|
306
|
+
execution: z.ZodEnum<{
|
|
307
|
+
stripe: "stripe";
|
|
308
|
+
manual: "manual";
|
|
309
|
+
}>;
|
|
179
310
|
createdAt: z.ZodString;
|
|
180
311
|
updatedAt: z.ZodString;
|
|
181
312
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -187,6 +318,14 @@ type PaymentConfigStripe = z.infer<typeof paymentConfigStripeSchema>;
|
|
|
187
318
|
declare const paymentConfigStripeDetailsSchema: z.ZodObject<{
|
|
188
319
|
id: z.ZodString;
|
|
189
320
|
configurationCompleted: z.ZodBoolean;
|
|
321
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
322
|
+
hub: "hub";
|
|
323
|
+
ecommerce: "ecommerce";
|
|
324
|
+
}>>;
|
|
325
|
+
execution: z.ZodEnum<{
|
|
326
|
+
stripe: "stripe";
|
|
327
|
+
manual: "manual";
|
|
328
|
+
}>;
|
|
190
329
|
createdAt: z.ZodString;
|
|
191
330
|
updatedAt: z.ZodString;
|
|
192
331
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -204,6 +343,14 @@ type WritablePaymentConfigStripe = z.infer<typeof writablePaymentConfigStripeSch
|
|
|
204
343
|
declare const paymentConfigCashSchema: z.ZodObject<{
|
|
205
344
|
id: z.ZodString;
|
|
206
345
|
configurationCompleted: z.ZodBoolean;
|
|
346
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
347
|
+
hub: "hub";
|
|
348
|
+
ecommerce: "ecommerce";
|
|
349
|
+
}>>;
|
|
350
|
+
execution: z.ZodEnum<{
|
|
351
|
+
stripe: "stripe";
|
|
352
|
+
manual: "manual";
|
|
353
|
+
}>;
|
|
207
354
|
createdAt: z.ZodString;
|
|
208
355
|
updatedAt: z.ZodString;
|
|
209
356
|
method: z.ZodLiteral<"cash">;
|
|
@@ -212,6 +359,14 @@ type PaymentConfigCash = z.infer<typeof paymentConfigCashSchema>;
|
|
|
212
359
|
declare const paymentConfigCashDetailsSchema: z.ZodObject<{
|
|
213
360
|
id: z.ZodString;
|
|
214
361
|
configurationCompleted: z.ZodBoolean;
|
|
362
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
363
|
+
hub: "hub";
|
|
364
|
+
ecommerce: "ecommerce";
|
|
365
|
+
}>>;
|
|
366
|
+
execution: z.ZodEnum<{
|
|
367
|
+
stripe: "stripe";
|
|
368
|
+
manual: "manual";
|
|
369
|
+
}>;
|
|
215
370
|
createdAt: z.ZodString;
|
|
216
371
|
updatedAt: z.ZodString;
|
|
217
372
|
method: z.ZodLiteral<"cash">;
|
|
@@ -225,6 +380,14 @@ type WritablePaymentConfigCash = z.infer<typeof writablePaymentConfigCashSchema>
|
|
|
225
380
|
declare const paymentConfigCreditCardSchema: z.ZodObject<{
|
|
226
381
|
id: z.ZodString;
|
|
227
382
|
configurationCompleted: z.ZodBoolean;
|
|
383
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
384
|
+
hub: "hub";
|
|
385
|
+
ecommerce: "ecommerce";
|
|
386
|
+
}>>;
|
|
387
|
+
execution: z.ZodEnum<{
|
|
388
|
+
stripe: "stripe";
|
|
389
|
+
manual: "manual";
|
|
390
|
+
}>;
|
|
228
391
|
createdAt: z.ZodString;
|
|
229
392
|
updatedAt: z.ZodString;
|
|
230
393
|
method: z.ZodLiteral<"credit_card">;
|
|
@@ -233,6 +396,14 @@ type PaymentConfigCreditCard = z.infer<typeof paymentConfigCreditCardSchema>;
|
|
|
233
396
|
declare const paymentConfigCreditCardDetailsSchema: z.ZodObject<{
|
|
234
397
|
id: z.ZodString;
|
|
235
398
|
configurationCompleted: z.ZodBoolean;
|
|
399
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
400
|
+
hub: "hub";
|
|
401
|
+
ecommerce: "ecommerce";
|
|
402
|
+
}>>;
|
|
403
|
+
execution: z.ZodEnum<{
|
|
404
|
+
stripe: "stripe";
|
|
405
|
+
manual: "manual";
|
|
406
|
+
}>;
|
|
236
407
|
createdAt: z.ZodString;
|
|
237
408
|
updatedAt: z.ZodString;
|
|
238
409
|
method: z.ZodLiteral<"credit_card">;
|
|
@@ -243,9 +414,54 @@ declare const writablePaymentConfigCreditCardSchema: z.ZodObject<{
|
|
|
243
414
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
244
415
|
}, z.core.$strip>;
|
|
245
416
|
type WritablePaymentConfigCreditCard = z.infer<typeof writablePaymentConfigCreditCardSchema>;
|
|
417
|
+
declare const paymentConfigTicketSchema: z.ZodObject<{
|
|
418
|
+
id: z.ZodString;
|
|
419
|
+
configurationCompleted: z.ZodBoolean;
|
|
420
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
421
|
+
hub: "hub";
|
|
422
|
+
ecommerce: "ecommerce";
|
|
423
|
+
}>>;
|
|
424
|
+
execution: z.ZodEnum<{
|
|
425
|
+
stripe: "stripe";
|
|
426
|
+
manual: "manual";
|
|
427
|
+
}>;
|
|
428
|
+
createdAt: z.ZodString;
|
|
429
|
+
updatedAt: z.ZodString;
|
|
430
|
+
method: z.ZodLiteral<"ticket">;
|
|
431
|
+
}, z.core.$strip>;
|
|
432
|
+
type PaymentConfigTicket = z.infer<typeof paymentConfigTicketSchema>;
|
|
433
|
+
declare const paymentConfigTicketDetailsSchema: z.ZodObject<{
|
|
434
|
+
id: z.ZodString;
|
|
435
|
+
configurationCompleted: z.ZodBoolean;
|
|
436
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
437
|
+
hub: "hub";
|
|
438
|
+
ecommerce: "ecommerce";
|
|
439
|
+
}>>;
|
|
440
|
+
execution: z.ZodEnum<{
|
|
441
|
+
stripe: "stripe";
|
|
442
|
+
manual: "manual";
|
|
443
|
+
}>;
|
|
444
|
+
createdAt: z.ZodString;
|
|
445
|
+
updatedAt: z.ZodString;
|
|
446
|
+
method: z.ZodLiteral<"ticket">;
|
|
447
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
448
|
+
}, z.core.$strip>;
|
|
449
|
+
type PaymentConfigTicketDetails = z.infer<typeof paymentConfigTicketDetailsSchema>;
|
|
450
|
+
declare const writablePaymentConfigTicketSchema: z.ZodObject<{
|
|
451
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
452
|
+
}, z.core.$strip>;
|
|
453
|
+
type WritablePaymentConfigTicket = z.infer<typeof writablePaymentConfigTicketSchema>;
|
|
246
454
|
declare const paymentConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
247
455
|
id: z.ZodString;
|
|
248
456
|
configurationCompleted: z.ZodBoolean;
|
|
457
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
458
|
+
hub: "hub";
|
|
459
|
+
ecommerce: "ecommerce";
|
|
460
|
+
}>>;
|
|
461
|
+
execution: z.ZodEnum<{
|
|
462
|
+
stripe: "stripe";
|
|
463
|
+
manual: "manual";
|
|
464
|
+
}>;
|
|
249
465
|
createdAt: z.ZodString;
|
|
250
466
|
updatedAt: z.ZodString;
|
|
251
467
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -258,6 +474,14 @@ declare const paymentConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
258
474
|
}, z.core.$strip>, z.ZodObject<{
|
|
259
475
|
id: z.ZodString;
|
|
260
476
|
configurationCompleted: z.ZodBoolean;
|
|
477
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
478
|
+
hub: "hub";
|
|
479
|
+
ecommerce: "ecommerce";
|
|
480
|
+
}>>;
|
|
481
|
+
execution: z.ZodEnum<{
|
|
482
|
+
stripe: "stripe";
|
|
483
|
+
manual: "manual";
|
|
484
|
+
}>;
|
|
261
485
|
createdAt: z.ZodString;
|
|
262
486
|
updatedAt: z.ZodString;
|
|
263
487
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -267,20 +491,58 @@ declare const paymentConfigSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
267
491
|
}, z.core.$strip>, z.ZodObject<{
|
|
268
492
|
id: z.ZodString;
|
|
269
493
|
configurationCompleted: z.ZodBoolean;
|
|
494
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
495
|
+
hub: "hub";
|
|
496
|
+
ecommerce: "ecommerce";
|
|
497
|
+
}>>;
|
|
498
|
+
execution: z.ZodEnum<{
|
|
499
|
+
stripe: "stripe";
|
|
500
|
+
manual: "manual";
|
|
501
|
+
}>;
|
|
270
502
|
createdAt: z.ZodString;
|
|
271
503
|
updatedAt: z.ZodString;
|
|
272
504
|
method: z.ZodLiteral<"cash">;
|
|
273
505
|
}, z.core.$strip>, z.ZodObject<{
|
|
274
506
|
id: z.ZodString;
|
|
275
507
|
configurationCompleted: z.ZodBoolean;
|
|
508
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
509
|
+
hub: "hub";
|
|
510
|
+
ecommerce: "ecommerce";
|
|
511
|
+
}>>;
|
|
512
|
+
execution: z.ZodEnum<{
|
|
513
|
+
stripe: "stripe";
|
|
514
|
+
manual: "manual";
|
|
515
|
+
}>;
|
|
276
516
|
createdAt: z.ZodString;
|
|
277
517
|
updatedAt: z.ZodString;
|
|
278
518
|
method: z.ZodLiteral<"credit_card">;
|
|
519
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
520
|
+
id: z.ZodString;
|
|
521
|
+
configurationCompleted: z.ZodBoolean;
|
|
522
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
523
|
+
hub: "hub";
|
|
524
|
+
ecommerce: "ecommerce";
|
|
525
|
+
}>>;
|
|
526
|
+
execution: z.ZodEnum<{
|
|
527
|
+
stripe: "stripe";
|
|
528
|
+
manual: "manual";
|
|
529
|
+
}>;
|
|
530
|
+
createdAt: z.ZodString;
|
|
531
|
+
updatedAt: z.ZodString;
|
|
532
|
+
method: z.ZodLiteral<"ticket">;
|
|
279
533
|
}, z.core.$strip>], "method">;
|
|
280
534
|
type PaymentConfig = z.infer<typeof paymentConfigSchema>;
|
|
281
535
|
declare const paymentConfigDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
282
536
|
id: z.ZodString;
|
|
283
537
|
configurationCompleted: z.ZodBoolean;
|
|
538
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
539
|
+
hub: "hub";
|
|
540
|
+
ecommerce: "ecommerce";
|
|
541
|
+
}>>;
|
|
542
|
+
execution: z.ZodEnum<{
|
|
543
|
+
stripe: "stripe";
|
|
544
|
+
manual: "manual";
|
|
545
|
+
}>;
|
|
284
546
|
createdAt: z.ZodString;
|
|
285
547
|
updatedAt: z.ZodString;
|
|
286
548
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -294,6 +556,14 @@ declare const paymentConfigDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
294
556
|
}, z.core.$strip>, z.ZodObject<{
|
|
295
557
|
id: z.ZodString;
|
|
296
558
|
configurationCompleted: z.ZodBoolean;
|
|
559
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
560
|
+
hub: "hub";
|
|
561
|
+
ecommerce: "ecommerce";
|
|
562
|
+
}>>;
|
|
563
|
+
execution: z.ZodEnum<{
|
|
564
|
+
stripe: "stripe";
|
|
565
|
+
manual: "manual";
|
|
566
|
+
}>;
|
|
297
567
|
createdAt: z.ZodString;
|
|
298
568
|
updatedAt: z.ZodString;
|
|
299
569
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -304,6 +574,14 @@ declare const paymentConfigDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
304
574
|
}, z.core.$strip>, z.ZodObject<{
|
|
305
575
|
id: z.ZodString;
|
|
306
576
|
configurationCompleted: z.ZodBoolean;
|
|
577
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
578
|
+
hub: "hub";
|
|
579
|
+
ecommerce: "ecommerce";
|
|
580
|
+
}>>;
|
|
581
|
+
execution: z.ZodEnum<{
|
|
582
|
+
stripe: "stripe";
|
|
583
|
+
manual: "manual";
|
|
584
|
+
}>;
|
|
307
585
|
createdAt: z.ZodString;
|
|
308
586
|
updatedAt: z.ZodString;
|
|
309
587
|
method: z.ZodLiteral<"cash">;
|
|
@@ -311,10 +589,33 @@ declare const paymentConfigDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
311
589
|
}, z.core.$strip>, z.ZodObject<{
|
|
312
590
|
id: z.ZodString;
|
|
313
591
|
configurationCompleted: z.ZodBoolean;
|
|
592
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
593
|
+
hub: "hub";
|
|
594
|
+
ecommerce: "ecommerce";
|
|
595
|
+
}>>;
|
|
596
|
+
execution: z.ZodEnum<{
|
|
597
|
+
stripe: "stripe";
|
|
598
|
+
manual: "manual";
|
|
599
|
+
}>;
|
|
314
600
|
createdAt: z.ZodString;
|
|
315
601
|
updatedAt: z.ZodString;
|
|
316
602
|
method: z.ZodLiteral<"credit_card">;
|
|
317
603
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
604
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
605
|
+
id: z.ZodString;
|
|
606
|
+
configurationCompleted: z.ZodBoolean;
|
|
607
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
608
|
+
hub: "hub";
|
|
609
|
+
ecommerce: "ecommerce";
|
|
610
|
+
}>>;
|
|
611
|
+
execution: z.ZodEnum<{
|
|
612
|
+
stripe: "stripe";
|
|
613
|
+
manual: "manual";
|
|
614
|
+
}>;
|
|
615
|
+
createdAt: z.ZodString;
|
|
616
|
+
updatedAt: z.ZodString;
|
|
617
|
+
method: z.ZodLiteral<"ticket">;
|
|
618
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
318
619
|
}, z.core.$strip>], "method">;
|
|
319
620
|
type PaymentConfigDetails = z.infer<typeof paymentConfigDetailsSchema>;
|
|
320
621
|
declare const writablePaymentConfigSchemas: {
|
|
@@ -337,6 +638,9 @@ declare const writablePaymentConfigSchemas: {
|
|
|
337
638
|
readonly credit_card: z.ZodObject<{
|
|
338
639
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
339
640
|
}, z.core.$strip>;
|
|
641
|
+
readonly ticket: z.ZodObject<{
|
|
642
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
643
|
+
}, z.core.$strip>;
|
|
340
644
|
};
|
|
341
645
|
declare const paymentInfoStripeSchema: z.ZodObject<{
|
|
342
646
|
id: z.ZodString;
|
|
@@ -349,6 +653,13 @@ declare const paymentInfoStripeSchema: z.ZodObject<{
|
|
|
349
653
|
failed: "failed";
|
|
350
654
|
}>;
|
|
351
655
|
amount: z.ZodString;
|
|
656
|
+
management: z.ZodEnum<{
|
|
657
|
+
pos: "pos";
|
|
658
|
+
platform: "platform";
|
|
659
|
+
unknown: "unknown";
|
|
660
|
+
}>;
|
|
661
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
662
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
352
663
|
method: z.ZodLiteral<"stripe">;
|
|
353
664
|
sessionUrl: z.ZodNullable<z.ZodString>;
|
|
354
665
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
@@ -365,6 +676,13 @@ declare const paymentInfoBankTransferSchema: z.ZodObject<{
|
|
|
365
676
|
failed: "failed";
|
|
366
677
|
}>;
|
|
367
678
|
amount: z.ZodString;
|
|
679
|
+
management: z.ZodEnum<{
|
|
680
|
+
pos: "pos";
|
|
681
|
+
platform: "platform";
|
|
682
|
+
unknown: "unknown";
|
|
683
|
+
}>;
|
|
684
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
685
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
368
686
|
method: z.ZodLiteral<"bank_transfer">;
|
|
369
687
|
iban: z.ZodString;
|
|
370
688
|
bic: z.ZodString;
|
|
@@ -386,6 +704,13 @@ declare const paymentInfoCashSchema: z.ZodObject<{
|
|
|
386
704
|
failed: "failed";
|
|
387
705
|
}>;
|
|
388
706
|
amount: z.ZodString;
|
|
707
|
+
management: z.ZodEnum<{
|
|
708
|
+
pos: "pos";
|
|
709
|
+
platform: "platform";
|
|
710
|
+
unknown: "unknown";
|
|
711
|
+
}>;
|
|
712
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
713
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
389
714
|
method: z.ZodLiteral<"cash">;
|
|
390
715
|
}, z.core.$strip>;
|
|
391
716
|
type PaymentInfoCash = z.infer<typeof paymentInfoCashSchema>;
|
|
@@ -400,9 +725,58 @@ declare const paymentInfoCreditCardSchema: z.ZodObject<{
|
|
|
400
725
|
failed: "failed";
|
|
401
726
|
}>;
|
|
402
727
|
amount: z.ZodString;
|
|
728
|
+
management: z.ZodEnum<{
|
|
729
|
+
pos: "pos";
|
|
730
|
+
platform: "platform";
|
|
731
|
+
unknown: "unknown";
|
|
732
|
+
}>;
|
|
733
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
734
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
403
735
|
method: z.ZodLiteral<"credit_card">;
|
|
404
736
|
}, z.core.$strip>;
|
|
405
737
|
type PaymentInfoCreditCard = z.infer<typeof paymentInfoCreditCardSchema>;
|
|
738
|
+
declare const paymentInfoTicketSchema: z.ZodObject<{
|
|
739
|
+
id: z.ZodString;
|
|
740
|
+
status: z.ZodEnum<{
|
|
741
|
+
pending: "pending";
|
|
742
|
+
pending_verification: "pending_verification";
|
|
743
|
+
paid: "paid";
|
|
744
|
+
canceled: "canceled";
|
|
745
|
+
refunded: "refunded";
|
|
746
|
+
failed: "failed";
|
|
747
|
+
}>;
|
|
748
|
+
amount: z.ZodString;
|
|
749
|
+
management: z.ZodEnum<{
|
|
750
|
+
pos: "pos";
|
|
751
|
+
platform: "platform";
|
|
752
|
+
unknown: "unknown";
|
|
753
|
+
}>;
|
|
754
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
755
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
756
|
+
method: z.ZodLiteral<"ticket">;
|
|
757
|
+
}, z.core.$strip>;
|
|
758
|
+
type PaymentInfoTicket = z.infer<typeof paymentInfoTicketSchema>;
|
|
759
|
+
declare const paymentInfoPlatformSchema: z.ZodObject<{
|
|
760
|
+
id: z.ZodString;
|
|
761
|
+
status: z.ZodEnum<{
|
|
762
|
+
pending: "pending";
|
|
763
|
+
pending_verification: "pending_verification";
|
|
764
|
+
paid: "paid";
|
|
765
|
+
canceled: "canceled";
|
|
766
|
+
refunded: "refunded";
|
|
767
|
+
failed: "failed";
|
|
768
|
+
}>;
|
|
769
|
+
amount: z.ZodString;
|
|
770
|
+
management: z.ZodEnum<{
|
|
771
|
+
pos: "pos";
|
|
772
|
+
platform: "platform";
|
|
773
|
+
unknown: "unknown";
|
|
774
|
+
}>;
|
|
775
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
776
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
777
|
+
method: z.ZodLiteral<"platform">;
|
|
778
|
+
}, z.core.$strip>;
|
|
779
|
+
type PaymentInfoPlatform = z.infer<typeof paymentInfoPlatformSchema>;
|
|
406
780
|
declare const paymentInfoSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
407
781
|
id: z.ZodString;
|
|
408
782
|
status: z.ZodEnum<{
|
|
@@ -414,6 +788,13 @@ declare const paymentInfoSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
414
788
|
failed: "failed";
|
|
415
789
|
}>;
|
|
416
790
|
amount: z.ZodString;
|
|
791
|
+
management: z.ZodEnum<{
|
|
792
|
+
pos: "pos";
|
|
793
|
+
platform: "platform";
|
|
794
|
+
unknown: "unknown";
|
|
795
|
+
}>;
|
|
796
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
797
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
417
798
|
method: z.ZodLiteral<"stripe">;
|
|
418
799
|
sessionUrl: z.ZodNullable<z.ZodString>;
|
|
419
800
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
@@ -428,6 +809,13 @@ declare const paymentInfoSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
428
809
|
failed: "failed";
|
|
429
810
|
}>;
|
|
430
811
|
amount: z.ZodString;
|
|
812
|
+
management: z.ZodEnum<{
|
|
813
|
+
pos: "pos";
|
|
814
|
+
platform: "platform";
|
|
815
|
+
unknown: "unknown";
|
|
816
|
+
}>;
|
|
817
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
818
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
431
819
|
method: z.ZodLiteral<"bank_transfer">;
|
|
432
820
|
iban: z.ZodString;
|
|
433
821
|
bic: z.ZodString;
|
|
@@ -447,6 +835,13 @@ declare const paymentInfoSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
447
835
|
failed: "failed";
|
|
448
836
|
}>;
|
|
449
837
|
amount: z.ZodString;
|
|
838
|
+
management: z.ZodEnum<{
|
|
839
|
+
pos: "pos";
|
|
840
|
+
platform: "platform";
|
|
841
|
+
unknown: "unknown";
|
|
842
|
+
}>;
|
|
843
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
844
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
450
845
|
method: z.ZodLiteral<"cash">;
|
|
451
846
|
}, z.core.$strip>, z.ZodObject<{
|
|
452
847
|
id: z.ZodString;
|
|
@@ -459,7 +854,52 @@ declare const paymentInfoSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
459
854
|
failed: "failed";
|
|
460
855
|
}>;
|
|
461
856
|
amount: z.ZodString;
|
|
857
|
+
management: z.ZodEnum<{
|
|
858
|
+
pos: "pos";
|
|
859
|
+
platform: "platform";
|
|
860
|
+
unknown: "unknown";
|
|
861
|
+
}>;
|
|
862
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
863
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
462
864
|
method: z.ZodLiteral<"credit_card">;
|
|
865
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
866
|
+
id: z.ZodString;
|
|
867
|
+
status: z.ZodEnum<{
|
|
868
|
+
pending: "pending";
|
|
869
|
+
pending_verification: "pending_verification";
|
|
870
|
+
paid: "paid";
|
|
871
|
+
canceled: "canceled";
|
|
872
|
+
refunded: "refunded";
|
|
873
|
+
failed: "failed";
|
|
874
|
+
}>;
|
|
875
|
+
amount: z.ZodString;
|
|
876
|
+
management: z.ZodEnum<{
|
|
877
|
+
pos: "pos";
|
|
878
|
+
platform: "platform";
|
|
879
|
+
unknown: "unknown";
|
|
880
|
+
}>;
|
|
881
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
882
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
883
|
+
method: z.ZodLiteral<"ticket">;
|
|
884
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
885
|
+
id: z.ZodString;
|
|
886
|
+
status: z.ZodEnum<{
|
|
887
|
+
pending: "pending";
|
|
888
|
+
pending_verification: "pending_verification";
|
|
889
|
+
paid: "paid";
|
|
890
|
+
canceled: "canceled";
|
|
891
|
+
refunded: "refunded";
|
|
892
|
+
failed: "failed";
|
|
893
|
+
}>;
|
|
894
|
+
amount: z.ZodString;
|
|
895
|
+
management: z.ZodEnum<{
|
|
896
|
+
pos: "pos";
|
|
897
|
+
platform: "platform";
|
|
898
|
+
unknown: "unknown";
|
|
899
|
+
}>;
|
|
900
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
901
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
902
|
+
method: z.ZodLiteral<"platform">;
|
|
463
903
|
}, z.core.$strip>], "method">;
|
|
464
904
|
type PaymentInfo = z.infer<typeof paymentInfoSchema>;
|
|
465
905
|
declare const paymentQuerySchema: z.ZodObject<{
|
|
@@ -470,11 +910,15 @@ declare const paymentQuerySchema: z.ZodObject<{
|
|
|
470
910
|
bank_transfer: "bank_transfer";
|
|
471
911
|
cash: "cash";
|
|
472
912
|
credit_card: "credit_card";
|
|
913
|
+
ticket: "ticket";
|
|
914
|
+
platform: "platform";
|
|
473
915
|
}>, z.ZodArray<z.ZodEnum<{
|
|
474
916
|
stripe: "stripe";
|
|
475
917
|
bank_transfer: "bank_transfer";
|
|
476
918
|
cash: "cash";
|
|
477
919
|
credit_card: "credit_card";
|
|
920
|
+
ticket: "ticket";
|
|
921
|
+
platform: "platform";
|
|
478
922
|
}>>]>>;
|
|
479
923
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
480
924
|
pending: "pending";
|
|
@@ -521,6 +965,8 @@ declare const paymentConfigsQuerySchema: z.ZodObject<{
|
|
|
521
965
|
bank_transfer: "bank_transfer";
|
|
522
966
|
cash: "cash";
|
|
523
967
|
credit_card: "credit_card";
|
|
968
|
+
ticket: "ticket";
|
|
969
|
+
platform: "platform";
|
|
524
970
|
}>>;
|
|
525
971
|
configurationCompleted: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
526
972
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
@@ -556,6 +1002,14 @@ type CreatePaymentConfigBankTransferInput = z.input<typeof createPaymentConfigBa
|
|
|
556
1002
|
declare const createPaymentConfigBankTransferResponseSchema: z.ZodObject<{
|
|
557
1003
|
id: z.ZodString;
|
|
558
1004
|
configurationCompleted: z.ZodBoolean;
|
|
1005
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1006
|
+
hub: "hub";
|
|
1007
|
+
ecommerce: "ecommerce";
|
|
1008
|
+
}>>;
|
|
1009
|
+
execution: z.ZodEnum<{
|
|
1010
|
+
stripe: "stripe";
|
|
1011
|
+
manual: "manual";
|
|
1012
|
+
}>;
|
|
559
1013
|
createdAt: z.ZodString;
|
|
560
1014
|
updatedAt: z.ZodString;
|
|
561
1015
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -584,6 +1038,14 @@ declare class CreatePaymentConfigBankTransfer extends AbstractApiRequest<typeof
|
|
|
584
1038
|
readonly outputSchema: z.ZodObject<{
|
|
585
1039
|
id: z.ZodString;
|
|
586
1040
|
configurationCompleted: z.ZodBoolean;
|
|
1041
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1042
|
+
hub: "hub";
|
|
1043
|
+
ecommerce: "ecommerce";
|
|
1044
|
+
}>>;
|
|
1045
|
+
execution: z.ZodEnum<{
|
|
1046
|
+
stripe: "stripe";
|
|
1047
|
+
manual: "manual";
|
|
1048
|
+
}>;
|
|
587
1049
|
createdAt: z.ZodString;
|
|
588
1050
|
updatedAt: z.ZodString;
|
|
589
1051
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -621,6 +1083,14 @@ type GetPaymentConfigBankTransferDetailsInput = z.input<typeof getPaymentConfigB
|
|
|
621
1083
|
declare const getPaymentConfigBankTransferDetailsResponseSchema: z.ZodObject<{
|
|
622
1084
|
id: z.ZodString;
|
|
623
1085
|
configurationCompleted: z.ZodBoolean;
|
|
1086
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1087
|
+
hub: "hub";
|
|
1088
|
+
ecommerce: "ecommerce";
|
|
1089
|
+
}>>;
|
|
1090
|
+
execution: z.ZodEnum<{
|
|
1091
|
+
stripe: "stripe";
|
|
1092
|
+
manual: "manual";
|
|
1093
|
+
}>;
|
|
624
1094
|
createdAt: z.ZodString;
|
|
625
1095
|
updatedAt: z.ZodString;
|
|
626
1096
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -641,6 +1111,14 @@ declare class GetPaymentConfigBankTransferDetails extends AbstractApiRequest<typ
|
|
|
641
1111
|
readonly outputSchema: z.ZodObject<{
|
|
642
1112
|
id: z.ZodString;
|
|
643
1113
|
configurationCompleted: z.ZodBoolean;
|
|
1114
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1115
|
+
hub: "hub";
|
|
1116
|
+
ecommerce: "ecommerce";
|
|
1117
|
+
}>>;
|
|
1118
|
+
execution: z.ZodEnum<{
|
|
1119
|
+
stripe: "stripe";
|
|
1120
|
+
manual: "manual";
|
|
1121
|
+
}>;
|
|
644
1122
|
createdAt: z.ZodString;
|
|
645
1123
|
updatedAt: z.ZodString;
|
|
646
1124
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -666,6 +1144,14 @@ declare const getPaymentConfigBankTransferListResponseSchema: z.ZodObject<{
|
|
|
666
1144
|
data: z.ZodArray<z.ZodObject<{
|
|
667
1145
|
id: z.ZodString;
|
|
668
1146
|
configurationCompleted: z.ZodBoolean;
|
|
1147
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1148
|
+
hub: "hub";
|
|
1149
|
+
ecommerce: "ecommerce";
|
|
1150
|
+
}>>;
|
|
1151
|
+
execution: z.ZodEnum<{
|
|
1152
|
+
stripe: "stripe";
|
|
1153
|
+
manual: "manual";
|
|
1154
|
+
}>;
|
|
669
1155
|
createdAt: z.ZodString;
|
|
670
1156
|
updatedAt: z.ZodString;
|
|
671
1157
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -695,6 +1181,14 @@ declare class GetPaymentConfigBankTransferList extends AbstractApiRequest<typeof
|
|
|
695
1181
|
data: z.ZodArray<z.ZodObject<{
|
|
696
1182
|
id: z.ZodString;
|
|
697
1183
|
configurationCompleted: z.ZodBoolean;
|
|
1184
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1185
|
+
hub: "hub";
|
|
1186
|
+
ecommerce: "ecommerce";
|
|
1187
|
+
}>>;
|
|
1188
|
+
execution: z.ZodEnum<{
|
|
1189
|
+
stripe: "stripe";
|
|
1190
|
+
manual: "manual";
|
|
1191
|
+
}>;
|
|
698
1192
|
createdAt: z.ZodString;
|
|
699
1193
|
updatedAt: z.ZodString;
|
|
700
1194
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -720,6 +1214,8 @@ declare class GetPaymentConfigBankTransferList extends AbstractApiRequest<typeof
|
|
|
720
1214
|
bank_transfer: "bank_transfer";
|
|
721
1215
|
cash: "cash";
|
|
722
1216
|
credit_card: "credit_card";
|
|
1217
|
+
ticket: "ticket";
|
|
1218
|
+
platform: "platform";
|
|
723
1219
|
}>>;
|
|
724
1220
|
configurationCompleted: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
725
1221
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
@@ -744,6 +1240,14 @@ declare class GetPaymentConfigBankTransferList extends AbstractApiRequest<typeof
|
|
|
744
1240
|
readonly listItemSchema: z.ZodObject<{
|
|
745
1241
|
id: z.ZodString;
|
|
746
1242
|
configurationCompleted: z.ZodBoolean;
|
|
1243
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1244
|
+
hub: "hub";
|
|
1245
|
+
ecommerce: "ecommerce";
|
|
1246
|
+
}>>;
|
|
1247
|
+
execution: z.ZodEnum<{
|
|
1248
|
+
stripe: "stripe";
|
|
1249
|
+
manual: "manual";
|
|
1250
|
+
}>;
|
|
747
1251
|
createdAt: z.ZodString;
|
|
748
1252
|
updatedAt: z.ZodString;
|
|
749
1253
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -773,6 +1277,14 @@ type UpdatePaymentConfigBankTransferInput = z.input<typeof updatePaymentConfigBa
|
|
|
773
1277
|
declare const updatePaymentConfigBankTransferResponseSchema: z.ZodObject<{
|
|
774
1278
|
id: z.ZodString;
|
|
775
1279
|
configurationCompleted: z.ZodBoolean;
|
|
1280
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1281
|
+
hub: "hub";
|
|
1282
|
+
ecommerce: "ecommerce";
|
|
1283
|
+
}>>;
|
|
1284
|
+
execution: z.ZodEnum<{
|
|
1285
|
+
stripe: "stripe";
|
|
1286
|
+
manual: "manual";
|
|
1287
|
+
}>;
|
|
776
1288
|
createdAt: z.ZodString;
|
|
777
1289
|
updatedAt: z.ZodString;
|
|
778
1290
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -800,6 +1312,14 @@ declare class UpdatePaymentConfigBankTransfer extends AbstractApiRequest<typeof
|
|
|
800
1312
|
readonly outputSchema: z.ZodObject<{
|
|
801
1313
|
id: z.ZodString;
|
|
802
1314
|
configurationCompleted: z.ZodBoolean;
|
|
1315
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1316
|
+
hub: "hub";
|
|
1317
|
+
ecommerce: "ecommerce";
|
|
1318
|
+
}>>;
|
|
1319
|
+
execution: z.ZodEnum<{
|
|
1320
|
+
stripe: "stripe";
|
|
1321
|
+
manual: "manual";
|
|
1322
|
+
}>;
|
|
803
1323
|
createdAt: z.ZodString;
|
|
804
1324
|
updatedAt: z.ZodString;
|
|
805
1325
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -825,6 +1345,14 @@ type CreatePaymentConfigCashInput = z.input<typeof createPaymentConfigCashInputS
|
|
|
825
1345
|
declare const createPaymentConfigCashResponseSchema: z.ZodObject<{
|
|
826
1346
|
id: z.ZodString;
|
|
827
1347
|
configurationCompleted: z.ZodBoolean;
|
|
1348
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1349
|
+
hub: "hub";
|
|
1350
|
+
ecommerce: "ecommerce";
|
|
1351
|
+
}>>;
|
|
1352
|
+
execution: z.ZodEnum<{
|
|
1353
|
+
stripe: "stripe";
|
|
1354
|
+
manual: "manual";
|
|
1355
|
+
}>;
|
|
828
1356
|
createdAt: z.ZodString;
|
|
829
1357
|
updatedAt: z.ZodString;
|
|
830
1358
|
method: z.ZodLiteral<"cash">;
|
|
@@ -841,6 +1369,14 @@ declare class CreatePaymentConfigCash extends AbstractApiRequest<typeof createPa
|
|
|
841
1369
|
readonly outputSchema: z.ZodObject<{
|
|
842
1370
|
id: z.ZodString;
|
|
843
1371
|
configurationCompleted: z.ZodBoolean;
|
|
1372
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1373
|
+
hub: "hub";
|
|
1374
|
+
ecommerce: "ecommerce";
|
|
1375
|
+
}>>;
|
|
1376
|
+
execution: z.ZodEnum<{
|
|
1377
|
+
stripe: "stripe";
|
|
1378
|
+
manual: "manual";
|
|
1379
|
+
}>;
|
|
844
1380
|
createdAt: z.ZodString;
|
|
845
1381
|
updatedAt: z.ZodString;
|
|
846
1382
|
method: z.ZodLiteral<"cash">;
|
|
@@ -872,6 +1408,14 @@ type GetPaymentConfigCashDetailsInput = z.input<typeof getPaymentConfigCashDetai
|
|
|
872
1408
|
declare const getPaymentConfigCashDetailsResponseSchema: z.ZodObject<{
|
|
873
1409
|
id: z.ZodString;
|
|
874
1410
|
configurationCompleted: z.ZodBoolean;
|
|
1411
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1412
|
+
hub: "hub";
|
|
1413
|
+
ecommerce: "ecommerce";
|
|
1414
|
+
}>>;
|
|
1415
|
+
execution: z.ZodEnum<{
|
|
1416
|
+
stripe: "stripe";
|
|
1417
|
+
manual: "manual";
|
|
1418
|
+
}>;
|
|
875
1419
|
createdAt: z.ZodString;
|
|
876
1420
|
updatedAt: z.ZodString;
|
|
877
1421
|
method: z.ZodLiteral<"cash">;
|
|
@@ -886,6 +1430,14 @@ declare class GetPaymentConfigCashDetails extends AbstractApiRequest<typeof getP
|
|
|
886
1430
|
readonly outputSchema: z.ZodObject<{
|
|
887
1431
|
id: z.ZodString;
|
|
888
1432
|
configurationCompleted: z.ZodBoolean;
|
|
1433
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1434
|
+
hub: "hub";
|
|
1435
|
+
ecommerce: "ecommerce";
|
|
1436
|
+
}>>;
|
|
1437
|
+
execution: z.ZodEnum<{
|
|
1438
|
+
stripe: "stripe";
|
|
1439
|
+
manual: "manual";
|
|
1440
|
+
}>;
|
|
889
1441
|
createdAt: z.ZodString;
|
|
890
1442
|
updatedAt: z.ZodString;
|
|
891
1443
|
method: z.ZodLiteral<"cash">;
|
|
@@ -905,6 +1457,14 @@ declare const getPaymentConfigCashListResponseSchema: z.ZodObject<{
|
|
|
905
1457
|
data: z.ZodArray<z.ZodObject<{
|
|
906
1458
|
id: z.ZodString;
|
|
907
1459
|
configurationCompleted: z.ZodBoolean;
|
|
1460
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1461
|
+
hub: "hub";
|
|
1462
|
+
ecommerce: "ecommerce";
|
|
1463
|
+
}>>;
|
|
1464
|
+
execution: z.ZodEnum<{
|
|
1465
|
+
stripe: "stripe";
|
|
1466
|
+
manual: "manual";
|
|
1467
|
+
}>;
|
|
908
1468
|
createdAt: z.ZodString;
|
|
909
1469
|
updatedAt: z.ZodString;
|
|
910
1470
|
method: z.ZodLiteral<"cash">;
|
|
@@ -928,6 +1488,14 @@ declare class GetPaymentConfigCashList extends AbstractApiRequest<typeof getPaym
|
|
|
928
1488
|
data: z.ZodArray<z.ZodObject<{
|
|
929
1489
|
id: z.ZodString;
|
|
930
1490
|
configurationCompleted: z.ZodBoolean;
|
|
1491
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1492
|
+
hub: "hub";
|
|
1493
|
+
ecommerce: "ecommerce";
|
|
1494
|
+
}>>;
|
|
1495
|
+
execution: z.ZodEnum<{
|
|
1496
|
+
stripe: "stripe";
|
|
1497
|
+
manual: "manual";
|
|
1498
|
+
}>;
|
|
931
1499
|
createdAt: z.ZodString;
|
|
932
1500
|
updatedAt: z.ZodString;
|
|
933
1501
|
method: z.ZodLiteral<"cash">;
|
|
@@ -947,6 +1515,8 @@ declare class GetPaymentConfigCashList extends AbstractApiRequest<typeof getPaym
|
|
|
947
1515
|
bank_transfer: "bank_transfer";
|
|
948
1516
|
cash: "cash";
|
|
949
1517
|
credit_card: "credit_card";
|
|
1518
|
+
ticket: "ticket";
|
|
1519
|
+
platform: "platform";
|
|
950
1520
|
}>>;
|
|
951
1521
|
configurationCompleted: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
952
1522
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
@@ -971,6 +1541,14 @@ declare class GetPaymentConfigCashList extends AbstractApiRequest<typeof getPaym
|
|
|
971
1541
|
readonly listItemSchema: z.ZodObject<{
|
|
972
1542
|
id: z.ZodString;
|
|
973
1543
|
configurationCompleted: z.ZodBoolean;
|
|
1544
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1545
|
+
hub: "hub";
|
|
1546
|
+
ecommerce: "ecommerce";
|
|
1547
|
+
}>>;
|
|
1548
|
+
execution: z.ZodEnum<{
|
|
1549
|
+
stripe: "stripe";
|
|
1550
|
+
manual: "manual";
|
|
1551
|
+
}>;
|
|
974
1552
|
createdAt: z.ZodString;
|
|
975
1553
|
updatedAt: z.ZodString;
|
|
976
1554
|
method: z.ZodLiteral<"cash">;
|
|
@@ -989,6 +1567,14 @@ type CreatePaymentConfigCreditCardInput = z.input<typeof createPaymentConfigCred
|
|
|
989
1567
|
declare const createPaymentConfigCreditCardResponseSchema: z.ZodObject<{
|
|
990
1568
|
id: z.ZodString;
|
|
991
1569
|
configurationCompleted: z.ZodBoolean;
|
|
1570
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1571
|
+
hub: "hub";
|
|
1572
|
+
ecommerce: "ecommerce";
|
|
1573
|
+
}>>;
|
|
1574
|
+
execution: z.ZodEnum<{
|
|
1575
|
+
stripe: "stripe";
|
|
1576
|
+
manual: "manual";
|
|
1577
|
+
}>;
|
|
992
1578
|
createdAt: z.ZodString;
|
|
993
1579
|
updatedAt: z.ZodString;
|
|
994
1580
|
method: z.ZodLiteral<"credit_card">;
|
|
@@ -1005,6 +1591,14 @@ declare class CreatePaymentConfigCreditCard extends AbstractApiRequest<typeof cr
|
|
|
1005
1591
|
readonly outputSchema: z.ZodObject<{
|
|
1006
1592
|
id: z.ZodString;
|
|
1007
1593
|
configurationCompleted: z.ZodBoolean;
|
|
1594
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1595
|
+
hub: "hub";
|
|
1596
|
+
ecommerce: "ecommerce";
|
|
1597
|
+
}>>;
|
|
1598
|
+
execution: z.ZodEnum<{
|
|
1599
|
+
stripe: "stripe";
|
|
1600
|
+
manual: "manual";
|
|
1601
|
+
}>;
|
|
1008
1602
|
createdAt: z.ZodString;
|
|
1009
1603
|
updatedAt: z.ZodString;
|
|
1010
1604
|
method: z.ZodLiteral<"credit_card">;
|
|
@@ -1036,6 +1630,14 @@ type GetPaymentConfigCreditCardDetailsInput = z.input<typeof getPaymentConfigCre
|
|
|
1036
1630
|
declare const getPaymentConfigCreditCardDetailsResponseSchema: z.ZodObject<{
|
|
1037
1631
|
id: z.ZodString;
|
|
1038
1632
|
configurationCompleted: z.ZodBoolean;
|
|
1633
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1634
|
+
hub: "hub";
|
|
1635
|
+
ecommerce: "ecommerce";
|
|
1636
|
+
}>>;
|
|
1637
|
+
execution: z.ZodEnum<{
|
|
1638
|
+
stripe: "stripe";
|
|
1639
|
+
manual: "manual";
|
|
1640
|
+
}>;
|
|
1039
1641
|
createdAt: z.ZodString;
|
|
1040
1642
|
updatedAt: z.ZodString;
|
|
1041
1643
|
method: z.ZodLiteral<"credit_card">;
|
|
@@ -1050,6 +1652,14 @@ declare class GetPaymentConfigCreditCardDetails extends AbstractApiRequest<typeo
|
|
|
1050
1652
|
readonly outputSchema: z.ZodObject<{
|
|
1051
1653
|
id: z.ZodString;
|
|
1052
1654
|
configurationCompleted: z.ZodBoolean;
|
|
1655
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1656
|
+
hub: "hub";
|
|
1657
|
+
ecommerce: "ecommerce";
|
|
1658
|
+
}>>;
|
|
1659
|
+
execution: z.ZodEnum<{
|
|
1660
|
+
stripe: "stripe";
|
|
1661
|
+
manual: "manual";
|
|
1662
|
+
}>;
|
|
1053
1663
|
createdAt: z.ZodString;
|
|
1054
1664
|
updatedAt: z.ZodString;
|
|
1055
1665
|
method: z.ZodLiteral<"credit_card">;
|
|
@@ -1069,6 +1679,14 @@ declare const getPaymentConfigCreditCardListResponseSchema: z.ZodObject<{
|
|
|
1069
1679
|
data: z.ZodArray<z.ZodObject<{
|
|
1070
1680
|
id: z.ZodString;
|
|
1071
1681
|
configurationCompleted: z.ZodBoolean;
|
|
1682
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1683
|
+
hub: "hub";
|
|
1684
|
+
ecommerce: "ecommerce";
|
|
1685
|
+
}>>;
|
|
1686
|
+
execution: z.ZodEnum<{
|
|
1687
|
+
stripe: "stripe";
|
|
1688
|
+
manual: "manual";
|
|
1689
|
+
}>;
|
|
1072
1690
|
createdAt: z.ZodString;
|
|
1073
1691
|
updatedAt: z.ZodString;
|
|
1074
1692
|
method: z.ZodLiteral<"credit_card">;
|
|
@@ -1092,6 +1710,14 @@ declare class GetPaymentConfigCreditCardList extends AbstractApiRequest<typeof g
|
|
|
1092
1710
|
data: z.ZodArray<z.ZodObject<{
|
|
1093
1711
|
id: z.ZodString;
|
|
1094
1712
|
configurationCompleted: z.ZodBoolean;
|
|
1713
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1714
|
+
hub: "hub";
|
|
1715
|
+
ecommerce: "ecommerce";
|
|
1716
|
+
}>>;
|
|
1717
|
+
execution: z.ZodEnum<{
|
|
1718
|
+
stripe: "stripe";
|
|
1719
|
+
manual: "manual";
|
|
1720
|
+
}>;
|
|
1095
1721
|
createdAt: z.ZodString;
|
|
1096
1722
|
updatedAt: z.ZodString;
|
|
1097
1723
|
method: z.ZodLiteral<"credit_card">;
|
|
@@ -1111,6 +1737,8 @@ declare class GetPaymentConfigCreditCardList extends AbstractApiRequest<typeof g
|
|
|
1111
1737
|
bank_transfer: "bank_transfer";
|
|
1112
1738
|
cash: "cash";
|
|
1113
1739
|
credit_card: "credit_card";
|
|
1740
|
+
ticket: "ticket";
|
|
1741
|
+
platform: "platform";
|
|
1114
1742
|
}>>;
|
|
1115
1743
|
configurationCompleted: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1116
1744
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
@@ -1135,6 +1763,14 @@ declare class GetPaymentConfigCreditCardList extends AbstractApiRequest<typeof g
|
|
|
1135
1763
|
readonly listItemSchema: z.ZodObject<{
|
|
1136
1764
|
id: z.ZodString;
|
|
1137
1765
|
configurationCompleted: z.ZodBoolean;
|
|
1766
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1767
|
+
hub: "hub";
|
|
1768
|
+
ecommerce: "ecommerce";
|
|
1769
|
+
}>>;
|
|
1770
|
+
execution: z.ZodEnum<{
|
|
1771
|
+
stripe: "stripe";
|
|
1772
|
+
manual: "manual";
|
|
1773
|
+
}>;
|
|
1138
1774
|
createdAt: z.ZodString;
|
|
1139
1775
|
updatedAt: z.ZodString;
|
|
1140
1776
|
method: z.ZodLiteral<"credit_card">;
|
|
@@ -1167,6 +1803,8 @@ declare const disablePaymentConfigInputSchema: z.ZodObject<{
|
|
|
1167
1803
|
bank_transfer: "bank_transfer";
|
|
1168
1804
|
cash: "cash";
|
|
1169
1805
|
credit_card: "credit_card";
|
|
1806
|
+
ticket: "ticket";
|
|
1807
|
+
platform: "platform";
|
|
1170
1808
|
}>>;
|
|
1171
1809
|
}, z.core.$strip>;
|
|
1172
1810
|
type DisablePaymentConfigInput = z.input<typeof disablePaymentConfigInputSchema>;
|
|
@@ -1181,6 +1819,8 @@ declare class DisablePaymentConfig extends AbstractApiRequest<typeof disablePaym
|
|
|
1181
1819
|
bank_transfer: "bank_transfer";
|
|
1182
1820
|
cash: "cash";
|
|
1183
1821
|
credit_card: "credit_card";
|
|
1822
|
+
ticket: "ticket";
|
|
1823
|
+
platform: "platform";
|
|
1184
1824
|
}>>;
|
|
1185
1825
|
}, z.core.$strip>;
|
|
1186
1826
|
readonly outputSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
|
|
@@ -1196,8 +1836,16 @@ type GetPaymentConfigDetailsInput = z.input<typeof getPaymentConfigDetailsInputS
|
|
|
1196
1836
|
declare const getPaymentConfigDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1197
1837
|
id: z.ZodString;
|
|
1198
1838
|
configurationCompleted: z.ZodBoolean;
|
|
1199
|
-
|
|
1200
|
-
|
|
1839
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1840
|
+
hub: "hub";
|
|
1841
|
+
ecommerce: "ecommerce";
|
|
1842
|
+
}>>;
|
|
1843
|
+
execution: z.ZodEnum<{
|
|
1844
|
+
stripe: "stripe";
|
|
1845
|
+
manual: "manual";
|
|
1846
|
+
}>;
|
|
1847
|
+
createdAt: z.ZodString;
|
|
1848
|
+
updatedAt: z.ZodString;
|
|
1201
1849
|
method: z.ZodLiteral<"bank_transfer">;
|
|
1202
1850
|
iban: z.ZodString;
|
|
1203
1851
|
bic: z.ZodString;
|
|
@@ -1209,6 +1857,14 @@ declare const getPaymentConfigDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
1209
1857
|
}, z.core.$strip>, z.ZodObject<{
|
|
1210
1858
|
id: z.ZodString;
|
|
1211
1859
|
configurationCompleted: z.ZodBoolean;
|
|
1860
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1861
|
+
hub: "hub";
|
|
1862
|
+
ecommerce: "ecommerce";
|
|
1863
|
+
}>>;
|
|
1864
|
+
execution: z.ZodEnum<{
|
|
1865
|
+
stripe: "stripe";
|
|
1866
|
+
manual: "manual";
|
|
1867
|
+
}>;
|
|
1212
1868
|
createdAt: z.ZodString;
|
|
1213
1869
|
updatedAt: z.ZodString;
|
|
1214
1870
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -1219,6 +1875,14 @@ declare const getPaymentConfigDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
1219
1875
|
}, z.core.$strip>, z.ZodObject<{
|
|
1220
1876
|
id: z.ZodString;
|
|
1221
1877
|
configurationCompleted: z.ZodBoolean;
|
|
1878
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1879
|
+
hub: "hub";
|
|
1880
|
+
ecommerce: "ecommerce";
|
|
1881
|
+
}>>;
|
|
1882
|
+
execution: z.ZodEnum<{
|
|
1883
|
+
stripe: "stripe";
|
|
1884
|
+
manual: "manual";
|
|
1885
|
+
}>;
|
|
1222
1886
|
createdAt: z.ZodString;
|
|
1223
1887
|
updatedAt: z.ZodString;
|
|
1224
1888
|
method: z.ZodLiteral<"cash">;
|
|
@@ -1226,10 +1890,33 @@ declare const getPaymentConfigDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
1226
1890
|
}, z.core.$strip>, z.ZodObject<{
|
|
1227
1891
|
id: z.ZodString;
|
|
1228
1892
|
configurationCompleted: z.ZodBoolean;
|
|
1893
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1894
|
+
hub: "hub";
|
|
1895
|
+
ecommerce: "ecommerce";
|
|
1896
|
+
}>>;
|
|
1897
|
+
execution: z.ZodEnum<{
|
|
1898
|
+
stripe: "stripe";
|
|
1899
|
+
manual: "manual";
|
|
1900
|
+
}>;
|
|
1229
1901
|
createdAt: z.ZodString;
|
|
1230
1902
|
updatedAt: z.ZodString;
|
|
1231
1903
|
method: z.ZodLiteral<"credit_card">;
|
|
1232
1904
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1905
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1906
|
+
id: z.ZodString;
|
|
1907
|
+
configurationCompleted: z.ZodBoolean;
|
|
1908
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1909
|
+
hub: "hub";
|
|
1910
|
+
ecommerce: "ecommerce";
|
|
1911
|
+
}>>;
|
|
1912
|
+
execution: z.ZodEnum<{
|
|
1913
|
+
stripe: "stripe";
|
|
1914
|
+
manual: "manual";
|
|
1915
|
+
}>;
|
|
1916
|
+
createdAt: z.ZodString;
|
|
1917
|
+
updatedAt: z.ZodString;
|
|
1918
|
+
method: z.ZodLiteral<"ticket">;
|
|
1919
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1233
1920
|
}, z.core.$strip>], "method">;
|
|
1234
1921
|
type GetPaymentConfigDetailsResponse = z.output<typeof getPaymentConfigDetailsResponseSchema>;
|
|
1235
1922
|
declare class GetPaymentConfigDetails extends AbstractApiRequest<typeof getPaymentConfigDetailsInputSchema, typeof getPaymentConfigDetailsResponseSchema> {
|
|
@@ -1240,6 +1927,14 @@ declare class GetPaymentConfigDetails extends AbstractApiRequest<typeof getPayme
|
|
|
1240
1927
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1241
1928
|
id: z.ZodString;
|
|
1242
1929
|
configurationCompleted: z.ZodBoolean;
|
|
1930
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1931
|
+
hub: "hub";
|
|
1932
|
+
ecommerce: "ecommerce";
|
|
1933
|
+
}>>;
|
|
1934
|
+
execution: z.ZodEnum<{
|
|
1935
|
+
stripe: "stripe";
|
|
1936
|
+
manual: "manual";
|
|
1937
|
+
}>;
|
|
1243
1938
|
createdAt: z.ZodString;
|
|
1244
1939
|
updatedAt: z.ZodString;
|
|
1245
1940
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -1253,6 +1948,14 @@ declare class GetPaymentConfigDetails extends AbstractApiRequest<typeof getPayme
|
|
|
1253
1948
|
}, z.core.$strip>, z.ZodObject<{
|
|
1254
1949
|
id: z.ZodString;
|
|
1255
1950
|
configurationCompleted: z.ZodBoolean;
|
|
1951
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1952
|
+
hub: "hub";
|
|
1953
|
+
ecommerce: "ecommerce";
|
|
1954
|
+
}>>;
|
|
1955
|
+
execution: z.ZodEnum<{
|
|
1956
|
+
stripe: "stripe";
|
|
1957
|
+
manual: "manual";
|
|
1958
|
+
}>;
|
|
1256
1959
|
createdAt: z.ZodString;
|
|
1257
1960
|
updatedAt: z.ZodString;
|
|
1258
1961
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -1263,6 +1966,14 @@ declare class GetPaymentConfigDetails extends AbstractApiRequest<typeof getPayme
|
|
|
1263
1966
|
}, z.core.$strip>, z.ZodObject<{
|
|
1264
1967
|
id: z.ZodString;
|
|
1265
1968
|
configurationCompleted: z.ZodBoolean;
|
|
1969
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1970
|
+
hub: "hub";
|
|
1971
|
+
ecommerce: "ecommerce";
|
|
1972
|
+
}>>;
|
|
1973
|
+
execution: z.ZodEnum<{
|
|
1974
|
+
stripe: "stripe";
|
|
1975
|
+
manual: "manual";
|
|
1976
|
+
}>;
|
|
1266
1977
|
createdAt: z.ZodString;
|
|
1267
1978
|
updatedAt: z.ZodString;
|
|
1268
1979
|
method: z.ZodLiteral<"cash">;
|
|
@@ -1270,10 +1981,33 @@ declare class GetPaymentConfigDetails extends AbstractApiRequest<typeof getPayme
|
|
|
1270
1981
|
}, z.core.$strip>, z.ZodObject<{
|
|
1271
1982
|
id: z.ZodString;
|
|
1272
1983
|
configurationCompleted: z.ZodBoolean;
|
|
1984
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
1985
|
+
hub: "hub";
|
|
1986
|
+
ecommerce: "ecommerce";
|
|
1987
|
+
}>>;
|
|
1988
|
+
execution: z.ZodEnum<{
|
|
1989
|
+
stripe: "stripe";
|
|
1990
|
+
manual: "manual";
|
|
1991
|
+
}>;
|
|
1273
1992
|
createdAt: z.ZodString;
|
|
1274
1993
|
updatedAt: z.ZodString;
|
|
1275
1994
|
method: z.ZodLiteral<"credit_card">;
|
|
1276
1995
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1996
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1997
|
+
id: z.ZodString;
|
|
1998
|
+
configurationCompleted: z.ZodBoolean;
|
|
1999
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2000
|
+
hub: "hub";
|
|
2001
|
+
ecommerce: "ecommerce";
|
|
2002
|
+
}>>;
|
|
2003
|
+
execution: z.ZodEnum<{
|
|
2004
|
+
stripe: "stripe";
|
|
2005
|
+
manual: "manual";
|
|
2006
|
+
}>;
|
|
2007
|
+
createdAt: z.ZodString;
|
|
2008
|
+
updatedAt: z.ZodString;
|
|
2009
|
+
method: z.ZodLiteral<"ticket">;
|
|
2010
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1277
2011
|
}, z.core.$strip>], "method">;
|
|
1278
2012
|
readonly querySchema: undefined;
|
|
1279
2013
|
readonly headersSchema: undefined;
|
|
@@ -1289,6 +2023,14 @@ declare const getPaymentConfigsResponseSchema: z.ZodObject<{
|
|
|
1289
2023
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1290
2024
|
id: z.ZodString;
|
|
1291
2025
|
configurationCompleted: z.ZodBoolean;
|
|
2026
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2027
|
+
hub: "hub";
|
|
2028
|
+
ecommerce: "ecommerce";
|
|
2029
|
+
}>>;
|
|
2030
|
+
execution: z.ZodEnum<{
|
|
2031
|
+
stripe: "stripe";
|
|
2032
|
+
manual: "manual";
|
|
2033
|
+
}>;
|
|
1292
2034
|
createdAt: z.ZodString;
|
|
1293
2035
|
updatedAt: z.ZodString;
|
|
1294
2036
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -1301,6 +2043,14 @@ declare const getPaymentConfigsResponseSchema: z.ZodObject<{
|
|
|
1301
2043
|
}, z.core.$strip>, z.ZodObject<{
|
|
1302
2044
|
id: z.ZodString;
|
|
1303
2045
|
configurationCompleted: z.ZodBoolean;
|
|
2046
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2047
|
+
hub: "hub";
|
|
2048
|
+
ecommerce: "ecommerce";
|
|
2049
|
+
}>>;
|
|
2050
|
+
execution: z.ZodEnum<{
|
|
2051
|
+
stripe: "stripe";
|
|
2052
|
+
manual: "manual";
|
|
2053
|
+
}>;
|
|
1304
2054
|
createdAt: z.ZodString;
|
|
1305
2055
|
updatedAt: z.ZodString;
|
|
1306
2056
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -1310,15 +2060,45 @@ declare const getPaymentConfigsResponseSchema: z.ZodObject<{
|
|
|
1310
2060
|
}, z.core.$strip>, z.ZodObject<{
|
|
1311
2061
|
id: z.ZodString;
|
|
1312
2062
|
configurationCompleted: z.ZodBoolean;
|
|
2063
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2064
|
+
hub: "hub";
|
|
2065
|
+
ecommerce: "ecommerce";
|
|
2066
|
+
}>>;
|
|
2067
|
+
execution: z.ZodEnum<{
|
|
2068
|
+
stripe: "stripe";
|
|
2069
|
+
manual: "manual";
|
|
2070
|
+
}>;
|
|
1313
2071
|
createdAt: z.ZodString;
|
|
1314
2072
|
updatedAt: z.ZodString;
|
|
1315
2073
|
method: z.ZodLiteral<"cash">;
|
|
1316
2074
|
}, z.core.$strip>, z.ZodObject<{
|
|
1317
2075
|
id: z.ZodString;
|
|
1318
2076
|
configurationCompleted: z.ZodBoolean;
|
|
2077
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2078
|
+
hub: "hub";
|
|
2079
|
+
ecommerce: "ecommerce";
|
|
2080
|
+
}>>;
|
|
2081
|
+
execution: z.ZodEnum<{
|
|
2082
|
+
stripe: "stripe";
|
|
2083
|
+
manual: "manual";
|
|
2084
|
+
}>;
|
|
1319
2085
|
createdAt: z.ZodString;
|
|
1320
2086
|
updatedAt: z.ZodString;
|
|
1321
2087
|
method: z.ZodLiteral<"credit_card">;
|
|
2088
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2089
|
+
id: z.ZodString;
|
|
2090
|
+
configurationCompleted: z.ZodBoolean;
|
|
2091
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2092
|
+
hub: "hub";
|
|
2093
|
+
ecommerce: "ecommerce";
|
|
2094
|
+
}>>;
|
|
2095
|
+
execution: z.ZodEnum<{
|
|
2096
|
+
stripe: "stripe";
|
|
2097
|
+
manual: "manual";
|
|
2098
|
+
}>;
|
|
2099
|
+
createdAt: z.ZodString;
|
|
2100
|
+
updatedAt: z.ZodString;
|
|
2101
|
+
method: z.ZodLiteral<"ticket">;
|
|
1322
2102
|
}, z.core.$strip>], "method">>;
|
|
1323
2103
|
pagination: z.ZodObject<{
|
|
1324
2104
|
from: z.ZodCoercedNumber<unknown>;
|
|
@@ -1339,6 +2119,14 @@ declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConf
|
|
|
1339
2119
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1340
2120
|
id: z.ZodString;
|
|
1341
2121
|
configurationCompleted: z.ZodBoolean;
|
|
2122
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2123
|
+
hub: "hub";
|
|
2124
|
+
ecommerce: "ecommerce";
|
|
2125
|
+
}>>;
|
|
2126
|
+
execution: z.ZodEnum<{
|
|
2127
|
+
stripe: "stripe";
|
|
2128
|
+
manual: "manual";
|
|
2129
|
+
}>;
|
|
1342
2130
|
createdAt: z.ZodString;
|
|
1343
2131
|
updatedAt: z.ZodString;
|
|
1344
2132
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -1351,6 +2139,14 @@ declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConf
|
|
|
1351
2139
|
}, z.core.$strip>, z.ZodObject<{
|
|
1352
2140
|
id: z.ZodString;
|
|
1353
2141
|
configurationCompleted: z.ZodBoolean;
|
|
2142
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2143
|
+
hub: "hub";
|
|
2144
|
+
ecommerce: "ecommerce";
|
|
2145
|
+
}>>;
|
|
2146
|
+
execution: z.ZodEnum<{
|
|
2147
|
+
stripe: "stripe";
|
|
2148
|
+
manual: "manual";
|
|
2149
|
+
}>;
|
|
1354
2150
|
createdAt: z.ZodString;
|
|
1355
2151
|
updatedAt: z.ZodString;
|
|
1356
2152
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -1360,15 +2156,45 @@ declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConf
|
|
|
1360
2156
|
}, z.core.$strip>, z.ZodObject<{
|
|
1361
2157
|
id: z.ZodString;
|
|
1362
2158
|
configurationCompleted: z.ZodBoolean;
|
|
2159
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2160
|
+
hub: "hub";
|
|
2161
|
+
ecommerce: "ecommerce";
|
|
2162
|
+
}>>;
|
|
2163
|
+
execution: z.ZodEnum<{
|
|
2164
|
+
stripe: "stripe";
|
|
2165
|
+
manual: "manual";
|
|
2166
|
+
}>;
|
|
1363
2167
|
createdAt: z.ZodString;
|
|
1364
2168
|
updatedAt: z.ZodString;
|
|
1365
2169
|
method: z.ZodLiteral<"cash">;
|
|
1366
2170
|
}, z.core.$strip>, z.ZodObject<{
|
|
1367
2171
|
id: z.ZodString;
|
|
1368
2172
|
configurationCompleted: z.ZodBoolean;
|
|
2173
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2174
|
+
hub: "hub";
|
|
2175
|
+
ecommerce: "ecommerce";
|
|
2176
|
+
}>>;
|
|
2177
|
+
execution: z.ZodEnum<{
|
|
2178
|
+
stripe: "stripe";
|
|
2179
|
+
manual: "manual";
|
|
2180
|
+
}>;
|
|
1369
2181
|
createdAt: z.ZodString;
|
|
1370
2182
|
updatedAt: z.ZodString;
|
|
1371
2183
|
method: z.ZodLiteral<"credit_card">;
|
|
2184
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2185
|
+
id: z.ZodString;
|
|
2186
|
+
configurationCompleted: z.ZodBoolean;
|
|
2187
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2188
|
+
hub: "hub";
|
|
2189
|
+
ecommerce: "ecommerce";
|
|
2190
|
+
}>>;
|
|
2191
|
+
execution: z.ZodEnum<{
|
|
2192
|
+
stripe: "stripe";
|
|
2193
|
+
manual: "manual";
|
|
2194
|
+
}>;
|
|
2195
|
+
createdAt: z.ZodString;
|
|
2196
|
+
updatedAt: z.ZodString;
|
|
2197
|
+
method: z.ZodLiteral<"ticket">;
|
|
1372
2198
|
}, z.core.$strip>], "method">>;
|
|
1373
2199
|
pagination: z.ZodObject<{
|
|
1374
2200
|
from: z.ZodCoercedNumber<unknown>;
|
|
@@ -1385,6 +2211,8 @@ declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConf
|
|
|
1385
2211
|
bank_transfer: "bank_transfer";
|
|
1386
2212
|
cash: "cash";
|
|
1387
2213
|
credit_card: "credit_card";
|
|
2214
|
+
ticket: "ticket";
|
|
2215
|
+
platform: "platform";
|
|
1388
2216
|
}>>;
|
|
1389
2217
|
configurationCompleted: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1390
2218
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
@@ -1409,6 +2237,14 @@ declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConf
|
|
|
1409
2237
|
readonly listItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1410
2238
|
id: z.ZodString;
|
|
1411
2239
|
configurationCompleted: z.ZodBoolean;
|
|
2240
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2241
|
+
hub: "hub";
|
|
2242
|
+
ecommerce: "ecommerce";
|
|
2243
|
+
}>>;
|
|
2244
|
+
execution: z.ZodEnum<{
|
|
2245
|
+
stripe: "stripe";
|
|
2246
|
+
manual: "manual";
|
|
2247
|
+
}>;
|
|
1412
2248
|
createdAt: z.ZodString;
|
|
1413
2249
|
updatedAt: z.ZodString;
|
|
1414
2250
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -1421,6 +2257,14 @@ declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConf
|
|
|
1421
2257
|
}, z.core.$strip>, z.ZodObject<{
|
|
1422
2258
|
id: z.ZodString;
|
|
1423
2259
|
configurationCompleted: z.ZodBoolean;
|
|
2260
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2261
|
+
hub: "hub";
|
|
2262
|
+
ecommerce: "ecommerce";
|
|
2263
|
+
}>>;
|
|
2264
|
+
execution: z.ZodEnum<{
|
|
2265
|
+
stripe: "stripe";
|
|
2266
|
+
manual: "manual";
|
|
2267
|
+
}>;
|
|
1424
2268
|
createdAt: z.ZodString;
|
|
1425
2269
|
updatedAt: z.ZodString;
|
|
1426
2270
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -1430,15 +2274,45 @@ declare class GetPaymentConfigs extends AbstractApiRequest<typeof getPaymentConf
|
|
|
1430
2274
|
}, z.core.$strip>, z.ZodObject<{
|
|
1431
2275
|
id: z.ZodString;
|
|
1432
2276
|
configurationCompleted: z.ZodBoolean;
|
|
2277
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2278
|
+
hub: "hub";
|
|
2279
|
+
ecommerce: "ecommerce";
|
|
2280
|
+
}>>;
|
|
2281
|
+
execution: z.ZodEnum<{
|
|
2282
|
+
stripe: "stripe";
|
|
2283
|
+
manual: "manual";
|
|
2284
|
+
}>;
|
|
1433
2285
|
createdAt: z.ZodString;
|
|
1434
2286
|
updatedAt: z.ZodString;
|
|
1435
2287
|
method: z.ZodLiteral<"cash">;
|
|
1436
2288
|
}, z.core.$strip>, z.ZodObject<{
|
|
1437
2289
|
id: z.ZodString;
|
|
1438
2290
|
configurationCompleted: z.ZodBoolean;
|
|
2291
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2292
|
+
hub: "hub";
|
|
2293
|
+
ecommerce: "ecommerce";
|
|
2294
|
+
}>>;
|
|
2295
|
+
execution: z.ZodEnum<{
|
|
2296
|
+
stripe: "stripe";
|
|
2297
|
+
manual: "manual";
|
|
2298
|
+
}>;
|
|
1439
2299
|
createdAt: z.ZodString;
|
|
1440
2300
|
updatedAt: z.ZodString;
|
|
1441
2301
|
method: z.ZodLiteral<"credit_card">;
|
|
2302
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2303
|
+
id: z.ZodString;
|
|
2304
|
+
configurationCompleted: z.ZodBoolean;
|
|
2305
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2306
|
+
hub: "hub";
|
|
2307
|
+
ecommerce: "ecommerce";
|
|
2308
|
+
}>>;
|
|
2309
|
+
execution: z.ZodEnum<{
|
|
2310
|
+
stripe: "stripe";
|
|
2311
|
+
manual: "manual";
|
|
2312
|
+
}>;
|
|
2313
|
+
createdAt: z.ZodString;
|
|
2314
|
+
updatedAt: z.ZodString;
|
|
2315
|
+
method: z.ZodLiteral<"ticket">;
|
|
1442
2316
|
}, z.core.$strip>], "method">;
|
|
1443
2317
|
readonly paginationDefaultEnabled = true;
|
|
1444
2318
|
constructor(options?: {
|
|
@@ -1453,6 +2327,14 @@ type GetPaymentConfigsFromPointOfSaleInput = z.input<typeof getPaymentConfigsFro
|
|
|
1453
2327
|
declare const getPaymentConfigsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1454
2328
|
id: z.ZodString;
|
|
1455
2329
|
configurationCompleted: z.ZodBoolean;
|
|
2330
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2331
|
+
hub: "hub";
|
|
2332
|
+
ecommerce: "ecommerce";
|
|
2333
|
+
}>>;
|
|
2334
|
+
execution: z.ZodEnum<{
|
|
2335
|
+
stripe: "stripe";
|
|
2336
|
+
manual: "manual";
|
|
2337
|
+
}>;
|
|
1456
2338
|
createdAt: z.ZodString;
|
|
1457
2339
|
updatedAt: z.ZodString;
|
|
1458
2340
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -1465,6 +2347,14 @@ declare const getPaymentConfigsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDi
|
|
|
1465
2347
|
}, z.core.$strip>, z.ZodObject<{
|
|
1466
2348
|
id: z.ZodString;
|
|
1467
2349
|
configurationCompleted: z.ZodBoolean;
|
|
2350
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2351
|
+
hub: "hub";
|
|
2352
|
+
ecommerce: "ecommerce";
|
|
2353
|
+
}>>;
|
|
2354
|
+
execution: z.ZodEnum<{
|
|
2355
|
+
stripe: "stripe";
|
|
2356
|
+
manual: "manual";
|
|
2357
|
+
}>;
|
|
1468
2358
|
createdAt: z.ZodString;
|
|
1469
2359
|
updatedAt: z.ZodString;
|
|
1470
2360
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -1474,15 +2364,45 @@ declare const getPaymentConfigsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodDi
|
|
|
1474
2364
|
}, z.core.$strip>, z.ZodObject<{
|
|
1475
2365
|
id: z.ZodString;
|
|
1476
2366
|
configurationCompleted: z.ZodBoolean;
|
|
2367
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2368
|
+
hub: "hub";
|
|
2369
|
+
ecommerce: "ecommerce";
|
|
2370
|
+
}>>;
|
|
2371
|
+
execution: z.ZodEnum<{
|
|
2372
|
+
stripe: "stripe";
|
|
2373
|
+
manual: "manual";
|
|
2374
|
+
}>;
|
|
1477
2375
|
createdAt: z.ZodString;
|
|
1478
2376
|
updatedAt: z.ZodString;
|
|
1479
2377
|
method: z.ZodLiteral<"cash">;
|
|
1480
2378
|
}, z.core.$strip>, z.ZodObject<{
|
|
1481
2379
|
id: z.ZodString;
|
|
1482
2380
|
configurationCompleted: z.ZodBoolean;
|
|
2381
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2382
|
+
hub: "hub";
|
|
2383
|
+
ecommerce: "ecommerce";
|
|
2384
|
+
}>>;
|
|
2385
|
+
execution: z.ZodEnum<{
|
|
2386
|
+
stripe: "stripe";
|
|
2387
|
+
manual: "manual";
|
|
2388
|
+
}>;
|
|
1483
2389
|
createdAt: z.ZodString;
|
|
1484
2390
|
updatedAt: z.ZodString;
|
|
1485
2391
|
method: z.ZodLiteral<"credit_card">;
|
|
2392
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2393
|
+
id: z.ZodString;
|
|
2394
|
+
configurationCompleted: z.ZodBoolean;
|
|
2395
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2396
|
+
hub: "hub";
|
|
2397
|
+
ecommerce: "ecommerce";
|
|
2398
|
+
}>>;
|
|
2399
|
+
execution: z.ZodEnum<{
|
|
2400
|
+
stripe: "stripe";
|
|
2401
|
+
manual: "manual";
|
|
2402
|
+
}>;
|
|
2403
|
+
createdAt: z.ZodString;
|
|
2404
|
+
updatedAt: z.ZodString;
|
|
2405
|
+
method: z.ZodLiteral<"ticket">;
|
|
1486
2406
|
}, z.core.$strip>], "method">>;
|
|
1487
2407
|
type GetPaymentConfigsFromPointOfSaleResponse = z.infer<typeof getPaymentConfigsFromPointOfSaleResponseSchema>;
|
|
1488
2408
|
declare class GetPaymentConfigsFromPointOfSale extends AbstractApiRequest<typeof getPaymentConfigsFromPointOfSaleInputSchema, typeof getPaymentConfigsFromPointOfSaleResponseSchema, GetPaymentConfigsFromPointOfSaleQueryParams> {
|
|
@@ -1493,6 +2413,14 @@ declare class GetPaymentConfigsFromPointOfSale extends AbstractApiRequest<typeof
|
|
|
1493
2413
|
readonly outputSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1494
2414
|
id: z.ZodString;
|
|
1495
2415
|
configurationCompleted: z.ZodBoolean;
|
|
2416
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2417
|
+
hub: "hub";
|
|
2418
|
+
ecommerce: "ecommerce";
|
|
2419
|
+
}>>;
|
|
2420
|
+
execution: z.ZodEnum<{
|
|
2421
|
+
stripe: "stripe";
|
|
2422
|
+
manual: "manual";
|
|
2423
|
+
}>;
|
|
1496
2424
|
createdAt: z.ZodString;
|
|
1497
2425
|
updatedAt: z.ZodString;
|
|
1498
2426
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -1505,6 +2433,14 @@ declare class GetPaymentConfigsFromPointOfSale extends AbstractApiRequest<typeof
|
|
|
1505
2433
|
}, z.core.$strip>, z.ZodObject<{
|
|
1506
2434
|
id: z.ZodString;
|
|
1507
2435
|
configurationCompleted: z.ZodBoolean;
|
|
2436
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2437
|
+
hub: "hub";
|
|
2438
|
+
ecommerce: "ecommerce";
|
|
2439
|
+
}>>;
|
|
2440
|
+
execution: z.ZodEnum<{
|
|
2441
|
+
stripe: "stripe";
|
|
2442
|
+
manual: "manual";
|
|
2443
|
+
}>;
|
|
1508
2444
|
createdAt: z.ZodString;
|
|
1509
2445
|
updatedAt: z.ZodString;
|
|
1510
2446
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -1514,15 +2450,45 @@ declare class GetPaymentConfigsFromPointOfSale extends AbstractApiRequest<typeof
|
|
|
1514
2450
|
}, z.core.$strip>, z.ZodObject<{
|
|
1515
2451
|
id: z.ZodString;
|
|
1516
2452
|
configurationCompleted: z.ZodBoolean;
|
|
2453
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2454
|
+
hub: "hub";
|
|
2455
|
+
ecommerce: "ecommerce";
|
|
2456
|
+
}>>;
|
|
2457
|
+
execution: z.ZodEnum<{
|
|
2458
|
+
stripe: "stripe";
|
|
2459
|
+
manual: "manual";
|
|
2460
|
+
}>;
|
|
1517
2461
|
createdAt: z.ZodString;
|
|
1518
2462
|
updatedAt: z.ZodString;
|
|
1519
2463
|
method: z.ZodLiteral<"cash">;
|
|
1520
2464
|
}, z.core.$strip>, z.ZodObject<{
|
|
1521
2465
|
id: z.ZodString;
|
|
1522
2466
|
configurationCompleted: z.ZodBoolean;
|
|
2467
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2468
|
+
hub: "hub";
|
|
2469
|
+
ecommerce: "ecommerce";
|
|
2470
|
+
}>>;
|
|
2471
|
+
execution: z.ZodEnum<{
|
|
2472
|
+
stripe: "stripe";
|
|
2473
|
+
manual: "manual";
|
|
2474
|
+
}>;
|
|
1523
2475
|
createdAt: z.ZodString;
|
|
1524
2476
|
updatedAt: z.ZodString;
|
|
1525
2477
|
method: z.ZodLiteral<"credit_card">;
|
|
2478
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2479
|
+
id: z.ZodString;
|
|
2480
|
+
configurationCompleted: z.ZodBoolean;
|
|
2481
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2482
|
+
hub: "hub";
|
|
2483
|
+
ecommerce: "ecommerce";
|
|
2484
|
+
}>>;
|
|
2485
|
+
execution: z.ZodEnum<{
|
|
2486
|
+
stripe: "stripe";
|
|
2487
|
+
manual: "manual";
|
|
2488
|
+
}>;
|
|
2489
|
+
createdAt: z.ZodString;
|
|
2490
|
+
updatedAt: z.ZodString;
|
|
2491
|
+
method: z.ZodLiteral<"ticket">;
|
|
1526
2492
|
}, z.core.$strip>], "method">>;
|
|
1527
2493
|
readonly querySchema: z.ZodObject<{
|
|
1528
2494
|
method: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1530,6 +2496,8 @@ declare class GetPaymentConfigsFromPointOfSale extends AbstractApiRequest<typeof
|
|
|
1530
2496
|
bank_transfer: "bank_transfer";
|
|
1531
2497
|
cash: "cash";
|
|
1532
2498
|
credit_card: "credit_card";
|
|
2499
|
+
ticket: "ticket";
|
|
2500
|
+
platform: "platform";
|
|
1533
2501
|
}>>;
|
|
1534
2502
|
configurationCompleted: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1535
2503
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
@@ -1554,6 +2522,14 @@ declare class GetPaymentConfigsFromPointOfSale extends AbstractApiRequest<typeof
|
|
|
1554
2522
|
readonly listItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1555
2523
|
id: z.ZodString;
|
|
1556
2524
|
configurationCompleted: z.ZodBoolean;
|
|
2525
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2526
|
+
hub: "hub";
|
|
2527
|
+
ecommerce: "ecommerce";
|
|
2528
|
+
}>>;
|
|
2529
|
+
execution: z.ZodEnum<{
|
|
2530
|
+
stripe: "stripe";
|
|
2531
|
+
manual: "manual";
|
|
2532
|
+
}>;
|
|
1557
2533
|
createdAt: z.ZodString;
|
|
1558
2534
|
updatedAt: z.ZodString;
|
|
1559
2535
|
method: z.ZodLiteral<"bank_transfer">;
|
|
@@ -1566,6 +2542,14 @@ declare class GetPaymentConfigsFromPointOfSale extends AbstractApiRequest<typeof
|
|
|
1566
2542
|
}, z.core.$strip>, z.ZodObject<{
|
|
1567
2543
|
id: z.ZodString;
|
|
1568
2544
|
configurationCompleted: z.ZodBoolean;
|
|
2545
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2546
|
+
hub: "hub";
|
|
2547
|
+
ecommerce: "ecommerce";
|
|
2548
|
+
}>>;
|
|
2549
|
+
execution: z.ZodEnum<{
|
|
2550
|
+
stripe: "stripe";
|
|
2551
|
+
manual: "manual";
|
|
2552
|
+
}>;
|
|
1569
2553
|
createdAt: z.ZodString;
|
|
1570
2554
|
updatedAt: z.ZodString;
|
|
1571
2555
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -1575,15 +2559,45 @@ declare class GetPaymentConfigsFromPointOfSale extends AbstractApiRequest<typeof
|
|
|
1575
2559
|
}, z.core.$strip>, z.ZodObject<{
|
|
1576
2560
|
id: z.ZodString;
|
|
1577
2561
|
configurationCompleted: z.ZodBoolean;
|
|
2562
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2563
|
+
hub: "hub";
|
|
2564
|
+
ecommerce: "ecommerce";
|
|
2565
|
+
}>>;
|
|
2566
|
+
execution: z.ZodEnum<{
|
|
2567
|
+
stripe: "stripe";
|
|
2568
|
+
manual: "manual";
|
|
2569
|
+
}>;
|
|
1578
2570
|
createdAt: z.ZodString;
|
|
1579
2571
|
updatedAt: z.ZodString;
|
|
1580
2572
|
method: z.ZodLiteral<"cash">;
|
|
1581
2573
|
}, z.core.$strip>, z.ZodObject<{
|
|
1582
2574
|
id: z.ZodString;
|
|
1583
2575
|
configurationCompleted: z.ZodBoolean;
|
|
2576
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2577
|
+
hub: "hub";
|
|
2578
|
+
ecommerce: "ecommerce";
|
|
2579
|
+
}>>;
|
|
2580
|
+
execution: z.ZodEnum<{
|
|
2581
|
+
stripe: "stripe";
|
|
2582
|
+
manual: "manual";
|
|
2583
|
+
}>;
|
|
1584
2584
|
createdAt: z.ZodString;
|
|
1585
2585
|
updatedAt: z.ZodString;
|
|
1586
2586
|
method: z.ZodLiteral<"credit_card">;
|
|
2587
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2588
|
+
id: z.ZodString;
|
|
2589
|
+
configurationCompleted: z.ZodBoolean;
|
|
2590
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2591
|
+
hub: "hub";
|
|
2592
|
+
ecommerce: "ecommerce";
|
|
2593
|
+
}>>;
|
|
2594
|
+
execution: z.ZodEnum<{
|
|
2595
|
+
stripe: "stripe";
|
|
2596
|
+
manual: "manual";
|
|
2597
|
+
}>;
|
|
2598
|
+
createdAt: z.ZodString;
|
|
2599
|
+
updatedAt: z.ZodString;
|
|
2600
|
+
method: z.ZodLiteral<"ticket">;
|
|
1587
2601
|
}, z.core.$strip>], "method">;
|
|
1588
2602
|
readonly paginationDefaultEnabled = false;
|
|
1589
2603
|
private readonly pointOfSaleId;
|
|
@@ -1601,6 +2615,14 @@ type CreatePaymentConfigStripeInput = z.input<typeof createPaymentConfigStripeIn
|
|
|
1601
2615
|
declare const createPaymentConfigStripeResponseSchema: z.ZodObject<{
|
|
1602
2616
|
id: z.ZodString;
|
|
1603
2617
|
configurationCompleted: z.ZodBoolean;
|
|
2618
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2619
|
+
hub: "hub";
|
|
2620
|
+
ecommerce: "ecommerce";
|
|
2621
|
+
}>>;
|
|
2622
|
+
execution: z.ZodEnum<{
|
|
2623
|
+
stripe: "stripe";
|
|
2624
|
+
manual: "manual";
|
|
2625
|
+
}>;
|
|
1604
2626
|
createdAt: z.ZodString;
|
|
1605
2627
|
updatedAt: z.ZodString;
|
|
1606
2628
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -1621,6 +2643,14 @@ declare class CreatePaymentConfigStripe extends AbstractApiRequest<typeof create
|
|
|
1621
2643
|
readonly outputSchema: z.ZodObject<{
|
|
1622
2644
|
id: z.ZodString;
|
|
1623
2645
|
configurationCompleted: z.ZodBoolean;
|
|
2646
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2647
|
+
hub: "hub";
|
|
2648
|
+
ecommerce: "ecommerce";
|
|
2649
|
+
}>>;
|
|
2650
|
+
execution: z.ZodEnum<{
|
|
2651
|
+
stripe: "stripe";
|
|
2652
|
+
manual: "manual";
|
|
2653
|
+
}>;
|
|
1624
2654
|
createdAt: z.ZodString;
|
|
1625
2655
|
updatedAt: z.ZodString;
|
|
1626
2656
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -1655,6 +2685,14 @@ type GetPaymentConfigStripeDetailsInput = z.input<typeof getPaymentConfigStripeD
|
|
|
1655
2685
|
declare const getPaymentConfigStripeDetailsResponseSchema: z.ZodObject<{
|
|
1656
2686
|
id: z.ZodString;
|
|
1657
2687
|
configurationCompleted: z.ZodBoolean;
|
|
2688
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2689
|
+
hub: "hub";
|
|
2690
|
+
ecommerce: "ecommerce";
|
|
2691
|
+
}>>;
|
|
2692
|
+
execution: z.ZodEnum<{
|
|
2693
|
+
stripe: "stripe";
|
|
2694
|
+
manual: "manual";
|
|
2695
|
+
}>;
|
|
1658
2696
|
createdAt: z.ZodString;
|
|
1659
2697
|
updatedAt: z.ZodString;
|
|
1660
2698
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -1672,6 +2710,14 @@ declare class GetPaymentConfigStripeDetails extends AbstractApiRequest<typeof ge
|
|
|
1672
2710
|
readonly outputSchema: z.ZodObject<{
|
|
1673
2711
|
id: z.ZodString;
|
|
1674
2712
|
configurationCompleted: z.ZodBoolean;
|
|
2713
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2714
|
+
hub: "hub";
|
|
2715
|
+
ecommerce: "ecommerce";
|
|
2716
|
+
}>>;
|
|
2717
|
+
execution: z.ZodEnum<{
|
|
2718
|
+
stripe: "stripe";
|
|
2719
|
+
manual: "manual";
|
|
2720
|
+
}>;
|
|
1675
2721
|
createdAt: z.ZodString;
|
|
1676
2722
|
updatedAt: z.ZodString;
|
|
1677
2723
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -1694,6 +2740,14 @@ declare const getPaymentConfigStripeListResponseSchema: z.ZodObject<{
|
|
|
1694
2740
|
data: z.ZodArray<z.ZodObject<{
|
|
1695
2741
|
id: z.ZodString;
|
|
1696
2742
|
configurationCompleted: z.ZodBoolean;
|
|
2743
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2744
|
+
hub: "hub";
|
|
2745
|
+
ecommerce: "ecommerce";
|
|
2746
|
+
}>>;
|
|
2747
|
+
execution: z.ZodEnum<{
|
|
2748
|
+
stripe: "stripe";
|
|
2749
|
+
manual: "manual";
|
|
2750
|
+
}>;
|
|
1697
2751
|
createdAt: z.ZodString;
|
|
1698
2752
|
updatedAt: z.ZodString;
|
|
1699
2753
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -1720,6 +2774,14 @@ declare class GetPaymentConfigStripeList extends AbstractApiRequest<typeof getPa
|
|
|
1720
2774
|
data: z.ZodArray<z.ZodObject<{
|
|
1721
2775
|
id: z.ZodString;
|
|
1722
2776
|
configurationCompleted: z.ZodBoolean;
|
|
2777
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2778
|
+
hub: "hub";
|
|
2779
|
+
ecommerce: "ecommerce";
|
|
2780
|
+
}>>;
|
|
2781
|
+
execution: z.ZodEnum<{
|
|
2782
|
+
stripe: "stripe";
|
|
2783
|
+
manual: "manual";
|
|
2784
|
+
}>;
|
|
1723
2785
|
createdAt: z.ZodString;
|
|
1724
2786
|
updatedAt: z.ZodString;
|
|
1725
2787
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -1742,6 +2804,8 @@ declare class GetPaymentConfigStripeList extends AbstractApiRequest<typeof getPa
|
|
|
1742
2804
|
bank_transfer: "bank_transfer";
|
|
1743
2805
|
cash: "cash";
|
|
1744
2806
|
credit_card: "credit_card";
|
|
2807
|
+
ticket: "ticket";
|
|
2808
|
+
platform: "platform";
|
|
1745
2809
|
}>>;
|
|
1746
2810
|
configurationCompleted: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1747
2811
|
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
@@ -1766,6 +2830,14 @@ declare class GetPaymentConfigStripeList extends AbstractApiRequest<typeof getPa
|
|
|
1766
2830
|
readonly listItemSchema: z.ZodObject<{
|
|
1767
2831
|
id: z.ZodString;
|
|
1768
2832
|
configurationCompleted: z.ZodBoolean;
|
|
2833
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2834
|
+
hub: "hub";
|
|
2835
|
+
ecommerce: "ecommerce";
|
|
2836
|
+
}>>;
|
|
2837
|
+
execution: z.ZodEnum<{
|
|
2838
|
+
stripe: "stripe";
|
|
2839
|
+
manual: "manual";
|
|
2840
|
+
}>;
|
|
1769
2841
|
createdAt: z.ZodString;
|
|
1770
2842
|
updatedAt: z.ZodString;
|
|
1771
2843
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -1787,6 +2859,14 @@ type UpdatePaymentConfigStripeInput = z.input<typeof updatePaymentConfigStripeIn
|
|
|
1787
2859
|
declare const updatePaymentConfigStripeResponseSchema: z.ZodObject<{
|
|
1788
2860
|
id: z.ZodString;
|
|
1789
2861
|
configurationCompleted: z.ZodBoolean;
|
|
2862
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2863
|
+
hub: "hub";
|
|
2864
|
+
ecommerce: "ecommerce";
|
|
2865
|
+
}>>;
|
|
2866
|
+
execution: z.ZodEnum<{
|
|
2867
|
+
stripe: "stripe";
|
|
2868
|
+
manual: "manual";
|
|
2869
|
+
}>;
|
|
1790
2870
|
createdAt: z.ZodString;
|
|
1791
2871
|
updatedAt: z.ZodString;
|
|
1792
2872
|
method: z.ZodLiteral<"stripe">;
|
|
@@ -1803,21 +2883,251 @@ declare class UpdatePaymentConfigStripe extends AbstractApiRequest<typeof update
|
|
|
1803
2883
|
readonly inputSchema: z.ZodObject<{
|
|
1804
2884
|
secretKey: z.ZodOptional<z.ZodString>;
|
|
1805
2885
|
}, z.core.$strip>;
|
|
1806
|
-
readonly outputSchema: z.ZodObject<{
|
|
2886
|
+
readonly outputSchema: z.ZodObject<{
|
|
2887
|
+
id: z.ZodString;
|
|
2888
|
+
configurationCompleted: z.ZodBoolean;
|
|
2889
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2890
|
+
hub: "hub";
|
|
2891
|
+
ecommerce: "ecommerce";
|
|
2892
|
+
}>>;
|
|
2893
|
+
execution: z.ZodEnum<{
|
|
2894
|
+
stripe: "stripe";
|
|
2895
|
+
manual: "manual";
|
|
2896
|
+
}>;
|
|
2897
|
+
createdAt: z.ZodString;
|
|
2898
|
+
updatedAt: z.ZodString;
|
|
2899
|
+
method: z.ZodLiteral<"stripe">;
|
|
2900
|
+
secretKey: z.ZodString;
|
|
2901
|
+
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
2902
|
+
webhookId: z.ZodNullable<z.ZodString>;
|
|
2903
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2904
|
+
}, z.core.$strip>;
|
|
2905
|
+
readonly querySchema: undefined;
|
|
2906
|
+
readonly headersSchema: undefined;
|
|
2907
|
+
private readonly paymentConfigId;
|
|
2908
|
+
constructor(paymentConfigId: string, input: UpdatePaymentConfigStripeInput);
|
|
2909
|
+
getPath(): string;
|
|
2910
|
+
}
|
|
2911
|
+
|
|
2912
|
+
declare const createPaymentConfigTicketInputSchema: z.ZodObject<{
|
|
2913
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2914
|
+
}, z.core.$strip>;
|
|
2915
|
+
type CreatePaymentConfigTicketInput = z.input<typeof createPaymentConfigTicketInputSchema>;
|
|
2916
|
+
declare const createPaymentConfigTicketResponseSchema: z.ZodObject<{
|
|
2917
|
+
id: z.ZodString;
|
|
2918
|
+
configurationCompleted: z.ZodBoolean;
|
|
2919
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2920
|
+
hub: "hub";
|
|
2921
|
+
ecommerce: "ecommerce";
|
|
2922
|
+
}>>;
|
|
2923
|
+
execution: z.ZodEnum<{
|
|
2924
|
+
stripe: "stripe";
|
|
2925
|
+
manual: "manual";
|
|
2926
|
+
}>;
|
|
2927
|
+
createdAt: z.ZodString;
|
|
2928
|
+
updatedAt: z.ZodString;
|
|
2929
|
+
method: z.ZodLiteral<"ticket">;
|
|
2930
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2931
|
+
}, z.core.$strip>;
|
|
2932
|
+
type CreatePaymentConfigTicketResponse = z.output<typeof createPaymentConfigTicketResponseSchema>;
|
|
2933
|
+
declare class CreatePaymentConfigTicket extends AbstractApiRequest<typeof createPaymentConfigTicketInputSchema, typeof createPaymentConfigTicketResponseSchema> {
|
|
2934
|
+
readonly method = "POST";
|
|
2935
|
+
readonly contentType = "application/json";
|
|
2936
|
+
readonly accept = "application/json";
|
|
2937
|
+
readonly inputSchema: z.ZodObject<{
|
|
2938
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2939
|
+
}, z.core.$strip>;
|
|
2940
|
+
readonly outputSchema: z.ZodObject<{
|
|
2941
|
+
id: z.ZodString;
|
|
2942
|
+
configurationCompleted: z.ZodBoolean;
|
|
2943
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2944
|
+
hub: "hub";
|
|
2945
|
+
ecommerce: "ecommerce";
|
|
2946
|
+
}>>;
|
|
2947
|
+
execution: z.ZodEnum<{
|
|
2948
|
+
stripe: "stripe";
|
|
2949
|
+
manual: "manual";
|
|
2950
|
+
}>;
|
|
2951
|
+
createdAt: z.ZodString;
|
|
2952
|
+
updatedAt: z.ZodString;
|
|
2953
|
+
method: z.ZodLiteral<"ticket">;
|
|
2954
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2955
|
+
}, z.core.$strip>;
|
|
2956
|
+
readonly querySchema: undefined;
|
|
2957
|
+
readonly headersSchema: undefined;
|
|
2958
|
+
constructor(input: CreatePaymentConfigTicketInput);
|
|
2959
|
+
getPath(): string;
|
|
2960
|
+
}
|
|
2961
|
+
|
|
2962
|
+
declare const deletePaymentConfigTicketInputSchema: z.ZodUndefined;
|
|
2963
|
+
declare const deletePaymentConfigTicketResponseSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
|
|
2964
|
+
declare class DeletePaymentConfigTicket extends AbstractApiRequest<typeof deletePaymentConfigTicketInputSchema, typeof deletePaymentConfigTicketResponseSchema> {
|
|
2965
|
+
readonly method = "DELETE";
|
|
2966
|
+
readonly contentType = "application/json";
|
|
2967
|
+
readonly accept = "application/json";
|
|
2968
|
+
readonly inputSchema: z.ZodUndefined;
|
|
2969
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
|
|
2970
|
+
readonly querySchema: undefined;
|
|
2971
|
+
readonly headersSchema: undefined;
|
|
2972
|
+
private readonly paymentConfigId;
|
|
2973
|
+
constructor(paymentConfigId: string);
|
|
2974
|
+
getPath(): string;
|
|
2975
|
+
}
|
|
2976
|
+
|
|
2977
|
+
declare const getPaymentConfigTicketDetailsInputSchema: z.ZodUndefined;
|
|
2978
|
+
type GetPaymentConfigTicketDetailsInput = z.input<typeof getPaymentConfigTicketDetailsInputSchema>;
|
|
2979
|
+
declare const getPaymentConfigTicketDetailsResponseSchema: z.ZodObject<{
|
|
2980
|
+
id: z.ZodString;
|
|
2981
|
+
configurationCompleted: z.ZodBoolean;
|
|
2982
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
2983
|
+
hub: "hub";
|
|
2984
|
+
ecommerce: "ecommerce";
|
|
2985
|
+
}>>;
|
|
2986
|
+
execution: z.ZodEnum<{
|
|
2987
|
+
stripe: "stripe";
|
|
2988
|
+
manual: "manual";
|
|
2989
|
+
}>;
|
|
2990
|
+
createdAt: z.ZodString;
|
|
2991
|
+
updatedAt: z.ZodString;
|
|
2992
|
+
method: z.ZodLiteral<"ticket">;
|
|
2993
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2994
|
+
}, z.core.$strip>;
|
|
2995
|
+
type GetPaymentConfigTicketDetailsResponse = z.output<typeof getPaymentConfigTicketDetailsResponseSchema>;
|
|
2996
|
+
declare class GetPaymentConfigTicketDetails extends AbstractApiRequest<typeof getPaymentConfigTicketDetailsInputSchema, typeof getPaymentConfigTicketDetailsResponseSchema> {
|
|
2997
|
+
readonly method = "GET";
|
|
2998
|
+
readonly contentType = "application/json";
|
|
2999
|
+
readonly accept = "application/json";
|
|
3000
|
+
readonly inputSchema: z.ZodUndefined;
|
|
3001
|
+
readonly outputSchema: z.ZodObject<{
|
|
3002
|
+
id: z.ZodString;
|
|
3003
|
+
configurationCompleted: z.ZodBoolean;
|
|
3004
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
3005
|
+
hub: "hub";
|
|
3006
|
+
ecommerce: "ecommerce";
|
|
3007
|
+
}>>;
|
|
3008
|
+
execution: z.ZodEnum<{
|
|
3009
|
+
stripe: "stripe";
|
|
3010
|
+
manual: "manual";
|
|
3011
|
+
}>;
|
|
3012
|
+
createdAt: z.ZodString;
|
|
3013
|
+
updatedAt: z.ZodString;
|
|
3014
|
+
method: z.ZodLiteral<"ticket">;
|
|
3015
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
3016
|
+
}, z.core.$strip>;
|
|
3017
|
+
readonly querySchema: undefined;
|
|
3018
|
+
readonly headersSchema: undefined;
|
|
3019
|
+
private readonly paymentConfigId;
|
|
3020
|
+
constructor(paymentConfigId: string);
|
|
3021
|
+
getPath(): string;
|
|
3022
|
+
}
|
|
3023
|
+
|
|
3024
|
+
type GetPaymentConfigTicketListQueryParams = PaymentConfigsQueryParams;
|
|
3025
|
+
declare const getPaymentConfigTicketListInputSchema: z.ZodUndefined;
|
|
3026
|
+
type GetPaymentConfigTicketListInput = z.input<typeof getPaymentConfigTicketListInputSchema>;
|
|
3027
|
+
declare const getPaymentConfigTicketListResponseSchema: z.ZodObject<{
|
|
3028
|
+
data: z.ZodArray<z.ZodObject<{
|
|
3029
|
+
id: z.ZodString;
|
|
3030
|
+
configurationCompleted: z.ZodBoolean;
|
|
3031
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
3032
|
+
hub: "hub";
|
|
3033
|
+
ecommerce: "ecommerce";
|
|
3034
|
+
}>>;
|
|
3035
|
+
execution: z.ZodEnum<{
|
|
3036
|
+
stripe: "stripe";
|
|
3037
|
+
manual: "manual";
|
|
3038
|
+
}>;
|
|
3039
|
+
createdAt: z.ZodString;
|
|
3040
|
+
updatedAt: z.ZodString;
|
|
3041
|
+
method: z.ZodLiteral<"ticket">;
|
|
3042
|
+
}, z.core.$strip>>;
|
|
3043
|
+
pagination: z.ZodObject<{
|
|
3044
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
3045
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
3046
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3047
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3048
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3049
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3050
|
+
}, z.core.$strip>;
|
|
3051
|
+
}, z.core.$strip>;
|
|
3052
|
+
type GetPaymentConfigTicketListResponse = z.infer<typeof getPaymentConfigTicketListResponseSchema>;
|
|
3053
|
+
declare class GetPaymentConfigTicketList extends AbstractApiRequest<typeof getPaymentConfigTicketListInputSchema, typeof getPaymentConfigTicketListResponseSchema, GetPaymentConfigTicketListQueryParams> {
|
|
3054
|
+
readonly method: "GET";
|
|
3055
|
+
readonly contentType: "application/json";
|
|
3056
|
+
readonly accept: "application/json";
|
|
3057
|
+
readonly inputSchema: z.ZodUndefined;
|
|
3058
|
+
readonly outputSchema: z.ZodObject<{
|
|
3059
|
+
data: z.ZodArray<z.ZodObject<{
|
|
3060
|
+
id: z.ZodString;
|
|
3061
|
+
configurationCompleted: z.ZodBoolean;
|
|
3062
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
3063
|
+
hub: "hub";
|
|
3064
|
+
ecommerce: "ecommerce";
|
|
3065
|
+
}>>;
|
|
3066
|
+
execution: z.ZodEnum<{
|
|
3067
|
+
stripe: "stripe";
|
|
3068
|
+
manual: "manual";
|
|
3069
|
+
}>;
|
|
3070
|
+
createdAt: z.ZodString;
|
|
3071
|
+
updatedAt: z.ZodString;
|
|
3072
|
+
method: z.ZodLiteral<"ticket">;
|
|
3073
|
+
}, z.core.$strip>>;
|
|
3074
|
+
pagination: z.ZodObject<{
|
|
3075
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
3076
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
3077
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3078
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3079
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3080
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3081
|
+
}, z.core.$strip>;
|
|
3082
|
+
}, z.core.$strip>;
|
|
3083
|
+
readonly querySchema: z.ZodObject<{
|
|
3084
|
+
method: z.ZodOptional<z.ZodEnum<{
|
|
3085
|
+
stripe: "stripe";
|
|
3086
|
+
bank_transfer: "bank_transfer";
|
|
3087
|
+
cash: "cash";
|
|
3088
|
+
credit_card: "credit_card";
|
|
3089
|
+
ticket: "ticket";
|
|
3090
|
+
platform: "platform";
|
|
3091
|
+
}>>;
|
|
3092
|
+
configurationCompleted: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3093
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3094
|
+
asc: "asc";
|
|
3095
|
+
desc: "desc";
|
|
3096
|
+
}>>;
|
|
3097
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
3098
|
+
asc: "asc";
|
|
3099
|
+
desc: "desc";
|
|
3100
|
+
}>>;
|
|
3101
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3102
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3103
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3104
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3105
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3106
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3107
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3108
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3109
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3110
|
+
}, z.core.$strip>;
|
|
3111
|
+
readonly headersSchema: undefined;
|
|
3112
|
+
readonly listItemSchema: z.ZodObject<{
|
|
1807
3113
|
id: z.ZodString;
|
|
1808
3114
|
configurationCompleted: z.ZodBoolean;
|
|
3115
|
+
availableChannels: z.ZodArray<z.ZodEnum<{
|
|
3116
|
+
hub: "hub";
|
|
3117
|
+
ecommerce: "ecommerce";
|
|
3118
|
+
}>>;
|
|
3119
|
+
execution: z.ZodEnum<{
|
|
3120
|
+
stripe: "stripe";
|
|
3121
|
+
manual: "manual";
|
|
3122
|
+
}>;
|
|
1809
3123
|
createdAt: z.ZodString;
|
|
1810
3124
|
updatedAt: z.ZodString;
|
|
1811
|
-
method: z.ZodLiteral<"
|
|
1812
|
-
secretKey: z.ZodString;
|
|
1813
|
-
webhookSecret: z.ZodNullable<z.ZodString>;
|
|
1814
|
-
webhookId: z.ZodNullable<z.ZodString>;
|
|
1815
|
-
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
3125
|
+
method: z.ZodLiteral<"ticket">;
|
|
1816
3126
|
}, z.core.$strip>;
|
|
1817
|
-
readonly
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
3127
|
+
readonly paginationDefaultEnabled = true;
|
|
3128
|
+
constructor(options?: {
|
|
3129
|
+
query?: GetPaymentConfigTicketListQueryParams;
|
|
3130
|
+
});
|
|
1821
3131
|
getPath(): string;
|
|
1822
3132
|
}
|
|
1823
3133
|
|
|
@@ -1842,6 +3152,13 @@ declare const getPaymentDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1842
3152
|
method: z.ZodLiteral<"stripe">;
|
|
1843
3153
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id"> | null, unknown>>;
|
|
1844
3154
|
} & {
|
|
3155
|
+
management: z.ZodEnum<{
|
|
3156
|
+
pos: "pos";
|
|
3157
|
+
platform: "platform";
|
|
3158
|
+
unknown: "unknown";
|
|
3159
|
+
}>;
|
|
3160
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3161
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
1845
3162
|
status: z.ZodEnum<{
|
|
1846
3163
|
pending: "pending";
|
|
1847
3164
|
pending_verification: "pending_verification";
|
|
@@ -1862,6 +3179,13 @@ declare const getPaymentDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1862
3179
|
method: z.ZodLiteral<"bank_transfer">;
|
|
1863
3180
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id"> | null, unknown>>;
|
|
1864
3181
|
} & {
|
|
3182
|
+
management: z.ZodEnum<{
|
|
3183
|
+
pos: "pos";
|
|
3184
|
+
platform: "platform";
|
|
3185
|
+
unknown: "unknown";
|
|
3186
|
+
}>;
|
|
3187
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3188
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
1865
3189
|
status: z.ZodEnum<{
|
|
1866
3190
|
pending: "pending";
|
|
1867
3191
|
pending_verification: "pending_verification";
|
|
@@ -1882,6 +3206,67 @@ declare const getPaymentDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1882
3206
|
method: z.ZodLiteral<"cash">;
|
|
1883
3207
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id"> | null, unknown>>;
|
|
1884
3208
|
} & {
|
|
3209
|
+
management: z.ZodEnum<{
|
|
3210
|
+
pos: "pos";
|
|
3211
|
+
platform: "platform";
|
|
3212
|
+
unknown: "unknown";
|
|
3213
|
+
}>;
|
|
3214
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3215
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
3216
|
+
status: z.ZodEnum<{
|
|
3217
|
+
pending: "pending";
|
|
3218
|
+
pending_verification: "pending_verification";
|
|
3219
|
+
paid: "paid";
|
|
3220
|
+
canceled: "canceled";
|
|
3221
|
+
refunded: "refunded";
|
|
3222
|
+
failed: "failed";
|
|
3223
|
+
}>;
|
|
3224
|
+
createdAt: z.ZodString;
|
|
3225
|
+
updatedAt: z.ZodString;
|
|
3226
|
+
id: z.ZodString;
|
|
3227
|
+
amount: z.ZodString;
|
|
3228
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
3229
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
3230
|
+
response: z.ZodNullable<z.ZodString>;
|
|
3231
|
+
validUntil: z.ZodNullable<z.ZodString>;
|
|
3232
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3233
|
+
method: z.ZodLiteral<"ticket">;
|
|
3234
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/ticket/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/ticket/:id"> | null, unknown>>;
|
|
3235
|
+
} & {
|
|
3236
|
+
management: z.ZodEnum<{
|
|
3237
|
+
pos: "pos";
|
|
3238
|
+
platform: "platform";
|
|
3239
|
+
unknown: "unknown";
|
|
3240
|
+
}>;
|
|
3241
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3242
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
3243
|
+
status: z.ZodEnum<{
|
|
3244
|
+
pending: "pending";
|
|
3245
|
+
pending_verification: "pending_verification";
|
|
3246
|
+
paid: "paid";
|
|
3247
|
+
canceled: "canceled";
|
|
3248
|
+
refunded: "refunded";
|
|
3249
|
+
failed: "failed";
|
|
3250
|
+
}>;
|
|
3251
|
+
createdAt: z.ZodString;
|
|
3252
|
+
updatedAt: z.ZodString;
|
|
3253
|
+
id: z.ZodString;
|
|
3254
|
+
amount: z.ZodString;
|
|
3255
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
3256
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
3257
|
+
response: z.ZodNullable<z.ZodString>;
|
|
3258
|
+
validUntil: z.ZodNullable<z.ZodString>;
|
|
3259
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3260
|
+
method: z.ZodLiteral<"platform">;
|
|
3261
|
+
config: z.ZodNull;
|
|
3262
|
+
} & {
|
|
3263
|
+
management: z.ZodEnum<{
|
|
3264
|
+
pos: "pos";
|
|
3265
|
+
platform: "platform";
|
|
3266
|
+
unknown: "unknown";
|
|
3267
|
+
}>;
|
|
3268
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3269
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
1885
3270
|
status: z.ZodEnum<{
|
|
1886
3271
|
pending: "pending";
|
|
1887
3272
|
pending_verification: "pending_verification";
|
|
@@ -1902,6 +3287,13 @@ declare const getPaymentDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1902
3287
|
method: z.ZodLiteral<"credit_card">;
|
|
1903
3288
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id"> | null, unknown>>;
|
|
1904
3289
|
} & {
|
|
3290
|
+
management: z.ZodEnum<{
|
|
3291
|
+
pos: "pos";
|
|
3292
|
+
platform: "platform";
|
|
3293
|
+
unknown: "unknown";
|
|
3294
|
+
}>;
|
|
3295
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3296
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
1905
3297
|
status: z.ZodEnum<{
|
|
1906
3298
|
pending: "pending";
|
|
1907
3299
|
pending_verification: "pending_verification";
|
|
@@ -1929,6 +3321,13 @@ declare class GetPaymentDetails extends AbstractApiRequest<typeof getPaymentDeta
|
|
|
1929
3321
|
method: z.ZodLiteral<"stripe">;
|
|
1930
3322
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id"> | null, unknown>>;
|
|
1931
3323
|
} & {
|
|
3324
|
+
management: z.ZodEnum<{
|
|
3325
|
+
pos: "pos";
|
|
3326
|
+
platform: "platform";
|
|
3327
|
+
unknown: "unknown";
|
|
3328
|
+
}>;
|
|
3329
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3330
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
1932
3331
|
status: z.ZodEnum<{
|
|
1933
3332
|
pending: "pending";
|
|
1934
3333
|
pending_verification: "pending_verification";
|
|
@@ -1949,6 +3348,13 @@ declare class GetPaymentDetails extends AbstractApiRequest<typeof getPaymentDeta
|
|
|
1949
3348
|
method: z.ZodLiteral<"bank_transfer">;
|
|
1950
3349
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id"> | null, unknown>>;
|
|
1951
3350
|
} & {
|
|
3351
|
+
management: z.ZodEnum<{
|
|
3352
|
+
pos: "pos";
|
|
3353
|
+
platform: "platform";
|
|
3354
|
+
unknown: "unknown";
|
|
3355
|
+
}>;
|
|
3356
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3357
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
1952
3358
|
status: z.ZodEnum<{
|
|
1953
3359
|
pending: "pending";
|
|
1954
3360
|
pending_verification: "pending_verification";
|
|
@@ -1969,6 +3375,67 @@ declare class GetPaymentDetails extends AbstractApiRequest<typeof getPaymentDeta
|
|
|
1969
3375
|
method: z.ZodLiteral<"cash">;
|
|
1970
3376
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id"> | null, unknown>>;
|
|
1971
3377
|
} & {
|
|
3378
|
+
management: z.ZodEnum<{
|
|
3379
|
+
pos: "pos";
|
|
3380
|
+
platform: "platform";
|
|
3381
|
+
unknown: "unknown";
|
|
3382
|
+
}>;
|
|
3383
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3384
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
3385
|
+
status: z.ZodEnum<{
|
|
3386
|
+
pending: "pending";
|
|
3387
|
+
pending_verification: "pending_verification";
|
|
3388
|
+
paid: "paid";
|
|
3389
|
+
canceled: "canceled";
|
|
3390
|
+
refunded: "refunded";
|
|
3391
|
+
failed: "failed";
|
|
3392
|
+
}>;
|
|
3393
|
+
createdAt: z.ZodString;
|
|
3394
|
+
updatedAt: z.ZodString;
|
|
3395
|
+
id: z.ZodString;
|
|
3396
|
+
amount: z.ZodString;
|
|
3397
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
3398
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
3399
|
+
response: z.ZodNullable<z.ZodString>;
|
|
3400
|
+
validUntil: z.ZodNullable<z.ZodString>;
|
|
3401
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3402
|
+
method: z.ZodLiteral<"ticket">;
|
|
3403
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/ticket/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/ticket/:id"> | null, unknown>>;
|
|
3404
|
+
} & {
|
|
3405
|
+
management: z.ZodEnum<{
|
|
3406
|
+
pos: "pos";
|
|
3407
|
+
platform: "platform";
|
|
3408
|
+
unknown: "unknown";
|
|
3409
|
+
}>;
|
|
3410
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3411
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
3412
|
+
status: z.ZodEnum<{
|
|
3413
|
+
pending: "pending";
|
|
3414
|
+
pending_verification: "pending_verification";
|
|
3415
|
+
paid: "paid";
|
|
3416
|
+
canceled: "canceled";
|
|
3417
|
+
refunded: "refunded";
|
|
3418
|
+
failed: "failed";
|
|
3419
|
+
}>;
|
|
3420
|
+
createdAt: z.ZodString;
|
|
3421
|
+
updatedAt: z.ZodString;
|
|
3422
|
+
id: z.ZodString;
|
|
3423
|
+
amount: z.ZodString;
|
|
3424
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
3425
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
3426
|
+
response: z.ZodNullable<z.ZodString>;
|
|
3427
|
+
validUntil: z.ZodNullable<z.ZodString>;
|
|
3428
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3429
|
+
method: z.ZodLiteral<"platform">;
|
|
3430
|
+
config: z.ZodNull;
|
|
3431
|
+
} & {
|
|
3432
|
+
management: z.ZodEnum<{
|
|
3433
|
+
pos: "pos";
|
|
3434
|
+
platform: "platform";
|
|
3435
|
+
unknown: "unknown";
|
|
3436
|
+
}>;
|
|
3437
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3438
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
1972
3439
|
status: z.ZodEnum<{
|
|
1973
3440
|
pending: "pending";
|
|
1974
3441
|
pending_verification: "pending_verification";
|
|
@@ -1989,6 +3456,13 @@ declare class GetPaymentDetails extends AbstractApiRequest<typeof getPaymentDeta
|
|
|
1989
3456
|
method: z.ZodLiteral<"credit_card">;
|
|
1990
3457
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id"> | null, unknown>>;
|
|
1991
3458
|
} & {
|
|
3459
|
+
management: z.ZodEnum<{
|
|
3460
|
+
pos: "pos";
|
|
3461
|
+
platform: "platform";
|
|
3462
|
+
unknown: "unknown";
|
|
3463
|
+
}>;
|
|
3464
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3465
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
1992
3466
|
status: z.ZodEnum<{
|
|
1993
3467
|
pending: "pending";
|
|
1994
3468
|
pending_verification: "pending_verification";
|
|
@@ -2026,6 +3500,13 @@ declare const getPaymentInfoResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2026
3500
|
failed: "failed";
|
|
2027
3501
|
}>;
|
|
2028
3502
|
amount: z.ZodString;
|
|
3503
|
+
management: z.ZodEnum<{
|
|
3504
|
+
pos: "pos";
|
|
3505
|
+
platform: "platform";
|
|
3506
|
+
unknown: "unknown";
|
|
3507
|
+
}>;
|
|
3508
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3509
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2029
3510
|
method: z.ZodLiteral<"stripe">;
|
|
2030
3511
|
sessionUrl: z.ZodNullable<z.ZodString>;
|
|
2031
3512
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
@@ -2040,6 +3521,13 @@ declare const getPaymentInfoResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2040
3521
|
failed: "failed";
|
|
2041
3522
|
}>;
|
|
2042
3523
|
amount: z.ZodString;
|
|
3524
|
+
management: z.ZodEnum<{
|
|
3525
|
+
pos: "pos";
|
|
3526
|
+
platform: "platform";
|
|
3527
|
+
unknown: "unknown";
|
|
3528
|
+
}>;
|
|
3529
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3530
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2043
3531
|
method: z.ZodLiteral<"bank_transfer">;
|
|
2044
3532
|
iban: z.ZodString;
|
|
2045
3533
|
bic: z.ZodString;
|
|
@@ -2059,6 +3547,13 @@ declare const getPaymentInfoResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2059
3547
|
failed: "failed";
|
|
2060
3548
|
}>;
|
|
2061
3549
|
amount: z.ZodString;
|
|
3550
|
+
management: z.ZodEnum<{
|
|
3551
|
+
pos: "pos";
|
|
3552
|
+
platform: "platform";
|
|
3553
|
+
unknown: "unknown";
|
|
3554
|
+
}>;
|
|
3555
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3556
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2062
3557
|
method: z.ZodLiteral<"cash">;
|
|
2063
3558
|
}, z.core.$strip>, z.ZodObject<{
|
|
2064
3559
|
id: z.ZodString;
|
|
@@ -2071,7 +3566,52 @@ declare const getPaymentInfoResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2071
3566
|
failed: "failed";
|
|
2072
3567
|
}>;
|
|
2073
3568
|
amount: z.ZodString;
|
|
3569
|
+
management: z.ZodEnum<{
|
|
3570
|
+
pos: "pos";
|
|
3571
|
+
platform: "platform";
|
|
3572
|
+
unknown: "unknown";
|
|
3573
|
+
}>;
|
|
3574
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3575
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2074
3576
|
method: z.ZodLiteral<"credit_card">;
|
|
3577
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3578
|
+
id: z.ZodString;
|
|
3579
|
+
status: z.ZodEnum<{
|
|
3580
|
+
pending: "pending";
|
|
3581
|
+
pending_verification: "pending_verification";
|
|
3582
|
+
paid: "paid";
|
|
3583
|
+
canceled: "canceled";
|
|
3584
|
+
refunded: "refunded";
|
|
3585
|
+
failed: "failed";
|
|
3586
|
+
}>;
|
|
3587
|
+
amount: z.ZodString;
|
|
3588
|
+
management: z.ZodEnum<{
|
|
3589
|
+
pos: "pos";
|
|
3590
|
+
platform: "platform";
|
|
3591
|
+
unknown: "unknown";
|
|
3592
|
+
}>;
|
|
3593
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3594
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
3595
|
+
method: z.ZodLiteral<"ticket">;
|
|
3596
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3597
|
+
id: z.ZodString;
|
|
3598
|
+
status: z.ZodEnum<{
|
|
3599
|
+
pending: "pending";
|
|
3600
|
+
pending_verification: "pending_verification";
|
|
3601
|
+
paid: "paid";
|
|
3602
|
+
canceled: "canceled";
|
|
3603
|
+
refunded: "refunded";
|
|
3604
|
+
failed: "failed";
|
|
3605
|
+
}>;
|
|
3606
|
+
amount: z.ZodString;
|
|
3607
|
+
management: z.ZodEnum<{
|
|
3608
|
+
pos: "pos";
|
|
3609
|
+
platform: "platform";
|
|
3610
|
+
unknown: "unknown";
|
|
3611
|
+
}>;
|
|
3612
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3613
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
3614
|
+
method: z.ZodLiteral<"platform">;
|
|
2075
3615
|
}, z.core.$strip>], "method">;
|
|
2076
3616
|
type GetPaymentInfoResponse = z.infer<typeof getPaymentInfoResponseSchema>;
|
|
2077
3617
|
declare class GetPaymentInfo extends AbstractApiRequest<typeof getPaymentInfoInputSchema, typeof getPaymentInfoResponseSchema> {
|
|
@@ -2090,6 +3630,13 @@ declare class GetPaymentInfo extends AbstractApiRequest<typeof getPaymentInfoInp
|
|
|
2090
3630
|
failed: "failed";
|
|
2091
3631
|
}>;
|
|
2092
3632
|
amount: z.ZodString;
|
|
3633
|
+
management: z.ZodEnum<{
|
|
3634
|
+
pos: "pos";
|
|
3635
|
+
platform: "platform";
|
|
3636
|
+
unknown: "unknown";
|
|
3637
|
+
}>;
|
|
3638
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3639
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2093
3640
|
method: z.ZodLiteral<"stripe">;
|
|
2094
3641
|
sessionUrl: z.ZodNullable<z.ZodString>;
|
|
2095
3642
|
expiresAt: z.ZodNullable<z.ZodString>;
|
|
@@ -2104,6 +3651,13 @@ declare class GetPaymentInfo extends AbstractApiRequest<typeof getPaymentInfoInp
|
|
|
2104
3651
|
failed: "failed";
|
|
2105
3652
|
}>;
|
|
2106
3653
|
amount: z.ZodString;
|
|
3654
|
+
management: z.ZodEnum<{
|
|
3655
|
+
pos: "pos";
|
|
3656
|
+
platform: "platform";
|
|
3657
|
+
unknown: "unknown";
|
|
3658
|
+
}>;
|
|
3659
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3660
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2107
3661
|
method: z.ZodLiteral<"bank_transfer">;
|
|
2108
3662
|
iban: z.ZodString;
|
|
2109
3663
|
bic: z.ZodString;
|
|
@@ -2123,6 +3677,13 @@ declare class GetPaymentInfo extends AbstractApiRequest<typeof getPaymentInfoInp
|
|
|
2123
3677
|
failed: "failed";
|
|
2124
3678
|
}>;
|
|
2125
3679
|
amount: z.ZodString;
|
|
3680
|
+
management: z.ZodEnum<{
|
|
3681
|
+
pos: "pos";
|
|
3682
|
+
platform: "platform";
|
|
3683
|
+
unknown: "unknown";
|
|
3684
|
+
}>;
|
|
3685
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3686
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2126
3687
|
method: z.ZodLiteral<"cash">;
|
|
2127
3688
|
}, z.core.$strip>, z.ZodObject<{
|
|
2128
3689
|
id: z.ZodString;
|
|
@@ -2135,7 +3696,52 @@ declare class GetPaymentInfo extends AbstractApiRequest<typeof getPaymentInfoInp
|
|
|
2135
3696
|
failed: "failed";
|
|
2136
3697
|
}>;
|
|
2137
3698
|
amount: z.ZodString;
|
|
3699
|
+
management: z.ZodEnum<{
|
|
3700
|
+
pos: "pos";
|
|
3701
|
+
platform: "platform";
|
|
3702
|
+
unknown: "unknown";
|
|
3703
|
+
}>;
|
|
3704
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3705
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2138
3706
|
method: z.ZodLiteral<"credit_card">;
|
|
3707
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3708
|
+
id: z.ZodString;
|
|
3709
|
+
status: z.ZodEnum<{
|
|
3710
|
+
pending: "pending";
|
|
3711
|
+
pending_verification: "pending_verification";
|
|
3712
|
+
paid: "paid";
|
|
3713
|
+
canceled: "canceled";
|
|
3714
|
+
refunded: "refunded";
|
|
3715
|
+
failed: "failed";
|
|
3716
|
+
}>;
|
|
3717
|
+
amount: z.ZodString;
|
|
3718
|
+
management: z.ZodEnum<{
|
|
3719
|
+
pos: "pos";
|
|
3720
|
+
platform: "platform";
|
|
3721
|
+
unknown: "unknown";
|
|
3722
|
+
}>;
|
|
3723
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3724
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
3725
|
+
method: z.ZodLiteral<"ticket">;
|
|
3726
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3727
|
+
id: z.ZodString;
|
|
3728
|
+
status: z.ZodEnum<{
|
|
3729
|
+
pending: "pending";
|
|
3730
|
+
pending_verification: "pending_verification";
|
|
3731
|
+
paid: "paid";
|
|
3732
|
+
canceled: "canceled";
|
|
3733
|
+
refunded: "refunded";
|
|
3734
|
+
failed: "failed";
|
|
3735
|
+
}>;
|
|
3736
|
+
amount: z.ZodString;
|
|
3737
|
+
management: z.ZodEnum<{
|
|
3738
|
+
pos: "pos";
|
|
3739
|
+
platform: "platform";
|
|
3740
|
+
unknown: "unknown";
|
|
3741
|
+
}>;
|
|
3742
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3743
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
3744
|
+
method: z.ZodLiteral<"platform">;
|
|
2139
3745
|
}, z.core.$strip>], "method">;
|
|
2140
3746
|
readonly querySchema: undefined;
|
|
2141
3747
|
readonly headersSchema: undefined;
|
|
@@ -2155,6 +3761,8 @@ declare const getPaymentsResponseSchema: z.ZodObject<{
|
|
|
2155
3761
|
bank_transfer: "bank_transfer";
|
|
2156
3762
|
cash: "cash";
|
|
2157
3763
|
credit_card: "credit_card";
|
|
3764
|
+
ticket: "ticket";
|
|
3765
|
+
platform: "platform";
|
|
2158
3766
|
}>;
|
|
2159
3767
|
status: z.ZodEnum<{
|
|
2160
3768
|
pending: "pending";
|
|
@@ -2171,6 +3779,13 @@ declare const getPaymentsResponseSchema: z.ZodObject<{
|
|
|
2171
3779
|
validUntil: z.ZodNullable<z.ZodString>;
|
|
2172
3780
|
createdAt: z.ZodString;
|
|
2173
3781
|
updatedAt: z.ZodString;
|
|
3782
|
+
management: z.ZodEnum<{
|
|
3783
|
+
pos: "pos";
|
|
3784
|
+
platform: "platform";
|
|
3785
|
+
unknown: "unknown";
|
|
3786
|
+
}>;
|
|
3787
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3788
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2174
3789
|
}, z.core.$strip>>;
|
|
2175
3790
|
pagination: z.ZodObject<{
|
|
2176
3791
|
from: z.ZodCoercedNumber<unknown>;
|
|
@@ -2195,6 +3810,8 @@ declare class GetPayments extends AbstractApiRequest<typeof getPaymentsInputSche
|
|
|
2195
3810
|
bank_transfer: "bank_transfer";
|
|
2196
3811
|
cash: "cash";
|
|
2197
3812
|
credit_card: "credit_card";
|
|
3813
|
+
ticket: "ticket";
|
|
3814
|
+
platform: "platform";
|
|
2198
3815
|
}>;
|
|
2199
3816
|
status: z.ZodEnum<{
|
|
2200
3817
|
pending: "pending";
|
|
@@ -2211,6 +3828,13 @@ declare class GetPayments extends AbstractApiRequest<typeof getPaymentsInputSche
|
|
|
2211
3828
|
validUntil: z.ZodNullable<z.ZodString>;
|
|
2212
3829
|
createdAt: z.ZodString;
|
|
2213
3830
|
updatedAt: z.ZodString;
|
|
3831
|
+
management: z.ZodEnum<{
|
|
3832
|
+
pos: "pos";
|
|
3833
|
+
platform: "platform";
|
|
3834
|
+
unknown: "unknown";
|
|
3835
|
+
}>;
|
|
3836
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3837
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2214
3838
|
}, z.core.$strip>>;
|
|
2215
3839
|
pagination: z.ZodObject<{
|
|
2216
3840
|
from: z.ZodCoercedNumber<unknown>;
|
|
@@ -2229,11 +3853,15 @@ declare class GetPayments extends AbstractApiRequest<typeof getPaymentsInputSche
|
|
|
2229
3853
|
bank_transfer: "bank_transfer";
|
|
2230
3854
|
cash: "cash";
|
|
2231
3855
|
credit_card: "credit_card";
|
|
3856
|
+
ticket: "ticket";
|
|
3857
|
+
platform: "platform";
|
|
2232
3858
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2233
3859
|
stripe: "stripe";
|
|
2234
3860
|
bank_transfer: "bank_transfer";
|
|
2235
3861
|
cash: "cash";
|
|
2236
3862
|
credit_card: "credit_card";
|
|
3863
|
+
ticket: "ticket";
|
|
3864
|
+
platform: "platform";
|
|
2237
3865
|
}>>]>>;
|
|
2238
3866
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2239
3867
|
pending: "pending";
|
|
@@ -2281,6 +3909,8 @@ declare class GetPayments extends AbstractApiRequest<typeof getPaymentsInputSche
|
|
|
2281
3909
|
bank_transfer: "bank_transfer";
|
|
2282
3910
|
cash: "cash";
|
|
2283
3911
|
credit_card: "credit_card";
|
|
3912
|
+
ticket: "ticket";
|
|
3913
|
+
platform: "platform";
|
|
2284
3914
|
}>;
|
|
2285
3915
|
status: z.ZodEnum<{
|
|
2286
3916
|
pending: "pending";
|
|
@@ -2297,6 +3927,13 @@ declare class GetPayments extends AbstractApiRequest<typeof getPaymentsInputSche
|
|
|
2297
3927
|
validUntil: z.ZodNullable<z.ZodString>;
|
|
2298
3928
|
createdAt: z.ZodString;
|
|
2299
3929
|
updatedAt: z.ZodString;
|
|
3930
|
+
management: z.ZodEnum<{
|
|
3931
|
+
pos: "pos";
|
|
3932
|
+
platform: "platform";
|
|
3933
|
+
unknown: "unknown";
|
|
3934
|
+
}>;
|
|
3935
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3936
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2300
3937
|
}, z.core.$strip>;
|
|
2301
3938
|
readonly paginationDefaultEnabled = true;
|
|
2302
3939
|
constructor(options?: {
|
|
@@ -2316,6 +3953,8 @@ declare const getPaymentsForPaymentConfigResponseSchema: z.ZodObject<{
|
|
|
2316
3953
|
bank_transfer: "bank_transfer";
|
|
2317
3954
|
cash: "cash";
|
|
2318
3955
|
credit_card: "credit_card";
|
|
3956
|
+
ticket: "ticket";
|
|
3957
|
+
platform: "platform";
|
|
2319
3958
|
}>;
|
|
2320
3959
|
status: z.ZodEnum<{
|
|
2321
3960
|
pending: "pending";
|
|
@@ -2332,6 +3971,13 @@ declare const getPaymentsForPaymentConfigResponseSchema: z.ZodObject<{
|
|
|
2332
3971
|
validUntil: z.ZodNullable<z.ZodString>;
|
|
2333
3972
|
createdAt: z.ZodString;
|
|
2334
3973
|
updatedAt: z.ZodString;
|
|
3974
|
+
management: z.ZodEnum<{
|
|
3975
|
+
pos: "pos";
|
|
3976
|
+
platform: "platform";
|
|
3977
|
+
unknown: "unknown";
|
|
3978
|
+
}>;
|
|
3979
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
3980
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2335
3981
|
}, z.core.$strip>>;
|
|
2336
3982
|
pagination: z.ZodObject<{
|
|
2337
3983
|
from: z.ZodCoercedNumber<unknown>;
|
|
@@ -2356,6 +4002,8 @@ declare class GetPaymentsForPaymentConfig extends AbstractApiRequest<typeof getP
|
|
|
2356
4002
|
bank_transfer: "bank_transfer";
|
|
2357
4003
|
cash: "cash";
|
|
2358
4004
|
credit_card: "credit_card";
|
|
4005
|
+
ticket: "ticket";
|
|
4006
|
+
platform: "platform";
|
|
2359
4007
|
}>;
|
|
2360
4008
|
status: z.ZodEnum<{
|
|
2361
4009
|
pending: "pending";
|
|
@@ -2372,6 +4020,13 @@ declare class GetPaymentsForPaymentConfig extends AbstractApiRequest<typeof getP
|
|
|
2372
4020
|
validUntil: z.ZodNullable<z.ZodString>;
|
|
2373
4021
|
createdAt: z.ZodString;
|
|
2374
4022
|
updatedAt: z.ZodString;
|
|
4023
|
+
management: z.ZodEnum<{
|
|
4024
|
+
pos: "pos";
|
|
4025
|
+
platform: "platform";
|
|
4026
|
+
unknown: "unknown";
|
|
4027
|
+
}>;
|
|
4028
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
4029
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2375
4030
|
}, z.core.$strip>>;
|
|
2376
4031
|
pagination: z.ZodObject<{
|
|
2377
4032
|
from: z.ZodCoercedNumber<unknown>;
|
|
@@ -2390,11 +4045,15 @@ declare class GetPaymentsForPaymentConfig extends AbstractApiRequest<typeof getP
|
|
|
2390
4045
|
bank_transfer: "bank_transfer";
|
|
2391
4046
|
cash: "cash";
|
|
2392
4047
|
credit_card: "credit_card";
|
|
4048
|
+
ticket: "ticket";
|
|
4049
|
+
platform: "platform";
|
|
2393
4050
|
}>, z.ZodArray<z.ZodEnum<{
|
|
2394
4051
|
stripe: "stripe";
|
|
2395
4052
|
bank_transfer: "bank_transfer";
|
|
2396
4053
|
cash: "cash";
|
|
2397
4054
|
credit_card: "credit_card";
|
|
4055
|
+
ticket: "ticket";
|
|
4056
|
+
platform: "platform";
|
|
2398
4057
|
}>>]>>;
|
|
2399
4058
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2400
4059
|
pending: "pending";
|
|
@@ -2442,6 +4101,8 @@ declare class GetPaymentsForPaymentConfig extends AbstractApiRequest<typeof getP
|
|
|
2442
4101
|
bank_transfer: "bank_transfer";
|
|
2443
4102
|
cash: "cash";
|
|
2444
4103
|
credit_card: "credit_card";
|
|
4104
|
+
ticket: "ticket";
|
|
4105
|
+
platform: "platform";
|
|
2445
4106
|
}>;
|
|
2446
4107
|
status: z.ZodEnum<{
|
|
2447
4108
|
pending: "pending";
|
|
@@ -2458,6 +4119,13 @@ declare class GetPaymentsForPaymentConfig extends AbstractApiRequest<typeof getP
|
|
|
2458
4119
|
validUntil: z.ZodNullable<z.ZodString>;
|
|
2459
4120
|
createdAt: z.ZodString;
|
|
2460
4121
|
updatedAt: z.ZodString;
|
|
4122
|
+
management: z.ZodEnum<{
|
|
4123
|
+
pos: "pos";
|
|
4124
|
+
platform: "platform";
|
|
4125
|
+
unknown: "unknown";
|
|
4126
|
+
}>;
|
|
4127
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
4128
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2461
4129
|
}, z.core.$strip>;
|
|
2462
4130
|
readonly paginationDefaultEnabled = true;
|
|
2463
4131
|
private readonly paymentConfigId;
|
|
@@ -2483,6 +4151,13 @@ declare const updatePaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
2483
4151
|
method: z.ZodLiteral<"stripe">;
|
|
2484
4152
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id"> | null, unknown>>;
|
|
2485
4153
|
} & {
|
|
4154
|
+
management: z.ZodEnum<{
|
|
4155
|
+
pos: "pos";
|
|
4156
|
+
platform: "platform";
|
|
4157
|
+
unknown: "unknown";
|
|
4158
|
+
}>;
|
|
4159
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
4160
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2486
4161
|
status: z.ZodEnum<{
|
|
2487
4162
|
pending: "pending";
|
|
2488
4163
|
pending_verification: "pending_verification";
|
|
@@ -2503,6 +4178,13 @@ declare const updatePaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
2503
4178
|
method: z.ZodLiteral<"bank_transfer">;
|
|
2504
4179
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id"> | null, unknown>>;
|
|
2505
4180
|
} & {
|
|
4181
|
+
management: z.ZodEnum<{
|
|
4182
|
+
pos: "pos";
|
|
4183
|
+
platform: "platform";
|
|
4184
|
+
unknown: "unknown";
|
|
4185
|
+
}>;
|
|
4186
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
4187
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2506
4188
|
status: z.ZodEnum<{
|
|
2507
4189
|
pending: "pending";
|
|
2508
4190
|
pending_verification: "pending_verification";
|
|
@@ -2523,6 +4205,67 @@ declare const updatePaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
2523
4205
|
method: z.ZodLiteral<"cash">;
|
|
2524
4206
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id"> | null, unknown>>;
|
|
2525
4207
|
} & {
|
|
4208
|
+
management: z.ZodEnum<{
|
|
4209
|
+
pos: "pos";
|
|
4210
|
+
platform: "platform";
|
|
4211
|
+
unknown: "unknown";
|
|
4212
|
+
}>;
|
|
4213
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
4214
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
4215
|
+
status: z.ZodEnum<{
|
|
4216
|
+
pending: "pending";
|
|
4217
|
+
pending_verification: "pending_verification";
|
|
4218
|
+
paid: "paid";
|
|
4219
|
+
canceled: "canceled";
|
|
4220
|
+
refunded: "refunded";
|
|
4221
|
+
failed: "failed";
|
|
4222
|
+
}>;
|
|
4223
|
+
createdAt: z.ZodString;
|
|
4224
|
+
updatedAt: z.ZodString;
|
|
4225
|
+
id: z.ZodString;
|
|
4226
|
+
amount: z.ZodString;
|
|
4227
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
4228
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
4229
|
+
response: z.ZodNullable<z.ZodString>;
|
|
4230
|
+
validUntil: z.ZodNullable<z.ZodString>;
|
|
4231
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4232
|
+
method: z.ZodLiteral<"ticket">;
|
|
4233
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/ticket/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/ticket/:id"> | null, unknown>>;
|
|
4234
|
+
} & {
|
|
4235
|
+
management: z.ZodEnum<{
|
|
4236
|
+
pos: "pos";
|
|
4237
|
+
platform: "platform";
|
|
4238
|
+
unknown: "unknown";
|
|
4239
|
+
}>;
|
|
4240
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
4241
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
4242
|
+
status: z.ZodEnum<{
|
|
4243
|
+
pending: "pending";
|
|
4244
|
+
pending_verification: "pending_verification";
|
|
4245
|
+
paid: "paid";
|
|
4246
|
+
canceled: "canceled";
|
|
4247
|
+
refunded: "refunded";
|
|
4248
|
+
failed: "failed";
|
|
4249
|
+
}>;
|
|
4250
|
+
createdAt: z.ZodString;
|
|
4251
|
+
updatedAt: z.ZodString;
|
|
4252
|
+
id: z.ZodString;
|
|
4253
|
+
amount: z.ZodString;
|
|
4254
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
4255
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
4256
|
+
response: z.ZodNullable<z.ZodString>;
|
|
4257
|
+
validUntil: z.ZodNullable<z.ZodString>;
|
|
4258
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4259
|
+
method: z.ZodLiteral<"platform">;
|
|
4260
|
+
config: z.ZodNull;
|
|
4261
|
+
} & {
|
|
4262
|
+
management: z.ZodEnum<{
|
|
4263
|
+
pos: "pos";
|
|
4264
|
+
platform: "platform";
|
|
4265
|
+
unknown: "unknown";
|
|
4266
|
+
}>;
|
|
4267
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
4268
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2526
4269
|
status: z.ZodEnum<{
|
|
2527
4270
|
pending: "pending";
|
|
2528
4271
|
pending_verification: "pending_verification";
|
|
@@ -2543,6 +4286,13 @@ declare const updatePaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
|
|
|
2543
4286
|
method: z.ZodLiteral<"credit_card">;
|
|
2544
4287
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id"> | null, unknown>>;
|
|
2545
4288
|
} & {
|
|
4289
|
+
management: z.ZodEnum<{
|
|
4290
|
+
pos: "pos";
|
|
4291
|
+
platform: "platform";
|
|
4292
|
+
unknown: "unknown";
|
|
4293
|
+
}>;
|
|
4294
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
4295
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2546
4296
|
status: z.ZodEnum<{
|
|
2547
4297
|
pending: "pending";
|
|
2548
4298
|
pending_verification: "pending_verification";
|
|
@@ -2580,6 +4330,13 @@ declare class UpdatePayment extends AbstractApiRequest<typeof updatePaymentInput
|
|
|
2580
4330
|
method: z.ZodLiteral<"stripe">;
|
|
2581
4331
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id"> | null, unknown>>;
|
|
2582
4332
|
} & {
|
|
4333
|
+
management: z.ZodEnum<{
|
|
4334
|
+
pos: "pos";
|
|
4335
|
+
platform: "platform";
|
|
4336
|
+
unknown: "unknown";
|
|
4337
|
+
}>;
|
|
4338
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
4339
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2583
4340
|
status: z.ZodEnum<{
|
|
2584
4341
|
pending: "pending";
|
|
2585
4342
|
pending_verification: "pending_verification";
|
|
@@ -2600,6 +4357,13 @@ declare class UpdatePayment extends AbstractApiRequest<typeof updatePaymentInput
|
|
|
2600
4357
|
method: z.ZodLiteral<"bank_transfer">;
|
|
2601
4358
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/bank_transfer/:id"> | null, unknown>>;
|
|
2602
4359
|
} & {
|
|
4360
|
+
management: z.ZodEnum<{
|
|
4361
|
+
pos: "pos";
|
|
4362
|
+
platform: "platform";
|
|
4363
|
+
unknown: "unknown";
|
|
4364
|
+
}>;
|
|
4365
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
4366
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2603
4367
|
status: z.ZodEnum<{
|
|
2604
4368
|
pending: "pending";
|
|
2605
4369
|
pending_verification: "pending_verification";
|
|
@@ -2620,6 +4384,67 @@ declare class UpdatePayment extends AbstractApiRequest<typeof updatePaymentInput
|
|
|
2620
4384
|
method: z.ZodLiteral<"cash">;
|
|
2621
4385
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/cash/:id"> | null, unknown>>;
|
|
2622
4386
|
} & {
|
|
4387
|
+
management: z.ZodEnum<{
|
|
4388
|
+
pos: "pos";
|
|
4389
|
+
platform: "platform";
|
|
4390
|
+
unknown: "unknown";
|
|
4391
|
+
}>;
|
|
4392
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
4393
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
4394
|
+
status: z.ZodEnum<{
|
|
4395
|
+
pending: "pending";
|
|
4396
|
+
pending_verification: "pending_verification";
|
|
4397
|
+
paid: "paid";
|
|
4398
|
+
canceled: "canceled";
|
|
4399
|
+
refunded: "refunded";
|
|
4400
|
+
failed: "failed";
|
|
4401
|
+
}>;
|
|
4402
|
+
createdAt: z.ZodString;
|
|
4403
|
+
updatedAt: z.ZodString;
|
|
4404
|
+
id: z.ZodString;
|
|
4405
|
+
amount: z.ZodString;
|
|
4406
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
4407
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
4408
|
+
response: z.ZodNullable<z.ZodString>;
|
|
4409
|
+
validUntil: z.ZodNullable<z.ZodString>;
|
|
4410
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4411
|
+
method: z.ZodLiteral<"ticket">;
|
|
4412
|
+
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/ticket/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/ticket/:id"> | null, unknown>>;
|
|
4413
|
+
} & {
|
|
4414
|
+
management: z.ZodEnum<{
|
|
4415
|
+
pos: "pos";
|
|
4416
|
+
platform: "platform";
|
|
4417
|
+
unknown: "unknown";
|
|
4418
|
+
}>;
|
|
4419
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
4420
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
4421
|
+
status: z.ZodEnum<{
|
|
4422
|
+
pending: "pending";
|
|
4423
|
+
pending_verification: "pending_verification";
|
|
4424
|
+
paid: "paid";
|
|
4425
|
+
canceled: "canceled";
|
|
4426
|
+
refunded: "refunded";
|
|
4427
|
+
failed: "failed";
|
|
4428
|
+
}>;
|
|
4429
|
+
createdAt: z.ZodString;
|
|
4430
|
+
updatedAt: z.ZodString;
|
|
4431
|
+
id: z.ZodString;
|
|
4432
|
+
amount: z.ZodString;
|
|
4433
|
+
internalReference: z.ZodNullable<z.ZodString>;
|
|
4434
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
4435
|
+
response: z.ZodNullable<z.ZodString>;
|
|
4436
|
+
validUntil: z.ZodNullable<z.ZodString>;
|
|
4437
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4438
|
+
method: z.ZodLiteral<"platform">;
|
|
4439
|
+
config: z.ZodNull;
|
|
4440
|
+
} & {
|
|
4441
|
+
management: z.ZodEnum<{
|
|
4442
|
+
pos: "pos";
|
|
4443
|
+
platform: "platform";
|
|
4444
|
+
unknown: "unknown";
|
|
4445
|
+
}>;
|
|
4446
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
4447
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2623
4448
|
status: z.ZodEnum<{
|
|
2624
4449
|
pending: "pending";
|
|
2625
4450
|
pending_verification: "pending_verification";
|
|
@@ -2640,6 +4465,13 @@ declare class UpdatePayment extends AbstractApiRequest<typeof updatePaymentInput
|
|
|
2640
4465
|
method: z.ZodLiteral<"credit_card">;
|
|
2641
4466
|
config: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/credit_card/:id"> | null, unknown>>;
|
|
2642
4467
|
} & {
|
|
4468
|
+
management: z.ZodEnum<{
|
|
4469
|
+
pos: "pos";
|
|
4470
|
+
platform: "platform";
|
|
4471
|
+
unknown: "unknown";
|
|
4472
|
+
}>;
|
|
4473
|
+
collectingPlatform: z.ZodNullable<z.ZodString>;
|
|
4474
|
+
ticketProvider: z.ZodNullable<z.ZodString>;
|
|
2643
4475
|
status: z.ZodEnum<{
|
|
2644
4476
|
pending: "pending";
|
|
2645
4477
|
pending_verification: "pending_verification";
|
|
@@ -2688,5 +4520,9 @@ declare const paymentConfigStripeIriSchema: z.ZodType<_deliverart_sdk_js_global_
|
|
|
2688
4520
|
type PaymentConfigStripeIri = z.infer<typeof paymentConfigStripeIriSchema>;
|
|
2689
4521
|
declare const paymentConfigStripeNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/stripe/:id"> | null, unknown>>;
|
|
2690
4522
|
type PaymentConfigStripeNullableIri = z.infer<typeof paymentConfigStripeNullableIriSchema>;
|
|
4523
|
+
declare const paymentConfigTicketIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/ticket/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/ticket/:id">, unknown>>;
|
|
4524
|
+
type PaymentConfigTicketIri = z.infer<typeof paymentConfigTicketIriSchema>;
|
|
4525
|
+
declare const paymentConfigTicketNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/ticket/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payment_configs/ticket/:id"> | null, unknown>>;
|
|
4526
|
+
type PaymentConfigTicketNullableIri = z.infer<typeof paymentConfigTicketNullableIriSchema>;
|
|
2691
4527
|
|
|
2692
|
-
export { CreatePaymentConfigBankTransfer, type CreatePaymentConfigBankTransferInput, type CreatePaymentConfigBankTransferResponse, CreatePaymentConfigCash, type CreatePaymentConfigCashInput, type CreatePaymentConfigCashResponse, CreatePaymentConfigCreditCard, type CreatePaymentConfigCreditCardInput, type CreatePaymentConfigCreditCardResponse, CreatePaymentConfigStripe, type CreatePaymentConfigStripeInput, type CreatePaymentConfigStripeResponse, DeletePayment, DeletePaymentConfig, DeletePaymentConfigBankTransfer, DeletePaymentConfigCash, DeletePaymentConfigCreditCard, DeletePaymentConfigStripe, DisablePaymentConfig, type DisablePaymentConfigInput, GetPaymentConfigBankTransferDetails, type GetPaymentConfigBankTransferDetailsInput, type GetPaymentConfigBankTransferDetailsResponse, GetPaymentConfigBankTransferList, type GetPaymentConfigBankTransferListInput, type GetPaymentConfigBankTransferListQueryParams, type GetPaymentConfigBankTransferListResponse, GetPaymentConfigCashDetails, type GetPaymentConfigCashDetailsInput, type GetPaymentConfigCashDetailsResponse, GetPaymentConfigCashList, type GetPaymentConfigCashListInput, type GetPaymentConfigCashListQueryParams, type GetPaymentConfigCashListResponse, GetPaymentConfigCreditCardDetails, type GetPaymentConfigCreditCardDetailsInput, type GetPaymentConfigCreditCardDetailsResponse, GetPaymentConfigCreditCardList, type GetPaymentConfigCreditCardListInput, type GetPaymentConfigCreditCardListQueryParams, type GetPaymentConfigCreditCardListResponse, GetPaymentConfigDetails, type GetPaymentConfigDetailsInput, type GetPaymentConfigDetailsResponse, GetPaymentConfigStripeDetails, type GetPaymentConfigStripeDetailsInput, type GetPaymentConfigStripeDetailsResponse, GetPaymentConfigStripeList, type GetPaymentConfigStripeListInput, type GetPaymentConfigStripeListQueryParams, type GetPaymentConfigStripeListResponse, GetPaymentConfigs, GetPaymentConfigsFromPointOfSale, type GetPaymentConfigsFromPointOfSaleInput, type GetPaymentConfigsFromPointOfSaleQueryParams, type GetPaymentConfigsFromPointOfSaleResponse, type GetPaymentConfigsInput, type GetPaymentConfigsQueryParams, type GetPaymentConfigsResponse, GetPaymentDetails, type GetPaymentDetailsInput, type GetPaymentDetailsResponse, GetPaymentInfo, type GetPaymentInfoInput, type GetPaymentInfoResponse, GetPayments, GetPaymentsForPaymentConfig, type GetPaymentsForPaymentConfigInput, type GetPaymentsForPaymentConfigQueryParams, type GetPaymentsForPaymentConfigResponse, type GetPaymentsInput, type GetPaymentsQueryParams, type GetPaymentsResponse, type Payment, type PaymentConfig, type PaymentConfigBankTransfer, type PaymentConfigBankTransferDetails, type PaymentConfigBankTransferIri, type PaymentConfigBankTransferNullableIri, type PaymentConfigCash, type PaymentConfigCashDetails, type PaymentConfigCashIri, type PaymentConfigCashNullableIri, type PaymentConfigCreditCard, type PaymentConfigCreditCardDetails, type PaymentConfigCreditCardIri, type PaymentConfigCreditCardNullableIri, type PaymentConfigDetails, type PaymentConfigIri, type PaymentConfigNullableIri, type PaymentConfigStripe, type PaymentConfigStripeDetails, type PaymentConfigStripeIri, type PaymentConfigStripeNullableIri, type PaymentConfigsQueryParams, type PaymentDetails, type PaymentInfo, type PaymentInfoBankTransfer, type PaymentInfoCash, type PaymentInfoCreditCard, type PaymentInfoStripe, type PaymentIri, type PaymentNullableIri, type PaymentQueryParams, UpdatePayment, UpdatePaymentConfigBankTransfer, type UpdatePaymentConfigBankTransferInput, type UpdatePaymentConfigBankTransferResponse, UpdatePaymentConfigStripe, type UpdatePaymentConfigStripeInput, type UpdatePaymentConfigStripeResponse, type UpdatePaymentInput, type UpdatePaymentResponse, type WritablePayment, type WritablePaymentConfigBankTransfer, type WritablePaymentConfigCash, type WritablePaymentConfigCreditCard, type WritablePaymentConfigStripe, createPaymentConfigBankTransferInputSchema, createPaymentConfigBankTransferResponseSchema, createPaymentConfigCashInputSchema, createPaymentConfigCashResponseSchema, createPaymentConfigCreditCardInputSchema, createPaymentConfigCreditCardResponseSchema, createPaymentConfigStripeInputSchema, createPaymentConfigStripeResponseSchema, deletePaymentConfigBankTransferInputSchema, deletePaymentConfigBankTransferResponseSchema, deletePaymentConfigCashInputSchema, deletePaymentConfigCashResponseSchema, deletePaymentConfigCreditCardInputSchema, deletePaymentConfigCreditCardResponseSchema, deletePaymentConfigInputSchema, deletePaymentConfigResponseSchema, deletePaymentConfigStripeInputSchema, deletePaymentConfigStripeResponseSchema, deletePaymentInputSchema, deletePaymentResponseSchema, disablePaymentConfigInputSchema, disablePaymentConfigResponseSchema, getPaymentConfigBankTransferDetailsInputSchema, getPaymentConfigBankTransferDetailsResponseSchema, getPaymentConfigBankTransferListInputSchema, getPaymentConfigBankTransferListResponseSchema, getPaymentConfigCashDetailsInputSchema, getPaymentConfigCashDetailsResponseSchema, getPaymentConfigCashListInputSchema, getPaymentConfigCashListResponseSchema, getPaymentConfigCreditCardDetailsInputSchema, getPaymentConfigCreditCardDetailsResponseSchema, getPaymentConfigCreditCardListInputSchema, getPaymentConfigCreditCardListResponseSchema, getPaymentConfigDetailsInputSchema, getPaymentConfigDetailsResponseSchema, getPaymentConfigStripeDetailsInputSchema, getPaymentConfigStripeDetailsResponseSchema, getPaymentConfigStripeListInputSchema, getPaymentConfigStripeListResponseSchema, getPaymentConfigsFromPointOfSaleInputSchema, getPaymentConfigsFromPointOfSaleResponseSchema, getPaymentConfigsInputSchema, getPaymentConfigsResponseSchema, getPaymentDetailsInputSchema, getPaymentDetailsResponseSchema, getPaymentInfoInputSchema, getPaymentInfoResponseSchema, getPaymentsForPaymentConfigInputSchema, getPaymentsForPaymentConfigResponseSchema, getPaymentsInputSchema, getPaymentsResponseSchema, paymentConfigBankTransferDetailsSchema, paymentConfigBankTransferIriSchema, paymentConfigBankTransferNullableIriSchema, paymentConfigBankTransferSchema, paymentConfigBaseSchema, paymentConfigCashDetailsSchema, paymentConfigCashIriSchema, paymentConfigCashNullableIriSchema, paymentConfigCashSchema, paymentConfigCreditCardDetailsSchema, paymentConfigCreditCardIriSchema, paymentConfigCreditCardNullableIriSchema, paymentConfigCreditCardSchema, paymentConfigDetailsSchema, paymentConfigIriSchema, paymentConfigNullableIriSchema, paymentConfigSchema, paymentConfigStripeDetailsSchema, paymentConfigStripeIriSchema, paymentConfigStripeNullableIriSchema, paymentConfigStripeSchema, paymentConfigsQuerySchema, paymentDetailsSchema, paymentInfoBankTransferSchema, paymentInfoCashSchema, paymentInfoCreditCardSchema, paymentInfoSchema, paymentInfoStripeSchema, paymentIriSchema, paymentNullableIriSchema, paymentQuerySchema, paymentSchema, updatePaymentConfigBankTransferInputSchema, updatePaymentConfigBankTransferResponseSchema, updatePaymentConfigStripeInputSchema, updatePaymentConfigStripeResponseSchema, updatePaymentInputSchema, updatePaymentResponseSchema, writablePaymentConfigBankTransferSchema, writablePaymentConfigCashSchema, writablePaymentConfigCreditCardSchema, writablePaymentConfigSchemas, writablePaymentConfigStripeSchema, writablePaymentSchema };
|
|
4528
|
+
export { CreatePaymentConfigBankTransfer, type CreatePaymentConfigBankTransferInput, type CreatePaymentConfigBankTransferResponse, CreatePaymentConfigCash, type CreatePaymentConfigCashInput, type CreatePaymentConfigCashResponse, CreatePaymentConfigCreditCard, type CreatePaymentConfigCreditCardInput, type CreatePaymentConfigCreditCardResponse, CreatePaymentConfigStripe, type CreatePaymentConfigStripeInput, type CreatePaymentConfigStripeResponse, CreatePaymentConfigTicket, type CreatePaymentConfigTicketInput, type CreatePaymentConfigTicketResponse, DeletePayment, DeletePaymentConfig, DeletePaymentConfigBankTransfer, DeletePaymentConfigCash, DeletePaymentConfigCreditCard, DeletePaymentConfigStripe, DeletePaymentConfigTicket, DisablePaymentConfig, type DisablePaymentConfigInput, GetPaymentConfigBankTransferDetails, type GetPaymentConfigBankTransferDetailsInput, type GetPaymentConfigBankTransferDetailsResponse, GetPaymentConfigBankTransferList, type GetPaymentConfigBankTransferListInput, type GetPaymentConfigBankTransferListQueryParams, type GetPaymentConfigBankTransferListResponse, GetPaymentConfigCashDetails, type GetPaymentConfigCashDetailsInput, type GetPaymentConfigCashDetailsResponse, GetPaymentConfigCashList, type GetPaymentConfigCashListInput, type GetPaymentConfigCashListQueryParams, type GetPaymentConfigCashListResponse, GetPaymentConfigCreditCardDetails, type GetPaymentConfigCreditCardDetailsInput, type GetPaymentConfigCreditCardDetailsResponse, GetPaymentConfigCreditCardList, type GetPaymentConfigCreditCardListInput, type GetPaymentConfigCreditCardListQueryParams, type GetPaymentConfigCreditCardListResponse, GetPaymentConfigDetails, type GetPaymentConfigDetailsInput, type GetPaymentConfigDetailsResponse, GetPaymentConfigStripeDetails, type GetPaymentConfigStripeDetailsInput, type GetPaymentConfigStripeDetailsResponse, GetPaymentConfigStripeList, type GetPaymentConfigStripeListInput, type GetPaymentConfigStripeListQueryParams, type GetPaymentConfigStripeListResponse, GetPaymentConfigTicketDetails, type GetPaymentConfigTicketDetailsInput, type GetPaymentConfigTicketDetailsResponse, GetPaymentConfigTicketList, type GetPaymentConfigTicketListInput, type GetPaymentConfigTicketListQueryParams, type GetPaymentConfigTicketListResponse, GetPaymentConfigs, GetPaymentConfigsFromPointOfSale, type GetPaymentConfigsFromPointOfSaleInput, type GetPaymentConfigsFromPointOfSaleQueryParams, type GetPaymentConfigsFromPointOfSaleResponse, type GetPaymentConfigsInput, type GetPaymentConfigsQueryParams, type GetPaymentConfigsResponse, GetPaymentDetails, type GetPaymentDetailsInput, type GetPaymentDetailsResponse, GetPaymentInfo, type GetPaymentInfoInput, type GetPaymentInfoResponse, GetPayments, GetPaymentsForPaymentConfig, type GetPaymentsForPaymentConfigInput, type GetPaymentsForPaymentConfigQueryParams, type GetPaymentsForPaymentConfigResponse, type GetPaymentsInput, type GetPaymentsQueryParams, type GetPaymentsResponse, type Payment, type PaymentConfig, type PaymentConfigBankTransfer, type PaymentConfigBankTransferDetails, type PaymentConfigBankTransferIri, type PaymentConfigBankTransferNullableIri, type PaymentConfigCash, type PaymentConfigCashDetails, type PaymentConfigCashIri, type PaymentConfigCashNullableIri, type PaymentConfigCreditCard, type PaymentConfigCreditCardDetails, type PaymentConfigCreditCardIri, type PaymentConfigCreditCardNullableIri, type PaymentConfigDetails, type PaymentConfigIri, type PaymentConfigNullableIri, type PaymentConfigStripe, type PaymentConfigStripeDetails, type PaymentConfigStripeIri, type PaymentConfigStripeNullableIri, type PaymentConfigTicket, type PaymentConfigTicketDetails, type PaymentConfigTicketIri, type PaymentConfigTicketNullableIri, type PaymentConfigsQueryParams, type PaymentDetails, type PaymentInfo, type PaymentInfoBankTransfer, type PaymentInfoCash, type PaymentInfoCreditCard, type PaymentInfoPlatform, type PaymentInfoStripe, type PaymentInfoTicket, type PaymentIri, type PaymentManagement, type PaymentNullableIri, type PaymentQueryParams, UpdatePayment, UpdatePaymentConfigBankTransfer, type UpdatePaymentConfigBankTransferInput, type UpdatePaymentConfigBankTransferResponse, UpdatePaymentConfigStripe, type UpdatePaymentConfigStripeInput, type UpdatePaymentConfigStripeResponse, type UpdatePaymentInput, type UpdatePaymentResponse, type WritablePayment, type WritablePaymentConfigBankTransfer, type WritablePaymentConfigCash, type WritablePaymentConfigCreditCard, type WritablePaymentConfigStripe, type WritablePaymentConfigTicket, createPaymentConfigBankTransferInputSchema, createPaymentConfigBankTransferResponseSchema, createPaymentConfigCashInputSchema, createPaymentConfigCashResponseSchema, createPaymentConfigCreditCardInputSchema, createPaymentConfigCreditCardResponseSchema, createPaymentConfigStripeInputSchema, createPaymentConfigStripeResponseSchema, createPaymentConfigTicketInputSchema, createPaymentConfigTicketResponseSchema, deletePaymentConfigBankTransferInputSchema, deletePaymentConfigBankTransferResponseSchema, deletePaymentConfigCashInputSchema, deletePaymentConfigCashResponseSchema, deletePaymentConfigCreditCardInputSchema, deletePaymentConfigCreditCardResponseSchema, deletePaymentConfigInputSchema, deletePaymentConfigResponseSchema, deletePaymentConfigStripeInputSchema, deletePaymentConfigStripeResponseSchema, deletePaymentConfigTicketInputSchema, deletePaymentConfigTicketResponseSchema, deletePaymentInputSchema, deletePaymentResponseSchema, disablePaymentConfigInputSchema, disablePaymentConfigResponseSchema, getPaymentConfigBankTransferDetailsInputSchema, getPaymentConfigBankTransferDetailsResponseSchema, getPaymentConfigBankTransferListInputSchema, getPaymentConfigBankTransferListResponseSchema, getPaymentConfigCashDetailsInputSchema, getPaymentConfigCashDetailsResponseSchema, getPaymentConfigCashListInputSchema, getPaymentConfigCashListResponseSchema, getPaymentConfigCreditCardDetailsInputSchema, getPaymentConfigCreditCardDetailsResponseSchema, getPaymentConfigCreditCardListInputSchema, getPaymentConfigCreditCardListResponseSchema, getPaymentConfigDetailsInputSchema, getPaymentConfigDetailsResponseSchema, getPaymentConfigStripeDetailsInputSchema, getPaymentConfigStripeDetailsResponseSchema, getPaymentConfigStripeListInputSchema, getPaymentConfigStripeListResponseSchema, getPaymentConfigTicketDetailsInputSchema, getPaymentConfigTicketDetailsResponseSchema, getPaymentConfigTicketListInputSchema, getPaymentConfigTicketListResponseSchema, getPaymentConfigsFromPointOfSaleInputSchema, getPaymentConfigsFromPointOfSaleResponseSchema, getPaymentConfigsInputSchema, getPaymentConfigsResponseSchema, getPaymentDetailsInputSchema, getPaymentDetailsResponseSchema, getPaymentInfoInputSchema, getPaymentInfoResponseSchema, getPaymentsForPaymentConfigInputSchema, getPaymentsForPaymentConfigResponseSchema, getPaymentsInputSchema, getPaymentsResponseSchema, paymentConfigBankTransferDetailsSchema, paymentConfigBankTransferIriSchema, paymentConfigBankTransferNullableIriSchema, paymentConfigBankTransferSchema, paymentConfigBaseSchema, paymentConfigCashDetailsSchema, paymentConfigCashIriSchema, paymentConfigCashNullableIriSchema, paymentConfigCashSchema, paymentConfigCreditCardDetailsSchema, paymentConfigCreditCardIriSchema, paymentConfigCreditCardNullableIriSchema, paymentConfigCreditCardSchema, paymentConfigDetailsSchema, paymentConfigIriSchema, paymentConfigNullableIriSchema, paymentConfigSchema, paymentConfigStripeDetailsSchema, paymentConfigStripeIriSchema, paymentConfigStripeNullableIriSchema, paymentConfigStripeSchema, paymentConfigTicketDetailsSchema, paymentConfigTicketIriSchema, paymentConfigTicketNullableIriSchema, paymentConfigTicketSchema, paymentConfigsQuerySchema, paymentDetailsSchema, paymentInfoBankTransferSchema, paymentInfoCashSchema, paymentInfoCreditCardSchema, paymentInfoPlatformSchema, paymentInfoSchema, paymentInfoStripeSchema, paymentInfoTicketSchema, paymentIriSchema, paymentManagementSchema, paymentNullableIriSchema, paymentQuerySchema, paymentSchema, updatePaymentConfigBankTransferInputSchema, updatePaymentConfigBankTransferResponseSchema, updatePaymentConfigStripeInputSchema, updatePaymentConfigStripeResponseSchema, updatePaymentInputSchema, updatePaymentResponseSchema, writablePaymentConfigBankTransferSchema, writablePaymentConfigCashSchema, writablePaymentConfigCreditCardSchema, writablePaymentConfigSchemas, writablePaymentConfigStripeSchema, writablePaymentConfigTicketSchema, writablePaymentSchema };
|