@finverse/sdk-typescript 0.0.137 → 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 +43 -0
- package/dist/api.js +63 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -411,6 +411,12 @@ export interface AuthChecklistFactor {
|
|
|
411
411
|
* @memberof AuthChecklistFactor
|
|
412
412
|
*/
|
|
413
413
|
required: AuthChecklistFactorRequiredEnum;
|
|
414
|
+
/**
|
|
415
|
+
* Helper text that applies to a specific checklist item
|
|
416
|
+
* @type {string}
|
|
417
|
+
* @memberof AuthChecklistFactor
|
|
418
|
+
*/
|
|
419
|
+
helper_text?: string;
|
|
414
420
|
/**
|
|
415
421
|
* Array of the options accepted for a specific authorization factor
|
|
416
422
|
* @type {Array<AuthChecklistOptions>}
|
|
@@ -6333,6 +6339,13 @@ export declare const LinkApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
6333
6339
|
* @throws {RequiredError}
|
|
6334
6340
|
*/
|
|
6335
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>;
|
|
6336
6349
|
/**
|
|
6337
6350
|
* Update an existing link
|
|
6338
6351
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|
|
@@ -6410,6 +6423,13 @@ export declare const LinkApiFp: (configuration?: Configuration) => {
|
|
|
6410
6423
|
* @throws {RequiredError}
|
|
6411
6424
|
*/
|
|
6412
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>>;
|
|
6413
6433
|
/**
|
|
6414
6434
|
* Update an existing link
|
|
6415
6435
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|
|
@@ -6487,6 +6507,13 @@ export declare const LinkApiFactory: (configuration?: Configuration, basePath?:
|
|
|
6487
6507
|
* @throws {RequiredError}
|
|
6488
6508
|
*/
|
|
6489
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>;
|
|
6490
6517
|
/**
|
|
6491
6518
|
* Update an existing link
|
|
6492
6519
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|
|
@@ -6571,6 +6598,14 @@ export interface LinkApiInterface {
|
|
|
6571
6598
|
* @memberof LinkApiInterface
|
|
6572
6599
|
*/
|
|
6573
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>;
|
|
6574
6609
|
/**
|
|
6575
6610
|
* Update an existing link
|
|
6576
6611
|
* @param {RelinkRequest} relinkRequest Request body for updating Link
|
|
@@ -6659,6 +6694,14 @@ export declare class LinkApi extends BaseAPI implements LinkApiInterface {
|
|
|
6659
6694
|
* @memberof LinkApi
|
|
6660
6695
|
*/
|
|
6661
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>>;
|
|
6662
6705
|
/**
|
|
6663
6706
|
* Update an existing link
|
|
6664
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
|