@mbanq/core-sdk-js 1.0.0-alpha.7 → 1.0.0-alpha.9

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.
@@ -0,0 +1,2237 @@
1
+ import { a as Config, C as Command } from './config.d-CyK6ZM6s.mjs';
2
+ import * as zod from 'zod';
3
+ import { z } from 'zod';
4
+
5
+ declare const PaymentFilterKeySchema: z.ZodEnum<["originatorName", "originatorAccount", "originatorBankRoutingCode", "recipientName", "recipientAccount", "recipientBankRoutingCode", "reference", "traceNumber", "externalId", "clientId", "dateFormat", "locale", "originatedBy", "paymentRail", "paymentType", "fromValueDate", "toValueDate", "fromExecuteDate", "toExecuteDate", "status", "fromReturnDate", "toReturnDate", "isSettlement", "orderBy", "sortOrder"]>;
6
+ declare const PaymentStatusSchema: z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
7
+ declare const PaymentRailSchema: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
8
+ declare const PaymentTypeSchema: z.ZodEnum<["CREDIT", "DEBIT"]>;
9
+ declare const SortOrderSchema: z.ZodEnum<["ASC", "DESC"]>;
10
+ type PaymentStatus = z.infer<typeof PaymentStatusSchema>;
11
+ type PaymentRailType = z.infer<typeof PaymentRailSchema>;
12
+ type PaymentType = z.infer<typeof PaymentTypeSchema>;
13
+ declare const PaymentSchema: z.ZodObject<{
14
+ id: z.ZodString;
15
+ amount: z.ZodNumber;
16
+ clientId: z.ZodString;
17
+ currency: z.ZodString;
18
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
19
+ createdAt: z.ZodOptional<z.ZodString>;
20
+ updatedAt: z.ZodOptional<z.ZodString>;
21
+ }, "strip", z.ZodAny, z.objectOutputType<{
22
+ id: z.ZodString;
23
+ amount: z.ZodNumber;
24
+ clientId: z.ZodString;
25
+ currency: z.ZodString;
26
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
27
+ createdAt: z.ZodOptional<z.ZodString>;
28
+ updatedAt: z.ZodOptional<z.ZodString>;
29
+ }, z.ZodAny, "strip">, z.objectInputType<{
30
+ id: z.ZodString;
31
+ amount: z.ZodNumber;
32
+ clientId: z.ZodString;
33
+ currency: z.ZodString;
34
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
35
+ createdAt: z.ZodOptional<z.ZodString>;
36
+ updatedAt: z.ZodOptional<z.ZodString>;
37
+ }, z.ZodAny, "strip">>;
38
+ declare const CreatePaymentInputSchema: z.ZodEffects<z.ZodObject<{
39
+ amount: z.ZodNumber;
40
+ currency: z.ZodString;
41
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
42
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
43
+ debtor: z.ZodObject<{
44
+ name: z.ZodString;
45
+ identifier: z.ZodString;
46
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
47
+ address: z.ZodOptional<z.ZodObject<{
48
+ streetAddress: z.ZodOptional<z.ZodString>;
49
+ city: z.ZodOptional<z.ZodString>;
50
+ state: z.ZodOptional<z.ZodString>;
51
+ country: z.ZodOptional<z.ZodString>;
52
+ postalCode: z.ZodOptional<z.ZodString>;
53
+ }, "strip", z.ZodTypeAny, {
54
+ streetAddress?: string | undefined;
55
+ city?: string | undefined;
56
+ state?: string | undefined;
57
+ country?: string | undefined;
58
+ postalCode?: string | undefined;
59
+ }, {
60
+ streetAddress?: string | undefined;
61
+ city?: string | undefined;
62
+ state?: string | undefined;
63
+ country?: string | undefined;
64
+ postalCode?: string | undefined;
65
+ }>>;
66
+ agent: z.ZodOptional<z.ZodObject<{
67
+ name: z.ZodOptional<z.ZodString>;
68
+ identifier: z.ZodOptional<z.ZodString>;
69
+ address: z.ZodOptional<z.ZodObject<{
70
+ streetAddress: z.ZodOptional<z.ZodString>;
71
+ city: z.ZodOptional<z.ZodString>;
72
+ state: z.ZodOptional<z.ZodString>;
73
+ country: z.ZodOptional<z.ZodString>;
74
+ postalCode: z.ZodOptional<z.ZodString>;
75
+ }, "strip", z.ZodTypeAny, {
76
+ streetAddress?: string | undefined;
77
+ city?: string | undefined;
78
+ state?: string | undefined;
79
+ country?: string | undefined;
80
+ postalCode?: string | undefined;
81
+ }, {
82
+ streetAddress?: string | undefined;
83
+ city?: string | undefined;
84
+ state?: string | undefined;
85
+ country?: string | undefined;
86
+ postalCode?: string | undefined;
87
+ }>>;
88
+ }, "strip", z.ZodTypeAny, {
89
+ name?: string | undefined;
90
+ identifier?: string | undefined;
91
+ address?: {
92
+ streetAddress?: string | undefined;
93
+ city?: string | undefined;
94
+ state?: string | undefined;
95
+ country?: string | undefined;
96
+ postalCode?: string | undefined;
97
+ } | undefined;
98
+ }, {
99
+ name?: string | undefined;
100
+ identifier?: string | undefined;
101
+ address?: {
102
+ streetAddress?: string | undefined;
103
+ city?: string | undefined;
104
+ state?: string | undefined;
105
+ country?: string | undefined;
106
+ postalCode?: string | undefined;
107
+ } | undefined;
108
+ }>>;
109
+ }, "strip", z.ZodTypeAny, {
110
+ name: string;
111
+ identifier: string;
112
+ address?: {
113
+ streetAddress?: string | undefined;
114
+ city?: string | undefined;
115
+ state?: string | undefined;
116
+ country?: string | undefined;
117
+ postalCode?: string | undefined;
118
+ } | undefined;
119
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
120
+ agent?: {
121
+ name?: string | undefined;
122
+ identifier?: string | undefined;
123
+ address?: {
124
+ streetAddress?: string | undefined;
125
+ city?: string | undefined;
126
+ state?: string | undefined;
127
+ country?: string | undefined;
128
+ postalCode?: string | undefined;
129
+ } | undefined;
130
+ } | undefined;
131
+ }, {
132
+ name: string;
133
+ identifier: string;
134
+ address?: {
135
+ streetAddress?: string | undefined;
136
+ city?: string | undefined;
137
+ state?: string | undefined;
138
+ country?: string | undefined;
139
+ postalCode?: string | undefined;
140
+ } | undefined;
141
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
142
+ agent?: {
143
+ name?: string | undefined;
144
+ identifier?: string | undefined;
145
+ address?: {
146
+ streetAddress?: string | undefined;
147
+ city?: string | undefined;
148
+ state?: string | undefined;
149
+ country?: string | undefined;
150
+ postalCode?: string | undefined;
151
+ } | undefined;
152
+ } | undefined;
153
+ }>;
154
+ creditor: z.ZodObject<{
155
+ name: z.ZodString;
156
+ identifier: z.ZodString;
157
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
158
+ address: z.ZodOptional<z.ZodObject<{
159
+ streetAddress: z.ZodOptional<z.ZodString>;
160
+ city: z.ZodOptional<z.ZodString>;
161
+ state: z.ZodOptional<z.ZodString>;
162
+ country: z.ZodOptional<z.ZodString>;
163
+ postalCode: z.ZodOptional<z.ZodString>;
164
+ }, "strip", z.ZodTypeAny, {
165
+ streetAddress?: string | undefined;
166
+ city?: string | undefined;
167
+ state?: string | undefined;
168
+ country?: string | undefined;
169
+ postalCode?: string | undefined;
170
+ }, {
171
+ streetAddress?: string | undefined;
172
+ city?: string | undefined;
173
+ state?: string | undefined;
174
+ country?: string | undefined;
175
+ postalCode?: string | undefined;
176
+ }>>;
177
+ agent: z.ZodOptional<z.ZodObject<{
178
+ name: z.ZodOptional<z.ZodString>;
179
+ identifier: z.ZodOptional<z.ZodString>;
180
+ address: z.ZodOptional<z.ZodObject<{
181
+ streetAddress: z.ZodOptional<z.ZodString>;
182
+ city: z.ZodOptional<z.ZodString>;
183
+ state: z.ZodOptional<z.ZodString>;
184
+ country: z.ZodOptional<z.ZodString>;
185
+ postalCode: z.ZodOptional<z.ZodString>;
186
+ }, "strip", z.ZodTypeAny, {
187
+ streetAddress?: string | undefined;
188
+ city?: string | undefined;
189
+ state?: string | undefined;
190
+ country?: string | undefined;
191
+ postalCode?: string | undefined;
192
+ }, {
193
+ streetAddress?: string | undefined;
194
+ city?: string | undefined;
195
+ state?: string | undefined;
196
+ country?: string | undefined;
197
+ postalCode?: string | undefined;
198
+ }>>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ name?: string | undefined;
201
+ identifier?: string | undefined;
202
+ address?: {
203
+ streetAddress?: string | undefined;
204
+ city?: string | undefined;
205
+ state?: string | undefined;
206
+ country?: string | undefined;
207
+ postalCode?: string | undefined;
208
+ } | undefined;
209
+ }, {
210
+ name?: string | undefined;
211
+ identifier?: string | undefined;
212
+ address?: {
213
+ streetAddress?: string | undefined;
214
+ city?: string | undefined;
215
+ state?: string | undefined;
216
+ country?: string | undefined;
217
+ postalCode?: string | undefined;
218
+ } | undefined;
219
+ }>>;
220
+ }, "strip", z.ZodTypeAny, {
221
+ name: string;
222
+ identifier: string;
223
+ address?: {
224
+ streetAddress?: string | undefined;
225
+ city?: string | undefined;
226
+ state?: string | undefined;
227
+ country?: string | undefined;
228
+ postalCode?: string | undefined;
229
+ } | undefined;
230
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
231
+ agent?: {
232
+ name?: string | undefined;
233
+ identifier?: string | undefined;
234
+ address?: {
235
+ streetAddress?: string | undefined;
236
+ city?: string | undefined;
237
+ state?: string | undefined;
238
+ country?: string | undefined;
239
+ postalCode?: string | undefined;
240
+ } | undefined;
241
+ } | undefined;
242
+ }, {
243
+ name: string;
244
+ identifier: string;
245
+ address?: {
246
+ streetAddress?: string | undefined;
247
+ city?: string | undefined;
248
+ state?: string | undefined;
249
+ country?: string | undefined;
250
+ postalCode?: string | undefined;
251
+ } | undefined;
252
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
253
+ agent?: {
254
+ name?: string | undefined;
255
+ identifier?: string | undefined;
256
+ address?: {
257
+ streetAddress?: string | undefined;
258
+ city?: string | undefined;
259
+ state?: string | undefined;
260
+ country?: string | undefined;
261
+ postalCode?: string | undefined;
262
+ } | undefined;
263
+ } | undefined;
264
+ }>;
265
+ clientId: z.ZodOptional<z.ZodString>;
266
+ correspondent: z.ZodOptional<z.ZodObject<{
267
+ name: z.ZodString;
268
+ identifier: z.ZodString;
269
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
270
+ address: z.ZodOptional<z.ZodObject<{
271
+ streetAddress: z.ZodOptional<z.ZodString>;
272
+ city: z.ZodOptional<z.ZodString>;
273
+ state: z.ZodOptional<z.ZodString>;
274
+ country: z.ZodOptional<z.ZodString>;
275
+ postalCode: z.ZodOptional<z.ZodString>;
276
+ }, "strip", z.ZodTypeAny, {
277
+ streetAddress?: string | undefined;
278
+ city?: string | undefined;
279
+ state?: string | undefined;
280
+ country?: string | undefined;
281
+ postalCode?: string | undefined;
282
+ }, {
283
+ streetAddress?: string | undefined;
284
+ city?: string | undefined;
285
+ state?: string | undefined;
286
+ country?: string | undefined;
287
+ postalCode?: string | undefined;
288
+ }>>;
289
+ agent: z.ZodOptional<z.ZodObject<{
290
+ name: z.ZodOptional<z.ZodString>;
291
+ identifier: z.ZodOptional<z.ZodString>;
292
+ address: z.ZodOptional<z.ZodObject<{
293
+ streetAddress: z.ZodOptional<z.ZodString>;
294
+ city: z.ZodOptional<z.ZodString>;
295
+ state: z.ZodOptional<z.ZodString>;
296
+ country: z.ZodOptional<z.ZodString>;
297
+ postalCode: z.ZodOptional<z.ZodString>;
298
+ }, "strip", z.ZodTypeAny, {
299
+ streetAddress?: string | undefined;
300
+ city?: string | undefined;
301
+ state?: string | undefined;
302
+ country?: string | undefined;
303
+ postalCode?: string | undefined;
304
+ }, {
305
+ streetAddress?: string | undefined;
306
+ city?: string | undefined;
307
+ state?: string | undefined;
308
+ country?: string | undefined;
309
+ postalCode?: string | undefined;
310
+ }>>;
311
+ }, "strip", z.ZodTypeAny, {
312
+ name?: string | undefined;
313
+ identifier?: string | undefined;
314
+ address?: {
315
+ streetAddress?: string | undefined;
316
+ city?: string | undefined;
317
+ state?: string | undefined;
318
+ country?: string | undefined;
319
+ postalCode?: string | undefined;
320
+ } | undefined;
321
+ }, {
322
+ name?: string | undefined;
323
+ identifier?: string | undefined;
324
+ address?: {
325
+ streetAddress?: string | undefined;
326
+ city?: string | undefined;
327
+ state?: string | undefined;
328
+ country?: string | undefined;
329
+ postalCode?: string | undefined;
330
+ } | undefined;
331
+ }>>;
332
+ }, "strip", z.ZodTypeAny, {
333
+ name: string;
334
+ identifier: string;
335
+ address?: {
336
+ streetAddress?: string | undefined;
337
+ city?: string | undefined;
338
+ state?: string | undefined;
339
+ country?: string | undefined;
340
+ postalCode?: string | undefined;
341
+ } | undefined;
342
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
343
+ agent?: {
344
+ name?: string | undefined;
345
+ identifier?: string | undefined;
346
+ address?: {
347
+ streetAddress?: string | undefined;
348
+ city?: string | undefined;
349
+ state?: string | undefined;
350
+ country?: string | undefined;
351
+ postalCode?: string | undefined;
352
+ } | undefined;
353
+ } | undefined;
354
+ }, {
355
+ name: string;
356
+ identifier: string;
357
+ address?: {
358
+ streetAddress?: string | undefined;
359
+ city?: string | undefined;
360
+ state?: string | undefined;
361
+ country?: string | undefined;
362
+ postalCode?: string | undefined;
363
+ } | undefined;
364
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
365
+ agent?: {
366
+ name?: string | undefined;
367
+ identifier?: string | undefined;
368
+ address?: {
369
+ streetAddress?: string | undefined;
370
+ city?: string | undefined;
371
+ state?: string | undefined;
372
+ country?: string | undefined;
373
+ postalCode?: string | undefined;
374
+ } | undefined;
375
+ } | undefined;
376
+ }>>;
377
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
378
+ externalId: z.ZodOptional<z.ZodString>;
379
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
380
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
381
+ chargeBearer: z.ZodOptional<z.ZodEnum<["OUR", "BEN", "SHA"]>>;
382
+ purposeCode: z.ZodOptional<z.ZodString>;
383
+ valueDate: z.ZodOptional<z.ZodString>;
384
+ executionDate: z.ZodOptional<z.ZodString>;
385
+ }, "strip", z.ZodAny, z.objectOutputType<{
386
+ amount: z.ZodNumber;
387
+ currency: z.ZodString;
388
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
389
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
390
+ debtor: z.ZodObject<{
391
+ name: z.ZodString;
392
+ identifier: z.ZodString;
393
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
394
+ address: z.ZodOptional<z.ZodObject<{
395
+ streetAddress: z.ZodOptional<z.ZodString>;
396
+ city: z.ZodOptional<z.ZodString>;
397
+ state: z.ZodOptional<z.ZodString>;
398
+ country: z.ZodOptional<z.ZodString>;
399
+ postalCode: z.ZodOptional<z.ZodString>;
400
+ }, "strip", z.ZodTypeAny, {
401
+ streetAddress?: string | undefined;
402
+ city?: string | undefined;
403
+ state?: string | undefined;
404
+ country?: string | undefined;
405
+ postalCode?: string | undefined;
406
+ }, {
407
+ streetAddress?: string | undefined;
408
+ city?: string | undefined;
409
+ state?: string | undefined;
410
+ country?: string | undefined;
411
+ postalCode?: string | undefined;
412
+ }>>;
413
+ agent: z.ZodOptional<z.ZodObject<{
414
+ name: z.ZodOptional<z.ZodString>;
415
+ identifier: z.ZodOptional<z.ZodString>;
416
+ address: z.ZodOptional<z.ZodObject<{
417
+ streetAddress: z.ZodOptional<z.ZodString>;
418
+ city: z.ZodOptional<z.ZodString>;
419
+ state: z.ZodOptional<z.ZodString>;
420
+ country: z.ZodOptional<z.ZodString>;
421
+ postalCode: z.ZodOptional<z.ZodString>;
422
+ }, "strip", z.ZodTypeAny, {
423
+ streetAddress?: string | undefined;
424
+ city?: string | undefined;
425
+ state?: string | undefined;
426
+ country?: string | undefined;
427
+ postalCode?: string | undefined;
428
+ }, {
429
+ streetAddress?: string | undefined;
430
+ city?: string | undefined;
431
+ state?: string | undefined;
432
+ country?: string | undefined;
433
+ postalCode?: string | undefined;
434
+ }>>;
435
+ }, "strip", z.ZodTypeAny, {
436
+ name?: string | undefined;
437
+ identifier?: string | undefined;
438
+ address?: {
439
+ streetAddress?: string | undefined;
440
+ city?: string | undefined;
441
+ state?: string | undefined;
442
+ country?: string | undefined;
443
+ postalCode?: string | undefined;
444
+ } | undefined;
445
+ }, {
446
+ name?: string | undefined;
447
+ identifier?: string | undefined;
448
+ address?: {
449
+ streetAddress?: string | undefined;
450
+ city?: string | undefined;
451
+ state?: string | undefined;
452
+ country?: string | undefined;
453
+ postalCode?: string | undefined;
454
+ } | undefined;
455
+ }>>;
456
+ }, "strip", z.ZodTypeAny, {
457
+ name: string;
458
+ identifier: string;
459
+ address?: {
460
+ streetAddress?: string | undefined;
461
+ city?: string | undefined;
462
+ state?: string | undefined;
463
+ country?: string | undefined;
464
+ postalCode?: string | undefined;
465
+ } | undefined;
466
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
467
+ agent?: {
468
+ name?: string | undefined;
469
+ identifier?: string | undefined;
470
+ address?: {
471
+ streetAddress?: string | undefined;
472
+ city?: string | undefined;
473
+ state?: string | undefined;
474
+ country?: string | undefined;
475
+ postalCode?: string | undefined;
476
+ } | undefined;
477
+ } | undefined;
478
+ }, {
479
+ name: string;
480
+ identifier: string;
481
+ address?: {
482
+ streetAddress?: string | undefined;
483
+ city?: string | undefined;
484
+ state?: string | undefined;
485
+ country?: string | undefined;
486
+ postalCode?: string | undefined;
487
+ } | undefined;
488
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
489
+ agent?: {
490
+ name?: string | undefined;
491
+ identifier?: string | undefined;
492
+ address?: {
493
+ streetAddress?: string | undefined;
494
+ city?: string | undefined;
495
+ state?: string | undefined;
496
+ country?: string | undefined;
497
+ postalCode?: string | undefined;
498
+ } | undefined;
499
+ } | undefined;
500
+ }>;
501
+ creditor: z.ZodObject<{
502
+ name: z.ZodString;
503
+ identifier: z.ZodString;
504
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
505
+ address: z.ZodOptional<z.ZodObject<{
506
+ streetAddress: z.ZodOptional<z.ZodString>;
507
+ city: z.ZodOptional<z.ZodString>;
508
+ state: z.ZodOptional<z.ZodString>;
509
+ country: z.ZodOptional<z.ZodString>;
510
+ postalCode: z.ZodOptional<z.ZodString>;
511
+ }, "strip", z.ZodTypeAny, {
512
+ streetAddress?: string | undefined;
513
+ city?: string | undefined;
514
+ state?: string | undefined;
515
+ country?: string | undefined;
516
+ postalCode?: string | undefined;
517
+ }, {
518
+ streetAddress?: string | undefined;
519
+ city?: string | undefined;
520
+ state?: string | undefined;
521
+ country?: string | undefined;
522
+ postalCode?: string | undefined;
523
+ }>>;
524
+ agent: z.ZodOptional<z.ZodObject<{
525
+ name: z.ZodOptional<z.ZodString>;
526
+ identifier: z.ZodOptional<z.ZodString>;
527
+ address: z.ZodOptional<z.ZodObject<{
528
+ streetAddress: z.ZodOptional<z.ZodString>;
529
+ city: z.ZodOptional<z.ZodString>;
530
+ state: z.ZodOptional<z.ZodString>;
531
+ country: z.ZodOptional<z.ZodString>;
532
+ postalCode: z.ZodOptional<z.ZodString>;
533
+ }, "strip", z.ZodTypeAny, {
534
+ streetAddress?: string | undefined;
535
+ city?: string | undefined;
536
+ state?: string | undefined;
537
+ country?: string | undefined;
538
+ postalCode?: string | undefined;
539
+ }, {
540
+ streetAddress?: string | undefined;
541
+ city?: string | undefined;
542
+ state?: string | undefined;
543
+ country?: string | undefined;
544
+ postalCode?: string | undefined;
545
+ }>>;
546
+ }, "strip", z.ZodTypeAny, {
547
+ name?: string | undefined;
548
+ identifier?: string | undefined;
549
+ address?: {
550
+ streetAddress?: string | undefined;
551
+ city?: string | undefined;
552
+ state?: string | undefined;
553
+ country?: string | undefined;
554
+ postalCode?: string | undefined;
555
+ } | undefined;
556
+ }, {
557
+ name?: string | undefined;
558
+ identifier?: string | undefined;
559
+ address?: {
560
+ streetAddress?: string | undefined;
561
+ city?: string | undefined;
562
+ state?: string | undefined;
563
+ country?: string | undefined;
564
+ postalCode?: string | undefined;
565
+ } | undefined;
566
+ }>>;
567
+ }, "strip", z.ZodTypeAny, {
568
+ name: string;
569
+ identifier: string;
570
+ address?: {
571
+ streetAddress?: string | undefined;
572
+ city?: string | undefined;
573
+ state?: string | undefined;
574
+ country?: string | undefined;
575
+ postalCode?: string | undefined;
576
+ } | undefined;
577
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
578
+ agent?: {
579
+ name?: string | undefined;
580
+ identifier?: string | undefined;
581
+ address?: {
582
+ streetAddress?: string | undefined;
583
+ city?: string | undefined;
584
+ state?: string | undefined;
585
+ country?: string | undefined;
586
+ postalCode?: string | undefined;
587
+ } | undefined;
588
+ } | undefined;
589
+ }, {
590
+ name: string;
591
+ identifier: string;
592
+ address?: {
593
+ streetAddress?: string | undefined;
594
+ city?: string | undefined;
595
+ state?: string | undefined;
596
+ country?: string | undefined;
597
+ postalCode?: string | undefined;
598
+ } | undefined;
599
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
600
+ agent?: {
601
+ name?: string | undefined;
602
+ identifier?: string | undefined;
603
+ address?: {
604
+ streetAddress?: string | undefined;
605
+ city?: string | undefined;
606
+ state?: string | undefined;
607
+ country?: string | undefined;
608
+ postalCode?: string | undefined;
609
+ } | undefined;
610
+ } | undefined;
611
+ }>;
612
+ clientId: z.ZodOptional<z.ZodString>;
613
+ correspondent: z.ZodOptional<z.ZodObject<{
614
+ name: z.ZodString;
615
+ identifier: z.ZodString;
616
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
617
+ address: z.ZodOptional<z.ZodObject<{
618
+ streetAddress: z.ZodOptional<z.ZodString>;
619
+ city: z.ZodOptional<z.ZodString>;
620
+ state: z.ZodOptional<z.ZodString>;
621
+ country: z.ZodOptional<z.ZodString>;
622
+ postalCode: z.ZodOptional<z.ZodString>;
623
+ }, "strip", z.ZodTypeAny, {
624
+ streetAddress?: string | undefined;
625
+ city?: string | undefined;
626
+ state?: string | undefined;
627
+ country?: string | undefined;
628
+ postalCode?: string | undefined;
629
+ }, {
630
+ streetAddress?: string | undefined;
631
+ city?: string | undefined;
632
+ state?: string | undefined;
633
+ country?: string | undefined;
634
+ postalCode?: string | undefined;
635
+ }>>;
636
+ agent: z.ZodOptional<z.ZodObject<{
637
+ name: z.ZodOptional<z.ZodString>;
638
+ identifier: z.ZodOptional<z.ZodString>;
639
+ address: z.ZodOptional<z.ZodObject<{
640
+ streetAddress: z.ZodOptional<z.ZodString>;
641
+ city: z.ZodOptional<z.ZodString>;
642
+ state: z.ZodOptional<z.ZodString>;
643
+ country: z.ZodOptional<z.ZodString>;
644
+ postalCode: z.ZodOptional<z.ZodString>;
645
+ }, "strip", z.ZodTypeAny, {
646
+ streetAddress?: string | undefined;
647
+ city?: string | undefined;
648
+ state?: string | undefined;
649
+ country?: string | undefined;
650
+ postalCode?: string | undefined;
651
+ }, {
652
+ streetAddress?: string | undefined;
653
+ city?: string | undefined;
654
+ state?: string | undefined;
655
+ country?: string | undefined;
656
+ postalCode?: string | undefined;
657
+ }>>;
658
+ }, "strip", z.ZodTypeAny, {
659
+ name?: string | undefined;
660
+ identifier?: string | undefined;
661
+ address?: {
662
+ streetAddress?: string | undefined;
663
+ city?: string | undefined;
664
+ state?: string | undefined;
665
+ country?: string | undefined;
666
+ postalCode?: string | undefined;
667
+ } | undefined;
668
+ }, {
669
+ name?: string | undefined;
670
+ identifier?: string | undefined;
671
+ address?: {
672
+ streetAddress?: string | undefined;
673
+ city?: string | undefined;
674
+ state?: string | undefined;
675
+ country?: string | undefined;
676
+ postalCode?: string | undefined;
677
+ } | undefined;
678
+ }>>;
679
+ }, "strip", z.ZodTypeAny, {
680
+ name: string;
681
+ identifier: string;
682
+ address?: {
683
+ streetAddress?: string | undefined;
684
+ city?: string | undefined;
685
+ state?: string | undefined;
686
+ country?: string | undefined;
687
+ postalCode?: string | undefined;
688
+ } | undefined;
689
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
690
+ agent?: {
691
+ name?: string | undefined;
692
+ identifier?: string | undefined;
693
+ address?: {
694
+ streetAddress?: string | undefined;
695
+ city?: string | undefined;
696
+ state?: string | undefined;
697
+ country?: string | undefined;
698
+ postalCode?: string | undefined;
699
+ } | undefined;
700
+ } | undefined;
701
+ }, {
702
+ name: string;
703
+ identifier: string;
704
+ address?: {
705
+ streetAddress?: string | undefined;
706
+ city?: string | undefined;
707
+ state?: string | undefined;
708
+ country?: string | undefined;
709
+ postalCode?: string | undefined;
710
+ } | undefined;
711
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
712
+ agent?: {
713
+ name?: string | undefined;
714
+ identifier?: string | undefined;
715
+ address?: {
716
+ streetAddress?: string | undefined;
717
+ city?: string | undefined;
718
+ state?: string | undefined;
719
+ country?: string | undefined;
720
+ postalCode?: string | undefined;
721
+ } | undefined;
722
+ } | undefined;
723
+ }>>;
724
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
725
+ externalId: z.ZodOptional<z.ZodString>;
726
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
727
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
728
+ chargeBearer: z.ZodOptional<z.ZodEnum<["OUR", "BEN", "SHA"]>>;
729
+ purposeCode: z.ZodOptional<z.ZodString>;
730
+ valueDate: z.ZodOptional<z.ZodString>;
731
+ executionDate: z.ZodOptional<z.ZodString>;
732
+ }, z.ZodAny, "strip">, z.objectInputType<{
733
+ amount: z.ZodNumber;
734
+ currency: z.ZodString;
735
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
736
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
737
+ debtor: z.ZodObject<{
738
+ name: z.ZodString;
739
+ identifier: z.ZodString;
740
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
741
+ address: z.ZodOptional<z.ZodObject<{
742
+ streetAddress: z.ZodOptional<z.ZodString>;
743
+ city: z.ZodOptional<z.ZodString>;
744
+ state: z.ZodOptional<z.ZodString>;
745
+ country: z.ZodOptional<z.ZodString>;
746
+ postalCode: z.ZodOptional<z.ZodString>;
747
+ }, "strip", z.ZodTypeAny, {
748
+ streetAddress?: string | undefined;
749
+ city?: string | undefined;
750
+ state?: string | undefined;
751
+ country?: string | undefined;
752
+ postalCode?: string | undefined;
753
+ }, {
754
+ streetAddress?: string | undefined;
755
+ city?: string | undefined;
756
+ state?: string | undefined;
757
+ country?: string | undefined;
758
+ postalCode?: string | undefined;
759
+ }>>;
760
+ agent: z.ZodOptional<z.ZodObject<{
761
+ name: z.ZodOptional<z.ZodString>;
762
+ identifier: z.ZodOptional<z.ZodString>;
763
+ address: z.ZodOptional<z.ZodObject<{
764
+ streetAddress: z.ZodOptional<z.ZodString>;
765
+ city: z.ZodOptional<z.ZodString>;
766
+ state: z.ZodOptional<z.ZodString>;
767
+ country: z.ZodOptional<z.ZodString>;
768
+ postalCode: z.ZodOptional<z.ZodString>;
769
+ }, "strip", z.ZodTypeAny, {
770
+ streetAddress?: string | undefined;
771
+ city?: string | undefined;
772
+ state?: string | undefined;
773
+ country?: string | undefined;
774
+ postalCode?: string | undefined;
775
+ }, {
776
+ streetAddress?: string | undefined;
777
+ city?: string | undefined;
778
+ state?: string | undefined;
779
+ country?: string | undefined;
780
+ postalCode?: string | undefined;
781
+ }>>;
782
+ }, "strip", z.ZodTypeAny, {
783
+ name?: string | undefined;
784
+ identifier?: string | undefined;
785
+ address?: {
786
+ streetAddress?: string | undefined;
787
+ city?: string | undefined;
788
+ state?: string | undefined;
789
+ country?: string | undefined;
790
+ postalCode?: string | undefined;
791
+ } | undefined;
792
+ }, {
793
+ name?: string | undefined;
794
+ identifier?: string | undefined;
795
+ address?: {
796
+ streetAddress?: string | undefined;
797
+ city?: string | undefined;
798
+ state?: string | undefined;
799
+ country?: string | undefined;
800
+ postalCode?: string | undefined;
801
+ } | undefined;
802
+ }>>;
803
+ }, "strip", z.ZodTypeAny, {
804
+ name: string;
805
+ identifier: string;
806
+ address?: {
807
+ streetAddress?: string | undefined;
808
+ city?: string | undefined;
809
+ state?: string | undefined;
810
+ country?: string | undefined;
811
+ postalCode?: string | undefined;
812
+ } | undefined;
813
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
814
+ agent?: {
815
+ name?: string | undefined;
816
+ identifier?: string | undefined;
817
+ address?: {
818
+ streetAddress?: string | undefined;
819
+ city?: string | undefined;
820
+ state?: string | undefined;
821
+ country?: string | undefined;
822
+ postalCode?: string | undefined;
823
+ } | undefined;
824
+ } | undefined;
825
+ }, {
826
+ name: string;
827
+ identifier: string;
828
+ address?: {
829
+ streetAddress?: string | undefined;
830
+ city?: string | undefined;
831
+ state?: string | undefined;
832
+ country?: string | undefined;
833
+ postalCode?: string | undefined;
834
+ } | undefined;
835
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
836
+ agent?: {
837
+ name?: string | undefined;
838
+ identifier?: string | undefined;
839
+ address?: {
840
+ streetAddress?: string | undefined;
841
+ city?: string | undefined;
842
+ state?: string | undefined;
843
+ country?: string | undefined;
844
+ postalCode?: string | undefined;
845
+ } | undefined;
846
+ } | undefined;
847
+ }>;
848
+ creditor: z.ZodObject<{
849
+ name: z.ZodString;
850
+ identifier: z.ZodString;
851
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
852
+ address: z.ZodOptional<z.ZodObject<{
853
+ streetAddress: z.ZodOptional<z.ZodString>;
854
+ city: z.ZodOptional<z.ZodString>;
855
+ state: z.ZodOptional<z.ZodString>;
856
+ country: z.ZodOptional<z.ZodString>;
857
+ postalCode: z.ZodOptional<z.ZodString>;
858
+ }, "strip", z.ZodTypeAny, {
859
+ streetAddress?: string | undefined;
860
+ city?: string | undefined;
861
+ state?: string | undefined;
862
+ country?: string | undefined;
863
+ postalCode?: string | undefined;
864
+ }, {
865
+ streetAddress?: string | undefined;
866
+ city?: string | undefined;
867
+ state?: string | undefined;
868
+ country?: string | undefined;
869
+ postalCode?: string | undefined;
870
+ }>>;
871
+ agent: z.ZodOptional<z.ZodObject<{
872
+ name: z.ZodOptional<z.ZodString>;
873
+ identifier: z.ZodOptional<z.ZodString>;
874
+ address: z.ZodOptional<z.ZodObject<{
875
+ streetAddress: z.ZodOptional<z.ZodString>;
876
+ city: z.ZodOptional<z.ZodString>;
877
+ state: z.ZodOptional<z.ZodString>;
878
+ country: z.ZodOptional<z.ZodString>;
879
+ postalCode: z.ZodOptional<z.ZodString>;
880
+ }, "strip", z.ZodTypeAny, {
881
+ streetAddress?: string | undefined;
882
+ city?: string | undefined;
883
+ state?: string | undefined;
884
+ country?: string | undefined;
885
+ postalCode?: string | undefined;
886
+ }, {
887
+ streetAddress?: string | undefined;
888
+ city?: string | undefined;
889
+ state?: string | undefined;
890
+ country?: string | undefined;
891
+ postalCode?: string | undefined;
892
+ }>>;
893
+ }, "strip", z.ZodTypeAny, {
894
+ name?: string | undefined;
895
+ identifier?: string | undefined;
896
+ address?: {
897
+ streetAddress?: string | undefined;
898
+ city?: string | undefined;
899
+ state?: string | undefined;
900
+ country?: string | undefined;
901
+ postalCode?: string | undefined;
902
+ } | undefined;
903
+ }, {
904
+ name?: string | undefined;
905
+ identifier?: string | undefined;
906
+ address?: {
907
+ streetAddress?: string | undefined;
908
+ city?: string | undefined;
909
+ state?: string | undefined;
910
+ country?: string | undefined;
911
+ postalCode?: string | undefined;
912
+ } | undefined;
913
+ }>>;
914
+ }, "strip", z.ZodTypeAny, {
915
+ name: string;
916
+ identifier: string;
917
+ address?: {
918
+ streetAddress?: string | undefined;
919
+ city?: string | undefined;
920
+ state?: string | undefined;
921
+ country?: string | undefined;
922
+ postalCode?: string | undefined;
923
+ } | undefined;
924
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
925
+ agent?: {
926
+ name?: string | undefined;
927
+ identifier?: string | undefined;
928
+ address?: {
929
+ streetAddress?: string | undefined;
930
+ city?: string | undefined;
931
+ state?: string | undefined;
932
+ country?: string | undefined;
933
+ postalCode?: string | undefined;
934
+ } | undefined;
935
+ } | undefined;
936
+ }, {
937
+ name: string;
938
+ identifier: string;
939
+ address?: {
940
+ streetAddress?: string | undefined;
941
+ city?: string | undefined;
942
+ state?: string | undefined;
943
+ country?: string | undefined;
944
+ postalCode?: string | undefined;
945
+ } | undefined;
946
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
947
+ agent?: {
948
+ name?: string | undefined;
949
+ identifier?: string | undefined;
950
+ address?: {
951
+ streetAddress?: string | undefined;
952
+ city?: string | undefined;
953
+ state?: string | undefined;
954
+ country?: string | undefined;
955
+ postalCode?: string | undefined;
956
+ } | undefined;
957
+ } | undefined;
958
+ }>;
959
+ clientId: z.ZodOptional<z.ZodString>;
960
+ correspondent: z.ZodOptional<z.ZodObject<{
961
+ name: z.ZodString;
962
+ identifier: z.ZodString;
963
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
964
+ address: z.ZodOptional<z.ZodObject<{
965
+ streetAddress: z.ZodOptional<z.ZodString>;
966
+ city: z.ZodOptional<z.ZodString>;
967
+ state: z.ZodOptional<z.ZodString>;
968
+ country: z.ZodOptional<z.ZodString>;
969
+ postalCode: z.ZodOptional<z.ZodString>;
970
+ }, "strip", z.ZodTypeAny, {
971
+ streetAddress?: string | undefined;
972
+ city?: string | undefined;
973
+ state?: string | undefined;
974
+ country?: string | undefined;
975
+ postalCode?: string | undefined;
976
+ }, {
977
+ streetAddress?: string | undefined;
978
+ city?: string | undefined;
979
+ state?: string | undefined;
980
+ country?: string | undefined;
981
+ postalCode?: string | undefined;
982
+ }>>;
983
+ agent: z.ZodOptional<z.ZodObject<{
984
+ name: z.ZodOptional<z.ZodString>;
985
+ identifier: z.ZodOptional<z.ZodString>;
986
+ address: z.ZodOptional<z.ZodObject<{
987
+ streetAddress: z.ZodOptional<z.ZodString>;
988
+ city: z.ZodOptional<z.ZodString>;
989
+ state: z.ZodOptional<z.ZodString>;
990
+ country: z.ZodOptional<z.ZodString>;
991
+ postalCode: z.ZodOptional<z.ZodString>;
992
+ }, "strip", z.ZodTypeAny, {
993
+ streetAddress?: string | undefined;
994
+ city?: string | undefined;
995
+ state?: string | undefined;
996
+ country?: string | undefined;
997
+ postalCode?: string | undefined;
998
+ }, {
999
+ streetAddress?: string | undefined;
1000
+ city?: string | undefined;
1001
+ state?: string | undefined;
1002
+ country?: string | undefined;
1003
+ postalCode?: string | undefined;
1004
+ }>>;
1005
+ }, "strip", z.ZodTypeAny, {
1006
+ name?: string | undefined;
1007
+ identifier?: string | undefined;
1008
+ address?: {
1009
+ streetAddress?: string | undefined;
1010
+ city?: string | undefined;
1011
+ state?: string | undefined;
1012
+ country?: string | undefined;
1013
+ postalCode?: string | undefined;
1014
+ } | undefined;
1015
+ }, {
1016
+ name?: string | undefined;
1017
+ identifier?: string | undefined;
1018
+ address?: {
1019
+ streetAddress?: string | undefined;
1020
+ city?: string | undefined;
1021
+ state?: string | undefined;
1022
+ country?: string | undefined;
1023
+ postalCode?: string | undefined;
1024
+ } | undefined;
1025
+ }>>;
1026
+ }, "strip", z.ZodTypeAny, {
1027
+ name: string;
1028
+ identifier: string;
1029
+ address?: {
1030
+ streetAddress?: string | undefined;
1031
+ city?: string | undefined;
1032
+ state?: string | undefined;
1033
+ country?: string | undefined;
1034
+ postalCode?: string | undefined;
1035
+ } | undefined;
1036
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1037
+ agent?: {
1038
+ name?: string | undefined;
1039
+ identifier?: string | undefined;
1040
+ address?: {
1041
+ streetAddress?: string | undefined;
1042
+ city?: string | undefined;
1043
+ state?: string | undefined;
1044
+ country?: string | undefined;
1045
+ postalCode?: string | undefined;
1046
+ } | undefined;
1047
+ } | undefined;
1048
+ }, {
1049
+ name: string;
1050
+ identifier: string;
1051
+ address?: {
1052
+ streetAddress?: string | undefined;
1053
+ city?: string | undefined;
1054
+ state?: string | undefined;
1055
+ country?: string | undefined;
1056
+ postalCode?: string | undefined;
1057
+ } | undefined;
1058
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1059
+ agent?: {
1060
+ name?: string | undefined;
1061
+ identifier?: string | undefined;
1062
+ address?: {
1063
+ streetAddress?: string | undefined;
1064
+ city?: string | undefined;
1065
+ state?: string | undefined;
1066
+ country?: string | undefined;
1067
+ postalCode?: string | undefined;
1068
+ } | undefined;
1069
+ } | undefined;
1070
+ }>>;
1071
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
1072
+ externalId: z.ZodOptional<z.ZodString>;
1073
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1074
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1075
+ chargeBearer: z.ZodOptional<z.ZodEnum<["OUR", "BEN", "SHA"]>>;
1076
+ purposeCode: z.ZodOptional<z.ZodString>;
1077
+ valueDate: z.ZodOptional<z.ZodString>;
1078
+ executionDate: z.ZodOptional<z.ZodString>;
1079
+ }, z.ZodAny, "strip">>, z.objectOutputType<{
1080
+ amount: z.ZodNumber;
1081
+ currency: z.ZodString;
1082
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
1083
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
1084
+ debtor: z.ZodObject<{
1085
+ name: z.ZodString;
1086
+ identifier: z.ZodString;
1087
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
1088
+ address: z.ZodOptional<z.ZodObject<{
1089
+ streetAddress: z.ZodOptional<z.ZodString>;
1090
+ city: z.ZodOptional<z.ZodString>;
1091
+ state: z.ZodOptional<z.ZodString>;
1092
+ country: z.ZodOptional<z.ZodString>;
1093
+ postalCode: z.ZodOptional<z.ZodString>;
1094
+ }, "strip", z.ZodTypeAny, {
1095
+ streetAddress?: string | undefined;
1096
+ city?: string | undefined;
1097
+ state?: string | undefined;
1098
+ country?: string | undefined;
1099
+ postalCode?: string | undefined;
1100
+ }, {
1101
+ streetAddress?: string | undefined;
1102
+ city?: string | undefined;
1103
+ state?: string | undefined;
1104
+ country?: string | undefined;
1105
+ postalCode?: string | undefined;
1106
+ }>>;
1107
+ agent: z.ZodOptional<z.ZodObject<{
1108
+ name: z.ZodOptional<z.ZodString>;
1109
+ identifier: z.ZodOptional<z.ZodString>;
1110
+ address: z.ZodOptional<z.ZodObject<{
1111
+ streetAddress: z.ZodOptional<z.ZodString>;
1112
+ city: z.ZodOptional<z.ZodString>;
1113
+ state: z.ZodOptional<z.ZodString>;
1114
+ country: z.ZodOptional<z.ZodString>;
1115
+ postalCode: z.ZodOptional<z.ZodString>;
1116
+ }, "strip", z.ZodTypeAny, {
1117
+ streetAddress?: string | undefined;
1118
+ city?: string | undefined;
1119
+ state?: string | undefined;
1120
+ country?: string | undefined;
1121
+ postalCode?: string | undefined;
1122
+ }, {
1123
+ streetAddress?: string | undefined;
1124
+ city?: string | undefined;
1125
+ state?: string | undefined;
1126
+ country?: string | undefined;
1127
+ postalCode?: string | undefined;
1128
+ }>>;
1129
+ }, "strip", z.ZodTypeAny, {
1130
+ name?: string | undefined;
1131
+ identifier?: string | undefined;
1132
+ address?: {
1133
+ streetAddress?: string | undefined;
1134
+ city?: string | undefined;
1135
+ state?: string | undefined;
1136
+ country?: string | undefined;
1137
+ postalCode?: string | undefined;
1138
+ } | undefined;
1139
+ }, {
1140
+ name?: string | undefined;
1141
+ identifier?: string | undefined;
1142
+ address?: {
1143
+ streetAddress?: string | undefined;
1144
+ city?: string | undefined;
1145
+ state?: string | undefined;
1146
+ country?: string | undefined;
1147
+ postalCode?: string | undefined;
1148
+ } | undefined;
1149
+ }>>;
1150
+ }, "strip", z.ZodTypeAny, {
1151
+ name: string;
1152
+ identifier: string;
1153
+ address?: {
1154
+ streetAddress?: string | undefined;
1155
+ city?: string | undefined;
1156
+ state?: string | undefined;
1157
+ country?: string | undefined;
1158
+ postalCode?: string | undefined;
1159
+ } | undefined;
1160
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1161
+ agent?: {
1162
+ name?: string | undefined;
1163
+ identifier?: string | undefined;
1164
+ address?: {
1165
+ streetAddress?: string | undefined;
1166
+ city?: string | undefined;
1167
+ state?: string | undefined;
1168
+ country?: string | undefined;
1169
+ postalCode?: string | undefined;
1170
+ } | undefined;
1171
+ } | undefined;
1172
+ }, {
1173
+ name: string;
1174
+ identifier: string;
1175
+ address?: {
1176
+ streetAddress?: string | undefined;
1177
+ city?: string | undefined;
1178
+ state?: string | undefined;
1179
+ country?: string | undefined;
1180
+ postalCode?: string | undefined;
1181
+ } | undefined;
1182
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1183
+ agent?: {
1184
+ name?: string | undefined;
1185
+ identifier?: string | undefined;
1186
+ address?: {
1187
+ streetAddress?: string | undefined;
1188
+ city?: string | undefined;
1189
+ state?: string | undefined;
1190
+ country?: string | undefined;
1191
+ postalCode?: string | undefined;
1192
+ } | undefined;
1193
+ } | undefined;
1194
+ }>;
1195
+ creditor: z.ZodObject<{
1196
+ name: z.ZodString;
1197
+ identifier: z.ZodString;
1198
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
1199
+ address: z.ZodOptional<z.ZodObject<{
1200
+ streetAddress: z.ZodOptional<z.ZodString>;
1201
+ city: z.ZodOptional<z.ZodString>;
1202
+ state: z.ZodOptional<z.ZodString>;
1203
+ country: z.ZodOptional<z.ZodString>;
1204
+ postalCode: z.ZodOptional<z.ZodString>;
1205
+ }, "strip", z.ZodTypeAny, {
1206
+ streetAddress?: string | undefined;
1207
+ city?: string | undefined;
1208
+ state?: string | undefined;
1209
+ country?: string | undefined;
1210
+ postalCode?: string | undefined;
1211
+ }, {
1212
+ streetAddress?: string | undefined;
1213
+ city?: string | undefined;
1214
+ state?: string | undefined;
1215
+ country?: string | undefined;
1216
+ postalCode?: string | undefined;
1217
+ }>>;
1218
+ agent: z.ZodOptional<z.ZodObject<{
1219
+ name: z.ZodOptional<z.ZodString>;
1220
+ identifier: z.ZodOptional<z.ZodString>;
1221
+ address: z.ZodOptional<z.ZodObject<{
1222
+ streetAddress: z.ZodOptional<z.ZodString>;
1223
+ city: z.ZodOptional<z.ZodString>;
1224
+ state: z.ZodOptional<z.ZodString>;
1225
+ country: z.ZodOptional<z.ZodString>;
1226
+ postalCode: z.ZodOptional<z.ZodString>;
1227
+ }, "strip", z.ZodTypeAny, {
1228
+ streetAddress?: string | undefined;
1229
+ city?: string | undefined;
1230
+ state?: string | undefined;
1231
+ country?: string | undefined;
1232
+ postalCode?: string | undefined;
1233
+ }, {
1234
+ streetAddress?: string | undefined;
1235
+ city?: string | undefined;
1236
+ state?: string | undefined;
1237
+ country?: string | undefined;
1238
+ postalCode?: string | undefined;
1239
+ }>>;
1240
+ }, "strip", z.ZodTypeAny, {
1241
+ name?: string | undefined;
1242
+ identifier?: string | undefined;
1243
+ address?: {
1244
+ streetAddress?: string | undefined;
1245
+ city?: string | undefined;
1246
+ state?: string | undefined;
1247
+ country?: string | undefined;
1248
+ postalCode?: string | undefined;
1249
+ } | undefined;
1250
+ }, {
1251
+ name?: string | undefined;
1252
+ identifier?: string | undefined;
1253
+ address?: {
1254
+ streetAddress?: string | undefined;
1255
+ city?: string | undefined;
1256
+ state?: string | undefined;
1257
+ country?: string | undefined;
1258
+ postalCode?: string | undefined;
1259
+ } | undefined;
1260
+ }>>;
1261
+ }, "strip", z.ZodTypeAny, {
1262
+ name: string;
1263
+ identifier: string;
1264
+ address?: {
1265
+ streetAddress?: string | undefined;
1266
+ city?: string | undefined;
1267
+ state?: string | undefined;
1268
+ country?: string | undefined;
1269
+ postalCode?: string | undefined;
1270
+ } | undefined;
1271
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1272
+ agent?: {
1273
+ name?: string | undefined;
1274
+ identifier?: string | undefined;
1275
+ address?: {
1276
+ streetAddress?: string | undefined;
1277
+ city?: string | undefined;
1278
+ state?: string | undefined;
1279
+ country?: string | undefined;
1280
+ postalCode?: string | undefined;
1281
+ } | undefined;
1282
+ } | undefined;
1283
+ }, {
1284
+ name: string;
1285
+ identifier: string;
1286
+ address?: {
1287
+ streetAddress?: string | undefined;
1288
+ city?: string | undefined;
1289
+ state?: string | undefined;
1290
+ country?: string | undefined;
1291
+ postalCode?: string | undefined;
1292
+ } | undefined;
1293
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1294
+ agent?: {
1295
+ name?: string | undefined;
1296
+ identifier?: string | undefined;
1297
+ address?: {
1298
+ streetAddress?: string | undefined;
1299
+ city?: string | undefined;
1300
+ state?: string | undefined;
1301
+ country?: string | undefined;
1302
+ postalCode?: string | undefined;
1303
+ } | undefined;
1304
+ } | undefined;
1305
+ }>;
1306
+ clientId: z.ZodOptional<z.ZodString>;
1307
+ correspondent: z.ZodOptional<z.ZodObject<{
1308
+ name: z.ZodString;
1309
+ identifier: z.ZodString;
1310
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
1311
+ address: z.ZodOptional<z.ZodObject<{
1312
+ streetAddress: z.ZodOptional<z.ZodString>;
1313
+ city: z.ZodOptional<z.ZodString>;
1314
+ state: z.ZodOptional<z.ZodString>;
1315
+ country: z.ZodOptional<z.ZodString>;
1316
+ postalCode: z.ZodOptional<z.ZodString>;
1317
+ }, "strip", z.ZodTypeAny, {
1318
+ streetAddress?: string | undefined;
1319
+ city?: string | undefined;
1320
+ state?: string | undefined;
1321
+ country?: string | undefined;
1322
+ postalCode?: string | undefined;
1323
+ }, {
1324
+ streetAddress?: string | undefined;
1325
+ city?: string | undefined;
1326
+ state?: string | undefined;
1327
+ country?: string | undefined;
1328
+ postalCode?: string | undefined;
1329
+ }>>;
1330
+ agent: z.ZodOptional<z.ZodObject<{
1331
+ name: z.ZodOptional<z.ZodString>;
1332
+ identifier: z.ZodOptional<z.ZodString>;
1333
+ address: z.ZodOptional<z.ZodObject<{
1334
+ streetAddress: z.ZodOptional<z.ZodString>;
1335
+ city: z.ZodOptional<z.ZodString>;
1336
+ state: z.ZodOptional<z.ZodString>;
1337
+ country: z.ZodOptional<z.ZodString>;
1338
+ postalCode: z.ZodOptional<z.ZodString>;
1339
+ }, "strip", z.ZodTypeAny, {
1340
+ streetAddress?: string | undefined;
1341
+ city?: string | undefined;
1342
+ state?: string | undefined;
1343
+ country?: string | undefined;
1344
+ postalCode?: string | undefined;
1345
+ }, {
1346
+ streetAddress?: string | undefined;
1347
+ city?: string | undefined;
1348
+ state?: string | undefined;
1349
+ country?: string | undefined;
1350
+ postalCode?: string | undefined;
1351
+ }>>;
1352
+ }, "strip", z.ZodTypeAny, {
1353
+ name?: string | undefined;
1354
+ identifier?: string | undefined;
1355
+ address?: {
1356
+ streetAddress?: string | undefined;
1357
+ city?: string | undefined;
1358
+ state?: string | undefined;
1359
+ country?: string | undefined;
1360
+ postalCode?: string | undefined;
1361
+ } | undefined;
1362
+ }, {
1363
+ name?: string | undefined;
1364
+ identifier?: string | undefined;
1365
+ address?: {
1366
+ streetAddress?: string | undefined;
1367
+ city?: string | undefined;
1368
+ state?: string | undefined;
1369
+ country?: string | undefined;
1370
+ postalCode?: string | undefined;
1371
+ } | undefined;
1372
+ }>>;
1373
+ }, "strip", z.ZodTypeAny, {
1374
+ name: string;
1375
+ identifier: string;
1376
+ address?: {
1377
+ streetAddress?: string | undefined;
1378
+ city?: string | undefined;
1379
+ state?: string | undefined;
1380
+ country?: string | undefined;
1381
+ postalCode?: string | undefined;
1382
+ } | undefined;
1383
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1384
+ agent?: {
1385
+ name?: string | undefined;
1386
+ identifier?: string | undefined;
1387
+ address?: {
1388
+ streetAddress?: string | undefined;
1389
+ city?: string | undefined;
1390
+ state?: string | undefined;
1391
+ country?: string | undefined;
1392
+ postalCode?: string | undefined;
1393
+ } | undefined;
1394
+ } | undefined;
1395
+ }, {
1396
+ name: string;
1397
+ identifier: string;
1398
+ address?: {
1399
+ streetAddress?: string | undefined;
1400
+ city?: string | undefined;
1401
+ state?: string | undefined;
1402
+ country?: string | undefined;
1403
+ postalCode?: string | undefined;
1404
+ } | undefined;
1405
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1406
+ agent?: {
1407
+ name?: string | undefined;
1408
+ identifier?: string | undefined;
1409
+ address?: {
1410
+ streetAddress?: string | undefined;
1411
+ city?: string | undefined;
1412
+ state?: string | undefined;
1413
+ country?: string | undefined;
1414
+ postalCode?: string | undefined;
1415
+ } | undefined;
1416
+ } | undefined;
1417
+ }>>;
1418
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
1419
+ externalId: z.ZodOptional<z.ZodString>;
1420
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1421
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1422
+ chargeBearer: z.ZodOptional<z.ZodEnum<["OUR", "BEN", "SHA"]>>;
1423
+ purposeCode: z.ZodOptional<z.ZodString>;
1424
+ valueDate: z.ZodOptional<z.ZodString>;
1425
+ executionDate: z.ZodOptional<z.ZodString>;
1426
+ }, z.ZodAny, "strip">, z.objectInputType<{
1427
+ amount: z.ZodNumber;
1428
+ currency: z.ZodString;
1429
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
1430
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
1431
+ debtor: z.ZodObject<{
1432
+ name: z.ZodString;
1433
+ identifier: z.ZodString;
1434
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
1435
+ address: z.ZodOptional<z.ZodObject<{
1436
+ streetAddress: z.ZodOptional<z.ZodString>;
1437
+ city: z.ZodOptional<z.ZodString>;
1438
+ state: z.ZodOptional<z.ZodString>;
1439
+ country: z.ZodOptional<z.ZodString>;
1440
+ postalCode: z.ZodOptional<z.ZodString>;
1441
+ }, "strip", z.ZodTypeAny, {
1442
+ streetAddress?: string | undefined;
1443
+ city?: string | undefined;
1444
+ state?: string | undefined;
1445
+ country?: string | undefined;
1446
+ postalCode?: string | undefined;
1447
+ }, {
1448
+ streetAddress?: string | undefined;
1449
+ city?: string | undefined;
1450
+ state?: string | undefined;
1451
+ country?: string | undefined;
1452
+ postalCode?: string | undefined;
1453
+ }>>;
1454
+ agent: z.ZodOptional<z.ZodObject<{
1455
+ name: z.ZodOptional<z.ZodString>;
1456
+ identifier: z.ZodOptional<z.ZodString>;
1457
+ address: z.ZodOptional<z.ZodObject<{
1458
+ streetAddress: z.ZodOptional<z.ZodString>;
1459
+ city: z.ZodOptional<z.ZodString>;
1460
+ state: z.ZodOptional<z.ZodString>;
1461
+ country: z.ZodOptional<z.ZodString>;
1462
+ postalCode: z.ZodOptional<z.ZodString>;
1463
+ }, "strip", z.ZodTypeAny, {
1464
+ streetAddress?: string | undefined;
1465
+ city?: string | undefined;
1466
+ state?: string | undefined;
1467
+ country?: string | undefined;
1468
+ postalCode?: string | undefined;
1469
+ }, {
1470
+ streetAddress?: string | undefined;
1471
+ city?: string | undefined;
1472
+ state?: string | undefined;
1473
+ country?: string | undefined;
1474
+ postalCode?: string | undefined;
1475
+ }>>;
1476
+ }, "strip", z.ZodTypeAny, {
1477
+ name?: string | undefined;
1478
+ identifier?: string | undefined;
1479
+ address?: {
1480
+ streetAddress?: string | undefined;
1481
+ city?: string | undefined;
1482
+ state?: string | undefined;
1483
+ country?: string | undefined;
1484
+ postalCode?: string | undefined;
1485
+ } | undefined;
1486
+ }, {
1487
+ name?: string | undefined;
1488
+ identifier?: string | undefined;
1489
+ address?: {
1490
+ streetAddress?: string | undefined;
1491
+ city?: string | undefined;
1492
+ state?: string | undefined;
1493
+ country?: string | undefined;
1494
+ postalCode?: string | undefined;
1495
+ } | undefined;
1496
+ }>>;
1497
+ }, "strip", z.ZodTypeAny, {
1498
+ name: string;
1499
+ identifier: string;
1500
+ address?: {
1501
+ streetAddress?: string | undefined;
1502
+ city?: string | undefined;
1503
+ state?: string | undefined;
1504
+ country?: string | undefined;
1505
+ postalCode?: string | undefined;
1506
+ } | undefined;
1507
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1508
+ agent?: {
1509
+ name?: string | undefined;
1510
+ identifier?: string | undefined;
1511
+ address?: {
1512
+ streetAddress?: string | undefined;
1513
+ city?: string | undefined;
1514
+ state?: string | undefined;
1515
+ country?: string | undefined;
1516
+ postalCode?: string | undefined;
1517
+ } | undefined;
1518
+ } | undefined;
1519
+ }, {
1520
+ name: string;
1521
+ identifier: string;
1522
+ address?: {
1523
+ streetAddress?: string | undefined;
1524
+ city?: string | undefined;
1525
+ state?: string | undefined;
1526
+ country?: string | undefined;
1527
+ postalCode?: string | undefined;
1528
+ } | undefined;
1529
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1530
+ agent?: {
1531
+ name?: string | undefined;
1532
+ identifier?: string | undefined;
1533
+ address?: {
1534
+ streetAddress?: string | undefined;
1535
+ city?: string | undefined;
1536
+ state?: string | undefined;
1537
+ country?: string | undefined;
1538
+ postalCode?: string | undefined;
1539
+ } | undefined;
1540
+ } | undefined;
1541
+ }>;
1542
+ creditor: z.ZodObject<{
1543
+ name: z.ZodString;
1544
+ identifier: z.ZodString;
1545
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
1546
+ address: z.ZodOptional<z.ZodObject<{
1547
+ streetAddress: z.ZodOptional<z.ZodString>;
1548
+ city: z.ZodOptional<z.ZodString>;
1549
+ state: z.ZodOptional<z.ZodString>;
1550
+ country: z.ZodOptional<z.ZodString>;
1551
+ postalCode: z.ZodOptional<z.ZodString>;
1552
+ }, "strip", z.ZodTypeAny, {
1553
+ streetAddress?: string | undefined;
1554
+ city?: string | undefined;
1555
+ state?: string | undefined;
1556
+ country?: string | undefined;
1557
+ postalCode?: string | undefined;
1558
+ }, {
1559
+ streetAddress?: string | undefined;
1560
+ city?: string | undefined;
1561
+ state?: string | undefined;
1562
+ country?: string | undefined;
1563
+ postalCode?: string | undefined;
1564
+ }>>;
1565
+ agent: z.ZodOptional<z.ZodObject<{
1566
+ name: z.ZodOptional<z.ZodString>;
1567
+ identifier: z.ZodOptional<z.ZodString>;
1568
+ address: z.ZodOptional<z.ZodObject<{
1569
+ streetAddress: z.ZodOptional<z.ZodString>;
1570
+ city: z.ZodOptional<z.ZodString>;
1571
+ state: z.ZodOptional<z.ZodString>;
1572
+ country: z.ZodOptional<z.ZodString>;
1573
+ postalCode: z.ZodOptional<z.ZodString>;
1574
+ }, "strip", z.ZodTypeAny, {
1575
+ streetAddress?: string | undefined;
1576
+ city?: string | undefined;
1577
+ state?: string | undefined;
1578
+ country?: string | undefined;
1579
+ postalCode?: string | undefined;
1580
+ }, {
1581
+ streetAddress?: string | undefined;
1582
+ city?: string | undefined;
1583
+ state?: string | undefined;
1584
+ country?: string | undefined;
1585
+ postalCode?: string | undefined;
1586
+ }>>;
1587
+ }, "strip", z.ZodTypeAny, {
1588
+ name?: string | undefined;
1589
+ identifier?: string | undefined;
1590
+ address?: {
1591
+ streetAddress?: string | undefined;
1592
+ city?: string | undefined;
1593
+ state?: string | undefined;
1594
+ country?: string | undefined;
1595
+ postalCode?: string | undefined;
1596
+ } | undefined;
1597
+ }, {
1598
+ name?: string | undefined;
1599
+ identifier?: string | undefined;
1600
+ address?: {
1601
+ streetAddress?: string | undefined;
1602
+ city?: string | undefined;
1603
+ state?: string | undefined;
1604
+ country?: string | undefined;
1605
+ postalCode?: string | undefined;
1606
+ } | undefined;
1607
+ }>>;
1608
+ }, "strip", z.ZodTypeAny, {
1609
+ name: string;
1610
+ identifier: string;
1611
+ address?: {
1612
+ streetAddress?: string | undefined;
1613
+ city?: string | undefined;
1614
+ state?: string | undefined;
1615
+ country?: string | undefined;
1616
+ postalCode?: string | undefined;
1617
+ } | undefined;
1618
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1619
+ agent?: {
1620
+ name?: string | undefined;
1621
+ identifier?: string | undefined;
1622
+ address?: {
1623
+ streetAddress?: string | undefined;
1624
+ city?: string | undefined;
1625
+ state?: string | undefined;
1626
+ country?: string | undefined;
1627
+ postalCode?: string | undefined;
1628
+ } | undefined;
1629
+ } | undefined;
1630
+ }, {
1631
+ name: string;
1632
+ identifier: string;
1633
+ address?: {
1634
+ streetAddress?: string | undefined;
1635
+ city?: string | undefined;
1636
+ state?: string | undefined;
1637
+ country?: string | undefined;
1638
+ postalCode?: string | undefined;
1639
+ } | undefined;
1640
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1641
+ agent?: {
1642
+ name?: string | undefined;
1643
+ identifier?: string | undefined;
1644
+ address?: {
1645
+ streetAddress?: string | undefined;
1646
+ city?: string | undefined;
1647
+ state?: string | undefined;
1648
+ country?: string | undefined;
1649
+ postalCode?: string | undefined;
1650
+ } | undefined;
1651
+ } | undefined;
1652
+ }>;
1653
+ clientId: z.ZodOptional<z.ZodString>;
1654
+ correspondent: z.ZodOptional<z.ZodObject<{
1655
+ name: z.ZodString;
1656
+ identifier: z.ZodString;
1657
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
1658
+ address: z.ZodOptional<z.ZodObject<{
1659
+ streetAddress: z.ZodOptional<z.ZodString>;
1660
+ city: z.ZodOptional<z.ZodString>;
1661
+ state: z.ZodOptional<z.ZodString>;
1662
+ country: z.ZodOptional<z.ZodString>;
1663
+ postalCode: z.ZodOptional<z.ZodString>;
1664
+ }, "strip", z.ZodTypeAny, {
1665
+ streetAddress?: string | undefined;
1666
+ city?: string | undefined;
1667
+ state?: string | undefined;
1668
+ country?: string | undefined;
1669
+ postalCode?: string | undefined;
1670
+ }, {
1671
+ streetAddress?: string | undefined;
1672
+ city?: string | undefined;
1673
+ state?: string | undefined;
1674
+ country?: string | undefined;
1675
+ postalCode?: string | undefined;
1676
+ }>>;
1677
+ agent: z.ZodOptional<z.ZodObject<{
1678
+ name: z.ZodOptional<z.ZodString>;
1679
+ identifier: z.ZodOptional<z.ZodString>;
1680
+ address: z.ZodOptional<z.ZodObject<{
1681
+ streetAddress: z.ZodOptional<z.ZodString>;
1682
+ city: z.ZodOptional<z.ZodString>;
1683
+ state: z.ZodOptional<z.ZodString>;
1684
+ country: z.ZodOptional<z.ZodString>;
1685
+ postalCode: z.ZodOptional<z.ZodString>;
1686
+ }, "strip", z.ZodTypeAny, {
1687
+ streetAddress?: string | undefined;
1688
+ city?: string | undefined;
1689
+ state?: string | undefined;
1690
+ country?: string | undefined;
1691
+ postalCode?: string | undefined;
1692
+ }, {
1693
+ streetAddress?: string | undefined;
1694
+ city?: string | undefined;
1695
+ state?: string | undefined;
1696
+ country?: string | undefined;
1697
+ postalCode?: string | undefined;
1698
+ }>>;
1699
+ }, "strip", z.ZodTypeAny, {
1700
+ name?: string | undefined;
1701
+ identifier?: string | undefined;
1702
+ address?: {
1703
+ streetAddress?: string | undefined;
1704
+ city?: string | undefined;
1705
+ state?: string | undefined;
1706
+ country?: string | undefined;
1707
+ postalCode?: string | undefined;
1708
+ } | undefined;
1709
+ }, {
1710
+ name?: string | undefined;
1711
+ identifier?: string | undefined;
1712
+ address?: {
1713
+ streetAddress?: string | undefined;
1714
+ city?: string | undefined;
1715
+ state?: string | undefined;
1716
+ country?: string | undefined;
1717
+ postalCode?: string | undefined;
1718
+ } | undefined;
1719
+ }>>;
1720
+ }, "strip", z.ZodTypeAny, {
1721
+ name: string;
1722
+ identifier: string;
1723
+ address?: {
1724
+ streetAddress?: string | undefined;
1725
+ city?: string | undefined;
1726
+ state?: string | undefined;
1727
+ country?: string | undefined;
1728
+ postalCode?: string | undefined;
1729
+ } | undefined;
1730
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1731
+ agent?: {
1732
+ name?: string | undefined;
1733
+ identifier?: string | undefined;
1734
+ address?: {
1735
+ streetAddress?: string | undefined;
1736
+ city?: string | undefined;
1737
+ state?: string | undefined;
1738
+ country?: string | undefined;
1739
+ postalCode?: string | undefined;
1740
+ } | undefined;
1741
+ } | undefined;
1742
+ }, {
1743
+ name: string;
1744
+ identifier: string;
1745
+ address?: {
1746
+ streetAddress?: string | undefined;
1747
+ city?: string | undefined;
1748
+ state?: string | undefined;
1749
+ country?: string | undefined;
1750
+ postalCode?: string | undefined;
1751
+ } | undefined;
1752
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1753
+ agent?: {
1754
+ name?: string | undefined;
1755
+ identifier?: string | undefined;
1756
+ address?: {
1757
+ streetAddress?: string | undefined;
1758
+ city?: string | undefined;
1759
+ state?: string | undefined;
1760
+ country?: string | undefined;
1761
+ postalCode?: string | undefined;
1762
+ } | undefined;
1763
+ } | undefined;
1764
+ }>>;
1765
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
1766
+ externalId: z.ZodOptional<z.ZodString>;
1767
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1768
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1769
+ chargeBearer: z.ZodOptional<z.ZodEnum<["OUR", "BEN", "SHA"]>>;
1770
+ purposeCode: z.ZodOptional<z.ZodString>;
1771
+ valueDate: z.ZodOptional<z.ZodString>;
1772
+ executionDate: z.ZodOptional<z.ZodString>;
1773
+ }, z.ZodAny, "strip">>;
1774
+ declare const UpdatePaymentInputSchema: z.ZodObject<{
1775
+ amount: z.ZodOptional<z.ZodNumber>;
1776
+ correspondent: z.ZodOptional<z.ZodObject<{
1777
+ name: z.ZodOptional<z.ZodString>;
1778
+ identifier: z.ZodOptional<z.ZodString>;
1779
+ accountType: z.ZodOptional<z.ZodString>;
1780
+ }, "strip", z.ZodTypeAny, {
1781
+ name?: string | undefined;
1782
+ identifier?: string | undefined;
1783
+ accountType?: string | undefined;
1784
+ }, {
1785
+ name?: string | undefined;
1786
+ identifier?: string | undefined;
1787
+ accountType?: string | undefined;
1788
+ }>>;
1789
+ creditor: z.ZodOptional<z.ZodObject<{
1790
+ name: z.ZodOptional<z.ZodString>;
1791
+ identifier: z.ZodOptional<z.ZodString>;
1792
+ accountType: z.ZodOptional<z.ZodString>;
1793
+ agent: z.ZodOptional<z.ZodObject<{
1794
+ name: z.ZodOptional<z.ZodString>;
1795
+ identifier: z.ZodOptional<z.ZodString>;
1796
+ }, "strip", z.ZodTypeAny, {
1797
+ name?: string | undefined;
1798
+ identifier?: string | undefined;
1799
+ }, {
1800
+ name?: string | undefined;
1801
+ identifier?: string | undefined;
1802
+ }>>;
1803
+ }, "strip", z.ZodTypeAny, {
1804
+ name?: string | undefined;
1805
+ identifier?: string | undefined;
1806
+ accountType?: string | undefined;
1807
+ agent?: {
1808
+ name?: string | undefined;
1809
+ identifier?: string | undefined;
1810
+ } | undefined;
1811
+ }, {
1812
+ name?: string | undefined;
1813
+ identifier?: string | undefined;
1814
+ accountType?: string | undefined;
1815
+ agent?: {
1816
+ name?: string | undefined;
1817
+ identifier?: string | undefined;
1818
+ } | undefined;
1819
+ }>>;
1820
+ debtor: z.ZodOptional<z.ZodObject<{
1821
+ name: z.ZodOptional<z.ZodString>;
1822
+ identifier: z.ZodOptional<z.ZodString>;
1823
+ accountType: z.ZodOptional<z.ZodString>;
1824
+ agent: z.ZodOptional<z.ZodObject<{
1825
+ name: z.ZodOptional<z.ZodString>;
1826
+ identifier: z.ZodOptional<z.ZodString>;
1827
+ }, "strip", z.ZodTypeAny, {
1828
+ name?: string | undefined;
1829
+ identifier?: string | undefined;
1830
+ }, {
1831
+ name?: string | undefined;
1832
+ identifier?: string | undefined;
1833
+ }>>;
1834
+ }, "strip", z.ZodTypeAny, {
1835
+ name?: string | undefined;
1836
+ identifier?: string | undefined;
1837
+ accountType?: string | undefined;
1838
+ agent?: {
1839
+ name?: string | undefined;
1840
+ identifier?: string | undefined;
1841
+ } | undefined;
1842
+ }, {
1843
+ name?: string | undefined;
1844
+ identifier?: string | undefined;
1845
+ accountType?: string | undefined;
1846
+ agent?: {
1847
+ name?: string | undefined;
1848
+ identifier?: string | undefined;
1849
+ } | undefined;
1850
+ }>>;
1851
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
1852
+ externalId: z.ZodOptional<z.ZodString>;
1853
+ errorCode: z.ZodOptional<z.ZodString>;
1854
+ errorMessage: z.ZodOptional<z.ZodString>;
1855
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1856
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1857
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
1858
+ }, "strip", z.ZodAny, z.objectOutputType<{
1859
+ amount: z.ZodOptional<z.ZodNumber>;
1860
+ correspondent: z.ZodOptional<z.ZodObject<{
1861
+ name: z.ZodOptional<z.ZodString>;
1862
+ identifier: z.ZodOptional<z.ZodString>;
1863
+ accountType: z.ZodOptional<z.ZodString>;
1864
+ }, "strip", z.ZodTypeAny, {
1865
+ name?: string | undefined;
1866
+ identifier?: string | undefined;
1867
+ accountType?: string | undefined;
1868
+ }, {
1869
+ name?: string | undefined;
1870
+ identifier?: string | undefined;
1871
+ accountType?: string | undefined;
1872
+ }>>;
1873
+ creditor: z.ZodOptional<z.ZodObject<{
1874
+ name: z.ZodOptional<z.ZodString>;
1875
+ identifier: z.ZodOptional<z.ZodString>;
1876
+ accountType: z.ZodOptional<z.ZodString>;
1877
+ agent: z.ZodOptional<z.ZodObject<{
1878
+ name: z.ZodOptional<z.ZodString>;
1879
+ identifier: z.ZodOptional<z.ZodString>;
1880
+ }, "strip", z.ZodTypeAny, {
1881
+ name?: string | undefined;
1882
+ identifier?: string | undefined;
1883
+ }, {
1884
+ name?: string | undefined;
1885
+ identifier?: string | undefined;
1886
+ }>>;
1887
+ }, "strip", z.ZodTypeAny, {
1888
+ name?: string | undefined;
1889
+ identifier?: string | undefined;
1890
+ accountType?: string | undefined;
1891
+ agent?: {
1892
+ name?: string | undefined;
1893
+ identifier?: string | undefined;
1894
+ } | undefined;
1895
+ }, {
1896
+ name?: string | undefined;
1897
+ identifier?: string | undefined;
1898
+ accountType?: string | undefined;
1899
+ agent?: {
1900
+ name?: string | undefined;
1901
+ identifier?: string | undefined;
1902
+ } | undefined;
1903
+ }>>;
1904
+ debtor: z.ZodOptional<z.ZodObject<{
1905
+ name: z.ZodOptional<z.ZodString>;
1906
+ identifier: z.ZodOptional<z.ZodString>;
1907
+ accountType: z.ZodOptional<z.ZodString>;
1908
+ agent: z.ZodOptional<z.ZodObject<{
1909
+ name: z.ZodOptional<z.ZodString>;
1910
+ identifier: z.ZodOptional<z.ZodString>;
1911
+ }, "strip", z.ZodTypeAny, {
1912
+ name?: string | undefined;
1913
+ identifier?: string | undefined;
1914
+ }, {
1915
+ name?: string | undefined;
1916
+ identifier?: string | undefined;
1917
+ }>>;
1918
+ }, "strip", z.ZodTypeAny, {
1919
+ name?: string | undefined;
1920
+ identifier?: string | undefined;
1921
+ accountType?: string | undefined;
1922
+ agent?: {
1923
+ name?: string | undefined;
1924
+ identifier?: string | undefined;
1925
+ } | undefined;
1926
+ }, {
1927
+ name?: string | undefined;
1928
+ identifier?: string | undefined;
1929
+ accountType?: string | undefined;
1930
+ agent?: {
1931
+ name?: string | undefined;
1932
+ identifier?: string | undefined;
1933
+ } | undefined;
1934
+ }>>;
1935
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
1936
+ externalId: z.ZodOptional<z.ZodString>;
1937
+ errorCode: z.ZodOptional<z.ZodString>;
1938
+ errorMessage: z.ZodOptional<z.ZodString>;
1939
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1940
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1941
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
1942
+ }, z.ZodAny, "strip">, z.objectInputType<{
1943
+ amount: z.ZodOptional<z.ZodNumber>;
1944
+ correspondent: z.ZodOptional<z.ZodObject<{
1945
+ name: z.ZodOptional<z.ZodString>;
1946
+ identifier: z.ZodOptional<z.ZodString>;
1947
+ accountType: z.ZodOptional<z.ZodString>;
1948
+ }, "strip", z.ZodTypeAny, {
1949
+ name?: string | undefined;
1950
+ identifier?: string | undefined;
1951
+ accountType?: string | undefined;
1952
+ }, {
1953
+ name?: string | undefined;
1954
+ identifier?: string | undefined;
1955
+ accountType?: string | undefined;
1956
+ }>>;
1957
+ creditor: z.ZodOptional<z.ZodObject<{
1958
+ name: z.ZodOptional<z.ZodString>;
1959
+ identifier: z.ZodOptional<z.ZodString>;
1960
+ accountType: z.ZodOptional<z.ZodString>;
1961
+ agent: z.ZodOptional<z.ZodObject<{
1962
+ name: z.ZodOptional<z.ZodString>;
1963
+ identifier: z.ZodOptional<z.ZodString>;
1964
+ }, "strip", z.ZodTypeAny, {
1965
+ name?: string | undefined;
1966
+ identifier?: string | undefined;
1967
+ }, {
1968
+ name?: string | undefined;
1969
+ identifier?: string | undefined;
1970
+ }>>;
1971
+ }, "strip", z.ZodTypeAny, {
1972
+ name?: string | undefined;
1973
+ identifier?: string | undefined;
1974
+ accountType?: string | undefined;
1975
+ agent?: {
1976
+ name?: string | undefined;
1977
+ identifier?: string | undefined;
1978
+ } | undefined;
1979
+ }, {
1980
+ name?: string | undefined;
1981
+ identifier?: string | undefined;
1982
+ accountType?: string | undefined;
1983
+ agent?: {
1984
+ name?: string | undefined;
1985
+ identifier?: string | undefined;
1986
+ } | undefined;
1987
+ }>>;
1988
+ debtor: z.ZodOptional<z.ZodObject<{
1989
+ name: z.ZodOptional<z.ZodString>;
1990
+ identifier: z.ZodOptional<z.ZodString>;
1991
+ accountType: z.ZodOptional<z.ZodString>;
1992
+ agent: z.ZodOptional<z.ZodObject<{
1993
+ name: z.ZodOptional<z.ZodString>;
1994
+ identifier: z.ZodOptional<z.ZodString>;
1995
+ }, "strip", z.ZodTypeAny, {
1996
+ name?: string | undefined;
1997
+ identifier?: string | undefined;
1998
+ }, {
1999
+ name?: string | undefined;
2000
+ identifier?: string | undefined;
2001
+ }>>;
2002
+ }, "strip", z.ZodTypeAny, {
2003
+ name?: string | undefined;
2004
+ identifier?: string | undefined;
2005
+ accountType?: string | undefined;
2006
+ agent?: {
2007
+ name?: string | undefined;
2008
+ identifier?: string | undefined;
2009
+ } | undefined;
2010
+ }, {
2011
+ name?: string | undefined;
2012
+ identifier?: string | undefined;
2013
+ accountType?: string | undefined;
2014
+ agent?: {
2015
+ name?: string | undefined;
2016
+ identifier?: string | undefined;
2017
+ } | undefined;
2018
+ }>>;
2019
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
2020
+ externalId: z.ZodOptional<z.ZodString>;
2021
+ errorCode: z.ZodOptional<z.ZodString>;
2022
+ errorMessage: z.ZodOptional<z.ZodString>;
2023
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2024
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2025
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
2026
+ }, z.ZodAny, "strip">>;
2027
+ declare const PaymentResponseSchema: z.ZodObject<{
2028
+ totalFilteredRecords: z.ZodNumber;
2029
+ pageItems: z.ZodArray<z.ZodObject<{
2030
+ id: z.ZodString;
2031
+ amount: z.ZodNumber;
2032
+ clientId: z.ZodString;
2033
+ currency: z.ZodString;
2034
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
2035
+ createdAt: z.ZodOptional<z.ZodString>;
2036
+ updatedAt: z.ZodOptional<z.ZodString>;
2037
+ }, "strip", z.ZodAny, z.objectOutputType<{
2038
+ id: z.ZodString;
2039
+ amount: z.ZodNumber;
2040
+ clientId: z.ZodString;
2041
+ currency: z.ZodString;
2042
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
2043
+ createdAt: z.ZodOptional<z.ZodString>;
2044
+ updatedAt: z.ZodOptional<z.ZodString>;
2045
+ }, z.ZodAny, "strip">, z.objectInputType<{
2046
+ id: z.ZodString;
2047
+ amount: z.ZodNumber;
2048
+ clientId: z.ZodString;
2049
+ currency: z.ZodString;
2050
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
2051
+ createdAt: z.ZodOptional<z.ZodString>;
2052
+ updatedAt: z.ZodOptional<z.ZodString>;
2053
+ }, z.ZodAny, "strip">>, "many">;
2054
+ }, "strip", z.ZodTypeAny, {
2055
+ totalFilteredRecords: number;
2056
+ pageItems: z.objectOutputType<{
2057
+ id: z.ZodString;
2058
+ amount: z.ZodNumber;
2059
+ clientId: z.ZodString;
2060
+ currency: z.ZodString;
2061
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
2062
+ createdAt: z.ZodOptional<z.ZodString>;
2063
+ updatedAt: z.ZodOptional<z.ZodString>;
2064
+ }, z.ZodAny, "strip">[];
2065
+ }, {
2066
+ totalFilteredRecords: number;
2067
+ pageItems: z.objectInputType<{
2068
+ id: z.ZodString;
2069
+ amount: z.ZodNumber;
2070
+ clientId: z.ZodString;
2071
+ currency: z.ZodString;
2072
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
2073
+ createdAt: z.ZodOptional<z.ZodString>;
2074
+ updatedAt: z.ZodOptional<z.ZodString>;
2075
+ }, z.ZodAny, "strip">[];
2076
+ }>;
2077
+ type Payment = z.infer<typeof PaymentSchema>;
2078
+ type CreatePaymentInput = z.infer<typeof CreatePaymentInputSchema>;
2079
+ type UpdatePaymentInput = z.infer<typeof UpdatePaymentInputSchema>;
2080
+ type PaymentResponse = z.infer<typeof PaymentResponseSchema>;
2081
+
2082
+ declare const createClient: (initialConfig: Config) => {
2083
+ payment: {
2084
+ create: (data: CreatePaymentInput) => Promise<{
2085
+ execute: () => Promise<zod.objectOutputType<{
2086
+ id: zod.ZodString;
2087
+ amount: zod.ZodNumber;
2088
+ clientId: zod.ZodString;
2089
+ currency: zod.ZodString;
2090
+ status: zod.ZodOptional<zod.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
2091
+ createdAt: zod.ZodOptional<zod.ZodString>;
2092
+ updatedAt: zod.ZodOptional<zod.ZodString>;
2093
+ }, zod.ZodAny, "strip"> | undefined>;
2094
+ }>;
2095
+ get: (id: string) => Promise<{
2096
+ execute: () => Promise<zod.objectOutputType<{
2097
+ id: zod.ZodString;
2098
+ amount: zod.ZodNumber;
2099
+ clientId: zod.ZodString;
2100
+ currency: zod.ZodString;
2101
+ status: zod.ZodOptional<zod.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
2102
+ createdAt: zod.ZodOptional<zod.ZodString>;
2103
+ updatedAt: zod.ZodOptional<zod.ZodString>;
2104
+ }, zod.ZodAny, "strip"> | undefined>;
2105
+ }>;
2106
+ update: (id: string, data: UpdatePaymentInput) => Promise<{
2107
+ execute: () => Promise<zod.objectOutputType<{
2108
+ id: zod.ZodString;
2109
+ amount: zod.ZodNumber;
2110
+ clientId: zod.ZodString;
2111
+ currency: zod.ZodString;
2112
+ status: zod.ZodOptional<zod.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
2113
+ createdAt: zod.ZodOptional<zod.ZodString>;
2114
+ updatedAt: zod.ZodOptional<zod.ZodString>;
2115
+ }, zod.ZodAny, "strip"> | undefined>;
2116
+ }>;
2117
+ delete: (id: string) => Promise<{
2118
+ execute: () => Promise<void | undefined>;
2119
+ }>;
2120
+ list: () => {
2121
+ where: (field: string) => {
2122
+ eq: (value: any) => {
2123
+ where: /*elided*/ any;
2124
+ limit: (value: number) => /*elided*/ any;
2125
+ offset: (value: number) => /*elided*/ any;
2126
+ execute: () => Command<any, Array<Payment>>;
2127
+ };
2128
+ };
2129
+ limit: (value: number) => {
2130
+ where: (field: string) => {
2131
+ eq: (value: any) => /*elided*/ any;
2132
+ };
2133
+ limit: /*elided*/ any;
2134
+ offset: (value: number) => /*elided*/ any;
2135
+ execute: () => Command<any, Array<Payment>>;
2136
+ };
2137
+ offset: (value: number) => {
2138
+ where: (field: string) => {
2139
+ eq: (value: any) => /*elided*/ any;
2140
+ };
2141
+ limit: (value: number) => /*elided*/ any;
2142
+ offset: /*elided*/ any;
2143
+ execute: () => Command<any, Array<Payment>>;
2144
+ };
2145
+ execute: () => Promise<zod.objectOutputType<{
2146
+ id: zod.ZodString;
2147
+ amount: zod.ZodNumber;
2148
+ clientId: zod.ZodString;
2149
+ currency: zod.ZodString;
2150
+ status: zod.ZodOptional<zod.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
2151
+ createdAt: zod.ZodOptional<zod.ZodString>;
2152
+ updatedAt: zod.ZodOptional<zod.ZodString>;
2153
+ }, zod.ZodAny, "strip">[] | undefined>;
2154
+ };
2155
+ };
2156
+ setConfig: (config: Config) => void;
2157
+ updateConfig: (config: Partial<Config>) => void;
2158
+ resetConfig: () => void;
2159
+ request: <TOutput>(command: Command<any, TOutput>) => Promise<TOutput | undefined>;
2160
+ tenant: (tenantId: string) => {
2161
+ payment: {
2162
+ create: (data: CreatePaymentInput) => Promise<{
2163
+ execute: () => Promise<zod.objectOutputType<{
2164
+ id: zod.ZodString;
2165
+ amount: zod.ZodNumber;
2166
+ clientId: zod.ZodString;
2167
+ currency: zod.ZodString;
2168
+ status: zod.ZodOptional<zod.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
2169
+ createdAt: zod.ZodOptional<zod.ZodString>;
2170
+ updatedAt: zod.ZodOptional<zod.ZodString>;
2171
+ }, zod.ZodAny, "strip"> | undefined>;
2172
+ }>;
2173
+ get: (id: string) => Promise<{
2174
+ execute: () => Promise<zod.objectOutputType<{
2175
+ id: zod.ZodString;
2176
+ amount: zod.ZodNumber;
2177
+ clientId: zod.ZodString;
2178
+ currency: zod.ZodString;
2179
+ status: zod.ZodOptional<zod.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
2180
+ createdAt: zod.ZodOptional<zod.ZodString>;
2181
+ updatedAt: zod.ZodOptional<zod.ZodString>;
2182
+ }, zod.ZodAny, "strip"> | undefined>;
2183
+ }>;
2184
+ update: (id: string, data: UpdatePaymentInput) => Promise<{
2185
+ execute: () => Promise<zod.objectOutputType<{
2186
+ id: zod.ZodString;
2187
+ amount: zod.ZodNumber;
2188
+ clientId: zod.ZodString;
2189
+ currency: zod.ZodString;
2190
+ status: zod.ZodOptional<zod.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
2191
+ createdAt: zod.ZodOptional<zod.ZodString>;
2192
+ updatedAt: zod.ZodOptional<zod.ZodString>;
2193
+ }, zod.ZodAny, "strip"> | undefined>;
2194
+ }>;
2195
+ delete: (id: string) => Promise<{
2196
+ execute: () => Promise<void | undefined>;
2197
+ }>;
2198
+ list: () => {
2199
+ where: (field: string) => {
2200
+ eq: (value: any) => {
2201
+ where: /*elided*/ any;
2202
+ limit: (value: number) => /*elided*/ any;
2203
+ offset: (value: number) => /*elided*/ any;
2204
+ execute: () => Command<any, Array<Payment>>;
2205
+ };
2206
+ };
2207
+ limit: (value: number) => {
2208
+ where: (field: string) => {
2209
+ eq: (value: any) => /*elided*/ any;
2210
+ };
2211
+ limit: /*elided*/ any;
2212
+ offset: (value: number) => /*elided*/ any;
2213
+ execute: () => Command<any, Array<Payment>>;
2214
+ };
2215
+ offset: (value: number) => {
2216
+ where: (field: string) => {
2217
+ eq: (value: any) => /*elided*/ any;
2218
+ };
2219
+ limit: (value: number) => /*elided*/ any;
2220
+ offset: /*elided*/ any;
2221
+ execute: () => Command<any, Array<Payment>>;
2222
+ };
2223
+ execute: () => Promise<zod.objectOutputType<{
2224
+ id: zod.ZodString;
2225
+ amount: zod.ZodNumber;
2226
+ clientId: zod.ZodString;
2227
+ currency: zod.ZodString;
2228
+ status: zod.ZodOptional<zod.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
2229
+ createdAt: zod.ZodOptional<zod.ZodString>;
2230
+ updatedAt: zod.ZodOptional<zod.ZodString>;
2231
+ }, zod.ZodAny, "strip">[] | undefined>;
2232
+ };
2233
+ };
2234
+ };
2235
+ };
2236
+
2237
+ export { type CreatePaymentInput as C, type Payment as P, SortOrderSchema as S, type UpdatePaymentInput as U, type PaymentResponse as a, type PaymentStatus as b, createClient as c, type PaymentRailType as d, type PaymentType as e, PaymentStatusSchema as f, PaymentFilterKeySchema as g, PaymentRailSchema as h, PaymentTypeSchema as i, CreatePaymentInputSchema as j, UpdatePaymentInputSchema as k, PaymentResponseSchema as l };