@finverse/sdk-typescript 0.0.199 → 0.0.200
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 +69 -0
- package/dist/api.js +124 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -7180,6 +7180,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7180
7180
|
* @throws {RequiredError}
|
|
7181
7181
|
*/
|
|
7182
7182
|
getSenderPaymentUser: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7183
|
+
/**
|
|
7184
|
+
* Get sender payment user in payment link flow
|
|
7185
|
+
* @param {*} [options] Override http request option.
|
|
7186
|
+
* @throws {RequiredError}
|
|
7187
|
+
*/
|
|
7188
|
+
getSenderPaymentUserPaymentLink: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7183
7189
|
/**
|
|
7184
7190
|
* List mandates
|
|
7185
7191
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -7218,6 +7224,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7218
7224
|
* @throws {RequiredError}
|
|
7219
7225
|
*/
|
|
7220
7226
|
setAutopayConsent: (setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7227
|
+
/**
|
|
7228
|
+
* Set autopay consent for payment user
|
|
7229
|
+
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
|
7230
|
+
* @param {*} [options] Override http request option.
|
|
7231
|
+
* @throws {RequiredError}
|
|
7232
|
+
*/
|
|
7233
|
+
setAutopayConsentPaymentLink: (setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7221
7234
|
};
|
|
7222
7235
|
/**
|
|
7223
7236
|
* DefaultApi - functional programming interface
|
|
@@ -7325,6 +7338,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
7325
7338
|
* @throws {RequiredError}
|
|
7326
7339
|
*/
|
|
7327
7340
|
getSenderPaymentUser(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentUserResponse>>;
|
|
7341
|
+
/**
|
|
7342
|
+
* Get sender payment user in payment link flow
|
|
7343
|
+
* @param {*} [options] Override http request option.
|
|
7344
|
+
* @throws {RequiredError}
|
|
7345
|
+
*/
|
|
7346
|
+
getSenderPaymentUserPaymentLink(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentUserResponse>>;
|
|
7328
7347
|
/**
|
|
7329
7348
|
* List mandates
|
|
7330
7349
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -7363,6 +7382,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
7363
7382
|
* @throws {RequiredError}
|
|
7364
7383
|
*/
|
|
7365
7384
|
setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
7385
|
+
/**
|
|
7386
|
+
* Set autopay consent for payment user
|
|
7387
|
+
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
|
7388
|
+
* @param {*} [options] Override http request option.
|
|
7389
|
+
* @throws {RequiredError}
|
|
7390
|
+
*/
|
|
7391
|
+
setAutopayConsentPaymentLink(setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
7366
7392
|
};
|
|
7367
7393
|
/**
|
|
7368
7394
|
* DefaultApi - factory interface
|
|
@@ -7470,6 +7496,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
7470
7496
|
* @throws {RequiredError}
|
|
7471
7497
|
*/
|
|
7472
7498
|
getSenderPaymentUser(options?: any): AxiosPromise<GetPaymentUserResponse>;
|
|
7499
|
+
/**
|
|
7500
|
+
* Get sender payment user in payment link flow
|
|
7501
|
+
* @param {*} [options] Override http request option.
|
|
7502
|
+
* @throws {RequiredError}
|
|
7503
|
+
*/
|
|
7504
|
+
getSenderPaymentUserPaymentLink(options?: any): AxiosPromise<GetPaymentUserResponse>;
|
|
7473
7505
|
/**
|
|
7474
7506
|
* List mandates
|
|
7475
7507
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -7508,6 +7540,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
7508
7540
|
* @throws {RequiredError}
|
|
7509
7541
|
*/
|
|
7510
7542
|
setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: any): AxiosPromise<void>;
|
|
7543
|
+
/**
|
|
7544
|
+
* Set autopay consent for payment user
|
|
7545
|
+
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
|
7546
|
+
* @param {*} [options] Override http request option.
|
|
7547
|
+
* @throws {RequiredError}
|
|
7548
|
+
*/
|
|
7549
|
+
setAutopayConsentPaymentLink(setAutopayConsentRequest: SetAutopayConsentRequest, options?: any): AxiosPromise<void>;
|
|
7511
7550
|
};
|
|
7512
7551
|
/**
|
|
7513
7552
|
* DefaultApi - interface
|
|
@@ -7631,6 +7670,13 @@ export interface DefaultApiInterface {
|
|
|
7631
7670
|
* @memberof DefaultApiInterface
|
|
7632
7671
|
*/
|
|
7633
7672
|
getSenderPaymentUser(options?: AxiosRequestConfig): AxiosPromise<GetPaymentUserResponse>;
|
|
7673
|
+
/**
|
|
7674
|
+
* Get sender payment user in payment link flow
|
|
7675
|
+
* @param {*} [options] Override http request option.
|
|
7676
|
+
* @throws {RequiredError}
|
|
7677
|
+
* @memberof DefaultApiInterface
|
|
7678
|
+
*/
|
|
7679
|
+
getSenderPaymentUserPaymentLink(options?: AxiosRequestConfig): AxiosPromise<GetPaymentUserResponse>;
|
|
7634
7680
|
/**
|
|
7635
7681
|
* List mandates
|
|
7636
7682
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -7672,6 +7718,14 @@ export interface DefaultApiInterface {
|
|
|
7672
7718
|
* @memberof DefaultApiInterface
|
|
7673
7719
|
*/
|
|
7674
7720
|
setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
7721
|
+
/**
|
|
7722
|
+
* Set autopay consent for payment user
|
|
7723
|
+
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
|
7724
|
+
* @param {*} [options] Override http request option.
|
|
7725
|
+
* @throws {RequiredError}
|
|
7726
|
+
* @memberof DefaultApiInterface
|
|
7727
|
+
*/
|
|
7728
|
+
setAutopayConsentPaymentLink(setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
7675
7729
|
}
|
|
7676
7730
|
/**
|
|
7677
7731
|
* DefaultApi - object-oriented interface
|
|
@@ -7796,6 +7850,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
7796
7850
|
* @memberof DefaultApi
|
|
7797
7851
|
*/
|
|
7798
7852
|
getSenderPaymentUser(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentUserResponse>>;
|
|
7853
|
+
/**
|
|
7854
|
+
* Get sender payment user in payment link flow
|
|
7855
|
+
* @param {*} [options] Override http request option.
|
|
7856
|
+
* @throws {RequiredError}
|
|
7857
|
+
* @memberof DefaultApi
|
|
7858
|
+
*/
|
|
7859
|
+
getSenderPaymentUserPaymentLink(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentUserResponse>>;
|
|
7799
7860
|
/**
|
|
7800
7861
|
* List mandates
|
|
7801
7862
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -7837,6 +7898,14 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
7837
7898
|
* @memberof DefaultApi
|
|
7838
7899
|
*/
|
|
7839
7900
|
setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
7901
|
+
/**
|
|
7902
|
+
* Set autopay consent for payment user
|
|
7903
|
+
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
|
7904
|
+
* @param {*} [options] Override http request option.
|
|
7905
|
+
* @throws {RequiredError}
|
|
7906
|
+
* @memberof DefaultApi
|
|
7907
|
+
*/
|
|
7908
|
+
setAutopayConsentPaymentLink(setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
7840
7909
|
}
|
|
7841
7910
|
/**
|
|
7842
7911
|
* LinkApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -2319,6 +2319,33 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2319
2319
|
options: localVarRequestOptions,
|
|
2320
2320
|
};
|
|
2321
2321
|
}),
|
|
2322
|
+
/**
|
|
2323
|
+
* Get sender payment user in payment link flow
|
|
2324
|
+
* @param {*} [options] Override http request option.
|
|
2325
|
+
* @throws {RequiredError}
|
|
2326
|
+
*/
|
|
2327
|
+
getSenderPaymentUserPaymentLink: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2328
|
+
const localVarPath = `/payment_link/fvlink/payment_user/sender`;
|
|
2329
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2330
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2331
|
+
let baseOptions;
|
|
2332
|
+
if (configuration) {
|
|
2333
|
+
baseOptions = configuration.baseOptions;
|
|
2334
|
+
}
|
|
2335
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2336
|
+
const localVarHeaderParameter = {};
|
|
2337
|
+
const localVarQueryParameter = {};
|
|
2338
|
+
// authentication Oauth2 required
|
|
2339
|
+
// oauth required
|
|
2340
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2341
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2342
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2343
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2344
|
+
return {
|
|
2345
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
2346
|
+
options: localVarRequestOptions,
|
|
2347
|
+
};
|
|
2348
|
+
}),
|
|
2322
2349
|
/**
|
|
2323
2350
|
* List mandates
|
|
2324
2351
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -2485,6 +2512,38 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2485
2512
|
options: localVarRequestOptions,
|
|
2486
2513
|
};
|
|
2487
2514
|
}),
|
|
2515
|
+
/**
|
|
2516
|
+
* Set autopay consent for payment user
|
|
2517
|
+
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
|
2518
|
+
* @param {*} [options] Override http request option.
|
|
2519
|
+
* @throws {RequiredError}
|
|
2520
|
+
*/
|
|
2521
|
+
setAutopayConsentPaymentLink: (setAutopayConsentRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2522
|
+
// verify required parameter 'setAutopayConsentRequest' is not null or undefined
|
|
2523
|
+
common_1.assertParamExists('setAutopayConsentPaymentLink', 'setAutopayConsentRequest', setAutopayConsentRequest);
|
|
2524
|
+
const localVarPath = `/payment_link/fvlink/payment_user/autopay`;
|
|
2525
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2526
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2527
|
+
let baseOptions;
|
|
2528
|
+
if (configuration) {
|
|
2529
|
+
baseOptions = configuration.baseOptions;
|
|
2530
|
+
}
|
|
2531
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2532
|
+
const localVarHeaderParameter = {};
|
|
2533
|
+
const localVarQueryParameter = {};
|
|
2534
|
+
// authentication Oauth2 required
|
|
2535
|
+
// oauth required
|
|
2536
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2537
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2538
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2539
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2540
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2541
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(setAutopayConsentRequest, localVarRequestOptions, configuration);
|
|
2542
|
+
return {
|
|
2543
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
2544
|
+
options: localVarRequestOptions,
|
|
2545
|
+
};
|
|
2546
|
+
}),
|
|
2488
2547
|
};
|
|
2489
2548
|
};
|
|
2490
2549
|
/**
|
|
@@ -2670,6 +2729,17 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
2670
2729
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2671
2730
|
});
|
|
2672
2731
|
},
|
|
2732
|
+
/**
|
|
2733
|
+
* Get sender payment user in payment link flow
|
|
2734
|
+
* @param {*} [options] Override http request option.
|
|
2735
|
+
* @throws {RequiredError}
|
|
2736
|
+
*/
|
|
2737
|
+
getSenderPaymentUserPaymentLink(options) {
|
|
2738
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2739
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getSenderPaymentUserPaymentLink(options);
|
|
2740
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2741
|
+
});
|
|
2742
|
+
},
|
|
2673
2743
|
/**
|
|
2674
2744
|
* List mandates
|
|
2675
2745
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -2723,6 +2793,18 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
2723
2793
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2724
2794
|
});
|
|
2725
2795
|
},
|
|
2796
|
+
/**
|
|
2797
|
+
* Set autopay consent for payment user
|
|
2798
|
+
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
|
2799
|
+
* @param {*} [options] Override http request option.
|
|
2800
|
+
* @throws {RequiredError}
|
|
2801
|
+
*/
|
|
2802
|
+
setAutopayConsentPaymentLink(setAutopayConsentRequest, options) {
|
|
2803
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2804
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.setAutopayConsentPaymentLink(setAutopayConsentRequest, options);
|
|
2805
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2806
|
+
});
|
|
2807
|
+
},
|
|
2726
2808
|
};
|
|
2727
2809
|
};
|
|
2728
2810
|
/**
|
|
@@ -2873,6 +2955,14 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2873
2955
|
getSenderPaymentUser(options) {
|
|
2874
2956
|
return localVarFp.getSenderPaymentUser(options).then((request) => request(axios, basePath));
|
|
2875
2957
|
},
|
|
2958
|
+
/**
|
|
2959
|
+
* Get sender payment user in payment link flow
|
|
2960
|
+
* @param {*} [options] Override http request option.
|
|
2961
|
+
* @throws {RequiredError}
|
|
2962
|
+
*/
|
|
2963
|
+
getSenderPaymentUserPaymentLink(options) {
|
|
2964
|
+
return localVarFp.getSenderPaymentUserPaymentLink(options).then((request) => request(axios, basePath));
|
|
2965
|
+
},
|
|
2876
2966
|
/**
|
|
2877
2967
|
* List mandates
|
|
2878
2968
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -2923,6 +3013,17 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2923
3013
|
.setAutopayConsent(setAutopayConsentRequest, options)
|
|
2924
3014
|
.then((request) => request(axios, basePath));
|
|
2925
3015
|
},
|
|
3016
|
+
/**
|
|
3017
|
+
* Set autopay consent for payment user
|
|
3018
|
+
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
|
3019
|
+
* @param {*} [options] Override http request option.
|
|
3020
|
+
* @throws {RequiredError}
|
|
3021
|
+
*/
|
|
3022
|
+
setAutopayConsentPaymentLink(setAutopayConsentRequest, options) {
|
|
3023
|
+
return localVarFp
|
|
3024
|
+
.setAutopayConsentPaymentLink(setAutopayConsentRequest, options)
|
|
3025
|
+
.then((request) => request(axios, basePath));
|
|
3026
|
+
},
|
|
2926
3027
|
};
|
|
2927
3028
|
};
|
|
2928
3029
|
/**
|
|
@@ -3108,6 +3209,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3108
3209
|
.getSenderPaymentUser(options)
|
|
3109
3210
|
.then((request) => request(this.axios, this.basePath));
|
|
3110
3211
|
}
|
|
3212
|
+
/**
|
|
3213
|
+
* Get sender payment user in payment link flow
|
|
3214
|
+
* @param {*} [options] Override http request option.
|
|
3215
|
+
* @throws {RequiredError}
|
|
3216
|
+
* @memberof DefaultApi
|
|
3217
|
+
*/
|
|
3218
|
+
getSenderPaymentUserPaymentLink(options) {
|
|
3219
|
+
return exports.DefaultApiFp(this.configuration)
|
|
3220
|
+
.getSenderPaymentUserPaymentLink(options)
|
|
3221
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3222
|
+
}
|
|
3111
3223
|
/**
|
|
3112
3224
|
* List mandates
|
|
3113
3225
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -3161,6 +3273,18 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3161
3273
|
.setAutopayConsent(setAutopayConsentRequest, options)
|
|
3162
3274
|
.then((request) => request(this.axios, this.basePath));
|
|
3163
3275
|
}
|
|
3276
|
+
/**
|
|
3277
|
+
* Set autopay consent for payment user
|
|
3278
|
+
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
|
3279
|
+
* @param {*} [options] Override http request option.
|
|
3280
|
+
* @throws {RequiredError}
|
|
3281
|
+
* @memberof DefaultApi
|
|
3282
|
+
*/
|
|
3283
|
+
setAutopayConsentPaymentLink(setAutopayConsentRequest, options) {
|
|
3284
|
+
return exports.DefaultApiFp(this.configuration)
|
|
3285
|
+
.setAutopayConsentPaymentLink(setAutopayConsentRequest, options)
|
|
3286
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3287
|
+
}
|
|
3164
3288
|
}
|
|
3165
3289
|
exports.DefaultApi = DefaultApi;
|
|
3166
3290
|
/**
|