@finverse/sdk-typescript 0.0.152 → 0.0.154
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 +50 -0
- package/dist/api.js +57 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -4637,6 +4637,24 @@ export interface Principal {
|
|
|
4637
4637
|
* @memberof Principal
|
|
4638
4638
|
*/
|
|
4639
4639
|
link_token_request?: LinkTokenRequest;
|
|
4640
|
+
/**
|
|
4641
|
+
*
|
|
4642
|
+
* @type {string}
|
|
4643
|
+
* @memberof Principal
|
|
4644
|
+
*/
|
|
4645
|
+
redirect_uri?: string;
|
|
4646
|
+
/**
|
|
4647
|
+
*
|
|
4648
|
+
* @type {string}
|
|
4649
|
+
* @memberof Principal
|
|
4650
|
+
*/
|
|
4651
|
+
payment_link_id?: string;
|
|
4652
|
+
/**
|
|
4653
|
+
*
|
|
4654
|
+
* @type {string}
|
|
4655
|
+
* @memberof Principal
|
|
4656
|
+
*/
|
|
4657
|
+
unique_reference_id?: string;
|
|
4640
4658
|
}
|
|
4641
4659
|
/**
|
|
4642
4660
|
*
|
|
@@ -6197,6 +6215,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
6197
6215
|
* @throws {RequiredError}
|
|
6198
6216
|
*/
|
|
6199
6217
|
createPaymentLinkMandate: (createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6218
|
+
/**
|
|
6219
|
+
* Get a customer-specific list of institutions for Finverse Link
|
|
6220
|
+
* @param {*} [options] Override http request option.
|
|
6221
|
+
* @throws {RequiredError}
|
|
6222
|
+
*/
|
|
6223
|
+
getInstitutionsForCustomer: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6200
6224
|
/**
|
|
6201
6225
|
* Get payment link
|
|
6202
6226
|
* @param {string} paymentLinkId The payment link id
|
|
@@ -6300,6 +6324,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
6300
6324
|
* @throws {RequiredError}
|
|
6301
6325
|
*/
|
|
6302
6326
|
createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentLinkMandateResponse>>;
|
|
6327
|
+
/**
|
|
6328
|
+
* Get a customer-specific list of institutions for Finverse Link
|
|
6329
|
+
* @param {*} [options] Override http request option.
|
|
6330
|
+
* @throws {RequiredError}
|
|
6331
|
+
*/
|
|
6332
|
+
getInstitutionsForCustomer(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Institution>>>;
|
|
6303
6333
|
/**
|
|
6304
6334
|
* Get payment link
|
|
6305
6335
|
* @param {string} paymentLinkId The payment link id
|
|
@@ -6403,6 +6433,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
6403
6433
|
* @throws {RequiredError}
|
|
6404
6434
|
*/
|
|
6405
6435
|
createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: any): AxiosPromise<CreatePaymentLinkMandateResponse>;
|
|
6436
|
+
/**
|
|
6437
|
+
* Get a customer-specific list of institutions for Finverse Link
|
|
6438
|
+
* @param {*} [options] Override http request option.
|
|
6439
|
+
* @throws {RequiredError}
|
|
6440
|
+
*/
|
|
6441
|
+
getInstitutionsForCustomer(options?: any): AxiosPromise<Array<Institution>>;
|
|
6406
6442
|
/**
|
|
6407
6443
|
* Get payment link
|
|
6408
6444
|
* @param {string} paymentLinkId The payment link id
|
|
@@ -6514,6 +6550,13 @@ export interface DefaultApiInterface {
|
|
|
6514
6550
|
* @memberof DefaultApiInterface
|
|
6515
6551
|
*/
|
|
6516
6552
|
createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig): AxiosPromise<CreatePaymentLinkMandateResponse>;
|
|
6553
|
+
/**
|
|
6554
|
+
* Get a customer-specific list of institutions for Finverse Link
|
|
6555
|
+
* @param {*} [options] Override http request option.
|
|
6556
|
+
* @throws {RequiredError}
|
|
6557
|
+
* @memberof DefaultApiInterface
|
|
6558
|
+
*/
|
|
6559
|
+
getInstitutionsForCustomer(options?: AxiosRequestConfig): AxiosPromise<Array<Institution>>;
|
|
6517
6560
|
/**
|
|
6518
6561
|
* Get payment link
|
|
6519
6562
|
* @param {string} paymentLinkId The payment link id
|
|
@@ -6631,6 +6674,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
6631
6674
|
* @memberof DefaultApi
|
|
6632
6675
|
*/
|
|
6633
6676
|
createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentLinkMandateResponse>>;
|
|
6677
|
+
/**
|
|
6678
|
+
* Get a customer-specific list of institutions for Finverse Link
|
|
6679
|
+
* @param {*} [options] Override http request option.
|
|
6680
|
+
* @throws {RequiredError}
|
|
6681
|
+
* @memberof DefaultApi
|
|
6682
|
+
*/
|
|
6683
|
+
getInstitutionsForCustomer(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Institution[]>>;
|
|
6634
6684
|
/**
|
|
6635
6685
|
* Get payment link
|
|
6636
6686
|
* @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
|