@finverse/sdk-typescript 0.0.65 → 0.0.67

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 CHANGED
@@ -217,7 +217,6 @@ export declare const AccountTypeTypeEnum: {
217
217
  };
218
218
  export declare type AccountTypeTypeEnum = typeof AccountTypeTypeEnum[keyof typeof AccountTypeTypeEnum];
219
219
  export declare const AccountTypeSubtypeEnum: {
220
- readonly Checking: "CHECKING";
221
220
  readonly Current: "CURRENT";
222
221
  readonly Savings: "SAVINGS";
223
222
  readonly TimeDeposit: "TIME_DEPOSIT";
@@ -5344,10 +5343,11 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
5344
5343
  * Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
5345
5344
  * @param {number} [offset] default is 0
5346
5345
  * @param {number} [limit] default is 500, max is 1000
5346
+ * @param {boolean} [enrichedTransactions] when true, response will be enriched transactions; otherwise it will be raw transactions
5347
5347
  * @param {*} [options] Override http request option.
5348
5348
  * @throws {RequiredError}
5349
5349
  */
5350
- listTransactionsByLoginIdentityId: (offset?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5350
+ listTransactionsByLoginIdentityId: (offset?: number, limit?: number, enrichedTransactions?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5351
5351
  /**
5352
5352
  * Create a refresh job for a login identity
5353
5353
  * @param {*} [options] Override http request option.
@@ -5453,10 +5453,11 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
5453
5453
  * Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
5454
5454
  * @param {number} [offset] default is 0
5455
5455
  * @param {number} [limit] default is 500, max is 1000
5456
+ * @param {boolean} [enrichedTransactions] when true, response will be enriched transactions; otherwise it will be raw transactions
5456
5457
  * @param {*} [options] Override http request option.
5457
5458
  * @throws {RequiredError}
5458
5459
  */
5459
- listTransactionsByLoginIdentityId(offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactionsResponse>>;
5460
+ listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichedTransactions?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactionsResponse>>;
5460
5461
  /**
5461
5462
  * Create a refresh job for a login identity
5462
5463
  * @param {*} [options] Override http request option.
@@ -5562,10 +5563,11 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
5562
5563
  * Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
5563
5564
  * @param {number} [offset] default is 0
5564
5565
  * @param {number} [limit] default is 500, max is 1000
5566
+ * @param {boolean} [enrichedTransactions] when true, response will be enriched transactions; otherwise it will be raw transactions
5565
5567
  * @param {*} [options] Override http request option.
5566
5568
  * @throws {RequiredError}
5567
5569
  */
5568
- listTransactionsByLoginIdentityId(offset?: number, limit?: number, options?: any): AxiosPromise<ListTransactionsResponse>;
5570
+ listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichedTransactions?: boolean, options?: any): AxiosPromise<ListTransactionsResponse>;
5569
5571
  /**
5570
5572
  * Create a refresh job for a login identity
5571
5573
  * @param {*} [options] Override http request option.
@@ -5685,11 +5687,12 @@ export interface LoginIdentityApiInterface {
5685
5687
  * Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
5686
5688
  * @param {number} [offset] default is 0
5687
5689
  * @param {number} [limit] default is 500, max is 1000
5690
+ * @param {boolean} [enrichedTransactions] when true, response will be enriched transactions; otherwise it will be raw transactions
5688
5691
  * @param {*} [options] Override http request option.
5689
5692
  * @throws {RequiredError}
5690
5693
  * @memberof LoginIdentityApiInterface
5691
5694
  */
5692
- listTransactionsByLoginIdentityId(offset?: number, limit?: number, options?: AxiosRequestConfig): AxiosPromise<ListTransactionsResponse>;
5695
+ listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichedTransactions?: boolean, options?: AxiosRequestConfig): AxiosPromise<ListTransactionsResponse>;
5693
5696
  /**
5694
5697
  * Create a refresh job for a login identity
5695
5698
  * @param {*} [options] Override http request option.
@@ -5811,11 +5814,12 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
5811
5814
  * Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
5812
5815
  * @param {number} [offset] default is 0
5813
5816
  * @param {number} [limit] default is 500, max is 1000
5817
+ * @param {boolean} [enrichedTransactions] when true, response will be enriched transactions; otherwise it will be raw transactions
5814
5818
  * @param {*} [options] Override http request option.
5815
5819
  * @throws {RequiredError}
5816
5820
  * @memberof LoginIdentityApi
5817
5821
  */
5818
- listTransactionsByLoginIdentityId(offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTransactionsResponse>>;
5822
+ listTransactionsByLoginIdentityId(offset?: number, limit?: number, enrichedTransactions?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTransactionsResponse>>;
5819
5823
  /**
5820
5824
  * Create a refresh job for a login identity
5821
5825
  * @param {*} [options] Override http request option.
package/dist/api.js CHANGED
@@ -37,7 +37,6 @@ exports.AccountTypeTypeEnum = {
37
37
  Unknown: 'UNKNOWN',
38
38
  };
39
39
  exports.AccountTypeSubtypeEnum = {
40
- Checking: 'CHECKING',
41
40
  Current: 'CURRENT',
42
41
  Savings: 'SAVINGS',
43
42
  TimeDeposit: 'TIME_DEPOSIT',
@@ -2399,10 +2398,11 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
2399
2398
  * Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
2400
2399
  * @param {number} [offset] default is 0
2401
2400
  * @param {number} [limit] default is 500, max is 1000
2401
+ * @param {boolean} [enrichedTransactions] when true, response will be enriched transactions; otherwise it will be raw transactions
2402
2402
  * @param {*} [options] Override http request option.
2403
2403
  * @throws {RequiredError}
2404
2404
  */
2405
- listTransactionsByLoginIdentityId: (offset, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
2405
+ listTransactionsByLoginIdentityId: (offset, limit, enrichedTransactions, options = {}) => __awaiter(this, void 0, void 0, function* () {
2406
2406
  const localVarPath = `/transactions`;
2407
2407
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2408
2408
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2422,6 +2422,9 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
2422
2422
  if (limit !== undefined) {
2423
2423
  localVarQueryParameter['limit'] = limit;
2424
2424
  }
2425
+ if (enrichedTransactions !== undefined) {
2426
+ localVarQueryParameter['enrichedTransactions'] = enrichedTransactions;
2427
+ }
2425
2428
  common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
2426
2429
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2427
2430
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2624,12 +2627,13 @@ exports.LoginIdentityApiFp = function (configuration) {
2624
2627
  * Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
2625
2628
  * @param {number} [offset] default is 0
2626
2629
  * @param {number} [limit] default is 500, max is 1000
2630
+ * @param {boolean} [enrichedTransactions] when true, response will be enriched transactions; otherwise it will be raw transactions
2627
2631
  * @param {*} [options] Override http request option.
2628
2632
  * @throws {RequiredError}
2629
2633
  */
2630
- listTransactionsByLoginIdentityId(offset, limit, options) {
2634
+ listTransactionsByLoginIdentityId(offset, limit, enrichedTransactions, options) {
2631
2635
  return __awaiter(this, void 0, void 0, function* () {
2632
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactionsByLoginIdentityId(offset, limit, options);
2636
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listTransactionsByLoginIdentityId(offset, limit, enrichedTransactions, options);
2633
2637
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2634
2638
  });
2635
2639
  },
@@ -2774,12 +2778,13 @@ exports.LoginIdentityApiFactory = function (configuration, basePath, axios) {
2774
2778
  * Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
2775
2779
  * @param {number} [offset] default is 0
2776
2780
  * @param {number} [limit] default is 500, max is 1000
2781
+ * @param {boolean} [enrichedTransactions] when true, response will be enriched transactions; otherwise it will be raw transactions
2777
2782
  * @param {*} [options] Override http request option.
2778
2783
  * @throws {RequiredError}
2779
2784
  */
2780
- listTransactionsByLoginIdentityId(offset, limit, options) {
2785
+ listTransactionsByLoginIdentityId(offset, limit, enrichedTransactions, options) {
2781
2786
  return localVarFp
2782
- .listTransactionsByLoginIdentityId(offset, limit, options)
2787
+ .listTransactionsByLoginIdentityId(offset, limit, enrichedTransactions, options)
2783
2788
  .then((request) => request(axios, basePath));
2784
2789
  },
2785
2790
  /**
@@ -2957,13 +2962,14 @@ class LoginIdentityApi extends base_1.BaseAPI {
2957
2962
  * Get a list of transactions for a login identity. The transactions are returned in sorted order, with the most recent one appearing first.
2958
2963
  * @param {number} [offset] default is 0
2959
2964
  * @param {number} [limit] default is 500, max is 1000
2965
+ * @param {boolean} [enrichedTransactions] when true, response will be enriched transactions; otherwise it will be raw transactions
2960
2966
  * @param {*} [options] Override http request option.
2961
2967
  * @throws {RequiredError}
2962
2968
  * @memberof LoginIdentityApi
2963
2969
  */
2964
- listTransactionsByLoginIdentityId(offset, limit, options) {
2970
+ listTransactionsByLoginIdentityId(offset, limit, enrichedTransactions, options) {
2965
2971
  return exports.LoginIdentityApiFp(this.configuration)
2966
- .listTransactionsByLoginIdentityId(offset, limit, options)
2972
+ .listTransactionsByLoginIdentityId(offset, limit, enrichedTransactions, options)
2967
2973
  .then((request) => request(this.axios, this.basePath));
2968
2974
  }
2969
2975
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.65",
3
+ "version": "0.0.67",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [