@finverse/sdk-typescript 0.0.119 → 0.0.121

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.
Files changed (3) hide show
  1. package/dist/api.d.ts +39 -610
  2. package/dist/api.js +5 -527
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -716,6 +716,12 @@ export interface CreateMandateResponse {
716
716
  * @memberof CreateMandateResponse
717
717
  */
718
718
  recipient: MandateRecipient;
719
+ /**
720
+ *
721
+ * @type {MandateRecipientAccount}
722
+ * @memberof CreateMandateResponse
723
+ */
724
+ recipient_account?: MandateRecipientAccount;
719
725
  /**
720
726
  *
721
727
  * @type {GetMandateSender}
@@ -969,132 +975,6 @@ export declare const CreateRecipientAccountAccountTypeEnum: {
969
975
  readonly ExternalAccount: "EXTERNAL_ACCOUNT";
970
976
  };
971
977
  export declare type CreateRecipientAccountAccountTypeEnum = (typeof CreateRecipientAccountAccountTypeEnum)[keyof typeof CreateRecipientAccountAccountTypeEnum];
972
- /**
973
- *
974
- * @export
975
- * @interface CreateRecipientRequest
976
- */
977
- export interface CreateRecipientRequest {
978
- /**
979
- * Recipient\'s name/nickname (note: this does not need to match the actual accountholder name of the recipient\'s account)
980
- * @type {string}
981
- * @memberof CreateRecipientRequest
982
- */
983
- name: string;
984
- /**
985
- *
986
- * @type {CreateRecipientAccount}
987
- * @memberof CreateRecipientRequest
988
- */
989
- recipient_account: CreateRecipientAccount;
990
- /**
991
- * Customer App\'s internal ID for the recipient
992
- * @type {string}
993
- * @memberof CreateRecipientRequest
994
- */
995
- user_id: string;
996
- /**
997
- * Additional attributes of the recipient in key:value format (e.g. employer_name: Apple Inc for a payroll case where recipient is an employee)
998
- * @type {{ [key: string]: string; }}
999
- * @memberof CreateRecipientRequest
1000
- */
1001
- metadata?: {
1002
- [key: string]: string;
1003
- };
1004
- }
1005
- /**
1006
- *
1007
- * @export
1008
- * @interface CreateSenderAccountRequest
1009
- */
1010
- export interface CreateSenderAccountRequest {
1011
- /**
1012
- * Accountholder name of the sender\'s account
1013
- * @type {string}
1014
- * @memberof CreateSenderAccountRequest
1015
- */
1016
- accountholder_name: string;
1017
- /**
1018
- *
1019
- * @type {RecipientAccountNumber}
1020
- * @memberof CreateSenderAccountRequest
1021
- */
1022
- account_number: RecipientAccountNumber;
1023
- /**
1024
- * Type of sender account.
1025
- * @type {string}
1026
- * @memberof CreateSenderAccountRequest
1027
- */
1028
- account_type: CreateSenderAccountRequestAccountTypeEnum;
1029
- /**
1030
- * Finverse Institution ID for the sender’s institution.
1031
- * @type {string}
1032
- * @memberof CreateSenderAccountRequest
1033
- */
1034
- institution_id: string;
1035
- /**
1036
- * A unique identifier generated after creating sender
1037
- * @type {string}
1038
- * @memberof CreateSenderAccountRequest
1039
- */
1040
- sender_id: string;
1041
- /**
1042
- * Additional attributes of the sender account in key:value format (e.g. sender_id: 1234). It supports up to 10 key:value pairs, whereas the key and value supports up to 50 and 500 characters respectively.
1043
- * @type {{ [key: string]: string; }}
1044
- * @memberof CreateSenderAccountRequest
1045
- */
1046
- metadata?: {
1047
- [key: string]: string;
1048
- };
1049
- }
1050
- export declare const CreateSenderAccountRequestAccountTypeEnum: {
1051
- readonly ExternalAccount: "EXTERNAL_ACCOUNT";
1052
- };
1053
- export declare type CreateSenderAccountRequestAccountTypeEnum = (typeof CreateSenderAccountRequestAccountTypeEnum)[keyof typeof CreateSenderAccountRequestAccountTypeEnum];
1054
- /**
1055
- *
1056
- * @export
1057
- * @interface CreateSenderRequest
1058
- */
1059
- export interface CreateSenderRequest {
1060
- /**
1061
- * Sender’s name/nickname (note: this does not need to match the actual accountholder name of the sender’s account)
1062
- * @type {string}
1063
- * @memberof CreateSenderRequest
1064
- */
1065
- name: string;
1066
- /**
1067
- * Customer App\'s internal ID for the sender
1068
- * @type {string}
1069
- * @memberof CreateSenderRequest
1070
- */
1071
- user_id: string;
1072
- /**
1073
- * Sender details which will be used for fraud checking.
1074
- * @type {Array<SenderDetail>}
1075
- * @memberof CreateSenderRequest
1076
- */
1077
- sender_details?: Array<SenderDetail>;
1078
- /**
1079
- * Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
1080
- * @type {string}
1081
- * @memberof CreateSenderRequest
1082
- */
1083
- sender_type: CreateSenderRequestSenderTypeEnum;
1084
- /**
1085
- * Additional attributes of the sender in key:value format (e.g. employer_name: Apple Inc for a payroll case where sender is an employee)
1086
- * @type {{ [key: string]: string; }}
1087
- * @memberof CreateSenderRequest
1088
- */
1089
- metadata?: {
1090
- [key: string]: string;
1091
- };
1092
- }
1093
- export declare const CreateSenderRequestSenderTypeEnum: {
1094
- readonly Individual: "INDIVIDUAL";
1095
- readonly Business: "BUSINESS";
1096
- };
1097
- export declare type CreateSenderRequestSenderTypeEnum = (typeof CreateSenderRequestSenderTypeEnum)[keyof typeof CreateSenderRequestSenderTypeEnum];
1098
978
  /**
1099
979
  *
1100
980
  * @export
@@ -1767,6 +1647,12 @@ export interface GetMandateResponse {
1767
1647
  * @memberof GetMandateResponse
1768
1648
  */
1769
1649
  recipient: MandateRecipient;
1650
+ /**
1651
+ *
1652
+ * @type {MandateRecipientAccount}
1653
+ * @memberof GetMandateResponse
1654
+ */
1655
+ recipient_account?: MandateRecipientAccount;
1770
1656
  /**
1771
1657
  *
1772
1658
  * @type {GetMandateSender}
@@ -3502,13 +3388,31 @@ export interface MandateRecipient {
3502
3388
  * @memberof MandateRecipient
3503
3389
  */
3504
3390
  name: string;
3391
+ }
3392
+ /**
3393
+ *
3394
+ * @export
3395
+ * @interface MandateRecipientAccount
3396
+ */
3397
+ export interface MandateRecipientAccount {
3505
3398
  /**
3506
3399
  * Merchant account ID assigned by Finverse
3507
3400
  * @type {string}
3508
- * @memberof MandateRecipient
3401
+ * @memberof MandateRecipientAccount
3509
3402
  */
3510
- recipient_account_id: string;
3403
+ account_id: string;
3404
+ /**
3405
+ * Type of recipient account.
3406
+ * @type {string}
3407
+ * @memberof MandateRecipientAccount
3408
+ */
3409
+ account_type: MandateRecipientAccountAccountTypeEnum;
3511
3410
  }
