@finverse/sdk-typescript 0.0.232 → 0.0.234
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 +63 -0
- package/dist/api.js +57 -0
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -5857,6 +5857,24 @@ export interface Principal {
|
|
|
5857
5857
|
* @memberof Principal
|
|
5858
5858
|
*/
|
|
5859
5859
|
payment_method_id?: string;
|
|
5860
|
+
/**
|
|
5861
|
+
*
|
|
5862
|
+
* @type {string}
|
|
5863
|
+
* @memberof Principal
|
|
5864
|
+
*/
|
|
5865
|
+
tpp_name?: string;
|
|
5866
|
+
/**
|
|
5867
|
+
*
|
|
5868
|
+
* @type {string}
|
|
5869
|
+
* @memberof Principal
|
|
5870
|
+
*/
|
|
5871
|
+
retry_url?: string;
|
|
5872
|
+
/**
|
|
5873
|
+
*
|
|
5874
|
+
* @type {string}
|
|
5875
|
+
* @memberof Principal
|
|
5876
|
+
*/
|
|
5877
|
+
onboarding_flow?: string;
|
|
5860
5878
|
/**
|
|
5861
5879
|
* The qrCode text to be used to generate the image
|
|
5862
5880
|
* @type {string}
|
|
@@ -6085,6 +6103,19 @@ export interface RefreshData {
|
|
|
6085
6103
|
*/
|
|
6086
6104
|
refresh_allowed: boolean;
|
|
6087
6105
|
}
|
|
6106
|
+
/**
|
|
6107
|
+
*
|
|
6108
|
+
* @export
|
|
6109
|
+
* @interface RefreshPaymentAttemptResponse
|
|
6110
|
+
*/
|
|
6111
|
+
export interface RefreshPaymentAttemptResponse {
|
|
6112
|
+
/**
|
|
6113
|
+
*
|
|
6114
|
+
* @type {string}
|
|
6115
|
+
* @memberof RefreshPaymentAttemptResponse
|
|
6116
|
+
*/
|
|
6117
|
+
redirect_url?: string;
|
|
6118
|
+
}
|
|
6088
6119
|
/**
|
|
6089
6120
|
*
|
|
6090
6121
|
* @export
|
|
@@ -7795,6 +7826,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7795
7826
|
* @throws {RequiredError}
|
|
7796
7827
|
*/
|
|
7797
7828
|
listPayments: (dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7829
|
+
/**
|
|
7830
|
+
* Refresh payment attempt from payment link front-end
|
|
7831
|
+
* @param {*} [options] Override http request option.
|
|
7832
|
+
* @throws {RequiredError}
|
|
7833
|
+
*/
|
|
7834
|
+
refreshPaymentAttempt: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7798
7835
|
/**
|
|
7799
7836
|
* Set autopay consent for payment user
|
|
7800
7837
|
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
|
@@ -7973,6 +8010,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
7973
8010
|
* @throws {RequiredError}
|
|
7974
8011
|
*/
|
|
7975
8012
|
listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponse>>;
|
|
8013
|
+
/**
|
|
8014
|
+
* Refresh payment attempt from payment link front-end
|
|
8015
|
+
* @param {*} [options] Override http request option.
|
|
8016
|
+
* @throws {RequiredError}
|
|
8017
|
+
*/
|
|
8018
|
+
refreshPaymentAttempt(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RefreshPaymentAttemptResponse>>;
|
|
7976
8019
|
/**
|
|
7977
8020
|
* Set autopay consent for payment user
|
|
7978
8021
|
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
|
@@ -8151,6 +8194,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
8151
8194
|
* @throws {RequiredError}
|
|
8152
8195
|
*/
|
|
8153
8196
|
listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: any): AxiosPromise<ListPaymentsResponse>;
|
|
8197
|
+
/**
|
|
8198
|
+
* Refresh payment attempt from payment link front-end
|
|
8199
|
+
* @param {*} [options] Override http request option.
|
|
8200
|
+
* @throws {RequiredError}
|
|
8201
|
+
*/
|
|
8202
|
+
refreshPaymentAttempt(options?: any): AxiosPromise<RefreshPaymentAttemptResponse>;
|
|
8154
8203
|
/**
|
|
8155
8204
|
* Set autopay consent for payment user
|
|
8156
8205
|
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
|
@@ -8351,6 +8400,13 @@ export interface DefaultApiInterface {
|
|
|
8351
8400
|
* @memberof DefaultApiInterface
|
|
8352
8401
|
*/
|
|
8353
8402
|
listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): AxiosPromise<ListPaymentsResponse>;
|
|
8403
|
+
/**
|
|
8404
|
+
* Refresh payment attempt from payment link front-end
|
|
8405
|
+
* @param {*} [options] Override http request option.
|
|
8406
|
+
* @throws {RequiredError}
|
|
8407
|
+
* @memberof DefaultApiInterface
|
|
8408
|
+
*/
|
|
8409
|
+
refreshPaymentAttempt(options?: AxiosRequestConfig): AxiosPromise<RefreshPaymentAttemptResponse>;
|
|
8354
8410
|
/**
|
|
8355
8411
|
* Set autopay consent for payment user
|
|
8356
8412
|
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
|
@@ -8553,6 +8609,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
8553
8609
|
* @memberof DefaultApi
|
|
8554
8610
|
*/
|
|
8555
8611
|
listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentsResponse>>;
|
|
8612
|
+
/**
|
|
8613
|
+
* Refresh payment attempt from payment link front-end
|
|
8614
|
+
* @param {*} [options] Override http request option.
|
|
8615
|
+
* @throws {RequiredError}
|
|
8616
|
+
* @memberof DefaultApi
|
|
8617
|
+
*/
|
|
8618
|
+
refreshPaymentAttempt(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RefreshPaymentAttemptResponse>>;
|
|
8556
8619
|
/**
|
|
8557
8620
|
* Set autopay consent for payment user
|
|
8558
8621
|
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
package/dist/api.js
CHANGED
|
@@ -2625,6 +2625,33 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2625
2625
|
options: localVarRequestOptions,
|
|
2626
2626
|
};
|
|
2627
2627
|
}),
|
|
2628
|
+
/**
|
|
2629
|
+
* Refresh payment attempt from payment link front-end
|
|
2630
|
+
* @param {*} [options] Override http request option.
|
|
2631
|
+
* @throws {RequiredError}
|
|
2632
|
+
*/
|
|
2633
|
+
refreshPaymentAttempt: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2634
|
+
const localVarPath = `/payment_link/fvlink/payment_attempt/refresh`;
|
|
2635
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2636
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2637
|
+
let baseOptions;
|
|
2638
|
+
if (configuration) {
|
|
2639
|
+
baseOptions = configuration.baseOptions;
|
|
2640
|
+
}
|
|
2641
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2642
|
+
const localVarHeaderParameter = {};
|
|
2643
|
+
const localVarQueryParameter = {};
|
|
2644
|
+
// authentication Oauth2 required
|
|
2645
|
+
// oauth required
|
|
2646
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2647
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2648
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2649
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2650
|
+
return {
|
|
2651
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
2652
|
+
options: localVarRequestOptions,
|
|
2653
|
+
};
|
|
2654
|
+
}),
|
|
2628
2655
|
/**
|
|
2629
2656
|
* Set autopay consent for payment user
|
|
2630
2657
|
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
|
@@ -2936,6 +2963,17 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
2936
2963
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2937
2964
|
});
|
|
2938
2965
|
},
|
|
2966
|
+
/**
|
|
2967
|
+
* Refresh payment attempt from payment link front-end
|
|
2968
|
+
* @param {*} [options] Override http request option.
|
|
2969
|
+
* @throws {RequiredError}
|
|
2970
|
+
*/
|
|
2971
|
+
refreshPaymentAttempt(options) {
|
|
2972
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2973
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.refreshPaymentAttempt(options);
|
|
2974
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2975
|
+
});
|
|
2976
|
+
},
|
|
2939
2977
|
/**
|
|
2940
2978
|
* Set autopay consent for payment user
|
|
2941
2979
|
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
|
@@ -3180,6 +3218,14 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3180
3218
|
.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options)
|
|
3181
3219
|
.then((request) => request(axios, basePath));
|
|
3182
3220
|
},
|
|
3221
|
+
/**
|
|
3222
|
+
* Refresh payment attempt from payment link front-end
|
|
3223
|
+
* @param {*} [options] Override http request option.
|
|
3224
|
+
* @throws {RequiredError}
|
|
3225
|
+
*/
|
|
3226
|
+
refreshPaymentAttempt(options) {
|
|
3227
|
+
return localVarFp.refreshPaymentAttempt(options).then((request) => request(axios, basePath));
|
|
3228
|
+
},
|
|
3183
3229
|
/**
|
|
3184
3230
|
* Set autopay consent for payment user
|
|
3185
3231
|
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
|
@@ -3470,6 +3516,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3470
3516
|
.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options)
|
|
3471
3517
|
.then((request) => request(this.axios, this.basePath));
|
|
3472
3518
|
}
|
|
3519
|
+
/**
|
|
3520
|
+
* Refresh payment attempt from payment link front-end
|
|
3521
|
+
* @param {*} [options] Override http request option.
|
|
3522
|
+
* @throws {RequiredError}
|
|
3523
|
+
* @memberof DefaultApi
|
|
3524
|
+
*/
|
|
3525
|
+
refreshPaymentAttempt(options) {
|
|
3526
|
+
return exports.DefaultApiFp(this.configuration)
|
|
3527
|
+
.refreshPaymentAttempt(options)
|
|
3528
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3529
|
+
}
|
|
3473
3530
|
/**
|
|
3474
3531
|
* Set autopay consent for payment user
|
|
3475
3532
|
* @param {SetAutopayConsentRequest} setAutopayConsentRequest
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finverse/sdk-typescript",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.234",
|
|
4
4
|
"description": "OpenAPI client for @finverse/sdk-typescript",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"axios": "^0.21.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@types/chai": "^4.3.
|
|
24
|
+
"@types/chai": "^4.3.15",
|
|
25
25
|
"@types/mocha": "^10.0.6",
|
|
26
26
|
"@types/node": "^12.11.5",
|
|
27
27
|
"axios-mock-adapter": "^1.21.2",
|