@finverse/sdk-typescript 0.0.33 → 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
@@ -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
@@ -537,7 +556,7 @@ export interface CustomizationDetails {
537
556
  * @type {string}
538
557
  * @memberof CustomizationDetails
539
558
  */
540
- customer_app_name?: string;
559
+ customer_app_name: string;
541
560
  }
542
561
  /**
543
562
  *
@@ -3247,6 +3266,18 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
3247
3266
  * @throws {RequiredError}
3248
3267
  */
3249
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>;
3275
+ /**
3276
+ * Get composite statement link for download
3277
+ * @param {*} [options] Override http request option.
3278
+ * @throws {RequiredError}
3279
+ */
3280
+ getCompositeStatementLink: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
3250
3281
  /**
3251
3282
  * \\[BETA] Get a list of identity data for a given login identity
3252
3283
  * @param {*} [options] Override http request option.
@@ -3354,6 +3385,18 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
3354
3385
  * @throws {RequiredError}
3355
3386
  */
3356
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>>;
3394
+ /**
3395
+ * Get composite statement link for download
3396
+ * @param {*} [options] Override http request option.
3397
+ * @throws {RequiredError}
3398
+ */
3399
+ getCompositeStatementLink(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompositeStatementLink>>;
3357
3400
  /**
3358
3401
  * \\[BETA] Get a list of identity data for a given login identity
3359
3402
  * @param {*} [options] Override http request option.
@@ -3461,6 +3504,18 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
3461
3504
  * @throws {RequiredError}
3462
3505
  */
3463
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>;
3513
+ /**
3514
+ * Get composite statement link for download
3515
+ * @param {*} [options] Override http request option.
3516
+ * @throws {RequiredError}
3517
+ */
3518
+ getCompositeStatementLink(options?: any): AxiosPromise<CompositeStatementLink>;
3464
3519
  /**
3465
3520
  * \\[BETA] Get a list of identity data for a given login identity
3466
3521
  * @param {*} [options] Override http request option.
@@ -3574,6 +3629,20 @@ export interface LoginIdentityApiInterface {
3574
3629
  * @memberof LoginIdentityApiInterface
3575
3630
  */
3576
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>;
3639
+ /**
3640
+ * Get composite statement link for download
3641
+ * @param {*} [options] Override http request option.
3642
+ * @throws {RequiredError}
3643
+ * @memberof LoginIdentityApiInterface
3644
+ */
3645
+ getCompositeStatementLink(options?: AxiosRequestConfig): AxiosPromise<CompositeStatementLink>;
3577
3646
  /**
3578
3647
  * \\[BETA] Get a list of identity data for a given login identity
3579
3648
  * @param {*} [options] Override http request option.
@@ -3698,6 +3767,20 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
3698
3767
  * @memberof LoginIdentityApi
3699
3768
  */
3700
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>>;
3777
+ /**
3778
+ * Get composite statement link for download
3779
+ * @param {*} [options] Override http request option.
3780
+ * @throws {RequiredError}
3781
+ * @memberof LoginIdentityApi
3782
+ */
3783
+ getCompositeStatementLink(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompositeStatementLink>>;
3701
3784
  /**
3702
3785
  * \\[BETA] Get a list of identity data for a given login identity
3703
3786
  * @param {*} [options] Override http request option.
package/dist/api.js CHANGED
@@ -1181,6 +1181,60 @@ 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
+ }),
1211
+ /**
1212
+ * Get composite statement link for download
1213
+ * @param {*} [options] Override http request option.
1214
+ * @throws {RequiredError}
1215
+ */
1216
+ getCompositeStatementLink: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1217
+ const localVarPath = `/composite_statement_link`;
1218
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1219
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1220
+ let baseOptions;
1221
+ if (configuration) {
1222
+ baseOptions = configuration.baseOptions;
1223
+ }
1224
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1225
+ const localVarHeaderParameter = {};
1226
+ const localVarQueryParameter = {};
1227
+ // authentication Oauth2 required
1228
+ // oauth required
1229
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
1230
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
1231
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1232
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1233
+ return {
1234
+ url: common_1.toPathString(localVarUrlObj),
1235
+ options: localVarRequestOptions,
1236
+ };
1237
+ }),
1184
1238
  /**
1185
1239
  * \\[BETA] Get a list of identity data for a given login identity
1186
1240
  * @param {*} [options] Override http request option.
@@ -1544,6 +1598,28 @@ exports.LoginIdentityApiFp = function (configuration) {
1544
1598
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1545
1599
  });
1546
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
+ },
1612
+ /**
1613
+ * Get composite statement link for download
1614
+ * @param {*} [options] Override http request option.
1615
+ * @throws {RequiredError}
1616
+ */
1617
+ getCompositeStatementLink(options) {
1618
+ return __awaiter(this, void 0, void 0, function* () {
1619
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getCompositeStatementLink(options);
1620
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1621
+ });
1622
+ },
1547
1623
  /**
1548
1624
  * \\[BETA] Get a list of identity data for a given login identity
1549
1625
  * @param {*} [options] Override http request option.
@@ -1714,6 +1790,22 @@ exports.LoginIdentityApiFactory = function (configuration, basePath, axios) {
1714
1790
  getBalanceHistory(accountId, options) {
1715
1791
  return localVarFp.getBalanceHistory(accountId, options).then((request) => request(axios, basePath));
1716
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
+ },
1801
+ /**
1802
+ * Get composite statement link for download
1803
+ * @param {*} [options] Override http request option.
1804
+ * @throws {RequiredError}
1805
+ */
1806
+ getCompositeStatementLink(options) {
1807
+ return localVarFp.getCompositeStatementLink(options).then((request) => request(axios, basePath));
1808
+ },
1717
1809
  /**
1718
1810
  * \\[BETA] Get a list of identity data for a given login identity
1719
1811
  * @param {*} [options] Override http request option.
@@ -1873,6 +1965,28 @@ class LoginIdentityApi extends base_1.BaseAPI {
1873
1965
  .getBalanceHistory(accountId, options)
1874
1966
  .then((request) => request(this.axios, this.basePath));
1875
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
+ }
1979
+ /**
1980
+ * Get composite statement link for download
1981
+ * @param {*} [options] Override http request option.
1982
+ * @throws {RequiredError}
1983
+ * @memberof LoginIdentityApi
1984
+ */
1985
+ getCompositeStatementLink(options) {
1986
+ return exports.LoginIdentityApiFp(this.configuration)
1987
+ .getCompositeStatementLink(options)
1988
+ .then((request) => request(this.axios, this.basePath));
1989
+ }
1876
1990
  /**
1877
1991
  * \\[BETA] Get a list of identity data for a given login identity
1878
1992
  * @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.33",
3
+ "version": "0.0.36",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -24,10 +24,10 @@
24
24
  "@types/chai": "^4.3.1",
25
25
  "@types/mocha": "^9.1.1",
26
26
  "@types/node": "^12.11.5",
27
- "axios-mock-adapter": "^1.20.0",
27
+ "axios-mock-adapter": "^1.21.1",
28
28
  "chai": "^4.3.6",
29
29
  "mocha": "^10.0.0",
30
- "ts-node": "^10.7.0",
30
+ "ts-node": "^10.8.1",
31
31
  "typescript": "^3.6.4"
32
32
  },
33
33
  "files": [