@klappay/types 2.0.2 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +487 -11
- package/dist/index.d.ts +487 -11
- package/dist/index.js +230 -207
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +230 -207
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -136,7 +136,91 @@ declare const CreateChargeSchema: z.ZodObject<{
|
|
|
136
136
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
137
137
|
externalRef: z.ZodOptional<z.ZodString>;
|
|
138
138
|
source: z.ZodOptional<z.ZodString>;
|
|
139
|
-
metadata: z.ZodOptional<z.
|
|
139
|
+
metadata: z.ZodOptional<z.ZodObject<{
|
|
140
|
+
klappay: z.ZodOptional<z.ZodObject<{
|
|
141
|
+
products: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
142
|
+
name: z.ZodString;
|
|
143
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
144
|
+
imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
145
|
+
}, "strip", z.ZodTypeAny, {
|
|
146
|
+
name: string;
|
|
147
|
+
quantity?: number | undefined;
|
|
148
|
+
imageUrl?: string | undefined;
|
|
149
|
+
}, {
|
|
150
|
+
name: string;
|
|
151
|
+
quantity?: number | undefined;
|
|
152
|
+
imageUrl?: string | undefined;
|
|
153
|
+
}>, "many">>;
|
|
154
|
+
}, "strip", z.ZodTypeAny, {
|
|
155
|
+
products?: {
|
|
156
|
+
name: string;
|
|
157
|
+
quantity?: number | undefined;
|
|
158
|
+
imageUrl?: string | undefined;
|
|
159
|
+
}[] | undefined;
|
|
160
|
+
}, {
|
|
161
|
+
products?: {
|
|
162
|
+
name: string;
|
|
163
|
+
quantity?: number | undefined;
|
|
164
|
+
imageUrl?: string | undefined;
|
|
165
|
+
}[] | undefined;
|
|
166
|
+
}>>;
|
|
167
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
168
|
+
klappay: z.ZodOptional<z.ZodObject<{
|
|
169
|
+
products: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
170
|
+
name: z.ZodString;
|
|
171
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
172
|
+
imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
name: string;
|
|
175
|
+
quantity?: number | undefined;
|
|
176
|
+
imageUrl?: string | undefined;
|
|
177
|
+
}, {
|
|
178
|
+
name: string;
|
|
179
|
+
quantity?: number | undefined;
|
|
180
|
+
imageUrl?: string | undefined;
|
|
181
|
+
}>, "many">>;
|
|
182
|
+
}, "strip", z.ZodTypeAny, {
|
|
183
|
+
products?: {
|
|
184
|
+
name: string;
|
|
185
|
+
quantity?: number | undefined;
|
|
186
|
+
imageUrl?: string | undefined;
|
|
187
|
+
}[] | undefined;
|
|
188
|
+
}, {
|
|
189
|
+
products?: {
|
|
190
|
+
name: string;
|
|
191
|
+
quantity?: number | undefined;
|
|
192
|
+
imageUrl?: string | undefined;
|
|
193
|
+
}[] | undefined;
|
|
194
|
+
}>>;
|
|
195
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
196
|
+
klappay: z.ZodOptional<z.ZodObject<{
|
|
197
|
+
products: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
198
|
+
name: z.ZodString;
|
|
199
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
200
|
+
imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
201
|
+
}, "strip", z.ZodTypeAny, {
|
|
202
|
+
name: string;
|
|
203
|
+
quantity?: number | undefined;
|
|
204
|
+
imageUrl?: string | undefined;
|
|
205
|
+
}, {
|
|
206
|
+
name: string;
|
|
207
|
+
quantity?: number | undefined;
|
|
208
|
+
imageUrl?: string | undefined;
|
|
209
|
+
}>, "many">>;
|
|
210
|
+
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
products?: {
|
|
212
|
+
name: string;
|
|
213
|
+
quantity?: number | undefined;
|
|
214
|
+
imageUrl?: string | undefined;
|
|
215
|
+
}[] | undefined;
|
|
216
|
+
}, {
|
|
217
|
+
products?: {
|
|
218
|
+
name: string;
|
|
219
|
+
quantity?: number | undefined;
|
|
220
|
+
imageUrl?: string | undefined;
|
|
221
|
+
}[] | undefined;
|
|
222
|
+
}>>;
|
|
223
|
+
}, z.ZodUnknown, "strip">>>;
|
|
140
224
|
redirectUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
141
225
|
splitRecipients: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
142
226
|
address: z.ZodString;
|
|
@@ -170,7 +254,35 @@ declare const CreateChargeSchema: z.ZodObject<{
|
|
|
170
254
|
idempotencyKey?: string | undefined;
|
|
171
255
|
externalRef?: string | undefined;
|
|
172
256
|
source?: string | undefined;
|
|
173
|
-
metadata?:
|
|
257
|
+
metadata?: z.objectOutputType<{
|
|
258
|
+
klappay: z.ZodOptional<z.ZodObject<{
|
|
259
|
+
products: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
260
|
+
name: z.ZodString;
|
|
261
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
262
|
+
imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
263
|
+
}, "strip", z.ZodTypeAny, {
|
|
264
|
+
name: string;
|
|
265
|
+
quantity?: number | undefined;
|
|
266
|
+
imageUrl?: string | undefined;
|
|
267
|
+
}, {
|
|
268
|
+
name: string;
|
|
269
|
+
quantity?: number | undefined;
|
|
270
|
+
imageUrl?: string | undefined;
|
|
271
|
+
}>, "many">>;
|
|
272
|
+
}, "strip", z.ZodTypeAny, {
|
|
273
|
+
products?: {
|
|
274
|
+
name: string;
|
|
275
|
+
quantity?: number | undefined;
|
|
276
|
+
imageUrl?: string | undefined;
|
|
277
|
+
}[] | undefined;
|
|
278
|
+
}, {
|
|
279
|
+
products?: {
|
|
280
|
+
name: string;
|
|
281
|
+
quantity?: number | undefined;
|
|
282
|
+
imageUrl?: string | undefined;
|
|
283
|
+
}[] | undefined;
|
|
284
|
+
}>>;
|
|
285
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
174
286
|
redirectUrl?: string | undefined;
|
|
175
287
|
splitRecipients?: {
|
|
176
288
|
address: string;
|
|
@@ -188,7 +300,35 @@ declare const CreateChargeSchema: z.ZodObject<{
|
|
|
188
300
|
idempotencyKey?: string | undefined;
|
|
189
301
|
externalRef?: string | undefined;
|
|
190
302
|
source?: string | undefined;
|
|
191
|
-
metadata?:
|
|
303
|
+
metadata?: z.objectInputType<{
|
|
304
|
+
klappay: z.ZodOptional<z.ZodObject<{
|
|
305
|
+
products: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
306
|
+
name: z.ZodString;
|
|
307
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
308
|
+
imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
309
|
+
}, "strip", z.ZodTypeAny, {
|
|
310
|
+
name: string;
|
|
311
|
+
quantity?: number | undefined;
|
|
312
|
+
imageUrl?: string | undefined;
|
|
313
|
+
}, {
|
|
314
|
+
name: string;
|
|
315
|
+
quantity?: number | undefined;
|
|
316
|
+
imageUrl?: string | undefined;
|
|
317
|
+
}>, "many">>;
|
|
318
|
+
}, "strip", z.ZodTypeAny, {
|
|
319
|
+
products?: {
|
|
320
|
+
name: string;
|
|
321
|
+
quantity?: number | undefined;
|
|
322
|
+
imageUrl?: string | undefined;
|
|
323
|
+
}[] | undefined;
|
|
324
|
+
}, {
|
|
325
|
+
products?: {
|
|
326
|
+
name: string;
|
|
327
|
+
quantity?: number | undefined;
|
|
328
|
+
imageUrl?: string | undefined;
|
|
329
|
+
}[] | undefined;
|
|
330
|
+
}>>;
|
|
331
|
+
}, z.ZodUnknown, "strip"> | undefined;
|
|
192
332
|
redirectUrl?: string | undefined;
|
|
193
333
|
splitRecipients?: {
|
|
194
334
|
address: string;
|
|
@@ -232,7 +372,91 @@ declare const ChargeSchema: z.ZodObject<{
|
|
|
232
372
|
txHash: z.ZodNullable<z.ZodString>;
|
|
233
373
|
externalRef: z.ZodNullable<z.ZodString>;
|
|
234
374
|
source: z.ZodNullable<z.ZodString>;
|
|
235
|
-
metadata: z.ZodNullable<z.
|
|
375
|
+
metadata: z.ZodNullable<z.ZodObject<{
|
|
376
|
+
klappay: z.ZodOptional<z.ZodObject<{
|
|
377
|
+
products: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
378
|
+
name: z.ZodString;
|
|
379
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
380
|
+
imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
381
|
+
}, "strip", z.ZodTypeAny, {
|
|
382
|
+
name: string;
|
|
383
|
+
quantity?: number | undefined;
|
|
384
|
+
imageUrl?: string | undefined;
|
|
385
|
+
}, {
|
|
386
|
+
name: string;
|
|
387
|
+
quantity?: number | undefined;
|
|
388
|
+
imageUrl?: string | undefined;
|
|
389
|
+
}>, "many">>;
|
|
390
|
+
}, "strip", z.ZodTypeAny, {
|
|
391
|
+
products?: {
|
|
392
|
+
name: string;
|
|
393
|
+
quantity?: number | undefined;
|
|
394
|
+
imageUrl?: string | undefined;
|
|
395
|
+
}[] | undefined;
|
|
396
|
+
}, {
|
|
397
|
+
products?: {
|
|
398
|
+
name: string;
|
|
399
|
+
quantity?: number | undefined;
|
|
400
|
+
imageUrl?: string | undefined;
|
|
401
|
+
}[] | undefined;
|
|
402
|
+
}>>;
|
|
403
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
404
|
+
klappay: z.ZodOptional<z.ZodObject<{
|
|
405
|
+
products: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
406
|
+
name: z.ZodString;
|
|
407
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
408
|
+
imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
409
|
+
}, "strip", z.ZodTypeAny, {
|
|
410
|
+
name: string;
|
|
411
|
+
quantity?: number | undefined;
|
|
412
|
+
imageUrl?: string | undefined;
|
|
413
|
+
}, {
|
|
414
|
+
name: string;
|
|
415
|
+
quantity?: number | undefined;
|
|
416
|
+
imageUrl?: string | undefined;
|
|
417
|
+
}>, "many">>;
|
|
418
|
+
}, "strip", z.ZodTypeAny, {
|
|
419
|
+
products?: {
|
|
420
|
+
name: string;
|
|
421
|
+
quantity?: number | undefined;
|
|
422
|
+
imageUrl?: string | undefined;
|
|
423
|
+
}[] | undefined;
|
|
424
|
+
}, {
|
|
425
|
+
products?: {
|
|
426
|
+
name: string;
|
|
427
|
+
quantity?: number | undefined;
|
|
428
|
+
imageUrl?: string | undefined;
|
|
429
|
+
}[] | undefined;
|
|
430
|
+
}>>;
|
|
431
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
432
|
+
klappay: z.ZodOptional<z.ZodObject<{
|
|
433
|
+
products: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
434
|
+
name: z.ZodString;
|
|
435
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
436
|
+
imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
437
|
+
}, "strip", z.ZodTypeAny, {
|
|
438
|
+
name: string;
|
|
439
|
+
quantity?: number | undefined;
|
|
440
|
+
imageUrl?: string | undefined;
|
|
441
|
+
}, {
|
|
442
|
+
name: string;
|
|
443
|
+
quantity?: number | undefined;
|
|
444
|
+
imageUrl?: string | undefined;
|
|
445
|
+
}>, "many">>;
|
|
446
|
+
}, "strip", z.ZodTypeAny, {
|
|
447
|
+
products?: {
|
|
448
|
+
name: string;
|
|
449
|
+
quantity?: number | undefined;
|
|
450
|
+
imageUrl?: string | undefined;
|
|
451
|
+
}[] | undefined;
|
|
452
|
+
}, {
|
|
453
|
+
products?: {
|
|
454
|
+
name: string;
|
|
455
|
+
quantity?: number | undefined;
|
|
456
|
+
imageUrl?: string | undefined;
|
|
457
|
+
}[] | undefined;
|
|
458
|
+
}>>;
|
|
459
|
+
}, z.ZodUnknown, "strip">>>;
|
|
236
460
|
redirectUrl: z.ZodNullable<z.ZodString>;
|
|
237
461
|
checkoutUrl: z.ZodNullable<z.ZodString>;
|
|
238
462
|
splitRecipients: z.ZodArray<z.ZodObject<{
|
|
@@ -264,7 +488,35 @@ declare const ChargeSchema: z.ZodObject<{
|
|
|
264
488
|
}[];
|
|
265
489
|
externalRef: string | null;
|
|
266
490
|
source: string | null;
|
|
267
|
-
metadata:
|
|
491
|
+
metadata: z.objectOutputType<{
|
|
492
|
+
klappay: z.ZodOptional<z.ZodObject<{
|
|
493
|
+
products: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
494
|
+
name: z.ZodString;
|
|
495
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
496
|
+
imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
497
|
+
}, "strip", z.ZodTypeAny, {
|
|
498
|
+
name: string;
|
|
499
|
+
quantity?: number | undefined;
|
|
500
|
+
imageUrl?: string | undefined;
|
|
501
|
+
}, {
|
|
502
|
+
name: string;
|
|
503
|
+
quantity?: number | undefined;
|
|
504
|
+
imageUrl?: string | undefined;
|
|
505
|
+
}>, "many">>;
|
|
506
|
+
}, "strip", z.ZodTypeAny, {
|
|
507
|
+
products?: {
|
|
508
|
+
name: string;
|
|
509
|
+
quantity?: number | undefined;
|
|
510
|
+
imageUrl?: string | undefined;
|
|
511
|
+
}[] | undefined;
|
|
512
|
+
}, {
|
|
513
|
+
products?: {
|
|
514
|
+
name: string;
|
|
515
|
+
quantity?: number | undefined;
|
|
516
|
+
imageUrl?: string | undefined;
|
|
517
|
+
}[] | undefined;
|
|
518
|
+
}>>;
|
|
519
|
+
}, z.ZodUnknown, "strip"> | null;
|
|
268
520
|
redirectUrl: string | null;
|
|
269
521
|
splitRecipients: {
|
|
270
522
|
address: string;
|
|
@@ -299,7 +551,35 @@ declare const ChargeSchema: z.ZodObject<{
|
|
|
299
551
|
}[];
|
|
300
552
|
externalRef: string | null;
|
|
301
553
|
source: string | null;
|
|
302
|
-
metadata:
|
|
554
|
+
metadata: z.objectInputType<{
|
|
555
|
+
klappay: z.ZodOptional<z.ZodObject<{
|
|
556
|
+
products: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
557
|
+
name: z.ZodString;
|
|
558
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
559
|
+
imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
560
|
+
}, "strip", z.ZodTypeAny, {
|
|
561
|
+
name: string;
|
|
562
|
+
quantity?: number | undefined;
|
|
563
|
+
imageUrl?: string | undefined;
|
|
564
|
+
}, {
|
|
565
|
+
name: string;
|
|
566
|
+
quantity?: number | undefined;
|
|
567
|
+
imageUrl?: string | undefined;
|
|
568
|
+
}>, "many">>;
|
|
569
|
+
}, "strip", z.ZodTypeAny, {
|
|
570
|
+
products?: {
|
|
571
|
+
name: string;
|
|
572
|
+
quantity?: number | undefined;
|
|
573
|
+
imageUrl?: string | undefined;
|
|
574
|
+
}[] | undefined;
|
|
575
|
+
}, {
|
|
576
|
+
products?: {
|
|
577
|
+
name: string;
|
|
578
|
+
quantity?: number | undefined;
|
|
579
|
+
imageUrl?: string | undefined;
|
|
580
|
+
}[] | undefined;
|
|
581
|
+
}>>;
|
|
582
|
+
}, z.ZodUnknown, "strip"> | null;
|
|
303
583
|
redirectUrl: string | null;
|
|
304
584
|
splitRecipients: {
|
|
305
585
|
address: string;
|
|
@@ -391,7 +671,91 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
391
671
|
txHash: z.ZodNullable<z.ZodString>;
|
|
392
672
|
externalRef: z.ZodNullable<z.ZodString>;
|
|
393
673
|
source: z.ZodNullable<z.ZodString>;
|
|
394
|
-
metadata: z.ZodNullable<z.
|
|
674
|
+
metadata: z.ZodNullable<z.ZodObject<{
|
|
675
|
+
klappay: z.ZodOptional<z.ZodObject<{
|
|
676
|
+
products: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
677
|
+
name: z.ZodString;
|
|
678
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
679
|
+
imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
680
|
+
}, "strip", z.ZodTypeAny, {
|
|
681
|
+
name: string;
|
|
682
|
+
quantity?: number | undefined;
|
|
683
|
+
imageUrl?: string | undefined;
|
|
684
|
+
}, {
|
|
685
|
+
name: string;
|
|
686
|
+
quantity?: number | undefined;
|
|
687
|
+
imageUrl?: string | undefined;
|
|
688
|
+
}>, "many">>;
|
|
689
|
+
}, "strip", z.ZodTypeAny, {
|
|
690
|
+
products?: {
|
|
691
|
+
name: string;
|
|
692
|
+
quantity?: number | undefined;
|
|
693
|
+
imageUrl?: string | undefined;
|
|
694
|
+
}[] | undefined;
|
|
695
|
+
}, {
|
|
696
|
+
products?: {
|
|
697
|
+
name: string;
|
|
698
|
+
quantity?: number | undefined;
|
|
699
|
+
imageUrl?: string | undefined;
|
|
700
|
+
}[] | undefined;
|
|
701
|
+
}>>;
|
|
702
|
+
}, "strip", z.ZodUnknown, z.objectOutputType<{
|
|
703
|
+
klappay: z.ZodOptional<z.ZodObject<{
|
|
704
|
+
products: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
705
|
+
name: z.ZodString;
|
|
706
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
707
|
+
imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
708
|
+
}, "strip", z.ZodTypeAny, {
|
|
709
|
+
name: string;
|
|
710
|
+
quantity?: number | undefined;
|
|
711
|
+
imageUrl?: string | undefined;
|
|
712
|
+
}, {
|
|
713
|
+
name: string;
|
|
714
|
+
quantity?: number | undefined;
|
|
715
|
+
imageUrl?: string | undefined;
|
|
716
|
+
}>, "many">>;
|
|
717
|
+
}, "strip", z.ZodTypeAny, {
|
|
718
|
+
products?: {
|
|
719
|
+
name: string;
|
|
720
|
+
quantity?: number | undefined;
|
|
721
|
+
imageUrl?: string | undefined;
|
|
722
|
+
}[] | undefined;
|
|
723
|
+
}, {
|
|
724
|
+
products?: {
|
|
725
|
+
name: string;
|
|
726
|
+
quantity?: number | undefined;
|
|
727
|
+
imageUrl?: string | undefined;
|
|
728
|
+
}[] | undefined;
|
|
729
|
+
}>>;
|
|
730
|
+
}, z.ZodUnknown, "strip">, z.objectInputType<{
|
|
731
|
+
klappay: z.ZodOptional<z.ZodObject<{
|
|
732
|
+
products: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
733
|
+
name: z.ZodString;
|
|
734
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
735
|
+
imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
736
|
+
}, "strip", z.ZodTypeAny, {
|
|
737
|
+
name: string;
|
|
738
|
+
quantity?: number | undefined;
|
|
739
|
+
imageUrl?: string | undefined;
|
|
740
|
+
}, {
|
|
741
|
+
name: string;
|
|
742
|
+
quantity?: number | undefined;
|
|
743
|
+
imageUrl?: string | undefined;
|
|
744
|
+
}>, "many">>;
|
|
745
|
+
}, "strip", z.ZodTypeAny, {
|
|
746
|
+
products?: {
|
|
747
|
+
name: string;
|
|
748
|
+
quantity?: number | undefined;
|
|
749
|
+
imageUrl?: string | undefined;
|
|
750
|
+
}[] | undefined;
|
|
751
|
+
}, {
|
|
752
|
+
products?: {
|
|
753
|
+
name: string;
|
|
754
|
+
quantity?: number | undefined;
|
|
755
|
+
imageUrl?: string | undefined;
|
|
756
|
+
}[] | undefined;
|
|
757
|
+
}>>;
|
|
758
|
+
}, z.ZodUnknown, "strip">>>;
|
|
395
759
|
redirectUrl: z.ZodNullable<z.ZodString>;
|
|
396
760
|
checkoutUrl: z.ZodNullable<z.ZodString>;
|
|
397
761
|
splitRecipients: z.ZodArray<z.ZodObject<{
|
|
@@ -423,7 +787,35 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
423
787
|
}[];
|
|
424
788
|
externalRef: string | null;
|
|
425
789
|
source: string | null;
|
|
426
|
-
metadata:
|
|
790
|
+
metadata: z.objectOutputType<{
|
|
791
|
+
klappay: z.ZodOptional<z.ZodObject<{
|
|
792
|
+
products: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
793
|
+
name: z.ZodString;
|
|
794
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
795
|
+
imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
796
|
+
}, "strip", z.ZodTypeAny, {
|
|
797
|
+
name: string;
|
|
798
|
+
quantity?: number | undefined;
|
|
799
|
+
imageUrl?: string | undefined;
|
|
800
|
+
}, {
|
|
801
|
+
name: string;
|
|
802
|
+
quantity?: number | undefined;
|
|
803
|
+
imageUrl?: string | undefined;
|
|
804
|
+
}>, "many">>;
|
|
805
|
+
}, "strip", z.ZodTypeAny, {
|
|
806
|
+
products?: {
|
|
807
|
+
name: string;
|
|
808
|
+
quantity?: number | undefined;
|
|
809
|
+
imageUrl?: string | undefined;
|
|
810
|
+
}[] | undefined;
|
|
811
|
+
}, {
|
|
812
|
+
products?: {
|
|
813
|
+
name: string;
|
|
814
|
+
quantity?: number | undefined;
|
|
815
|
+
imageUrl?: string | undefined;
|
|
816
|
+
}[] | undefined;
|
|
817
|
+
}>>;
|
|
818
|
+
}, z.ZodUnknown, "strip"> | null;
|
|
427
819
|
redirectUrl: string | null;
|
|
428
820
|
splitRecipients: {
|
|
429
821
|
address: string;
|
|
@@ -458,7 +850,35 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
458
850
|
}[];
|
|
459
851
|
externalRef: string | null;
|
|
460
852
|
source: string | null;
|
|
461
|
-
metadata:
|
|
853
|
+
metadata: z.objectInputType<{
|
|
854
|
+
klappay: z.ZodOptional<z.ZodObject<{
|
|
855
|
+
products: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
856
|
+
name: z.ZodString;
|
|
857
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
858
|
+
imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
859
|
+
}, "strip", z.ZodTypeAny, {
|
|
860
|
+
name: string;
|
|
861
|
+
quantity?: number | undefined;
|
|
862
|
+
imageUrl?: string | undefined;
|
|
863
|
+
}, {
|
|
864
|
+
name: string;
|
|
865
|
+
quantity?: number | undefined;
|
|
866
|
+
imageUrl?: string | undefined;
|
|
867
|
+
}>, "many">>;
|
|
868
|
+
}, "strip", z.ZodTypeAny, {
|
|
869
|
+
products?: {
|
|
870
|
+
name: string;
|
|
871
|
+
quantity?: number | undefined;
|
|
872
|
+
imageUrl?: string | undefined;
|
|
873
|
+
}[] | undefined;
|
|
874
|
+
}, {
|
|
875
|
+
products?: {
|
|
876
|
+
name: string;
|
|
877
|
+
quantity?: number | undefined;
|
|
878
|
+
imageUrl?: string | undefined;
|
|
879
|
+
}[] | undefined;
|
|
880
|
+
}>>;
|
|
881
|
+
}, z.ZodUnknown, "strip"> | null;
|
|
462
882
|
redirectUrl: string | null;
|
|
463
883
|
splitRecipients: {
|
|
464
884
|
address: string;
|
|
@@ -497,7 +917,35 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
497
917
|
}[];
|
|
498
918
|
externalRef: string | null;
|
|
499
919
|
source: string | null;
|
|
500
|
-
metadata:
|
|
920
|
+
metadata: z.objectOutputType<{
|
|
921
|
+
klappay: z.ZodOptional<z.ZodObject<{
|
|
922
|
+
products: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
923
|
+
name: z.ZodString;
|
|
924
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
925
|
+
imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
926
|
+
}, "strip", z.ZodTypeAny, {
|
|
927
|
+
name: string;
|
|
928
|
+
quantity?: number | undefined;
|
|
929
|
+
imageUrl?: string | undefined;
|
|
930
|
+
}, {
|
|
931
|
+
name: string;
|
|
932
|
+
quantity?: number | undefined;
|
|
933
|
+
imageUrl?: string | undefined;
|
|
934
|
+
}>, "many">>;
|
|
935
|
+
}, "strip", z.ZodTypeAny, {
|
|
936
|
+
products?: {
|
|
937
|
+
name: string;
|
|
938
|
+
quantity?: number | undefined;
|
|
939
|
+
imageUrl?: string | undefined;
|
|
940
|
+
}[] | undefined;
|
|
941
|
+
}, {
|
|
942
|
+
products?: {
|
|
943
|
+
name: string;
|
|
944
|
+
quantity?: number | undefined;
|
|
945
|
+
imageUrl?: string | undefined;
|
|
946
|
+
}[] | undefined;
|
|
947
|
+
}>>;
|
|
948
|
+
}, z.ZodUnknown, "strip"> | null;
|
|
501
949
|
redirectUrl: string | null;
|
|
502
950
|
splitRecipients: {
|
|
503
951
|
address: string;
|
|
@@ -536,7 +984,35 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
536
984
|
}[];
|
|
537
985
|
externalRef: string | null;
|
|
538
986
|
source: string | null;
|
|
539
|
-
metadata:
|
|
987
|
+
metadata: z.objectInputType<{
|
|
988
|
+
klappay: z.ZodOptional<z.ZodObject<{
|
|
989
|
+
products: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
990
|
+
name: z.ZodString;
|
|
991
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
992
|
+
imageUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
993
|
+
}, "strip", z.ZodTypeAny, {
|
|
994
|
+
name: string;
|
|
995
|
+
quantity?: number | undefined;
|
|
996
|
+
imageUrl?: string | undefined;
|
|
997
|
+
}, {
|
|
998
|
+
name: string;
|
|
999
|
+
quantity?: number | undefined;
|
|
1000
|
+
imageUrl?: string | undefined;
|
|
1001
|
+
}>, "many">>;
|
|
1002
|
+
}, "strip", z.ZodTypeAny, {
|
|
1003
|
+
products?: {
|
|
1004
|
+
name: string;
|
|
1005
|
+
quantity?: number | undefined;
|
|
1006
|
+
imageUrl?: string | undefined;
|
|
1007
|
+
}[] | undefined;
|
|
1008
|
+
}, {
|
|
1009
|
+
products?: {
|
|
1010
|
+
name: string;
|
|
1011
|
+
quantity?: number | undefined;
|
|
1012
|
+
imageUrl?: string | undefined;
|
|
1013
|
+
}[] | undefined;
|
|
1014
|
+
}>>;
|
|
1015
|
+
}, z.ZodUnknown, "strip"> | null;
|
|
540
1016
|
redirectUrl: string | null;
|
|
541
1017
|
splitRecipients: {
|
|
542
1018
|
address: string;
|