@finverse/sdk-typescript 0.0.92 → 0.0.94
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/api.d.ts +16 -36
- package/dist/api.js +3 -3
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -891,19 +891,6 @@ export interface CreateRecipientRequest {
|
|
|
891
891
|
[key: string]: string;
|
|
892
892
|
};
|
|
893
893
|
}
|
|
894
|
-
/**
|
|
895
|
-
*
|
|
896
|
-
* @export
|
|
897
|
-
* @interface CreateRecipientResponse
|
|
898
|
-
*/
|
|
899
|
-
export interface CreateRecipientResponse {
|
|
900
|
-
/**
|
|
901
|
-
*
|
|
902
|
-
* @type {RecipientResponse}
|
|
903
|
-
* @memberof CreateRecipientResponse
|
|
904
|
-
*/
|
|
905
|
-
recipient?: RecipientResponse;
|
|
906
|
-
}
|
|
907
894
|
/**
|
|
908
895
|
*
|
|
909
896
|
* @export
|
|
@@ -1599,19 +1586,6 @@ export interface GetPaymentInstructionsResponse {
|
|
|
1599
1586
|
*/
|
|
1600
1587
|
payment_instruction?: PaymentInstruction;
|
|
1601
1588
|
}
|
|
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
|
-
}
|
|
1615
1589
|
/**
|
|
1616
1590
|
*
|
|
1617
1591
|
* @export
|
|
@@ -3964,11 +3938,17 @@ export interface RecipientResponse {
|
|
|
3964
3938
|
*/
|
|
3965
3939
|
metadata?: object;
|
|
3966
3940
|
/**
|
|
3967
|
-
* Timestamp in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
3941
|
+
* Timestamp of when the recipient was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
3968
3942
|
* @type {string}
|
|
3969
3943
|
* @memberof RecipientResponse
|
|
3970
3944
|
*/
|
|
3971
|
-
|
|
3945
|
+
created_at?: string;
|
|
3946
|
+
/**
|
|
3947
|
+
* Timestamp of when the recipient was last updated in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
3948
|
+
* @type {string}
|
|
3949
|
+
* @memberof RecipientResponse
|
|
3950
|
+
*/
|
|
3951
|
+
updated_at?: string;
|
|
3972
3952
|
}
|
|
3973
3953
|
/**
|
|
3974
3954
|
*
|
|
@@ -4809,7 +4789,7 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
4809
4789
|
* @param {*} [options] Override http request option.
|
|
4810
4790
|
* @throws {RequiredError}
|
|
4811
4791
|
*/
|
|
4812
|
-
createRecipient(createRecipientRequest: CreateRecipientRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4792
|
+
createRecipient(createRecipientRequest: CreateRecipientRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RecipientResponse>>;
|
|
4813
4793
|
/**
|
|
4814
4794
|
* Delete Recipient
|
|
4815
4795
|
* @param {string} recipientAccountId The institution id
|
|
@@ -4892,7 +4872,7 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
4892
4872
|
* @param {*} [options] Override http request option.
|
|
4893
4873
|
* @throws {RequiredError}
|
|
4894
4874
|
*/
|
|
4895
|
-
getRecipient(recipientAccountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4875
|
+
getRecipient(recipientAccountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RecipientResponse>>;
|
|
4896
4876
|
/**
|
|
4897
4877
|
* Get a list of institutions
|
|
4898
4878
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -4974,7 +4954,7 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
4974
4954
|
* @param {*} [options] Override http request option.
|
|
4975
4955
|
* @throws {RequiredError}
|
|
4976
4956
|
*/
|
|
4977
|
-
createRecipient(createRecipientRequest: CreateRecipientRequest, options?: any): AxiosPromise<
|
|
4957
|
+
createRecipient(createRecipientRequest: CreateRecipientRequest, options?: any): AxiosPromise<RecipientResponse>;
|
|
4978
4958
|
/**
|
|
4979
4959
|
* Delete Recipient
|
|
4980
4960
|
* @param {string} recipientAccountId The institution id
|
|
@@ -5057,7 +5037,7 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
5057
5037
|
* @param {*} [options] Override http request option.
|
|
5058
5038
|
* @throws {RequiredError}
|
|
5059
5039
|
*/
|
|
5060
|
-
getRecipient(recipientAccountId: string, options?: any): AxiosPromise<
|
|
5040
|
+
getRecipient(recipientAccountId: string, options?: any): AxiosPromise<RecipientResponse>;
|
|
5061
5041
|
/**
|
|
5062
5042
|
* Get a list of institutions
|
|
5063
5043
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -5146,7 +5126,7 @@ export interface CustomerApiInterface {
|
|
|
5146
5126
|
* @throws {RequiredError}
|
|
5147
5127
|
* @memberof CustomerApiInterface
|
|
5148
5128
|
*/
|
|
5149
|
-
createRecipient(createRecipientRequest: CreateRecipientRequest, options?: AxiosRequestConfig): AxiosPromise<
|
|
5129
|
+
createRecipient(createRecipientRequest: CreateRecipientRequest, options?: AxiosRequestConfig): AxiosPromise<RecipientResponse>;
|
|
5150
5130
|
/**
|
|
5151
5131
|
* Delete Recipient
|
|
5152
5132
|
* @param {string} recipientAccountId The institution id
|
|
@@ -5241,7 +5221,7 @@ export interface CustomerApiInterface {
|
|
|
5241
5221
|
* @throws {RequiredError}
|
|
5242
5222
|
* @memberof CustomerApiInterface
|
|
5243
5223
|
*/
|
|
5244
|
-
getRecipient(recipientAccountId: string, options?: AxiosRequestConfig): AxiosPromise<
|
|
5224
|
+
getRecipient(recipientAccountId: string, options?: AxiosRequestConfig): AxiosPromise<RecipientResponse>;
|
|
5245
5225
|
/**
|
|
5246
5226
|
* Get a list of institutions
|
|
5247
5227
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -5335,7 +5315,7 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
5335
5315
|
* @throws {RequiredError}
|
|
5336
5316
|
* @memberof CustomerApi
|
|
5337
5317
|
*/
|
|
5338
|
-
createRecipient(createRecipientRequest: CreateRecipientRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
5318
|
+
createRecipient(createRecipientRequest: CreateRecipientRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RecipientResponse>>;
|
|
5339
5319
|
/**
|
|
5340
5320
|
* Delete Recipient
|
|
5341
5321
|
* @param {string} recipientAccountId The institution id
|
|
@@ -5430,7 +5410,7 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
5430
5410
|
* @throws {RequiredError}
|
|
5431
5411
|
* @memberof CustomerApi
|
|
5432
5412
|
*/
|
|
5433
|
-
getRecipient(recipientAccountId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
5413
|
+
getRecipient(recipientAccountId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RecipientResponse>>;
|
|
5434
5414
|
/**
|
|
5435
5415
|
* Get a list of institutions
|
|
5436
5416
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
package/dist/api.js
CHANGED
|
@@ -252,7 +252,7 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
252
252
|
cancelPayoutInstruction: (payoutInstructionId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
253
253
|
// verify required parameter 'payoutInstructionId' is not null or undefined
|
|
254
254
|
common_1.assertParamExists('cancelPayoutInstruction', 'payoutInstructionId', payoutInstructionId);
|
|
255
|
-
const localVarPath = `/
|
|
255
|
+
const localVarPath = `/payout_instructions/{payoutInstructionId}/cancel`.replace(`{${'payoutInstructionId'}}`, encodeURIComponent(String(payoutInstructionId)));
|
|
256
256
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
257
257
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
258
258
|
let baseOptions;
|
|
@@ -387,7 +387,7 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
387
387
|
createPayoutInstruction: (createPayoutInstructionRequest, idempotencyKey, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
388
388
|
// verify required parameter 'createPayoutInstructionRequest' is not null or undefined
|
|
389
389
|
common_1.assertParamExists('createPayoutInstruction', 'createPayoutInstructionRequest', createPayoutInstructionRequest);
|
|
390
|
-
const localVarPath = `/
|
|
390
|
+
const localVarPath = `/payout_instructions`;
|
|
391
391
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
392
392
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
393
393
|
let baseOptions;
|
|
@@ -755,7 +755,7 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
755
755
|
getPayoutInstruction: (payoutInstructionId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
756
756
|
// verify required parameter 'payoutInstructionId' is not null or undefined
|
|
757
757
|
common_1.assertParamExists('getPayoutInstruction', 'payoutInstructionId', payoutInstructionId);
|
|
758
|
-
const localVarPath = `/
|
|
758
|
+
const localVarPath = `/payout_instructions/{payoutInstructionId}`.replace(`{${'payoutInstructionId'}}`, encodeURIComponent(String(payoutInstructionId)));
|
|
759
759
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
760
760
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
761
761
|
let baseOptions;
|