3411
+ export declare const MandateRecipientAccountAccountTypeEnum: {
3412
+ readonly ExternalAccount: "EXTERNAL_ACCOUNT";
3413
+ readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
3414
+ };
3415
+ export declare type MandateRecipientAccountAccountTypeEnum = (typeof MandateRecipientAccountAccountTypeEnum)[keyof typeof MandateRecipientAccountAccountTypeEnum];
3512
3416
  /**
3513
3417
  *
3514
3418
  * @export
@@ -3533,7 +3437,7 @@ export interface MandateSenderAccount {
3533
3437
  * @type {string}
3534
3438
  * @memberof MandateSenderAccount
3535
3439
  */
3536
- sender_account_id?: string;
3440
+ account_id?: string;
3537
3441
  /**
3538
3442
  * Accountholder name of the sender\'s account
3539
3443
  * @type {string}
@@ -3971,6 +3875,12 @@ export interface PaymentResponse {
3971
3875
  * @memberof PaymentResponse
3972
3876
  */
3973
3877
  recipient?: MandateRecipient;
3878
+ /**
3879
+ *
3880
+ * @type {MandateRecipientAccount}
3881
+ * @memberof PaymentResponse
3882
+ */
3883
+ recipient_account?: MandateRecipientAccount;
3974
3884
  /**
3975
3885
  *
3976
3886
  * @type {GetMandateSender}
@@ -4393,49 +4303,6 @@ export declare const RecipientAccountResponseAccountTypeEnum: {
4393
4303
  readonly SettlementAccount: "SETTLEMENT_ACCOUNT";
4394
4304
  };
4395
4305
  export declare type RecipientAccountResponseAccountTypeEnum = (typeof RecipientAccountResponseAccountTypeEnum)[keyof typeof RecipientAccountResponseAccountTypeEnum];
4396
- /**
4397
- *
4398
- * @export
4399
- * @interface RecipientResponse
4400
- */
4401
- export interface RecipientResponse {
4402
- /**
4403
- * Recipient\'s name/nickname (note: this does not need to match the actual accountholder name of the recipient\'s account)
4404
- * @type {string}
4405
- * @memberof RecipientResponse
4406
- */
4407
- name?: string;
4408
- /**
4409
- *
4410
- * @type {RecipientAccountResponse}
4411
- * @memberof RecipientResponse
4412
- */
4413
- recipient_account?: RecipientAccountResponse;
4414
- /**
4415
- * Customer App\'s internal ID for the recipient
4416
- * @type {string}
4417
- * @memberof RecipientResponse
4418
- */
4419
- user_id?: string;
4420
- /**
4421
- * Additional attributes of the recipient in key:value format (e.g. employer_name: Apple Inc for a payroll case where recipient is an employee)
4422
- * @type {object}
4423
- * @memberof RecipientResponse
4424
- */
4425
- metadata?: object;
4426
- /**
4427
- * Timestamp of when the recipient was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
4428
- * @type {string}
4429
- * @memberof RecipientResponse
4430
- */
4431
- created_at?: string;
4432
- /**
4433
- * Timestamp of when the recipient was last updated in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
4434
- * @type {string}
4435
- * @memberof RecipientResponse
4436
- */
4437
- updated_at?: string;
4438
- }
4439
4306
  /**
4440
4307
  *
4441
4308
  * @export
@@ -4500,86 +4367,6 @@ export interface RelinkRequest {
4500
4367
  */
