@finverse/sdk-typescript 0.0.67 → 0.0.68
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 +20 -15
- package/dist/api.js +27 -20
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -5335,19 +5335,20 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
|
|
|
5335
5335
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
5336
5336
|
* @param {number} [offset] default is 0
|
|
5337
5337
|
* @param {number} [limit] default is 500, max is 1000
|
|
5338
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5338
5339
|
* @param {*} [options] Override http request option.
|
|
5339
5340
|
* @throws {RequiredError}
|
|
5340
5341
|
*/
|
|
5341
|
-
listTransactionsByAccountId: (accountId: string, offset?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5342
|
+
listTransactionsByAccountId: (accountId: string, offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5342
5343
|
/**
|
|
5343
5344
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
5344
5345
|
* @param {number} [offset] default is 0
|
|
5345
5346
|
* @param {number} [limit] default is 500, max is 1000
|
|
5346
|
-
* @param {boolean} [
|
|
5347
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5347
5348
|
* @param {*} [options] Override http request option.
|
|
5348
5349
|
* @throws {RequiredError}
|
|
5349
5350
|
*/
|
|
5350
|
-
listTransactionsByLoginIdentityId: (offset?: number, limit?: number,
|
|
5351
|
+
listTransactionsByLoginIdentityId: (offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5351
5352
|
/**
|
|
5352
5353
|
* Create a refresh job for a login identity
|
|
5353
5354
|
* @param {*} [options] Override http request option.
|
|
@@ -5445,19 +5446,20 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
|
|
|
5445
5446
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
5446
5447
|
* @param {number} [offset] default is 0
|
|
5447
5448
|
* @param {number} [limit] default is 500, max is 1000
|
|
5449
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5448
5450
|
* @param {*} [options] Override http request option.
|
|
5449
5451
|
* @throws {RequiredError}
|
|
5450
5452
|
*/
|
|
5451
|
-
listTransactionsByAccountId(accountId: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactionsResponse>>;
|
|
5453
|
+
listTransactionsByAccountId(accountId: string, offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactionsResponse>>;
|
|
5452
5454
|
/**
|
|
5453
5455
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
5454
5456
|
* @param {number} [offset] default is 0
|
|
5455
5457
|
* @param {number} [limit] default is 500, max is 1000
|
|
5456
|
-
* @param {boolean} [
|
|
5458
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5457
5459
|
* @param {*} [options] Override http request option.
|
|
5458
5460
|
* @throws {RequiredError}
|
|
5459
5461
|
*/
|
|
5460
|
-
listTransactionsByLoginIdentityId(offset?: number, limit?: number,
|
|
5462
|
+
listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactionsResponse>>;
|
|
5461
5463
|
/**
|
|
5462
5464
|
* Create a refresh job for a login identity
|
|
5463
5465
|
* @param {*} [options] Override http request option.
|
|
@@ -5555,19 +5557,20 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
|
|
|
5555
5557
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
5556
5558
|
* @param {number} [offset] default is 0
|
|
5557
5559
|
* @param {number} [limit] default is 500, max is 1000
|
|
5560
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5558
5561
|
* @param {*} [options] Override http request option.
|
|
5559
5562
|
* @throws {RequiredError}
|
|
5560
5563
|
*/
|
|
5561
|
-
listTransactionsByAccountId(accountId: string, offset?: number, limit?: number, options?: any): AxiosPromise<ListTransactionsResponse>;
|
|
5564
|
+
listTransactionsByAccountId(accountId: string, offset?: number, limit?: number, enrichments?: boolean, options?: any): AxiosPromise<ListTransactionsResponse>;
|
|
5562
5565
|
/**
|
|
5563
5566
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
5564
5567
|
* @param {number} [offset] default is 0
|
|
5565
5568
|
* @param {number} [limit] default is 500, max is 1000
|
|
5566
|
-
* @param {boolean} [
|
|
5569
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5567
5570
|
* @param {*} [options] Override http request option.
|
|
5568
5571
|
* @throws {RequiredError}
|
|
5569
5572
|
*/
|
|
5570
|
-
listTransactionsByLoginIdentityId(offset?: number, limit?: number,
|
|
5573
|
+
listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: any): AxiosPromise<ListTransactionsResponse>;
|
|
5571
5574
|
/**
|
|
5572
5575
|
* Create a refresh job for a login identity
|
|
5573
5576
|
* @param {*} [options] Override http request option.
|
|
@@ -5678,21 +5681,22 @@ export interface LoginIdentityApiInterface {
|
|
|
5678
5681
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
5679
5682
|
* @param {number} [offset] default is 0
|
|
5680
5683
|
* @param {number} [limit] default is 500, max is 1000
|
|
5684
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5681
5685
|
* @param {*} [options] Override http request option.
|
|
5682
5686
|
* @throws {RequiredError}
|
|
5683
5687
|
* @memberof LoginIdentityApiInterface
|
|
5684
5688
|
*/
|
|
5685
|
-
listTransactionsByAccountId(accountId: string, offset?: number, limit?: number, options?: AxiosRequestConfig): AxiosPromise<ListTransactionsResponse>;
|
|
5689
|
+
listTransactionsByAccountId(accountId: string, offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): AxiosPromise<ListTransactionsResponse>;
|
|
5686
5690
|
/**
|
|
5687
5691
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
5688
5692
|
* @param {number} [offset] default is 0
|
|
5689
5693
|
* @param {number} [limit] default is 500, max is 1000
|
|
5690
|
-
* @param {boolean} [
|
|
5694
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5691
5695
|
* @param {*} [options] Override http request option.
|
|
5692
5696
|
* @throws {RequiredError}
|
|
5693
5697
|
* @memberof LoginIdentityApiInterface
|
|
5694
5698
|
*/
|
|
5695
|
-
listTransactionsByLoginIdentityId(offset?: number, limit?: number,
|
|
5699
|
+
listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): AxiosPromise<ListTransactionsResponse>;
|
|
5696
5700
|
/**
|
|
5697
5701
|
* Create a refresh job for a login identity
|
|
5698
5702
|
* @param {*} [options] Override http request option.
|
|
@@ -5805,21 +5809,22 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
|
|
|
5805
5809
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
5806
5810
|
* @param {number} [offset] default is 0
|
|
5807
5811
|
* @param {number} [limit] default is 500, max is 1000
|
|
5812
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5808
5813
|
* @param {*} [options] Override http request option.
|
|
5809
5814
|
* @throws {RequiredError}
|
|
5810
5815
|
* @memberof LoginIdentityApi
|
|
5811
5816
|
*/
|
|
5812
|
-
listTransactionsByAccountId(accountId: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTransactionsResponse>>;
|
|
5817
|
+
listTransactionsByAccountId(accountId: string, offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTransactionsResponse>>;
|
|
5813
5818
|
/**
|
|
5814
5819
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
5815
5820
|
* @param {number} [offset] default is 0
|
|
5816
5821
|
* @param {number} [limit] default is 500, max is 1000
|
|
5817
|
-
* @param {boolean} [
|
|
5822
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
5818
5823
|
* @param {*} [options] Override http request option.
|
|
5819
5824
|
* @throws {RequiredError}
|
|
5820
5825
|
* @memberof LoginIdentityApi
|
|
5821
5826
|
*/
|
|
5822
|
-
listTransactionsByLoginIdentityId(offset?: number, limit?: number,
|
|
5827
|
+
listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTransactionsResponse>>;
|
|
5823
5828
|
/**
|
|
5824
5829
|
* Create a refresh job for a login identity
|
|
5825
5830
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -2361,10 +2361,11 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
2361
2361
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
2362
2362
|
* @param {number} [offset] default is 0
|
|
2363
2363
|
* @param {number} [limit] default is 500, max is 1000
|
|
2364
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2364
2365
|
* @param {*} [options] Override http request option.
|
|
2365
2366
|
* @throws {RequiredError}
|
|
2366
2367
|
*/
|
|
2367
|
-
listTransactionsByAccountId: (accountId, offset, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2368
|
+
listTransactionsByAccountId: (accountId, offset, limit, enrichments, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2368
2369
|
// verify required parameter 'accountId' is not null or undefined
|
|
2369
2370
|
common_1.assertParamExists('listTransactionsByAccountId', 'accountId', accountId);
|
|
2370
2371
|
const localVarPath = `/transactions/{accountId}`.replace(`{${'accountId'}}`, encodeURIComponent(String(accountId)));
|
|
@@ -2386,6 +2387,9 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
2386
2387
|
if (limit !== undefined) {
|
|
2387
2388
|
localVarQueryParameter['limit'] = limit;
|
|
2388
2389
|
}
|
|
2390
|
+
if (enrichments !== undefined) {
|
|
2391
|
+
localVarQueryParameter['enrichments'] = enrichments;
|
|
2392
|
+
}
|
|
2389
2393
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2390
2394
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2391
2395
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2398,11 +2402,11 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
2398
2402
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
2399
2403
|
* @param {number} [offset] default is 0
|
|
2400
2404
|
* @param {number} [limit] default is 500, max is 1000
|
|
2401
|
-
* @param {boolean} [
|
|
2405
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2402
2406
|
* @param {*} [options] Override http request option.
|
|
2403
2407
|
* @throws {RequiredError}
|
|
2404
2408
|
*/
|
|
2405
|
-
listTransactionsByLoginIdentityId: (offset, limit,
|
|
2409
|
+
listTransactionsByLoginIdentityId: (offset, limit, enrichments, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2406
2410
|
const localVarPath = `/transactions`;
|
|
2407
2411
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2408
2412
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -2422,8 +2426,8 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
|
|
|
2422
2426
|
if (limit !== undefined) {
|
|
2423
2427
|
localVarQueryParameter['limit'] = limit;
|
|
2424
2428
|
}
|
|
2425
|
-
if (
|
|
2426
|
-
localVarQueryParameter['
|
|
2429
|
+
if (enrichments !== undefined) {
|
|
2430
|
+
localVarQueryParameter['enrichments'] = enrichments;
|
|
2427
2431
|
}
|
|
2428
2432
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2429
2433
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2614,12 +2618,13 @@ exports.LoginIdentityApiFp = function (configuration) {
|
|
|
2614
2618
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
2615
2619
|
* @param {number} [offset] default is 0
|
|
2616
2620
|
* @param {number} [limit] default is 500, max is 1000
|
|
2621
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2617
2622
|
* @param {*} [options] Override http request option.
|
|
2618
2623
|
* @throws {RequiredError}
|
|
2619
2624
|
*/
|
|
2620
|
-
listTransactionsByAccountId(accountId, offset, limit, options) {
|
|
2625
|
+
listTransactionsByAccountId(accountId, offset, limit, enrichments, options) {
|
|
2621
2626
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2622
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactionsByAccountId(accountId, offset, limit, options);
|
|
2627
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactionsByAccountId(accountId, offset, limit, enrichments, options);
|
|
2623
2628
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2624
2629
|
});
|
|
2625
2630
|
},
|
|
@@ -2627,13 +2632,13 @@ exports.LoginIdentityApiFp = function (configuration) {
|
|
|
2627
2632
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
2628
2633
|
* @param {number} [offset] default is 0
|
|
2629
2634
|
* @param {number} [limit] default is 500, max is 1000
|
|
2630
|
-
* @param {boolean} [
|
|
2635
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2631
2636
|
* @param {*} [options] Override http request option.
|
|
2632
2637
|
* @throws {RequiredError}
|
|
2633
2638
|
*/
|
|
2634
|
-
listTransactionsByLoginIdentityId(offset, limit,
|
|
2639
|
+
listTransactionsByLoginIdentityId(offset, limit, enrichments, options) {
|
|
2635
2640
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2636
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactionsByLoginIdentityId(offset, limit,
|
|
2641
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactionsByLoginIdentityId(offset, limit, enrichments, options);
|
|
2637
2642
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2638
2643
|
});
|
|
2639
2644
|
},
|
|
@@ -2766,25 +2771,26 @@ exports.LoginIdentityApiFactory = function (configuration, basePath, axios) {
|
|
|
2766
2771
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
2767
2772
|
* @param {number} [offset] default is 0
|
|
2768
2773
|
* @param {number} [limit] default is 500, max is 1000
|
|
2774
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2769
2775
|
* @param {*} [options] Override http request option.
|
|
2770
2776
|
* @throws {RequiredError}
|
|
2771
2777
|
*/
|
|
2772
|
-
listTransactionsByAccountId(accountId, offset, limit, options) {
|
|
2778
|
+
listTransactionsByAccountId(accountId, offset, limit, enrichments, options) {
|
|
2773
2779
|
return localVarFp
|
|
2774
|
-
.listTransactionsByAccountId(accountId, offset, limit, options)
|
|
2780
|
+
.listTransactionsByAccountId(accountId, offset, limit, enrichments, options)
|
|
2775
2781
|
.then((request) => request(axios, basePath));
|
|
2776
2782
|
},
|
|
2777
2783
|
/**
|
|
2778
2784
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
2779
2785
|
* @param {number} [offset] default is 0
|
|
2780
2786
|
* @param {number} [limit] default is 500, max is 1000
|
|
2781
|
-
* @param {boolean} [
|
|
2787
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2782
2788
|
* @param {*} [options] Override http request option.
|
|
2783
2789
|
* @throws {RequiredError}
|
|
2784
2790
|
*/
|
|
2785
|
-
listTransactionsByLoginIdentityId(offset, limit,
|
|
2791
|
+
listTransactionsByLoginIdentityId(offset, limit, enrichments, options) {
|
|
2786
2792
|
return localVarFp
|
|
2787
|
-
.listTransactionsByLoginIdentityId(offset, limit,
|
|
2793
|
+
.listTransactionsByLoginIdentityId(offset, limit, enrichments, options)
|
|
2788
2794
|
.then((request) => request(axios, basePath));
|
|
2789
2795
|
},
|
|
2790
2796
|
/**
|
|
@@ -2949,27 +2955,28 @@ class LoginIdentityApi extends base_1.BaseAPI {
|
|
|
2949
2955
|
* @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
|
|
2950
2956
|
* @param {number} [offset] default is 0
|
|
2951
2957
|
* @param {number} [limit] default is 500, max is 1000
|
|
2958
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2952
2959
|
* @param {*} [options] Override http request option.
|
|
2953
2960
|
* @throws {RequiredError}
|
|
2954
2961
|
* @memberof LoginIdentityApi
|
|
2955
2962
|
*/
|
|
2956
|
-
listTransactionsByAccountId(accountId, offset, limit, options) {
|
|
2963
|
+
listTransactionsByAccountId(accountId, offset, limit, enrichments, options) {
|
|
2957
2964
|
return exports.LoginIdentityApiFp(this.configuration)
|
|
2958
|
-
.listTransactionsByAccountId(accountId, offset, limit, options)
|
|
2965
|
+
.listTransactionsByAccountId(accountId, offset, limit, enrichments, options)
|
|
2959
2966
|
.then((request) => request(this.axios, this.basePath));
|
|
2960
2967
|
}
|
|
2961
2968
|
/**
|
|
2962
2969
|
* Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
|
|
2963
2970
|
* @param {number} [offset] default is 0
|
|
2964
2971
|
* @param {number} [limit] default is 500, max is 1000
|
|
2965
|
-
* @param {boolean} [
|
|
2972
|
+
* @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
|
|
2966
2973
|
* @param {*} [options] Override http request option.
|
|
2967
2974
|
* @throws {RequiredError}
|
|
2968
2975
|
* @memberof LoginIdentityApi
|
|
2969
2976
|
*/
|
|
2970
|
-
listTransactionsByLoginIdentityId(offset, limit,
|
|
2977
|
+
listTransactionsByLoginIdentityId(offset, limit, enrichments, options) {
|
|
2971
2978
|
return exports.LoginIdentityApiFp(this.configuration)
|
|
2972
|
-
.listTransactionsByLoginIdentityId(offset, limit,
|
|
2979
|
+
.listTransactionsByLoginIdentityId(offset, limit, enrichments, options)
|
|
2973
2980
|
.then((request) => request(this.axios, this.basePath));
|
|
2974
2981
|
}
|
|
2975
2982
|
/**
|