@finverse/sdk-typescript 0.0.87 → 0.0.89

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 +136 -36
  2. package/dist/api.js +126 -0
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -897,42 +897,12 @@ export interface CreateRecipientRequest {
897
897
  * @interface CreateRecipientResponse
898
898
  */
899
899
  export interface CreateRecipientResponse {
900
- /**
901
- * A unique identifier generated after creating recipient
902
- * @type {string}
903
- * @memberof CreateRecipientResponse
904
- */
905
- recipient_account_id?: string;
906
- /**
907
- * Recipient\'s name/nickname (note: this does not need to match the actual accountholder name of the recipient\'s account)
908
- * @type {string}
909
- * @memberof CreateRecipientResponse
910
- */
911
- name: string;
912
900
  /**
913
901
  *
914
- * @type {RecipientAccount}
915
- * @memberof CreateRecipientResponse
916
- */
917
- recipient_account: RecipientAccount;
918
- /**
919
- * Customer App\'s internal ID for the recipient
920
- * @type {string}
921
- * @memberof CreateRecipientResponse
922
- */
923
- user_id?: string;
924
- /**
925
- * Additional attributes of the recipient in key:value format (e.g. employer_name: Apple Inc for a payroll case where recipient is an employee)
926
- * @type {object}
927
- * @memberof CreateRecipientResponse
928
- */
929
- metadata?: object;
930
- /**
931
- * Timestamp in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
932
- * @type {string}
902
+ * @type {RecipientResponse}
933
903
  * @memberof CreateRecipientResponse
934
904
  */
935
- last_update?: string;
905
+ recipient?: RecipientResponse;
936
906
  }
937
907
  /**
938
908
  *
@@ -1629,6 +1599,19 @@ export interface GetPaymentInstructionsResponse {
1629
1599
  */
1630
1600
  payment_instruction?: PaymentInstruction;
1631
1601
  }
1602
+ /**
1603
+ *
1604
+ * @export
1605
+ * @interface GetRecipientResponse
1606
+ */
1607
+ export interface GetRecipientResponse {
1608
+ /**
1609
+ *
1610
+ * @type {RecipientResponse}
1611
+ * @memberof GetRecipientResponse
1612
+ */
1613
+ recipient?: RecipientResponse;
1614
+ }
1632
1615
  /**
1633
1616
  *
1634
1617
  * @export
@@ -3938,6 +3921,49 @@ export declare const RecipientAccountNumberTypeEnum: {
3938
3921
  readonly Iban: "IBAN";
3939
3922
  };
3940
3923
  export declare type RecipientAccountNumberTypeEnum = typeof RecipientAccountNumberTypeEnum[keyof typeof RecipientAccountNumberTypeEnum];
3924
+ /**
3925
+ *
3926
+ * @export
3927
+ * @interface RecipientResponse
3928
+ */
3929
+ export interface RecipientResponse {
3930
+ /**
3931
+ * A unique identifier generated after creating recipient
3932
+ * @type {string}
3933
+ * @memberof RecipientResponse
3934
+ */
3935
+ recipient_account_id?: string;
3936
+ /**
3937
+ * Recipient\'s name/nickname (note: this does not need to match the actual accountholder name of the recipient\'s account)
3938
+ * @type {string}
3939
+ * @memberof RecipientResponse
3940
+ */
3941
+ name: string;
3942
+ /**
3943
+ *
3944
+ * @type {RecipientAccount}
3945
+ * @memberof RecipientResponse
3946
+ */
3947
+ recipient_account: RecipientAccount;
3948
+ /**
3949
+ * Customer App\'s internal ID for the recipient
3950
+ * @type {string}
3951
+ * @memberof RecipientResponse
3952
+ */
3953
+ user_id?: string;
3954
+ /**
3955
+ * Additional attributes of the recipient in key:value format (e.g. employer_name: Apple Inc for a payroll case where recipient is an employee)
3956
+ * @type {object}
3957
+ * @memberof RecipientResponse
3958
+ */
3959
+ metadata?: object;
3960
+ /**
3961
+ * Timestamp in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
3962
+ * @type {string}
3963
+ * @memberof RecipientResponse
3964
+ */
3965
+ last_update?: string;
3966
+ }
3941
3967
  /**
3942
3968
  *
3943
3969
  * @export
@@ -4613,6 +4639,13 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
4613
4639
  * @throws {RequiredError}
4614
4640
  */
