@finverse/sdk-typescript 0.0.35 → 0.0.36

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
@@ -3266,6 +3266,12 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
3266
3266
  * @throws {RequiredError}
3267
3267
  */
3268
3268
  getBalanceHistory: (accountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3269
+ /**
3270
+ * Download composite statement
3271
+ * @param {*} [options] Override http request option.
3272
+ * @throws {RequiredError}
3273
+ */
3274
+ getCompositeStatement: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
3269
3275
  /**
3270
3276
  * Get composite statement link for download
3271
3277
  * @param {*} [options] Override http request option.
@@ -3379,6 +3385,12 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
3379
3385
  * @throws {RequiredError}
3380
3386
  */
3381
3387
  getBalanceHistory(accountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBalanceHistoryResponse>>;
3388
+ /**
3389
+ * Download composite statement
3390
+ * @param {*} [options] Override http request option.
3391
+ * @throws {RequiredError}
3392
+ */
3393
+ getCompositeStatement(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3382
3394
  /**
3383
3395
  * Get composite statement link for download
3384
3396
  * @param {*} [options] Override http request option.
@@ -3492,6 +3504,12 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
3492
3504
  * @throws {RequiredError}
3493
3505
  */
3494
3506
  getBalanceHistory(accountId: string, options?: any): AxiosPromise<GetBalanceHistoryResponse>;
3507
+ /**
3508
+ * Download composite statement
3509
+ * @param {*} [options] Override http request option.
3510
+ * @throws {RequiredError}
3511
+ */
3512
+ getCompositeStatement(options?: any): AxiosPromise<void>;
3495
3513
  /**
3496
3514
  * Get composite statement link for download
3497
3515
  * @param {*} [options] Override http request option.
@@ -3611,6 +3629,13 @@ export interface LoginIdentityApiInterface {
3611
3629
  * @memberof LoginIdentityApiInterface
3612
3630
  */
3613
3631
  getBalanceHistory(accountId: string, options?: AxiosRequestConfig): AxiosPromise<GetBalanceHistoryResponse>;
3632
+ /**
3633
+ * Download composite statement
3634
+ * @param {*} [options] Override http request option.
3635
+ * @throws {RequiredError}
3636
+ * @memberof LoginIdentityApiInterface
3637
+ */
3638
+ getCompositeStatement(options?: AxiosRequestConfig): AxiosPromise<void>;
3614
3639
  /**
3615
3640
  * Get composite statement link for download
3616
3641
  * @param {*} [options] Override http request option.
@@ -3742,6 +3767,13 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
3742
3767
  * @memberof LoginIdentityApi
3743
3768
  */
3744
3769
  getBalanceHistory(accountId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBalanceHistoryResponse>>;
3770
+ /**
3771
+ * Download composite statement
3772
+ * @param {*} [options] Override http request option.
3773
+ * @throws {RequiredError}
3774
+ * @memberof LoginIdentityApi
3775
+ */
3776
+ getCompositeStatement(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
3745
3777
  /**
3746
3778
  * Get composite statement link for download
3747
3779
  * @param {*} [options] Override http request option.
package/dist/api.js CHANGED
@@ -1181,13 +1181,40 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
1181
1181
  options: localVarRequestOptions,
1182
1182
  };
1183
1183
  }),
1184
+ /**
1185
+ * Download composite statement
1186
+ * @param {*} [options] Override http request option.
1187
+ * @throws {RequiredError}
1188
+ */
1189
+ getCompositeStatement: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1190
+ const localVarPath = `/composite_statement`;
1191
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1192
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1193
+ let baseOptions;
1194
+ if (configuration) {
1195
+ baseOptions = configuration.baseOptions;
1196
+ }
1197
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1198
+ const localVarHeaderParameter = {};
1199
+ const localVarQueryParameter = {};
1200
+ // authentication Oauth2 required
1201
+ // oauth required
1202
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
1203
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
1204
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1205
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1206
+ return {
1207
+ url: common_1.toPathString(localVarUrlObj),
1208
+ options: localVarRequestOptions,
1209
+ };
1210
+ }),
1184
1211
  /**
1185
1212
  * Get composite statement link for download
1186
1213
  * @param {*} [options] Override http request option.
1187
1214
  * @throws {RequiredError}
1188
1215
  */
1189
1216
  getCompositeStatementLink: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1190
- const localVarPath = `/composite_statement`;
1217
+ const localVarPath = `/composite_statement_link`;
1191
1218
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1192
1219
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1193
1220
  let baseOptions;
@@ -1571,6 +1598,17 @@ exports.LoginIdentityApiFp = function (configuration) {
1571
1598
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1572
1599
  });
1573
1600
  },
1601
+ /**
1602
+ * Download composite statement
1603
+ * @param {*} [options] Override http request option.
1604
+ * @throws {RequiredError}
1605
+ */
1606
+ getCompositeStatement(options) {
1607
+ return __awaiter(this, void 0, void 0, function* () {
1608
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getCompositeStatement(options);
1609
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1610
+ });
1611
+ },
1574
1612
  /**
1575
1613
  * Get composite statement link for download
1576
1614
  * @param {*} [options] Override http request option.
@@ -1752,6 +1790,14 @@ exports.LoginIdentityApiFactory = function (configuration, basePath, axios) {
1752
1790
  getBalanceHistory(accountId, options) {
1753
1791
  return localVarFp.getBalanceHistory(accountId, options).then((request) => request(axios, basePath));
1754
1792
  },
1793
+ /**
1794
+ * Download composite statement
1795
+ * @param {*} [options] Override http request option.
1796
+ * @throws {RequiredError}
1797
+ */
1798
+ getCompositeStatement(options) {
1799
+ return localVarFp.getCompositeStatement(options).then((request) => request(axios, basePath));
1800
+ },
1755
1801
  /**
1756
1802
  * Get composite statement link for download
1757
1803
  * @param {*} [options] Override http request option.
@@ -1919,6 +1965,17 @@ class LoginIdentityApi extends base_1.BaseAPI {
1919
1965
  .getBalanceHistory(accountId, options)
1920
1966
  .then((request) => request(this.axios, this.basePath));
1921
1967
  }
1968
+ /**
1969
+ * Download composite statement
1970
+ * @param {*} [options] Override http request option.
1971
+ * @throws {RequiredError}
1972
+ * @memberof LoginIdentityApi
1973
+ */
1974
+ getCompositeStatement(options) {
1975
+ return exports.LoginIdentityApiFp(this.configuration)
1976
+ .getCompositeStatement(options)
1977
+ .then((request) => request(this.axios, this.basePath));
1978
+ }
1922
1979
  /**
1923
1980
  * Get composite statement link for download
1924
1981
  * @param {*} [options] Override http request option.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [