@mbanq/core-sdk-js 0.46.4 → 0.48.0
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-CAUBXV3V.mjs +8 -0
- package/dist/chunk-EZVZLMXI.mjs +1 -0
- package/dist/chunk-F7YQ446S.mjs +1 -0
- package/dist/chunk-K7UFZUR7.js +1 -0
- package/dist/chunk-PHBC2UFT.js +1 -0
- package/dist/chunk-X5O2HKZK.js +8 -0
- package/dist/client/index.d.mts +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/index.js +1 -1
- package/dist/client/index.mjs +1 -1
- package/dist/commands/index.d.mts +18 -231
- package/dist/commands/index.d.ts +18 -231
- package/dist/commands/index.js +88 -27
- package/dist/commands/index.mjs +88 -27
- package/dist/{config.d-BvqzFkbH.d.mts → config.d-D-3TJZGq.d.mts} +2 -1
- package/dist/{config.d-BvqzFkbH.d.ts → config.d-D-3TJZGq.d.ts} +2 -1
- package/dist/{error.d-ktr-yO7C.d.ts → error.d-BilRDJJN.d.ts} +1 -1
- package/dist/{error.d-8Btuol2n.d.mts → error.d-ChhpiSrv.d.mts} +1 -1
- 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/dist/{recipient-CpahZQEL.d.mts → recipient-B8SbKh-I.d.mts} +536 -323
- package/dist/{recipient-CpahZQEL.d.ts → recipient-B8SbKh-I.d.ts} +536 -323
- package/dist/types/types.d.mts +3 -3
- package/dist/types/types.d.ts +3 -3
- package/dist/zod/index.d.mts +2 -2
- package/dist/zod/index.d.ts +2 -2
- package/dist/zod/index.js +1 -1
- package/dist/zod/index.mjs +1 -1
- package/dist/{zod-4CCoUuDc.d.mts → zod-DzGvWN50.d.mts} +563 -28
- package/dist/{zod-DwxNJAey.d.ts → zod-bc-fFnve.d.ts} +563 -28
- package/package.json +1 -1
- package/dist/chunk-5VNL7IK3.js +0 -1
- package/dist/chunk-BMAIEOWZ.mjs +0 -1
- package/dist/chunk-EM7SKZCN.js +0 -1
- package/dist/chunk-ZUBUHVOU.mjs +0 -1
|
@@ -264,7 +264,7 @@ declare const ProcessOutputShape: {
|
|
|
264
264
|
id: z.ZodString;
|
|
265
265
|
clientId: z.ZodNumber;
|
|
266
266
|
resourceId: z.ZodNumber;
|
|
267
|
-
resourceIdentifier: z.ZodString
|
|
267
|
+
resourceIdentifier: z.ZodOptional<z.ZodString>;
|
|
268
268
|
};
|
|
269
269
|
declare const TransferResponseShape: {
|
|
270
270
|
totalFilteredRecords: z.ZodNumber;
|
|
@@ -416,7 +416,7 @@ declare const CreateTransferOutputShape: {
|
|
|
416
416
|
id: z.ZodString;
|
|
417
417
|
clientId: z.ZodNumber;
|
|
418
418
|
resourceId: z.ZodNumber;
|
|
419
|
-
resourceIdentifier: z.ZodString
|
|
419
|
+
resourceIdentifier: z.ZodOptional<z.ZodString>;
|
|
420
420
|
};
|
|
421
421
|
declare const TransferSchema: z.ZodObject<{
|
|
422
422
|
type: z.ZodString;
|
|
@@ -759,17 +759,17 @@ declare const ProcessOutputSchema$1: z.ZodObject<{
|
|
|
759
759
|
id: z.ZodString;
|
|
760
760
|
clientId: z.ZodNumber;
|
|
761
761
|
resourceId: z.ZodNumber;
|
|
762
|
-
resourceIdentifier: z.ZodString
|
|
762
|
+
resourceIdentifier: z.ZodOptional<z.ZodString>;
|
|
763
763
|
}, "strip", z.ZodTypeAny, {
|
|
764
764
|
id: string;
|
|
765
765
|
clientId: number;
|
|
766
766
|
resourceId: number;
|
|
767
|
-
resourceIdentifier
|
|
767
|
+
resourceIdentifier?: string | undefined;
|
|
768
768
|
}, {
|
|
769
769
|
id: string;
|
|
770
770
|
clientId: number;
|
|
771
771
|
resourceId: number;
|
|
772
|
-
resourceIdentifier
|
|
772
|
+
resourceIdentifier?: string | undefined;
|
|
773
773
|
}>;
|
|
774
774
|
declare const TransferResponseSchema: z.ZodObject<{
|
|
775
775
|
totalFilteredRecords: z.ZodNumber;
|
|
@@ -989,23 +989,23 @@ declare const CreateTransferOutputSchema: z.ZodObject<{
|
|
|
989
989
|
id: z.ZodString;
|
|
990
990
|
clientId: z.ZodNumber;
|
|
991
991
|
resourceId: z.ZodNumber;
|
|
992
|
-
resourceIdentifier: z.ZodString
|
|
992
|
+
resourceIdentifier: z.ZodOptional<z.ZodString>;
|
|
993
993
|
}, "strip", z.ZodTypeAny, {
|
|
994
994
|
id: string;
|
|
995
995
|
clientId: number;
|
|
996
996
|
resourceId: number;
|
|
997
|
-
resourceIdentifier: string;
|
|
998
997
|
data: {
|
|
999
998
|
amount: number;
|
|
1000
999
|
};
|
|
1000
|
+
resourceIdentifier?: string | undefined;
|
|
1001
1001
|
}, {
|
|
1002
1002
|
id: string;
|
|
1003
1003
|
clientId: number;
|
|
1004
1004
|
resourceId: number;
|
|
1005
|
-
resourceIdentifier: string;
|
|
1006
1005
|
data: {
|
|
1007
1006
|
amount: number;
|
|
1008
1007
|
};
|
|
1008
|
+
resourceIdentifier?: string | undefined;
|
|
1009
1009
|
}>;
|
|
1010
1010
|
type Transfer = z.infer<typeof TransferSchema>;
|
|
1011
1011
|
type CreateTransferInput = z.infer<typeof CreateTransferInputSchema>;
|
|
@@ -13313,39 +13313,68 @@ declare const GetChargeResponseSchema: z.ZodObject<{
|
|
|
13313
13313
|
type GetChargeResponse = z.infer<typeof GetChargeResponseSchema>;
|
|
13314
13314
|
|
|
13315
13315
|
declare const BankInformationSchema: z.ZodObject<{
|
|
13316
|
-
routingNumber: z.ZodString
|
|
13317
|
-
swiftCode: z.ZodString
|
|
13316
|
+
routingNumber: z.ZodOptional<z.ZodString>;
|
|
13317
|
+
swiftCode: z.ZodOptional<z.ZodString>;
|
|
13318
13318
|
}, "strip", z.ZodTypeAny, {
|
|
13319
|
-
routingNumber
|
|
13320
|
-
swiftCode
|
|
13319
|
+
routingNumber?: string | undefined;
|
|
13320
|
+
swiftCode?: string | undefined;
|
|
13321
13321
|
}, {
|
|
13322
|
-
routingNumber
|
|
13323
|
-
swiftCode
|
|
13322
|
+
routingNumber?: string | undefined;
|
|
13323
|
+
swiftCode?: string | undefined;
|
|
13324
13324
|
}>;
|
|
13325
13325
|
declare const AccountDetailsDataSchema: z.ZodObject<{
|
|
13326
|
-
|
|
13327
|
-
|
|
13328
|
-
|
|
13329
|
-
|
|
13326
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
13327
|
+
accountNumber: z.ZodOptional<z.ZodString>;
|
|
13328
|
+
accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
|
|
13329
|
+
paymentRailMetaData: z.ZodOptional<z.ZodObject<{
|
|
13330
|
+
destinationCurrency: z.ZodOptional<z.ZodString>;
|
|
13331
|
+
branchIdentifier: z.ZodOptional<z.ZodString>;
|
|
13332
|
+
bankIdentifier: z.ZodOptional<z.ZodNumber>;
|
|
13333
|
+
}, "strip", z.ZodTypeAny, {
|
|
13334
|
+
destinationCurrency?: string | undefined;
|
|
13335
|
+
branchIdentifier?: string | undefined;
|
|
13336
|
+
bankIdentifier?: number | undefined;
|
|
13337
|
+
}, {
|
|
13338
|
+
destinationCurrency?: string | undefined;
|
|
13339
|
+
branchIdentifier?: string | undefined;
|
|
13340
|
+
bankIdentifier?: number | undefined;
|
|
13341
|
+
}>>;
|
|
13342
|
+
bankInformation: z.ZodOptional<z.ZodObject<{
|
|
13343
|
+
routingNumber: z.ZodOptional<z.ZodString>;
|
|
13344
|
+
swiftCode: z.ZodOptional<z.ZodString>;
|
|
13330
13345
|
}, "strip", z.ZodTypeAny, {
|
|
13331
|
-
routingNumber
|
|
13332
|
-
swiftCode
|
|
13346
|
+
routingNumber?: string | undefined;
|
|
13347
|
+
swiftCode?: string | undefined;
|
|
13333
13348
|
}, {
|
|
13334
|
-
routingNumber
|
|
13335
|
-
swiftCode
|
|
13336
|
-
}
|
|
13349
|
+
routingNumber?: string | undefined;
|
|
13350
|
+
swiftCode?: string | undefined;
|
|
13351
|
+
}>>;
|
|
13337
13352
|
}, "strip", z.ZodTypeAny, {
|
|
13338
|
-
|
|
13339
|
-
|
|
13340
|
-
|
|
13341
|
-
|
|
13342
|
-
|
|
13353
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
13354
|
+
accountId?: string | undefined;
|
|
13355
|
+
paymentRailMetaData?: {
|
|
13356
|
+
destinationCurrency?: string | undefined;
|
|
13357
|
+
branchIdentifier?: string | undefined;
|
|
13358
|
+
bankIdentifier?: number | undefined;
|
|
13359
|
+
} | undefined;
|
|
13360
|
+
accountNumber?: string | undefined;
|
|
13361
|
+
bankInformation?: {
|
|
13362
|
+
routingNumber?: string | undefined;
|
|
13363
|
+
swiftCode?: string | undefined;
|
|
13364
|
+
} | undefined;
|
|
13343
13365
|
}, {
|
|
13344
|
-
|
|
13345
|
-
|
|
13346
|
-
|
|
13347
|
-
|
|
13348
|
-
|
|
13366
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
13367
|
+
accountId?: string | undefined;
|
|
13368
|
+
paymentRailMetaData?: {
|
|
13369
|
+
destinationCurrency?: string | undefined;
|
|
13370
|
+
branchIdentifier?: string | undefined;
|
|
13371
|
+
bankIdentifier?: number | undefined;
|
|
13372
|
+
} | undefined;
|
|
13373
|
+
accountNumber?: string | undefined;
|
|
13374
|
+
bankInformation?: {
|
|
13375
|
+
routingNumber?: string | undefined;
|
|
13376
|
+
swiftCode?: string | undefined;
|
|
13377
|
+
} | undefined;
|
|
13349
13378
|
}>;
|
|
13350
13379
|
declare const AddressSchema: z.ZodObject<{
|
|
13351
13380
|
line1: z.ZodString;
|
|
@@ -13404,29 +13433,58 @@ declare const RecipientShape: {
|
|
|
13404
13433
|
city: string;
|
|
13405
13434
|
}>;
|
|
13406
13435
|
accountDetailsData: z.ZodObject<{
|
|
13407
|
-
|
|
13408
|
-
|
|
13409
|
-
|
|
13410
|
-
|
|
13436
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
13437
|
+
accountNumber: z.ZodOptional<z.ZodString>;
|
|
13438
|
+
accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
|
|
13439
|
+
paymentRailMetaData: z.ZodOptional<z.ZodObject<{
|
|
13440
|
+
destinationCurrency: z.ZodOptional<z.ZodString>;
|
|
13441
|
+
branchIdentifier: z.ZodOptional<z.ZodString>;
|
|
13442
|
+
bankIdentifier: z.ZodOptional<z.ZodNumber>;
|
|
13443
|
+
}, "strip", z.ZodTypeAny, {
|
|
13444
|
+
destinationCurrency?: string | undefined;
|
|
13445
|
+
branchIdentifier?: string | undefined;
|
|
13446
|
+
bankIdentifier?: number | undefined;
|
|
13447
|
+
}, {
|
|
13448
|
+
destinationCurrency?: string | undefined;
|
|
13449
|
+
branchIdentifier?: string | undefined;
|
|
13450
|
+
bankIdentifier?: number | undefined;
|
|
13451
|
+
}>>;
|
|
13452
|
+
bankInformation: z.ZodOptional<z.ZodObject<{
|
|
13453
|
+
routingNumber: z.ZodOptional<z.ZodString>;
|
|
13454
|
+
swiftCode: z.ZodOptional<z.ZodString>;
|
|
13411
13455
|
}, "strip", z.ZodTypeAny, {
|
|
13412
|
-
routingNumber
|
|
13413
|
-
swiftCode
|
|
13456
|
+
routingNumber?: string | undefined;
|
|
13457
|
+
swiftCode?: string | undefined;
|
|
13414
13458
|
}, {
|
|
13415
|
-
routingNumber
|
|
13416
|
-
swiftCode
|
|
13417
|
-
}
|
|
13459
|
+
routingNumber?: string | undefined;
|
|
13460
|
+
swiftCode?: string | undefined;
|
|
13461
|
+
}>>;
|
|
13418
13462
|
}, "strip", z.ZodTypeAny, {
|
|
13419
|
-
|
|
13420
|
-
|
|
13421
|
-
|
|
13422
|
-
|
|
13423
|
-
|
|
13463
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
13464
|
+
accountId?: string | undefined;
|
|
13465
|
+
paymentRailMetaData?: {
|
|
13466
|
+
destinationCurrency?: string | undefined;
|
|
13467
|
+
branchIdentifier?: string | undefined;
|
|
13468
|
+
bankIdentifier?: number | undefined;
|
|
13469
|
+
} | undefined;
|
|
13470
|
+
accountNumber?: string | undefined;
|
|
13471
|
+
bankInformation?: {
|
|
13472
|
+
routingNumber?: string | undefined;
|
|
13473
|
+
swiftCode?: string | undefined;
|
|
13474
|
+
} | undefined;
|
|
13424
13475
|
}, {
|
|
13425
|
-
|
|
13426
|
-
|
|
13427
|
-
|
|
13428
|
-
|
|
13429
|
-
|
|
13476
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
13477
|
+
accountId?: string | undefined;
|
|
13478
|
+
paymentRailMetaData?: {
|
|
13479
|
+
destinationCurrency?: string | undefined;
|
|
13480
|
+
branchIdentifier?: string | undefined;
|
|
13481
|
+
bankIdentifier?: number | undefined;
|
|
13482
|
+
} | undefined;
|
|
13483
|
+
accountNumber?: string | undefined;
|
|
13484
|
+
bankInformation?: {
|
|
13485
|
+
routingNumber?: string | undefined;
|
|
13486
|
+
swiftCode?: string | undefined;
|
|
13487
|
+
} | undefined;
|
|
13430
13488
|
}>;
|
|
13431
13489
|
};
|
|
13432
13490
|
declare const RecipientSchema: z.ZodObject<{
|
|
@@ -13464,29 +13522,58 @@ declare const RecipientSchema: z.ZodObject<{
|
|
|
13464
13522
|
city: string;
|
|
13465
13523
|
}>;
|
|
13466
13524
|
accountDetailsData: z.ZodObject<{
|
|
13467
|
-
|
|
13468
|
-
|
|
13469
|
-
|
|
13470
|
-
|
|
13525
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
13526
|
+
accountNumber: z.ZodOptional<z.ZodString>;
|
|
13527
|
+
accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
|
|
13528
|
+
paymentRailMetaData: z.ZodOptional<z.ZodObject<{
|
|
13529
|
+
destinationCurrency: z.ZodOptional<z.ZodString>;
|
|
13530
|
+
branchIdentifier: z.ZodOptional<z.ZodString>;
|
|
13531
|
+
bankIdentifier: z.ZodOptional<z.ZodNumber>;
|
|
13532
|
+
}, "strip", z.ZodTypeAny, {
|
|
13533
|
+
destinationCurrency?: string | undefined;
|
|
13534
|
+
branchIdentifier?: string | undefined;
|
|
13535
|
+
bankIdentifier?: number | undefined;
|
|
13536
|
+
}, {
|
|
13537
|
+
destinationCurrency?: string | undefined;
|
|
13538
|
+
branchIdentifier?: string | undefined;
|
|
13539
|
+
bankIdentifier?: number | undefined;
|
|
13540
|
+
}>>;
|
|
13541
|
+
bankInformation: z.ZodOptional<z.ZodObject<{
|
|
13542
|
+
routingNumber: z.ZodOptional<z.ZodString>;
|
|
13543
|
+
swiftCode: z.ZodOptional<z.ZodString>;
|
|
13471
13544
|
}, "strip", z.ZodTypeAny, {
|
|
13472
|
-
routingNumber
|
|
13473
|
-
swiftCode
|
|
13545
|
+
routingNumber?: string | undefined;
|
|
13546
|
+
swiftCode?: string | undefined;
|
|
13474
13547
|
}, {
|
|
13475
|
-
routingNumber
|
|
13476
|
-
swiftCode
|
|
13477
|
-
}
|
|
13548
|
+
routingNumber?: string | undefined;
|
|
13549
|
+
swiftCode?: string | undefined;
|
|
13550
|
+
}>>;
|
|
13478
13551
|
}, "strip", z.ZodTypeAny, {
|
|
13479
|
-
|
|
13480
|
-
|
|
13481
|
-
|
|
13482
|
-
|
|
13483
|
-
|
|
13552
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
13553
|
+
accountId?: string | undefined;
|
|
13554
|
+
paymentRailMetaData?: {
|
|
13555
|
+
destinationCurrency?: string | undefined;
|
|
13556
|
+
branchIdentifier?: string | undefined;
|
|
13557
|
+
bankIdentifier?: number | undefined;
|
|
13558
|
+
} | undefined;
|
|
13559
|
+
accountNumber?: string | undefined;
|
|
13560
|
+
bankInformation?: {
|
|
13561
|
+
routingNumber?: string | undefined;
|
|
13562
|
+
swiftCode?: string | undefined;
|
|
13563
|
+
} | undefined;
|
|
13484
13564
|
}, {
|
|
13485
|
-
|
|
13486
|
-
|
|
13487
|
-
|
|
13488
|
-
|
|
13489
|
-
|
|
13565
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
13566
|
+
accountId?: string | undefined;
|
|
13567
|
+
paymentRailMetaData?: {
|
|
13568
|
+
destinationCurrency?: string | undefined;
|
|
13569
|
+
branchIdentifier?: string | undefined;
|
|
13570
|
+
bankIdentifier?: number | undefined;
|
|
13571
|
+
} | undefined;
|
|
13572
|
+
accountNumber?: string | undefined;
|
|
13573
|
+
bankInformation?: {
|
|
13574
|
+
routingNumber?: string | undefined;
|
|
13575
|
+
swiftCode?: string | undefined;
|
|
13576
|
+
} | undefined;
|
|
13490
13577
|
}>;
|
|
13491
13578
|
}, "strip", z.ZodTypeAny, {
|
|
13492
13579
|
id: number;
|
|
@@ -13509,11 +13596,18 @@ declare const RecipientSchema: z.ZodObject<{
|
|
|
13509
13596
|
phoneNumber: string;
|
|
13510
13597
|
isOwnAccount: boolean;
|
|
13511
13598
|
accountDetailsData: {
|
|
13512
|
-
|
|
13513
|
-
|
|
13514
|
-
|
|
13515
|
-
|
|
13516
|
-
|
|
13599
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
13600
|
+
accountId?: string | undefined;
|
|
13601
|
+
paymentRailMetaData?: {
|
|
13602
|
+
destinationCurrency?: string | undefined;
|
|
13603
|
+
branchIdentifier?: string | undefined;
|
|
13604
|
+
bankIdentifier?: number | undefined;
|
|
13605
|
+
} | undefined;
|
|
13606
|
+
accountNumber?: string | undefined;
|
|
13607
|
+
bankInformation?: {
|
|
13608
|
+
routingNumber?: string | undefined;
|
|
13609
|
+
swiftCode?: string | undefined;
|
|
13610
|
+
} | undefined;
|
|
13517
13611
|
};
|
|
13518
13612
|
}, {
|
|
13519
13613
|
id: number;
|
|
@@ -13536,11 +13630,18 @@ declare const RecipientSchema: z.ZodObject<{
|
|
|
13536
13630
|
phoneNumber: string;
|
|
13537
13631
|
isOwnAccount: boolean;
|
|
13538
13632
|
accountDetailsData: {
|
|
13539
|
-
|
|
13540
|
-
|
|
13541
|
-
|
|
13542
|
-
|
|
13543
|
-
|
|
13633
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
13634
|
+
accountId?: string | undefined;
|
|
13635
|
+
paymentRailMetaData?: {
|
|
13636
|
+
destinationCurrency?: string | undefined;
|
|
13637
|
+
branchIdentifier?: string | undefined;
|
|
13638
|
+
bankIdentifier?: number | undefined;
|
|
13639
|
+
} | undefined;
|
|
13640
|
+
accountNumber?: string | undefined;
|
|
13641
|
+
bankInformation?: {
|
|
13642
|
+
routingNumber?: string | undefined;
|
|
13643
|
+
swiftCode?: string | undefined;
|
|
13644
|
+
} | undefined;
|
|
13544
13645
|
};
|
|
13545
13646
|
}>;
|
|
13546
13647
|
declare const RecipientsSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -13578,29 +13679,58 @@ declare const RecipientsSchema: z.ZodArray<z.ZodObject<{
|
|
|
13578
13679
|
city: string;
|
|
13579
13680
|
}>;
|
|
13580
13681
|
accountDetailsData: z.ZodObject<{
|
|
13581
|
-
|
|
13582
|
-
|
|
13583
|
-
|
|
13584
|
-
|
|
13682
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
13683
|
+
accountNumber: z.ZodOptional<z.ZodString>;
|
|
13684
|
+
accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
|
|
13685
|
+
paymentRailMetaData: z.ZodOptional<z.ZodObject<{
|
|
13686
|
+
destinationCurrency: z.ZodOptional<z.ZodString>;
|
|
13687
|
+
branchIdentifier: z.ZodOptional<z.ZodString>;
|
|
13688
|
+
bankIdentifier: z.ZodOptional<z.ZodNumber>;
|
|
13689
|
+
}, "strip", z.ZodTypeAny, {
|
|
13690
|
+
destinationCurrency?: string | undefined;
|
|
13691
|
+
branchIdentifier?: string | undefined;
|
|
13692
|
+
bankIdentifier?: number | undefined;
|
|
13693
|
+
}, {
|
|
13694
|
+
destinationCurrency?: string | undefined;
|
|
13695
|
+
branchIdentifier?: string | undefined;
|
|
13696
|
+
bankIdentifier?: number | undefined;
|
|
13697
|
+
}>>;
|
|
13698
|
+
bankInformation: z.ZodOptional<z.ZodObject<{
|
|
13699
|
+
routingNumber: z.ZodOptional<z.ZodString>;
|
|
13700
|
+
swiftCode: z.ZodOptional<z.ZodString>;
|
|
13585
13701
|
}, "strip", z.ZodTypeAny, {
|
|
13586
|
-
routingNumber
|
|
13587
|
-
swiftCode
|
|
13702
|
+
routingNumber?: string | undefined;
|
|
13703
|
+
swiftCode?: string | undefined;
|
|
13588
13704
|
}, {
|
|
13589
|
-
routingNumber
|
|
13590
|
-
swiftCode
|
|
13591
|
-
}
|
|
13705
|
+
routingNumber?: string | undefined;
|
|
13706
|
+
swiftCode?: string | undefined;
|
|
13707
|
+
}>>;
|
|
13592
13708
|
}, "strip", z.ZodTypeAny, {
|
|
13593
|
-
|
|
13594
|
-
|
|
13595
|
-
|
|
13596
|
-
|
|
13597
|
-
|
|
13709
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
13710
|
+
accountId?: string | undefined;
|
|
13711
|
+
paymentRailMetaData?: {
|
|
13712
|
+
destinationCurrency?: string | undefined;
|
|
13713
|
+
branchIdentifier?: string | undefined;
|
|
13714
|
+
bankIdentifier?: number | undefined;
|
|
13715
|
+
} | undefined;
|
|
13716
|
+
accountNumber?: string | undefined;
|
|
13717
|
+
bankInformation?: {
|
|
13718
|
+
routingNumber?: string | undefined;
|
|
13719
|
+
swiftCode?: string | undefined;
|
|
13720
|
+
} | undefined;
|
|
13598
13721
|
}, {
|
|
13599
|
-
|
|
13600
|
-
|
|
13601
|
-
|
|
13602
|
-
|
|
13603
|
-
|
|
13722
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
13723
|
+
accountId?: string | undefined;
|
|
13724
|
+
paymentRailMetaData?: {
|
|
13725
|
+
destinationCurrency?: string | undefined;
|
|
13726
|
+
branchIdentifier?: string | undefined;
|
|
13727
|
+
bankIdentifier?: number | undefined;
|
|
13728
|
+
} | undefined;
|
|
13729
|
+
accountNumber?: string | undefined;
|
|
13730
|
+
bankInformation?: {
|
|
13731
|
+
routingNumber?: string | undefined;
|
|
13732
|
+
swiftCode?: string | undefined;
|
|
13733
|
+
} | undefined;
|
|
13604
13734
|
}>;
|
|
13605
13735
|
}, "strip", z.ZodTypeAny, {
|
|
13606
13736
|
id: number;
|
|
@@ -13623,11 +13753,18 @@ declare const RecipientsSchema: z.ZodArray<z.ZodObject<{
|
|
|
13623
13753
|
phoneNumber: string;
|
|
13624
13754
|
isOwnAccount: boolean;
|
|
13625
13755
|
accountDetailsData: {
|
|
13626
|
-
|
|
13627
|
-
|
|
13628
|
-
|
|
13629
|
-
|
|
13630
|
-
|
|
13756
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
13757
|
+
accountId?: string | undefined;
|
|
13758
|
+
paymentRailMetaData?: {
|
|
13759
|
+
destinationCurrency?: string | undefined;
|
|
13760
|
+
branchIdentifier?: string | undefined;
|
|
13761
|
+
bankIdentifier?: number | undefined;
|
|
13762
|
+
} | undefined;
|
|
13763
|
+
accountNumber?: string | undefined;
|
|
13764
|
+
bankInformation?: {
|
|
13765
|
+
routingNumber?: string | undefined;
|
|
13766
|
+
swiftCode?: string | undefined;
|
|
13767
|
+
} | undefined;
|
|
13631
13768
|
};
|
|
13632
13769
|
}, {
|
|
13633
13770
|
id: number;
|
|
@@ -13650,11 +13787,18 @@ declare const RecipientsSchema: z.ZodArray<z.ZodObject<{
|
|
|
13650
13787
|
phoneNumber: string;
|
|
13651
13788
|
isOwnAccount: boolean;
|
|
13652
13789
|
accountDetailsData: {
|
|
13653
|
-
|
|
13654
|
-
|
|
13655
|
-
|
|
13656
|
-
|
|
13657
|
-
|
|
13790
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
13791
|
+
accountId?: string | undefined;
|
|
13792
|
+
paymentRailMetaData?: {
|
|
13793
|
+
destinationCurrency?: string | undefined;
|
|
13794
|
+
branchIdentifier?: string | undefined;
|
|
13795
|
+
bankIdentifier?: number | undefined;
|
|
13796
|
+
} | undefined;
|
|
13797
|
+
accountNumber?: string | undefined;
|
|
13798
|
+
bankInformation?: {
|
|
13799
|
+
routingNumber?: string | undefined;
|
|
13800
|
+
swiftCode?: string | undefined;
|
|
13801
|
+
} | undefined;
|
|
13658
13802
|
};
|
|
13659
13803
|
}>, "many">;
|
|
13660
13804
|
declare const RecipientRequestShape: {
|
|
@@ -13677,14 +13821,14 @@ declare const RecipientRequestSchema: z.ZodObject<{
|
|
|
13677
13821
|
}>;
|
|
13678
13822
|
declare const CreateRecipientRequestShape: {
|
|
13679
13823
|
nickName: z.ZodString;
|
|
13680
|
-
firstName: z.ZodString
|
|
13681
|
-
lastName: z.ZodString
|
|
13824
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
13825
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
13682
13826
|
businessName: z.ZodOptional<z.ZodString>;
|
|
13683
|
-
emailAddress: z.ZodString
|
|
13684
|
-
phoneNumber: z.ZodString
|
|
13685
|
-
recipientType: z.
|
|
13827
|
+
emailAddress: z.ZodOptional<z.ZodString>;
|
|
13828
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
13829
|
+
recipientType: z.ZodEnum<["INDIVIDUAL", "BUSINESS"]>;
|
|
13686
13830
|
paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
|
|
13687
|
-
isOwnAccount: z.
|
|
13831
|
+
isOwnAccount: z.ZodBoolean;
|
|
13688
13832
|
address: z.ZodOptional<z.ZodObject<{
|
|
13689
13833
|
line1: z.ZodString;
|
|
13690
13834
|
line2: z.ZodString;
|
|
@@ -13707,42 +13851,71 @@ declare const CreateRecipientRequestShape: {
|
|
|
13707
13851
|
postalCode: string;
|
|
13708
13852
|
city: string;
|
|
13709
13853
|
}>>;
|
|
13710
|
-
|
|
13711
|
-
|
|
13712
|
-
|
|
13713
|
-
|
|
13714
|
-
|
|
13854
|
+
accountDetails: z.ZodOptional<z.ZodObject<{
|
|
13855
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
13856
|
+
accountNumber: z.ZodOptional<z.ZodString>;
|
|
13857
|
+
accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
|
|
13858
|
+
paymentRailMetaData: z.ZodOptional<z.ZodObject<{
|
|
13859
|
+
destinationCurrency: z.ZodOptional<z.ZodString>;
|
|
13860
|
+
branchIdentifier: z.ZodOptional<z.ZodString>;
|
|
13861
|
+
bankIdentifier: z.ZodOptional<z.ZodNumber>;
|
|
13862
|
+
}, "strip", z.ZodTypeAny, {
|
|
13863
|
+
destinationCurrency?: string | undefined;
|
|
13864
|
+
branchIdentifier?: string | undefined;
|
|
13865
|
+
bankIdentifier?: number | undefined;
|
|
13866
|
+
}, {
|
|
13867
|
+
destinationCurrency?: string | undefined;
|
|
13868
|
+
branchIdentifier?: string | undefined;
|
|
13869
|
+
bankIdentifier?: number | undefined;
|
|
13870
|
+
}>>;
|
|
13871
|
+
bankInformation: z.ZodOptional<z.ZodObject<{
|
|
13872
|
+
routingNumber: z.ZodOptional<z.ZodString>;
|
|
13873
|
+
swiftCode: z.ZodOptional<z.ZodString>;
|
|
13715
13874
|
}, "strip", z.ZodTypeAny, {
|
|
13716
|
-
routingNumber
|
|
13717
|
-
swiftCode
|
|
13875
|
+
routingNumber?: string | undefined;
|
|
13876
|
+
swiftCode?: string | undefined;
|
|
13718
13877
|
}, {
|
|
13719
|
-
routingNumber
|
|
13720
|
-
swiftCode
|
|
13721
|
-
}
|
|
13878
|
+
routingNumber?: string | undefined;
|
|
13879
|
+
swiftCode?: string | undefined;
|
|
13880
|
+
}>>;
|
|
13722
13881
|
}, "strip", z.ZodTypeAny, {
|
|
13723
|
-
|
|
13724
|
-
|
|
13725
|
-
|
|
13726
|
-
|
|
13727
|
-
|
|
13882
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
13883
|
+
accountId?: string | undefined;
|
|
13884
|
+
paymentRailMetaData?: {
|
|
13885
|
+
destinationCurrency?: string | undefined;
|
|
13886
|
+
branchIdentifier?: string | undefined;
|
|
13887
|
+
bankIdentifier?: number | undefined;
|
|
13888
|
+
} | undefined;
|
|
13889
|
+
accountNumber?: string | undefined;
|
|
13890
|
+
bankInformation?: {
|
|
13891
|
+
routingNumber?: string | undefined;
|
|
13892
|
+
swiftCode?: string | undefined;
|
|
13893
|
+
} | undefined;
|
|
13728
13894
|
}, {
|
|
13729
|
-
|
|
13730
|
-
|
|
13731
|
-
|
|
13732
|
-
|
|
13733
|
-
|
|
13734
|
-
|
|
13895
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
13896
|
+
accountId?: string | undefined;
|
|
13897
|
+
paymentRailMetaData?: {
|
|
13898
|
+
destinationCurrency?: string | undefined;
|
|
13899
|
+
branchIdentifier?: string | undefined;
|
|
13900
|
+
bankIdentifier?: number | undefined;
|
|
13901
|
+
} | undefined;
|
|
13902
|
+
accountNumber?: string | undefined;
|
|
13903
|
+
bankInformation?: {
|
|
13904
|
+
routingNumber?: string | undefined;
|
|
13905
|
+
swiftCode?: string | undefined;
|
|
13906
|
+
} | undefined;
|
|
13907
|
+
}>>;
|
|
13735
13908
|
};
|
|
13736
|
-
declare const CreateRecipientRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
13909
|
+
declare const CreateRecipientRequestSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
13737
13910
|
nickName: z.ZodString;
|
|
13738
|
-
firstName: z.ZodString
|
|
13739
|
-
lastName: z.ZodString
|
|
13911
|
+
firstName: z.ZodOptional<z.ZodString>;
|
|
13912
|
+
lastName: z.ZodOptional<z.ZodString>;
|
|
13740
13913
|
businessName: z.ZodOptional<z.ZodString>;
|
|
13741
|
-
emailAddress: z.ZodString
|
|
13742
|
-
phoneNumber: z.ZodString
|
|
13743
|
-
recipientType: z.
|
|
13914
|
+
emailAddress: z.ZodOptional<z.ZodString>;
|
|
13915
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
13916
|
+
recipientType: z.ZodEnum<["INDIVIDUAL", "BUSINESS"]>;
|
|
13744
13917
|
paymentRail: z.ZodEnum<["ACH", "SAMEDAYACH", "WIRE", "SWIFT", "INTERNAL", "FXPAY", "CARD"]>;
|
|
13745
|
-
isOwnAccount: z.
|
|
13918
|
+
isOwnAccount: z.ZodBoolean;
|
|
13746
13919
|
address: z.ZodOptional<z.ZodObject<{
|
|
13747
13920
|
line1: z.ZodString;
|
|
13748
13921
|
line2: z.ZodString;
|
|
@@ -13765,46 +13938,65 @@ declare const CreateRecipientRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13765
13938
|
postalCode: string;
|
|
13766
13939
|
city: string;
|
|
13767
13940
|
}>>;
|
|
13768
|
-
|
|
13769
|
-
|
|
13770
|
-
|
|
13771
|
-
|
|
13772
|
-
|
|
13941
|
+
accountDetails: z.ZodOptional<z.ZodObject<{
|
|
13942
|
+
accountId: z.ZodOptional<z.ZodString>;
|
|
13943
|
+
accountNumber: z.ZodOptional<z.ZodString>;
|
|
13944
|
+
accountType: z.ZodOptional<z.ZodEnum<["CHECKING", "SAVINGS"]>>;
|
|
13945
|
+
paymentRailMetaData: z.ZodOptional<z.ZodObject<{
|
|
13946
|
+
destinationCurrency: z.ZodOptional<z.ZodString>;
|
|
13947
|
+
branchIdentifier: z.ZodOptional<z.ZodString>;
|
|
13948
|
+
bankIdentifier: z.ZodOptional<z.ZodNumber>;
|
|
13949
|
+
}, "strip", z.ZodTypeAny, {
|
|
13950
|
+
destinationCurrency?: string | undefined;
|
|
13951
|
+
branchIdentifier?: string | undefined;
|
|
13952
|
+
bankIdentifier?: number | undefined;
|
|
13953
|
+
}, {
|
|
13954
|
+
destinationCurrency?: string | undefined;
|
|
13955
|
+
branchIdentifier?: string | undefined;
|
|
13956
|
+
bankIdentifier?: number | undefined;
|
|
13957
|
+
}>>;
|
|
13958
|
+
bankInformation: z.ZodOptional<z.ZodObject<{
|
|
13959
|
+
routingNumber: z.ZodOptional<z.ZodString>;
|
|
13960
|
+
swiftCode: z.ZodOptional<z.ZodString>;
|
|
13773
13961
|
}, "strip", z.ZodTypeAny, {
|
|
13774
|
-
routingNumber
|
|
13775
|
-
swiftCode
|
|
13962
|
+
routingNumber?: string | undefined;
|
|
13963
|
+
swiftCode?: string | undefined;
|
|
13776
13964
|
}, {
|
|
13777
|
-
routingNumber
|
|
13778
|
-
swiftCode
|
|
13779
|
-
}
|
|
13965
|
+
routingNumber?: string | undefined;
|
|
13966
|
+
swiftCode?: string | undefined;
|
|
13967
|
+
}>>;
|
|
13780
13968
|
}, "strip", z.ZodTypeAny, {
|
|
13781
|
-
|
|
13782
|
-
|
|
13783
|
-
|
|
13784
|
-
|
|
13785
|
-
|
|
13969
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
13970
|
+
accountId?: string | undefined;
|
|
13971
|
+
paymentRailMetaData?: {
|
|
13972
|
+
destinationCurrency?: string | undefined;
|
|
13973
|
+
branchIdentifier?: string | undefined;
|
|
13974
|
+
bankIdentifier?: number | undefined;
|
|
13975
|
+
} | undefined;
|
|
13976
|
+
accountNumber?: string | undefined;
|
|
13977
|
+
bankInformation?: {
|
|
13978
|
+
routingNumber?: string | undefined;
|
|
13979
|
+
swiftCode?: string | undefined;
|
|
13980
|
+
} | undefined;
|
|
13786
13981
|
}, {
|
|
13787
|
-
|
|
13788
|
-
|
|
13789
|
-
|
|
13790
|
-
|
|
13791
|
-
|
|
13792
|
-
|
|
13982
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
13983
|
+
accountId?: string | undefined;
|
|
13984
|
+
paymentRailMetaData?: {
|
|
13985
|
+
destinationCurrency?: string | undefined;
|
|
13986
|
+
branchIdentifier?: string | undefined;
|
|
13987
|
+
bankIdentifier?: number | undefined;
|
|
13988
|
+
} | undefined;
|
|
13989
|
+
accountNumber?: string | undefined;
|
|
13990
|
+
bankInformation?: {
|
|
13991
|
+
routingNumber?: string | undefined;
|
|
13992
|
+
swiftCode?: string | undefined;
|
|
13993
|
+
} | undefined;
|
|
13994
|
+
}>>;
|
|
13793
13995
|
}, "strip", z.ZodTypeAny, {
|
|
13794
13996
|
paymentRail: "ACH" | "SAMEDAYACH" | "WIRE" | "SWIFT" | "INTERNAL" | "FXPAY" | "CARD";
|
|
13795
|
-
recipientType:
|
|
13796
|
-
firstName: string;
|
|
13797
|
-
lastName: string;
|
|
13798
|
-
emailAddress: string;
|
|
13997
|
+
recipientType: "INDIVIDUAL" | "BUSINESS";
|
|
13799
13998
|
nickName: string;
|
|
13800
|
-
|
|
13801
|
-
accountDetailsData: {
|
|
13802
|
-
accountNumber: string;
|
|
13803
|
-
bankInformation: {
|
|
13804
|
-
routingNumber: string;
|
|
13805
|
-
swiftCode: string;
|
|
13806
|
-
};
|
|
13807
|
-
};
|
|
13999
|
+
isOwnAccount: boolean;
|
|
13808
14000
|
address?: {
|
|
13809
14001
|
line1: string;
|
|
13810
14002
|
line2: string;
|
|
@@ -13813,23 +14005,30 @@ declare const CreateRecipientRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13813
14005
|
postalCode: string;
|
|
13814
14006
|
city: string;
|
|
13815
14007
|
} | undefined;
|
|
14008
|
+
firstName?: string | undefined;
|
|
14009
|
+
lastName?: string | undefined;
|
|
14010
|
+
emailAddress?: string | undefined;
|
|
13816
14011
|
businessName?: string | undefined;
|
|
13817
|
-
|
|
14012
|
+
phoneNumber?: string | undefined;
|
|
14013
|
+
accountDetails?: {
|
|
14014
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
14015
|
+
accountId?: string | undefined;
|
|
14016
|
+
paymentRailMetaData?: {
|
|
14017
|
+
destinationCurrency?: string | undefined;
|
|
14018
|
+
branchIdentifier?: string | undefined;
|
|
14019
|
+
bankIdentifier?: number | undefined;
|
|
14020
|
+
} | undefined;
|
|
14021
|
+
accountNumber?: string | undefined;
|
|
14022
|
+
bankInformation?: {
|
|
14023
|
+
routingNumber?: string | undefined;
|
|
14024
|
+
swiftCode?: string | undefined;
|
|
14025
|
+
} | undefined;
|
|
14026
|
+
} | undefined;
|
|
13818
14027
|
}, {
|
|
13819
14028
|
paymentRail: "ACH" | "SAMEDAYACH" | "WIRE" | "SWIFT" | "INTERNAL" | "FXPAY" | "CARD";
|
|
13820
|
-
recipientType:
|
|
13821
|
-
firstName: string;
|
|
13822
|
-
lastName: string;
|
|
13823
|
-
emailAddress: string;
|
|
14029
|
+
recipientType: "INDIVIDUAL" | "BUSINESS";
|
|
13824
14030
|
nickName: string;
|
|
13825
|
-
|
|
13826
|
-
accountDetailsData: {
|
|
13827
|
-
accountNumber: string;
|
|
13828
|
-
bankInformation: {
|
|
13829
|
-
routingNumber: string;
|
|
13830
|
-
swiftCode: string;
|
|
13831
|
-
};
|
|
13832
|
-
};
|
|
14031
|
+
isOwnAccount: boolean;
|
|
13833
14032
|
address?: {
|
|
13834
14033
|
line1: string;
|
|
13835
14034
|
line2: string;
|
|
@@ -13838,23 +14037,30 @@ declare const CreateRecipientRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13838
14037
|
postalCode: string;
|
|
13839
14038
|
city: string;
|
|
13840
14039
|
} | undefined;
|
|
14040
|
+
firstName?: string | undefined;
|
|
14041
|
+
lastName?: string | undefined;
|
|
14042
|
+
emailAddress?: string | undefined;
|
|
13841
14043
|
businessName?: string | undefined;
|
|
13842
|
-
|
|
14044
|
+
phoneNumber?: string | undefined;
|
|
14045
|
+
accountDetails?: {
|
|
14046
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
14047
|
+
accountId?: string | undefined;
|
|
14048
|
+
paymentRailMetaData?: {
|
|
14049
|
+
destinationCurrency?: string | undefined;
|
|
14050
|
+
branchIdentifier?: string | undefined;
|
|
14051
|
+
bankIdentifier?: number | undefined;
|
|
14052
|
+
} | undefined;
|
|
14053
|
+
accountNumber?: string | undefined;
|
|
14054
|
+
bankInformation?: {
|
|
14055
|
+
routingNumber?: string | undefined;
|
|
14056
|
+
swiftCode?: string | undefined;
|
|
14057
|
+
} | undefined;
|
|
14058
|
+
} | undefined;
|
|
13843
14059
|
}>, {
|
|
13844
14060
|
paymentRail: "ACH" | "SAMEDAYACH" | "WIRE" | "SWIFT" | "INTERNAL" | "FXPAY" | "CARD";
|
|
13845
|
-
recipientType:
|
|
13846
|
-
firstName: string;
|
|
13847
|
-
lastName: string;
|
|
13848
|
-
emailAddress: string;
|
|
14061
|
+
recipientType: "INDIVIDUAL" | "BUSINESS";
|
|
13849
14062
|
nickName: string;
|
|
13850
|
-
|
|
13851
|
-
accountDetailsData: {
|
|
13852
|
-
accountNumber: string;
|
|
13853
|
-
bankInformation: {
|
|
13854
|
-
routingNumber: string;
|
|
13855
|
-
swiftCode: string;
|
|
13856
|
-
};
|
|
13857
|
-
};
|
|
14063
|
+
isOwnAccount: boolean;
|
|
13858
14064
|
address?: {
|
|
13859
14065
|
line1: string;
|
|
13860
14066
|
line2: string;
|
|
@@ -13863,23 +14069,30 @@ declare const CreateRecipientRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13863
14069
|
postalCode: string;
|
|
13864
14070
|
city: string;
|
|
13865
14071
|
} | undefined;
|
|
14072
|
+
firstName?: string | undefined;
|
|
14073
|
+
lastName?: string | undefined;
|
|
14074
|
+
emailAddress?: string | undefined;
|
|
13866
14075
|
businessName?: string | undefined;
|
|
13867
|
-
|
|
14076
|
+
phoneNumber?: string | undefined;
|
|
14077
|
+
accountDetails?: {
|
|
14078
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
14079
|
+
accountId?: string | undefined;
|
|
14080
|
+
paymentRailMetaData?: {
|
|
14081
|
+
destinationCurrency?: string | undefined;
|
|
14082
|
+
branchIdentifier?: string | undefined;
|
|
14083
|
+
bankIdentifier?: number | undefined;
|
|
14084
|
+
} | undefined;
|
|
14085
|
+
accountNumber?: string | undefined;
|
|
14086
|
+
bankInformation?: {
|
|
14087
|
+
routingNumber?: string | undefined;
|
|
14088
|
+
swiftCode?: string | undefined;
|
|
14089
|
+
} | undefined;
|
|
14090
|
+
} | undefined;
|
|
13868
14091
|
}, {
|
|
13869
14092
|
paymentRail: "ACH" | "SAMEDAYACH" | "WIRE" | "SWIFT" | "INTERNAL" | "FXPAY" | "CARD";
|
|
13870
|
-
recipientType:
|
|
13871
|
-
firstName: string;
|
|
13872
|
-
lastName: string;
|
|
13873
|
-
emailAddress: string;
|
|
14093
|
+
recipientType: "INDIVIDUAL" | "BUSINESS";
|
|
13874
14094
|
nickName: string;
|
|
13875
|
-
|
|
13876
|
-
accountDetailsData: {
|
|
13877
|
-
accountNumber: string;
|
|
13878
|
-
bankInformation: {
|
|
13879
|
-
routingNumber: string;
|
|
13880
|
-
swiftCode: string;
|
|
13881
|
-
};
|
|
13882
|
-
};
|
|
14095
|
+
isOwnAccount: boolean;
|
|
13883
14096
|
address?: {
|
|
13884
14097
|
line1: string;
|
|
13885
14098
|
line2: string;
|
|
@@ -13888,71 +14101,30 @@ declare const CreateRecipientRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13888
14101
|
postalCode: string;
|
|
13889
14102
|
city: string;
|
|
13890
14103
|
} | undefined;
|
|
14104
|
+
firstName?: string | undefined;
|
|
14105
|
+
lastName?: string | undefined;
|
|
14106
|
+
emailAddress?: string | undefined;
|
|
13891
14107
|
businessName?: string | undefined;
|
|
13892
|
-
|
|
13893
|
-
|
|
13894
|
-
|
|
13895
|
-
|
|
13896
|
-
|
|
13897
|
-
|
|
13898
|
-
|
|
13899
|
-
|
|
13900
|
-
|
|
13901
|
-
|
|
13902
|
-
|
|
13903
|
-
|
|
13904
|
-
|
|
13905
|
-
|
|
13906
|
-
|
|
13907
|
-
|
|
13908
|
-
|
|
13909
|
-
|
|
13910
|
-
|
|
13911
|
-
|
|
13912
|
-
postalCode: z.ZodString;
|
|
13913
|
-
}, "strip", z.ZodTypeAny, {
|
|
13914
|
-
line1: string;
|
|
13915
|
-
line2: string;
|
|
13916
|
-
stateCode: string;
|
|
13917
|
-
countryCode: string;
|
|
13918
|
-
postalCode: string;
|
|
13919
|
-
city: string;
|
|
13920
|
-
}, {
|
|
13921
|
-
line1: string;
|
|
13922
|
-
line2: string;
|
|
13923
|
-
stateCode: string;
|
|
13924
|
-
countryCode: string;
|
|
13925
|
-
postalCode: string;
|
|
13926
|
-
city: string;
|
|
13927
|
-
}>>;
|
|
13928
|
-
accountDetailsData: z.ZodOptional<z.ZodObject<{
|
|
13929
|
-
accountNumber: z.ZodString;
|
|
13930
|
-
bankInformation: z.ZodObject<{
|
|
13931
|
-
routingNumber: z.ZodString;
|
|
13932
|
-
swiftCode: z.ZodString;
|
|
13933
|
-
}, "strip", z.ZodTypeAny, {
|
|
13934
|
-
routingNumber: string;
|
|
13935
|
-
swiftCode: string;
|
|
13936
|
-
}, {
|
|
13937
|
-
routingNumber: string;
|
|
13938
|
-
swiftCode: string;
|
|
13939
|
-
}>;
|
|
13940
|
-
}, "strip", z.ZodTypeAny, {
|
|
13941
|
-
accountNumber: string;
|
|
13942
|
-
bankInformation: {
|
|
13943
|
-
routingNumber: string;
|
|
13944
|
-
swiftCode: string;
|
|
13945
|
-
};
|
|
13946
|
-
}, {
|
|
13947
|
-
accountNumber: string;
|
|
13948
|
-
bankInformation: {
|
|
13949
|
-
routingNumber: string;
|
|
13950
|
-
swiftCode: string;
|
|
13951
|
-
};
|
|
13952
|
-
}>>;
|
|
13953
|
-
}, "strip", z.ZodTypeAny, {
|
|
13954
|
-
paymentRail?: "ACH" | "SAMEDAYACH" | "WIRE" | "SWIFT" | "INTERNAL" | "FXPAY" | "CARD" | undefined;
|
|
13955
|
-
recipientType?: string | undefined;
|
|
14108
|
+
phoneNumber?: string | undefined;
|
|
14109
|
+
accountDetails?: {
|
|
14110
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
14111
|
+
accountId?: string | undefined;
|
|
14112
|
+
paymentRailMetaData?: {
|
|
14113
|
+
destinationCurrency?: string | undefined;
|
|
14114
|
+
branchIdentifier?: string | undefined;
|
|
14115
|
+
bankIdentifier?: number | undefined;
|
|
14116
|
+
} | undefined;
|
|
14117
|
+
accountNumber?: string | undefined;
|
|
14118
|
+
bankInformation?: {
|
|
14119
|
+
routingNumber?: string | undefined;
|
|
14120
|
+
swiftCode?: string | undefined;
|
|
14121
|
+
} | undefined;
|
|
14122
|
+
} | undefined;
|
|
14123
|
+
}>, {
|
|
14124
|
+
paymentRail: "ACH" | "SAMEDAYACH" | "WIRE" | "SWIFT" | "INTERNAL" | "FXPAY" | "CARD";
|
|
14125
|
+
recipientType: "INDIVIDUAL" | "BUSINESS";
|
|
14126
|
+
nickName: string;
|
|
14127
|
+
isOwnAccount: boolean;
|
|
13956
14128
|
address?: {
|
|
13957
14129
|
line1: string;
|
|
13958
14130
|
line2: string;
|
|
@@ -13964,20 +14136,27 @@ declare const UpdateRecipientRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13964
14136
|
firstName?: string | undefined;
|
|
13965
14137
|
lastName?: string | undefined;
|
|
13966
14138
|
emailAddress?: string | undefined;
|
|
13967
|
-
nickName?: string | undefined;
|
|
13968
14139
|
businessName?: string | undefined;
|
|
13969
14140
|
phoneNumber?: string | undefined;
|
|
13970
|
-
|
|
13971
|
-
|
|
13972
|
-
|
|
13973
|
-
|
|
13974
|
-
|
|
13975
|
-
|
|
13976
|
-
|
|
14141
|
+
accountDetails?: {
|
|
14142
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
14143
|
+
accountId?: string | undefined;
|
|
14144
|
+
paymentRailMetaData?: {
|
|
14145
|
+
destinationCurrency?: string | undefined;
|
|
14146
|
+
branchIdentifier?: string | undefined;
|
|
14147
|
+
bankIdentifier?: number | undefined;
|
|
14148
|
+
} | undefined;
|
|
14149
|
+
accountNumber?: string | undefined;
|
|
14150
|
+
bankInformation?: {
|
|
14151
|
+
routingNumber?: string | undefined;
|
|
14152
|
+
swiftCode?: string | undefined;
|
|
14153
|
+
} | undefined;
|
|
13977
14154
|
} | undefined;
|
|
13978
14155
|
}, {
|
|
13979
|
-
paymentRail
|
|
13980
|
-
recipientType
|
|
14156
|
+
paymentRail: "ACH" | "SAMEDAYACH" | "WIRE" | "SWIFT" | "INTERNAL" | "FXPAY" | "CARD";
|
|
14157
|
+
recipientType: "INDIVIDUAL" | "BUSINESS";
|
|
14158
|
+
nickName: string;
|
|
14159
|
+
isOwnAccount: boolean;
|
|
13981
14160
|
address?: {
|
|
13982
14161
|
line1: string;
|
|
13983
14162
|
line2: string;
|
|
@@ -13989,20 +14168,27 @@ declare const UpdateRecipientRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
13989
14168
|
firstName?: string | undefined;
|
|
13990
14169
|
lastName?: string | undefined;
|
|
13991
14170
|
emailAddress?: string | undefined;
|
|
13992
|
-
nickName?: string | undefined;
|
|
13993
14171
|
businessName?: string | undefined;
|
|
13994
14172
|
phoneNumber?: string | undefined;
|
|
13995
|
-
|
|
13996
|
-
|
|
13997
|
-
|
|
13998
|
-
|
|
13999
|
-
|
|
14000
|
-
|
|
14001
|
-
|
|
14173
|
+
accountDetails?: {
|
|
14174
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
14175
|
+
accountId?: string | undefined;
|
|
14176
|
+
paymentRailMetaData?: {
|
|
14177
|
+
destinationCurrency?: string | undefined;
|
|
14178
|
+
branchIdentifier?: string | undefined;
|
|
14179
|
+
bankIdentifier?: number | undefined;
|
|
14180
|
+
} | undefined;
|
|
14181
|
+
accountNumber?: string | undefined;
|
|
14182
|
+
bankInformation?: {
|
|
14183
|
+
routingNumber?: string | undefined;
|
|
14184
|
+
swiftCode?: string | undefined;
|
|
14185
|
+
} | undefined;
|
|
14002
14186
|
} | undefined;
|
|
14003
14187
|
}>, {
|
|
14004
|
-
paymentRail
|
|
14005
|
-
recipientType
|
|
14188
|
+
paymentRail: "ACH" | "SAMEDAYACH" | "WIRE" | "SWIFT" | "INTERNAL" | "FXPAY" | "CARD";
|
|
14189
|
+
recipientType: "INDIVIDUAL" | "BUSINESS";
|
|
14190
|
+
nickName: string;
|
|
14191
|
+
isOwnAccount: boolean;
|
|
14006
14192
|
address?: {
|
|
14007
14193
|
line1: string;
|
|
14008
14194
|
line2: string;
|
|
@@ -14014,20 +14200,27 @@ declare const UpdateRecipientRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
14014
14200
|
firstName?: string | undefined;
|
|
14015
14201
|
lastName?: string | undefined;
|
|
14016
14202
|
emailAddress?: string | undefined;
|
|
14017
|
-
nickName?: string | undefined;
|
|
14018
14203
|
businessName?: string | undefined;
|
|
14019
14204
|
phoneNumber?: string | undefined;
|
|
14020
|
-
|
|
14021
|
-
|
|
14022
|
-
|
|
14023
|
-
|
|
14024
|
-
|
|
14025
|
-
|
|
14026
|
-
|
|
14205
|
+
accountDetails?: {
|
|
14206
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
14207
|
+
accountId?: string | undefined;
|
|
14208
|
+
paymentRailMetaData?: {
|
|
14209
|
+
destinationCurrency?: string | undefined;
|
|
14210
|
+
branchIdentifier?: string | undefined;
|
|
14211
|
+
bankIdentifier?: number | undefined;
|
|
14212
|
+
} | undefined;
|
|
14213
|
+
accountNumber?: string | undefined;
|
|
14214
|
+
bankInformation?: {
|
|
14215
|
+
routingNumber?: string | undefined;
|
|
14216
|
+
swiftCode?: string | undefined;
|
|
14217
|
+
} | undefined;
|
|
14027
14218
|
} | undefined;
|
|
14028
14219
|
}, {
|
|
14029
|
-
paymentRail
|
|
14030
|
-
recipientType
|
|
14220
|
+
paymentRail: "ACH" | "SAMEDAYACH" | "WIRE" | "SWIFT" | "INTERNAL" | "FXPAY" | "CARD";
|
|
14221
|
+
recipientType: "INDIVIDUAL" | "BUSINESS";
|
|
14222
|
+
nickName: string;
|
|
14223
|
+
isOwnAccount: boolean;
|
|
14031
14224
|
address?: {
|
|
14032
14225
|
line1: string;
|
|
14033
14226
|
line2: string;
|
|
@@ -14039,18 +14232,25 @@ declare const UpdateRecipientRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
14039
14232
|
firstName?: string | undefined;
|
|
14040
14233
|
lastName?: string | undefined;
|
|
14041
14234
|
emailAddress?: string | undefined;
|
|
14042
|
-
nickName?: string | undefined;
|
|
14043
14235
|
businessName?: string | undefined;
|
|
14044
14236
|
phoneNumber?: string | undefined;
|
|
14045
|
-
|
|
14046
|
-
|
|
14047
|
-
|
|
14048
|
-
|
|
14049
|
-
|
|
14050
|
-
|
|
14051
|
-
|
|
14237
|
+
accountDetails?: {
|
|
14238
|
+
accountType?: "CHECKING" | "SAVINGS" | undefined;
|
|
14239
|
+
accountId?: string | undefined;
|
|
14240
|
+
paymentRailMetaData?: {
|
|
14241
|
+
destinationCurrency?: string | undefined;
|
|
14242
|
+
branchIdentifier?: string | undefined;
|
|
14243
|
+
bankIdentifier?: number | undefined;
|
|
14244
|
+
} | undefined;
|
|
14245
|
+
accountNumber?: string | undefined;
|
|
14246
|
+
bankInformation?: {
|
|
14247
|
+
routingNumber?: string | undefined;
|
|
14248
|
+
swiftCode?: string | undefined;
|
|
14249
|
+
} | undefined;
|
|
14052
14250
|
} | undefined;
|
|
14053
14251
|
}>;
|
|
14252
|
+
declare const RecipientFilterKeySchema: z.ZodEnum<["name"]>;
|
|
14253
|
+
type RecipientFilterKey = z.infer<typeof RecipientFilterKeySchema>;
|
|
14054
14254
|
declare const DeleteRecipientRequestSchema: z.ZodObject<{
|
|
14055
14255
|
clientId: z.ZodNumber;
|
|
14056
14256
|
recipientId: z.ZodNumber;
|
|
@@ -14062,14 +14262,14 @@ declare const DeleteRecipientRequestSchema: z.ZodObject<{
|
|
|
14062
14262
|
recipientId: number;
|
|
14063
14263
|
}>;
|
|
14064
14264
|
declare const GetRecipientParamsSchema: z.ZodObject<{
|
|
14065
|
-
clientId: z.ZodNumber
|
|
14265
|
+
clientId: z.ZodOptional<z.ZodNumber>;
|
|
14066
14266
|
id: z.ZodNumber;
|
|
14067
14267
|
}, "strip", z.ZodTypeAny, {
|
|
14068
14268
|
id: number;
|
|
14069
|
-
clientId
|
|
14269
|
+
clientId?: number | undefined;
|
|
14070
14270
|
}, {
|
|
14071
14271
|
id: number;
|
|
14072
|
-
clientId
|
|
14272
|
+
clientId?: number | undefined;
|
|
14073
14273
|
}>;
|
|
14074
14274
|
type DeleteRecipientRequest = z.infer<typeof DeleteRecipientRequestSchema>;
|
|
14075
14275
|
type GetRecipientParams = z.infer<typeof GetRecipientParamsSchema>;
|
|
@@ -14077,6 +14277,19 @@ type Recipient = z.infer<typeof RecipientSchema>;
|
|
|
14077
14277
|
type Recipients = z.infer<typeof RecipientsSchema>;
|
|
14078
14278
|
type RecipientRequest = z.infer<typeof RecipientRequestSchema>;
|
|
14079
14279
|
type CreateRecipientRequest = z.infer<typeof CreateRecipientRequestSchema>;
|
|
14080
|
-
|
|
14280
|
+
declare const CreateRecipientResponseSchema: z.ZodObject<{
|
|
14281
|
+
officeId: z.ZodOptional<z.ZodNumber>;
|
|
14282
|
+
clientId: z.ZodNumber;
|
|
14283
|
+
resourceId: z.ZodNumber;
|
|
14284
|
+
}, "strip", z.ZodTypeAny, {
|
|
14285
|
+
clientId: number;
|
|
14286
|
+
resourceId: number;
|
|
14287
|
+
officeId?: number | undefined;
|
|
14288
|
+
}, {
|
|
14289
|
+
clientId: number;
|
|
14290
|
+
resourceId: number;
|
|
14291
|
+
officeId?: number | undefined;
|
|
14292
|
+
}>;
|
|
14293
|
+
type CreateRecipientResponse = z.infer<typeof CreateRecipientResponseSchema>;
|
|
14081
14294
|
|
|
14082
|
-
export { PaymentStatusSchema as $, type CreateLoanProductRequest as A, type BlockAccountRequest as B, type CreatePaymentInput as C, type CreateLoanProductResponse as D, type GetLoanProductResponse as E, type GetLoanProductsResponse as F, type GetTransferInput as G, type HoldAmountRequest as H, type UpdateLoanProductRequest as I, type CreateTransferOutput as J, type PaymentFilters as K, type ProcessOutput as L, type MarkAsReturnInput as M, type
|
|
14295
|
+
export { PaymentStatusSchema as $, type CreateLoanProductRequest as A, type BlockAccountRequest as B, type CreatePaymentInput as C, type CreateLoanProductResponse as D, type GetLoanProductResponse as E, type GetLoanProductsResponse as F, type GetTransferInput as G, type HoldAmountRequest as H, type UpdateLoanProductRequest as I, type CreateTransferOutput as J, type PaymentFilters as K, type ProcessOutput as L, type MarkAsReturnInput as M, type GetRecipientParams as N, type CreateRecipientResponse as O, type Payment as P, type DeleteRecipientRequest as Q, type Recipient as R, type Recipients as S, type Transfer as T, type UpdatePaymentInput as U, type EnableSelfServiceAccessRequest as V, type EnableSelfServiceAccessResponse as W, type UpdateSelfServiceUserRequest as X, type UpdateSelfServiceUserResponse as Y, type DeleteSelfServiceUserResponse as Z, type UpdateLoanProductResponse as _, type PaymentResponse as a, TransferResponseShape as a$, PaymentRailSchema as a0, PaymentTypeSchema as a1, SortOrderSchema as a2, CreatePaymentInputSchema as a3, UpdatePaymentInputSchema as a4, PaymentResponseSchema as a5, PaymentShape as a6, CreatePaymentInputShape as a7, UpdatePaymentInputShape as a8, GetAccountResponseSchema as a9, CreateRecipientRequestSchema as aA, RecipientRequestSchema as aB, RecipientFilterKeySchema as aC, RecipientShape as aD, CreateRecipientRequestShape as aE, RecipientRequestShape as aF, BankInformationSchema as aG, AccountDetailsDataSchema as aH, AddressSchema as aI, RecipientsSchema as aJ, TransferSchema as aK, CreateTransferInputSchema as aL, GetTransferInputSchema as aM, MarkAsReturnInputSchema as aN, UpdateTraceNumbersInputSchema as aO, ProcessOutputSchema$1 as aP, TransferResponseSchema as aQ, CreateTransferOutputSchema as aR, PaymentRailSchema$1 as aS, PaymentTypeSchema$1 as aT, AccountTypeSchema as aU, TransferShape as aV, CreateTransferInputShape as aW, GetTransferInputShape as aX, MarkAsReturnInputShape as aY, UpdateTraceNumbersInputShape as aZ, ProcessOutputShape as a_, GetAccountResponseShape as aa, GetAccountsOfClientResponseSchema as ab, GetAccountsOfClientResponseShape as ac, GetAccountsRequestSchema as ad, GetAccountsRequestShape as ae, UpdateAccountRequestSchema as af, UpdateAccountRequestShape as ag, CreateAndActivateAccountRequestSchema as ah, CreateAndActivateAccountRequestShape as ai, CreateAndActivateAccountResponseSchema as aj, CreateAndActivateAccountResponseShape as ak, CloseAccountRequestSchema as al, CloseAccountRequestShape as am, CloseAccountResponseSchema as an, CloseAccountResponseShape as ao, BlockAccountRequestSchema as ap, BlockAccountRequestShape as aq, BlockAccountResponseSchema as ar, BlockAccountResponseShape as as, HoldAmountRequestSchema as at, HoldAmountRequestShape as au, HoldAmountResponseSchema as av, HoldAmountResponseShape as aw, UserDetailSchema as ax, UserDetailShape as ay, RecipientSchema as az, type CreateTransferInput as b, CreateTransferOutputShape as b0, ClientSchema as b1, AgentSchema as b2, PartySchema as b3, CreateLoanProductRequestSchema as b4, CreateLoanProductResponseSchema as b5, CreateLoanProductRequestShape as b6, CreateLoanProductResponseShape as b7, GetLoanProductResponseShape as b8, GetLoanProductResponseSchema as b9, GetLoanProductsResponseSchema as ba, UpdateLoanProductRequestSchema as bb, CreateChargeRequestSchema as bc, CreateChargeResponseSchema as bd, CreateChargeResponseShape as be, GetChargeResponseSchema as bf, GetChargesRequestSchema as bg, UpdateChargeRequestSchema as bh, UpdateChargeResponseSchema as bi, type TransferResponse as c, type UpdateTraceNumbersInput as d, type ProcessOutput$1 as e, type PaymentRail as f, type CreateRecipientRequest as g, type RecipientRequest as h, type RecipientFilterKey as i, type GetAccountResponse as j, type GetAccountsOfClientResponse as k, type GetAccountsOfClientRequest as l, type UpdateAccountRequest as m, type CreateAndActivateAccountRequest as n, type CreateAndActivateAccountResponse as o, type CloseAccountRequest as p, type CloseAccountResponse as q, type BlockAccountResponse as r, type HoldAmountResponse as s, type UserDetail as t, type CreateChargeRequest as u, type CreateChargeResponse as v, type GetChargeResponse as w, type GetChargesRequest as x, type UpdateChargeRequest as y, type UpdateChargeResponse as z };
|