@finverse/sdk-typescript 0.0.151 → 0.0.153
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 +38 -0
- package/dist/api.js +57 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -4619,6 +4619,12 @@ export interface Principal {
|
|
|
4619
4619
|
* @memberof Principal
|
|
4620
4620
|
*/
|
|
4621
4621
|
payment_attempt_id?: string;
|
|
4622
|
+
/**
|
|
4623
|
+
*
|
|
4624
|
+
* @type {string}
|
|
4625
|
+
* @memberof Principal
|
|
4626
|
+
*/
|
|
4627
|
+
product_flow?: string;
|
|
4622
4628
|
/**
|
|
4623
4629
|
*
|
|
4624
4630
|
* @type {Array<string>}
|
|
@@ -6191,6 +6197,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
6191
6197
|
* @throws {RequiredError}
|
|
6192
6198
|
*/
|
|
6193
6199
|
createPaymentLinkMandate: (createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6200
|
+
/**
|
|
6201
|
+
* Get a customer-specific list of institutions for Finverse Link
|
|
6202
|
+
* @param {*} [options] Override http request option.
|
|
6203
|
+
* @throws {RequiredError}
|
|
6204
|
+
*/
|
|
6205
|
+
getInstitutionsForCustomer: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6194
6206
|
/**
|
|
6195
6207
|
* Get payment link
|
|
6196
6208
|
* @param {string} paymentLinkId The payment link id
|
|
@@ -6294,6 +6306,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
6294
6306
|
* @throws {RequiredError}
|
|
6295
6307
|
*/
|
|
6296
6308
|
createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentLinkMandateResponse>>;
|
|
6309
|
+
/**
|
|
6310
|
+
* Get a customer-specific list of institutions for Finverse Link
|
|
6311
|
+
* @param {*} [options] Override http request option.
|
|
6312
|
+
* @throws {RequiredError}
|
|
6313
|
+
*/
|
|
6314
|
+
getInstitutionsForCustomer(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Institution>>>;
|
|
6297
6315
|
/**
|
|
6298
6316
|
* Get payment link
|
|
6299
6317
|
* @param {string} paymentLinkId The payment link id
|
|
@@ -6397,6 +6415,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
6397
6415
|
* @throws {RequiredError}
|
|
6398
6416
|
*/
|
|
6399
6417
|
createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: any): AxiosPromise<CreatePaymentLinkMandateResponse>;
|
|
6418
|
+
/**
|
|
6419
|
+
* Get a customer-specific list of institutions for Finverse Link
|
|
6420
|
+
* @param {*} [options] Override http request option.
|
|
6421
|
+
* @throws {RequiredError}
|
|
6422
|
+
*/
|
|
6423
|
+
getInstitutionsForCustomer(options?: any): AxiosPromise<Array<Institution>>;
|
|
6400
6424
|
/**
|
|
6401
6425
|
* Get payment link
|
|
6402
6426
|
* @param {string} paymentLinkId The payment link id
|
|
@@ -6508,6 +6532,13 @@ export interface DefaultApiInterface {
|
|
|
6508
6532
|
* @memberof DefaultApiInterface
|
|
6509
6533
|
*/
|
|
6510
6534
|
createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig): AxiosPromise<CreatePaymentLinkMandateResponse>;
|
|
6535
|
+
/**
|
|
6536
|
+
* Get a customer-specific list of institutions for Finverse Link
|
|
6537
|
+
* @param {*} [options] Override http request option.
|
|
6538
|
+
* @throws {RequiredError}
|
|
6539
|
+
* @memberof DefaultApiInterface
|
|
6540
|
+
*/
|
|
6541
|
+
getInstitutionsForCustomer(options?: AxiosRequestConfig): AxiosPromise<Array<Institution>>;
|
|
6511
6542
|
/**
|
|
6512
6543
|
* Get payment link
|
|
6513
6544
|
* @param {string} paymentLinkId The payment link id
|
|
@@ -6625,6 +6656,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
6625
6656
|
* @memberof DefaultApi
|
|
6626
6657
|
*/
|
|
6627
6658
|
createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentLinkMandateResponse>>;
|
|
6659
|
+
/**
|
|
6660
|
+
* Get a customer-specific list of institutions for Finverse Link
|
|
6661
|
+
* @param {*} [options] Override http request option.
|
|
6662
|
+
* @throws {RequiredError}
|
|
6663
|
+
* @memberof DefaultApi
|
|
6664
|
+
*/
|
|
6665
|
+
getInstitutionsForCustomer(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Institution[]>>;
|
|
6628
6666
|
/**
|
|
6629
6667
|
* Get payment link
|
|
6630
6668
|
* @param {string} paymentLinkId The payment link id
|
package/dist/api.js
CHANGED
|
@@ -1798,6 +1798,33 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1798
1798
|
options: localVarRequestOptions,
|
|
1799
1799
|
};
|
|
1800
1800
|
}),
|
|
1801
|
+
/**
|
|
1802
|
+
* Get a customer-specific list of institutions for Finverse Link
|
|
1803
|
+
* @param {*} [options] Override http request option.
|
|
1804
|
+
* @throws {RequiredError}
|
|
1805
|
+
*/
|
|
1806
|
+
getInstitutionsForCustomer: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1807
|
+
const localVarPath = `/institutions/customer`;
|
|
1808
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1809
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1810
|
+
let baseOptions;
|
|
1811
|
+
if (configuration) {
|
|
1812
|
+
baseOptions = configuration.baseOptions;
|
|
1813
|
+
}
|
|
1814
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1815
|
+
const localVarHeaderParameter = {};
|
|
1816
|
+
const localVarQueryParameter = {};
|
|
1817
|
+
// authentication Oauth2 required
|
|
1818
|
+
// oauth required
|
|
1819
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1820
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1821
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1822
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1823
|
+
return {
|
|
1824
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
1825
|
+
options: localVarRequestOptions,
|
|
1826
|
+
};
|
|
1827
|
+
}),
|
|
1801
1828
|
/**
|
|
1802
1829
|
* Get payment link
|
|
1803
1830
|
* @param {string} paymentLinkId The payment link id
|
|
@@ -2111,6 +2138,17 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
2111
2138
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2112
2139
|
});
|
|
2113
2140
|
},
|
|
2141
|
+
/**
|
|
2142
|
+
* Get a customer-specific list of institutions for Finverse Link
|
|
2143
|
+
* @param {*} [options] Override http request option.
|
|
2144
|
+
* @throws {RequiredError}
|
|
2145
|
+
*/
|
|
2146
|
+
getInstitutionsForCustomer(options) {
|
|
2147
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2148
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getInstitutionsForCustomer(options);
|
|
2149
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2150
|
+
});
|
|
2151
|
+
},
|
|
2114
2152
|
/**
|
|
2115
2153
|
* Get payment link
|
|
2116
2154
|
* @param {string} paymentLinkId The payment link id
|
|
@@ -2262,6 +2300,14 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2262
2300
|
.createPaymentLinkMandate(createPaymentLinkMandateRequest, options)
|
|
2263
2301
|
.then((request) => request(axios, basePath));
|
|
2264
2302
|
},
|
|
2303
|
+
/**
|
|
2304
|
+
* Get a customer-specific list of institutions for Finverse Link
|
|
2305
|
+
* @param {*} [options] Override http request option.
|
|
2306
|
+
* @throws {RequiredError}
|
|
2307
|
+
*/
|
|
2308
|
+
getInstitutionsForCustomer(options) {
|
|
2309
|
+
return localVarFp.getInstitutionsForCustomer(options).then((request) => request(axios, basePath));
|
|
2310
|
+
},
|
|
2265
2311
|
/**
|
|
2266
2312
|
* Get payment link
|
|
2267
2313
|
* @param {string} paymentLinkId The payment link id
|
|
@@ -2419,6 +2465,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2419
2465
|
.createPaymentLinkMandate(createPaymentLinkMandateRequest, options)
|
|
2420
2466
|
.then((request) => request(this.axios, this.basePath));
|
|
2421
2467
|
}
|
|
2468
|
+
/**
|
|
2469
|
+
* Get a customer-specific list of institutions for Finverse Link
|
|
2470
|
+
* @param {*} [options] Override http request option.
|
|
2471
|
+
* @throws {RequiredError}
|
|
2472
|
+
* @memberof DefaultApi
|
|
2473
|
+
*/
|
|
2474
|
+
getInstitutionsForCustomer(options) {
|
|
2475
|
+
return exports.DefaultApiFp(this.configuration)
|
|
2476
|
+
.getInstitutionsForCustomer(options)
|
|
2477
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2478
|
+
}
|
|
2422
2479
|
/**
|
|
2423
2480
|
* Get payment link
|
|
2424
2481
|
* @param {string} paymentLinkId The payment link id
|