@finverse/sdk-typescript 0.0.32 → 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
@@ -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
  *
@@ -1496,7 +1515,7 @@ export interface LinkTokenRequest {
1496
1515
  */
1497
1516
  link_mode?: string;
1498
1517
  /**
1499
- * The UI mode link is intended to be used in - \"iframe\" (default), \"auto_redirect\" or \"redirect\"
1518
+ * The UI mode link is intended to be used in - \"iframe\" (default), \"auto_redirect\" or \"redirect\" or \"standalone\"
1500
1519
  * @type {string}
1501
1520
  * @memberof LinkTokenRequest
1502
1521
  */
@@ -1584,6 +1603,7 @@ export declare const LinkTokenRequestUiModeEnum: {
1584
1603
  readonly Iframe: "iframe";
1585
1604
  readonly Redirect: "redirect";
1586
1605
  readonly AutoRedirect: "auto_redirect";
1606
+ readonly Standalone: "standalone";
1587
1607
  };
1588
1608
  export declare type LinkTokenRequestUiModeEnum = typeof LinkTokenRequestUiModeEnum[keyof typeof LinkTokenRequestUiModeEnum];
1589
1609
  export declare const LinkTokenRequestAutomaticDataRefreshEnum: {
@@ -3246,6 +3266,12 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
3246
3266
  * @throws {RequiredError}
3247
3267
  */
3248
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>;
3249
3275
  /**
3250
3276
  * \\[BETA] Get a list of identity data for a given login identity
3251
3277
  * @param {*} [options] Override http request option.
@@ -3353,6 +3379,12 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
3353
3379
  * @throws {RequiredError}
3354
3380
  */
3355
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>>;
3356
3388
  /**
3357
3389
  * \\[BETA] Get a list of identity data for a given login identity
3358
3390
  * @param {*} [options] Override http request option.
@@ -3460,6 +3492,12 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
3460
3492
  * @throws {RequiredError}
3461
3493
  */
3462
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>;
3463
3501
  /**
3464
3502
  * \\[BETA] Get a list of identity data for a given login identity
3465
3503
  * @param {*} [options] Override http request option.
@@ -3573,6 +3611,13 @@ export interface LoginIdentityApiInterface {
3573
3611
  * @memberof LoginIdentityApiInterface
3574
3612
  */
3575
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>;
3576
3621
  /**
3577
3622
  * \\[BETA] Get a list of identity data for a given login identity
3578
3623
  * @param {*} [options] Override http request option.
@@ -3697,6 +3742,13 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
3697
3742
  * @memberof LoginIdentityApi
3698
3743
  */
3699
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>>;
3700
3752
  /**
3701
3753
  * \\[BETA] Get a list of identity data for a given login identity
3702
3754
  * @param {*} [options] Override http request option.
package/dist/api.js CHANGED
@@ -36,6 +36,7 @@ exports.LinkTokenRequestUiModeEnum = {
36
36
  Iframe: 'iframe',
37
37
  Redirect: 'redirect',
38
38
  AutoRedirect: 'auto_redirect',
39
+ Standalone: 'standalone',
39
40
  };
40
41
  exports.LinkTokenRequestAutomaticDataRefreshEnum = {
41
42
  On: 'ON',
@@ -1180,6 +1181,33 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
1180
1181
  options: localVarRequestOptions,
1181
1182
  };
1182
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
+ }),
1183
1211
  /**
1184
1212
  * \\[BETA] Get a list of identity data for a given login identity
1185
1213
  * @param {*} [options] Override http request option.
@@ -1543,6 +1571,17 @@ exports.LoginIdentityApiFp = function (configuration) {
1543
1571
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1544
1572
  });
1545
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
+ },
1546
1585
  /**
1547
1586
  * \\[BETA] Get a list of identity data for a given login identity
1548
1587
  * @param {*} [options] Override http request option.
@@ -1713,6 +1752,14 @@ exports.LoginIdentityApiFactory = function (configuration, basePath, axios) {
1713
1752
  getBalanceHistory(accountId, options) {
1714
1753
  return localVarFp.getBalanceHistory(accountId, options).then((request) => request(axios, basePath));
1715
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
+ },
1716
1763
  /**
1717
1764
  * \\[BETA] Get a list of identity data for a given login identity
1718
1765
  * @param {*} [options] Override http request option.
@@ -1872,6 +1919,17 @@ class LoginIdentityApi extends base_1.BaseAPI {
1872
1919
  .getBalanceHistory(accountId, options)
1873
1920
  .then((request) => request(this.axios, this.basePath));
1874
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
+ }
1875
1933
  /**
1876
1934
  * \\[BETA] Get a list of identity data for a given login identity
1877
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.32",
3
+ "version": "0.0.35",
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": [