@finverse/sdk-typescript 0.0.326 → 0.0.328
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 +100 -0
- package/dist/api.js +60 -0
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -530,6 +530,74 @@ 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
|
+
*
|
|
565
|
+
* @type {boolean}
|
|
566
|
+
* @memberof AvailablePaymentMethod
|
|
567
|
+
*/
|
|
568
|
+
recurring?: boolean;
|
|
569
|
+
/**
|
|
570
|
+
*
|
|
571
|
+
* @type {string}
|
|
572
|
+
* @memberof AvailablePaymentMethod
|
|
573
|
+
*/
|
|
574
|
+
fee?: string;
|
|
575
|
+
/**
|
|
576
|
+
*
|
|
577
|
+
* @type {string}
|
|
578
|
+
* @memberof AvailablePaymentMethod
|
|
579
|
+
*/
|
|
580
|
+
payment_method_provider?: string;
|
|
581
|
+
/**
|
|
582
|
+
*
|
|
583
|
+
* @type {string}
|
|
584
|
+
* @memberof AvailablePaymentMethod
|
|
585
|
+
*/
|
|
586
|
+
payment_rail_id?: string;
|
|
587
|
+
}
|
|
588
|
+
/**
|
|
589
|
+
*
|
|
590
|
+
* @export
|
|
591
|
+
* @interface AvailablePaymentMethodsFvLinkResponse
|
|
592
|
+
*/
|
|
593
|
+
export interface AvailablePaymentMethodsFvLinkResponse {
|
|
594
|
+
/**
|
|
595
|
+
*
|
|
596
|
+
* @type {Array<AvailablePaymentMethod>}
|
|
597
|
+
* @memberof AvailablePaymentMethodsFvLinkResponse
|
|
598
|
+
*/
|
|
599
|
+
available_payment_methods?: Array<AvailablePaymentMethod>;
|
|
600
|
+
}
|
|
533
601
|
/**
|
|
534
602
|
*
|
|
535
603
|
* @export
|
|
@@ -10013,6 +10081,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
10013
10081
|
* @throws {RequiredError}
|
|
10014
10082
|
*/
|
|
10015
10083
|
getSenderPaymentUser: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10084
|
+
/**
|
|
10085
|
+
* List available payment methods
|
|
10086
|
+
* @param {*} [options] Override http request option.
|
|
10087
|
+
* @throws {RequiredError}
|
|
10088
|
+
*/
|
|
10089
|
+
listAvailablePaymentMethodsPaymentLink: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10016
10090
|
/**
|
|
10017
10091
|
* List mandates details
|
|
10018
10092
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -10280,6 +10354,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
10280
10354
|
* @throws {RequiredError}
|
|
10281
10355
|
*/
|
|
10282
10356
|
getSenderPaymentUser(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentUserResponse>>;
|
|
10357
|
+
/**
|
|
10358
|
+
* List available payment methods
|
|
10359
|
+
* @param {*} [options] Override http request option.
|
|
10360
|
+
* @throws {RequiredError}
|
|
10361
|
+
*/
|
|
10362
|
+
listAvailablePaymentMethodsPaymentLink(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AvailablePaymentMethodsFvLinkResponse>>;
|
|
10283
10363
|
/**
|
|
10284
10364
|
* List mandates details
|
|
10285
10365
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -10547,6 +10627,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
10547
10627
|
* @throws {RequiredError}
|
|
10548
10628
|
*/
|
|
10549
10629
|
getSenderPaymentUser(options?: RawAxiosRequestConfig): AxiosPromise<GetPaymentUserResponse>;
|
|
10630
|
+
/**
|
|
10631
|
+
* List available payment methods
|
|
10632
|
+
* @param {*} [options] Override http request option.
|
|
10633
|
+
* @throws {RequiredError}
|
|
10634
|
+
*/
|
|
10635
|
+
listAvailablePaymentMethodsPaymentLink(options?: RawAxiosRequestConfig): AxiosPromise<AvailablePaymentMethodsFvLinkResponse>;
|
|
10550
10636
|
/**
|
|
10551
10637
|
* List mandates details
|
|
10552
10638
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -10838,6 +10924,13 @@ export interface DefaultApiInterface {
|
|
|
10838
10924
|
* @memberof DefaultApiInterface
|
|
10839
10925
|
*/
|
|
10840
10926
|
getSenderPaymentUser(options?: RawAxiosRequestConfig): AxiosPromise<GetPaymentUserResponse>;
|
|
10927
|
+
/**
|
|
10928
|
+
* List available payment methods
|
|
10929
|
+
* @param {*} [options] Override http request option.
|
|
10930
|
+
* @throws {RequiredError}
|
|
10931
|
+
* @memberof DefaultApiInterface
|
|
10932
|
+
*/
|
|
10933
|
+
listAvailablePaymentMethodsPaymentLink(options?: RawAxiosRequestConfig): AxiosPromise<AvailablePaymentMethodsFvLinkResponse>;
|
|
10841
10934
|
/**
|
|
10842
10935
|
* List mandates details
|
|
10843
10936
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
@@ -11139,6 +11232,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
11139
11232
|
* @memberof DefaultApi
|
|
11140
11233
|
*/
|
|
11141
11234
|
getSenderPaymentUser(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentUserResponse, any, {}>>;
|
|
11235
|
+
/**
|
|
11236
|
+
* List available payment methods
|
|
11237
|
+
* @param {*} [options] Override http request option.
|
|
11238
|
+
* @throws {RequiredError}
|
|
11239
|
+
* @memberof DefaultApi
|
|
11240
|
+
*/
|
|
11241
|
+
listAvailablePaymentMethodsPaymentLink(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AvailablePaymentMethodsFvLinkResponse, any, {}>>;
|
|
11142
11242
|
/**
|
|
11143
11243
|
* List mandates details
|
|
11144
11244
|
* @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.328",
|
|
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
|
},
|