@mbanq/core-sdk-js 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-ZOZRUFBN.js → chunk-45IWXSBQ.js} +1 -1
- package/dist/chunk-COJW3SUN.js +32 -0
- package/dist/chunk-FXD3MKIY.mjs +32 -0
- package/dist/{chunk-67S4CQFY.mjs → chunk-NZSVFLJU.mjs} +1 -1
- package/dist/{chunk-5DOBPPEL.js → chunk-PECCHCOL.js} +1 -1
- package/dist/{chunk-TIFVVBDZ.mjs → chunk-WXVVO6FG.mjs} +1 -1
- package/dist/client/index.d.mts +61 -311
- package/dist/client/index.d.ts +61 -311
- package/dist/client/index.js +1 -1
- package/dist/client/index.mjs +1 -1
- package/dist/{client-BUCNGFJy.d.mts → client-CHyhpYj2.d.mts} +2348 -1823
- package/dist/{client-BUCNGFJy.d.ts → client-CHyhpYj2.d.ts} +2348 -1823
- package/dist/commands/index.d.mts +2 -2
- package/dist/commands/index.d.ts +2 -2
- package/dist/commands/index.js +1 -1
- package/dist/commands/index.mjs +1 -1
- package/dist/{index-DD8EyNPZ.d.ts → index-DXzFDXwK.d.ts} +5 -5
- package/dist/{index-Dxa-lc7x.d.mts → index-DdqEO8PY.d.mts} +5 -5
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-AVRYYGRQ.js +0 -32
- package/dist/chunk-ZRBPB43P.mjs +0 -32
package/dist/client/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as Config, b as CreatePaymentInput, U as UpdatePaymentInput, D as CreateClientRequest, E as UpdateClientRequest, F as ProcessOutput, G as UpdateClientIdentifierRequest, z as UpdateAccountRequest, H as CreateRecipientRequest, I as UpdateRecipientRequest, R as Recipient, a as Command } from '../client-
|
|
1
|
+
import { C as Config, b as CreatePaymentInput, U as UpdatePaymentInput, D as CreateClientRequest, E as UpdateClientRequest, F as ProcessOutput, G as UpdateClientIdentifierRequest, z as UpdateAccountRequest, H as CreateRecipientRequest, I as UpdateRecipientRequest, R as Recipient, a as Command } from '../client-CHyhpYj2.mjs';
|
|
2
2
|
import * as z from 'zod';
|
|
3
3
|
import 'graphql';
|
|
4
4
|
import 'axios';
|
|
@@ -6,137 +6,12 @@ import 'axios';
|
|
|
6
6
|
declare const createClient: (initialConfig: Config) => {
|
|
7
7
|
payment: {
|
|
8
8
|
create: (data: CreatePaymentInput) => {
|
|
9
|
-
execute: () => Promise<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
|
|
16
|
-
recipient: z.ZodObject<{
|
|
17
|
-
cardId: z.ZodOptional<z.ZodString>;
|
|
18
|
-
recipientType: z.ZodString;
|
|
19
|
-
address: z.ZodObject<{
|
|
20
|
-
line1: z.ZodOptional<z.ZodString>;
|
|
21
|
-
line2: z.ZodOptional<z.ZodString>;
|
|
22
|
-
stateCode: z.ZodOptional<z.ZodString>;
|
|
23
|
-
countryCode: z.ZodString;
|
|
24
|
-
postalCode: z.ZodOptional<z.ZodString>;
|
|
25
|
-
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
countryCode: string;
|
|
27
|
-
line1?: string | undefined;
|
|
28
|
-
line2?: string | undefined;
|
|
29
|
-
stateCode?: string | undefined;
|
|
30
|
-
postalCode?: string | undefined;
|
|
31
|
-
}, {
|
|
32
|
-
countryCode: string;
|
|
33
|
-
line1?: string | undefined;
|
|
34
|
-
line2?: string | undefined;
|
|
35
|
-
stateCode?: string | undefined;
|
|
36
|
-
postalCode?: string | undefined;
|
|
37
|
-
}>;
|
|
38
|
-
name: z.ZodString;
|
|
39
|
-
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
recipientType: string;
|
|
41
|
-
address: {
|
|
42
|
-
countryCode: string;
|
|
43
|
-
line1?: string | undefined;
|
|
44
|
-
line2?: string | undefined;
|
|
45
|
-
stateCode?: string | undefined;
|
|
46
|
-
postalCode?: string | undefined;
|
|
47
|
-
};
|
|
48
|
-
name: string;
|
|
49
|
-
cardId?: string | undefined;
|
|
50
|
-
}, {
|
|
51
|
-
recipientType: string;
|
|
52
|
-
address: {
|
|
53
|
-
countryCode: string;
|
|
54
|
-
line1?: string | undefined;
|
|
55
|
-
line2?: string | undefined;
|
|
56
|
-
stateCode?: string | undefined;
|
|
57
|
-
postalCode?: string | undefined;
|
|
58
|
-
};
|
|
59
|
-
name: string;
|
|
60
|
-
cardId?: string | undefined;
|
|
61
|
-
}>;
|
|
62
|
-
originator: z.ZodObject<{
|
|
63
|
-
accountId: z.ZodOptional<z.ZodString>;
|
|
64
|
-
recipientType: z.ZodString;
|
|
65
|
-
address: z.ZodObject<{
|
|
66
|
-
line1: z.ZodOptional<z.ZodString>;
|
|
67
|
-
line2: z.ZodOptional<z.ZodString>;
|
|
68
|
-
stateCode: z.ZodOptional<z.ZodString>;
|
|
69
|
-
countryCode: z.ZodString;
|
|
70
|
-
postalCode: z.ZodOptional<z.ZodString>;
|
|
71
|
-
}, "strip", z.ZodTypeAny, {
|
|
72
|
-
countryCode: string;
|
|
73
|
-
line1?: string | undefined;
|
|
74
|
-
line2?: string | undefined;
|
|
75
|
-
stateCode?: string | undefined;
|
|
76
|
-
postalCode?: string | undefined;
|
|
77
|
-
}, {
|
|
78
|
-
countryCode: string;
|
|
79
|
-
line1?: string | undefined;
|
|
80
|
-
line2?: string | undefined;
|
|
81
|
-
stateCode?: string | undefined;
|
|
82
|
-
postalCode?: string | undefined;
|
|
83
|
-
}>;
|
|
84
|
-
name: z.ZodString;
|
|
85
|
-
}, "strip", z.ZodTypeAny, {
|
|
86
|
-
recipientType: string;
|
|
87
|
-
address: {
|
|
88
|
-
countryCode: string;
|
|
89
|
-
line1?: string | undefined;
|
|
90
|
-
line2?: string | undefined;
|
|
91
|
-
stateCode?: string | undefined;
|
|
92
|
-
postalCode?: string | undefined;
|
|
93
|
-
};
|
|
94
|
-
name: string;
|
|
95
|
-
accountId?: string | undefined;
|
|
96
|
-
}, {
|
|
97
|
-
recipientType: string;
|
|
98
|
-
address: {
|
|
99
|
-
countryCode: string;
|
|
100
|
-
line1?: string | undefined;
|
|
101
|
-
line2?: string | undefined;
|
|
102
|
-
stateCode?: string | undefined;
|
|
103
|
-
postalCode?: string | undefined;
|
|
104
|
-
};
|
|
105
|
-
name: string;
|
|
106
|
-
accountId?: string | undefined;
|
|
107
|
-
}>;
|
|
108
|
-
executedAt: z.ZodString;
|
|
109
|
-
createdAt: z.ZodString;
|
|
110
|
-
externalId: z.ZodString;
|
|
111
|
-
status: z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
|
|
112
|
-
paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
113
|
-
currencyData: z.ZodObject<{
|
|
114
|
-
code: z.ZodString;
|
|
115
|
-
name: z.ZodString;
|
|
116
|
-
decimalPlaces: z.ZodNumber;
|
|
117
|
-
displaySymbol: z.ZodString;
|
|
118
|
-
nameCode: z.ZodString;
|
|
119
|
-
currencyCodeInDigit: z.ZodNumber;
|
|
120
|
-
isBaseCurrency: z.ZodBoolean;
|
|
121
|
-
}, "strip", z.ZodTypeAny, {
|
|
122
|
-
code: string;
|
|
123
|
-
name: string;
|
|
124
|
-
decimalPlaces: number;
|
|
125
|
-
displaySymbol: string;
|
|
126
|
-
nameCode: string;
|
|
127
|
-
currencyCodeInDigit: number;
|
|
128
|
-
isBaseCurrency: boolean;
|
|
129
|
-
}, {
|
|
130
|
-
code: string;
|
|
131
|
-
name: string;
|
|
132
|
-
decimalPlaces: number;
|
|
133
|
-
displaySymbol: string;
|
|
134
|
-
nameCode: string;
|
|
135
|
-
currencyCodeInDigit: number;
|
|
136
|
-
isBaseCurrency: boolean;
|
|
137
|
-
}>;
|
|
138
|
-
currency: z.ZodString;
|
|
139
|
-
}, z.ZodAny, "strip"> | undefined>;
|
|
9
|
+
execute: () => Promise<{
|
|
10
|
+
clientId: number;
|
|
11
|
+
id: string;
|
|
12
|
+
resourceId: number;
|
|
13
|
+
resourceIdentifier: string;
|
|
14
|
+
} | undefined>;
|
|
140
15
|
};
|
|
141
16
|
get: (id: number) => {
|
|
142
17
|
execute: () => Promise<z.objectOutputType<{
|
|
@@ -170,6 +45,7 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
170
45
|
}>;
|
|
171
46
|
name: z.ZodString;
|
|
172
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
name: string;
|
|
173
49
|
recipientType: string;
|
|
174
50
|
address: {
|
|
175
51
|
countryCode: string;
|
|
@@ -178,9 +54,9 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
178
54
|
stateCode?: string | undefined;
|
|
179
55
|
postalCode?: string | undefined;
|
|
180
56
|
};
|
|
181
|
-
name: string;
|
|
182
57
|
cardId?: string | undefined;
|
|
183
58
|
}, {
|
|
59
|
+
name: string;
|
|
184
60
|
recipientType: string;
|
|
185
61
|
address: {
|
|
186
62
|
countryCode: string;
|
|
@@ -189,7 +65,6 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
189
65
|
stateCode?: string | undefined;
|
|
190
66
|
postalCode?: string | undefined;
|
|
191
67
|
};
|
|
192
|
-
name: string;
|
|
193
68
|
cardId?: string | undefined;
|
|
194
69
|
}>;
|
|
195
70
|
originator: z.ZodObject<{
|
|
@@ -216,6 +91,7 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
216
91
|
}>;
|
|
217
92
|
name: z.ZodString;
|
|
218
93
|
}, "strip", z.ZodTypeAny, {
|
|
94
|
+
name: string;
|
|
219
95
|
recipientType: string;
|
|
220
96
|
address: {
|
|
221
97
|
countryCode: string;
|
|
@@ -224,9 +100,9 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
224
100
|
stateCode?: string | undefined;
|
|
225
101
|
postalCode?: string | undefined;
|
|
226
102
|
};
|
|
227
|
-
name: string;
|
|
228
103
|
accountId?: string | undefined;
|
|
229
104
|
}, {
|
|
105
|
+
name: string;
|
|
230
106
|
recipientType: string;
|
|
231
107
|
address: {
|
|
232
108
|
countryCode: string;
|
|
@@ -235,7 +111,6 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
235
111
|
stateCode?: string | undefined;
|
|
236
112
|
postalCode?: string | undefined;
|
|
237
113
|
};
|
|
238
|
-
name: string;
|
|
239
114
|
accountId?: string | undefined;
|
|
240
115
|
}>;
|
|
241
116
|
executedAt: z.ZodString;
|
|
@@ -252,16 +127,16 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
252
127
|
currencyCodeInDigit: z.ZodNumber;
|
|
253
128
|
isBaseCurrency: z.ZodBoolean;
|
|
254
129
|
}, "strip", z.ZodTypeAny, {
|
|
255
|
-
code: string;
|
|
256
130
|
name: string;
|
|
131
|
+
code: string;
|
|
257
132
|
decimalPlaces: number;
|
|
258
133
|
displaySymbol: string;
|
|
259
134
|
nameCode: string;
|
|
260
135
|
currencyCodeInDigit: number;
|
|
261
136
|
isBaseCurrency: boolean;
|
|
262
137
|
}, {
|
|
263
|
-
code: string;
|
|
264
138
|
name: string;
|
|
139
|
+
code: string;
|
|
265
140
|
decimalPlaces: number;
|
|
266
141
|
displaySymbol: string;
|
|
267
142
|
nameCode: string;
|
|
@@ -303,6 +178,7 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
303
178
|
}>;
|
|
304
179
|
name: z.ZodString;
|
|
305
180
|
}, "strip", z.ZodTypeAny, {
|
|
181
|
+
name: string;
|
|
306
182
|
recipientType: string;
|
|
307
183
|
address: {
|
|
308
184
|
countryCode: string;
|
|
@@ -311,9 +187,9 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
311
187
|
stateCode?: string | undefined;
|
|
312
188
|
postalCode?: string | undefined;
|
|
313
189
|
};
|
|
314
|
-
name: string;
|
|
315
190
|
cardId?: string | undefined;
|
|
316
191
|
}, {
|
|
192
|
+
name: string;
|
|
317
193
|
recipientType: string;
|
|
318
194
|
address: {
|
|
319
195
|
countryCode: string;
|
|
@@ -322,7 +198,6 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
322
198
|
stateCode?: string | undefined;
|
|
323
199
|
postalCode?: string | undefined;
|
|
324
200
|
};
|
|
325
|
-
name: string;
|
|
326
201
|
cardId?: string | undefined;
|
|
327
202
|
}>;
|
|
328
203
|
originator: z.ZodObject<{
|
|
@@ -349,6 +224,7 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
349
224
|
}>;
|
|
350
225
|
name: z.ZodString;
|
|
351
226
|
}, "strip", z.ZodTypeAny, {
|
|
227
|
+
name: string;
|
|
352
228
|
recipientType: string;
|
|
353
229
|
address: {
|
|
354
230
|
countryCode: string;
|
|
@@ -357,9 +233,9 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
357
233
|
stateCode?: string | undefined;
|
|
358
234
|
postalCode?: string | undefined;
|
|
359
235
|
};
|
|
360
|
-
name: string;
|
|
361
236
|
accountId?: string | undefined;
|
|
362
237
|
}, {
|
|
238
|
+
name: string;
|
|
363
239
|
recipientType: string;
|
|
364
240
|
address: {
|
|
365
241
|
countryCode: string;
|
|
@@ -368,7 +244,6 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
368
244
|
stateCode?: string | undefined;
|
|
369
245
|
postalCode?: string | undefined;
|
|
370
246
|
};
|
|
371
|
-
name: string;
|
|
372
247
|
accountId?: string | undefined;
|
|
373
248
|
}>;
|
|
374
249
|
executedAt: z.ZodString;
|
|
@@ -385,16 +260,16 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
385
260
|
currencyCodeInDigit: z.ZodNumber;
|
|
386
261
|
isBaseCurrency: z.ZodBoolean;
|
|
387
262
|
}, "strip", z.ZodTypeAny, {
|
|
388
|
-
code: string;
|
|
389
263
|
name: string;
|
|
264
|
+
code: string;
|
|
390
265
|
decimalPlaces: number;
|
|
391
266
|
displaySymbol: string;
|
|
392
267
|
nameCode: string;
|
|
393
268
|
currencyCodeInDigit: number;
|
|
394
269
|
isBaseCurrency: boolean;
|
|
395
270
|
}, {
|
|
396
|
-
code: string;
|
|
397
271
|
name: string;
|
|
272
|
+
code: string;
|
|
398
273
|
decimalPlaces: number;
|
|
399
274
|
displaySymbol: string;
|
|
400
275
|
nameCode: string;
|
|
@@ -446,10 +321,9 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
446
321
|
accounts: {
|
|
447
322
|
get: (accountId: number) => {
|
|
448
323
|
readonly execute: () => Promise<{
|
|
449
|
-
clientId: number;
|
|
450
324
|
status: {
|
|
451
|
-
value: string;
|
|
452
325
|
code: string;
|
|
326
|
+
value: string;
|
|
453
327
|
id: number;
|
|
454
328
|
submittedAndPendingApproval: boolean;
|
|
455
329
|
approved: boolean;
|
|
@@ -462,10 +336,11 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
462
336
|
transferOnHold: boolean;
|
|
463
337
|
matured: boolean;
|
|
464
338
|
};
|
|
339
|
+
clientId: number;
|
|
465
340
|
id: number;
|
|
466
341
|
currency: {
|
|
467
|
-
code: string;
|
|
468
342
|
name: string;
|
|
343
|
+
code: string;
|
|
469
344
|
decimalPlaces: number;
|
|
470
345
|
displaySymbol: string;
|
|
471
346
|
nameCode: string;
|
|
@@ -490,8 +365,8 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
490
365
|
activatedByLastname?: string | undefined;
|
|
491
366
|
};
|
|
492
367
|
subStatus: {
|
|
493
|
-
value: string;
|
|
494
368
|
code: string;
|
|
369
|
+
value: string;
|
|
495
370
|
id: number;
|
|
496
371
|
none: boolean;
|
|
497
372
|
inactive: boolean;
|
|
@@ -503,8 +378,8 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
503
378
|
};
|
|
504
379
|
lastActiveTransactionDate: number[];
|
|
505
380
|
depositType: {
|
|
506
|
-
value: string;
|
|
507
381
|
code: string;
|
|
382
|
+
value: string;
|
|
508
383
|
id: number;
|
|
509
384
|
};
|
|
510
385
|
allowPrepaidCard: boolean;
|
|
@@ -524,37 +399,37 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
524
399
|
fieldOfficerId: number;
|
|
525
400
|
nominalAnnualInterestRate: number;
|
|
526
401
|
interestCompoundingPeriodType: {
|
|
527
|
-
value: string;
|
|
528
402
|
code: string;
|
|
403
|
+
value: string;
|
|
529
404
|
id: number;
|
|
530
405
|
};
|
|
531
406
|
interestPostingPeriodType: {
|
|
532
|
-
value: string;
|
|
533
407
|
code: string;
|
|
408
|
+
value: string;
|
|
534
409
|
id: number;
|
|
535
410
|
};
|
|
536
411
|
interestCalculationType: {
|
|
537
|
-
value: string;
|
|
538
412
|
code: string;
|
|
413
|
+
value: string;
|
|
539
414
|
id: number;
|
|
540
415
|
};
|
|
541
416
|
interestCalculationDaysInYearType: {
|
|
542
|
-
value: string;
|
|
543
417
|
code: string;
|
|
418
|
+
value: string;
|
|
544
419
|
id: number;
|
|
545
420
|
};
|
|
546
421
|
lockinPeriodFrequency: number;
|
|
547
422
|
lockinPeriodFrequencyType: {
|
|
548
|
-
value: string;
|
|
549
423
|
code: string;
|
|
424
|
+
value: string;
|
|
550
425
|
id: number;
|
|
551
426
|
};
|
|
552
427
|
onHoldFunds: number;
|
|
553
428
|
savingsAmountOnHold: number;
|
|
554
429
|
summary: {
|
|
555
430
|
currency: {
|
|
556
|
-
code: string;
|
|
557
431
|
name: string;
|
|
432
|
+
code: string;
|
|
558
433
|
decimalPlaces: number;
|
|
559
434
|
displaySymbol: string;
|
|
560
435
|
nameCode: string;
|
|
@@ -577,8 +452,8 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
577
452
|
floatingRateId: number;
|
|
578
453
|
isFloatingInterestRateCalculationAllowed: boolean;
|
|
579
454
|
bankDetails: {
|
|
580
|
-
address: string;
|
|
581
455
|
name: string;
|
|
456
|
+
address: string;
|
|
582
457
|
city: string;
|
|
583
458
|
routingNumber: string;
|
|
584
459
|
swiftCode: string;
|
|
@@ -744,137 +619,12 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
744
619
|
tenant: (tenantId: string) => {
|
|
745
620
|
payment: {
|
|
746
621
|
create: (data: CreatePaymentInput) => {
|
|
747
|
-
execute: () => Promise<
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
|
|
754
|
-
recipient: z.ZodObject<{
|
|
755
|
-
cardId: z.ZodOptional<z.ZodString>;
|
|
756
|
-
recipientType: z.ZodString;
|
|
757
|
-
address: z.ZodObject<{
|
|
758
|
-
line1: z.ZodOptional<z.ZodString>;
|
|
759
|
-
line2: z.ZodOptional<z.ZodString>;
|
|
760
|
-
stateCode: z.ZodOptional<z.ZodString>;
|
|
761
|
-
countryCode: z.ZodString;
|
|
762
|
-
postalCode: z.ZodOptional<z.ZodString>;
|
|
763
|
-
}, "strip", z.ZodTypeAny, {
|
|
764
|
-
countryCode: string;
|
|
765
|
-
line1?: string | undefined;
|
|
766
|
-
line2?: string | undefined;
|
|
767
|
-
stateCode?: string | undefined;
|
|
768
|
-
postalCode?: string | undefined;
|
|
769
|
-
}, {
|
|
770
|
-
countryCode: string;
|
|
771
|
-
line1?: string | undefined;
|
|
772
|
-
line2?: string | undefined;
|
|
773
|
-
stateCode?: string | undefined;
|
|
774
|
-
postalCode?: string | undefined;
|
|
775
|
-
}>;
|
|
776
|
-
name: z.ZodString;
|
|
777
|
-
}, "strip", z.ZodTypeAny, {
|
|
778
|
-
recipientType: string;
|
|
779
|
-
address: {
|
|
780
|
-
countryCode: string;
|
|
781
|
-
line1?: string | undefined;
|
|
782
|
-
line2?: string | undefined;
|
|
783
|
-
stateCode?: string | undefined;
|
|
784
|
-
postalCode?: string | undefined;
|
|
785
|
-
};
|
|
786
|
-
name: string;
|
|
787
|
-
cardId?: string | undefined;
|
|
788
|
-
}, {
|
|
789
|
-
recipientType: string;
|
|
790
|
-
address: {
|
|
791
|
-
countryCode: string;
|
|
792
|
-
line1?: string | undefined;
|
|
793
|
-
line2?: string | undefined;
|
|
794
|
-
stateCode?: string | undefined;
|
|
795
|
-
postalCode?: string | undefined;
|
|
796
|
-
};
|
|
797
|
-
name: string;
|
|
798
|
-
cardId?: string | undefined;
|
|
799
|
-
}>;
|
|
800
|
-
originator: z.ZodObject<{
|
|
801
|
-
accountId: z.ZodOptional<z.ZodString>;
|
|
802
|
-
recipientType: z.ZodString;
|
|
803
|
-
address: z.ZodObject<{
|
|
804
|
-
line1: z.ZodOptional<z.ZodString>;
|
|
805
|
-
line2: z.ZodOptional<z.ZodString>;
|
|
806
|
-
stateCode: z.ZodOptional<z.ZodString>;
|
|
807
|
-
countryCode: z.ZodString;
|
|
808
|
-
postalCode: z.ZodOptional<z.ZodString>;
|
|
809
|
-
}, "strip", z.ZodTypeAny, {
|
|
810
|
-
countryCode: string;
|
|
811
|
-
line1?: string | undefined;
|
|
812
|
-
line2?: string | undefined;
|
|
813
|
-
stateCode?: string | undefined;
|
|
814
|
-
postalCode?: string | undefined;
|
|
815
|
-
}, {
|
|
816
|
-
countryCode: string;
|
|
817
|
-
line1?: string | undefined;
|
|
818
|
-
line2?: string | undefined;
|
|
819
|
-
stateCode?: string | undefined;
|
|
820
|
-
postalCode?: string | undefined;
|
|
821
|
-
}>;
|
|
822
|
-
name: z.ZodString;
|
|
823
|
-
}, "strip", z.ZodTypeAny, {
|
|
824
|
-
recipientType: string;
|
|
825
|
-
address: {
|
|
826
|
-
countryCode: string;
|
|
827
|
-
line1?: string | undefined;
|
|
828
|
-
line2?: string | undefined;
|
|
829
|
-
stateCode?: string | undefined;
|
|
830
|
-
postalCode?: string | undefined;
|
|
831
|
-
};
|
|
832
|
-
name: string;
|
|
833
|
-
accountId?: string | undefined;
|
|
834
|
-
}, {
|
|
835
|
-
recipientType: string;
|
|
836
|
-
address: {
|
|
837
|
-
countryCode: string;
|
|
838
|
-
line1?: string | undefined;
|
|
839
|
-
line2?: string | undefined;
|
|
840
|
-
stateCode?: string | undefined;
|
|
841
|
-
postalCode?: string | undefined;
|
|
842
|
-
};
|
|
843
|
-
name: string;
|
|
844
|
-
accountId?: string | undefined;
|
|
845
|
-
}>;
|
|
846
|
-
executedAt: z.ZodString;
|
|
847
|
-
createdAt: z.ZodString;
|
|
848
|
-
externalId: z.ZodString;
|
|
849
|
-
status: z.ZodEnum<["DRAFT", "AML_SCREENING", "AML_REJECTED", "EXECUTION_SCHEDULED", "EXECUTION_PROCESSING", "EXECUTION_SUCCESS", "EXECUTION_FAILURE", "RETURNED", "CANCELLED", "COMPLIANCE_FAILURE", "DELETED", "UNKNOWN"]>;
|
|
850
|
-
paymentRailMetaData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
851
|
-
currencyData: z.ZodObject<{
|
|
852
|
-
code: z.ZodString;
|
|
853
|
-
name: z.ZodString;
|
|
854
|
-
decimalPlaces: z.ZodNumber;
|
|
855
|
-
displaySymbol: z.ZodString;
|
|
856
|
-
nameCode: z.ZodString;
|
|
857
|
-
currencyCodeInDigit: z.ZodNumber;
|
|
858
|
-
isBaseCurrency: z.ZodBoolean;
|
|
859
|
-
}, "strip", z.ZodTypeAny, {
|
|
860
|
-
code: string;
|
|
861
|
-
name: string;
|
|
862
|
-
decimalPlaces: number;
|
|
863
|
-
displaySymbol: string;
|
|
864
|
-
nameCode: string;
|
|
865
|
-
currencyCodeInDigit: number;
|
|
866
|
-
isBaseCurrency: boolean;
|
|
867
|
-
}, {
|
|
868
|
-
code: string;
|
|
869
|
-
name: string;
|
|
870
|
-
decimalPlaces: number;
|
|
871
|
-
displaySymbol: string;
|
|
872
|
-
nameCode: string;
|
|
873
|
-
currencyCodeInDigit: number;
|
|
874
|
-
isBaseCurrency: boolean;
|
|
875
|
-
}>;
|
|
876
|
-
currency: z.ZodString;
|
|
877
|
-
}, z.ZodAny, "strip"> | undefined>;
|
|
622
|
+
execute: () => Promise<{
|
|
623
|
+
clientId: number;
|
|
624
|
+
id: string;
|
|
625
|
+
resourceId: number;
|
|
626
|
+
resourceIdentifier: string;
|
|
627
|
+
} | undefined>;
|
|
878
628
|
};
|
|
879
629
|
get: (id: number) => {
|
|
880
630
|
execute: () => Promise<z.objectOutputType<{
|
|
@@ -908,6 +658,7 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
908
658
|
}>;
|
|
909
659
|
name: z.ZodString;
|
|
910
660
|
}, "strip", z.ZodTypeAny, {
|
|
661
|
+
name: string;
|
|
911
662
|
recipientType: string;
|
|
912
663
|
address: {
|
|
913
664
|
countryCode: string;
|
|
@@ -916,9 +667,9 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
916
667
|
stateCode?: string | undefined;
|
|
917
668
|
postalCode?: string | undefined;
|
|
918
669
|
};
|
|
919
|
-
name: string;
|
|
920
670
|
cardId?: string | undefined;
|
|
921
671
|
}, {
|
|
672
|
+
name: string;
|
|
922
673
|
recipientType: string;
|
|
923
674
|
address: {
|
|
924
675
|
countryCode: string;
|
|
@@ -927,7 +678,6 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
927
678
|
stateCode?: string | undefined;
|
|
928
679
|
postalCode?: string | undefined;
|
|
929
680
|
};
|
|
930
|
-
name: string;
|
|
931
681
|
cardId?: string | undefined;
|
|
932
682
|
}>;
|
|
933
683
|
originator: z.ZodObject<{
|
|
@@ -954,6 +704,7 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
954
704
|
}>;
|
|
955
705
|
name: z.ZodString;
|
|
956
706
|
}, "strip", z.ZodTypeAny, {
|
|
707
|
+
name: string;
|
|
957
708
|
recipientType: string;
|
|
958
709
|
address: {
|
|
959
710
|
countryCode: string;
|
|
@@ -962,9 +713,9 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
962
713
|
stateCode?: string | undefined;
|
|
963
714
|
postalCode?: string | undefined;
|
|
964
715
|
};
|
|
965
|
-
name: string;
|
|
966
716
|
accountId?: string | undefined;
|
|
967
717
|
}, {
|
|
718
|
+
name: string;
|
|
968
719
|
recipientType: string;
|
|
969
720
|
address: {
|
|
970
721
|
countryCode: string;
|
|
@@ -973,7 +724,6 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
973
724
|
stateCode?: string | undefined;
|
|
974
725
|
postalCode?: string | undefined;
|
|
975
726
|
};
|
|
976
|
-
name: string;
|
|
977
727
|
accountId?: string | undefined;
|
|
978
728
|
}>;
|
|
979
729
|
executedAt: z.ZodString;
|
|
@@ -990,16 +740,16 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
990
740
|
currencyCodeInDigit: z.ZodNumber;
|
|
991
741
|
isBaseCurrency: z.ZodBoolean;
|
|
992
742
|
}, "strip", z.ZodTypeAny, {
|
|
993
|
-
code: string;
|
|
994
743
|
name: string;
|
|
744
|
+
code: string;
|
|
995
745
|
decimalPlaces: number;
|
|
996
746
|
displaySymbol: string;
|
|
997
747
|
nameCode: string;
|
|
998
748
|
currencyCodeInDigit: number;
|
|
999
749
|
isBaseCurrency: boolean;
|
|
1000
750
|
}, {
|
|
1001
|
-
code: string;
|
|
1002
751
|
name: string;
|
|
752
|
+
code: string;
|
|
1003
753
|
decimalPlaces: number;
|
|
1004
754
|
displaySymbol: string;
|
|
1005
755
|
nameCode: string;
|
|
@@ -1041,6 +791,7 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
1041
791
|
}>;
|
|
1042
792
|
name: z.ZodString;
|
|
1043
793
|
}, "strip", z.ZodTypeAny, {
|
|
794
|
+
name: string;
|
|
1044
795
|
recipientType: string;
|
|
1045
796
|
address: {
|
|
1046
797
|
countryCode: string;
|
|
@@ -1049,9 +800,9 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
1049
800
|
stateCode?: string | undefined;
|
|
1050
801
|
postalCode?: string | undefined;
|
|
1051
802
|
};
|
|
1052
|
-
name: string;
|
|
1053
803
|
cardId?: string | undefined;
|
|
1054
804
|
}, {
|
|
805
|
+
name: string;
|
|
1055
806
|
recipientType: string;
|
|
1056
807
|
address: {
|
|
1057
808
|
countryCode: string;
|
|
@@ -1060,7 +811,6 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
1060
811
|
stateCode?: string | undefined;
|
|
1061
812
|
postalCode?: string | undefined;
|
|
1062
813
|
};
|
|
1063
|
-
name: string;
|
|
1064
814
|
cardId?: string | undefined;
|
|
1065
815
|
}>;
|
|
1066
816
|
originator: z.ZodObject<{
|
|
@@ -1087,6 +837,7 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
1087
837
|
}>;
|
|
1088
838
|
name: z.ZodString;
|
|
1089
839
|
}, "strip", z.ZodTypeAny, {
|
|
840
|
+
name: string;
|
|
1090
841
|
recipientType: string;
|
|
1091
842
|
address: {
|
|
1092
843
|
countryCode: string;
|
|
@@ -1095,9 +846,9 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
1095
846
|
stateCode?: string | undefined;
|
|
1096
847
|
postalCode?: string | undefined;
|
|
1097
848
|
};
|
|
1098
|
-
name: string;
|
|
1099
849
|
accountId?: string | undefined;
|
|
1100
850
|
}, {
|
|
851
|
+
name: string;
|
|
1101
852
|
recipientType: string;
|
|
1102
853
|
address: {
|
|
1103
854
|
countryCode: string;
|
|
@@ -1106,7 +857,6 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
1106
857
|
stateCode?: string | undefined;
|
|
1107
858
|
postalCode?: string | undefined;
|
|
1108
859
|
};
|
|
1109
|
-
name: string;
|
|
1110
860
|
accountId?: string | undefined;
|
|
1111
861
|
}>;
|
|
1112
862
|
executedAt: z.ZodString;
|
|
@@ -1123,16 +873,16 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
1123
873
|
currencyCodeInDigit: z.ZodNumber;
|
|
1124
874
|
isBaseCurrency: z.ZodBoolean;
|
|
1125
875
|
}, "strip", z.ZodTypeAny, {
|
|
1126
|
-
code: string;
|
|
1127
876
|
name: string;
|
|
877
|
+
code: string;
|
|
1128
878
|
decimalPlaces: number;
|
|
1129
879
|
displaySymbol: string;
|
|
1130
880
|
nameCode: string;
|
|
1131
881
|
currencyCodeInDigit: number;
|
|
1132
882
|
isBaseCurrency: boolean;
|
|
1133
883
|
}, {
|
|
1134
|
-
code: string;
|
|
1135
884
|
name: string;
|
|
885
|
+
code: string;
|
|
1136
886
|
decimalPlaces: number;
|
|
1137
887
|
displaySymbol: string;
|
|
1138
888
|
nameCode: string;
|
|
@@ -1184,10 +934,9 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
1184
934
|
accounts: {
|
|
1185
935
|
get: (accountId: number) => {
|
|
1186
936
|
readonly execute: () => Promise<{
|
|
1187
|
-
clientId: number;
|
|
1188
937
|
status: {
|
|
1189
|
-
value: string;
|
|
1190
938
|
code: string;
|
|
939
|
+
value: string;
|
|
1191
940
|
id: number;
|
|
1192
941
|
submittedAndPendingApproval: boolean;
|
|
1193
942
|
approved: boolean;
|
|
@@ -1200,10 +949,11 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
1200
949
|
transferOnHold: boolean;
|
|
1201
950
|
matured: boolean;
|
|
1202
951
|
};
|
|
952
|
+
clientId: number;
|
|
1203
953
|
id: number;
|
|
1204
954
|
currency: {
|
|
1205
|
-
code: string;
|
|
1206
955
|
name: string;
|
|
956
|
+
code: string;
|
|
1207
957
|
decimalPlaces: number;
|
|
1208
958
|
displaySymbol: string;
|
|
1209
959
|
nameCode: string;
|
|
@@ -1228,8 +978,8 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
1228
978
|
activatedByLastname?: string | undefined;
|
|
1229
979
|
};
|
|
1230
980
|
subStatus: {
|
|
1231
|
-
value: string;
|
|
1232
981
|
code: string;
|
|
982
|
+
value: string;
|
|
1233
983
|
id: number;
|
|
1234
984
|
none: boolean;
|
|
1235
985
|
inactive: boolean;
|
|
@@ -1241,8 +991,8 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
1241
991
|
};
|
|
1242
992
|
lastActiveTransactionDate: number[];
|
|
1243
993
|
depositType: {
|
|
1244
|
-
value: string;
|
|
1245
994
|
code: string;
|
|
995
|
+
value: string;
|
|
1246
996
|
id: number;
|
|
1247
997
|
};
|
|
1248
998
|
allowPrepaidCard: boolean;
|
|
@@ -1262,37 +1012,37 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
1262
1012
|
fieldOfficerId: number;
|
|
1263
1013
|
nominalAnnualInterestRate: number;
|
|
1264
1014
|
interestCompoundingPeriodType: {
|
|
1265
|
-
value: string;
|
|
1266
1015
|
code: string;
|
|
1016
|
+
value: string;
|
|
1267
1017
|
id: number;
|
|
1268
1018
|
};
|
|
1269
1019
|
interestPostingPeriodType: {
|
|
1270
|
-
value: string;
|
|
1271
1020
|
code: string;
|
|
1021
|
+
value: string;
|
|
1272
1022
|
id: number;
|
|
1273
1023
|
};
|
|
1274
1024
|
interestCalculationType: {
|
|
1275
|
-
value: string;
|
|
1276
1025
|
code: string;
|
|
1026
|
+
value: string;
|
|
1277
1027
|
id: number;
|
|
1278
1028
|
};
|
|
1279
1029
|
interestCalculationDaysInYearType: {
|
|
1280
|
-
value: string;
|
|
1281
1030
|
code: string;
|
|
1031
|
+
value: string;
|
|
1282
1032
|
id: number;
|
|
1283
1033
|
};
|
|
1284
1034
|
lockinPeriodFrequency: number;
|
|
1285
1035
|
lockinPeriodFrequencyType: {
|
|
1286
|
-
value: string;
|
|
1287
1036
|
code: string;
|
|
1037
|
+
value: string;
|
|
1288
1038
|
id: number;
|
|
1289
1039
|
};
|
|
1290
1040
|
onHoldFunds: number;
|
|
1291
1041
|
savingsAmountOnHold: number;
|
|
1292
1042
|
summary: {
|
|
1293
1043
|
currency: {
|
|
1294
|
-
code: string;
|
|
1295
1044
|
name: string;
|
|
1045
|
+
code: string;
|
|
1296
1046
|
decimalPlaces: number;
|
|
1297
1047
|
displaySymbol: string;
|
|
1298
1048
|
nameCode: string;
|
|
@@ -1315,8 +1065,8 @@ declare const createClient: (initialConfig: Config) => {
|
|
|
1315
1065
|
floatingRateId: number;
|
|
1316
1066
|
isFloatingInterestRateCalculationAllowed: boolean;
|
|
1317
1067
|
bankDetails: {
|
|
1318
|
-
address: string;
|
|
1319
1068
|
name: string;
|
|
1069
|
+
address: string;
|
|
1320
1070
|
city: string;
|
|
1321
1071
|
routingNumber: string;
|
|
1322
1072
|
swiftCode: string;
|