4501
4368
  consent?: boolean | null;
4502
4369
  }
4503
- /**
4504
- *
4505
- * @export
4506
- * @interface SenderAccountResponse
4507
- */
4508
- export interface SenderAccountResponse {
4509
- /**
4510
- * A unique identifier generated after creating sender account
4511
- * @type {string}
4512
- * @memberof SenderAccountResponse
4513
- */
4514
- sender_account_id?: string;
4515
- /**
4516
- * Accountholder name of the sender\'s account
4517
- * @type {string}
4518
- * @memberof SenderAccountResponse
4519
- */
4520
- accountholder_name?: string;
4521
- /**
4522
- *
4523
- * @type {RecipientAccountNumber}
4524
- * @memberof SenderAccountResponse
4525
- */
4526
- account_number?: RecipientAccountNumber;
4527
- /**
4528
- * Type of sender account.
4529
- * @type {string}
4530
- * @memberof SenderAccountResponse
4531
- */
4532
- account_type?: SenderAccountResponseAccountTypeEnum;
4533
- /**
4534
- * Finverse Institution ID for the sender’s institution.
4535
- * @type {string}
4536
- * @memberof SenderAccountResponse
4537
- */
4538
- institution_id?: string;
4539
- /**
4540
- * A unique identifier generated after creating sender
4541
- * @type {string}
4542
- * @memberof SenderAccountResponse
4543
- */
4544
- sender_id?: string;
4545
- /**
4546
- * Additional attributes of the sender account in key:value format (e.g. sender_id: 1234). It supports up to 10 key:value pairs, whereas the key and value supports up to 50 and 500 characters respectively.
4547
- * @type {{ [key: string]: string; }}
4548
- * @memberof SenderAccountResponse
4549
- */
4550
- metadata?: {
4551
- [key: string]: string;
4552
- };
4553
- /**
4554
- * Timestamp of when the sender was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
4555
- * @type {string}
4556
- * @memberof SenderAccountResponse
4557
- */
4558
- created_at?: string;
4559
- /**
4560
- * Timestamp of when the sender was last updated in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
4561
- * @type {string}
4562
- * @memberof SenderAccountResponse
4563
- */
4564
- updated_at?: string;
4565
- }
4566
- export declare const SenderAccountResponseAccountTypeEnum: {
4567
- readonly ExternalAccount: "EXTERNAL_ACCOUNT";
4568
- };
4569
- export declare type SenderAccountResponseAccountTypeEnum = (typeof SenderAccountResponseAccountTypeEnum)[keyof typeof SenderAccountResponseAccountTypeEnum];
4570
- /**
4571
- *
4572
- * @export
4573
- * @interface SenderAccountsResponse
4574
- */
4575
- export interface SenderAccountsResponse {
4576
- /**
4577
- *
4578
- * @type {Array<SenderAccountResponse>}
4579
- * @memberof SenderAccountsResponse
4580
- */
4581
- sender_accounts?: Array<SenderAccountResponse>;
4582
- }
4583
4370
  /**
4584
4371
  *
4585
4372
  * @export
@@ -4606,68 +4393,6 @@ export declare const SenderDetailDetailsTypeEnum: {
4606
4393
  readonly HkCertificateOfIncorporation: "HK_CERTIFICATE_OF_INCORPORATION";
4607
4394
  };
4608
4395
  export declare type SenderDetailDetailsTypeEnum = (typeof SenderDetailDetailsTypeEnum)[keyof typeof SenderDetailDetailsTypeEnum];
4609
- /**
4610
- *
4611
- * @export
4612
- * @interface SenderResponse
4613
- */
4614
- export interface SenderResponse {
4615
- /**
4616
- * A unique identifier generated after creating sender
4617
- * @type {string}
4618
- * @memberof SenderResponse
4619
- */
4620
- sender_id?: string;
4621
- /**
4622
- * Customer App\'s internal ID for the sender
4623
- * @type {string}
4624
- * @memberof SenderResponse
4625
- */
4626
- user_id?: string;
4627
- /**
4628
- * Sender’s name/nickname (note: this does not need to match the actual accountholder name of the sender’s account)
4629
- * @type {string}
4630
- * @memberof SenderResponse
4631
- */
4632
- name?: string;
4633
- /**
4634
- * Sender details which will be used for fraud checking.
4635
- * @type {Array<SenderDetail>}
4636
- * @memberof SenderResponse
4637
- */
4638
- sender_details?: Array<SenderDetail>;
4639
- /**
4640
- * Type of account held by the Sender at the Institution. Possible values are INDIVIDUAL, BUSINESS
4641
- * @type {string}
4642
- * @memberof SenderResponse
4643
- */
4644
- sender_type?: SenderResponseSenderTypeEnum;
4645
- /**
4646
- * Additional attributes of the sender in key:value format (e.g. employer_name: Apple Inc for a payroll case where sender is an employee)
4647
- * @type {{ [key: string]: string; }}
4648
- * @memberof SenderResponse
4649
- */
4650
- metadata?: {
4651
- [key: string]: string;
4652
- };
4653
- /**
4654
- * Timestamp of when the sender was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
4655
- * @type {string}
4656
- * @memberof SenderResponse
4657
- */
4658
- created_at?: string;
4659
- /**
4660
- * Timestamp of when the sender was last updated in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
4661
- * @type {string}
4662
- * @memberof SenderResponse
4663
- */
4664
- updated_at?: string;
4665
- }
4666
- export declare const SenderResponseSenderTypeEnum: {
4667
- readonly Individual: "INDIVIDUAL";
4668
- readonly Business: "BUSINESS";
4669
- };
4670
- export declare type SenderResponseSenderTypeEnum = (typeof SenderResponseSenderTypeEnum)[keyof typeof SenderResponseSenderTypeEnum];
4671
4396
  /**
4672
4397
  *
4673
4398
  * @export
@@ -5240,41 +4965,6 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
5240
4965
  * @throws {RequiredError}
5241
4966
  */
