@klappay/types 2.0.1 → 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/README.md +5 -1
- package/dist/index.d.mts +596 -18
- package/dist/index.d.ts +596 -18
- package/dist/index.js +256 -201
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +254 -201
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -97,6 +97,21 @@ declare const AcceptedPaymentSchema: z.ZodObject<{
|
|
|
97
97
|
network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
|
|
98
98
|
}>;
|
|
99
99
|
type AcceptedPayment = z.infer<typeof AcceptedPaymentSchema>;
|
|
100
|
+
declare const CHARGE_SPLIT_RECIPIENTS_MAX = 5;
|
|
101
|
+
declare const SplitRecipientSchema: z.ZodObject<{
|
|
102
|
+
address: z.ZodString;
|
|
103
|
+
percent: z.ZodNumber;
|
|
104
|
+
label: z.ZodOptional<z.ZodString>;
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
address: string;
|
|
107
|
+
percent: number;
|
|
108
|
+
label?: string | undefined;
|
|
109
|
+
}, {
|
|
110
|
+
address: string;
|
|
111
|
+
percent: number;
|
|
112
|
+
label?: string | undefined;
|
|
113
|
+
}>;
|
|
114
|
+
type SplitRecipient = z.infer<typeof SplitRecipientSchema>;
|
|
100
115
|
declare const CHARGE_AMOUNT_MAX = 999999999999;
|
|
101
116
|
declare const CreateChargeSchema: z.ZodObject<{
|
|
102
117
|
amount: z.ZodNumber;
|
|
@@ -121,8 +136,113 @@ declare const CreateChargeSchema: z.ZodObject<{
|
|
|
121
136
|
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
122
137
|
externalRef: z.ZodOptional<z.ZodString>;
|
|
123
138
|
source: z.ZodOptional<z.ZodString>;
|
|
124
|
-
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">>>;
|
|
125
224
|
redirectUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
225
|
+
splitRecipients: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
226
|
+
address: z.ZodString;
|
|
227
|
+
percent: z.ZodNumber;
|
|
228
|
+
label: z.ZodOptional<z.ZodString>;
|
|
229
|
+
}, "strip", z.ZodTypeAny, {
|
|
230
|
+
address: string;
|
|
231
|
+
percent: number;
|
|
232
|
+
label?: string | undefined;
|
|
233
|
+
}, {
|
|
234
|
+
address: string;
|
|
235
|
+
percent: number;
|
|
236
|
+
label?: string | undefined;
|
|
237
|
+
}>, "many">, {
|
|
238
|
+
address: string;
|
|
239
|
+
percent: number;
|
|
240
|
+
label?: string | undefined;
|
|
241
|
+
}[], {
|
|
242
|
+
address: string;
|
|
243
|
+
percent: number;
|
|
244
|
+
label?: string | undefined;
|
|
245
|
+
}[]>>;
|
|
126
246
|
}, "strip", z.ZodTypeAny, {
|
|
127
247
|
amount: number;
|
|
128
248
|
currency: "USD";
|
|
@@ -134,8 +254,41 @@ declare const CreateChargeSchema: z.ZodObject<{
|
|
|
134
254
|
idempotencyKey?: string | undefined;
|
|
135
255
|
externalRef?: string | undefined;
|
|
136
256
|
source?: string | undefined;
|
|
137
|
-
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;
|
|
138
286
|
redirectUrl?: string | undefined;
|
|
287
|
+
splitRecipients?: {
|
|
288
|
+
address: string;
|
|
289
|
+
percent: number;
|
|
290
|
+
label?: string | undefined;
|
|
291
|
+
}[] | undefined;
|
|
139
292
|
}, {
|
|
140
293
|
amount: number;
|
|
141
294
|
acceptedPayments: {
|
|
@@ -147,8 +300,41 @@ declare const CreateChargeSchema: z.ZodObject<{
|
|
|
147
300
|
idempotencyKey?: string | undefined;
|
|
148
301
|
externalRef?: string | undefined;
|
|
149
302
|
source?: string | undefined;
|
|
150
|
-
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;
|
|
151
332
|
redirectUrl?: string | undefined;
|
|
333
|
+
splitRecipients?: {
|
|
334
|
+
address: string;
|
|
335
|
+
percent: number;
|
|
336
|
+
label?: string | undefined;
|
|
337
|
+
}[] | undefined;
|
|
152
338
|
}>;
|
|
153
339
|
type CreateChargeInput = z.infer<typeof CreateChargeSchema>;
|
|
154
340
|
type CreateChargeRequest = z.input<typeof CreateChargeSchema>;
|
|
@@ -186,9 +372,106 @@ declare const ChargeSchema: z.ZodObject<{
|
|
|
186
372
|
txHash: z.ZodNullable<z.ZodString>;
|
|
187
373
|
externalRef: z.ZodNullable<z.ZodString>;
|
|
188
374
|
source: z.ZodNullable<z.ZodString>;
|
|
189
|
-
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">>>;
|
|
190
460
|
redirectUrl: z.ZodNullable<z.ZodString>;
|
|
191
461
|
checkoutUrl: z.ZodNullable<z.ZodString>;
|
|
462
|
+
splitRecipients: z.ZodArray<z.ZodObject<{
|
|
463
|
+
address: z.ZodString;
|
|
464
|
+
percent: z.ZodNumber;
|
|
465
|
+
label: z.ZodOptional<z.ZodString>;
|
|
466
|
+
}, "strip", z.ZodTypeAny, {
|
|
467
|
+
address: string;
|
|
468
|
+
percent: number;
|
|
469
|
+
label?: string | undefined;
|
|
470
|
+
}, {
|
|
471
|
+
address: string;
|
|
472
|
+
percent: number;
|
|
473
|
+
label?: string | undefined;
|
|
474
|
+
}>, "many">;
|
|
192
475
|
createdAt: z.ZodString;
|
|
193
476
|
expiresAt: z.ZodString;
|
|
194
477
|
confirmedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -196,6 +479,7 @@ declare const ChargeSchema: z.ZodObject<{
|
|
|
196
479
|
lastActivityAt: z.ZodString;
|
|
197
480
|
}, "strip", z.ZodTypeAny, {
|
|
198
481
|
status: "pending" | "partially_paid" | "confirmed" | "expired" | "underpaid";
|
|
482
|
+
address: string;
|
|
199
483
|
amount: number;
|
|
200
484
|
currency: string;
|
|
201
485
|
acceptedPayments: {
|
|
@@ -204,8 +488,41 @@ declare const ChargeSchema: z.ZodObject<{
|
|
|
204
488
|
}[];
|
|
205
489
|
externalRef: string | null;
|
|
206
490
|
source: string | null;
|
|
207
|
-
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;
|
|
208
520
|
redirectUrl: string | null;
|
|
521
|
+
splitRecipients: {
|
|
522
|
+
address: string;
|
|
523
|
+
percent: number;
|
|
524
|
+
label?: string | undefined;
|
|
525
|
+
}[];
|
|
209
526
|
id: string;
|
|
210
527
|
amountReceived: number | null;
|
|
211
528
|
isOverpaid: boolean;
|
|
@@ -213,7 +530,6 @@ declare const ChargeSchema: z.ZodObject<{
|
|
|
213
530
|
token: "USDC" | "USDT";
|
|
214
531
|
network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
|
|
215
532
|
}[];
|
|
216
|
-
address: string;
|
|
217
533
|
settlementStatus: "pending" | "completed" | "failed" | null;
|
|
218
534
|
environment: "live" | "test";
|
|
219
535
|
apiKeyId: string | null;
|
|
@@ -226,6 +542,7 @@ declare const ChargeSchema: z.ZodObject<{
|
|
|
226
542
|
lastActivityAt: string;
|
|
227
543
|
}, {
|
|
228
544
|
status: "pending" | "partially_paid" | "confirmed" | "expired" | "underpaid";
|
|
545
|
+
address: string;
|
|
229
546
|
amount: number;
|
|
230
547
|
currency: string;
|
|
231
548
|
acceptedPayments: {
|
|
@@ -234,8 +551,41 @@ declare const ChargeSchema: z.ZodObject<{
|
|
|
234
551
|
}[];
|
|
235
552
|
externalRef: string | null;
|
|
236
553
|
source: string | null;
|
|
237
|
-
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;
|
|
238
583
|
redirectUrl: string | null;
|
|
584
|
+
splitRecipients: {
|
|
585
|
+
address: string;
|
|
586
|
+
percent: number;
|
|
587
|
+
label?: string | undefined;
|
|
588
|
+
}[];
|
|
239
589
|
id: string;
|
|
240
590
|
amountReceived: number | null;
|
|
241
591
|
isOverpaid: boolean;
|
|
@@ -243,7 +593,6 @@ declare const ChargeSchema: z.ZodObject<{
|
|
|
243
593
|
token: "USDC" | "USDT";
|
|
244
594
|
network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
|
|
245
595
|
}[];
|
|
246
|
-
address: string;
|
|
247
596
|
settlementStatus: "pending" | "completed" | "failed" | null;
|
|
248
597
|
environment: "live" | "test";
|
|
249
598
|
apiKeyId: string | null;
|
|
@@ -322,9 +671,106 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
322
671
|
txHash: z.ZodNullable<z.ZodString>;
|
|
323
672
|
externalRef: z.ZodNullable<z.ZodString>;
|
|
324
673
|
source: z.ZodNullable<z.ZodString>;
|
|
325
|
-
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">>>;
|
|
326
759
|
redirectUrl: z.ZodNullable<z.ZodString>;
|
|
327
760
|
checkoutUrl: z.ZodNullable<z.ZodString>;
|
|
761
|
+
splitRecipients: z.ZodArray<z.ZodObject<{
|
|
762
|
+
address: z.ZodString;
|
|
763
|
+
percent: z.ZodNumber;
|
|
764
|
+
label: z.ZodOptional<z.ZodString>;
|
|
765
|
+
}, "strip", z.ZodTypeAny, {
|
|
766
|
+
address: string;
|
|
767
|
+
percent: number;
|
|
768
|
+
label?: string | undefined;
|
|
769
|
+
}, {
|
|
770
|
+
address: string;
|
|
771
|
+
percent: number;
|
|
772
|
+
label?: string | undefined;
|
|
773
|
+
}>, "many">;
|
|
328
774
|
createdAt: z.ZodString;
|
|
329
775
|
expiresAt: z.ZodString;
|
|
330
776
|
confirmedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -332,6 +778,7 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
332
778
|
lastActivityAt: z.ZodString;
|
|
333
779
|
}, "strip", z.ZodTypeAny, {
|
|
334
780
|
status: "pending" | "partially_paid" | "confirmed" | "expired" | "underpaid";
|
|
781
|
+
address: string;
|
|
335
782
|
amount: number;
|
|
336
783
|
currency: string;
|
|
337
784
|
acceptedPayments: {
|
|
@@ -340,8 +787,41 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
340
787
|
}[];
|
|
341
788
|
externalRef: string | null;
|
|
342
789
|
source: string | null;
|
|
343
|
-
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;
|
|
344
819
|
redirectUrl: string | null;
|
|
820
|
+
splitRecipients: {
|
|
821
|
+
address: string;
|
|
822
|
+
percent: number;
|
|
823
|
+
label?: string | undefined;
|
|
824
|
+
}[];
|
|
345
825
|
id: string;
|
|
346
826
|
amountReceived: number | null;
|
|
347
827
|
isOverpaid: boolean;
|
|
@@ -349,7 +829,6 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
349
829
|
token: "USDC" | "USDT";
|
|
350
830
|
network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
|
|
351
831
|
}[];
|
|
352
|
-
address: string;
|
|
353
832
|
settlementStatus: "pending" | "completed" | "failed" | null;
|
|
354
833
|
environment: "live" | "test";
|
|
355
834
|
apiKeyId: string | null;
|
|
@@ -362,6 +841,7 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
362
841
|
lastActivityAt: string;
|
|
363
842
|
}, {
|
|
364
843
|
status: "pending" | "partially_paid" | "confirmed" | "expired" | "underpaid";
|
|
844
|
+
address: string;
|
|
365
845
|
amount: number;
|
|
366
846
|
currency: string;
|
|
367
847
|
acceptedPayments: {
|
|
@@ -370,8 +850,41 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
370
850
|
}[];
|
|
371
851
|
externalRef: string | null;
|
|
372
852
|
source: string | null;
|
|
373
|
-
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;
|
|
374
882
|
redirectUrl: string | null;
|
|
883
|
+
splitRecipients: {
|
|
884
|
+
address: string;
|
|
885
|
+
percent: number;
|
|
886
|
+
label?: string | undefined;
|
|
887
|
+
}[];
|
|
375
888
|
id: string;
|
|
376
889
|
amountReceived: number | null;
|
|
377
890
|
isOverpaid: boolean;
|
|
@@ -379,7 +892,6 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
379
892
|
token: "USDC" | "USDT";
|
|
380
893
|
network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
|
|
381
894
|
}[];
|
|
382
|
-
address: string;
|
|
383
895
|
settlementStatus: "pending" | "completed" | "failed" | null;
|
|
384
896
|
environment: "live" | "test";
|
|
385
897
|
apiKeyId: string | null;
|
|
@@ -396,6 +908,7 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
396
908
|
}, "strip", z.ZodTypeAny, {
|
|
397
909
|
data: {
|
|
398
910
|
status: "pending" | "partially_paid" | "confirmed" | "expired" | "underpaid";
|
|
911
|
+
address: string;
|
|
399
912
|
amount: number;
|
|
400
913
|
currency: string;
|
|
401
914
|
acceptedPayments: {
|
|
@@ -404,8 +917,41 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
404
917
|
}[];
|
|
405
918
|
externalRef: string | null;
|
|
406
919
|
source: string | null;
|
|
407
|
-
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;
|
|
408
949
|
redirectUrl: string | null;
|
|
950
|
+
splitRecipients: {
|
|
951
|
+
address: string;
|
|
952
|
+
percent: number;
|
|
953
|
+
label?: string | undefined;
|
|
954
|
+
}[];
|
|
409
955
|
id: string;
|
|
410
956
|
amountReceived: number | null;
|
|
411
957
|
isOverpaid: boolean;
|
|
@@ -413,7 +959,6 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
413
959
|
token: "USDC" | "USDT";
|
|
414
960
|
network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
|
|
415
961
|
}[];
|
|
416
|
-
address: string;
|
|
417
962
|
settlementStatus: "pending" | "completed" | "failed" | null;
|
|
418
963
|
environment: "live" | "test";
|
|
419
964
|
apiKeyId: string | null;
|
|
@@ -430,6 +975,7 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
430
975
|
}, {
|
|
431
976
|
data: {
|
|
432
977
|
status: "pending" | "partially_paid" | "confirmed" | "expired" | "underpaid";
|
|
978
|
+
address: string;
|
|
433
979
|
amount: number;
|
|
434
980
|
currency: string;
|
|
435
981
|
acceptedPayments: {
|
|
@@ -438,8 +984,41 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
438
984
|
}[];
|
|
439
985
|
externalRef: string | null;
|
|
440
986
|
source: string | null;
|
|
441
|
-
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;
|
|
442
1016
|
redirectUrl: string | null;
|
|
1017
|
+
splitRecipients: {
|
|
1018
|
+
address: string;
|
|
1019
|
+
percent: number;
|
|
1020
|
+
label?: string | undefined;
|
|
1021
|
+
}[];
|
|
443
1022
|
id: string;
|
|
444
1023
|
amountReceived: number | null;
|
|
445
1024
|
isOverpaid: boolean;
|
|
@@ -447,7 +1026,6 @@ declare const PaginatedChargesSchema: z.ZodObject<{
|
|
|
447
1026
|
token: "USDC" | "USDT";
|
|
448
1027
|
network: "base" | "optimism" | "polygon" | "ethereum" | "arbitrum" | "avalanche" | "bnb";
|
|
449
1028
|
}[];
|
|
450
|
-
address: string;
|
|
451
1029
|
settlementStatus: "pending" | "completed" | "failed" | null;
|
|
452
1030
|
environment: "live" | "test";
|
|
453
1031
|
apiKeyId: string | null;
|
|
@@ -1745,4 +2323,4 @@ declare const CapabilitiesSchema: z.ZodObject<{
|
|
|
1745
2323
|
}>;
|
|
1746
2324
|
type Capabilities = z.infer<typeof CapabilitiesSchema>;
|
|
1747
2325
|
|
|
1748
|
-
export { API_KEY_SCOPES, type AcceptedPayment, AcceptedPaymentSchema, type ApiKeyScope, ApiKeyScopeSchema, CHARGE_ACCEPTED_PAYMENTS_MAX, CHARGE_AMOUNT_MAX, CHARGE_EXPIRES_IN_MAX_SECONDS, CHARGE_EXPIRES_IN_MIN_SECONDS, type Capabilities, CapabilitiesSchema, type Charge, ChargeSchema, type ChargeStatus, ChargeStatusSchema, ChargeWebhookEventTypeSchema, type ChargesDateField, ChargesDateFieldSchema, type ChargesMetricField, ChargesMetricFieldSchema, type ChargesQueryField, ChargesQueryFieldSchema, type CreateChargeInput, type CreateChargeRequest, CreateChargeSchema, type CreateWebhookInput, type CreateWebhookRequest, CreateWebhookSchema, type DistributionsDateField, DistributionsDateFieldSchema, type DistributionsMetricField, DistributionsMetricFieldSchema, type DistributionsQueryField, DistributionsQueryFieldSchema, EVENT_CATEGORY_MAP, EVM_NETWORKS, type Environment, EnvironmentSchema, type ErrorPayload, ErrorPayloadSchema, type EvmNetwork, type GetChargeQrCodeQuery, type GetChargeQrCodeQueryRequest, GetChargeQrCodeQuerySchema, type Health, HealthSchema, type ListChargesInput, type ListChargesRequest, ListChargesSchema, type ListWebhookDeliveriesInput, type ListWebhookDeliveriesRequest, ListWebhookDeliveriesSchema, type ListenPendingDistributionsQuery, ListenPendingDistributionsQuerySchema, MAX_METRICS_QUERY_DATE_RANGE_DAYS, METRICS_QUERY_DEFAULT_ROW_LIMIT, METRICS_QUERY_MAX_FILTERS, METRICS_QUERY_MAX_GROUP_BY, METRICS_QUERY_MAX_METRICS, METRICS_QUERY_MAX_ROW_LIMIT, type MetricsAggregation, MetricsAggregationSchema, type MetricsDateGranularity, MetricsDateGranularitySchema, type MetricsFilterOperator, MetricsFilterOperatorSchema, type MetricsQuery, type MetricsQueryRequest, type MetricsQueryResult, type MetricsQueryResultRow, MetricsQueryResultRowSchema, MetricsQueryResultSchema, MetricsQuerySchema, type MetricsResource, MetricsResourceSchema, NETWORK_EXPLORERS, NETWORK_LABELS, type Network, NetworkSchema, OPERATIONAL_NETWORKS, type OperationalNetwork, PAGINATION_LIMIT_DEFAULT, PAGINATION_LIMIT_MAX, PAGINATION_LIMIT_MIN, type PaginatedCharges, PaginatedChargesSchema, type PaginatedPendingDistributions, PaginatedPendingDistributionsSchema, type PaginatedWebhookDeliveries, PaginatedWebhookDeliveriesSchema, type PaginationQuery, type PaginationQueryRequest, PaginationQuerySchema, type PendingDistribution, type PendingDistributionEvent, PendingDistributionEventSchema, PendingDistributionRecipientSchema, PendingDistributionSchema, type SandboxTriggerInput, SandboxTriggerSchema, type SettlementStatus, SettlementStatusSchema, type SplitDistributionStatus, SplitDistributionStatusSchema, TOKEN_ADDRESSES, TOKEN_DECIMALS, type TimelineEvent, TimelineEventSchema, type TimelineEventType, TimelineEventTypeSchema, type Token, TokenSchema, type TransactionSource, TransactionSourceSchema, type TransactionsDateField, TransactionsDateFieldSchema, type TransactionsMetricField, TransactionsMetricFieldSchema, type TransactionsQueryField, TransactionsQueryFieldSchema, type TriggerableChargeEvent, TriggerableChargeEventSchema, type TypedWebhookPayload, WEBHOOK_EVENTS_WILDCARD, WEBHOOK_EVENT_CATEGORIES, type Webhook, type WebhookCategory, WebhookCategorySchema, type WebhookDelivery, WebhookDeliveryEventTypeSchema, WebhookDeliverySchema, type WebhookDeliveryStatus, WebhookDeliveryStatusSchema, type WebhookEventDataMap, type WebhookEventType, WebhookEventTypeSchema, type WebhookHealthEventData, type WebhookListItem, WebhookListItemSchema, type WebhookPayload, WebhookPayloadSchema, WebhookSchema, paginatedSchema };
|
|
2326
|
+
export { API_KEY_SCOPES, type AcceptedPayment, AcceptedPaymentSchema, type ApiKeyScope, ApiKeyScopeSchema, CHARGE_ACCEPTED_PAYMENTS_MAX, CHARGE_AMOUNT_MAX, CHARGE_EXPIRES_IN_MAX_SECONDS, CHARGE_EXPIRES_IN_MIN_SECONDS, CHARGE_SPLIT_RECIPIENTS_MAX, type Capabilities, CapabilitiesSchema, type Charge, ChargeSchema, type ChargeStatus, ChargeStatusSchema, ChargeWebhookEventTypeSchema, type ChargesDateField, ChargesDateFieldSchema, type ChargesMetricField, ChargesMetricFieldSchema, type ChargesQueryField, ChargesQueryFieldSchema, type CreateChargeInput, type CreateChargeRequest, CreateChargeSchema, type CreateWebhookInput, type CreateWebhookRequest, CreateWebhookSchema, type DistributionsDateField, DistributionsDateFieldSchema, type DistributionsMetricField, DistributionsMetricFieldSchema, type DistributionsQueryField, DistributionsQueryFieldSchema, EVENT_CATEGORY_MAP, EVM_NETWORKS, type Environment, EnvironmentSchema, type ErrorPayload, ErrorPayloadSchema, type EvmNetwork, type GetChargeQrCodeQuery, type GetChargeQrCodeQueryRequest, GetChargeQrCodeQuerySchema, type Health, HealthSchema, type ListChargesInput, type ListChargesRequest, ListChargesSchema, type ListWebhookDeliveriesInput, type ListWebhookDeliveriesRequest, ListWebhookDeliveriesSchema, type ListenPendingDistributionsQuery, ListenPendingDistributionsQuerySchema, MAX_METRICS_QUERY_DATE_RANGE_DAYS, METRICS_QUERY_DEFAULT_ROW_LIMIT, METRICS_QUERY_MAX_FILTERS, METRICS_QUERY_MAX_GROUP_BY, METRICS_QUERY_MAX_METRICS, METRICS_QUERY_MAX_ROW_LIMIT, type MetricsAggregation, MetricsAggregationSchema, type MetricsDateGranularity, MetricsDateGranularitySchema, type MetricsFilterOperator, MetricsFilterOperatorSchema, type MetricsQuery, type MetricsQueryRequest, type MetricsQueryResult, type MetricsQueryResultRow, MetricsQueryResultRowSchema, MetricsQueryResultSchema, MetricsQuerySchema, type MetricsResource, MetricsResourceSchema, NETWORK_EXPLORERS, NETWORK_LABELS, type Network, NetworkSchema, OPERATIONAL_NETWORKS, type OperationalNetwork, PAGINATION_LIMIT_DEFAULT, PAGINATION_LIMIT_MAX, PAGINATION_LIMIT_MIN, type PaginatedCharges, PaginatedChargesSchema, type PaginatedPendingDistributions, PaginatedPendingDistributionsSchema, type PaginatedWebhookDeliveries, PaginatedWebhookDeliveriesSchema, type PaginationQuery, type PaginationQueryRequest, PaginationQuerySchema, type PendingDistribution, type PendingDistributionEvent, PendingDistributionEventSchema, PendingDistributionRecipientSchema, PendingDistributionSchema, type SandboxTriggerInput, SandboxTriggerSchema, type SettlementStatus, SettlementStatusSchema, type SplitDistributionStatus, SplitDistributionStatusSchema, type SplitRecipient, SplitRecipientSchema, TOKEN_ADDRESSES, TOKEN_DECIMALS, type TimelineEvent, TimelineEventSchema, type TimelineEventType, TimelineEventTypeSchema, type Token, TokenSchema, type TransactionSource, TransactionSourceSchema, type TransactionsDateField, TransactionsDateFieldSchema, type TransactionsMetricField, TransactionsMetricFieldSchema, type TransactionsQueryField, TransactionsQueryFieldSchema, type TriggerableChargeEvent, TriggerableChargeEventSchema, type TypedWebhookPayload, WEBHOOK_EVENTS_WILDCARD, WEBHOOK_EVENT_CATEGORIES, type Webhook, type WebhookCategory, WebhookCategorySchema, type WebhookDelivery, WebhookDeliveryEventTypeSchema, WebhookDeliverySchema, type WebhookDeliveryStatus, WebhookDeliveryStatusSchema, type WebhookEventDataMap, type WebhookEventType, WebhookEventTypeSchema, type WebhookHealthEventData, type WebhookListItem, WebhookListItemSchema, type WebhookPayload, WebhookPayloadSchema, WebhookSchema, paginatedSchema };
|