4615
4641
  createRecipient: (createRecipientRequest: CreateRecipientRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4642
+ /**
4643
+ * Delete Recipient
4644
+ * @param {string} recipientAccountId The institution id
4645
+ * @param {*} [options] Override http request option.
4646
+ * @throws {RequiredError}
4647
+ */
4648
+ deleteRecipient: (recipientAccountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4616
4649
  /**
4617
4650
  * generate a link token that can be used to create link
4618
4651
  * @param {LinkTokenRequest} linkTokenRequest token request
@@ -4682,6 +4715,13 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
4682
4715
  * @throws {RequiredError}
4683
4716
  */
4684
4717
  getPayoutInstruction: (payoutInstructionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4718
+ /**
4719
+ * Get Recipient
4720
+ * @param {string} recipientAccountId The institution id
4721
+ * @param {*} [options] Override http request option.
4722
+ * @throws {RequiredError}
4723
+ */
4724
+ getRecipient: (recipientAccountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4685
4725
  /**
4686
4726
  * Get a list of institutions
4687
4727
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -4725,7 +4765,7 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
4725
4765
  * @param {*} [options] Override http request option.
4726
4766
  * @throws {RequiredError}
4727
4767
  */
4728
- cancelPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4768
+ cancelPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutInstructionResponse>>;
4729
4769
  /**
4730
4770
  * CREATE Mandate
4731
4771
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
@@ -4764,6 +4804,13 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
4764
4804
  * @throws {RequiredError}
4765
4805
  */
4766
4806
  createRecipient(createRecipientRequest: CreateRecipientRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateRecipientResponse>>;
4807
+ /**
4808
+ * Delete Recipient
4809
+ * @param {string} recipientAccountId The institution id
4810
+ * @param {*} [options] Override http request option.
4811
+ * @throws {RequiredError}
4812
+ */
4813
+ deleteRecipient(recipientAccountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4767
4814
  /**
4768
4815
  * generate a link token that can be used to create link
4769
4816
  * @param {LinkTokenRequest} linkTokenRequest token request
@@ -4833,6 +4880,13 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
4833
4880
  * @throws {RequiredError}
4834
4881
  */
4835
4882
  getPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutInstructionResponse>>;
4883
+ /**
4884
+ * Get Recipient
4885
+ * @param {string} recipientAccountId The institution id
4886
+ * @param {*} [options] Override http request option.
4887
+ * @throws {RequiredError}
4888
+ */
4889
+ getRecipient(recipientAccountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRecipientResponse>>;
4836
4890
  /**
4837
4891
  * Get a list of institutions
4838
4892
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -4876,7 +4930,7 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
4876
4930
  * @param {*} [options] Override http request option.
4877
4931
  * @throws {RequiredError}
4878
4932
  */
4879
- cancelPayoutInstruction(payoutInstructionId: string, options?: any): AxiosPromise<void>;
4933
+ cancelPayoutInstruction(payoutInstructionId: string, options?: any): AxiosPromise<PayoutInstructionResponse>;
4880
4934
  /**
4881
4935
  * CREATE Mandate
4882
4936
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
@@ -4915,6 +4969,13 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
4915
4969
  * @throws {RequiredError}
4916
4970
  */
4917
4971
  createRecipient(createRecipientRequest: CreateRecipientRequest, options?: any): AxiosPromise<CreateRecipientResponse>;
4972
+ /**
4973
+ * Delete Recipient
4974
+ * @param {string} recipientAccountId The institution id
4975
+ * @param {*} [options] Override http request option.
4976
+ * @throws {RequiredError}
4977
+ */
4978
+ deleteRecipient(recipientAccountId: string, options?: any): AxiosPromise<void>;
4918
4979
  /**
4919
4980
  * generate a link token that can be used to create link
4920
4981
  * @param {LinkTokenRequest} linkTokenRequest token request
@@ -4984,6 +5045,13 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
4984
5045
  * @throws {RequiredError}
4985
5046
  */
4986
5047
  getPayoutInstruction(payoutInstructionId: string, options?: any): AxiosPromise<PayoutInstructionResponse>;
5048
+ /**
5049
+ * Get Recipient
5050
+ * @param {string} recipientAccountId The institution id
5051
+ * @param {*} [options] Override http request option.
5052
+ * @throws {RequiredError}
5053
+ */
5054
+ getRecipient(recipientAccountId: string, options?: any): AxiosPromise<GetRecipientResponse>;
4987
5055
  /**
4988
5056
  * Get a list of institutions
4989
5057
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -5029,7 +5097,7 @@ export interface CustomerApiInterface {
5029
5097
  * @throws {RequiredError}
5030
5098
  * @memberof CustomerApiInterface
5031
5099
  */
5032
- cancelPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
5100
+ cancelPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): AxiosPromise<PayoutInstructionResponse>;
5033
5101
  /**
5034
5102
  * CREATE Mandate
5035
5103
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
@@ -5073,6 +5141,14 @@ export interface CustomerApiInterface {
5073
5141
  * @memberof CustomerApiInterface
5074
5142
  */
5075
5143
  createRecipient(createRecipientRequest: CreateRecipientRequest, options?: AxiosRequestConfig): AxiosPromise<CreateRecipientResponse>;
5144
+ /**
5145
+ * Delete Recipient
5146
+ * @param {string} recipientAccountId The institution id
5147
+ * @param {*} [options] Override http request option.
5148
+ * @throws {RequiredError}
5149
+ * @memberof CustomerApiInterface
5150
+ */
5151
+ deleteRecipient(recipientAccountId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
5076
5152
  /**
5077
5153
  * generate a link token that can be used to create link
5078
5154
  * @param {LinkTokenRequest} linkTokenRequest token request
@@ -5152,6 +5228,14 @@ export interface CustomerApiInterface {
5152
5228
  * @memberof CustomerApiInterface
5153
5229
  */
5154
5230
  getPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): AxiosPromise<PayoutInstructionResponse>;
5231
+ /**
5232
+ * Get Recipient
5233
+ * @param {string} recipientAccountId The institution id
5234
+ * @param {*} [options] Override http request option.
5235
+ * @throws {RequiredError}
5236
+ * @memberof CustomerApiInterface
5237
+ */
5238
+ getRecipient(recipientAccountId: string, options?: AxiosRequestConfig): AxiosPromise<GetRecipientResponse>;
5155
5239
  /**
5156
5240
  * Get a list of institutions
5157
5241
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -5202,7 +5286,7 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
5202
5286
  * @throws {RequiredError}
5203
5287
  * @memberof CustomerApi
5204
5288
  */
5205
- cancelPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
5289
+ cancelPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutInstructionResponse>>;
5206
5290
  /**
5207
5291
  * CREATE Mandate
5208
5292
  * @param {CreateMandateRequest} createMandateRequest request body for creating mandate
@@ -5246,6 +5330,14 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
5246
5330
  * @memberof CustomerApi
5247
5331
  */
5248
5332
  createRecipient(createRecipientRequest: CreateRecipientRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateRecipientResponse>>;
5333
+ /**
5334
+ * Delete Recipient
5335
+ * @param {string} recipientAccountId The institution id
5336
+ * @param {*} [options] Override http request option.
5337
+ * @throws {RequiredError}
5338
+ * @memberof CustomerApi
5339
+ */
5340
+ deleteRecipient(recipientAccountId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
5249
5341
  /**
5250
5342
  * generate a link token that can be used to create link
5251
5343
  * @param {LinkTokenRequest} linkTokenRequest token request
@@ -5325,6 +5417,14 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
5325
5417
  * @memberof CustomerApi
5326
5418
  */
5327
5419
  getPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutInstructionResponse>>;
5420
+ /**
5421
+ * Get Recipient
5422
+ * @param {string} recipientAccountId The institution id
5423
+ * @param {*} [options] Override http request option.
5424
+ * @throws {RequiredError}
5425
+ * @memberof CustomerApi
5426
+ */
5427
+ getRecipient(recipientAccountId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRecipientResponse>>;
5328
5428
  /**
5329
5429
  * Get a list of institutions
5330
5430
  * @param {string} [country] (Deprecated) The country the institution belongs to
package/dist/api.js CHANGED
@@ -445,6 +445,36 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
445
445
  options: localVarRequestOptions,
446
446
  };
447
447
  }),
448
+ /**
449
+ * Delete Recipient
450
+ * @param {string} recipientAccountId The institution id
451
+ * @param {*} [options] Override http request option.
452
+ * @throws {RequiredError}
453
+ */
454
+ deleteRecipient: (recipientAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
455
+ // verify required parameter 'recipientAccountId' is not null or undefined
456
+ common_1.assertParamExists('deleteRecipient', 'recipientAccountId', recipientAccountId);
457
+ const localVarPath = `/recipients/{recipientAccountId}`.replace(`{${'recipientAccountId'}}`, encodeURIComponent(String(recipientAccountId)));
458
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
459
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
460
+ let baseOptions;
461
+ if (configuration) {
462
+ baseOptions = configuration.baseOptions;
463
+ }
464
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
465
+ const localVarHeaderParameter = {};
466
+ const localVarQueryParameter = {};
467
+ // authentication Oauth2 required
468
+ // oauth required
469
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
470
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
471
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
472
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
473
+ return {
474
+ url: common_1.toPathString(localVarUrlObj),
475
+ options: localVarRequestOptions,
476
+ };
477
+ }),
448
478
  /**
449
479
  * generate a link token that can be used to create link
450
480
  * @param {LinkTokenRequest} linkTokenRequest token request
@@ -746,6 +776,36 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
746
776
  options: localVarRequestOptions,
747
777
  };
748
778
  }),
779
+ /**
780
+ * Get Recipient
781
+ * @param {string} recipientAccountId The institution id
782
+ * @param {*} [options] Override http request option.
783
+ * @throws {RequiredError}
784
+ */
785
+ getRecipient: (recipientAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
786
+ // verify required parameter 'recipientAccountId' is not null or undefined
787
+ common_1.assertParamExists('getRecipient', 'recipientAccountId', recipientAccountId);
788
+ const localVarPath = `/recipients/{recipientAccountId}`.replace(`{${'recipientAccountId'}}`, encodeURIComponent(String(recipientAccountId)));
789
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
790
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
791
+ let baseOptions;
792
+ if (configuration) {
793
+ baseOptions = configuration.baseOptions;
794
+ }
795
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
796
+ const localVarHeaderParameter = {};
797
+ const localVarQueryParameter = {};
798
+ // authentication Oauth2 required
799
+ // oauth required
800
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
801
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
802
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
803
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
804
+ return {
805
+ url: common_1.toPathString(localVarUrlObj),
806
+ options: localVarRequestOptions,
807
+ };
808
+ }),
749
809
  /**
750
810
  * Get a list of institutions
751
811
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -969,6 +1029,18 @@ exports.CustomerApiFp = function (configuration) {
969
1029
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
970
1030
  });
971
1031
  },
1032
+ /**
1033
+ * Delete Recipient
1034
+ * @param {string} recipientAccountId The institution id
1035
+ * @param {*} [options] Override http request option.
1036
+ * @throws {RequiredError}
1037
+ */
1038
+ deleteRecipient(recipientAccountId, options) {
1039
+ return __awaiter(this, void 0, void 0, function* () {
1040
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteRecipient(recipientAccountId, options);
1041
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1042
+ });
1043
+ },
972
1044
  /**
973
1045
  * generate a link token that can be used to create link
974
1046
  * @param {LinkTokenRequest} linkTokenRequest token request
@@ -1088,6 +1160,18 @@ exports.CustomerApiFp = function (configuration) {
1088
1160
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1089
1161
  });
1090
1162
  },
1163
+ /**
1164
+ * Get Recipient
1165
+ * @param {string} recipientAccountId The institution id
1166
+ * @param {*} [options] Override http request option.
1167
+ * @throws {RequiredError}
1168
+ */
1169
+ getRecipient(recipientAccountId, options) {
1170
+ return __awaiter(this, void 0, void 0, function* () {
1171
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getRecipient(recipientAccountId, options);
1172
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1173
+ });
1174
+ },
1091
1175
  /**
1092
1176
  * Get a list of institutions
1093
1177
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -1215,6 +1299,15 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
1215
1299
  createRecipient(createRecipientRequest, options) {
1216
1300
  return localVarFp.createRecipient(createRecipientRequest, options).then((request) => request(axios, basePath));
1217
1301
  },
1302
+ /**
1303
+ * Delete Recipient
1304
+ * @param {string} recipientAccountId The institution id
1305
+ * @param {*} [options] Override http request option.
1306
+ * @throws {RequiredError}
1307
+ */
1308
+ deleteRecipient(recipientAccountId, options) {
1309
+ return localVarFp.deleteRecipient(recipientAccountId, options).then((request) => request(axios, basePath));
1310
+ },
1218
1311
  /**
1219
1312
  * generate a link token that can be used to create link
1220
1313
  * @param {LinkTokenRequest} linkTokenRequest token request
@@ -1308,6 +1401,15 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
1308
1401
  getPayoutInstruction(payoutInstructionId, options) {
1309
1402
  return localVarFp.getPayoutInstruction(payoutInstructionId, options).then((request) => request(axios, basePath));
1310
1403
  },
1404
+ /**
1405
+ * Get Recipient
1406
+ * @param {string} recipientAccountId The institution id
1407
+ * @param {*} [options] Override http request option.
1408
+ * @throws {RequiredError}
1409
+ */
1410
+ getRecipient(recipientAccountId, options) {
1411
+ return localVarFp.getRecipient(recipientAccountId, options).then((request) => request(axios, basePath));
1412
+ },
1311
1413
  /**
1312
1414
  * Get a list of institutions
1313
1415
  * @param {string} [country] (Deprecated) The country the institution belongs to
@@ -1435,6 +1537,18 @@ class CustomerApi extends base_1.BaseAPI {
1435
1537
  .createRecipient(createRecipientRequest, options)
1436
1538
  .then((request) => request(this.axios, this.basePath));
1437
1539
  }
1540
+ /**
1541
+ * Delete Recipient
1542
+ * @param {string} recipientAccountId The institution id
1543
+ * @param {*} [options] Override http request option.
1544
+ * @throws {RequiredError}
1545
+ * @memberof CustomerApi
1546
+ */
1547
+ deleteRecipient(recipientAccountId, options) {
1548
+ return exports.CustomerApiFp(this.configuration)
1549
+ .deleteRecipient(recipientAccountId, options)
1550
+ .then((request) => request(this.axios, this.basePath));
1551
+ }
1438
1552
  /**
1439
1553
  * generate a link token that can be used to create link
1440
1554
  * @param {LinkTokenRequest} linkTokenRequest token request
@@ -1554,6 +1668,18 @@ class CustomerApi extends base_1.BaseAPI {
1554
1668
  .getPayoutInstruction(payoutInstructionId, options)
1555
1669
  .then((request) => request(this.axios, this.basePath));
1556
1670
  }
1671
+ /**
1672
+ * Get Recipient
1673
+ * @param {string} recipientAccountId The institution id
1674
+ * @param {*} [options] Override http request option.
1675
+ * @throws {RequiredError}
1676
+ * @memberof CustomerApi
1677
+ */
1678
+ getRecipient(recipientAccountId, options) {
1679
+ return exports.CustomerApiFp(this.configuration)
1680
+ .getRecipient(recipientAccountId, options)
1681
+ .then((request) => request(this.axios, this.basePath));
1682
+ }
1557
1683
  /**
1558
1684
  * Get a list of institutions
1559
1685
  * @param {string} [country] (Deprecated) The country the institution belongs to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.87",
3
+ "version": "0.0.89",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [