@finverse/sdk-typescript 0.0.66 → 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.
Files changed (3) hide show
  1. package/dist/api.d.ts +20 -10
  2. package/dist/api.js +28 -14
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -5335,18 +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
5347
+ * @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
5346
5348
  * @param {*} [options] Override http request option.
5347
5349
  * @throws {RequiredError}
5348
5350
  */
5349
- listTransactionsByLoginIdentityId: (offset?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5351
+ listTransactionsByLoginIdentityId: (offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5350
5352
  /**
5351
5353
  * Create a refresh job for a login identity
5352
5354
  * @param {*} [options] Override http request option.
@@ -5444,18 +5446,20 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
5444
5446
  * @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
5445
5447
  * @param {number} [offset] default is 0
5446
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
5447
5450
  * @param {*} [options] Override http request option.
5448
5451
  * @throws {RequiredError}
5449
5452
  */
5450
- 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>>;
5451
5454
  /**
5452
5455
  * Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
5453
5456
  * @param {number} [offset] default is 0
5454
5457
  * @param {number} [limit] default is 500, max is 1000
5458
+ * @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
5455
5459
  * @param {*} [options] Override http request option.
5456
5460
  * @throws {RequiredError}
5457
5461
  */
5458
- listTransactionsByLoginIdentityId(offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactionsResponse>>;
5462
+ listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactionsResponse>>;
5459
5463
  /**
5460
5464
  * Create a refresh job for a login identity
5461
5465
  * @param {*} [options] Override http request option.
@@ -5553,18 +5557,20 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
5553
5557
  * @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
5554
5558
  * @param {number} [offset] default is 0
5555
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
5556
5561
  * @param {*} [options] Override http request option.
5557
5562
  * @throws {RequiredError}
5558
5563
  */
5559
- 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>;
5560
5565
  /**
5561
5566
  * Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
5562
5567
  * @param {number} [offset] default is 0
5563
5568
  * @param {number} [limit] default is 500, max is 1000
5569
+ * @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
5564
5570
  * @param {*} [options] Override http request option.
5565
5571
  * @throws {RequiredError}
5566
5572
  */
5567
- listTransactionsByLoginIdentityId(offset?: number, limit?: number, options?: any): AxiosPromise<ListTransactionsResponse>;
5573
+ listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: any): AxiosPromise<ListTransactionsResponse>;
5568
5574
  /**
5569
5575
  * Create a refresh job for a login identity
5570
5576
  * @param {*} [options] Override http request option.
@@ -5675,20 +5681,22 @@ export interface LoginIdentityApiInterface {
5675
5681
  * @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
5676
5682
  * @param {number} [offset] default is 0
5677
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
5678
5685
  * @param {*} [options] Override http request option.
5679
5686
  * @throws {RequiredError}
5680
5687
  * @memberof LoginIdentityApiInterface
5681
5688
  */
5682
- 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>;
5683
5690
  /**
5684
5691
  * Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
5685
5692
  * @param {number} [offset] default is 0
5686
5693
  * @param {number} [limit] default is 500, max is 1000
5694
+ * @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
5687
5695
  * @param {*} [options] Override http request option.
5688
5696
  * @throws {RequiredError}
5689
5697
  * @memberof LoginIdentityApiInterface
5690
5698
  */
5691
- listTransactionsByLoginIdentityId(offset?: number, limit?: number, options?: AxiosRequestConfig): AxiosPromise<ListTransactionsResponse>;
5699
+ listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): AxiosPromise<ListTransactionsResponse>;
5692
5700
  /**
5693
5701
  * Create a refresh job for a login identity
5694
5702
  * @param {*} [options] Override http request option.
@@ -5801,20 +5809,22 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
5801
5809
  * @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
5802
5810
  * @param {number} [offset] default is 0
5803
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
5804
5813
  * @param {*} [options] Override http request option.
5805
5814
  * @throws {RequiredError}
5806
5815
  * @memberof LoginIdentityApi
5807
5816
  */
5808
- 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>>;
5809
5818
  /**
5810
5819
  * Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
5811
5820
  * @param {number} [offset] default is 0
5812
5821
  * @param {number} [limit] default is 500, max is 1000
5822
+ * @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
5813
5823
  * @param {*} [options] Override http request option.
5814
5824
  * @throws {RequiredError}
5815
5825
  * @memberof LoginIdentityApi
5816
5826
  */
5817
- listTransactionsByLoginIdentityId(offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTransactionsResponse>>;
5827
+ listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichments?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTransactionsResponse>>;
5818
5828
  /**
5819
5829
  * Create a refresh job for a login identity
5820
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,10 +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
2405
+ * @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
2401
2406
  * @param {*} [options] Override http request option.
2402
2407
  * @throws {RequiredError}
2403
2408
  */
2404
- listTransactionsByLoginIdentityId: (offset, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
2409
+ listTransactionsByLoginIdentityId: (offset, limit, enrichments, options = {}) => __awaiter(this, void 0, void 0, function* () {
2405
2410
  const localVarPath = `/transactions`;
2406
2411
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2407
2412
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2421,6 +2426,9 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
2421
2426
  if (limit !== undefined) {
2422
2427
  localVarQueryParameter['limit'] = limit;
2423
2428
  }
2429
+ if (enrichments !== undefined) {
2430
+ localVarQueryParameter['enrichments'] = enrichments;
2431
+ }
2424
2432
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
2425
2433
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2426
2434
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2610,12 +2618,13 @@ exports.LoginIdentityApiFp = function (configuration) {
2610
2618
  * @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
2611
2619
  * @param {number} [offset] default is 0
2612
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
2613
2622
  * @param {*} [options] Override http request option.
2614
2623
  * @throws {RequiredError}
2615
2624
  */
2616
- listTransactionsByAccountId(accountId, offset, limit, options) {
2625
+ listTransactionsByAccountId(accountId, offset, limit, enrichments, options) {
2617
2626
  return __awaiter(this, void 0, void 0, function* () {
2618
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactionsByAccountId(accountId, offset, limit, options);
2627
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactionsByAccountId(accountId, offset, limit, enrichments, options);
2619
2628
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2620
2629
  });
2621
2630
  },
@@ -2623,12 +2632,13 @@ exports.LoginIdentityApiFp = function (configuration) {
2623
2632
  * Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
2624
2633
  * @param {number} [offset] default is 0
2625
2634
  * @param {number} [limit] default is 500, max is 1000
2635
+ * @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
2626
2636
  * @param {*} [options] Override http request option.
2627
2637
  * @throws {RequiredError}
2628
2638
  */
2629
- listTransactionsByLoginIdentityId(offset, limit, options) {
2639
+ listTransactionsByLoginIdentityId(offset, limit, enrichments, options) {
2630
2640
  return __awaiter(this, void 0, void 0, function* () {
2631
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactionsByLoginIdentityId(offset, limit, options);
2641
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactionsByLoginIdentityId(offset, limit, enrichments, options);
2632
2642
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2633
2643
  });
2634
2644
  },
@@ -2761,24 +2771,26 @@ exports.LoginIdentityApiFactory = function (configuration, basePath, axios) {
2761
2771
  * @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
2762
2772
  * @param {number} [offset] default is 0
2763
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
2764
2775
  * @param {*} [options] Override http request option.
2765
2776
  * @throws {RequiredError}
2766
2777
  */
2767
- listTransactionsByAccountId(accountId, offset, limit, options) {
2778
+ listTransactionsByAccountId(accountId, offset, limit, enrichments, options) {
2768
2779
  return localVarFp
2769
- .listTransactionsByAccountId(accountId, offset, limit, options)
2780
+ .listTransactionsByAccountId(accountId, offset, limit, enrichments, options)
2770
2781
  .then((request) => request(axios, basePath));
2771
2782
  },
2772
2783
  /**
2773
2784
  * Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
2774
2785
  * @param {number} [offset] default is 0
2775
2786
  * @param {number} [limit] default is 500, max is 1000
2787
+ * @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
2776
2788
  * @param {*} [options] Override http request option.
2777
2789
  * @throws {RequiredError}
2778
2790
  */
2779
- listTransactionsByLoginIdentityId(offset, limit, options) {
2791
+ listTransactionsByLoginIdentityId(offset, limit, enrichments, options) {
2780
2792
  return localVarFp
2781
- .listTransactionsByLoginIdentityId(offset, limit, options)
2793
+ .listTransactionsByLoginIdentityId(offset, limit, enrichments, options)
2782
2794
  .then((request) => request(axios, basePath));
2783
2795
  },
2784
2796
  /**
@@ -2943,26 +2955,28 @@ class LoginIdentityApi extends base_1.BaseAPI {
2943
2955
  * @param {string} accountId The account id (ULID, example - 01EP4A1MZDHKETZFRPF0K62S6S)
2944
2956
  * @param {number} [offset] default is 0
2945
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
2946
2959
  * @param {*} [options] Override http request option.
2947
2960
  * @throws {RequiredError}
2948
2961
  * @memberof LoginIdentityApi
2949
2962
  */
2950
- listTransactionsByAccountId(accountId, offset, limit, options) {
2963
+ listTransactionsByAccountId(accountId, offset, limit, enrichments, options) {
2951
2964
  return exports.LoginIdentityApiFp(this.configuration)
2952
- .listTransactionsByAccountId(accountId, offset, limit, options)
2965
+ .listTransactionsByAccountId(accountId, offset, limit, enrichments, options)
2953
2966
  .then((request) => request(this.axios, this.basePath));
2954
2967
  }
2955
2968
  /**
2956
2969
  * Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
2957
2970
  * @param {number} [offset] default is 0
2958
2971
  * @param {number} [limit] default is 500, max is 1000
2972
+ * @param {boolean} [enrichments] when true, response will be enriched transactions; otherwise it will be raw transactions
2959
2973
  * @param {*} [options] Override http request option.
2960
2974
  * @throws {RequiredError}
2961
2975
  * @memberof LoginIdentityApi
2962
2976
  */
2963
- listTransactionsByLoginIdentityId(offset, limit, options) {
2977
+ listTransactionsByLoginIdentityId(offset, limit, enrichments, options) {
2964
2978
  return exports.LoginIdentityApiFp(this.configuration)
2965
- .listTransactionsByLoginIdentityId(offset, limit, options)
2979
+ .listTransactionsByLoginIdentityId(offset, limit, enrichments, options)
2966
2980
  .then((request) => request(this.axios, this.basePath));
2967
2981
  }
2968
2982
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.66",
3
+ "version": "0.0.68",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [