@mbanq/core-sdk-js 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4568 @@
1
+ import * as zod from 'zod';
2
+ import { z } from 'zod';
3
+ import { a as Config, C as Command } from './config.d-CyK6ZM6s.js';
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 PaymentFilterShape: {
14
+ originatorName: z.ZodOptional<z.ZodString>;
15
+ originatorAccount: z.ZodOptional<z.ZodString>;
16
+ originatorBankRoutingCode: z.ZodOptional<z.ZodString>;
17
+ recipientName: z.ZodOptional<z.ZodString>;
18
+ recipientAccount: z.ZodOptional<z.ZodString>;
19
+ recipientBankRoutingCode: z.ZodOptional<z.ZodString>;
20
+ reference: z.ZodOptional<z.ZodString>;
21
+ traceNumber: z.ZodOptional<z.ZodString>;
22
+ externalId: z.ZodOptional<z.ZodString>;
23
+ clientId: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
24
+ dateFormat: z.ZodOptional<z.ZodString>;
25
+ locale: z.ZodOptional<z.ZodString>;
26
+ originatedBy: z.ZodOptional<z.ZodString>;
27
+ paymentRail: z.ZodOptional<z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>>;
28
+ paymentType: z.ZodOptional<z.ZodEnum<["CREDIT", "DEBIT"]>>;
29
+ fromValueDate: z.ZodOptional<z.ZodString>;
30
+ toValueDate: z.ZodOptional<z.ZodString>;
31
+ fromExecuteDate: z.ZodOptional<z.ZodString>;
32
+ toExecuteDate: z.ZodOptional<z.ZodString>;
33
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
34
+ fromReturnDate: z.ZodOptional<z.ZodString>;
35
+ toReturnDate: z.ZodOptional<z.ZodString>;
36
+ isSettlement: z.ZodOptional<z.ZodBoolean>;
37
+ orderBy: z.ZodOptional<z.ZodString>;
38
+ sortOrder: z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>;
39
+ limit: z.ZodOptional<z.ZodNumber>;
40
+ offset: z.ZodOptional<z.ZodNumber>;
41
+ };
42
+ declare const PaymentFiltersSchema: z.ZodObject<{
43
+ originatorName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
44
+ originatorAccount: z.ZodOptional<z.ZodOptional<z.ZodString>>;
45
+ originatorBankRoutingCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
46
+ recipientName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
47
+ recipientAccount: z.ZodOptional<z.ZodOptional<z.ZodString>>;
48
+ recipientBankRoutingCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
49
+ reference: z.ZodOptional<z.ZodOptional<z.ZodString>>;
50
+ traceNumber: z.ZodOptional<z.ZodOptional<z.ZodString>>;
51
+ externalId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
52
+ clientId: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>>;
53
+ dateFormat: z.ZodOptional<z.ZodOptional<z.ZodString>>;
54
+ locale: z.ZodOptional<z.ZodOptional<z.ZodString>>;
55
+ originatedBy: z.ZodOptional<z.ZodOptional<z.ZodString>>;
56
+ paymentRail: z.ZodOptional<z.ZodOptional<z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>>>;
57
+ paymentType: z.ZodOptional<z.ZodOptional<z.ZodEnum<["CREDIT", "DEBIT"]>>>;
58
+ fromValueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
59
+ toValueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
60
+ fromExecuteDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
61
+ toExecuteDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
62
+ status: z.ZodOptional<z.ZodOptional<z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>>;
63
+ fromReturnDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
64
+ toReturnDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
65
+ isSettlement: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
66
+ orderBy: z.ZodOptional<z.ZodOptional<z.ZodString>>;
67
+ sortOrder: z.ZodOptional<z.ZodOptional<z.ZodEnum<["ASC", "DESC"]>>>;
68
+ limit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
69
+ offset: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
70
+ }, "strip", z.ZodTypeAny, {
71
+ originatorName?: string | undefined;
72
+ originatorAccount?: string | undefined;
73
+ originatorBankRoutingCode?: string | undefined;
74
+ recipientName?: string | undefined;
75
+ recipientAccount?: string | undefined;
76
+ recipientBankRoutingCode?: string | undefined;
77
+ reference?: string | undefined;
78
+ traceNumber?: string | undefined;
79
+ externalId?: string | undefined;
80
+ clientId?: string | number | undefined;
81
+ dateFormat?: string | undefined;
82
+ locale?: string | undefined;
83
+ originatedBy?: string | undefined;
84
+ paymentRail?: "ACH" | "SAMEDAYACH" | "WIRE" | "SWIFT" | "INTERNAL" | "FXPAY" | "CARD" | undefined;
85
+ paymentType?: "CREDIT" | "DEBIT" | undefined;
86
+ fromValueDate?: string | undefined;
87
+ toValueDate?: string | undefined;
88
+ fromExecuteDate?: string | undefined;
89
+ toExecuteDate?: string | undefined;
90
+ status?: "DRAFT" | "AML_SCREENING" | "AML_REJECTED" | "EXECUTION_SCHEDULED" | "EXECUTION_PROCESSING" | "EXECUTION_SUCCESS" | "EXECUTION_FAILURE" | "RETURNED" | "CANCELLED" | "COMPLIANCE_FAILURE" | "DELETED" | "UNKNOWN" | undefined;
91
+ fromReturnDate?: string | undefined;
92
+ toReturnDate?: string | undefined;
93
+ isSettlement?: boolean | undefined;
94
+ orderBy?: string | undefined;
95
+ sortOrder?: "ASC" | "DESC" | undefined;
96
+ limit?: number | undefined;
97
+ offset?: number | undefined;
98
+ }, {
99
+ originatorName?: string | undefined;
100
+ originatorAccount?: string | undefined;
101
+ originatorBankRoutingCode?: string | undefined;
102
+ recipientName?: string | undefined;
103
+ recipientAccount?: string | undefined;
104
+ recipientBankRoutingCode?: string | undefined;
105
+ reference?: string | undefined;
106
+ traceNumber?: string | undefined;
107
+ externalId?: string | undefined;
108
+ clientId?: string | number | undefined;
109
+ dateFormat?: string | undefined;
110
+ locale?: string | undefined;
111
+ originatedBy?: string | undefined;
112
+ paymentRail?: "ACH" | "SAMEDAYACH" | "WIRE" | "SWIFT" | "INTERNAL" | "FXPAY" | "CARD" | undefined;
113
+ paymentType?: "CREDIT" | "DEBIT" | undefined;
114
+ fromValueDate?: string | undefined;
115
+ toValueDate?: string | undefined;
116
+ fromExecuteDate?: string | undefined;
117
+ toExecuteDate?: string | undefined;
118
+ status?: "DRAFT" | "AML_SCREENING" | "AML_REJECTED" | "EXECUTION_SCHEDULED" | "EXECUTION_PROCESSING" | "EXECUTION_SUCCESS" | "EXECUTION_FAILURE" | "RETURNED" | "CANCELLED" | "COMPLIANCE_FAILURE" | "DELETED" | "UNKNOWN" | undefined;
119
+ fromReturnDate?: string | undefined;
120
+ toReturnDate?: string | undefined;
121
+ isSettlement?: boolean | undefined;
122
+ orderBy?: string | undefined;
123
+ sortOrder?: "ASC" | "DESC" | undefined;
124
+ limit?: number | undefined;
125
+ offset?: number | undefined;
126
+ }>;
127
+ type PaymentFilters = z.infer<typeof PaymentFiltersSchema>;
128
+ declare const PaymentShape: {
129
+ id: z.ZodNumber;
130
+ clientId: z.ZodNumber;
131
+ amount: z.ZodNumber;
132
+ correlationId: z.ZodString;
133
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
134
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
135
+ recipient: z.ZodObject<{
136
+ cardId: z.ZodOptional<z.ZodString>;
137
+ recipientType: z.ZodString;
138
+ address: z.ZodObject<{
139
+ line1: z.ZodOptional<z.ZodString>;
140
+ line2: z.ZodOptional<z.ZodString>;
141
+ stateCode: z.ZodOptional<z.ZodString>;
142
+ countryCode: z.ZodString;
143
+ postalCode: z.ZodOptional<z.ZodString>;
144
+ }, "strip", z.ZodTypeAny, {
145
+ countryCode: string;
146
+ line1?: string | undefined;
147
+ line2?: string | undefined;
148
+ stateCode?: string | undefined;
149
+ postalCode?: string | undefined;
150
+ }, {
151
+ countryCode: string;
152
+ line1?: string | undefined;
153
+ line2?: string | undefined;
154
+ stateCode?: string | undefined;
155
+ postalCode?: string | undefined;
156
+ }>;
157
+ name: z.ZodString;
158
+ }, "strip", z.ZodTypeAny, {
159
+ recipientType: string;
160
+ address: {
161
+ countryCode: string;
162
+ line1?: string | undefined;
163
+ line2?: string | undefined;
164
+ stateCode?: string | undefined;
165
+ postalCode?: string | undefined;
166
+ };
167
+ name: string;
168
+ cardId?: string | undefined;
169
+ }, {
170
+ recipientType: string;
171
+ address: {
172
+ countryCode: string;
173
+ line1?: string | undefined;
174
+ line2?: string | undefined;
175
+ stateCode?: string | undefined;
176
+ postalCode?: string | undefined;
177
+ };
178
+ name: string;
179
+ cardId?: string | undefined;
180
+ }>;
181
+ originator: z.ZodObject<{
182
+ accountId: z.ZodOptional<z.ZodString>;
183
+ recipientType: z.ZodString;
184
+ address: z.ZodObject<{
185
+ line1: z.ZodOptional<z.ZodString>;
186
+ line2: z.ZodOptional<z.ZodString>;
187
+ stateCode: z.ZodOptional<z.ZodString>;
188
+ countryCode: z.ZodString;
189
+ postalCode: z.ZodOptional<z.ZodString>;
190
+ }, "strip", z.ZodTypeAny, {
191
+ countryCode: string;
192
+ line1?: string | undefined;
193
+ line2?: string | undefined;
194
+ stateCode?: string | undefined;
195
+ postalCode?: string | undefined;
196
+ }, {
197
+ countryCode: string;
198
+ line1?: string | undefined;
199
+ line2?: string | undefined;
200
+ stateCode?: string | undefined;
201
+ postalCode?: string | undefined;
202
+ }>;
203
+ name: z.ZodString;
204
+ }, "strip", z.ZodTypeAny, {
205
+ recipientType: string;
206
+ address: {
207
+ countryCode: string;
208
+ line1?: string | undefined;
209
+ line2?: string | undefined;
210
+ stateCode?: string | undefined;
211
+ postalCode?: string | undefined;
212
+ };
213
+ name: string;
214
+ accountId?: string | undefined;
215
+ }, {
216
+ recipientType: string;
217
+ address: {
218
+ countryCode: string;
219
+ line1?: string | undefined;
220
+ line2?: string | undefined;
221
+ stateCode?: string | undefined;
222
+ postalCode?: string | undefined;
223
+ };
224
+ name: string;
225
+ accountId?: string | undefined;
226
+ }>;
227
+ executedAt: z.ZodString;
228
+ createdAt: z.ZodString;
229
+ externalId: z.ZodString;
230
+ status: z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
231
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
232
+ currencyData: z.ZodObject<{
233
+ code: z.ZodString;
234
+ name: z.ZodString;
235
+ decimalPlaces: z.ZodNumber;
236
+ displaySymbol: z.ZodString;
237
+ nameCode: z.ZodString;
238
+ currencyCodeInDigit: z.ZodNumber;
239
+ isBaseCurrency: z.ZodBoolean;
240
+ }, "strip", z.ZodTypeAny, {
241
+ code: string;
242
+ name: string;
243
+ decimalPlaces: number;
244
+ displaySymbol: string;
245
+ nameCode: string;
246
+ currencyCodeInDigit: number;
247
+ isBaseCurrency: boolean;
248
+ }, {
249
+ code: string;
250
+ name: string;
251
+ decimalPlaces: number;
252
+ displaySymbol: string;
253
+ nameCode: string;
254
+ currencyCodeInDigit: number;
255
+ isBaseCurrency: boolean;
256
+ }>;
257
+ currency: z.ZodString;
258
+ };
259
+ declare const PaymentSchema: z.ZodObject<{
260
+ id: z.ZodNumber;
261
+ clientId: z.ZodNumber;
262
+ amount: z.ZodNumber;
263
+ correlationId: z.ZodString;
264
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
265
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
266
+ recipient: z.ZodObject<{
267
+ cardId: z.ZodOptional<z.ZodString>;
268
+ recipientType: z.ZodString;
269
+ address: z.ZodObject<{
270
+ line1: z.ZodOptional<z.ZodString>;
271
+ line2: z.ZodOptional<z.ZodString>;
272
+ stateCode: z.ZodOptional<z.ZodString>;
273
+ countryCode: z.ZodString;
274
+ postalCode: z.ZodOptional<z.ZodString>;
275
+ }, "strip", z.ZodTypeAny, {
276
+ countryCode: string;
277
+ line1?: string | undefined;
278
+ line2?: string | undefined;
279
+ stateCode?: string | undefined;
280
+ postalCode?: string | undefined;
281
+ }, {
282
+ countryCode: string;
283
+ line1?: string | undefined;
284
+ line2?: string | undefined;
285
+ stateCode?: string | undefined;
286
+ postalCode?: string | undefined;
287
+ }>;
288
+ name: z.ZodString;
289
+ }, "strip", z.ZodTypeAny, {
290
+ recipientType: string;
291
+ address: {
292
+ countryCode: string;
293
+ line1?: string | undefined;
294
+ line2?: string | undefined;
295
+ stateCode?: string | undefined;
296
+ postalCode?: string | undefined;
297
+ };
298
+ name: string;
299
+ cardId?: string | undefined;
300
+ }, {
301
+ recipientType: string;
302
+ address: {
303
+ countryCode: string;
304
+ line1?: string | undefined;
305
+ line2?: string | undefined;
306
+ stateCode?: string | undefined;
307
+ postalCode?: string | undefined;
308
+ };
309
+ name: string;
310
+ cardId?: string | undefined;
311
+ }>;
312
+ originator: z.ZodObject<{
313
+ accountId: z.ZodOptional<z.ZodString>;
314
+ recipientType: z.ZodString;
315
+ address: z.ZodObject<{
316
+ line1: z.ZodOptional<z.ZodString>;
317
+ line2: z.ZodOptional<z.ZodString>;
318
+ stateCode: z.ZodOptional<z.ZodString>;
319
+ countryCode: z.ZodString;
320
+ postalCode: z.ZodOptional<z.ZodString>;
321
+ }, "strip", z.ZodTypeAny, {
322
+ countryCode: string;
323
+ line1?: string | undefined;
324
+ line2?: string | undefined;
325
+ stateCode?: string | undefined;
326
+ postalCode?: string | undefined;
327
+ }, {
328
+ countryCode: string;
329
+ line1?: string | undefined;
330
+ line2?: string | undefined;
331
+ stateCode?: string | undefined;
332
+ postalCode?: string | undefined;
333
+ }>;
334
+ name: z.ZodString;
335
+ }, "strip", z.ZodTypeAny, {
336
+ recipientType: string;
337
+ address: {
338
+ countryCode: string;
339
+ line1?: string | undefined;
340
+ line2?: string | undefined;
341
+ stateCode?: string | undefined;
342
+ postalCode?: string | undefined;
343
+ };
344
+ name: string;
345
+ accountId?: string | undefined;
346
+ }, {
347
+ recipientType: string;
348
+ address: {
349
+ countryCode: string;
350
+ line1?: string | undefined;
351
+ line2?: string | undefined;
352
+ stateCode?: string | undefined;
353
+ postalCode?: string | undefined;
354
+ };
355
+ name: string;
356
+ accountId?: string | undefined;
357
+ }>;
358
+ executedAt: z.ZodString;
359
+ createdAt: z.ZodString;
360
+ externalId: z.ZodString;
361
+ status: z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
362
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
363
+ currencyData: z.ZodObject<{
364
+ code: z.ZodString;
365
+ name: z.ZodString;
366
+ decimalPlaces: z.ZodNumber;
367
+ displaySymbol: z.ZodString;
368
+ nameCode: z.ZodString;
369
+ currencyCodeInDigit: z.ZodNumber;
370
+ isBaseCurrency: z.ZodBoolean;
371
+ }, "strip", z.ZodTypeAny, {
372
+ code: string;
373
+ name: string;
374
+ decimalPlaces: number;
375
+ displaySymbol: string;
376
+ nameCode: string;
377
+ currencyCodeInDigit: number;
378
+ isBaseCurrency: boolean;
379
+ }, {
380
+ code: string;
381
+ name: string;
382
+ decimalPlaces: number;
383
+ displaySymbol: string;
384
+ nameCode: string;
385
+ currencyCodeInDigit: number;
386
+ isBaseCurrency: boolean;
387
+ }>;
388
+ currency: z.ZodString;
389
+ }, "strip", z.ZodAny, z.objectOutputType<{
390
+ id: z.ZodNumber;
391
+ clientId: z.ZodNumber;
392
+ amount: z.ZodNumber;
393
+ correlationId: z.ZodString;
394
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
395
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
396
+ recipient: z.ZodObject<{
397
+ cardId: z.ZodOptional<z.ZodString>;
398
+ recipientType: z.ZodString;
399
+ address: z.ZodObject<{
400
+ line1: z.ZodOptional<z.ZodString>;
401
+ line2: z.ZodOptional<z.ZodString>;
402
+ stateCode: z.ZodOptional<z.ZodString>;
403
+ countryCode: z.ZodString;
404
+ postalCode: z.ZodOptional<z.ZodString>;
405
+ }, "strip", z.ZodTypeAny, {
406
+ countryCode: string;
407
+ line1?: string | undefined;
408
+ line2?: string | undefined;
409
+ stateCode?: string | undefined;
410
+ postalCode?: string | undefined;
411
+ }, {
412
+ countryCode: string;
413
+ line1?: string | undefined;
414
+ line2?: string | undefined;
415
+ stateCode?: string | undefined;
416
+ postalCode?: string | undefined;
417
+ }>;
418
+ name: z.ZodString;
419
+ }, "strip", z.ZodTypeAny, {
420
+ recipientType: string;
421
+ address: {
422
+ countryCode: string;
423
+ line1?: string | undefined;
424
+ line2?: string | undefined;
425
+ stateCode?: string | undefined;
426
+ postalCode?: string | undefined;
427
+ };
428
+ name: string;
429
+ cardId?: string | undefined;
430
+ }, {
431
+ recipientType: string;
432
+ address: {
433
+ countryCode: string;
434
+ line1?: string | undefined;
435
+ line2?: string | undefined;
436
+ stateCode?: string | undefined;
437
+ postalCode?: string | undefined;
438
+ };
439
+ name: string;
440
+ cardId?: string | undefined;
441
+ }>;
442
+ originator: z.ZodObject<{
443
+ accountId: z.ZodOptional<z.ZodString>;
444
+ recipientType: z.ZodString;
445
+ address: z.ZodObject<{
446
+ line1: z.ZodOptional<z.ZodString>;
447
+ line2: z.ZodOptional<z.ZodString>;
448
+ stateCode: z.ZodOptional<z.ZodString>;
449
+ countryCode: z.ZodString;
450
+ postalCode: z.ZodOptional<z.ZodString>;
451
+ }, "strip", z.ZodTypeAny, {
452
+ countryCode: string;
453
+ line1?: string | undefined;
454
+ line2?: string | undefined;
455
+ stateCode?: string | undefined;
456
+ postalCode?: string | undefined;
457
+ }, {
458
+ countryCode: string;
459
+ line1?: string | undefined;
460
+ line2?: string | undefined;
461
+ stateCode?: string | undefined;
462
+ postalCode?: string | undefined;
463
+ }>;
464
+ name: z.ZodString;
465
+ }, "strip", z.ZodTypeAny, {
466
+ recipientType: string;
467
+ address: {
468
+ countryCode: string;
469
+ line1?: string | undefined;
470
+ line2?: string | undefined;
471
+ stateCode?: string | undefined;
472
+ postalCode?: string | undefined;
473
+ };
474
+ name: string;
475
+ accountId?: string | undefined;
476
+ }, {
477
+ recipientType: string;
478
+ address: {
479
+ countryCode: string;
480
+ line1?: string | undefined;
481
+ line2?: string | undefined;
482
+ stateCode?: string | undefined;
483
+ postalCode?: string | undefined;
484
+ };
485
+ name: string;
486
+ accountId?: string | undefined;
487
+ }>;
488
+ executedAt: z.ZodString;
489
+ createdAt: z.ZodString;
490
+ externalId: z.ZodString;
491
+ status: z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
492
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
493
+ currencyData: z.ZodObject<{
494
+ code: z.ZodString;
495
+ name: z.ZodString;
496
+ decimalPlaces: z.ZodNumber;
497
+ displaySymbol: z.ZodString;
498
+ nameCode: z.ZodString;
499
+ currencyCodeInDigit: z.ZodNumber;
500
+ isBaseCurrency: z.ZodBoolean;
501
+ }, "strip", z.ZodTypeAny, {
502
+ code: string;
503
+ name: string;
504
+ decimalPlaces: number;
505
+ displaySymbol: string;
506
+ nameCode: string;
507
+ currencyCodeInDigit: number;
508
+ isBaseCurrency: boolean;
509
+ }, {
510
+ code: string;
511
+ name: string;
512
+ decimalPlaces: number;
513
+ displaySymbol: string;
514
+ nameCode: string;
515
+ currencyCodeInDigit: number;
516
+ isBaseCurrency: boolean;
517
+ }>;
518
+ currency: z.ZodString;
519
+ }, z.ZodAny, "strip">, z.objectInputType<{
520
+ id: z.ZodNumber;
521
+ clientId: z.ZodNumber;
522
+ amount: z.ZodNumber;
523
+ correlationId: z.ZodString;
524
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
525
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
526
+ recipient: z.ZodObject<{
527
+ cardId: z.ZodOptional<z.ZodString>;
528
+ recipientType: z.ZodString;
529
+ address: z.ZodObject<{
530
+ line1: z.ZodOptional<z.ZodString>;
531
+ line2: z.ZodOptional<z.ZodString>;
532
+ stateCode: z.ZodOptional<z.ZodString>;
533
+ countryCode: z.ZodString;
534
+ postalCode: z.ZodOptional<z.ZodString>;
535
+ }, "strip", z.ZodTypeAny, {
536
+ countryCode: string;
537
+ line1?: string | undefined;
538
+ line2?: string | undefined;
539
+ stateCode?: string | undefined;
540
+ postalCode?: string | undefined;
541
+ }, {
542
+ countryCode: string;
543
+ line1?: string | undefined;
544
+ line2?: string | undefined;
545
+ stateCode?: string | undefined;
546
+ postalCode?: string | undefined;
547
+ }>;
548
+ name: z.ZodString;
549
+ }, "strip", z.ZodTypeAny, {
550
+ recipientType: string;
551
+ address: {
552
+ countryCode: string;
553
+ line1?: string | undefined;
554
+ line2?: string | undefined;
555
+ stateCode?: string | undefined;
556
+ postalCode?: string | undefined;
557
+ };
558
+ name: string;
559
+ cardId?: string | undefined;
560
+ }, {
561
+ recipientType: string;
562
+ address: {
563
+ countryCode: string;
564
+ line1?: string | undefined;
565
+ line2?: string | undefined;
566
+ stateCode?: string | undefined;
567
+ postalCode?: string | undefined;
568
+ };
569
+ name: string;
570
+ cardId?: string | undefined;
571
+ }>;
572
+ originator: z.ZodObject<{
573
+ accountId: z.ZodOptional<z.ZodString>;
574
+ recipientType: z.ZodString;
575
+ address: z.ZodObject<{
576
+ line1: z.ZodOptional<z.ZodString>;
577
+ line2: z.ZodOptional<z.ZodString>;
578
+ stateCode: z.ZodOptional<z.ZodString>;
579
+ countryCode: z.ZodString;
580
+ postalCode: z.ZodOptional<z.ZodString>;
581
+ }, "strip", z.ZodTypeAny, {
582
+ countryCode: string;
583
+ line1?: string | undefined;
584
+ line2?: string | undefined;
585
+ stateCode?: string | undefined;
586
+ postalCode?: string | undefined;
587
+ }, {
588
+ countryCode: string;
589
+ line1?: string | undefined;
590
+ line2?: string | undefined;
591
+ stateCode?: string | undefined;
592
+ postalCode?: string | undefined;
593
+ }>;
594
+ name: z.ZodString;
595
+ }, "strip", z.ZodTypeAny, {
596
+ recipientType: string;
597
+ address: {
598
+ countryCode: string;
599
+ line1?: string | undefined;
600
+ line2?: string | undefined;
601
+ stateCode?: string | undefined;
602
+ postalCode?: string | undefined;
603
+ };
604
+ name: string;
605
+ accountId?: string | undefined;
606
+ }, {
607
+ recipientType: string;
608
+ address: {
609
+ countryCode: string;
610
+ line1?: string | undefined;
611
+ line2?: string | undefined;
612
+ stateCode?: string | undefined;
613
+ postalCode?: string | undefined;
614
+ };
615
+ name: string;
616
+ accountId?: string | undefined;
617
+ }>;
618
+ executedAt: z.ZodString;
619
+ createdAt: z.ZodString;
620
+ externalId: z.ZodString;
621
+ status: z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
622
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
623
+ currencyData: z.ZodObject<{
624
+ code: z.ZodString;
625
+ name: z.ZodString;
626
+ decimalPlaces: z.ZodNumber;
627
+ displaySymbol: z.ZodString;
628
+ nameCode: z.ZodString;
629
+ currencyCodeInDigit: z.ZodNumber;
630
+ isBaseCurrency: z.ZodBoolean;
631
+ }, "strip", z.ZodTypeAny, {
632
+ code: string;
633
+ name: string;
634
+ decimalPlaces: number;
635
+ displaySymbol: string;
636
+ nameCode: string;
637
+ currencyCodeInDigit: number;
638
+ isBaseCurrency: boolean;
639
+ }, {
640
+ code: string;
641
+ name: string;
642
+ decimalPlaces: number;
643
+ displaySymbol: string;
644
+ nameCode: string;
645
+ currencyCodeInDigit: number;
646
+ isBaseCurrency: boolean;
647
+ }>;
648
+ currency: z.ZodString;
649
+ }, z.ZodAny, "strip">>;
650
+ declare const CreatePaymentInputShape: {
651
+ amount: z.ZodNumber;
652
+ currency: z.ZodString;
653
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
654
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
655
+ debtor: z.ZodObject<{
656
+ name: z.ZodString;
657
+ identifier: z.ZodString;
658
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
659
+ address: z.ZodOptional<z.ZodObject<{
660
+ streetAddress: z.ZodOptional<z.ZodString>;
661
+ city: z.ZodOptional<z.ZodString>;
662
+ state: z.ZodOptional<z.ZodString>;
663
+ country: z.ZodOptional<z.ZodString>;
664
+ postalCode: z.ZodOptional<z.ZodString>;
665
+ }, "strip", z.ZodTypeAny, {
666
+ postalCode?: string | undefined;
667
+ streetAddress?: string | undefined;
668
+ city?: string | undefined;
669
+ state?: string | undefined;
670
+ country?: string | undefined;
671
+ }, {
672
+ postalCode?: string | undefined;
673
+ streetAddress?: string | undefined;
674
+ city?: string | undefined;
675
+ state?: string | undefined;
676
+ country?: string | undefined;
677
+ }>>;
678
+ agent: z.ZodOptional<z.ZodObject<{
679
+ name: z.ZodOptional<z.ZodString>;
680
+ identifier: z.ZodOptional<z.ZodString>;
681
+ address: z.ZodOptional<z.ZodObject<{
682
+ streetAddress: z.ZodOptional<z.ZodString>;
683
+ city: z.ZodOptional<z.ZodString>;
684
+ state: z.ZodOptional<z.ZodString>;
685
+ country: z.ZodOptional<z.ZodString>;
686
+ postalCode: z.ZodOptional<z.ZodString>;
687
+ }, "strip", z.ZodTypeAny, {
688
+ postalCode?: string | undefined;
689
+ streetAddress?: string | undefined;
690
+ city?: string | undefined;
691
+ state?: string | undefined;
692
+ country?: string | undefined;
693
+ }, {
694
+ postalCode?: string | undefined;
695
+ streetAddress?: string | undefined;
696
+ city?: string | undefined;
697
+ state?: string | undefined;
698
+ country?: string | undefined;
699
+ }>>;
700
+ }, "strip", z.ZodTypeAny, {
701
+ address?: {
702
+ postalCode?: string | undefined;
703
+ streetAddress?: string | undefined;
704
+ city?: string | undefined;
705
+ state?: string | undefined;
706
+ country?: string | undefined;
707
+ } | undefined;
708
+ name?: string | undefined;
709
+ identifier?: string | undefined;
710
+ }, {
711
+ address?: {
712
+ postalCode?: string | undefined;
713
+ streetAddress?: string | undefined;
714
+ city?: string | undefined;
715
+ state?: string | undefined;
716
+ country?: string | undefined;
717
+ } | undefined;
718
+ name?: string | undefined;
719
+ identifier?: string | undefined;
720
+ }>>;
721
+ }, "strip", z.ZodTypeAny, {
722
+ name: string;
723
+ identifier: string;
724
+ address?: {
725
+ postalCode?: string | undefined;
726
+ streetAddress?: string | undefined;
727
+ city?: string | undefined;
728
+ state?: string | undefined;
729
+ country?: string | undefined;
730
+ } | undefined;
731
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
732
+ agent?: {
733
+ address?: {
734
+ postalCode?: string | undefined;
735
+ streetAddress?: string | undefined;
736
+ city?: string | undefined;
737
+ state?: string | undefined;
738
+ country?: string | undefined;
739
+ } | undefined;
740
+ name?: string | undefined;
741
+ identifier?: string | undefined;
742
+ } | undefined;
743
+ }, {
744
+ name: string;
745
+ identifier: string;
746
+ address?: {
747
+ postalCode?: string | undefined;
748
+ streetAddress?: string | undefined;
749
+ city?: string | undefined;
750
+ state?: string | undefined;
751
+ country?: string | undefined;
752
+ } | undefined;
753
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
754
+ agent?: {
755
+ address?: {
756
+ postalCode?: string | undefined;
757
+ streetAddress?: string | undefined;
758
+ city?: string | undefined;
759
+ state?: string | undefined;
760
+ country?: string | undefined;
761
+ } | undefined;
762
+ name?: string | undefined;
763
+ identifier?: string | undefined;
764
+ } | undefined;
765
+ }>;
766
+ creditor: z.ZodObject<{
767
+ name: z.ZodString;
768
+ identifier: z.ZodString;
769
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
770
+ address: z.ZodOptional<z.ZodObject<{
771
+ streetAddress: z.ZodOptional<z.ZodString>;
772
+ city: z.ZodOptional<z.ZodString>;
773
+ state: z.ZodOptional<z.ZodString>;
774
+ country: z.ZodOptional<z.ZodString>;
775
+ postalCode: z.ZodOptional<z.ZodString>;
776
+ }, "strip", z.ZodTypeAny, {
777
+ postalCode?: string | undefined;
778
+ streetAddress?: string | undefined;
779
+ city?: string | undefined;
780
+ state?: string | undefined;
781
+ country?: string | undefined;
782
+ }, {
783
+ postalCode?: string | undefined;
784
+ streetAddress?: string | undefined;
785
+ city?: string | undefined;
786
+ state?: string | undefined;
787
+ country?: string | undefined;
788
+ }>>;
789
+ agent: z.ZodOptional<z.ZodObject<{
790
+ name: z.ZodOptional<z.ZodString>;
791
+ identifier: z.ZodOptional<z.ZodString>;
792
+ address: z.ZodOptional<z.ZodObject<{
793
+ streetAddress: z.ZodOptional<z.ZodString>;
794
+ city: z.ZodOptional<z.ZodString>;
795
+ state: z.ZodOptional<z.ZodString>;
796
+ country: z.ZodOptional<z.ZodString>;
797
+ postalCode: z.ZodOptional<z.ZodString>;
798
+ }, "strip", z.ZodTypeAny, {
799
+ postalCode?: string | undefined;
800
+ streetAddress?: string | undefined;
801
+ city?: string | undefined;
802
+ state?: string | undefined;
803
+ country?: string | undefined;
804
+ }, {
805
+ postalCode?: string | undefined;
806
+ streetAddress?: string | undefined;
807
+ city?: string | undefined;
808
+ state?: string | undefined;
809
+ country?: string | undefined;
810
+ }>>;
811
+ }, "strip", z.ZodTypeAny, {
812
+ address?: {
813
+ postalCode?: string | undefined;
814
+ streetAddress?: string | undefined;
815
+ city?: string | undefined;
816
+ state?: string | undefined;
817
+ country?: string | undefined;
818
+ } | undefined;
819
+ name?: string | undefined;
820
+ identifier?: string | undefined;
821
+ }, {
822
+ address?: {
823
+ postalCode?: string | undefined;
824
+ streetAddress?: string | undefined;
825
+ city?: string | undefined;
826
+ state?: string | undefined;
827
+ country?: string | undefined;
828
+ } | undefined;
829
+ name?: string | undefined;
830
+ identifier?: string | undefined;
831
+ }>>;
832
+ }, "strip", z.ZodTypeAny, {
833
+ name: string;
834
+ identifier: string;
835
+ address?: {
836
+ postalCode?: string | undefined;
837
+ streetAddress?: string | undefined;
838
+ city?: string | undefined;
839
+ state?: string | undefined;
840
+ country?: string | undefined;
841
+ } | undefined;
842
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
843
+ agent?: {
844
+ address?: {
845
+ postalCode?: string | undefined;
846
+ streetAddress?: string | undefined;
847
+ city?: string | undefined;
848
+ state?: string | undefined;
849
+ country?: string | undefined;
850
+ } | undefined;
851
+ name?: string | undefined;
852
+ identifier?: string | undefined;
853
+ } | undefined;
854
+ }, {
855
+ name: string;
856
+ identifier: string;
857
+ address?: {
858
+ postalCode?: string | undefined;
859
+ streetAddress?: string | undefined;
860
+ city?: string | undefined;
861
+ state?: string | undefined;
862
+ country?: string | undefined;
863
+ } | undefined;
864
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
865
+ agent?: {
866
+ address?: {
867
+ postalCode?: string | undefined;
868
+ streetAddress?: string | undefined;
869
+ city?: string | undefined;
870
+ state?: string | undefined;
871
+ country?: string | undefined;
872
+ } | undefined;
873
+ name?: string | undefined;
874
+ identifier?: string | undefined;
875
+ } | undefined;
876
+ }>;
877
+ clientId: z.ZodOptional<z.ZodString>;
878
+ correspondent: z.ZodOptional<z.ZodObject<{
879
+ name: z.ZodString;
880
+ identifier: z.ZodString;
881
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
882
+ address: z.ZodOptional<z.ZodObject<{
883
+ streetAddress: z.ZodOptional<z.ZodString>;
884
+ city: z.ZodOptional<z.ZodString>;
885
+ state: z.ZodOptional<z.ZodString>;
886
+ country: z.ZodOptional<z.ZodString>;
887
+ postalCode: z.ZodOptional<z.ZodString>;
888
+ }, "strip", z.ZodTypeAny, {
889
+ postalCode?: string | undefined;
890
+ streetAddress?: string | undefined;
891
+ city?: string | undefined;
892
+ state?: string | undefined;
893
+ country?: string | undefined;
894
+ }, {
895
+ postalCode?: string | undefined;
896
+ streetAddress?: string | undefined;
897
+ city?: string | undefined;
898
+ state?: string | undefined;
899
+ country?: string | undefined;
900
+ }>>;
901
+ agent: z.ZodOptional<z.ZodObject<{
902
+ name: z.ZodOptional<z.ZodString>;
903
+ identifier: z.ZodOptional<z.ZodString>;
904
+ address: z.ZodOptional<z.ZodObject<{
905
+ streetAddress: z.ZodOptional<z.ZodString>;
906
+ city: z.ZodOptional<z.ZodString>;
907
+ state: z.ZodOptional<z.ZodString>;
908
+ country: z.ZodOptional<z.ZodString>;
909
+ postalCode: z.ZodOptional<z.ZodString>;
910
+ }, "strip", z.ZodTypeAny, {
911
+ postalCode?: string | undefined;
912
+ streetAddress?: string | undefined;
913
+ city?: string | undefined;
914
+ state?: string | undefined;
915
+ country?: string | undefined;
916
+ }, {
917
+ postalCode?: string | undefined;
918
+ streetAddress?: string | undefined;
919
+ city?: string | undefined;
920
+ state?: string | undefined;
921
+ country?: string | undefined;
922
+ }>>;
923
+ }, "strip", z.ZodTypeAny, {
924
+ address?: {
925
+ postalCode?: string | undefined;
926
+ streetAddress?: string | undefined;
927
+ city?: string | undefined;
928
+ state?: string | undefined;
929
+ country?: string | undefined;
930
+ } | undefined;
931
+ name?: string | undefined;
932
+ identifier?: string | undefined;
933
+ }, {
934
+ address?: {
935
+ postalCode?: string | undefined;
936
+ streetAddress?: string | undefined;
937
+ city?: string | undefined;
938
+ state?: string | undefined;
939
+ country?: string | undefined;
940
+ } | undefined;
941
+ name?: string | undefined;
942
+ identifier?: string | undefined;
943
+ }>>;
944
+ }, "strip", z.ZodTypeAny, {
945
+ name: string;
946
+ identifier: string;
947
+ address?: {
948
+ postalCode?: string | undefined;
949
+ streetAddress?: string | undefined;
950
+ city?: string | undefined;
951
+ state?: string | undefined;
952
+ country?: string | undefined;
953
+ } | undefined;
954
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
955
+ agent?: {
956
+ address?: {
957
+ postalCode?: string | undefined;
958
+ streetAddress?: string | undefined;
959
+ city?: string | undefined;
960
+ state?: string | undefined;
961
+ country?: string | undefined;
962
+ } | undefined;
963
+ name?: string | undefined;
964
+ identifier?: string | undefined;
965
+ } | undefined;
966
+ }, {
967
+ name: string;
968
+ identifier: string;
969
+ address?: {
970
+ postalCode?: string | undefined;
971
+ streetAddress?: string | undefined;
972
+ city?: string | undefined;
973
+ state?: string | undefined;
974
+ country?: string | undefined;
975
+ } | undefined;
976
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
977
+ agent?: {
978
+ address?: {
979
+ postalCode?: string | undefined;
980
+ streetAddress?: string | undefined;
981
+ city?: string | undefined;
982
+ state?: string | undefined;
983
+ country?: string | undefined;
984
+ } | undefined;
985
+ name?: string | undefined;
986
+ identifier?: string | undefined;
987
+ } | undefined;
988
+ }>>;
989
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
990
+ externalId: z.ZodOptional<z.ZodString>;
991
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
992
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
993
+ chargeBearer: z.ZodOptional<z.ZodEnum<["OUR", "BEN", "SHA"]>>;
994
+ purposeCode: z.ZodOptional<z.ZodString>;
995
+ valueDate: z.ZodOptional<z.ZodString>;
996
+ executionDate: z.ZodOptional<z.ZodString>;
997
+ };
998
+ declare const CreatePaymentInputSchema: z.ZodEffects<z.ZodObject<{
999
+ amount: z.ZodNumber;
1000
+ currency: z.ZodString;
1001
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
1002
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
1003
+ debtor: z.ZodObject<{
1004
+ name: z.ZodString;
1005
+ identifier: z.ZodString;
1006
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
1007
+ address: z.ZodOptional<z.ZodObject<{
1008
+ streetAddress: z.ZodOptional<z.ZodString>;
1009
+ city: z.ZodOptional<z.ZodString>;
1010
+ state: z.ZodOptional<z.ZodString>;
1011
+ country: z.ZodOptional<z.ZodString>;
1012
+ postalCode: z.ZodOptional<z.ZodString>;
1013
+ }, "strip", z.ZodTypeAny, {
1014
+ postalCode?: string | undefined;
1015
+ streetAddress?: string | undefined;
1016
+ city?: string | undefined;
1017
+ state?: string | undefined;
1018
+ country?: string | undefined;
1019
+ }, {
1020
+ postalCode?: string | undefined;
1021
+ streetAddress?: string | undefined;
1022
+ city?: string | undefined;
1023
+ state?: string | undefined;
1024
+ country?: string | undefined;
1025
+ }>>;
1026
+ agent: z.ZodOptional<z.ZodObject<{
1027
+ name: z.ZodOptional<z.ZodString>;
1028
+ identifier: z.ZodOptional<z.ZodString>;
1029
+ address: z.ZodOptional<z.ZodObject<{
1030
+ streetAddress: z.ZodOptional<z.ZodString>;
1031
+ city: z.ZodOptional<z.ZodString>;
1032
+ state: z.ZodOptional<z.ZodString>;
1033
+ country: z.ZodOptional<z.ZodString>;
1034
+ postalCode: z.ZodOptional<z.ZodString>;
1035
+ }, "strip", z.ZodTypeAny, {
1036
+ postalCode?: string | undefined;
1037
+ streetAddress?: string | undefined;
1038
+ city?: string | undefined;
1039
+ state?: string | undefined;
1040
+ country?: string | undefined;
1041
+ }, {
1042
+ postalCode?: string | undefined;
1043
+ streetAddress?: string | undefined;
1044
+ city?: string | undefined;
1045
+ state?: string | undefined;
1046
+ country?: string | undefined;
1047
+ }>>;
1048
+ }, "strip", z.ZodTypeAny, {
1049
+ address?: {
1050
+ postalCode?: string | undefined;
1051
+ streetAddress?: string | undefined;
1052
+ city?: string | undefined;
1053
+ state?: string | undefined;
1054
+ country?: string | undefined;
1055
+ } | undefined;
1056
+ name?: string | undefined;
1057
+ identifier?: string | undefined;
1058
+ }, {
1059
+ address?: {
1060
+ postalCode?: string | undefined;
1061
+ streetAddress?: string | undefined;
1062
+ city?: string | undefined;
1063
+ state?: string | undefined;
1064
+ country?: string | undefined;
1065
+ } | undefined;
1066
+ name?: string | undefined;
1067
+ identifier?: string | undefined;
1068
+ }>>;
1069
+ }, "strip", z.ZodTypeAny, {
1070
+ name: string;
1071
+ identifier: string;
1072
+ address?: {
1073
+ postalCode?: string | undefined;
1074
+ streetAddress?: string | undefined;
1075
+ city?: string | undefined;
1076
+ state?: string | undefined;
1077
+ country?: string | undefined;
1078
+ } | undefined;
1079
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1080
+ agent?: {
1081
+ address?: {
1082
+ postalCode?: string | undefined;
1083
+ streetAddress?: string | undefined;
1084
+ city?: string | undefined;
1085
+ state?: string | undefined;
1086
+ country?: string | undefined;
1087
+ } | undefined;
1088
+ name?: string | undefined;
1089
+ identifier?: string | undefined;
1090
+ } | undefined;
1091
+ }, {
1092
+ name: string;
1093
+ identifier: string;
1094
+ address?: {
1095
+ postalCode?: string | undefined;
1096
+ streetAddress?: string | undefined;
1097
+ city?: string | undefined;
1098
+ state?: string | undefined;
1099
+ country?: string | undefined;
1100
+ } | undefined;
1101
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1102
+ agent?: {
1103
+ address?: {
1104
+ postalCode?: string | undefined;
1105
+ streetAddress?: string | undefined;
1106
+ city?: string | undefined;
1107
+ state?: string | undefined;
1108
+ country?: string | undefined;
1109
+ } | undefined;
1110
+ name?: string | undefined;
1111
+ identifier?: string | undefined;
1112
+ } | undefined;
1113
+ }>;
1114
+ creditor: z.ZodObject<{
1115
+ name: z.ZodString;
1116
+ identifier: z.ZodString;
1117
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
1118
+ address: z.ZodOptional<z.ZodObject<{
1119
+ streetAddress: z.ZodOptional<z.ZodString>;
1120
+ city: z.ZodOptional<z.ZodString>;
1121
+ state: z.ZodOptional<z.ZodString>;
1122
+ country: z.ZodOptional<z.ZodString>;
1123
+ postalCode: z.ZodOptional<z.ZodString>;
1124
+ }, "strip", z.ZodTypeAny, {
1125
+ postalCode?: string | undefined;
1126
+ streetAddress?: string | undefined;
1127
+ city?: string | undefined;
1128
+ state?: string | undefined;
1129
+ country?: string | undefined;
1130
+ }, {
1131
+ postalCode?: string | undefined;
1132
+ streetAddress?: string | undefined;
1133
+ city?: string | undefined;
1134
+ state?: string | undefined;
1135
+ country?: string | undefined;
1136
+ }>>;
1137
+ agent: z.ZodOptional<z.ZodObject<{
1138
+ name: z.ZodOptional<z.ZodString>;
1139
+ identifier: z.ZodOptional<z.ZodString>;
1140
+ address: z.ZodOptional<z.ZodObject<{
1141
+ streetAddress: z.ZodOptional<z.ZodString>;
1142
+ city: z.ZodOptional<z.ZodString>;
1143
+ state: z.ZodOptional<z.ZodString>;
1144
+ country: z.ZodOptional<z.ZodString>;
1145
+ postalCode: z.ZodOptional<z.ZodString>;
1146
+ }, "strip", z.ZodTypeAny, {
1147
+ postalCode?: string | undefined;
1148
+ streetAddress?: string | undefined;
1149
+ city?: string | undefined;
1150
+ state?: string | undefined;
1151
+ country?: string | undefined;
1152
+ }, {
1153
+ postalCode?: string | undefined;
1154
+ streetAddress?: string | undefined;
1155
+ city?: string | undefined;
1156
+ state?: string | undefined;
1157
+ country?: string | undefined;
1158
+ }>>;
1159
+ }, "strip", z.ZodTypeAny, {
1160
+ address?: {
1161
+ postalCode?: string | undefined;
1162
+ streetAddress?: string | undefined;
1163
+ city?: string | undefined;
1164
+ state?: string | undefined;
1165
+ country?: string | undefined;
1166
+ } | undefined;
1167
+ name?: string | undefined;
1168
+ identifier?: string | undefined;
1169
+ }, {
1170
+ address?: {
1171
+ postalCode?: string | undefined;
1172
+ streetAddress?: string | undefined;
1173
+ city?: string | undefined;
1174
+ state?: string | undefined;
1175
+ country?: string | undefined;
1176
+ } | undefined;
1177
+ name?: string | undefined;
1178
+ identifier?: string | undefined;
1179
+ }>>;
1180
+ }, "strip", z.ZodTypeAny, {
1181
+ name: string;
1182
+ identifier: string;
1183
+ address?: {
1184
+ postalCode?: string | undefined;
1185
+ streetAddress?: string | undefined;
1186
+ city?: string | undefined;
1187
+ state?: string | undefined;
1188
+ country?: string | undefined;
1189
+ } | undefined;
1190
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1191
+ agent?: {
1192
+ address?: {
1193
+ postalCode?: string | undefined;
1194
+ streetAddress?: string | undefined;
1195
+ city?: string | undefined;
1196
+ state?: string | undefined;
1197
+ country?: string | undefined;
1198
+ } | undefined;
1199
+ name?: string | undefined;
1200
+ identifier?: string | undefined;
1201
+ } | undefined;
1202
+ }, {
1203
+ name: string;
1204
+ identifier: string;
1205
+ address?: {
1206
+ postalCode?: string | undefined;
1207
+ streetAddress?: string | undefined;
1208
+ city?: string | undefined;
1209
+ state?: string | undefined;
1210
+ country?: string | undefined;
1211
+ } | undefined;
1212
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1213
+ agent?: {
1214
+ address?: {
1215
+ postalCode?: string | undefined;
1216
+ streetAddress?: string | undefined;
1217
+ city?: string | undefined;
1218
+ state?: string | undefined;
1219
+ country?: string | undefined;
1220
+ } | undefined;
1221
+ name?: string | undefined;
1222
+ identifier?: string | undefined;
1223
+ } | undefined;
1224
+ }>;
1225
+ clientId: z.ZodOptional<z.ZodString>;
1226
+ correspondent: z.ZodOptional<z.ZodObject<{
1227
+ name: z.ZodString;
1228
+ identifier: z.ZodString;
1229
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
1230
+ address: z.ZodOptional<z.ZodObject<{
1231
+ streetAddress: z.ZodOptional<z.ZodString>;
1232
+ city: z.ZodOptional<z.ZodString>;
1233
+ state: z.ZodOptional<z.ZodString>;
1234
+ country: z.ZodOptional<z.ZodString>;
1235
+ postalCode: z.ZodOptional<z.ZodString>;
1236
+ }, "strip", z.ZodTypeAny, {
1237
+ postalCode?: string | undefined;
1238
+ streetAddress?: string | undefined;
1239
+ city?: string | undefined;
1240
+ state?: string | undefined;
1241
+ country?: string | undefined;
1242
+ }, {
1243
+ postalCode?: string | undefined;
1244
+ streetAddress?: string | undefined;
1245
+ city?: string | undefined;
1246
+ state?: string | undefined;
1247
+ country?: string | undefined;
1248
+ }>>;
1249
+ agent: z.ZodOptional<z.ZodObject<{
1250
+ name: z.ZodOptional<z.ZodString>;
1251
+ identifier: z.ZodOptional<z.ZodString>;
1252
+ address: z.ZodOptional<z.ZodObject<{
1253
+ streetAddress: z.ZodOptional<z.ZodString>;
1254
+ city: z.ZodOptional<z.ZodString>;
1255
+ state: z.ZodOptional<z.ZodString>;
1256
+ country: z.ZodOptional<z.ZodString>;
1257
+ postalCode: z.ZodOptional<z.ZodString>;
1258
+ }, "strip", z.ZodTypeAny, {
1259
+ postalCode?: string | undefined;
1260
+ streetAddress?: string | undefined;
1261
+ city?: string | undefined;
1262
+ state?: string | undefined;
1263
+ country?: string | undefined;
1264
+ }, {
1265
+ postalCode?: string | undefined;
1266
+ streetAddress?: string | undefined;
1267
+ city?: string | undefined;
1268
+ state?: string | undefined;
1269
+ country?: string | undefined;
1270
+ }>>;
1271
+ }, "strip", z.ZodTypeAny, {
1272
+ address?: {
1273
+ postalCode?: string | undefined;
1274
+ streetAddress?: string | undefined;
1275
+ city?: string | undefined;
1276
+ state?: string | undefined;
1277
+ country?: string | undefined;
1278
+ } | undefined;
1279
+ name?: string | undefined;
1280
+ identifier?: string | undefined;
1281
+ }, {
1282
+ address?: {
1283
+ postalCode?: string | undefined;
1284
+ streetAddress?: string | undefined;
1285
+ city?: string | undefined;
1286
+ state?: string | undefined;
1287
+ country?: string | undefined;
1288
+ } | undefined;
1289
+ name?: string | undefined;
1290
+ identifier?: string | undefined;
1291
+ }>>;
1292
+ }, "strip", z.ZodTypeAny, {
1293
+ name: string;
1294
+ identifier: string;
1295
+ address?: {
1296
+ postalCode?: string | undefined;
1297
+ streetAddress?: string | undefined;
1298
+ city?: string | undefined;
1299
+ state?: string | undefined;
1300
+ country?: string | undefined;
1301
+ } | undefined;
1302
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1303
+ agent?: {
1304
+ address?: {
1305
+ postalCode?: string | undefined;
1306
+ streetAddress?: string | undefined;
1307
+ city?: string | undefined;
1308
+ state?: string | undefined;
1309
+ country?: string | undefined;
1310
+ } | undefined;
1311
+ name?: string | undefined;
1312
+ identifier?: string | undefined;
1313
+ } | undefined;
1314
+ }, {
1315
+ name: string;
1316
+ identifier: string;
1317
+ address?: {
1318
+ postalCode?: string | undefined;
1319
+ streetAddress?: string | undefined;
1320
+ city?: string | undefined;
1321
+ state?: string | undefined;
1322
+ country?: string | undefined;
1323
+ } | undefined;
1324
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1325
+ agent?: {
1326
+ address?: {
1327
+ postalCode?: string | undefined;
1328
+ streetAddress?: string | undefined;
1329
+ city?: string | undefined;
1330
+ state?: string | undefined;
1331
+ country?: string | undefined;
1332
+ } | undefined;
1333
+ name?: string | undefined;
1334
+ identifier?: string | undefined;
1335
+ } | undefined;
1336
+ }>>;
1337
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
1338
+ externalId: z.ZodOptional<z.ZodString>;
1339
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1340
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1341
+ chargeBearer: z.ZodOptional<z.ZodEnum<["OUR", "BEN", "SHA"]>>;
1342
+ purposeCode: z.ZodOptional<z.ZodString>;
1343
+ valueDate: z.ZodOptional<z.ZodString>;
1344
+ executionDate: z.ZodOptional<z.ZodString>;
1345
+ }, "strip", z.ZodAny, z.objectOutputType<{
1346
+ amount: z.ZodNumber;
1347
+ currency: z.ZodString;
1348
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
1349
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
1350
+ debtor: z.ZodObject<{
1351
+ name: z.ZodString;
1352
+ identifier: z.ZodString;
1353
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
1354
+ address: z.ZodOptional<z.ZodObject<{
1355
+ streetAddress: z.ZodOptional<z.ZodString>;
1356
+ city: z.ZodOptional<z.ZodString>;
1357
+ state: z.ZodOptional<z.ZodString>;
1358
+ country: z.ZodOptional<z.ZodString>;
1359
+ postalCode: z.ZodOptional<z.ZodString>;
1360
+ }, "strip", z.ZodTypeAny, {
1361
+ postalCode?: string | undefined;
1362
+ streetAddress?: string | undefined;
1363
+ city?: string | undefined;
1364
+ state?: string | undefined;
1365
+ country?: string | undefined;
1366
+ }, {
1367
+ postalCode?: string | undefined;
1368
+ streetAddress?: string | undefined;
1369
+ city?: string | undefined;
1370
+ state?: string | undefined;
1371
+ country?: string | undefined;
1372
+ }>>;
1373
+ agent: z.ZodOptional<z.ZodObject<{
1374
+ name: z.ZodOptional<z.ZodString>;
1375
+ identifier: z.ZodOptional<z.ZodString>;
1376
+ address: z.ZodOptional<z.ZodObject<{
1377
+ streetAddress: z.ZodOptional<z.ZodString>;
1378
+ city: z.ZodOptional<z.ZodString>;
1379
+ state: z.ZodOptional<z.ZodString>;
1380
+ country: z.ZodOptional<z.ZodString>;
1381
+ postalCode: z.ZodOptional<z.ZodString>;
1382
+ }, "strip", z.ZodTypeAny, {
1383
+ postalCode?: string | undefined;
1384
+ streetAddress?: string | undefined;
1385
+ city?: string | undefined;
1386
+ state?: string | undefined;
1387
+ country?: string | undefined;
1388
+ }, {
1389
+ postalCode?: string | undefined;
1390
+ streetAddress?: string | undefined;
1391
+ city?: string | undefined;
1392
+ state?: string | undefined;
1393
+ country?: string | undefined;
1394
+ }>>;
1395
+ }, "strip", z.ZodTypeAny, {
1396
+ address?: {
1397
+ postalCode?: string | undefined;
1398
+ streetAddress?: string | undefined;
1399
+ city?: string | undefined;
1400
+ state?: string | undefined;
1401
+ country?: string | undefined;
1402
+ } | undefined;
1403
+ name?: string | undefined;
1404
+ identifier?: string | undefined;
1405
+ }, {
1406
+ address?: {
1407
+ postalCode?: string | undefined;
1408
+ streetAddress?: string | undefined;
1409
+ city?: string | undefined;
1410
+ state?: string | undefined;
1411
+ country?: string | undefined;
1412
+ } | undefined;
1413
+ name?: string | undefined;
1414
+ identifier?: string | undefined;
1415
+ }>>;
1416
+ }, "strip", z.ZodTypeAny, {
1417
+ name: string;
1418
+ identifier: string;
1419
+ address?: {
1420
+ postalCode?: string | undefined;
1421
+ streetAddress?: string | undefined;
1422
+ city?: string | undefined;
1423
+ state?: string | undefined;
1424
+ country?: string | undefined;
1425
+ } | undefined;
1426
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1427
+ agent?: {
1428
+ address?: {
1429
+ postalCode?: string | undefined;
1430
+ streetAddress?: string | undefined;
1431
+ city?: string | undefined;
1432
+ state?: string | undefined;
1433
+ country?: string | undefined;
1434
+ } | undefined;
1435
+ name?: string | undefined;
1436
+ identifier?: string | undefined;
1437
+ } | undefined;
1438
+ }, {
1439
+ name: string;
1440
+ identifier: string;
1441
+ address?: {
1442
+ postalCode?: string | undefined;
1443
+ streetAddress?: string | undefined;
1444
+ city?: string | undefined;
1445
+ state?: string | undefined;
1446
+ country?: string | undefined;
1447
+ } | undefined;
1448
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1449
+ agent?: {
1450
+ address?: {
1451
+ postalCode?: string | undefined;
1452
+ streetAddress?: string | undefined;
1453
+ city?: string | undefined;
1454
+ state?: string | undefined;
1455
+ country?: string | undefined;
1456
+ } | undefined;
1457
+ name?: string | undefined;
1458
+ identifier?: string | undefined;
1459
+ } | undefined;
1460
+ }>;
1461
+ creditor: z.ZodObject<{
1462
+ name: z.ZodString;
1463
+ identifier: z.ZodString;
1464
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
1465
+ address: z.ZodOptional<z.ZodObject<{
1466
+ streetAddress: z.ZodOptional<z.ZodString>;
1467
+ city: z.ZodOptional<z.ZodString>;
1468
+ state: z.ZodOptional<z.ZodString>;
1469
+ country: z.ZodOptional<z.ZodString>;
1470
+ postalCode: z.ZodOptional<z.ZodString>;
1471
+ }, "strip", z.ZodTypeAny, {
1472
+ postalCode?: string | undefined;
1473
+ streetAddress?: string | undefined;
1474
+ city?: string | undefined;
1475
+ state?: string | undefined;
1476
+ country?: string | undefined;
1477
+ }, {
1478
+ postalCode?: string | undefined;
1479
+ streetAddress?: string | undefined;
1480
+ city?: string | undefined;
1481
+ state?: string | undefined;
1482
+ country?: string | undefined;
1483
+ }>>;
1484
+ agent: z.ZodOptional<z.ZodObject<{
1485
+ name: z.ZodOptional<z.ZodString>;
1486
+ identifier: z.ZodOptional<z.ZodString>;
1487
+ address: z.ZodOptional<z.ZodObject<{
1488
+ streetAddress: z.ZodOptional<z.ZodString>;
1489
+ city: z.ZodOptional<z.ZodString>;
1490
+ state: z.ZodOptional<z.ZodString>;
1491
+ country: z.ZodOptional<z.ZodString>;
1492
+ postalCode: z.ZodOptional<z.ZodString>;
1493
+ }, "strip", z.ZodTypeAny, {
1494
+ postalCode?: string | undefined;
1495
+ streetAddress?: string | undefined;
1496
+ city?: string | undefined;
1497
+ state?: string | undefined;
1498
+ country?: string | undefined;
1499
+ }, {
1500
+ postalCode?: string | undefined;
1501
+ streetAddress?: string | undefined;
1502
+ city?: string | undefined;
1503
+ state?: string | undefined;
1504
+ country?: string | undefined;
1505
+ }>>;
1506
+ }, "strip", z.ZodTypeAny, {
1507
+ address?: {
1508
+ postalCode?: string | undefined;
1509
+ streetAddress?: string | undefined;
1510
+ city?: string | undefined;
1511
+ state?: string | undefined;
1512
+ country?: string | undefined;
1513
+ } | undefined;
1514
+ name?: string | undefined;
1515
+ identifier?: string | undefined;
1516
+ }, {
1517
+ address?: {
1518
+ postalCode?: string | undefined;
1519
+ streetAddress?: string | undefined;
1520
+ city?: string | undefined;
1521
+ state?: string | undefined;
1522
+ country?: string | undefined;
1523
+ } | undefined;
1524
+ name?: string | undefined;
1525
+ identifier?: string | undefined;
1526
+ }>>;
1527
+ }, "strip", z.ZodTypeAny, {
1528
+ name: string;
1529
+ identifier: string;
1530
+ address?: {
1531
+ postalCode?: string | undefined;
1532
+ streetAddress?: string | undefined;
1533
+ city?: string | undefined;
1534
+ state?: string | undefined;
1535
+ country?: string | undefined;
1536
+ } | undefined;
1537
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1538
+ agent?: {
1539
+ address?: {
1540
+ postalCode?: string | undefined;
1541
+ streetAddress?: string | undefined;
1542
+ city?: string | undefined;
1543
+ state?: string | undefined;
1544
+ country?: string | undefined;
1545
+ } | undefined;
1546
+ name?: string | undefined;
1547
+ identifier?: string | undefined;
1548
+ } | undefined;
1549
+ }, {
1550
+ name: string;
1551
+ identifier: string;
1552
+ address?: {
1553
+ postalCode?: string | undefined;
1554
+ streetAddress?: string | undefined;
1555
+ city?: string | undefined;
1556
+ state?: string | undefined;
1557
+ country?: string | undefined;
1558
+ } | undefined;
1559
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1560
+ agent?: {
1561
+ address?: {
1562
+ postalCode?: string | undefined;
1563
+ streetAddress?: string | undefined;
1564
+ city?: string | undefined;
1565
+ state?: string | undefined;
1566
+ country?: string | undefined;
1567
+ } | undefined;
1568
+ name?: string | undefined;
1569
+ identifier?: string | undefined;
1570
+ } | undefined;
1571
+ }>;
1572
+ clientId: z.ZodOptional<z.ZodString>;
1573
+ correspondent: z.ZodOptional<z.ZodObject<{
1574
+ name: z.ZodString;
1575
+ identifier: z.ZodString;
1576
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
1577
+ address: z.ZodOptional<z.ZodObject<{
1578
+ streetAddress: z.ZodOptional<z.ZodString>;
1579
+ city: z.ZodOptional<z.ZodString>;
1580
+ state: z.ZodOptional<z.ZodString>;
1581
+ country: z.ZodOptional<z.ZodString>;
1582
+ postalCode: z.ZodOptional<z.ZodString>;
1583
+ }, "strip", z.ZodTypeAny, {
1584
+ postalCode?: string | undefined;
1585
+ streetAddress?: string | undefined;
1586
+ city?: string | undefined;
1587
+ state?: string | undefined;
1588
+ country?: string | undefined;
1589
+ }, {
1590
+ postalCode?: string | undefined;
1591
+ streetAddress?: string | undefined;
1592
+ city?: string | undefined;
1593
+ state?: string | undefined;
1594
+ country?: string | undefined;
1595
+ }>>;
1596
+ agent: z.ZodOptional<z.ZodObject<{
1597
+ name: z.ZodOptional<z.ZodString>;
1598
+ identifier: z.ZodOptional<z.ZodString>;
1599
+ address: z.ZodOptional<z.ZodObject<{
1600
+ streetAddress: z.ZodOptional<z.ZodString>;
1601
+ city: z.ZodOptional<z.ZodString>;
1602
+ state: z.ZodOptional<z.ZodString>;
1603
+ country: z.ZodOptional<z.ZodString>;
1604
+ postalCode: z.ZodOptional<z.ZodString>;
1605
+ }, "strip", z.ZodTypeAny, {
1606
+ postalCode?: string | undefined;
1607
+ streetAddress?: string | undefined;
1608
+ city?: string | undefined;
1609
+ state?: string | undefined;
1610
+ country?: string | undefined;
1611
+ }, {
1612
+ postalCode?: string | undefined;
1613
+ streetAddress?: string | undefined;
1614
+ city?: string | undefined;
1615
+ state?: string | undefined;
1616
+ country?: string | undefined;
1617
+ }>>;
1618
+ }, "strip", z.ZodTypeAny, {
1619
+ address?: {
1620
+ postalCode?: string | undefined;
1621
+ streetAddress?: string | undefined;
1622
+ city?: string | undefined;
1623
+ state?: string | undefined;
1624
+ country?: string | undefined;
1625
+ } | undefined;
1626
+ name?: string | undefined;
1627
+ identifier?: string | undefined;
1628
+ }, {
1629
+ address?: {
1630
+ postalCode?: string | undefined;
1631
+ streetAddress?: string | undefined;
1632
+ city?: string | undefined;
1633
+ state?: string | undefined;
1634
+ country?: string | undefined;
1635
+ } | undefined;
1636
+ name?: string | undefined;
1637
+ identifier?: string | undefined;
1638
+ }>>;
1639
+ }, "strip", z.ZodTypeAny, {
1640
+ name: string;
1641
+ identifier: string;
1642
+ address?: {
1643
+ postalCode?: string | undefined;
1644
+ streetAddress?: string | undefined;
1645
+ city?: string | undefined;
1646
+ state?: string | undefined;
1647
+ country?: string | undefined;
1648
+ } | undefined;
1649
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1650
+ agent?: {
1651
+ address?: {
1652
+ postalCode?: string | undefined;
1653
+ streetAddress?: string | undefined;
1654
+ city?: string | undefined;
1655
+ state?: string | undefined;
1656
+ country?: string | undefined;
1657
+ } | undefined;
1658
+ name?: string | undefined;
1659
+ identifier?: string | undefined;
1660
+ } | undefined;
1661
+ }, {
1662
+ name: string;
1663
+ identifier: string;
1664
+ address?: {
1665
+ postalCode?: string | undefined;
1666
+ streetAddress?: string | undefined;
1667
+ city?: string | undefined;
1668
+ state?: string | undefined;
1669
+ country?: string | undefined;
1670
+ } | undefined;
1671
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1672
+ agent?: {
1673
+ address?: {
1674
+ postalCode?: string | undefined;
1675
+ streetAddress?: string | undefined;
1676
+ city?: string | undefined;
1677
+ state?: string | undefined;
1678
+ country?: string | undefined;
1679
+ } | undefined;
1680
+ name?: string | undefined;
1681
+ identifier?: string | undefined;
1682
+ } | undefined;
1683
+ }>>;
1684
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
1685
+ externalId: z.ZodOptional<z.ZodString>;
1686
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
1687
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1688
+ chargeBearer: z.ZodOptional<z.ZodEnum<["OUR", "BEN", "SHA"]>>;
1689
+ purposeCode: z.ZodOptional<z.ZodString>;
1690
+ valueDate: z.ZodOptional<z.ZodString>;
1691
+ executionDate: z.ZodOptional<z.ZodString>;
1692
+ }, z.ZodAny, "strip">, z.objectInputType<{
1693
+ amount: z.ZodNumber;
1694
+ currency: z.ZodString;
1695
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
1696
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
1697
+ debtor: z.ZodObject<{
1698
+ name: z.ZodString;
1699
+ identifier: z.ZodString;
1700
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
1701
+ address: z.ZodOptional<z.ZodObject<{
1702
+ streetAddress: z.ZodOptional<z.ZodString>;
1703
+ city: z.ZodOptional<z.ZodString>;
1704
+ state: z.ZodOptional<z.ZodString>;
1705
+ country: z.ZodOptional<z.ZodString>;
1706
+ postalCode: z.ZodOptional<z.ZodString>;
1707
+ }, "strip", z.ZodTypeAny, {
1708
+ postalCode?: string | undefined;
1709
+ streetAddress?: string | undefined;
1710
+ city?: string | undefined;
1711
+ state?: string | undefined;
1712
+ country?: string | undefined;
1713
+ }, {
1714
+ postalCode?: string | undefined;
1715
+ streetAddress?: string | undefined;
1716
+ city?: string | undefined;
1717
+ state?: string | undefined;
1718
+ country?: string | undefined;
1719
+ }>>;
1720
+ agent: z.ZodOptional<z.ZodObject<{
1721
+ name: z.ZodOptional<z.ZodString>;
1722
+ identifier: z.ZodOptional<z.ZodString>;
1723
+ address: z.ZodOptional<z.ZodObject<{
1724
+ streetAddress: z.ZodOptional<z.ZodString>;
1725
+ city: z.ZodOptional<z.ZodString>;
1726
+ state: z.ZodOptional<z.ZodString>;
1727
+ country: z.ZodOptional<z.ZodString>;
1728
+ postalCode: z.ZodOptional<z.ZodString>;
1729
+ }, "strip", z.ZodTypeAny, {
1730
+ postalCode?: string | undefined;
1731
+ streetAddress?: string | undefined;
1732
+ city?: string | undefined;
1733
+ state?: string | undefined;
1734
+ country?: string | undefined;
1735
+ }, {
1736
+ postalCode?: string | undefined;
1737
+ streetAddress?: string | undefined;
1738
+ city?: string | undefined;
1739
+ state?: string | undefined;
1740
+ country?: string | undefined;
1741
+ }>>;
1742
+ }, "strip", z.ZodTypeAny, {
1743
+ address?: {
1744
+ postalCode?: string | undefined;
1745
+ streetAddress?: string | undefined;
1746
+ city?: string | undefined;
1747
+ state?: string | undefined;
1748
+ country?: string | undefined;
1749
+ } | undefined;
1750
+ name?: string | undefined;
1751
+ identifier?: string | undefined;
1752
+ }, {
1753
+ address?: {
1754
+ postalCode?: string | undefined;
1755
+ streetAddress?: string | undefined;
1756
+ city?: string | undefined;
1757
+ state?: string | undefined;
1758
+ country?: string | undefined;
1759
+ } | undefined;
1760
+ name?: string | undefined;
1761
+ identifier?: string | undefined;
1762
+ }>>;
1763
+ }, "strip", z.ZodTypeAny, {
1764
+ name: string;
1765
+ identifier: string;
1766
+ address?: {
1767
+ postalCode?: string | undefined;
1768
+ streetAddress?: string | undefined;
1769
+ city?: string | undefined;
1770
+ state?: string | undefined;
1771
+ country?: string | undefined;
1772
+ } | undefined;
1773
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1774
+ agent?: {
1775
+ address?: {
1776
+ postalCode?: string | undefined;
1777
+ streetAddress?: string | undefined;
1778
+ city?: string | undefined;
1779
+ state?: string | undefined;
1780
+ country?: string | undefined;
1781
+ } | undefined;
1782
+ name?: string | undefined;
1783
+ identifier?: string | undefined;
1784
+ } | undefined;
1785
+ }, {
1786
+ name: string;
1787
+ identifier: string;
1788
+ address?: {
1789
+ postalCode?: string | undefined;
1790
+ streetAddress?: string | undefined;
1791
+ city?: string | undefined;
1792
+ state?: string | undefined;
1793
+ country?: string | undefined;
1794
+ } | undefined;
1795
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1796
+ agent?: {
1797
+ address?: {
1798
+ postalCode?: string | undefined;
1799
+ streetAddress?: string | undefined;
1800
+ city?: string | undefined;
1801
+ state?: string | undefined;
1802
+ country?: string | undefined;
1803
+ } | undefined;
1804
+ name?: string | undefined;
1805
+ identifier?: string | undefined;
1806
+ } | undefined;
1807
+ }>;
1808
+ creditor: z.ZodObject<{
1809
+ name: z.ZodString;
1810
+ identifier: z.ZodString;
1811
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
1812
+ address: z.ZodOptional<z.ZodObject<{
1813
+ streetAddress: z.ZodOptional<z.ZodString>;
1814
+ city: z.ZodOptional<z.ZodString>;
1815
+ state: z.ZodOptional<z.ZodString>;
1816
+ country: z.ZodOptional<z.ZodString>;
1817
+ postalCode: z.ZodOptional<z.ZodString>;
1818
+ }, "strip", z.ZodTypeAny, {
1819
+ postalCode?: string | undefined;
1820
+ streetAddress?: string | undefined;
1821
+ city?: string | undefined;
1822
+ state?: string | undefined;
1823
+ country?: string | undefined;
1824
+ }, {
1825
+ postalCode?: string | undefined;
1826
+ streetAddress?: string | undefined;
1827
+ city?: string | undefined;
1828
+ state?: string | undefined;
1829
+ country?: string | undefined;
1830
+ }>>;
1831
+ agent: z.ZodOptional<z.ZodObject<{
1832
+ name: z.ZodOptional<z.ZodString>;
1833
+ identifier: z.ZodOptional<z.ZodString>;
1834
+ address: z.ZodOptional<z.ZodObject<{
1835
+ streetAddress: z.ZodOptional<z.ZodString>;
1836
+ city: z.ZodOptional<z.ZodString>;
1837
+ state: z.ZodOptional<z.ZodString>;
1838
+ country: z.ZodOptional<z.ZodString>;
1839
+ postalCode: z.ZodOptional<z.ZodString>;
1840
+ }, "strip", z.ZodTypeAny, {
1841
+ postalCode?: string | undefined;
1842
+ streetAddress?: string | undefined;
1843
+ city?: string | undefined;
1844
+ state?: string | undefined;
1845
+ country?: string | undefined;
1846
+ }, {
1847
+ postalCode?: string | undefined;
1848
+ streetAddress?: string | undefined;
1849
+ city?: string | undefined;
1850
+ state?: string | undefined;
1851
+ country?: string | undefined;
1852
+ }>>;
1853
+ }, "strip", z.ZodTypeAny, {
1854
+ address?: {
1855
+ postalCode?: string | undefined;
1856
+ streetAddress?: string | undefined;
1857
+ city?: string | undefined;
1858
+ state?: string | undefined;
1859
+ country?: string | undefined;
1860
+ } | undefined;
1861
+ name?: string | undefined;
1862
+ identifier?: string | undefined;
1863
+ }, {
1864
+ address?: {
1865
+ postalCode?: string | undefined;
1866
+ streetAddress?: string | undefined;
1867
+ city?: string | undefined;
1868
+ state?: string | undefined;
1869
+ country?: string | undefined;
1870
+ } | undefined;
1871
+ name?: string | undefined;
1872
+ identifier?: string | undefined;
1873
+ }>>;
1874
+ }, "strip", z.ZodTypeAny, {
1875
+ name: string;
1876
+ identifier: string;
1877
+ address?: {
1878
+ postalCode?: string | undefined;
1879
+ streetAddress?: string | undefined;
1880
+ city?: string | undefined;
1881
+ state?: string | undefined;
1882
+ country?: string | undefined;
1883
+ } | undefined;
1884
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1885
+ agent?: {
1886
+ address?: {
1887
+ postalCode?: string | undefined;
1888
+ streetAddress?: string | undefined;
1889
+ city?: string | undefined;
1890
+ state?: string | undefined;
1891
+ country?: string | undefined;
1892
+ } | undefined;
1893
+ name?: string | undefined;
1894
+ identifier?: string | undefined;
1895
+ } | undefined;
1896
+ }, {
1897
+ name: string;
1898
+ identifier: string;
1899
+ address?: {
1900
+ postalCode?: string | undefined;
1901
+ streetAddress?: string | undefined;
1902
+ city?: string | undefined;
1903
+ state?: string | undefined;
1904
+ country?: string | undefined;
1905
+ } | undefined;
1906
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1907
+ agent?: {
1908
+ address?: {
1909
+ postalCode?: string | undefined;
1910
+ streetAddress?: string | undefined;
1911
+ city?: string | undefined;
1912
+ state?: string | undefined;
1913
+ country?: string | undefined;
1914
+ } | undefined;
1915
+ name?: string | undefined;
1916
+ identifier?: string | undefined;
1917
+ } | undefined;
1918
+ }>;
1919
+ clientId: z.ZodOptional<z.ZodString>;
1920
+ correspondent: z.ZodOptional<z.ZodObject<{
1921
+ name: z.ZodString;
1922
+ identifier: z.ZodString;
1923
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
1924
+ address: z.ZodOptional<z.ZodObject<{
1925
+ streetAddress: z.ZodOptional<z.ZodString>;
1926
+ city: z.ZodOptional<z.ZodString>;
1927
+ state: z.ZodOptional<z.ZodString>;
1928
+ country: z.ZodOptional<z.ZodString>;
1929
+ postalCode: z.ZodOptional<z.ZodString>;
1930
+ }, "strip", z.ZodTypeAny, {
1931
+ postalCode?: string | undefined;
1932
+ streetAddress?: string | undefined;
1933
+ city?: string | undefined;
1934
+ state?: string | undefined;
1935
+ country?: string | undefined;
1936
+ }, {
1937
+ postalCode?: string | undefined;
1938
+ streetAddress?: string | undefined;
1939
+ city?: string | undefined;
1940
+ state?: string | undefined;
1941
+ country?: string | undefined;
1942
+ }>>;
1943
+ agent: z.ZodOptional<z.ZodObject<{
1944
+ name: z.ZodOptional<z.ZodString>;
1945
+ identifier: z.ZodOptional<z.ZodString>;
1946
+ address: z.ZodOptional<z.ZodObject<{
1947
+ streetAddress: z.ZodOptional<z.ZodString>;
1948
+ city: z.ZodOptional<z.ZodString>;
1949
+ state: z.ZodOptional<z.ZodString>;
1950
+ country: z.ZodOptional<z.ZodString>;
1951
+ postalCode: z.ZodOptional<z.ZodString>;
1952
+ }, "strip", z.ZodTypeAny, {
1953
+ postalCode?: string | undefined;
1954
+ streetAddress?: string | undefined;
1955
+ city?: string | undefined;
1956
+ state?: string | undefined;
1957
+ country?: string | undefined;
1958
+ }, {
1959
+ postalCode?: string | undefined;
1960
+ streetAddress?: string | undefined;
1961
+ city?: string | undefined;
1962
+ state?: string | undefined;
1963
+ country?: string | undefined;
1964
+ }>>;
1965
+ }, "strip", z.ZodTypeAny, {
1966
+ address?: {
1967
+ postalCode?: string | undefined;
1968
+ streetAddress?: string | undefined;
1969
+ city?: string | undefined;
1970
+ state?: string | undefined;
1971
+ country?: string | undefined;
1972
+ } | undefined;
1973
+ name?: string | undefined;
1974
+ identifier?: string | undefined;
1975
+ }, {
1976
+ address?: {
1977
+ postalCode?: string | undefined;
1978
+ streetAddress?: string | undefined;
1979
+ city?: string | undefined;
1980
+ state?: string | undefined;
1981
+ country?: string | undefined;
1982
+ } | undefined;
1983
+ name?: string | undefined;
1984
+ identifier?: string | undefined;
1985
+ }>>;
1986
+ }, "strip", z.ZodTypeAny, {
1987
+ name: string;
1988
+ identifier: string;
1989
+ address?: {
1990
+ postalCode?: string | undefined;
1991
+ streetAddress?: string | undefined;
1992
+ city?: string | undefined;
1993
+ state?: string | undefined;
1994
+ country?: string | undefined;
1995
+ } | undefined;
1996
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
1997
+ agent?: {
1998
+ address?: {
1999
+ postalCode?: string | undefined;
2000
+ streetAddress?: string | undefined;
2001
+ city?: string | undefined;
2002
+ state?: string | undefined;
2003
+ country?: string | undefined;
2004
+ } | undefined;
2005
+ name?: string | undefined;
2006
+ identifier?: string | undefined;
2007
+ } | undefined;
2008
+ }, {
2009
+ name: string;
2010
+ identifier: string;
2011
+ address?: {
2012
+ postalCode?: string | undefined;
2013
+ streetAddress?: string | undefined;
2014
+ city?: string | undefined;
2015
+ state?: string | undefined;
2016
+ country?: string | undefined;
2017
+ } | undefined;
2018
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
2019
+ agent?: {
2020
+ address?: {
2021
+ postalCode?: string | undefined;
2022
+ streetAddress?: string | undefined;
2023
+ city?: string | undefined;
2024
+ state?: string | undefined;
2025
+ country?: string | undefined;
2026
+ } | undefined;
2027
+ name?: string | undefined;
2028
+ identifier?: string | undefined;
2029
+ } | undefined;
2030
+ }>>;
2031
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
2032
+ externalId: z.ZodOptional<z.ZodString>;
2033
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2034
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2035
+ chargeBearer: z.ZodOptional<z.ZodEnum<["OUR", "BEN", "SHA"]>>;
2036
+ purposeCode: z.ZodOptional<z.ZodString>;
2037
+ valueDate: z.ZodOptional<z.ZodString>;
2038
+ executionDate: z.ZodOptional<z.ZodString>;
2039
+ }, z.ZodAny, "strip">>, z.objectOutputType<{
2040
+ amount: z.ZodNumber;
2041
+ currency: z.ZodString;
2042
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
2043
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
2044
+ debtor: z.ZodObject<{
2045
+ name: z.ZodString;
2046
+ identifier: z.ZodString;
2047
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
2048
+ address: z.ZodOptional<z.ZodObject<{
2049
+ streetAddress: z.ZodOptional<z.ZodString>;
2050
+ city: z.ZodOptional<z.ZodString>;
2051
+ state: z.ZodOptional<z.ZodString>;
2052
+ country: z.ZodOptional<z.ZodString>;
2053
+ postalCode: z.ZodOptional<z.ZodString>;
2054
+ }, "strip", z.ZodTypeAny, {
2055
+ postalCode?: string | undefined;
2056
+ streetAddress?: string | undefined;
2057
+ city?: string | undefined;
2058
+ state?: string | undefined;
2059
+ country?: string | undefined;
2060
+ }, {
2061
+ postalCode?: string | undefined;
2062
+ streetAddress?: string | undefined;
2063
+ city?: string | undefined;
2064
+ state?: string | undefined;
2065
+ country?: string | undefined;
2066
+ }>>;
2067
+ agent: z.ZodOptional<z.ZodObject<{
2068
+ name: z.ZodOptional<z.ZodString>;
2069
+ identifier: z.ZodOptional<z.ZodString>;
2070
+ address: z.ZodOptional<z.ZodObject<{
2071
+ streetAddress: z.ZodOptional<z.ZodString>;
2072
+ city: z.ZodOptional<z.ZodString>;
2073
+ state: z.ZodOptional<z.ZodString>;
2074
+ country: z.ZodOptional<z.ZodString>;
2075
+ postalCode: z.ZodOptional<z.ZodString>;
2076
+ }, "strip", z.ZodTypeAny, {
2077
+ postalCode?: string | undefined;
2078
+ streetAddress?: string | undefined;
2079
+ city?: string | undefined;
2080
+ state?: string | undefined;
2081
+ country?: string | undefined;
2082
+ }, {
2083
+ postalCode?: string | undefined;
2084
+ streetAddress?: string | undefined;
2085
+ city?: string | undefined;
2086
+ state?: string | undefined;
2087
+ country?: string | undefined;
2088
+ }>>;
2089
+ }, "strip", z.ZodTypeAny, {
2090
+ address?: {
2091
+ postalCode?: string | undefined;
2092
+ streetAddress?: string | undefined;
2093
+ city?: string | undefined;
2094
+ state?: string | undefined;
2095
+ country?: string | undefined;
2096
+ } | undefined;
2097
+ name?: string | undefined;
2098
+ identifier?: string | undefined;
2099
+ }, {
2100
+ address?: {
2101
+ postalCode?: string | undefined;
2102
+ streetAddress?: string | undefined;
2103
+ city?: string | undefined;
2104
+ state?: string | undefined;
2105
+ country?: string | undefined;
2106
+ } | undefined;
2107
+ name?: string | undefined;
2108
+ identifier?: string | undefined;
2109
+ }>>;
2110
+ }, "strip", z.ZodTypeAny, {
2111
+ name: string;
2112
+ identifier: string;
2113
+ address?: {
2114
+ postalCode?: string | undefined;
2115
+ streetAddress?: string | undefined;
2116
+ city?: string | undefined;
2117
+ state?: string | undefined;
2118
+ country?: string | undefined;
2119
+ } | undefined;
2120
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
2121
+ agent?: {
2122
+ address?: {
2123
+ postalCode?: string | undefined;
2124
+ streetAddress?: string | undefined;
2125
+ city?: string | undefined;
2126
+ state?: string | undefined;
2127
+ country?: string | undefined;
2128
+ } | undefined;
2129
+ name?: string | undefined;
2130
+ identifier?: string | undefined;
2131
+ } | undefined;
2132
+ }, {
2133
+ name: string;
2134
+ identifier: string;
2135
+ address?: {
2136
+ postalCode?: string | undefined;
2137
+ streetAddress?: string | undefined;
2138
+ city?: string | undefined;
2139
+ state?: string | undefined;
2140
+ country?: string | undefined;
2141
+ } | undefined;
2142
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
2143
+ agent?: {
2144
+ address?: {
2145
+ postalCode?: string | undefined;
2146
+ streetAddress?: string | undefined;
2147
+ city?: string | undefined;
2148
+ state?: string | undefined;
2149
+ country?: string | undefined;
2150
+ } | undefined;
2151
+ name?: string | undefined;
2152
+ identifier?: string | undefined;
2153
+ } | undefined;
2154
+ }>;
2155
+ creditor: z.ZodObject<{
2156
+ name: z.ZodString;
2157
+ identifier: z.ZodString;
2158
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
2159
+ address: z.ZodOptional<z.ZodObject<{
2160
+ streetAddress: z.ZodOptional<z.ZodString>;
2161
+ city: z.ZodOptional<z.ZodString>;
2162
+ state: z.ZodOptional<z.ZodString>;
2163
+ country: z.ZodOptional<z.ZodString>;
2164
+ postalCode: z.ZodOptional<z.ZodString>;
2165
+ }, "strip", z.ZodTypeAny, {
2166
+ postalCode?: string | undefined;
2167
+ streetAddress?: string | undefined;
2168
+ city?: string | undefined;
2169
+ state?: string | undefined;
2170
+ country?: string | undefined;
2171
+ }, {
2172
+ postalCode?: string | undefined;
2173
+ streetAddress?: string | undefined;
2174
+ city?: string | undefined;
2175
+ state?: string | undefined;
2176
+ country?: string | undefined;
2177
+ }>>;
2178
+ agent: z.ZodOptional<z.ZodObject<{
2179
+ name: z.ZodOptional<z.ZodString>;
2180
+ identifier: z.ZodOptional<z.ZodString>;
2181
+ address: z.ZodOptional<z.ZodObject<{
2182
+ streetAddress: z.ZodOptional<z.ZodString>;
2183
+ city: z.ZodOptional<z.ZodString>;
2184
+ state: z.ZodOptional<z.ZodString>;
2185
+ country: z.ZodOptional<z.ZodString>;
2186
+ postalCode: z.ZodOptional<z.ZodString>;
2187
+ }, "strip", z.ZodTypeAny, {
2188
+ postalCode?: string | undefined;
2189
+ streetAddress?: string | undefined;
2190
+ city?: string | undefined;
2191
+ state?: string | undefined;
2192
+ country?: string | undefined;
2193
+ }, {
2194
+ postalCode?: string | undefined;
2195
+ streetAddress?: string | undefined;
2196
+ city?: string | undefined;
2197
+ state?: string | undefined;
2198
+ country?: string | undefined;
2199
+ }>>;
2200
+ }, "strip", z.ZodTypeAny, {
2201
+ address?: {
2202
+ postalCode?: string | undefined;
2203
+ streetAddress?: string | undefined;
2204
+ city?: string | undefined;
2205
+ state?: string | undefined;
2206
+ country?: string | undefined;
2207
+ } | undefined;
2208
+ name?: string | undefined;
2209
+ identifier?: string | undefined;
2210
+ }, {
2211
+ address?: {
2212
+ postalCode?: string | undefined;
2213
+ streetAddress?: string | undefined;
2214
+ city?: string | undefined;
2215
+ state?: string | undefined;
2216
+ country?: string | undefined;
2217
+ } | undefined;
2218
+ name?: string | undefined;
2219
+ identifier?: string | undefined;
2220
+ }>>;
2221
+ }, "strip", z.ZodTypeAny, {
2222
+ name: string;
2223
+ identifier: string;
2224
+ address?: {
2225
+ postalCode?: string | undefined;
2226
+ streetAddress?: string | undefined;
2227
+ city?: string | undefined;
2228
+ state?: string | undefined;
2229
+ country?: string | undefined;
2230
+ } | undefined;
2231
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
2232
+ agent?: {
2233
+ address?: {
2234
+ postalCode?: string | undefined;
2235
+ streetAddress?: string | undefined;
2236
+ city?: string | undefined;
2237
+ state?: string | undefined;
2238
+ country?: string | undefined;
2239
+ } | undefined;
2240
+ name?: string | undefined;
2241
+ identifier?: string | undefined;
2242
+ } | undefined;
2243
+ }, {
2244
+ name: string;
2245
+ identifier: string;
2246
+ address?: {
2247
+ postalCode?: string | undefined;
2248
+ streetAddress?: string | undefined;
2249
+ city?: string | undefined;
2250
+ state?: string | undefined;
2251
+ country?: string | undefined;
2252
+ } | undefined;
2253
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
2254
+ agent?: {
2255
+ address?: {
2256
+ postalCode?: string | undefined;
2257
+ streetAddress?: string | undefined;
2258
+ city?: string | undefined;
2259
+ state?: string | undefined;
2260
+ country?: string | undefined;
2261
+ } | undefined;
2262
+ name?: string | undefined;
2263
+ identifier?: string | undefined;
2264
+ } | undefined;
2265
+ }>;
2266
+ clientId: z.ZodOptional<z.ZodString>;
2267
+ correspondent: z.ZodOptional<z.ZodObject<{
2268
+ name: z.ZodString;
2269
+ identifier: z.ZodString;
2270
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
2271
+ address: z.ZodOptional<z.ZodObject<{
2272
+ streetAddress: z.ZodOptional<z.ZodString>;
2273
+ city: z.ZodOptional<z.ZodString>;
2274
+ state: z.ZodOptional<z.ZodString>;
2275
+ country: z.ZodOptional<z.ZodString>;
2276
+ postalCode: z.ZodOptional<z.ZodString>;
2277
+ }, "strip", z.ZodTypeAny, {
2278
+ postalCode?: string | undefined;
2279
+ streetAddress?: string | undefined;
2280
+ city?: string | undefined;
2281
+ state?: string | undefined;
2282
+ country?: string | undefined;
2283
+ }, {
2284
+ postalCode?: string | undefined;
2285
+ streetAddress?: string | undefined;
2286
+ city?: string | undefined;
2287
+ state?: string | undefined;
2288
+ country?: string | undefined;
2289
+ }>>;
2290
+ agent: z.ZodOptional<z.ZodObject<{
2291
+ name: z.ZodOptional<z.ZodString>;
2292
+ identifier: z.ZodOptional<z.ZodString>;
2293
+ address: z.ZodOptional<z.ZodObject<{
2294
+ streetAddress: z.ZodOptional<z.ZodString>;
2295
+ city: z.ZodOptional<z.ZodString>;
2296
+ state: z.ZodOptional<z.ZodString>;
2297
+ country: z.ZodOptional<z.ZodString>;
2298
+ postalCode: z.ZodOptional<z.ZodString>;
2299
+ }, "strip", z.ZodTypeAny, {
2300
+ postalCode?: string | undefined;
2301
+ streetAddress?: string | undefined;
2302
+ city?: string | undefined;
2303
+ state?: string | undefined;
2304
+ country?: string | undefined;
2305
+ }, {
2306
+ postalCode?: string | undefined;
2307
+ streetAddress?: string | undefined;
2308
+ city?: string | undefined;
2309
+ state?: string | undefined;
2310
+ country?: string | undefined;
2311
+ }>>;
2312
+ }, "strip", z.ZodTypeAny, {
2313
+ address?: {
2314
+ postalCode?: string | undefined;
2315
+ streetAddress?: string | undefined;
2316
+ city?: string | undefined;
2317
+ state?: string | undefined;
2318
+ country?: string | undefined;
2319
+ } | undefined;
2320
+ name?: string | undefined;
2321
+ identifier?: string | undefined;
2322
+ }, {
2323
+ address?: {
2324
+ postalCode?: string | undefined;
2325
+ streetAddress?: string | undefined;
2326
+ city?: string | undefined;
2327
+ state?: string | undefined;
2328
+ country?: string | undefined;
2329
+ } | undefined;
2330
+ name?: string | undefined;
2331
+ identifier?: string | undefined;
2332
+ }>>;
2333
+ }, "strip", z.ZodTypeAny, {
2334
+ name: string;
2335
+ identifier: string;
2336
+ address?: {
2337
+ postalCode?: string | undefined;
2338
+ streetAddress?: string | undefined;
2339
+ city?: string | undefined;
2340
+ state?: string | undefined;
2341
+ country?: string | undefined;
2342
+ } | undefined;
2343
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
2344
+ agent?: {
2345
+ address?: {
2346
+ postalCode?: string | undefined;
2347
+ streetAddress?: string | undefined;
2348
+ city?: string | undefined;
2349
+ state?: string | undefined;
2350
+ country?: string | undefined;
2351
+ } | undefined;
2352
+ name?: string | undefined;
2353
+ identifier?: string | undefined;
2354
+ } | undefined;
2355
+ }, {
2356
+ name: string;
2357
+ identifier: string;
2358
+ address?: {
2359
+ postalCode?: string | undefined;
2360
+ streetAddress?: string | undefined;
2361
+ city?: string | undefined;
2362
+ state?: string | undefined;
2363
+ country?: string | undefined;
2364
+ } | undefined;
2365
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
2366
+ agent?: {
2367
+ address?: {
2368
+ postalCode?: string | undefined;
2369
+ streetAddress?: string | undefined;
2370
+ city?: string | undefined;
2371
+ state?: string | undefined;
2372
+ country?: string | undefined;
2373
+ } | undefined;
2374
+ name?: string | undefined;
2375
+ identifier?: string | undefined;
2376
+ } | undefined;
2377
+ }>>;
2378
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
2379
+ externalId: z.ZodOptional<z.ZodString>;
2380
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2381
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2382
+ chargeBearer: z.ZodOptional<z.ZodEnum<["OUR", "BEN", "SHA"]>>;
2383
+ purposeCode: z.ZodOptional<z.ZodString>;
2384
+ valueDate: z.ZodOptional<z.ZodString>;
2385
+ executionDate: z.ZodOptional<z.ZodString>;
2386
+ }, z.ZodAny, "strip">, z.objectInputType<{
2387
+ amount: z.ZodNumber;
2388
+ currency: z.ZodString;
2389
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
2390
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
2391
+ debtor: z.ZodObject<{
2392
+ name: z.ZodString;
2393
+ identifier: z.ZodString;
2394
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
2395
+ address: z.ZodOptional<z.ZodObject<{
2396
+ streetAddress: z.ZodOptional<z.ZodString>;
2397
+ city: z.ZodOptional<z.ZodString>;
2398
+ state: z.ZodOptional<z.ZodString>;
2399
+ country: z.ZodOptional<z.ZodString>;
2400
+ postalCode: z.ZodOptional<z.ZodString>;
2401
+ }, "strip", z.ZodTypeAny, {
2402
+ postalCode?: string | undefined;
2403
+ streetAddress?: string | undefined;
2404
+ city?: string | undefined;
2405
+ state?: string | undefined;
2406
+ country?: string | undefined;
2407
+ }, {
2408
+ postalCode?: string | undefined;
2409
+ streetAddress?: string | undefined;
2410
+ city?: string | undefined;
2411
+ state?: string | undefined;
2412
+ country?: string | undefined;
2413
+ }>>;
2414
+ agent: z.ZodOptional<z.ZodObject<{
2415
+ name: z.ZodOptional<z.ZodString>;
2416
+ identifier: z.ZodOptional<z.ZodString>;
2417
+ address: z.ZodOptional<z.ZodObject<{
2418
+ streetAddress: z.ZodOptional<z.ZodString>;
2419
+ city: z.ZodOptional<z.ZodString>;
2420
+ state: z.ZodOptional<z.ZodString>;
2421
+ country: z.ZodOptional<z.ZodString>;
2422
+ postalCode: z.ZodOptional<z.ZodString>;
2423
+ }, "strip", z.ZodTypeAny, {
2424
+ postalCode?: string | undefined;
2425
+ streetAddress?: string | undefined;
2426
+ city?: string | undefined;
2427
+ state?: string | undefined;
2428
+ country?: string | undefined;
2429
+ }, {
2430
+ postalCode?: string | undefined;
2431
+ streetAddress?: string | undefined;
2432
+ city?: string | undefined;
2433
+ state?: string | undefined;
2434
+ country?: string | undefined;
2435
+ }>>;
2436
+ }, "strip", z.ZodTypeAny, {
2437
+ address?: {
2438
+ postalCode?: string | undefined;
2439
+ streetAddress?: string | undefined;
2440
+ city?: string | undefined;
2441
+ state?: string | undefined;
2442
+ country?: string | undefined;
2443
+ } | undefined;
2444
+ name?: string | undefined;
2445
+ identifier?: string | undefined;
2446
+ }, {
2447
+ address?: {
2448
+ postalCode?: string | undefined;
2449
+ streetAddress?: string | undefined;
2450
+ city?: string | undefined;
2451
+ state?: string | undefined;
2452
+ country?: string | undefined;
2453
+ } | undefined;
2454
+ name?: string | undefined;
2455
+ identifier?: string | undefined;
2456
+ }>>;
2457
+ }, "strip", z.ZodTypeAny, {
2458
+ name: string;
2459
+ identifier: string;
2460
+ address?: {
2461
+ postalCode?: string | undefined;
2462
+ streetAddress?: string | undefined;
2463
+ city?: string | undefined;
2464
+ state?: string | undefined;
2465
+ country?: string | undefined;
2466
+ } | undefined;
2467
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
2468
+ agent?: {
2469
+ address?: {
2470
+ postalCode?: string | undefined;
2471
+ streetAddress?: string | undefined;
2472
+ city?: string | undefined;
2473
+ state?: string | undefined;
2474
+ country?: string | undefined;
2475
+ } | undefined;
2476
+ name?: string | undefined;
2477
+ identifier?: string | undefined;
2478
+ } | undefined;
2479
+ }, {
2480
+ name: string;
2481
+ identifier: string;
2482
+ address?: {
2483
+ postalCode?: string | undefined;
2484
+ streetAddress?: string | undefined;
2485
+ city?: string | undefined;
2486
+ state?: string | undefined;
2487
+ country?: string | undefined;
2488
+ } | undefined;
2489
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
2490
+ agent?: {
2491
+ address?: {
2492
+ postalCode?: string | undefined;
2493
+ streetAddress?: string | undefined;
2494
+ city?: string | undefined;
2495
+ state?: string | undefined;
2496
+ country?: string | undefined;
2497
+ } | undefined;
2498
+ name?: string | undefined;
2499
+ identifier?: string | undefined;
2500
+ } | undefined;
2501
+ }>;
2502
+ creditor: z.ZodObject<{
2503
+ name: z.ZodString;
2504
+ identifier: z.ZodString;
2505
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
2506
+ address: z.ZodOptional<z.ZodObject<{
2507
+ streetAddress: z.ZodOptional<z.ZodString>;
2508
+ city: z.ZodOptional<z.ZodString>;
2509
+ state: z.ZodOptional<z.ZodString>;
2510
+ country: z.ZodOptional<z.ZodString>;
2511
+ postalCode: z.ZodOptional<z.ZodString>;
2512
+ }, "strip", z.ZodTypeAny, {
2513
+ postalCode?: string | undefined;
2514
+ streetAddress?: string | undefined;
2515
+ city?: string | undefined;
2516
+ state?: string | undefined;
2517
+ country?: string | undefined;
2518
+ }, {
2519
+ postalCode?: string | undefined;
2520
+ streetAddress?: string | undefined;
2521
+ city?: string | undefined;
2522
+ state?: string | undefined;
2523
+ country?: string | undefined;
2524
+ }>>;
2525
+ agent: z.ZodOptional<z.ZodObject<{
2526
+ name: z.ZodOptional<z.ZodString>;
2527
+ identifier: z.ZodOptional<z.ZodString>;
2528
+ address: z.ZodOptional<z.ZodObject<{
2529
+ streetAddress: z.ZodOptional<z.ZodString>;
2530
+ city: z.ZodOptional<z.ZodString>;
2531
+ state: z.ZodOptional<z.ZodString>;
2532
+ country: z.ZodOptional<z.ZodString>;
2533
+ postalCode: z.ZodOptional<z.ZodString>;
2534
+ }, "strip", z.ZodTypeAny, {
2535
+ postalCode?: string | undefined;
2536
+ streetAddress?: string | undefined;
2537
+ city?: string | undefined;
2538
+ state?: string | undefined;
2539
+ country?: string | undefined;
2540
+ }, {
2541
+ postalCode?: string | undefined;
2542
+ streetAddress?: string | undefined;
2543
+ city?: string | undefined;
2544
+ state?: string | undefined;
2545
+ country?: string | undefined;
2546
+ }>>;
2547
+ }, "strip", z.ZodTypeAny, {
2548
+ address?: {
2549
+ postalCode?: string | undefined;
2550
+ streetAddress?: string | undefined;
2551
+ city?: string | undefined;
2552
+ state?: string | undefined;
2553
+ country?: string | undefined;
2554
+ } | undefined;
2555
+ name?: string | undefined;
2556
+ identifier?: string | undefined;
2557
+ }, {
2558
+ address?: {
2559
+ postalCode?: string | undefined;
2560
+ streetAddress?: string | undefined;
2561
+ city?: string | undefined;
2562
+ state?: string | undefined;
2563
+ country?: string | undefined;
2564
+ } | undefined;
2565
+ name?: string | undefined;
2566
+ identifier?: string | undefined;
2567
+ }>>;
2568
+ }, "strip", z.ZodTypeAny, {
2569
+ name: string;
2570
+ identifier: string;
2571
+ address?: {
2572
+ postalCode?: string | undefined;
2573
+ streetAddress?: string | undefined;
2574
+ city?: string | undefined;
2575
+ state?: string | undefined;
2576
+ country?: string | undefined;
2577
+ } | undefined;
2578
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
2579
+ agent?: {
2580
+ address?: {
2581
+ postalCode?: string | undefined;
2582
+ streetAddress?: string | undefined;
2583
+ city?: string | undefined;
2584
+ state?: string | undefined;
2585
+ country?: string | undefined;
2586
+ } | undefined;
2587
+ name?: string | undefined;
2588
+ identifier?: string | undefined;
2589
+ } | undefined;
2590
+ }, {
2591
+ name: string;
2592
+ identifier: string;
2593
+ address?: {
2594
+ postalCode?: string | undefined;
2595
+ streetAddress?: string | undefined;
2596
+ city?: string | undefined;
2597
+ state?: string | undefined;
2598
+ country?: string | undefined;
2599
+ } | undefined;
2600
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
2601
+ agent?: {
2602
+ address?: {
2603
+ postalCode?: string | undefined;
2604
+ streetAddress?: string | undefined;
2605
+ city?: string | undefined;
2606
+ state?: string | undefined;
2607
+ country?: string | undefined;
2608
+ } | undefined;
2609
+ name?: string | undefined;
2610
+ identifier?: string | undefined;
2611
+ } | undefined;
2612
+ }>;
2613
+ clientId: z.ZodOptional<z.ZodString>;
2614
+ correspondent: z.ZodOptional<z.ZodObject<{
2615
+ name: z.ZodString;
2616
+ identifier: z.ZodString;
2617
+ accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
2618
+ address: z.ZodOptional<z.ZodObject<{
2619
+ streetAddress: z.ZodOptional<z.ZodString>;
2620
+ city: z.ZodOptional<z.ZodString>;
2621
+ state: z.ZodOptional<z.ZodString>;
2622
+ country: z.ZodOptional<z.ZodString>;
2623
+ postalCode: z.ZodOptional<z.ZodString>;
2624
+ }, "strip", z.ZodTypeAny, {
2625
+ postalCode?: string | undefined;
2626
+ streetAddress?: string | undefined;
2627
+ city?: string | undefined;
2628
+ state?: string | undefined;
2629
+ country?: string | undefined;
2630
+ }, {
2631
+ postalCode?: string | undefined;
2632
+ streetAddress?: string | undefined;
2633
+ city?: string | undefined;
2634
+ state?: string | undefined;
2635
+ country?: string | undefined;
2636
+ }>>;
2637
+ agent: z.ZodOptional<z.ZodObject<{
2638
+ name: z.ZodOptional<z.ZodString>;
2639
+ identifier: z.ZodOptional<z.ZodString>;
2640
+ address: z.ZodOptional<z.ZodObject<{
2641
+ streetAddress: z.ZodOptional<z.ZodString>;
2642
+ city: z.ZodOptional<z.ZodString>;
2643
+ state: z.ZodOptional<z.ZodString>;
2644
+ country: z.ZodOptional<z.ZodString>;
2645
+ postalCode: z.ZodOptional<z.ZodString>;
2646
+ }, "strip", z.ZodTypeAny, {
2647
+ postalCode?: string | undefined;
2648
+ streetAddress?: string | undefined;
2649
+ city?: string | undefined;
2650
+ state?: string | undefined;
2651
+ country?: string | undefined;
2652
+ }, {
2653
+ postalCode?: string | undefined;
2654
+ streetAddress?: string | undefined;
2655
+ city?: string | undefined;
2656
+ state?: string | undefined;
2657
+ country?: string | undefined;
2658
+ }>>;
2659
+ }, "strip", z.ZodTypeAny, {
2660
+ address?: {
2661
+ postalCode?: string | undefined;
2662
+ streetAddress?: string | undefined;
2663
+ city?: string | undefined;
2664
+ state?: string | undefined;
2665
+ country?: string | undefined;
2666
+ } | undefined;
2667
+ name?: string | undefined;
2668
+ identifier?: string | undefined;
2669
+ }, {
2670
+ address?: {
2671
+ postalCode?: string | undefined;
2672
+ streetAddress?: string | undefined;
2673
+ city?: string | undefined;
2674
+ state?: string | undefined;
2675
+ country?: string | undefined;
2676
+ } | undefined;
2677
+ name?: string | undefined;
2678
+ identifier?: string | undefined;
2679
+ }>>;
2680
+ }, "strip", z.ZodTypeAny, {
2681
+ name: string;
2682
+ identifier: string;
2683
+ address?: {
2684
+ postalCode?: string | undefined;
2685
+ streetAddress?: string | undefined;
2686
+ city?: string | undefined;
2687
+ state?: string | undefined;
2688
+ country?: string | undefined;
2689
+ } | undefined;
2690
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
2691
+ agent?: {
2692
+ address?: {
2693
+ postalCode?: string | undefined;
2694
+ streetAddress?: string | undefined;
2695
+ city?: string | undefined;
2696
+ state?: string | undefined;
2697
+ country?: string | undefined;
2698
+ } | undefined;
2699
+ name?: string | undefined;
2700
+ identifier?: string | undefined;
2701
+ } | undefined;
2702
+ }, {
2703
+ name: string;
2704
+ identifier: string;
2705
+ address?: {
2706
+ postalCode?: string | undefined;
2707
+ streetAddress?: string | undefined;
2708
+ city?: string | undefined;
2709
+ state?: string | undefined;
2710
+ country?: string | undefined;
2711
+ } | undefined;
2712
+ accountType?: "CHECKING" | "SAVINGS" | undefined;
2713
+ agent?: {
2714
+ address?: {
2715
+ postalCode?: string | undefined;
2716
+ streetAddress?: string | undefined;
2717
+ city?: string | undefined;
2718
+ state?: string | undefined;
2719
+ country?: string | undefined;
2720
+ } | undefined;
2721
+ name?: string | undefined;
2722
+ identifier?: string | undefined;
2723
+ } | undefined;
2724
+ }>>;
2725
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
2726
+ externalId: z.ZodOptional<z.ZodString>;
2727
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2728
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2729
+ chargeBearer: z.ZodOptional<z.ZodEnum<["OUR", "BEN", "SHA"]>>;
2730
+ purposeCode: z.ZodOptional<z.ZodString>;
2731
+ valueDate: z.ZodOptional<z.ZodString>;
2732
+ executionDate: z.ZodOptional<z.ZodString>;
2733
+ }, z.ZodAny, "strip">>;
2734
+ declare const UpdatePaymentInputShape: {
2735
+ amount: z.ZodOptional<z.ZodNumber>;
2736
+ correspondent: z.ZodOptional<z.ZodObject<{
2737
+ name: z.ZodOptional<z.ZodString>;
2738
+ identifier: z.ZodOptional<z.ZodString>;
2739
+ accountType: z.ZodOptional<z.ZodString>;
2740
+ }, "strip", z.ZodTypeAny, {
2741
+ name?: string | undefined;
2742
+ identifier?: string | undefined;
2743
+ accountType?: string | undefined;
2744
+ }, {
2745
+ name?: string | undefined;
2746
+ identifier?: string | undefined;
2747
+ accountType?: string | undefined;
2748
+ }>>;
2749
+ creditor: z.ZodOptional<z.ZodObject<{
2750
+ name: z.ZodOptional<z.ZodString>;
2751
+ identifier: z.ZodOptional<z.ZodString>;
2752
+ accountType: z.ZodOptional<z.ZodString>;
2753
+ agent: z.ZodOptional<z.ZodObject<{
2754
+ name: z.ZodOptional<z.ZodString>;
2755
+ identifier: z.ZodOptional<z.ZodString>;
2756
+ }, "strip", z.ZodTypeAny, {
2757
+ name?: string | undefined;
2758
+ identifier?: string | undefined;
2759
+ }, {
2760
+ name?: string | undefined;
2761
+ identifier?: string | undefined;
2762
+ }>>;
2763
+ }, "strip", z.ZodTypeAny, {
2764
+ name?: string | undefined;
2765
+ identifier?: string | undefined;
2766
+ accountType?: string | undefined;
2767
+ agent?: {
2768
+ name?: string | undefined;
2769
+ identifier?: string | undefined;
2770
+ } | undefined;
2771
+ }, {
2772
+ name?: string | undefined;
2773
+ identifier?: string | undefined;
2774
+ accountType?: string | undefined;
2775
+ agent?: {
2776
+ name?: string | undefined;
2777
+ identifier?: string | undefined;
2778
+ } | undefined;
2779
+ }>>;
2780
+ debtor: z.ZodOptional<z.ZodObject<{
2781
+ name: z.ZodOptional<z.ZodString>;
2782
+ identifier: z.ZodOptional<z.ZodString>;
2783
+ accountType: z.ZodOptional<z.ZodString>;
2784
+ agent: z.ZodOptional<z.ZodObject<{
2785
+ name: z.ZodOptional<z.ZodString>;
2786
+ identifier: z.ZodOptional<z.ZodString>;
2787
+ }, "strip", z.ZodTypeAny, {
2788
+ name?: string | undefined;
2789
+ identifier?: string | undefined;
2790
+ }, {
2791
+ name?: string | undefined;
2792
+ identifier?: string | undefined;
2793
+ }>>;
2794
+ }, "strip", z.ZodTypeAny, {
2795
+ name?: string | undefined;
2796
+ identifier?: string | undefined;
2797
+ accountType?: string | undefined;
2798
+ agent?: {
2799
+ name?: string | undefined;
2800
+ identifier?: string | undefined;
2801
+ } | undefined;
2802
+ }, {
2803
+ name?: string | undefined;
2804
+ identifier?: string | undefined;
2805
+ accountType?: string | undefined;
2806
+ agent?: {
2807
+ name?: string | undefined;
2808
+ identifier?: string | undefined;
2809
+ } | undefined;
2810
+ }>>;
2811
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
2812
+ externalId: z.ZodOptional<z.ZodString>;
2813
+ errorCode: z.ZodOptional<z.ZodString>;
2814
+ errorMessage: z.ZodOptional<z.ZodString>;
2815
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2816
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2817
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
2818
+ };
2819
+ declare const UpdatePaymentInputSchema: z.ZodObject<{
2820
+ amount: z.ZodOptional<z.ZodNumber>;
2821
+ correspondent: z.ZodOptional<z.ZodObject<{
2822
+ name: z.ZodOptional<z.ZodString>;
2823
+ identifier: z.ZodOptional<z.ZodString>;
2824
+ accountType: z.ZodOptional<z.ZodString>;
2825
+ }, "strip", z.ZodTypeAny, {
2826
+ name?: string | undefined;
2827
+ identifier?: string | undefined;
2828
+ accountType?: string | undefined;
2829
+ }, {
2830
+ name?: string | undefined;
2831
+ identifier?: string | undefined;
2832
+ accountType?: string | undefined;
2833
+ }>>;
2834
+ creditor: z.ZodOptional<z.ZodObject<{
2835
+ name: z.ZodOptional<z.ZodString>;
2836
+ identifier: z.ZodOptional<z.ZodString>;
2837
+ accountType: z.ZodOptional<z.ZodString>;
2838
+ agent: z.ZodOptional<z.ZodObject<{
2839
+ name: z.ZodOptional<z.ZodString>;
2840
+ identifier: z.ZodOptional<z.ZodString>;
2841
+ }, "strip", z.ZodTypeAny, {
2842
+ name?: string | undefined;
2843
+ identifier?: string | undefined;
2844
+ }, {
2845
+ name?: string | undefined;
2846
+ identifier?: string | undefined;
2847
+ }>>;
2848
+ }, "strip", z.ZodTypeAny, {
2849
+ name?: string | undefined;
2850
+ identifier?: string | undefined;
2851
+ accountType?: string | undefined;
2852
+ agent?: {
2853
+ name?: string | undefined;
2854
+ identifier?: string | undefined;
2855
+ } | undefined;
2856
+ }, {
2857
+ name?: string | undefined;
2858
+ identifier?: string | undefined;
2859
+ accountType?: string | undefined;
2860
+ agent?: {
2861
+ name?: string | undefined;
2862
+ identifier?: string | undefined;
2863
+ } | undefined;
2864
+ }>>;
2865
+ debtor: z.ZodOptional<z.ZodObject<{
2866
+ name: z.ZodOptional<z.ZodString>;
2867
+ identifier: z.ZodOptional<z.ZodString>;
2868
+ accountType: z.ZodOptional<z.ZodString>;
2869
+ agent: z.ZodOptional<z.ZodObject<{
2870
+ name: z.ZodOptional<z.ZodString>;
2871
+ identifier: z.ZodOptional<z.ZodString>;
2872
+ }, "strip", z.ZodTypeAny, {
2873
+ name?: string | undefined;
2874
+ identifier?: string | undefined;
2875
+ }, {
2876
+ name?: string | undefined;
2877
+ identifier?: string | undefined;
2878
+ }>>;
2879
+ }, "strip", z.ZodTypeAny, {
2880
+ name?: string | undefined;
2881
+ identifier?: string | undefined;
2882
+ accountType?: string | undefined;
2883
+ agent?: {
2884
+ name?: string | undefined;
2885
+ identifier?: string | undefined;
2886
+ } | undefined;
2887
+ }, {
2888
+ name?: string | undefined;
2889
+ identifier?: string | undefined;
2890
+ accountType?: string | undefined;
2891
+ agent?: {
2892
+ name?: string | undefined;
2893
+ identifier?: string | undefined;
2894
+ } | undefined;
2895
+ }>>;
2896
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
2897
+ externalId: z.ZodOptional<z.ZodString>;
2898
+ errorCode: z.ZodOptional<z.ZodString>;
2899
+ errorMessage: z.ZodOptional<z.ZodString>;
2900
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2901
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2902
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
2903
+ }, "strip", z.ZodAny, z.objectOutputType<{
2904
+ amount: z.ZodOptional<z.ZodNumber>;
2905
+ correspondent: z.ZodOptional<z.ZodObject<{
2906
+ name: z.ZodOptional<z.ZodString>;
2907
+ identifier: z.ZodOptional<z.ZodString>;
2908
+ accountType: z.ZodOptional<z.ZodString>;
2909
+ }, "strip", z.ZodTypeAny, {
2910
+ name?: string | undefined;
2911
+ identifier?: string | undefined;
2912
+ accountType?: string | undefined;
2913
+ }, {
2914
+ name?: string | undefined;
2915
+ identifier?: string | undefined;
2916
+ accountType?: string | undefined;
2917
+ }>>;
2918
+ creditor: z.ZodOptional<z.ZodObject<{
2919
+ name: z.ZodOptional<z.ZodString>;
2920
+ identifier: z.ZodOptional<z.ZodString>;
2921
+ accountType: z.ZodOptional<z.ZodString>;
2922
+ agent: z.ZodOptional<z.ZodObject<{
2923
+ name: z.ZodOptional<z.ZodString>;
2924
+ identifier: z.ZodOptional<z.ZodString>;
2925
+ }, "strip", z.ZodTypeAny, {
2926
+ name?: string | undefined;
2927
+ identifier?: string | undefined;
2928
+ }, {
2929
+ name?: string | undefined;
2930
+ identifier?: string | undefined;
2931
+ }>>;
2932
+ }, "strip", z.ZodTypeAny, {
2933
+ name?: string | undefined;
2934
+ identifier?: string | undefined;
2935
+ accountType?: string | undefined;
2936
+ agent?: {
2937
+ name?: string | undefined;
2938
+ identifier?: string | undefined;
2939
+ } | undefined;
2940
+ }, {
2941
+ name?: string | undefined;
2942
+ identifier?: string | undefined;
2943
+ accountType?: string | undefined;
2944
+ agent?: {
2945
+ name?: string | undefined;
2946
+ identifier?: string | undefined;
2947
+ } | undefined;
2948
+ }>>;
2949
+ debtor: z.ZodOptional<z.ZodObject<{
2950
+ name: z.ZodOptional<z.ZodString>;
2951
+ identifier: z.ZodOptional<z.ZodString>;
2952
+ accountType: z.ZodOptional<z.ZodString>;
2953
+ agent: z.ZodOptional<z.ZodObject<{
2954
+ name: z.ZodOptional<z.ZodString>;
2955
+ identifier: z.ZodOptional<z.ZodString>;
2956
+ }, "strip", z.ZodTypeAny, {
2957
+ name?: string | undefined;
2958
+ identifier?: string | undefined;
2959
+ }, {
2960
+ name?: string | undefined;
2961
+ identifier?: string | undefined;
2962
+ }>>;
2963
+ }, "strip", z.ZodTypeAny, {
2964
+ name?: string | undefined;
2965
+ identifier?: string | undefined;
2966
+ accountType?: string | undefined;
2967
+ agent?: {
2968
+ name?: string | undefined;
2969
+ identifier?: string | undefined;
2970
+ } | undefined;
2971
+ }, {
2972
+ name?: string | undefined;
2973
+ identifier?: string | undefined;
2974
+ accountType?: string | undefined;
2975
+ agent?: {
2976
+ name?: string | undefined;
2977
+ identifier?: string | undefined;
2978
+ } | undefined;
2979
+ }>>;
2980
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
2981
+ externalId: z.ZodOptional<z.ZodString>;
2982
+ errorCode: z.ZodOptional<z.ZodString>;
2983
+ errorMessage: z.ZodOptional<z.ZodString>;
2984
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
2985
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2986
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
2987
+ }, z.ZodAny, "strip">, z.objectInputType<{
2988
+ amount: z.ZodOptional<z.ZodNumber>;
2989
+ correspondent: z.ZodOptional<z.ZodObject<{
2990
+ name: z.ZodOptional<z.ZodString>;
2991
+ identifier: z.ZodOptional<z.ZodString>;
2992
+ accountType: z.ZodOptional<z.ZodString>;
2993
+ }, "strip", z.ZodTypeAny, {
2994
+ name?: string | undefined;
2995
+ identifier?: string | undefined;
2996
+ accountType?: string | undefined;
2997
+ }, {
2998
+ name?: string | undefined;
2999
+ identifier?: string | undefined;
3000
+ accountType?: string | undefined;
3001
+ }>>;
3002
+ creditor: z.ZodOptional<z.ZodObject<{
3003
+ name: z.ZodOptional<z.ZodString>;
3004
+ identifier: z.ZodOptional<z.ZodString>;
3005
+ accountType: z.ZodOptional<z.ZodString>;
3006
+ agent: z.ZodOptional<z.ZodObject<{
3007
+ name: z.ZodOptional<z.ZodString>;
3008
+ identifier: z.ZodOptional<z.ZodString>;
3009
+ }, "strip", z.ZodTypeAny, {
3010
+ name?: string | undefined;
3011
+ identifier?: string | undefined;
3012
+ }, {
3013
+ name?: string | undefined;
3014
+ identifier?: string | undefined;
3015
+ }>>;
3016
+ }, "strip", z.ZodTypeAny, {
3017
+ name?: string | undefined;
3018
+ identifier?: string | undefined;
3019
+ accountType?: string | undefined;
3020
+ agent?: {
3021
+ name?: string | undefined;
3022
+ identifier?: string | undefined;
3023
+ } | undefined;
3024
+ }, {
3025
+ name?: string | undefined;
3026
+ identifier?: string | undefined;
3027
+ accountType?: string | undefined;
3028
+ agent?: {
3029
+ name?: string | undefined;
3030
+ identifier?: string | undefined;
3031
+ } | undefined;
3032
+ }>>;
3033
+ debtor: z.ZodOptional<z.ZodObject<{
3034
+ name: z.ZodOptional<z.ZodString>;
3035
+ identifier: z.ZodOptional<z.ZodString>;
3036
+ accountType: z.ZodOptional<z.ZodString>;
3037
+ agent: z.ZodOptional<z.ZodObject<{
3038
+ name: z.ZodOptional<z.ZodString>;
3039
+ identifier: z.ZodOptional<z.ZodString>;
3040
+ }, "strip", z.ZodTypeAny, {
3041
+ name?: string | undefined;
3042
+ identifier?: string | undefined;
3043
+ }, {
3044
+ name?: string | undefined;
3045
+ identifier?: string | undefined;
3046
+ }>>;
3047
+ }, "strip", z.ZodTypeAny, {
3048
+ name?: string | undefined;
3049
+ identifier?: string | undefined;
3050
+ accountType?: string | undefined;
3051
+ agent?: {
3052
+ name?: string | undefined;
3053
+ identifier?: string | undefined;
3054
+ } | undefined;
3055
+ }, {
3056
+ name?: string | undefined;
3057
+ identifier?: string | undefined;
3058
+ accountType?: string | undefined;
3059
+ agent?: {
3060
+ name?: string | undefined;
3061
+ identifier?: string | undefined;
3062
+ } | undefined;
3063
+ }>>;
3064
+ exchangeRate: z.ZodOptional<z.ZodNumber>;
3065
+ externalId: z.ZodOptional<z.ZodString>;
3066
+ errorCode: z.ZodOptional<z.ZodString>;
3067
+ errorMessage: z.ZodOptional<z.ZodString>;
3068
+ reference: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3069
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3070
+ status: z.ZodOptional<z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>>;
3071
+ }, z.ZodAny, "strip">>;
3072
+ declare const PaymentResponseSchema: z.ZodObject<{
3073
+ totalFilteredRecords: z.ZodNumber;
3074
+ pageItems: z.ZodArray<z.ZodObject<{
3075
+ id: z.ZodNumber;
3076
+ clientId: z.ZodNumber;
3077
+ amount: z.ZodNumber;
3078
+ correlationId: z.ZodString;
3079
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
3080
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
3081
+ recipient: z.ZodObject<{
3082
+ cardId: z.ZodOptional<z.ZodString>;
3083
+ recipientType: z.ZodString;
3084
+ address: z.ZodObject<{
3085
+ line1: z.ZodOptional<z.ZodString>;
3086
+ line2: z.ZodOptional<z.ZodString>;
3087
+ stateCode: z.ZodOptional<z.ZodString>;
3088
+ countryCode: z.ZodString;
3089
+ postalCode: z.ZodOptional<z.ZodString>;
3090
+ }, "strip", z.ZodTypeAny, {
3091
+ countryCode: string;
3092
+ line1?: string | undefined;
3093
+ line2?: string | undefined;
3094
+ stateCode?: string | undefined;
3095
+ postalCode?: string | undefined;
3096
+ }, {
3097
+ countryCode: string;
3098
+ line1?: string | undefined;
3099
+ line2?: string | undefined;
3100
+ stateCode?: string | undefined;
3101
+ postalCode?: string | undefined;
3102
+ }>;
3103
+ name: z.ZodString;
3104
+ }, "strip", z.ZodTypeAny, {
3105
+ recipientType: string;
3106
+ address: {
3107
+ countryCode: string;
3108
+ line1?: string | undefined;
3109
+ line2?: string | undefined;
3110
+ stateCode?: string | undefined;
3111
+ postalCode?: string | undefined;
3112
+ };
3113
+ name: string;
3114
+ cardId?: string | undefined;
3115
+ }, {
3116
+ recipientType: string;
3117
+ address: {
3118
+ countryCode: string;
3119
+ line1?: string | undefined;
3120
+ line2?: string | undefined;
3121
+ stateCode?: string | undefined;
3122
+ postalCode?: string | undefined;
3123
+ };
3124
+ name: string;
3125
+ cardId?: string | undefined;
3126
+ }>;
3127
+ originator: z.ZodObject<{
3128
+ accountId: z.ZodOptional<z.ZodString>;
3129
+ recipientType: z.ZodString;
3130
+ address: z.ZodObject<{
3131
+ line1: z.ZodOptional<z.ZodString>;
3132
+ line2: z.ZodOptional<z.ZodString>;
3133
+ stateCode: z.ZodOptional<z.ZodString>;
3134
+ countryCode: z.ZodString;
3135
+ postalCode: z.ZodOptional<z.ZodString>;
3136
+ }, "strip", z.ZodTypeAny, {
3137
+ countryCode: string;
3138
+ line1?: string | undefined;
3139
+ line2?: string | undefined;
3140
+ stateCode?: string | undefined;
3141
+ postalCode?: string | undefined;
3142
+ }, {
3143
+ countryCode: string;
3144
+ line1?: string | undefined;
3145
+ line2?: string | undefined;
3146
+ stateCode?: string | undefined;
3147
+ postalCode?: string | undefined;
3148
+ }>;
3149
+ name: z.ZodString;
3150
+ }, "strip", z.ZodTypeAny, {
3151
+ recipientType: string;
3152
+ address: {
3153
+ countryCode: string;
3154
+ line1?: string | undefined;
3155
+ line2?: string | undefined;
3156
+ stateCode?: string | undefined;
3157
+ postalCode?: string | undefined;
3158
+ };
3159
+ name: string;
3160
+ accountId?: string | undefined;
3161
+ }, {
3162
+ recipientType: string;
3163
+ address: {
3164
+ countryCode: string;
3165
+ line1?: string | undefined;
3166
+ line2?: string | undefined;
3167
+ stateCode?: string | undefined;
3168
+ postalCode?: string | undefined;
3169
+ };
3170
+ name: string;
3171
+ accountId?: string | undefined;
3172
+ }>;
3173
+ executedAt: z.ZodString;
3174
+ createdAt: z.ZodString;
3175
+ externalId: z.ZodString;
3176
+ status: z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
3177
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3178
+ currencyData: z.ZodObject<{
3179
+ code: z.ZodString;
3180
+ name: z.ZodString;
3181
+ decimalPlaces: z.ZodNumber;
3182
+ displaySymbol: z.ZodString;
3183
+ nameCode: z.ZodString;
3184
+ currencyCodeInDigit: z.ZodNumber;
3185
+ isBaseCurrency: z.ZodBoolean;
3186
+ }, "strip", z.ZodTypeAny, {
3187
+ code: string;
3188
+ name: string;
3189
+ decimalPlaces: number;
3190
+ displaySymbol: string;
3191
+ nameCode: string;
3192
+ currencyCodeInDigit: number;
3193
+ isBaseCurrency: boolean;
3194
+ }, {
3195
+ code: string;
3196
+ name: string;
3197
+ decimalPlaces: number;
3198
+ displaySymbol: string;
3199
+ nameCode: string;
3200
+ currencyCodeInDigit: number;
3201
+ isBaseCurrency: boolean;
3202
+ }>;
3203
+ currency: z.ZodString;
3204
+ }, "strip", z.ZodAny, z.objectOutputType<{
3205
+ id: z.ZodNumber;
3206
+ clientId: z.ZodNumber;
3207
+ amount: z.ZodNumber;
3208
+ correlationId: z.ZodString;
3209
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
3210
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
3211
+ recipient: z.ZodObject<{
3212
+ cardId: z.ZodOptional<z.ZodString>;
3213
+ recipientType: z.ZodString;
3214
+ address: z.ZodObject<{
3215
+ line1: z.ZodOptional<z.ZodString>;
3216
+ line2: z.ZodOptional<z.ZodString>;
3217
+ stateCode: z.ZodOptional<z.ZodString>;
3218
+ countryCode: z.ZodString;
3219
+ postalCode: z.ZodOptional<z.ZodString>;
3220
+ }, "strip", z.ZodTypeAny, {
3221
+ countryCode: string;
3222
+ line1?: string | undefined;
3223
+ line2?: string | undefined;
3224
+ stateCode?: string | undefined;
3225
+ postalCode?: string | undefined;
3226
+ }, {
3227
+ countryCode: string;
3228
+ line1?: string | undefined;
3229
+ line2?: string | undefined;
3230
+ stateCode?: string | undefined;
3231
+ postalCode?: string | undefined;
3232
+ }>;
3233
+ name: z.ZodString;
3234
+ }, "strip", z.ZodTypeAny, {
3235
+ recipientType: string;
3236
+ address: {
3237
+ countryCode: string;
3238
+ line1?: string | undefined;
3239
+ line2?: string | undefined;
3240
+ stateCode?: string | undefined;
3241
+ postalCode?: string | undefined;
3242
+ };
3243
+ name: string;
3244
+ cardId?: string | undefined;
3245
+ }, {
3246
+ recipientType: string;
3247
+ address: {
3248
+ countryCode: string;
3249
+ line1?: string | undefined;
3250
+ line2?: string | undefined;
3251
+ stateCode?: string | undefined;
3252
+ postalCode?: string | undefined;
3253
+ };
3254
+ name: string;
3255
+ cardId?: string | undefined;
3256
+ }>;
3257
+ originator: z.ZodObject<{
3258
+ accountId: z.ZodOptional<z.ZodString>;
3259
+ recipientType: z.ZodString;
3260
+ address: z.ZodObject<{
3261
+ line1: z.ZodOptional<z.ZodString>;
3262
+ line2: z.ZodOptional<z.ZodString>;
3263
+ stateCode: z.ZodOptional<z.ZodString>;
3264
+ countryCode: z.ZodString;
3265
+ postalCode: z.ZodOptional<z.ZodString>;
3266
+ }, "strip", z.ZodTypeAny, {
3267
+ countryCode: string;
3268
+ line1?: string | undefined;
3269
+ line2?: string | undefined;
3270
+ stateCode?: string | undefined;
3271
+ postalCode?: string | undefined;
3272
+ }, {
3273
+ countryCode: string;
3274
+ line1?: string | undefined;
3275
+ line2?: string | undefined;
3276
+ stateCode?: string | undefined;
3277
+ postalCode?: string | undefined;
3278
+ }>;
3279
+ name: z.ZodString;
3280
+ }, "strip", z.ZodTypeAny, {
3281
+ recipientType: string;
3282
+ address: {
3283
+ countryCode: string;
3284
+ line1?: string | undefined;
3285
+ line2?: string | undefined;
3286
+ stateCode?: string | undefined;
3287
+ postalCode?: string | undefined;
3288
+ };
3289
+ name: string;
3290
+ accountId?: string | undefined;
3291
+ }, {
3292
+ recipientType: string;
3293
+ address: {
3294
+ countryCode: string;
3295
+ line1?: string | undefined;
3296
+ line2?: string | undefined;
3297
+ stateCode?: string | undefined;
3298
+ postalCode?: string | undefined;
3299
+ };
3300
+ name: string;
3301
+ accountId?: string | undefined;
3302
+ }>;
3303
+ executedAt: z.ZodString;
3304
+ createdAt: z.ZodString;
3305
+ externalId: z.ZodString;
3306
+ status: z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
3307
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3308
+ currencyData: z.ZodObject<{
3309
+ code: z.ZodString;
3310
+ name: z.ZodString;
3311
+ decimalPlaces: z.ZodNumber;
3312
+ displaySymbol: z.ZodString;
3313
+ nameCode: z.ZodString;
3314
+ currencyCodeInDigit: z.ZodNumber;
3315
+ isBaseCurrency: z.ZodBoolean;
3316
+ }, "strip", z.ZodTypeAny, {
3317
+ code: string;
3318
+ name: string;
3319
+ decimalPlaces: number;
3320
+ displaySymbol: string;
3321
+ nameCode: string;
3322
+ currencyCodeInDigit: number;
3323
+ isBaseCurrency: boolean;
3324
+ }, {
3325
+ code: string;
3326
+ name: string;
3327
+ decimalPlaces: number;
3328
+ displaySymbol: string;
3329
+ nameCode: string;
3330
+ currencyCodeInDigit: number;
3331
+ isBaseCurrency: boolean;
3332
+ }>;
3333
+ currency: z.ZodString;
3334
+ }, z.ZodAny, "strip">, z.objectInputType<{
3335
+ id: z.ZodNumber;
3336
+ clientId: z.ZodNumber;
3337
+ amount: z.ZodNumber;
3338
+ correlationId: z.ZodString;
3339
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
3340
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
3341
+ recipient: z.ZodObject<{
3342
+ cardId: z.ZodOptional<z.ZodString>;
3343
+ recipientType: z.ZodString;
3344
+ address: z.ZodObject<{
3345
+ line1: z.ZodOptional<z.ZodString>;
3346
+ line2: z.ZodOptional<z.ZodString>;
3347
+ stateCode: z.ZodOptional<z.ZodString>;
3348
+ countryCode: z.ZodString;
3349
+ postalCode: z.ZodOptional<z.ZodString>;
3350
+ }, "strip", z.ZodTypeAny, {
3351
+ countryCode: string;
3352
+ line1?: string | undefined;
3353
+ line2?: string | undefined;
3354
+ stateCode?: string | undefined;
3355
+ postalCode?: string | undefined;
3356
+ }, {
3357
+ countryCode: string;
3358
+ line1?: string | undefined;
3359
+ line2?: string | undefined;
3360
+ stateCode?: string | undefined;
3361
+ postalCode?: string | undefined;
3362
+ }>;
3363
+ name: z.ZodString;
3364
+ }, "strip", z.ZodTypeAny, {
3365
+ recipientType: string;
3366
+ address: {
3367
+ countryCode: string;
3368
+ line1?: string | undefined;
3369
+ line2?: string | undefined;
3370
+ stateCode?: string | undefined;
3371
+ postalCode?: string | undefined;
3372
+ };
3373
+ name: string;
3374
+ cardId?: string | undefined;
3375
+ }, {
3376
+ recipientType: string;
3377
+ address: {
3378
+ countryCode: string;
3379
+ line1?: string | undefined;
3380
+ line2?: string | undefined;
3381
+ stateCode?: string | undefined;
3382
+ postalCode?: string | undefined;
3383
+ };
3384
+ name: string;
3385
+ cardId?: string | undefined;
3386
+ }>;
3387
+ originator: z.ZodObject<{
3388
+ accountId: z.ZodOptional<z.ZodString>;
3389
+ recipientType: z.ZodString;
3390
+ address: z.ZodObject<{
3391
+ line1: z.ZodOptional<z.ZodString>;
3392
+ line2: z.ZodOptional<z.ZodString>;
3393
+ stateCode: z.ZodOptional<z.ZodString>;
3394
+ countryCode: z.ZodString;
3395
+ postalCode: z.ZodOptional<z.ZodString>;
3396
+ }, "strip", z.ZodTypeAny, {
3397
+ countryCode: string;
3398
+ line1?: string | undefined;
3399
+ line2?: string | undefined;
3400
+ stateCode?: string | undefined;
3401
+ postalCode?: string | undefined;
3402
+ }, {
3403
+ countryCode: string;
3404
+ line1?: string | undefined;
3405
+ line2?: string | undefined;
3406
+ stateCode?: string | undefined;
3407
+ postalCode?: string | undefined;
3408
+ }>;
3409
+ name: z.ZodString;
3410
+ }, "strip", z.ZodTypeAny, {
3411
+ recipientType: string;
3412
+ address: {
3413
+ countryCode: string;
3414
+ line1?: string | undefined;
3415
+ line2?: string | undefined;
3416
+ stateCode?: string | undefined;
3417
+ postalCode?: string | undefined;
3418
+ };
3419
+ name: string;
3420
+ accountId?: string | undefined;
3421
+ }, {
3422
+ recipientType: string;
3423
+ address: {
3424
+ countryCode: string;
3425
+ line1?: string | undefined;
3426
+ line2?: string | undefined;
3427
+ stateCode?: string | undefined;
3428
+ postalCode?: string | undefined;
3429
+ };
3430
+ name: string;
3431
+ accountId?: string | undefined;
3432
+ }>;
3433
+ executedAt: z.ZodString;
3434
+ createdAt: z.ZodString;
3435
+ externalId: z.ZodString;
3436
+ status: z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
3437
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3438
+ currencyData: z.ZodObject<{
3439
+ code: z.ZodString;
3440
+ name: z.ZodString;
3441
+ decimalPlaces: z.ZodNumber;
3442
+ displaySymbol: z.ZodString;
3443
+ nameCode: z.ZodString;
3444
+ currencyCodeInDigit: z.ZodNumber;
3445
+ isBaseCurrency: z.ZodBoolean;
3446
+ }, "strip", z.ZodTypeAny, {
3447
+ code: string;
3448
+ name: string;
3449
+ decimalPlaces: number;
3450
+ displaySymbol: string;
3451
+ nameCode: string;
3452
+ currencyCodeInDigit: number;
3453
+ isBaseCurrency: boolean;
3454
+ }, {
3455
+ code: string;
3456
+ name: string;
3457
+ decimalPlaces: number;
3458
+ displaySymbol: string;
3459
+ nameCode: string;
3460
+ currencyCodeInDigit: number;
3461
+ isBaseCurrency: boolean;
3462
+ }>;
3463
+ currency: z.ZodString;
3464
+ }, z.ZodAny, "strip">>, "many">;
3465
+ }, "strip", z.ZodTypeAny, {
3466
+ totalFilteredRecords: number;
3467
+ pageItems: z.objectOutputType<{
3468
+ id: z.ZodNumber;
3469
+ clientId: z.ZodNumber;
3470
+ amount: z.ZodNumber;
3471
+ correlationId: z.ZodString;
3472
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
3473
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
3474
+ recipient: z.ZodObject<{
3475
+ cardId: z.ZodOptional<z.ZodString>;
3476
+ recipientType: z.ZodString;
3477
+ address: z.ZodObject<{
3478
+ line1: z.ZodOptional<z.ZodString>;
3479
+ line2: z.ZodOptional<z.ZodString>;
3480
+ stateCode: z.ZodOptional<z.ZodString>;
3481
+ countryCode: z.ZodString;
3482
+ postalCode: z.ZodOptional<z.ZodString>;
3483
+ }, "strip", z.ZodTypeAny, {
3484
+ countryCode: string;
3485
+ line1?: string | undefined;
3486
+ line2?: string | undefined;
3487
+ stateCode?: string | undefined;
3488
+ postalCode?: string | undefined;
3489
+ }, {
3490
+ countryCode: string;
3491
+ line1?: string | undefined;
3492
+ line2?: string | undefined;
3493
+ stateCode?: string | undefined;
3494
+ postalCode?: string | undefined;
3495
+ }>;
3496
+ name: z.ZodString;
3497
+ }, "strip", z.ZodTypeAny, {
3498
+ recipientType: string;
3499
+ address: {
3500
+ countryCode: string;
3501
+ line1?: string | undefined;
3502
+ line2?: string | undefined;
3503
+ stateCode?: string | undefined;
3504
+ postalCode?: string | undefined;
3505
+ };
3506
+ name: string;
3507
+ cardId?: string | undefined;
3508
+ }, {
3509
+ recipientType: string;
3510
+ address: {
3511
+ countryCode: string;
3512
+ line1?: string | undefined;
3513
+ line2?: string | undefined;
3514
+ stateCode?: string | undefined;
3515
+ postalCode?: string | undefined;
3516
+ };
3517
+ name: string;
3518
+ cardId?: string | undefined;
3519
+ }>;
3520
+ originator: z.ZodObject<{
3521
+ accountId: z.ZodOptional<z.ZodString>;
3522
+ recipientType: z.ZodString;
3523
+ address: z.ZodObject<{
3524
+ line1: z.ZodOptional<z.ZodString>;
3525
+ line2: z.ZodOptional<z.ZodString>;
3526
+ stateCode: z.ZodOptional<z.ZodString>;
3527
+ countryCode: z.ZodString;
3528
+ postalCode: z.ZodOptional<z.ZodString>;
3529
+ }, "strip", z.ZodTypeAny, {
3530
+ countryCode: string;
3531
+ line1?: string | undefined;
3532
+ line2?: string | undefined;
3533
+ stateCode?: string | undefined;
3534
+ postalCode?: string | undefined;
3535
+ }, {
3536
+ countryCode: string;
3537
+ line1?: string | undefined;
3538
+ line2?: string | undefined;
3539
+ stateCode?: string | undefined;
3540
+ postalCode?: string | undefined;
3541
+ }>;
3542
+ name: z.ZodString;
3543
+ }, "strip", z.ZodTypeAny, {
3544
+ recipientType: string;
3545
+ address: {
3546
+ countryCode: string;
3547
+ line1?: string | undefined;
3548
+ line2?: string | undefined;
3549
+ stateCode?: string | undefined;
3550
+ postalCode?: string | undefined;
3551
+ };
3552
+ name: string;
3553
+ accountId?: string | undefined;
3554
+ }, {
3555
+ recipientType: string;
3556
+ address: {
3557
+ countryCode: string;
3558
+ line1?: string | undefined;
3559
+ line2?: string | undefined;
3560
+ stateCode?: string | undefined;
3561
+ postalCode?: string | undefined;
3562
+ };
3563
+ name: string;
3564
+ accountId?: string | undefined;
3565
+ }>;
3566
+ executedAt: z.ZodString;
3567
+ createdAt: z.ZodString;
3568
+ externalId: z.ZodString;
3569
+ status: z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
3570
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3571
+ currencyData: z.ZodObject<{
3572
+ code: z.ZodString;
3573
+ name: z.ZodString;
3574
+ decimalPlaces: z.ZodNumber;
3575
+ displaySymbol: z.ZodString;
3576
+ nameCode: z.ZodString;
3577
+ currencyCodeInDigit: z.ZodNumber;
3578
+ isBaseCurrency: z.ZodBoolean;
3579
+ }, "strip", z.ZodTypeAny, {
3580
+ code: string;
3581
+ name: string;
3582
+ decimalPlaces: number;
3583
+ displaySymbol: string;
3584
+ nameCode: string;
3585
+ currencyCodeInDigit: number;
3586
+ isBaseCurrency: boolean;
3587
+ }, {
3588
+ code: string;
3589
+ name: string;
3590
+ decimalPlaces: number;
3591
+ displaySymbol: string;
3592
+ nameCode: string;
3593
+ currencyCodeInDigit: number;
3594
+ isBaseCurrency: boolean;
3595
+ }>;
3596
+ currency: z.ZodString;
3597
+ }, z.ZodAny, "strip">[];
3598
+ }, {
3599
+ totalFilteredRecords: number;
3600
+ pageItems: z.objectInputType<{
3601
+ id: z.ZodNumber;
3602
+ clientId: z.ZodNumber;
3603
+ amount: z.ZodNumber;
3604
+ correlationId: z.ZodString;
3605
+ paymentType: z.ZodEnum<["CREDIT", "DEBIT"]>;
3606
+ paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
3607
+ recipient: z.ZodObject<{
3608
+ cardId: z.ZodOptional<z.ZodString>;
3609
+ recipientType: z.ZodString;
3610
+ address: z.ZodObject<{
3611
+ line1: z.ZodOptional<z.ZodString>;
3612
+ line2: z.ZodOptional<z.ZodString>;
3613
+ stateCode: z.ZodOptional<z.ZodString>;
3614
+ countryCode: z.ZodString;
3615
+ postalCode: z.ZodOptional<z.ZodString>;
3616
+ }, "strip", z.ZodTypeAny, {
3617
+ countryCode: string;
3618
+ line1?: string | undefined;
3619
+ line2?: string | undefined;
3620
+ stateCode?: string | undefined;
3621
+ postalCode?: string | undefined;
3622
+ }, {
3623
+ countryCode: string;
3624
+ line1?: string | undefined;
3625
+ line2?: string | undefined;
3626
+ stateCode?: string | undefined;
3627
+ postalCode?: string | undefined;
3628
+ }>;
3629
+ name: z.ZodString;
3630
+ }, "strip", z.ZodTypeAny, {
3631
+ recipientType: string;
3632
+ address: {
3633
+ countryCode: string;
3634
+ line1?: string | undefined;
3635
+ line2?: string | undefined;
3636
+ stateCode?: string | undefined;
3637
+ postalCode?: string | undefined;
3638
+ };
3639
+ name: string;
3640
+ cardId?: string | undefined;
3641
+ }, {
3642
+ recipientType: string;
3643
+ address: {
3644
+ countryCode: string;
3645
+ line1?: string | undefined;
3646
+ line2?: string | undefined;
3647
+ stateCode?: string | undefined;
3648
+ postalCode?: string | undefined;
3649
+ };
3650
+ name: string;
3651
+ cardId?: string | undefined;
3652
+ }>;
3653
+ originator: z.ZodObject<{
3654
+ accountId: z.ZodOptional<z.ZodString>;
3655
+ recipientType: z.ZodString;
3656
+ address: z.ZodObject<{
3657
+ line1: z.ZodOptional<z.ZodString>;
3658
+ line2: z.ZodOptional<z.ZodString>;
3659
+ stateCode: z.ZodOptional<z.ZodString>;
3660
+ countryCode: z.ZodString;
3661
+ postalCode: z.ZodOptional<z.ZodString>;
3662
+ }, "strip", z.ZodTypeAny, {
3663
+ countryCode: string;
3664
+ line1?: string | undefined;
3665
+ line2?: string | undefined;
3666
+ stateCode?: string | undefined;
3667
+ postalCode?: string | undefined;
3668
+ }, {
3669
+ countryCode: string;
3670
+ line1?: string | undefined;
3671
+ line2?: string | undefined;
3672
+ stateCode?: string | undefined;
3673
+ postalCode?: string | undefined;
3674
+ }>;
3675
+ name: z.ZodString;
3676
+ }, "strip", z.ZodTypeAny, {
3677
+ recipientType: string;
3678
+ address: {
3679
+ countryCode: string;
3680
+ line1?: string | undefined;
3681
+ line2?: string | undefined;
3682
+ stateCode?: string | undefined;
3683
+ postalCode?: string | undefined;
3684
+ };
3685
+ name: string;
3686
+ accountId?: string | undefined;
3687
+ }, {
3688
+ recipientType: string;
3689
+ address: {
3690
+ countryCode: string;
3691
+ line1?: string | undefined;
3692
+ line2?: string | undefined;
3693
+ stateCode?: string | undefined;
3694
+ postalCode?: string | undefined;
3695
+ };
3696
+ name: string;
3697
+ accountId?: string | undefined;
3698
+ }>;
3699
+ executedAt: z.ZodString;
3700
+ createdAt: z.ZodString;
3701
+ externalId: z.ZodString;
3702
+ status: z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
3703
+ paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3704
+ currencyData: z.ZodObject<{
3705
+ code: z.ZodString;
3706
+ name: z.ZodString;
3707
+ decimalPlaces: z.ZodNumber;
3708
+ displaySymbol: z.ZodString;
3709
+ nameCode: z.ZodString;
3710
+ currencyCodeInDigit: z.ZodNumber;
3711
+ isBaseCurrency: z.ZodBoolean;
3712
+ }, "strip", z.ZodTypeAny, {
3713
+ code: string;
3714
+ name: string;
3715
+ decimalPlaces: number;
3716
+ displaySymbol: string;
3717
+ nameCode: string;
3718
+ currencyCodeInDigit: number;
3719
+ isBaseCurrency: boolean;
3720
+ }, {
3721
+ code: string;
3722
+ name: string;
3723
+ decimalPlaces: number;
3724
+ displaySymbol: string;
3725
+ nameCode: string;
3726
+ currencyCodeInDigit: number;
3727
+ isBaseCurrency: boolean;
3728
+ }>;
3729
+ currency: z.ZodString;
3730
+ }, z.ZodAny, "strip">[];
3731
+ }>;
3732
+ type Payment = z.infer<typeof PaymentSchema>;
3733
+ type CreatePaymentInput = z.infer<typeof CreatePaymentInputSchema>;
3734
+ type UpdatePaymentInput = z.infer<typeof UpdatePaymentInputSchema>;
3735
+ type PaymentResponse = z.infer<typeof PaymentResponseSchema>;
3736
+
3737
+ declare const createClient: (initialConfig: Config) => {
3738
+ payment: {
3739
+ create: (data: CreatePaymentInput) => {
3740
+ execute: () => Promise<zod.objectOutputType<{
3741
+ id: zod.ZodNumber;
3742
+ clientId: zod.ZodNumber;
3743
+ amount: zod.ZodNumber;
3744
+ correlationId: zod.ZodString;
3745
+ paymentType: zod.ZodEnum<["CREDIT", "DEBIT"]>;
3746
+ paymentRail: zod.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
3747
+ recipient: zod.ZodObject<{
3748
+ cardId: zod.ZodOptional<zod.ZodString>;
3749
+ recipientType: zod.ZodString;
3750
+ address: zod.ZodObject<{
3751
+ line1: zod.ZodOptional<zod.ZodString>;
3752
+ line2: zod.ZodOptional<zod.ZodString>;
3753
+ stateCode: zod.ZodOptional<zod.ZodString>;
3754
+ countryCode: zod.ZodString;
3755
+ postalCode: zod.ZodOptional<zod.ZodString>;
3756
+ }, "strip", zod.ZodTypeAny, {
3757
+ countryCode: string;
3758
+ line1?: string | undefined;
3759
+ line2?: string | undefined;
3760
+ stateCode?: string | undefined;
3761
+ postalCode?: string | undefined;
3762
+ }, {
3763
+ countryCode: string;
3764
+ line1?: string | undefined;
3765
+ line2?: string | undefined;
3766
+ stateCode?: string | undefined;
3767
+ postalCode?: string | undefined;
3768
+ }>;
3769
+ name: zod.ZodString;
3770
+ }, "strip", zod.ZodTypeAny, {
3771
+ recipientType: string;
3772
+ address: {
3773
+ countryCode: string;
3774
+ line1?: string | undefined;
3775
+ line2?: string | undefined;
3776
+ stateCode?: string | undefined;
3777
+ postalCode?: string | undefined;
3778
+ };
3779
+ name: string;
3780
+ cardId?: string | undefined;
3781
+ }, {
3782
+ recipientType: string;
3783
+ address: {
3784
+ countryCode: string;
3785
+ line1?: string | undefined;
3786
+ line2?: string | undefined;
3787
+ stateCode?: string | undefined;
3788
+ postalCode?: string | undefined;
3789
+ };
3790
+ name: string;
3791
+ cardId?: string | undefined;
3792
+ }>;
3793
+ originator: zod.ZodObject<{
3794
+ accountId: zod.ZodOptional<zod.ZodString>;
3795
+ recipientType: zod.ZodString;
3796
+ address: zod.ZodObject<{
3797
+ line1: zod.ZodOptional<zod.ZodString>;
3798
+ line2: zod.ZodOptional<zod.ZodString>;
3799
+ stateCode: zod.ZodOptional<zod.ZodString>;
3800
+ countryCode: zod.ZodString;
3801
+ postalCode: zod.ZodOptional<zod.ZodString>;
3802
+ }, "strip", zod.ZodTypeAny, {
3803
+ countryCode: string;
3804
+ line1?: string | undefined;
3805
+ line2?: string | undefined;
3806
+ stateCode?: string | undefined;
3807
+ postalCode?: string | undefined;
3808
+ }, {
3809
+ countryCode: string;
3810
+ line1?: string | undefined;
3811
+ line2?: string | undefined;
3812
+ stateCode?: string | undefined;
3813
+ postalCode?: string | undefined;
3814
+ }>;
3815
+ name: zod.ZodString;
3816
+ }, "strip", zod.ZodTypeAny, {
3817
+ recipientType: string;
3818
+ address: {
3819
+ countryCode: string;
3820
+ line1?: string | undefined;
3821
+ line2?: string | undefined;
3822
+ stateCode?: string | undefined;
3823
+ postalCode?: string | undefined;
3824
+ };
3825
+ name: string;
3826
+ accountId?: string | undefined;
3827
+ }, {
3828
+ recipientType: string;
3829
+ address: {
3830
+ countryCode: string;
3831
+ line1?: string | undefined;
3832
+ line2?: string | undefined;
3833
+ stateCode?: string | undefined;
3834
+ postalCode?: string | undefined;
3835
+ };
3836
+ name: string;
3837
+ accountId?: string | undefined;
3838
+ }>;
3839
+ executedAt: zod.ZodString;
3840
+ createdAt: zod.ZodString;
3841
+ externalId: zod.ZodString;
3842
+ status: zod.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
3843
+ paymentRailMetaData: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
3844
+ currencyData: zod.ZodObject<{
3845
+ code: zod.ZodString;
3846
+ name: zod.ZodString;
3847
+ decimalPlaces: zod.ZodNumber;
3848
+ displaySymbol: zod.ZodString;
3849
+ nameCode: zod.ZodString;
3850
+ currencyCodeInDigit: zod.ZodNumber;
3851
+ isBaseCurrency: zod.ZodBoolean;
3852
+ }, "strip", zod.ZodTypeAny, {
3853
+ code: string;
3854
+ name: string;
3855
+ decimalPlaces: number;
3856
+ displaySymbol: string;
3857
+ nameCode: string;
3858
+ currencyCodeInDigit: number;
3859
+ isBaseCurrency: boolean;
3860
+ }, {
3861
+ code: string;
3862
+ name: string;
3863
+ decimalPlaces: number;
3864
+ displaySymbol: string;
3865
+ nameCode: string;
3866
+ currencyCodeInDigit: number;
3867
+ isBaseCurrency: boolean;
3868
+ }>;
3869
+ currency: zod.ZodString;
3870
+ }, zod.ZodAny, "strip"> | undefined>;
3871
+ };
3872
+ get: (id: number) => {
3873
+ execute: () => Promise<zod.objectOutputType<{
3874
+ id: zod.ZodNumber;
3875
+ clientId: zod.ZodNumber;
3876
+ amount: zod.ZodNumber;
3877
+ correlationId: zod.ZodString;
3878
+ paymentType: zod.ZodEnum<["CREDIT", "DEBIT"]>;
3879
+ paymentRail: zod.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
3880
+ recipient: zod.ZodObject<{
3881
+ cardId: zod.ZodOptional<zod.ZodString>;
3882
+ recipientType: zod.ZodString;
3883
+ address: zod.ZodObject<{
3884
+ line1: zod.ZodOptional<zod.ZodString>;
3885
+ line2: zod.ZodOptional<zod.ZodString>;
3886
+ stateCode: zod.ZodOptional<zod.ZodString>;
3887
+ countryCode: zod.ZodString;
3888
+ postalCode: zod.ZodOptional<zod.ZodString>;
3889
+ }, "strip", zod.ZodTypeAny, {
3890
+ countryCode: string;
3891
+ line1?: string | undefined;
3892
+ line2?: string | undefined;
3893
+ stateCode?: string | undefined;
3894
+ postalCode?: string | undefined;
3895
+ }, {
3896
+ countryCode: string;
3897
+ line1?: string | undefined;
3898
+ line2?: string | undefined;
3899
+ stateCode?: string | undefined;
3900
+ postalCode?: string | undefined;
3901
+ }>;
3902
+ name: zod.ZodString;
3903
+ }, "strip", zod.ZodTypeAny, {
3904
+ recipientType: string;
3905
+ address: {
3906
+ countryCode: string;
3907
+ line1?: string | undefined;
3908
+ line2?: string | undefined;
3909
+ stateCode?: string | undefined;
3910
+ postalCode?: string | undefined;
3911
+ };
3912
+ name: string;
3913
+ cardId?: string | undefined;
3914
+ }, {
3915
+ recipientType: string;
3916
+ address: {
3917
+ countryCode: string;
3918
+ line1?: string | undefined;
3919
+ line2?: string | undefined;
3920
+ stateCode?: string | undefined;
3921
+ postalCode?: string | undefined;
3922
+ };
3923
+ name: string;
3924
+ cardId?: string | undefined;
3925
+ }>;
3926
+ originator: zod.ZodObject<{
3927
+ accountId: zod.ZodOptional<zod.ZodString>;
3928
+ recipientType: zod.ZodString;
3929
+ address: zod.ZodObject<{
3930
+ line1: zod.ZodOptional<zod.ZodString>;
3931
+ line2: zod.ZodOptional<zod.ZodString>;
3932
+ stateCode: zod.ZodOptional<zod.ZodString>;
3933
+ countryCode: zod.ZodString;
3934
+ postalCode: zod.ZodOptional<zod.ZodString>;
3935
+ }, "strip", zod.ZodTypeAny, {
3936
+ countryCode: string;
3937
+ line1?: string | undefined;
3938
+ line2?: string | undefined;
3939
+ stateCode?: string | undefined;
3940
+ postalCode?: string | undefined;
3941
+ }, {
3942
+ countryCode: string;
3943
+ line1?: string | undefined;
3944
+ line2?: string | undefined;
3945
+ stateCode?: string | undefined;
3946
+ postalCode?: string | undefined;
3947
+ }>;
3948
+ name: zod.ZodString;
3949
+ }, "strip", zod.ZodTypeAny, {
3950
+ recipientType: string;
3951
+ address: {
3952
+ countryCode: string;
3953
+ line1?: string | undefined;
3954
+ line2?: string | undefined;
3955
+ stateCode?: string | undefined;
3956
+ postalCode?: string | undefined;
3957
+ };
3958
+ name: string;
3959
+ accountId?: string | undefined;
3960
+ }, {
3961
+ recipientType: string;
3962
+ address: {
3963
+ countryCode: string;
3964
+ line1?: string | undefined;
3965
+ line2?: string | undefined;
3966
+ stateCode?: string | undefined;
3967
+ postalCode?: string | undefined;
3968
+ };
3969
+ name: string;
3970
+ accountId?: string | undefined;
3971
+ }>;
3972
+ executedAt: zod.ZodString;
3973
+ createdAt: zod.ZodString;
3974
+ externalId: zod.ZodString;
3975
+ status: zod.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
3976
+ paymentRailMetaData: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
3977
+ currencyData: zod.ZodObject<{
3978
+ code: zod.ZodString;
3979
+ name: zod.ZodString;
3980
+ decimalPlaces: zod.ZodNumber;
3981
+ displaySymbol: zod.ZodString;
3982
+ nameCode: zod.ZodString;
3983
+ currencyCodeInDigit: zod.ZodNumber;
3984
+ isBaseCurrency: zod.ZodBoolean;
3985
+ }, "strip", zod.ZodTypeAny, {
3986
+ code: string;
3987
+ name: string;
3988
+ decimalPlaces: number;
3989
+ displaySymbol: string;
3990
+ nameCode: string;
3991
+ currencyCodeInDigit: number;
3992
+ isBaseCurrency: boolean;
3993
+ }, {
3994
+ code: string;
3995
+ name: string;
3996
+ decimalPlaces: number;
3997
+ displaySymbol: string;
3998
+ nameCode: string;
3999
+ currencyCodeInDigit: number;
4000
+ isBaseCurrency: boolean;
4001
+ }>;
4002
+ currency: zod.ZodString;
4003
+ }, zod.ZodAny, "strip"> | undefined>;
4004
+ };
4005
+ update: (id: number, data: UpdatePaymentInput) => {
4006
+ execute: () => Promise<zod.objectOutputType<{
4007
+ id: zod.ZodNumber;
4008
+ clientId: zod.ZodNumber;
4009
+ amount: zod.ZodNumber;
4010
+ correlationId: zod.ZodString;
4011
+ paymentType: zod.ZodEnum<["CREDIT", "DEBIT"]>;
4012
+ paymentRail: zod.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
4013
+ recipient: zod.ZodObject<{
4014
+ cardId: zod.ZodOptional<zod.ZodString>;
4015
+ recipientType: zod.ZodString;
4016
+ address: zod.ZodObject<{
4017
+ line1: zod.ZodOptional<zod.ZodString>;
4018
+ line2: zod.ZodOptional<zod.ZodString>;
4019
+ stateCode: zod.ZodOptional<zod.ZodString>;
4020
+ countryCode: zod.ZodString;
4021
+ postalCode: zod.ZodOptional<zod.ZodString>;
4022
+ }, "strip", zod.ZodTypeAny, {
4023
+ countryCode: string;
4024
+ line1?: string | undefined;
4025
+ line2?: string | undefined;
4026
+ stateCode?: string | undefined;
4027
+ postalCode?: string | undefined;
4028
+ }, {
4029
+ countryCode: string;
4030
+ line1?: string | undefined;
4031
+ line2?: string | undefined;
4032
+ stateCode?: string | undefined;
4033
+ postalCode?: string | undefined;
4034
+ }>;
4035
+ name: zod.ZodString;
4036
+ }, "strip", zod.ZodTypeAny, {
4037
+ recipientType: string;
4038
+ address: {
4039
+ countryCode: string;
4040
+ line1?: string | undefined;
4041
+ line2?: string | undefined;
4042
+ stateCode?: string | undefined;
4043
+ postalCode?: string | undefined;
4044
+ };
4045
+ name: string;
4046
+ cardId?: string | undefined;
4047
+ }, {
4048
+ recipientType: string;
4049
+ address: {
4050
+ countryCode: string;
4051
+ line1?: string | undefined;
4052
+ line2?: string | undefined;
4053
+ stateCode?: string | undefined;
4054
+ postalCode?: string | undefined;
4055
+ };
4056
+ name: string;
4057
+ cardId?: string | undefined;
4058
+ }>;
4059
+ originator: zod.ZodObject<{
4060
+ accountId: zod.ZodOptional<zod.ZodString>;
4061
+ recipientType: zod.ZodString;
4062
+ address: zod.ZodObject<{
4063
+ line1: zod.ZodOptional<zod.ZodString>;
4064
+ line2: zod.ZodOptional<zod.ZodString>;
4065
+ stateCode: zod.ZodOptional<zod.ZodString>;
4066
+ countryCode: zod.ZodString;
4067
+ postalCode: zod.ZodOptional<zod.ZodString>;
4068
+ }, "strip", zod.ZodTypeAny, {
4069
+ countryCode: string;
4070
+ line1?: string | undefined;
4071
+ line2?: string | undefined;
4072
+ stateCode?: string | undefined;
4073
+ postalCode?: string | undefined;
4074
+ }, {
4075
+ countryCode: string;
4076
+ line1?: string | undefined;
4077
+ line2?: string | undefined;
4078
+ stateCode?: string | undefined;
4079
+ postalCode?: string | undefined;
4080
+ }>;
4081
+ name: zod.ZodString;
4082
+ }, "strip", zod.ZodTypeAny, {
4083
+ recipientType: string;
4084
+ address: {
4085
+ countryCode: string;
4086
+ line1?: string | undefined;
4087
+ line2?: string | undefined;
4088
+ stateCode?: string | undefined;
4089
+ postalCode?: string | undefined;
4090
+ };
4091
+ name: string;
4092
+ accountId?: string | undefined;
4093
+ }, {
4094
+ recipientType: string;
4095
+ address: {
4096
+ countryCode: string;
4097
+ line1?: string | undefined;
4098
+ line2?: string | undefined;
4099
+ stateCode?: string | undefined;
4100
+ postalCode?: string | undefined;
4101
+ };
4102
+ name: string;
4103
+ accountId?: string | undefined;
4104
+ }>;
4105
+ executedAt: zod.ZodString;
4106
+ createdAt: zod.ZodString;
4107
+ externalId: zod.ZodString;
4108
+ status: zod.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
4109
+ paymentRailMetaData: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
4110
+ currencyData: zod.ZodObject<{
4111
+ code: zod.ZodString;
4112
+ name: zod.ZodString;
4113
+ decimalPlaces: zod.ZodNumber;
4114
+ displaySymbol: zod.ZodString;
4115
+ nameCode: zod.ZodString;
4116
+ currencyCodeInDigit: zod.ZodNumber;
4117
+ isBaseCurrency: zod.ZodBoolean;
4118
+ }, "strip", zod.ZodTypeAny, {
4119
+ code: string;
4120
+ name: string;
4121
+ decimalPlaces: number;
4122
+ displaySymbol: string;
4123
+ nameCode: string;
4124
+ currencyCodeInDigit: number;
4125
+ isBaseCurrency: boolean;
4126
+ }, {
4127
+ code: string;
4128
+ name: string;
4129
+ decimalPlaces: number;
4130
+ displaySymbol: string;
4131
+ nameCode: string;
4132
+ currencyCodeInDigit: number;
4133
+ isBaseCurrency: boolean;
4134
+ }>;
4135
+ currency: zod.ZodString;
4136
+ }, zod.ZodAny, "strip"> | undefined>;
4137
+ };
4138
+ delete: (id: number) => {
4139
+ execute: () => Promise<void | undefined>;
4140
+ };
4141
+ list: () => {
4142
+ where: any;
4143
+ limit: (value: number) => /*elided*/ any;
4144
+ offset: (value: number) => /*elided*/ any;
4145
+ all: () => /*elided*/ any;
4146
+ execute: () => Promise<unknown>;
4147
+ };
4148
+ };
4149
+ setConfig: (config: Config) => void;
4150
+ updateConfig: (config: Partial<Config>) => void;
4151
+ resetConfig: () => void;
4152
+ request: <TOutput>(command: Command<any, TOutput>) => Promise<TOutput | undefined>;
4153
+ tenant: (tenantId: string) => {
4154
+ payment: {
4155
+ create: (data: CreatePaymentInput) => {
4156
+ execute: () => Promise<zod.objectOutputType<{
4157
+ id: zod.ZodNumber;
4158
+ clientId: zod.ZodNumber;
4159
+ amount: zod.ZodNumber;
4160
+ correlationId: zod.ZodString;
4161
+ paymentType: zod.ZodEnum<["CREDIT", "DEBIT"]>;
4162
+ paymentRail: zod.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
4163
+ recipient: zod.ZodObject<{
4164
+ cardId: zod.ZodOptional<zod.ZodString>;
4165
+ recipientType: zod.ZodString;
4166
+ address: zod.ZodObject<{
4167
+ line1: zod.ZodOptional<zod.ZodString>;
4168
+ line2: zod.ZodOptional<zod.ZodString>;
4169
+ stateCode: zod.ZodOptional<zod.ZodString>;
4170
+ countryCode: zod.ZodString;
4171
+ postalCode: zod.ZodOptional<zod.ZodString>;
4172
+ }, "strip", zod.ZodTypeAny, {
4173
+ countryCode: string;
4174
+ line1?: string | undefined;
4175
+ line2?: string | undefined;
4176
+ stateCode?: string | undefined;
4177
+ postalCode?: string | undefined;
4178
+ }, {
4179
+ countryCode: string;
4180
+ line1?: string | undefined;
4181
+ line2?: string | undefined;
4182
+ stateCode?: string | undefined;
4183
+ postalCode?: string | undefined;
4184
+ }>;
4185
+ name: zod.ZodString;
4186
+ }, "strip", zod.ZodTypeAny, {
4187
+ recipientType: string;
4188
+ address: {
4189
+ countryCode: string;
4190
+ line1?: string | undefined;
4191
+ line2?: string | undefined;
4192
+ stateCode?: string | undefined;
4193
+ postalCode?: string | undefined;
4194
+ };
4195
+ name: string;
4196
+ cardId?: string | undefined;
4197
+ }, {
4198
+ recipientType: string;
4199
+ address: {
4200
+ countryCode: string;
4201
+ line1?: string | undefined;
4202
+ line2?: string | undefined;
4203
+ stateCode?: string | undefined;
4204
+ postalCode?: string | undefined;
4205
+ };
4206
+ name: string;
4207
+ cardId?: string | undefined;
4208
+ }>;
4209
+ originator: zod.ZodObject<{
4210
+ accountId: zod.ZodOptional<zod.ZodString>;
4211
+ recipientType: zod.ZodString;
4212
+ address: zod.ZodObject<{
4213
+ line1: zod.ZodOptional<zod.ZodString>;
4214
+ line2: zod.ZodOptional<zod.ZodString>;
4215
+ stateCode: zod.ZodOptional<zod.ZodString>;
4216
+ countryCode: zod.ZodString;
4217
+ postalCode: zod.ZodOptional<zod.ZodString>;
4218
+ }, "strip", zod.ZodTypeAny, {
4219
+ countryCode: string;
4220
+ line1?: string | undefined;
4221
+ line2?: string | undefined;
4222
+ stateCode?: string | undefined;
4223
+ postalCode?: string | undefined;
4224
+ }, {
4225
+ countryCode: string;
4226
+ line1?: string | undefined;
4227
+ line2?: string | undefined;
4228
+ stateCode?: string | undefined;
4229
+ postalCode?: string | undefined;
4230
+ }>;
4231
+ name: zod.ZodString;
4232
+ }, "strip", zod.ZodTypeAny, {
4233
+ recipientType: string;
4234
+ address: {
4235
+ countryCode: string;
4236
+ line1?: string | undefined;
4237
+ line2?: string | undefined;
4238
+ stateCode?: string | undefined;
4239
+ postalCode?: string | undefined;
4240
+ };
4241
+ name: string;
4242
+ accountId?: string | undefined;
4243
+ }, {
4244
+ recipientType: string;
4245
+ address: {
4246
+ countryCode: string;
4247
+ line1?: string | undefined;
4248
+ line2?: string | undefined;
4249
+ stateCode?: string | undefined;
4250
+ postalCode?: string | undefined;
4251
+ };
4252
+ name: string;
4253
+ accountId?: string | undefined;
4254
+ }>;
4255
+ executedAt: zod.ZodString;
4256
+ createdAt: zod.ZodString;
4257
+ externalId: zod.ZodString;
4258
+ status: zod.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
4259
+ paymentRailMetaData: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
4260
+ currencyData: zod.ZodObject<{
4261
+ code: zod.ZodString;
4262
+ name: zod.ZodString;
4263
+ decimalPlaces: zod.ZodNumber;
4264
+ displaySymbol: zod.ZodString;
4265
+ nameCode: zod.ZodString;
4266
+ currencyCodeInDigit: zod.ZodNumber;
4267
+ isBaseCurrency: zod.ZodBoolean;
4268
+ }, "strip", zod.ZodTypeAny, {
4269
+ code: string;
4270
+ name: string;
4271
+ decimalPlaces: number;
4272
+ displaySymbol: string;
4273
+ nameCode: string;
4274
+ currencyCodeInDigit: number;
4275
+ isBaseCurrency: boolean;
4276
+ }, {
4277
+ code: string;
4278
+ name: string;
4279
+ decimalPlaces: number;
4280
+ displaySymbol: string;
4281
+ nameCode: string;
4282
+ currencyCodeInDigit: number;
4283
+ isBaseCurrency: boolean;
4284
+ }>;
4285
+ currency: zod.ZodString;
4286
+ }, zod.ZodAny, "strip"> | undefined>;
4287
+ };
4288
+ get: (id: number) => {
4289
+ execute: () => Promise<zod.objectOutputType<{
4290
+ id: zod.ZodNumber;
4291
+ clientId: zod.ZodNumber;
4292
+ amount: zod.ZodNumber;
4293
+ correlationId: zod.ZodString;
4294
+ paymentType: zod.ZodEnum<["CREDIT", "DEBIT"]>;
4295
+ paymentRail: zod.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
4296
+ recipient: zod.ZodObject<{
4297
+ cardId: zod.ZodOptional<zod.ZodString>;
4298
+ recipientType: zod.ZodString;
4299
+ address: zod.ZodObject<{
4300
+ line1: zod.ZodOptional<zod.ZodString>;
4301
+ line2: zod.ZodOptional<zod.ZodString>;
4302
+ stateCode: zod.ZodOptional<zod.ZodString>;
4303
+ countryCode: zod.ZodString;
4304
+ postalCode: zod.ZodOptional<zod.ZodString>;
4305
+ }, "strip", zod.ZodTypeAny, {
4306
+ countryCode: string;
4307
+ line1?: string | undefined;
4308
+ line2?: string | undefined;
4309
+ stateCode?: string | undefined;
4310
+ postalCode?: string | undefined;
4311
+ }, {
4312
+ countryCode: string;
4313
+ line1?: string | undefined;
4314
+ line2?: string | undefined;
4315
+ stateCode?: string | undefined;
4316
+ postalCode?: string | undefined;
4317
+ }>;
4318
+ name: zod.ZodString;
4319
+ }, "strip", zod.ZodTypeAny, {
4320
+ recipientType: string;
4321
+ address: {
4322
+ countryCode: string;
4323
+ line1?: string | undefined;
4324
+ line2?: string | undefined;
4325
+ stateCode?: string | undefined;
4326
+ postalCode?: string | undefined;
4327
+ };
4328
+ name: string;
4329
+ cardId?: string | undefined;
4330
+ }, {
4331
+ recipientType: string;
4332
+ address: {
4333
+ countryCode: string;
4334
+ line1?: string | undefined;
4335
+ line2?: string | undefined;
4336
+ stateCode?: string | undefined;
4337
+ postalCode?: string | undefined;
4338
+ };
4339
+ name: string;
4340
+ cardId?: string | undefined;
4341
+ }>;
4342
+ originator: zod.ZodObject<{
4343
+ accountId: zod.ZodOptional<zod.ZodString>;
4344
+ recipientType: zod.ZodString;
4345
+ address: zod.ZodObject<{
4346
+ line1: zod.ZodOptional<zod.ZodString>;
4347
+ line2: zod.ZodOptional<zod.ZodString>;
4348
+ stateCode: zod.ZodOptional<zod.ZodString>;
4349
+ countryCode: zod.ZodString;
4350
+ postalCode: zod.ZodOptional<zod.ZodString>;
4351
+ }, "strip", zod.ZodTypeAny, {
4352
+ countryCode: string;
4353
+ line1?: string | undefined;
4354
+ line2?: string | undefined;
4355
+ stateCode?: string | undefined;
4356
+ postalCode?: string | undefined;
4357
+ }, {
4358
+ countryCode: string;
4359
+ line1?: string | undefined;
4360
+ line2?: string | undefined;
4361
+ stateCode?: string | undefined;
4362
+ postalCode?: string | undefined;
4363
+ }>;
4364
+ name: zod.ZodString;
4365
+ }, "strip", zod.ZodTypeAny, {
4366
+ recipientType: string;
4367
+ address: {
4368
+ countryCode: string;
4369
+ line1?: string | undefined;
4370
+ line2?: string | undefined;
4371
+ stateCode?: string | undefined;
4372
+ postalCode?: string | undefined;
4373
+ };
4374
+ name: string;
4375
+ accountId?: string | undefined;
4376
+ }, {
4377
+ recipientType: string;
4378
+ address: {
4379
+ countryCode: string;
4380
+ line1?: string | undefined;
4381
+ line2?: string | undefined;
4382
+ stateCode?: string | undefined;
4383
+ postalCode?: string | undefined;
4384
+ };
4385
+ name: string;
4386
+ accountId?: string | undefined;
4387
+ }>;
4388
+ executedAt: zod.ZodString;
4389
+ createdAt: zod.ZodString;
4390
+ externalId: zod.ZodString;
4391
+ status: zod.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
4392
+ paymentRailMetaData: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
4393
+ currencyData: zod.ZodObject<{
4394
+ code: zod.ZodString;
4395
+ name: zod.ZodString;
4396
+ decimalPlaces: zod.ZodNumber;
4397
+ displaySymbol: zod.ZodString;
4398
+ nameCode: zod.ZodString;
4399
+ currencyCodeInDigit: zod.ZodNumber;
4400
+ isBaseCurrency: zod.ZodBoolean;
4401
+ }, "strip", zod.ZodTypeAny, {
4402
+ code: string;
4403
+ name: string;
4404
+ decimalPlaces: number;
4405
+ displaySymbol: string;
4406
+ nameCode: string;
4407
+ currencyCodeInDigit: number;
4408
+ isBaseCurrency: boolean;
4409
+ }, {
4410
+ code: string;
4411
+ name: string;
4412
+ decimalPlaces: number;
4413
+ displaySymbol: string;
4414
+ nameCode: string;
4415
+ currencyCodeInDigit: number;
4416
+ isBaseCurrency: boolean;
4417
+ }>;
4418
+ currency: zod.ZodString;
4419
+ }, zod.ZodAny, "strip"> | undefined>;
4420
+ };
4421
+ update: (id: number, data: UpdatePaymentInput) => {
4422
+ execute: () => Promise<zod.objectOutputType<{
4423
+ id: zod.ZodNumber;
4424
+ clientId: zod.ZodNumber;
4425
+ amount: zod.ZodNumber;
4426
+ correlationId: zod.ZodString;
4427
+ paymentType: zod.ZodEnum<["CREDIT", "DEBIT"]>;
4428
+ paymentRail: zod.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
4429
+ recipient: zod.ZodObject<{
4430
+ cardId: zod.ZodOptional<zod.ZodString>;
4431
+ recipientType: zod.ZodString;
4432
+ address: zod.ZodObject<{
4433
+ line1: zod.ZodOptional<zod.ZodString>;
4434
+ line2: zod.ZodOptional<zod.ZodString>;
4435
+ stateCode: zod.ZodOptional<zod.ZodString>;
4436
+ countryCode: zod.ZodString;
4437
+ postalCode: zod.ZodOptional<zod.ZodString>;
4438
+ }, "strip", zod.ZodTypeAny, {
4439
+ countryCode: string;
4440
+ line1?: string | undefined;
4441
+ line2?: string | undefined;
4442
+ stateCode?: string | undefined;
4443
+ postalCode?: string | undefined;
4444
+ }, {
4445
+ countryCode: string;
4446
+ line1?: string | undefined;
4447
+ line2?: string | undefined;
4448
+ stateCode?: string | undefined;
4449
+ postalCode?: string | undefined;
4450
+ }>;
4451
+ name: zod.ZodString;
4452
+ }, "strip", zod.ZodTypeAny, {
4453
+ recipientType: string;
4454
+ address: {
4455
+ countryCode: string;
4456
+ line1?: string | undefined;
4457
+ line2?: string | undefined;
4458
+ stateCode?: string | undefined;
4459
+ postalCode?: string | undefined;
4460
+ };
4461
+ name: string;
4462
+ cardId?: string | undefined;
4463
+ }, {
4464
+ recipientType: string;
4465
+ address: {
4466
+ countryCode: string;
4467
+ line1?: string | undefined;
4468
+ line2?: string | undefined;
4469
+ stateCode?: string | undefined;
4470
+ postalCode?: string | undefined;
4471
+ };
4472
+ name: string;
4473
+ cardId?: string | undefined;
4474
+ }>;
4475
+ originator: zod.ZodObject<{
4476
+ accountId: zod.ZodOptional<zod.ZodString>;
4477
+ recipientType: zod.ZodString;
4478
+ address: zod.ZodObject<{
4479
+ line1: zod.ZodOptional<zod.ZodString>;
4480
+ line2: zod.ZodOptional<zod.ZodString>;
4481
+ stateCode: zod.ZodOptional<zod.ZodString>;
4482
+ countryCode: zod.ZodString;
4483
+ postalCode: zod.ZodOptional<zod.ZodString>;
4484
+ }, "strip", zod.ZodTypeAny, {
4485
+ countryCode: string;
4486
+ line1?: string | undefined;
4487
+ line2?: string | undefined;
4488
+ stateCode?: string | undefined;
4489
+ postalCode?: string | undefined;
4490
+ }, {
4491
+ countryCode: string;
4492
+ line1?: string | undefined;
4493
+ line2?: string | undefined;
4494
+ stateCode?: string | undefined;
4495
+ postalCode?: string | undefined;
4496
+ }>;
4497
+ name: zod.ZodString;
4498
+ }, "strip", zod.ZodTypeAny, {
4499
+ recipientType: string;
4500
+ address: {
4501
+ countryCode: string;
4502
+ line1?: string | undefined;
4503
+ line2?: string | undefined;
4504
+ stateCode?: string | undefined;
4505
+ postalCode?: string | undefined;
4506
+ };
4507
+ name: string;
4508
+ accountId?: string | undefined;
4509
+ }, {
4510
+ recipientType: string;
4511
+ address: {
4512
+ countryCode: string;
4513
+ line1?: string | undefined;
4514
+ line2?: string | undefined;
4515
+ stateCode?: string | undefined;
4516
+ postalCode?: string | undefined;
4517
+ };
4518
+ name: string;
4519
+ accountId?: string | undefined;
4520
+ }>;
4521
+ executedAt: zod.ZodString;
4522
+ createdAt: zod.ZodString;
4523
+ externalId: zod.ZodString;
4524
+ status: zod.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
4525
+ paymentRailMetaData: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodAny>>;
4526
+ currencyData: zod.ZodObject<{
4527
+ code: zod.ZodString;
4528
+ name: zod.ZodString;
4529
+ decimalPlaces: zod.ZodNumber;
4530
+ displaySymbol: zod.ZodString;
4531
+ nameCode: zod.ZodString;
4532
+ currencyCodeInDigit: zod.ZodNumber;
4533
+ isBaseCurrency: zod.ZodBoolean;
4534
+ }, "strip", zod.ZodTypeAny, {
4535
+ code: string;
4536
+ name: string;
4537
+ decimalPlaces: number;
4538
+ displaySymbol: string;
4539
+ nameCode: string;
4540
+ currencyCodeInDigit: number;
4541
+ isBaseCurrency: boolean;
4542
+ }, {
4543
+ code: string;
4544
+ name: string;
4545
+ decimalPlaces: number;
4546
+ displaySymbol: string;
4547
+ nameCode: string;
4548
+ currencyCodeInDigit: number;
4549
+ isBaseCurrency: boolean;
4550
+ }>;
4551
+ currency: zod.ZodString;
4552
+ }, zod.ZodAny, "strip"> | undefined>;
4553
+ };
4554
+ delete: (id: number) => {
4555
+ execute: () => Promise<void | undefined>;
4556
+ };
4557
+ list: () => {
4558
+ where: any;
4559
+ limit: (value: number) => /*elided*/ any;
4560
+ offset: (value: number) => /*elided*/ any;
4561
+ all: () => /*elided*/ any;
4562
+ execute: () => Promise<unknown>;
4563
+ };
4564
+ };
4565
+ };
4566
+ };
4567
+
4568
+ export { type CreatePaymentInput as C, type Payment as P, SortOrderSchema as S, type UpdatePaymentInput as U, type PaymentFilters as a, type PaymentResponse as b, createClient as c, type PaymentStatus as d, type PaymentRailType as e, type PaymentType as f, PaymentStatusSchema as g, PaymentFilterKeySchema as h, PaymentRailSchema as i, PaymentTypeSchema as j, CreatePaymentInputSchema as k, UpdatePaymentInputSchema as l, PaymentResponseSchema as m, PaymentFiltersSchema as n, PaymentFilterShape as o, PaymentShape as p, CreatePaymentInputShape as q, UpdatePaymentInputShape as r };