@finverse/sdk-typescript 0.0.138 → 0.0.139
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 +37 -0
- package/dist/api.js +63 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -6339,6 +6339,13 @@ export declare const LinkApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
6339
6339
|
* @throws {RequiredError}
|
|
6340
6340
|
*/
|
|
6341
6341
|
listInstitutions: (country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6342
|
+
/**
|
|
6343
|
+
* Check the status of a given loginIdentity
|
|
6344
|
+
* @param {string} loginIdentityId The login identity id
|
|
6345
|
+
* @param {*} [options] Override http request option.
|
|
6346
|
+
* @throws {RequiredError}
|
|
6347
|
+
*/
|
|
6348
|
+
postLinkStatus: (loginIdentityId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6342
6349
|
/**
|
|
6343
6350
|
* Update an existing link
|
|
6344
6351
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|
|
@@ -6416,6 +6423,13 @@ export declare const LinkApiFp: (configuration?: Configuration) => {
|
|
|
6416
6423
|
* @throws {RequiredError}
|
|
6417
6424
|
*/
|
|
6418
6425
|
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Institution>>>;
|
|
6426
|
+
/**
|
|
6427
|
+
* Check the status of a given loginIdentity
|
|
6428
|
+
* @param {string} loginIdentityId The login identity id
|
|
6429
|
+
* @param {*} [options] Override http request option.
|
|
6430
|
+
* @throws {RequiredError}
|
|
6431
|
+
*/
|
|
6432
|
+
postLinkStatus(loginIdentityId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LinkStatusResponse>>;
|
|
6419
6433
|
/**
|
|
6420
6434
|
* Update an existing link
|
|
6421
6435
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|
|
@@ -6493,6 +6507,13 @@ export declare const LinkApiFactory: (configuration?: Configuration, basePath?:
|
|
|
6493
6507
|
* @throws {RequiredError}
|
|
6494
6508
|
*/
|
|
6495
6509
|
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: any): AxiosPromise<Array<Institution>>;
|
|
6510
|
+
/**
|
|
6511
|
+
* Check the status of a given loginIdentity
|
|
6512
|
+
* @param {string} loginIdentityId The login identity id
|
|
6513
|
+
* @param {*} [options] Override http request option.
|
|
6514
|
+
* @throws {RequiredError}
|
|
6515
|
+
*/
|
|
6516
|
+
postLinkStatus(loginIdentityId: string, options?: any): AxiosPromise<LinkStatusResponse>;
|
|
6496
6517
|
/**
|
|
6497
6518
|
* Update an existing link
|
|
6498
6519
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|
|
@@ -6577,6 +6598,14 @@ export interface LinkApiInterface {
|
|
|
6577
6598
|
* @memberof LinkApiInterface
|
|
6578
6599
|
*/
|
|
6579
6600
|
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: AxiosRequestConfig): AxiosPromise<Array<Institution>>;
|
|
6601
|
+
/**
|
|
6602
|
+
* Check the status of a given loginIdentity
|
|
6603
|
+
* @param {string} loginIdentityId The login identity id
|
|
6604
|
+
* @param {*} [options] Override http request option.
|
|
6605
|
+
* @throws {RequiredError}
|
|
6606
|
+
* @memberof LinkApiInterface
|
|
6607
|
+
*/
|
|
6608
|
+
postLinkStatus(loginIdentityId: string, options?: AxiosRequestConfig): AxiosPromise<LinkStatusResponse>;
|
|
6580
6609
|
/**
|
|
6581
6610
|
* Update an existing link
|
|
6582
6611
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|
|
@@ -6665,6 +6694,14 @@ export declare class LinkApi extends BaseAPI implements LinkApiInterface {
|
|
|
6665
6694
|
* @memberof LinkApi
|
|
6666
6695
|
*/
|
|
6667
6696
|
listInstitutions(country?: string, countries?: Array<string>, productsSupported?: string, institutionType?: 'BANK' | 'WALLET' | 'TEST', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Institution[]>>;
|
|
6697
|
+
/**
|
|
6698
|
+
* Check the status of a given loginIdentity
|
|
6699
|
+
* @param {string} loginIdentityId The login identity id
|
|
6700
|
+
* @param {*} [options] Override http request option.
|
|
6701
|
+
* @throws {RequiredError}
|
|
6702
|
+
* @memberof LinkApi
|
|
6703
|
+
*/
|
|
6704
|
+
postLinkStatus(loginIdentityId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkStatusResponse>>;
|
|
6668
6705
|
/**
|
|
6669
6706
|
* Update an existing link
|
|
6670
6707
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|
package/dist/api.js
CHANGED
|
@@ -2495,6 +2495,36 @@ exports.LinkApiAxiosParamCreator = function (configuration) {
|
|
|
2495
2495
|
options: localVarRequestOptions,
|
|
2496
2496
|
};
|
|
2497
2497
|
}),
|
|
2498
|
+
/**
|
|
2499
|
+
* Check the status of a given loginIdentity
|
|
2500
|
+
* @param {string} loginIdentityId The login identity id
|
|
2501
|
+
* @param {*} [options] Override http request option.
|
|
2502
|
+
* @throws {RequiredError}
|
|
2503
|
+
*/
|
|
2504
|
+
postLinkStatus: (loginIdentityId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2505
|
+
// verify required parameter 'loginIdentityId' is not null or undefined
|
|
2506
|
+
common_1.assertParamExists('postLinkStatus', 'loginIdentityId', loginIdentityId);
|
|
2507
|
+
const localVarPath = `/link/status/{loginIdentityId}`.replace(`{${'loginIdentityId'}}`, encodeURIComponent(String(loginIdentityId)));
|
|
2508
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2509
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2510
|
+
let baseOptions;
|
|
2511
|
+
if (configuration) {
|
|
2512
|
+
baseOptions = configuration.baseOptions;
|
|
2513
|
+
}
|
|
2514
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2515
|
+
const localVarHeaderParameter = {};
|
|
2516
|
+
const localVarQueryParameter = {};
|
|
2517
|
+
// authentication Oauth2 required
|
|
2518
|
+
// oauth required
|
|
2519
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2520
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2521
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2522
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2523
|
+
return {
|
|
2524
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
2525
|
+
options: localVarRequestOptions,
|
|
2526
|
+
};
|
|
2527
|
+
}),
|
|
2498
2528
|
/**
|
|
2499
2529
|
* Update an existing link
|
|
2500
2530
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|
|
@@ -2701,6 +2731,18 @@ exports.LinkApiFp = function (configuration) {
|
|
|
2701
2731
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2702
2732
|
});
|
|
2703
2733
|
},
|
|
2734
|
+
/**
|
|
2735
|
+
* Check the status of a given loginIdentity
|
|
2736
|
+
* @param {string} loginIdentityId The login identity id
|
|
2737
|
+
* @param {*} [options] Override http request option.
|
|
2738
|
+
* @throws {RequiredError}
|
|
2739
|
+
*/
|
|
2740
|
+
postLinkStatus(loginIdentityId, options) {
|
|
2741
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2742
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.postLinkStatus(loginIdentityId, options);
|
|
2743
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2744
|
+
});
|
|
2745
|
+
},
|
|
2704
2746
|
/**
|
|
2705
2747
|
* Update an existing link
|
|
2706
2748
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|
|
@@ -2810,6 +2852,15 @@ exports.LinkApiFactory = function (configuration, basePath, axios) {
|
|
|
2810
2852
|
.listInstitutions(country, countries, productsSupported, institutionType, options)
|
|
2811
2853
|
.then((request) => request(axios, basePath));
|
|
2812
2854
|
},
|
|
2855
|
+
/**
|
|
2856
|
+
* Check the status of a given loginIdentity
|
|
2857
|
+
* @param {string} loginIdentityId The login identity id
|
|
2858
|
+
* @param {*} [options] Override http request option.
|
|
2859
|
+
* @throws {RequiredError}
|
|
2860
|
+
*/
|
|
2861
|
+
postLinkStatus(loginIdentityId, options) {
|
|
2862
|
+
return localVarFp.postLinkStatus(loginIdentityId, options).then((request) => request(axios, basePath));
|
|
2863
|
+
},
|
|
2813
2864
|
/**
|
|
2814
2865
|
* Update an existing link
|
|
2815
2866
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|
|
@@ -2930,6 +2981,18 @@ class LinkApi extends base_1.BaseAPI {
|
|
|
2930
2981
|
.listInstitutions(country, countries, productsSupported, institutionType, options)
|
|
2931
2982
|
.then((request) => request(this.axios, this.basePath));
|
|
2932
2983
|
}
|
|
2984
|
+
/**
|
|
2985
|
+
* Check the status of a given loginIdentity
|
|
2986
|
+
* @param {string} loginIdentityId The login identity id
|
|
2987
|
+
* @param {*} [options] Override http request option.
|
|
2988
|
+
* @throws {RequiredError}
|
|
2989
|
+
* @memberof LinkApi
|
|
2990
|
+
*/
|
|
2991
|
+
postLinkStatus(loginIdentityId, options) {
|
|
2992
|
+
return exports.LinkApiFp(this.configuration)
|
|
2993
|
+
.postLinkStatus(loginIdentityId, options)
|
|
2994
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2995
|
+
}
|
|
2933
2996
|
/**
|
|
2934
2997
|
* Update an existing link
|
|
2935
2998
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|