@finverse/sdk-typescript 0.0.22 → 0.0.25

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
@@ -1162,13 +1162,13 @@ export interface IncomeEstimate {
1162
1162
  * @type {number}
1163
1163
  * @memberof IncomeEstimate
1164
1164
  */
1165
- amount?: number;
1165
+ amount: number;
1166
1166
  /**
1167
1167
  * Currency
1168
1168
  * @type {string}
1169
1169
  * @memberof IncomeEstimate
1170
1170
  */
1171
- currency?: string;
1171
+ currency: string;
1172
1172
  }
1173
1173
  /**
1174
1174
  *
@@ -1181,19 +1181,19 @@ export interface IncomeResponse {
1181
1181
  * @type {Array<SingleSourceIncome>}
1182
1182
  * @memberof IncomeResponse
1183
1183
  */
1184
- income?: Array<SingleSourceIncome>;
1184
+ income: Array<SingleSourceIncome>;
1185
1185
  /**
1186
1186
  *
1187
1187
  * @type {LoginIdentityShort}
1188
1188
  * @memberof IncomeResponse
1189
1189
  */
1190
- login_identity?: LoginIdentityShort;
1190
+ login_identity: LoginIdentityShort;
1191
1191
  /**
1192
1192
  *
1193
1193
  * @type {InstitutionShort}
1194
1194
  * @memberof IncomeResponse
1195
1195
  */
1196
- institution?: InstitutionShort;
1196
+ institution: InstitutionShort;
1197
1197
  }
1198
1198
  /**
1199
1199
  *
@@ -1206,7 +1206,7 @@ export interface IncomeStream {
1206
1206
  * @type {string}
1207
1207
  * @memberof IncomeStream
1208
1208
  */
1209
- account_id?: string;
1209
+ account_id: string;
1210
1210
  /**
1211
1211
  *
1212
1212
  * @type {IncomeEstimate}
@@ -1218,13 +1218,13 @@ export interface IncomeStream {
1218
1218
  * @type {number}
1219
1219
  * @memberof IncomeStream
1220
1220
  */
1221
- transaction_count?: number;
1221
+ transaction_count: number;
1222
1222
  /**
1223
1223
  *
1224
1224
  * @type {Array<MonthlyIncomeEstimate>}
1225
1225
  * @memberof IncomeStream
1226
1226
  */
1227
- monthly_history?: Array<MonthlyIncomeEstimate>;
1227
+ monthly_history: Array<MonthlyIncomeEstimate>;
1228
1228
  }
1229
1229
  /**
1230
1230
  *
@@ -1243,13 +1243,13 @@ export interface IncomeTotal {
1243
1243
  * @type {number}
1244
1244
  * @memberof IncomeTotal
1245
1245
  */
1246
- transaction_count?: number;
1246
+ transaction_count: number;
1247
1247
  /**
1248
1248
  *
1249
1249
  * @type {Array<MonthlyIncomeEstimate>}
1250
1250
  * @memberof IncomeTotal
1251
1251
  */
1252
- monthly_history?: Array<MonthlyIncomeEstimate>;
1252
+ monthly_history: Array<MonthlyIncomeEstimate>;
1253
1253
  }
1254
1254
  /**
1255
1255
  *
@@ -1561,6 +1561,18 @@ export interface LinkTokenRequest {
1561
1561
  * @memberof LinkTokenRequest
1562
1562
  */
1563
1563
  payment_instruction_id?: string;
1564
+ /**
1565
+ * Controls the behavior of the automatic data refresh checkbox
1566
+ * @type {string}
1567
+ * @memberof LinkTokenRequest
1568
+ */
1569
+ automatic_data_refresh?: LinkTokenRequestAutomaticDataRefreshEnum;
1570
+ /**
1571
+ * institution\'s status filter
1572
+ * @type {string}
1573
+ * @memberof LinkTokenRequest
1574
+ */
1575
+ institution_status?: string;
1564
1576
  }
