@finverse/sdk-typescript 0.0.34 → 0.0.35

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
@@ -307,6 +307,25 @@ export interface BalanceHistory {
307
307
  */
308
308
  currency: string;
309
309
  }
310
+ /**
311
+ *
312
+ * @export
313
+ * @interface CompositeStatementLink
314
+ */
315
+ export interface CompositeStatementLink {
316
+ /**
317
+ * signedURL to download statement
318
+ * @type {string}
319
+ * @memberof CompositeStatementLink
320
+ */
321
+ url: string;
322
+ /**
323
+ * expiry of the signedURL
324
+ * @type {string}
325
+ * @memberof CompositeStatementLink
326
+ */
327
+ expiry: string;
328
+ }
310
329
  /**
311
330
  *
312
331
  * @export
@@ -3247,6 +3266,12 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
3247
3266
  * @throws {RequiredError}
3248
3267
  */
3249
3268
  getBalanceHistory: (accountId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3269
+ /**
3270
+ * Get composite statement link for download
3271
+ * @param {*} [options] Override http request option.
3272
+ * @throws {RequiredError}
3273
+ */
3274
+ getCompositeStatementLink: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
3250
3275
  /**
3251
3276
  * \\[BETA] Get a list of identity data for a given login identity
3252
3277
  * @param {*} [options] Override http request option.
@@ -3354,6 +3379,12 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
3354
3379
  * @throws {RequiredError}
3355
3380
  */
3356
3381
  getBalanceHistory(accountId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBalanceHistoryResponse>>;
3382
+ /**
3383
+ * Get composite statement link for download
3384
+ * @param {*} [options] Override http request option.
3385
+ * @throws {RequiredError}
3386
+ */
3387
+ getCompositeStatementLink(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompositeStatementLink>>;
3357
3388
  /**
3358
3389
  * \\[BETA] Get a list of identity data for a given login identity
3359
3390
  * @param {*} [options] Override http request option.
@@ -3461,6 +3492,12 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
3461
3492
  * @throws {RequiredError}
3462
3493
  */
3463
3494
  getBalanceHistory(accountId: string, options?: any): AxiosPromise<GetBalanceHistoryResponse>;
3495
+ /**
3496
+ * Get composite statement link for download
3497
+ * @param {*} [options] Override http request option.
3498
+ * @throws {RequiredError}
3499
+ */
3500
+ getCompositeStatementLink(options?: any): AxiosPromise<CompositeStatementLink>;
3464
3501
  /**
3465
3502
  * \\[BETA] Get a list of identity data for a given login identity
3466
3503
  * @param {*} [options] Override http request option.
@@ -3574,6 +3611,13 @@ export interface LoginIdentityApiInterface {
3574
3611
  * @memberof LoginIdentityApiInterface
3575
3612
  */
3576
3613
  getBalanceHistory(accountId: string, options?: AxiosRequestConfig): AxiosPromise<GetBalanceHistoryResponse>;
3614
+ /**
3615
+ * Get composite statement link for download
3616
+ * @param {*} [options] Override http request option.
3617
+ * @throws {RequiredError}
3618
+ * @memberof LoginIdentityApiInterface
3619
+ */
3620
+ getCompositeStatementLink(options?: AxiosRequestConfig): AxiosPromise<CompositeStatementLink>;
3577
3621
  /**
3578
3622
  * \\[BETA] Get a list of identity data for a given login identity
3579
3623
  * @param {*} [options] Override http request option.
@@ -3698,6 +3742,13 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
3698
3742
  * @memberof LoginIdentityApi
3699
3743
  */
3700
3744
  getBalanceHistory(accountId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBalanceHistoryResponse>>;
3745
+ /**
3746
+ * Get composite statement link for download
3747
+ * @param {*} [options] Override http request option.
3748
+ * @throws {RequiredError}
3749
+ * @memberof LoginIdentityApi
3750
+ */
3751
+ getCompositeStatementLink(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompositeStatementLink>>;
3701
3752
  /**
3702
3753
  * \\[BETA] Get a list of identity data for a given login identity
3703
3754
  * @param {*} [options] Override http request option.
package/dist/api.js CHANGED
@@ -1181,6 +1181,33 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
1181
1181
  options: localVarRequestOptions,
1182
1182
  };
1183
1183
  }),
1184
+ /**
1185
+ * Get composite statement link for download
1186
+ * @param {*} [options] Override http request option.
1187
+ * @throws {RequiredError}
1188
+ */
1189
+ getCompositeStatementLink: (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
  * \\[BETA] Get a list of identity data for a given login identity
1186
1213
  * @param {*} [options] Override http request option.
@@ -1544,6 +1571,17 @@ exports.LoginIdentityApiFp = function (configuration) {
1544
1571
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1545
1572
  });
1546
1573
  },
1574
+ /**
1575
+ * Get composite statement link for download
1576
+ * @param {*} [options] Override http request option.
1577
+ * @throws {RequiredError}
1578
+ */
1579
+ getCompositeStatementLink(options) {
1580
+ return __awaiter(this, void 0, void 0, function* () {
1581
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getCompositeStatementLink(options);
1582
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1583
+ });
1584
+ },
1547
1585
  /**
1548
1586
  * \\[BETA] Get a list of identity data for a given login identity
1549
1587
  * @param {*} [options] Override http request option.
@@ -1714,6 +1752,14 @@ exports.LoginIdentityApiFactory = function (configuration, basePath, axios) {
1714
1752
  getBalanceHistory(accountId, options) {
1715
1753
  return localVarFp.getBalanceHistory(accountId, options).then((request) => request(axios, basePath));
1716
1754
  },
1755
+ /**
1756
+ * Get composite statement link for download
1757
+ * @param {*} [options] Override http request option.
1758
+ * @throws {RequiredError}
1759
+ */
1760
+ getCompositeStatementLink(options) {
1761
+ return localVarFp.getCompositeStatementLink(options).then((request) => request(axios, basePath));
1762
+ },
1717
1763
  /**
1718
1764
  * \\[BETA] Get a list of identity data for a given login identity
1719
1765
  * @param {*} [options] Override http request option.
@@ -1873,6 +1919,17 @@ class LoginIdentityApi extends base_1.BaseAPI {
1873
1919
  .getBalanceHistory(accountId, options)
1874
1920
  .then((request) => request(this.axios, this.basePath));
1875
1921
  }
1922
+ /**
1923
+ * Get composite statement link for download
1924
+ * @param {*} [options] Override http request option.
1925
+ * @throws {RequiredError}
1926
+ * @memberof LoginIdentityApi
1927
+ */
1928
+ getCompositeStatementLink(options) {
1929
+ return exports.LoginIdentityApiFp(this.configuration)
1930
+ .getCompositeStatementLink(options)
1931
+ .then((request) => request(this.axios, this.basePath));
1932
+ }
1876
1933
  /**
1877
1934
  * \\[BETA] Get a list of identity data for a given login identity
1878
1935
  * @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.34",
3
+ "version": "0.0.35",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [