@finverse/sdk-typescript 0.0.326 → 0.0.327
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 +94 -0
- package/dist/api.js +60 -0
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -530,6 +530,68 @@ export declare const AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum: {
|
|
|
530
530
|
readonly No: "NO";
|
|
531
531
|
};
|
|
532
532
|
export type AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = (typeof AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum)[keyof typeof AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum];
|
|
533
|
+
/**
|
|
534
|
+
*
|
|
535
|
+
* @export
|
|
536
|
+
* @interface AvailablePaymentMethod
|
|
537
|
+
*/
|
|
538
|
+
export interface AvailablePaymentMethod {
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* @type {string}
|
|
542
|
+
* @memberof AvailablePaymentMethod
|
|
543
|
+
*/
|
|
544
|
+
payment_account_id?: string;
|
|
545
|
+
/**
|
|
546
|
+
*
|
|
547
|
+
* @type {string}
|
|
548
|
+
* @memberof AvailablePaymentMethod
|
|
549
|
+
*/
|
|
550
|
+
title?: string;
|
|
551
|
+
/**
|
|
552
|
+
*
|
|
553
|
+
* @type {string}
|
|
554
|
+
* @memberof AvailablePaymentMethod
|
|
555
|
+
*/
|
|
556
|
+
description?: string;
|
|
557
|
+
/**
|
|
558
|
+
* The payment method type, possible values CARD, MANDATE and MANUAL
|
|
559
|
+
* @type {string}
|
|
560
|
+
* @memberof AvailablePaymentMethod
|
|
561
|
+
*/
|
|
562
|
+
payment_method_type?: string;
|
|
563
|
+
/**
|
|
564
|
+
* The payment method subtype
|
|
565
|
+
* @type {string}
|
|
566
|
+
* @memberof AvailablePaymentMethod
|
|
567
|
+
*/
|
|
568
|
+
payment_method_subtype?: string;
|
|
569
|
+
/**
|
|
570
|
+
*
|
|
571
|
+
* @type {boolean}
|
|
572
|
+
* @memberof AvailablePaymentMethod
|
|
573
|
+
*/
|
|
574
|
+
recurring?: boolean;
|
|
575
|
+
/**
|
|
576
|
+
*
|
|
577
|
+
* @type {string}
|
|
578
|
+
* @memberof AvailablePaymentMethod
|
|
579
|
+
*/
|
|
580
|
+
fee?: string;
|
|
581
|
+
}
|
|
582
|
+
/**
|
|
583
|
+
*
|
|
584
|
+
* @export
|
|
585
|
+
* @interface AvailablePaymentMethodsFvLinkResponse
|
|
586
|
+
*/
|
|
587
|
+
export interface AvailablePaymentMethodsFvLinkResponse {
|
|
588
|
+
/**
|
|
589
|
+
*
|
|
590
|
+
* @type {Array<AvailablePaymentMethod>}
|
|
591
|
+
* @memberof AvailablePaymentMethodsFvLinkResponse
|
|
592
|
+
*/
|
|
593
|
+
available_payment_methods?: Array<AvailablePaymentMethod>;
|
|
594
|
+
}
|
|
533
595
|
/**
|
|
534
596
|
*
|
|
535
597
|
* @export
|
|
@@ -10013,6 +10075,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
10013
10075
|
* @throws {RequiredError}
|
|
10014
10076
|
*/
|
|
10015
10077
|
getSenderPaymentUser: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10078
|
+
/**
|
|
10079
|
+
* List available payment methods
|
|
10080
|
+
* @param {*} [options] Override http request option.
|
|
10081
|
+
* @throws {RequiredError}
|
|
10082
|
+
*/
|
|
10083
|
+
listAvailablePaymentMethodsPaymentLink: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10016
10084
|
/**
|
|
10017
10085
|
* List mandates details
|
|
10018
10086
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -10280,6 +10348,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
10280
10348
|
* @throws {RequiredError}
|
|
10281
10349
|
*/
|
|
10282
10350
|
getSenderPaymentUser(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentUserResponse>>;
|
|
10351
|
+
/**
|
|
10352
|
+
* List available payment methods
|
|
10353
|
+
* @param {*} [options] Override http request option.
|
|
10354
|
+
* @throws {RequiredError}
|
|
10355
|
+
*/
|
|
10356
|
+
listAvailablePaymentMethodsPaymentLink(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AvailablePaymentMethodsFvLinkResponse>>;
|
|
10283
10357
|
/**
|
|
10284
10358
|
* List mandates details
|
|
10285
10359
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -10547,6 +10621,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
10547
10621
|
* @throws {RequiredError}
|
|
10548
10622
|
*/
|
|
10549
10623
|
getSenderPaymentUser(options?: RawAxiosRequestConfig): AxiosPromise<GetPaymentUserResponse>;
|
|
10624
|
+
/**
|
|
10625
|
+
* List available payment methods
|
|
10626
|
+
* @param {*} [options] Override http request option.
|
|
10627
|
+
* @throws {RequiredError}
|
|
10628
|
+
*/
|
|
10629
|
+
listAvailablePaymentMethodsPaymentLink(options?: RawAxiosRequestConfig): AxiosPromise<AvailablePaymentMethodsFvLinkResponse>;
|
|
10550
10630
|
/**
|
|
10551
10631
|
* List mandates details
|
|
10552
10632
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -10838,6 +10918,13 @@ export interface DefaultApiInterface {
|
|
|
10838
10918
|
* @memberof DefaultApiInterface
|
|
10839
10919
|
*/
|
|
10840
10920
|
getSenderPaymentUser(options?: RawAxiosRequestConfig): AxiosPromise<GetPaymentUserResponse>;
|
|
10921
|
+
/**
|
|
10922
|
+
* List available payment methods
|
|
10923
|
+
* @param {*} [options] Override http request option.
|
|
10924
|
+
* @throws {RequiredError}
|
|
10925
|
+
* @memberof DefaultApiInterface
|
|
10926
|
+
*/
|
|
10927
|
+
listAvailablePaymentMethodsPaymentLink(options?: RawAxiosRequestConfig): AxiosPromise<AvailablePaymentMethodsFvLinkResponse>;
|
|
10841
10928
|
/**
|
|
10842
10929
|
* List mandates details
|
|
10843
10930
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -11139,6 +11226,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
11139
11226
|
* @memberof DefaultApi
|
|
11140
11227
|
*/
|
|
11141
11228
|
getSenderPaymentUser(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentUserResponse, any, {}>>;
|
|
11229
|
+
/**
|
|
11230
|
+
* List available payment methods
|
|
11231
|
+
* @param {*} [options] Override http request option.
|
|
11232
|
+
* @throws {RequiredError}
|
|
11233
|
+
* @memberof DefaultApi
|
|
11234
|
+
*/
|
|
11235
|
+
listAvailablePaymentMethodsPaymentLink(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AvailablePaymentMethodsFvLinkResponse, any, {}>>;
|
|
11142
11236
|
/**
|
|
11143
11237
|
* List mandates details
|
|
11144
11238
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
package/dist/api.js
CHANGED
|
@@ -3097,6 +3097,33 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
3097
3097
|
options: localVarRequestOptions,
|
|
3098
3098
|
};
|
|
3099
3099
|
}),
|
|
3100
|
+
/**
|
|
3101
|
+
* List available payment methods
|
|
3102
|
+
* @param {*} [options] Override http request option.
|
|
3103
|
+
* @throws {RequiredError}
|
|
3104
|
+
*/
|
|
3105
|
+
listAvailablePaymentMethodsPaymentLink: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
3106
|
+
const localVarPath = `/payment_link/fvlink/available_payment_methods`;
|
|
3107
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3108
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3109
|
+
let baseOptions;
|
|
3110
|
+
if (configuration) {
|
|
3111
|
+
baseOptions = configuration.baseOptions;
|
|
3112
|
+
}
|
|
3113
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3114
|
+
const localVarHeaderParameter = {};
|
|
3115
|
+
const localVarQueryParameter = {};
|
|
3116
|
+
// authentication Oauth2 required
|
|
3117
|
+
// oauth required
|
|
3118
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3119
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3120
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3121
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3122
|
+
return {
|
|
3123
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3124
|
+
options: localVarRequestOptions,
|
|
3125
|
+
};
|
|
3126
|
+
}),
|
|
3100
3127
|
/**
|
|
3101
3128
|
* List mandates details
|
|
3102
3129
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -3901,6 +3928,20 @@ const DefaultApiFp = function (configuration) {
|
|
|
3901
3928
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3902
3929
|
});
|
|
3903
3930
|
},
|
|
3931
|
+
/**
|
|
3932
|
+
* List available payment methods
|
|
3933
|
+
* @param {*} [options] Override http request option.
|
|
3934
|
+
* @throws {RequiredError}
|
|
3935
|
+
*/
|
|
3936
|
+
listAvailablePaymentMethodsPaymentLink(options) {
|
|
3937
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3938
|
+
var _a, _b, _c;
|
|
3939
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAvailablePaymentMethodsPaymentLink(options);
|
|
3940
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3941
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.listAvailablePaymentMethodsPaymentLink']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3942
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3943
|
+
});
|
|
3944
|
+
},
|
|
3904
3945
|
/**
|
|
3905
3946
|
* List mandates details
|
|
3906
3947
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -4308,6 +4349,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4308
4349
|
getSenderPaymentUser(options) {
|
|
4309
4350
|
return localVarFp.getSenderPaymentUser(options).then((request) => request(axios, basePath));
|
|
4310
4351
|
},
|
|
4352
|
+
/**
|
|
4353
|
+
* List available payment methods
|
|
4354
|
+
* @param {*} [options] Override http request option.
|
|
4355
|
+
* @throws {RequiredError}
|
|
4356
|
+
*/
|
|
4357
|
+
listAvailablePaymentMethodsPaymentLink(options) {
|
|
4358
|
+
return localVarFp.listAvailablePaymentMethodsPaymentLink(options).then((request) => request(axios, basePath));
|
|
4359
|
+
},
|
|
4311
4360
|
/**
|
|
4312
4361
|
* List mandates details
|
|
4313
4362
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -4726,6 +4775,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
4726
4775
|
.getSenderPaymentUser(options)
|
|
4727
4776
|
.then((request) => request(this.axios, this.basePath));
|
|
4728
4777
|
}
|
|
4778
|
+
/**
|
|
4779
|
+
* List available payment methods
|
|
4780
|
+
* @param {*} [options] Override http request option.
|
|
4781
|
+
* @throws {RequiredError}
|
|
4782
|
+
* @memberof DefaultApi
|
|
4783
|
+
*/
|
|
4784
|
+
listAvailablePaymentMethodsPaymentLink(options) {
|
|
4785
|
+
return (0, exports.DefaultApiFp)(this.configuration)
|
|
4786
|
+
.listAvailablePaymentMethodsPaymentLink(options)
|
|
4787
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4788
|
+
}
|
|
4729
4789
|
/**
|
|
4730
4790
|
* List mandates details
|
|
4731
4791
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finverse/sdk-typescript",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.327",
|
|
4
4
|
"description": "OpenAPI client for @finverse/sdk-typescript",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"repository": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@types/node": "12.11.5 - 12.20.42",
|
|
33
33
|
"axios-mock-adapter": "^1.21.2",
|
|
34
34
|
"chai": "^6.2.0",
|
|
35
|
-
"mocha": "^11.7.
|
|
35
|
+
"mocha": "^11.7.5",
|
|
36
36
|
"ts-node": "^10.9.2",
|
|
37
37
|
"typescript": "^4.0 || ^5.0"
|
|
38
38
|
},
|