@finverse/sdk-typescript 0.0.198 → 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 +75 -0
- package/dist/api.js +124 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -5405,6 +5405,12 @@ export interface Principal {
|
|
|
5405
5405
|
* @memberof Principal
|
|
5406
5406
|
*/
|
|
5407
5407
|
unique_reference_id?: string;
|
|
5408
|
+
/**
|
|
5409
|
+
*
|
|
5410
|
+
* @type {string}
|
|
5411
|
+
* @memberof Principal
|
|
5412
|
+
*/
|
|
5413
|
+
payment_method_id?: string;
|
|
5408
5414
|
/**
|
|
5409
5415
|
* The qrCode text to be used to generate the image
|
|
5410
5416
|
* @type {string}
|
|
@@ -7174,6 +7180,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7174
7180
|
* @throws {RequiredError}
|
|
7175
7181
|
*/
|
|
7176
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>;
|
|
7177
7189
|
/**
|
|
7178
7190
|
* List mandates
|
|
7179
7191
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -7212,6 +7224,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7212
7224
|
* @throws {RequiredError}
|
|
7213
7225
|
*/
|
|
7214
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>;
|
|
7215
7234
|
};
|
|
7216
7235
|
/**
|
|
7217
7236
|
* DefaultApi - functional programming interface
|
|
@@ -7319,6 +7338,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
7319
7338
|
* @throws {RequiredError}
|
|
7320
7339
|
*/
|
|
7321
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>>;
|
|
7322
7347
|
/**
|
|
7323
7348
|
* List mandates
|
|
7324
7349
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -7357,6 +7382,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
7357
7382
|
* @throws {RequiredError}
|
|
7358
7383
|
*/
|
|
7359
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>>;
|
|
7360
7392
|
};
|
|
7361
7393
|
/**
|
|
7362
7394
|
* DefaultApi - factory interface
|
|
@@ -7464,6 +7496,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
7464
7496
|
* @throws {RequiredError}
|
|
7465
7497
|
*/
|
|
7466
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>;
|
|
7467
7505
|
/**
|
|
7468
7506
|
* List mandates
|
|
7469
7507
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -7502,6 +7540,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
7502
7540
|
* @throws {RequiredError}
|
|
7503
7541
|
*/
|
|
7504
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>;
|
|
7505
7550
|
};
|
|
7506
7551
|
/**
|
|
7507
7552
|
* DefaultApi - interface
|
|
@@ -7625,6 +7670,13 @@ export interface DefaultApiInterface {
|
|
|
7625
7670
|
* @memberof DefaultApiInterface
|
|
7626
7671
|
*/
|
|
7627
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>;
|
|
7628
7680
|
/**
|
|
7629
7681
|
* List mandates
|
|
7630
7682
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -7666,6 +7718,14 @@ export interface DefaultApiInterface {
|
|
|
7666
7718
|
* @memberof DefaultApiInterface
|
|
7667
7719
|
*/
|
|
7668
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>;
|
|
7669
7729
|
}
|
|
7670
7730
|
/**
|
|
7671
7731
|
* DefaultApi - object-oriented interface
|
|
@@ -7790,6 +7850,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
7790
7850
|
* @memberof DefaultApi
|
|
7791
7851
|
*/
|
|
7792
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>>;
|
|
7793
7860
|
/**
|
|
7794
7861
|
* List mandates
|
|
7795
7862
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -7831,6 +7898,14 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
7831
7898
|
* @memberof DefaultApi
|
|
7832
7899
|
*/
|
|
7833
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>>;
|
|
7834
7909
|
}
|
|
7835
7910
|
/**
|
|
7836
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
|
/**
|