5242
4967
  createPayoutInstruction: (createPayoutInstructionRequest: CreatePayoutInstructionRequest, idempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5243
- /**
5244
- * Create Recipients
5245
- * @param {CreateRecipientRequest} createRecipientRequest request body for creating recipient
5246
- * @param {*} [options] Override http request option.
5247
- * @throws {RequiredError}
5248
- */
5249
- createRecipient: (createRecipientRequest: CreateRecipientRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5250
- /**
5251
- * Create Sender
5252
- * @param {CreateSenderRequest} createSenderRequest request body for creating sender
5253
- * @param {*} [options] Override http request option.
5254
- * @throws {RequiredError}
5255
- */
5256
- createSender: (createSenderRequest: CreateSenderRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5257
- /**
5258
- * Create Sender Account
5259
- * @param {CreateSenderAccountRequest} createSenderAccountRequest request body for creating senderAccount
5260
- * @param {*} [options] Override http request option.
5261
- * @throws {RequiredError}
5262
- */
5263
- createSenderAccount: (createSenderAccountRequest: CreateSenderAccountRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5264
- /**
5265
- * Delete Recipient
5266
- * @param {string} recipientAccountId The institution id
5267
- * @param {*} [options] Override http request option.
5268
- * @throws {RequiredError}
5269
- */
5270
- deleteRecipient: (recipientAccountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5271
- /**
5272
- * Delete Sender Account
5273
- * @param {string} senderAccountId The sender account id
5274
- * @param {*} [options] Override http request option.
5275
- * @throws {RequiredError}
5276
- */
5277
- deleteSenderAccount: (senderAccountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5278
4968
  /**
5279
4969
  * generate a link token that can be used to create link
5280
4970
  * @param {LinkTokenRequest} linkTokenRequest token request
@@ -5344,27 +5034,6 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
5344
5034
  * @throws {RequiredError}
5345
5035
  */
5346
5036
  getPayoutInstruction: (payoutInstructionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5347
- /**
5348
- * Get Recipient
5349
- * @param {string} recipientAccountId The institution id
5350
- * @param {*} [options] Override http request option.
5351
- * @throws {RequiredError}
5352
- */
5353
- getRecipient: (recipientAccountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5354
- /**
5355
- * Get Sender
5356
- * @param {string} senderId The sender id
5357
- * @param {*} [options] Override http request option.
5358
- * @throws {RequiredError}
5359
- */
5360
- getSender: (senderId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5361
- /**
5362
- * Get Sender Accounts associated with a senderId
5363
- * @param {string} senderId The sender id
5364
- * @param {*} [options] Override http request option.
5365
- * @throws {RequiredError}
5366
- */
5367
- getSenderAccounts: (senderId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5368
5037
  /**
5369
5038
  * Get a list of institutions
5370
5039
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -5440,41 +5109,6 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
5440
5109
  * @throws {RequiredError}
5441
5110
  */
5442
5111
  createPayoutInstruction(createPayoutInstructionRequest: CreatePayoutInstructionRequest, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutInstructionResponse>>;
5443
- /**
5444
- * Create Recipients
5445
- * @param {CreateRecipientRequest} createRecipientRequest request body for creating recipient
5446
- * @param {*} [options] Override http request option.
5447
- * @throws {RequiredError}
5448
- */
5449
- createRecipient(createRecipientRequest: CreateRecipientRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RecipientResponse>>;
5450
- /**
5451
- * Create Sender
5452
- * @param {CreateSenderRequest} createSenderRequest request body for creating sender
5453
- * @param {*} [options] Override http request option.
5454
- * @throws {RequiredError}
5455
- */
5456
- createSender(createSenderRequest: CreateSenderRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SenderResponse>>;
5457
- /**
5458
- * Create Sender Account
5459
- * @param {CreateSenderAccountRequest} createSenderAccountRequest request body for creating senderAccount
5460
- * @param {*} [options] Override http request option.
5461
- * @throws {RequiredError}
5462
- */
5463
- createSenderAccount(createSenderAccountRequest: CreateSenderAccountRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SenderAccountResponse>>;
5464
- /**
5465
- * Delete Recipient
5466
- * @param {string} recipientAccountId The institution id
5467
- * @param {*} [options] Override http request option.
5468
- * @throws {RequiredError}
5469
- */
5470
- deleteRecipient(recipientAccountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5471
- /**
5472
- * Delete Sender Account
5473
- * @param {string} senderAccountId The sender account id
5474
- * @param {*} [options] Override http request option.
5475
- * @throws {RequiredError}
5476
- */
5477
- deleteSenderAccount(senderAccountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
5478
5112
  /**
5479
5113
  * generate a link token that can be used to create link
5480
5114
  * @param {LinkTokenRequest} linkTokenRequest token request
@@ -5544,27 +5178,6 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
5544
5178
  * @throws {RequiredError}
5545
5179
  */
5546
5180
  getPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutInstructionResponse>>;
5547
- /**
5548
- * Get Recipient
5549
- * @param {string} recipientAccountId The institution id
5550
- * @param {*} [options] Override http request option.
5551
- * @throws {RequiredError}
5552
- */
5553
- getRecipient(recipientAccountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RecipientResponse>>;
5554
- /**
5555
- * Get Sender
5556
- * @param {string} senderId The sender id
5557
- * @param {*} [options] Override http request option.
5558
- * @throws {RequiredError}
5559
- */
5560
- getSender(senderId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SenderResponse>>;
5561
- /**
5562
- * Get Sender Accounts associated with a senderId
5563
- * @param {string} senderId The sender id
5564
- * @param {*} [options] Override http request option.
5565
- * @throws {RequiredError}
5566
- */
5567
- getSenderAccounts(senderId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SenderAccountsResponse>>;
5568
5181
  /**
5569
5182
  * Get a list of institutions
5570
5183
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -5640,41 +5253,6 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
5640
5253
  * @throws {RequiredError}
5641
5254
  */
5642
5255
  createPayoutInstruction(createPayoutInstructionRequest: CreatePayoutInstructionRequest, idempotencyKey?: string, options?: any): AxiosPromise<PayoutInstructionResponse>;
5643
- /**
5644
- * Create Recipients
5645
- * @param {CreateRecipientRequest} createRecipientRequest request body for creating recipient
5646
- * @param {*} [options] Override http request option.
5647
- * @throws {RequiredError}
5648
- */
5649
- createRecipient(createRecipientRequest: CreateRecipientRequest, options?: any): AxiosPromise<RecipientResponse>;
5650
- /**
5651
- * Create Sender
5652
- * @param {CreateSenderRequest} createSenderRequest request body for creating sender
5653
- * @param {*} [options] Override http request option.
5654
- * @throws {RequiredError}
5655
- */
5656
- createSender(createSenderRequest: CreateSenderRequest, options?: any): AxiosPromise<SenderResponse>;
5657
- /**
5658
- * Create Sender Account
5659
- * @param {CreateSenderAccountRequest} createSenderAccountRequest request body for creating senderAccount
5660
- * @param {*} [options] Override http request option.
5661
- * @throws {RequiredError}
5662
- */
5663
- createSenderAccount(createSenderAccountRequest: CreateSenderAccountRequest, options?: any): AxiosPromise<SenderAccountResponse>;
5664
- /**
5665
- * Delete Recipient
5666
- * @param {string} recipientAccountId The institution id
5667
- * @param {*} [options] Override http request option.
5668
- * @throws {RequiredError}
5669
- */
5670
- deleteRecipient(recipientAccountId: string, options?: any): AxiosPromise<void>;
5671
- /**
5672
- * Delete Sender Account
5673
- * @param {string} senderAccountId The sender account id
5674
- * @param {*} [options] Override http request option.
5675
- * @throws {RequiredError}
5676
- */
5677
- deleteSenderAccount(senderAccountId: string, options?: any): AxiosPromise<void>;
5678
5256
  /**
5679
5257
  * generate a link token that can be used to create link
5680
5258
  * @param {LinkTokenRequest} linkTokenRequest token request
@@ -5744,27 +5322,6 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
5744
5322
  * @throws {RequiredError}
5745
5323
  */
5746
5324
  getPayoutInstruction(payoutInstructionId: string, options?: any): AxiosPromise<PayoutInstructionResponse>;
5747
- /**
5748
- * Get Recipient
5749
- * @param {string} recipientAccountId The institution id
5750
- * @param {*} [options] Override http request option.
5751
- * @throws {RequiredError}
5752
- */
5753
- getRecipient(recipientAccountId: string, options?: any): AxiosPromise<RecipientResponse>;
5754
- /**
5755
- * Get Sender
5756
- * @param {string} senderId The sender id
5757
- * @param {*} [options] Override http request option.
5758
- * @throws {RequiredError}
5759
- */
5760
- getSender(senderId: string, options?: any): AxiosPromise<SenderResponse>;
5761
- /**
5762
- * Get Sender Accounts associated with a senderId
5763
- * @param {string} senderId The sender id
5764
- * @param {*} [options] Override http request option.
5765
- * @throws {RequiredError}
5766
- */
5767
- getSenderAccounts(senderId: string, options?: any): AxiosPromise<SenderAccountsResponse>;
5768
5325
  /**
5769
5326
  * Get a list of institutions
5770
5327
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -5846,46 +5403,6 @@ export interface CustomerApiInterface {
5846
5403
  * @memberof CustomerApiInterface
5847
5404
  */
5848
5405
  createPayoutInstruction(createPayoutInstructionRequest: CreatePayoutInstructionRequest, idempotencyKey?: string, options?: AxiosRequestConfig): AxiosPromise<PayoutInstructionResponse>;
5849
- /**
5850
- * Create Recipients
5851
- * @param {CreateRecipientRequest} createRecipientRequest request body for creating recipient
5852
- * @param {*} [options] Override http request option.
5853
- * @throws {RequiredError}
5854
- * @memberof CustomerApiInterface
5855
- */
5856
- createRecipient(createRecipientRequest: CreateRecipientRequest, options?: AxiosRequestConfig): AxiosPromise<RecipientResponse>;
5857
- /**
5858
- * Create Sender
5859
- * @param {CreateSenderRequest} createSenderRequest request body for creating sender
5860
- * @param {*} [options] Override http request option.
5861
- * @throws {RequiredError}
5862
- * @memberof CustomerApiInterface
5863
- */
5864
- createSender(createSenderRequest: CreateSenderRequest, options?: AxiosRequestConfig): AxiosPromise<SenderResponse>;
5865
- /**
5866
- * Create Sender Account
5867
- * @param {CreateSenderAccountRequest} createSenderAccountRequest request body for creating senderAccount
5868
- * @param {*} [options] Override http request option.
5869
- * @throws {RequiredError}
5870
- * @memberof CustomerApiInterface
5871
- */
5872
- createSenderAccount(createSenderAccountRequest: CreateSenderAccountRequest, options?: AxiosRequestConfig): AxiosPromise<SenderAccountResponse>;
5873
- /**
5874
- * Delete Recipient
5875
- * @param {string} recipientAccountId The institution id
5876
- * @param {*} [options] Override http request option.
5877
- * @throws {RequiredError}
5878
- * @memberof CustomerApiInterface
5879
- */
5880
- deleteRecipient(recipientAccountId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
5881
- /**
5882
- * Delete Sender Account
5883
- * @param {string} senderAccountId The sender account id
5884
- * @param {*} [options] Override http request option.
5885
- * @throws {RequiredError}
5886
- * @memberof CustomerApiInterface
5887
- */
5888
- deleteSenderAccount(senderAccountId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
5889
5406
  /**
5890
5407
  * generate a link token that can be used to create link
5891
5408
  * @param {LinkTokenRequest} linkTokenRequest token request
@@ -5965,30 +5482,6 @@ export interface CustomerApiInterface {
5965
5482
  * @memberof CustomerApiInterface
5966
5483
  */
5967
5484
  getPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): AxiosPromise<PayoutInstructionResponse>;
5968
- /**
5969
- * Get Recipient
5970
- * @param {string} recipientAccountId The institution id
5971
- * @param {*} [options] Override http request option.
5972
- * @throws {RequiredError}
5973
- * @memberof CustomerApiInterface
5974
- */
5975
- getRecipient(recipientAccountId: string, options?: AxiosRequestConfig): AxiosPromise<RecipientResponse>;
5976
- /**
5977
- * Get Sender
5978
- * @param {string} senderId The sender id
5979
- * @param {*} [options] Override http request option.
5980
- * @throws {RequiredError}
5981
- * @memberof CustomerApiInterface
5982
- */
5983
- getSender(senderId: string, options?: AxiosRequestConfig): AxiosPromise<SenderResponse>;
5984
- /**
5985
- * Get Sender Accounts associated with a senderId
5986
- * @param {string} senderId The sender id
5987
- * @param {*} [options] Override http request option.
5988
- * @throws {RequiredError}
5989
- * @memberof CustomerApiInterface
5990
- */
5991
- getSenderAccounts(senderId: string, options?: AxiosRequestConfig): AxiosPromise<SenderAccountsResponse>;
5992
5485
  /**
5993
5486
  * Get a list of institutions
5994
5487
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -6075,46 +5568,6 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
6075
5568
  * @memberof CustomerApi
6076
5569
  */
6077
5570
  createPayoutInstruction(createPayoutInstructionRequest: CreatePayoutInstructionRequest, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutInstructionResponse>>;
6078
- /**
6079
- * Create Recipients
6080
- * @param {CreateRecipientRequest} createRecipientRequest request body for creating recipient
6081
- * @param {*} [options] Override http request option.
6082
- * @throws {RequiredError}
6083
- * @memberof CustomerApi
6084
- */
6085
- createRecipient(createRecipientRequest: CreateRecipientRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RecipientResponse>>;
6086
- /**
6087
- * Create Sender
6088
- * @param {CreateSenderRequest} createSenderRequest request body for creating sender
6089
- * @param {*} [options] Override http request option.
6090
- * @throws {RequiredError}
6091
- * @memberof CustomerApi
6092
- */
6093
- createSender(createSenderRequest: CreateSenderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SenderResponse>>;
6094
- /**
6095
- * Create Sender Account
6096
- * @param {CreateSenderAccountRequest} createSenderAccountRequest request body for creating senderAccount
6097
- * @param {*} [options] Override http request option.
6098
- * @throws {RequiredError}
6099
- * @memberof CustomerApi
6100
- */
6101
- createSenderAccount(createSenderAccountRequest: CreateSenderAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SenderAccountResponse>>;
6102
- /**
6103
- * Delete Recipient
6104
- * @param {string} recipientAccountId The institution id
6105
- * @param {*} [options] Override http request option.
6106
- * @throws {RequiredError}
6107
- * @memberof CustomerApi
6108
- */
6109
- deleteRecipient(recipientAccountId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
6110
- /**
6111
- * Delete Sender Account
6112
- * @param {string} senderAccountId The sender account id
6113
- * @param {*} [options] Override http request option.
6114
- * @throws {RequiredError}
6115
- * @memberof CustomerApi
6116
- */
6117
- deleteSenderAccount(senderAccountId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
6118
5571
  /**
6119
5572
  * generate a link token that can be used to create link
6120
5573
  * @param {LinkTokenRequest} linkTokenRequest token request
@@ -6194,30 +5647,6 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
6194
5647
  * @memberof CustomerApi
6195
5648
  */
6196
5649
  getPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutInstructionResponse>>;
6197
- /**
6198
- * Get Recipient
6199
- * @param {string} recipientAccountId The institution id
6200
- * @param {*} [options] Override http request option.
6201
- * @throws {RequiredError}
6202
- * @memberof CustomerApi
6203
- */
6204
- getRecipient(recipientAccountId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RecipientResponse>>;
6205
- /**
6206
- * Get Sender
6207
- * @param {string} senderId The sender id
6208
- * @param {*} [options] Override http request option.
6209
- * @throws {RequiredError}
6210
- * @memberof CustomerApi
6211
- */
6212
- getSender(senderId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SenderResponse>>;
6213
- /**
6214
- * Get Sender Accounts associated with a senderId
6215
- * @param {string} senderId The sender id
6216
- * @param {*} [options] Override http request option.
6217
- * @throws {RequiredError}
6218
- * @memberof CustomerApi
6219
- */
6220
- getSenderAccounts(senderId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SenderAccountsResponse>>;
6221
5650
  /**
6222
5651
  * Get a list of institutions
6223
5652
  * @param {string} [country] (Deprecated) The country the institution belongs to