1565
1577
  export declare const LinkTokenRequestUiModeEnum: {
1566
1578
  readonly Iframe: "iframe";
@@ -1568,6 +1580,12 @@ export declare const LinkTokenRequestUiModeEnum: {
1568
1580
  readonly AutoRedirect: "auto_redirect";
1569
1581
  };
1570
1582
  export declare type LinkTokenRequestUiModeEnum = typeof LinkTokenRequestUiModeEnum[keyof typeof LinkTokenRequestUiModeEnum];
1583
+ export declare const LinkTokenRequestAutomaticDataRefreshEnum: {
1584
+ readonly On: "ON";
1585
+ readonly Off: "OFF";
1586
+ readonly ForcedOn: "FORCED_ON";
1587
+ };
1588
+ export declare type LinkTokenRequestAutomaticDataRefreshEnum = typeof LinkTokenRequestAutomaticDataRefreshEnum[keyof typeof LinkTokenRequestAutomaticDataRefreshEnum];
1571
1589
  /**
1572
1590
  *
1573
1591
  * @export
@@ -1968,19 +1986,19 @@ export interface MonthlyIncomeEstimate {
1968
1986
  * @type {IncomeEstimate}
1969
1987
  * @memberof MonthlyIncomeEstimate
1970
1988
  */
1971
- estimated_income?: IncomeEstimate;
1989
+ estimated_income: IncomeEstimate;
1972
1990
  /**
1973
1991
  * The numeric month
1974
1992
  * @type {number}
1975
1993
  * @memberof MonthlyIncomeEstimate
1976
1994
  */
1977
- month?: number;
1995
+ month: number;
1978
1996
  /**
1979
1997
  * The year
1980
1998
  * @type {number}
1981
1999
  * @memberof MonthlyIncomeEstimate
1982
2000
  */
1983
- year?: number;
2001
+ year: number;
1984
2002
  }
1985
2003
  /**
1986
2004
  *
@@ -2299,25 +2317,25 @@ export interface SingleSourceIncome {
2299
2317
  * @type {Array<IncomeStream>}
2300
2318
  * @memberof SingleSourceIncome
2301
2319
  */
2302
- income_streams?: Array<IncomeStream>;
2320
+ income_streams: Array<IncomeStream>;
2303
2321
  /**
2304
2322
  *
2305
2323
  * @type {IncomeTotal}
2306
2324
  * @memberof SingleSourceIncome
2307
2325
  */
2308
- income_total?: IncomeTotal;
2326
+ income_total: IncomeTotal;
2309
2327
  /**
2310
2328
  * Where the income estimate was sourced from
2311
2329
  * @type {string}
2312
2330
  * @memberof SingleSourceIncome
2313
2331
  */
2314
- source?: string;
2332
+ source: string;
2315
2333
  /**
2316
2334
  * Unknown
2317
2335
  * @type {string}
2318
2336
  * @memberof SingleSourceIncome
2319
2337
  */
2320
- source_id?: string;
2338
+ source_id: string;
2321
2339
  }
2322
2340
  /**
2323
2341
  *
package/dist/api.js CHANGED
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.PaymentInstructionTypeEnum = exports.LinkTokenRequestUiModeEnum = exports.CustomerPaymentInstructionTypeEnum = void 0;
25
+ exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.PaymentInstructionTypeEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.CustomerPaymentInstructionTypeEnum = void 0;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -37,6 +37,11 @@ exports.LinkTokenRequestUiModeEnum = {
37
37
  Redirect: 'redirect',
38
38
  AutoRedirect: 'auto_redirect',
39
39
  };
40
+ exports.LinkTokenRequestAutomaticDataRefreshEnum = {
41
+ On: 'ON',
42
+ Off: 'OFF',
43
+ ForcedOn: 'FORCED_ON',
44
+ };
40
45
  exports.PaymentInstructionTypeEnum = {
41
46
  DebitAuthorization: 'DEBIT_AUTHORIZATION',
42
47
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.22",
3
+ "version": "0.0.25",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "devDependencies": {
24
24
  "@types/chai": "^4.3.1",
25
- "@types/mocha": "^9.1.0",
25
+ "@types/mocha": "^9.1.1",
26
26
  "@types/node": "^12.11.5",
27
27
  "axios-mock-adapter": "^1.20.0",
28
28
  "chai": "^4.3.6",