@finverse/sdk-typescript 0.0.13 → 0.0.16

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
@@ -1124,6 +1124,31 @@ export interface IncomeStream {
1124
1124
  */
1125
1125
  monthly_history?: Array<MonthlyIncomeEstimate>;
1126
1126
  }
1127
+ /**
1128
+ *
1129
+ * @export
1130
+ * @interface IncomeTotal
1131
+ */
1132
+ export interface IncomeTotal {
1133
+ /**
1134
+ *
1135
+ * @type {IncomeEstimate}
1136
+ * @memberof IncomeTotal
1137
+ */
1138
+ estmated_monthly_income?: IncomeEstimate;
1139
+ /**
1140
+ * Number of transactions counted towards income
1141
+ * @type {number}
1142
+ * @memberof IncomeTotal
1143
+ */
1144
+ transaction_count?: number;
1145
+ /**
1146
+ *
1147
+ * @type {Array<MonthlyIncomeEstimate>}
1148
+ * @memberof IncomeTotal
1149
+ */
1150
+ monthly_history?: Array<MonthlyIncomeEstimate>;
1151
+ }
1127
1152
  /**
1128
1153
  *
1129
1154
  * @export
@@ -1949,17 +1974,17 @@ export interface PaymentDetails {
1949
1974
  */
1950
1975
  export interface PaymentInstruction {
1951
1976
  /**
1952
- * What type of payment is being created
1977
+ * The user id to which the payment instruction will refer
1953
1978
  * @type {string}
1954
1979
  * @memberof PaymentInstruction
1955
1980
  */
1956
- payment_type: PaymentInstructionPaymentTypeEnum;
1981
+ user_id: string;
1957
1982
  /**
1958
- * The customer provided userId that needs to match the one passed when generating link token
1983
+ * What type of payment is being created
1959
1984
  * @type {string}
1960
1985
  * @memberof PaymentInstruction
1961
1986
  */
1962
- user_id: string;
1987
+ payment_type: PaymentInstructionPaymentTypeEnum;
1963
1988
  /**
1964
1989
  * The recipient name
1965
1990
  * @type {string}
@@ -2188,10 +2213,10 @@ export interface SingleSourceIncome {
2188
2213
  income_streams?: Array<IncomeStream>;
2189
2214
  /**
2190
2215
  *
2191
- * @type {SingleSourceIncomeIncomeTotal}
2216
+ * @type {IncomeTotal}
2192
2217
  * @memberof SingleSourceIncome
2193
2218
  */
2194
- income_total?: SingleSourceIncomeIncomeTotal;
2219
+ income_total?: IncomeTotal;
2195
2220
  /**
2196
2221
  * Where the income estimate was sourced from
2197
2222
  * @type {string}
@@ -2205,31 +2230,6 @@ export interface SingleSourceIncome {
2205
2230
  */
2206
2231
  source_id?: string;
2207
2232
  }
2208
- /**
2209
- *
2210
- * @export
2211
- * @interface SingleSourceIncomeIncomeTotal
2212
- */
2213
- export interface SingleSourceIncomeIncomeTotal {
2214
- /**
2215
- *
2216
- * @type {IncomeEstimate}
2217
- * @memberof SingleSourceIncomeIncomeTotal
2218
- */
2219
- estmated_monthly_income?: IncomeEstimate;
2220
- /**
2221
- * Number of transactions counted towards income
2222
- * @type {number}
2223
- * @memberof SingleSourceIncomeIncomeTotal
2224
- */
2225
- transaction_count?: number;
2226
- /**
2227
- *
2228
- * @type {Array<MonthlyIncomeEstimate>}
2229
- * @memberof SingleSourceIncomeIncomeTotal
2230
- */
2231
- monthly_history?: Array<MonthlyIncomeEstimate>;
2232
- }
2233
2233
  /**
2234
2234
  *
2235
2235
  * @export
@@ -3045,7 +3045,7 @@ export declare const LoginIdentityApiAxiosParamCreator: (configuration?: Configu
3045
3045
  * @param {*} [options] Override http request option.
3046
3046
  * @throws {RequiredError}
3047
3047
  */
3048
- getIncomeByLoginIdentityId: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
3048
+ getIncomeEstimateByLoginIdentityId: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
3049
3049
  /**
3050
3050
  * Get a specific loginIdentity
3051
3051
  * @param {*} [options] Override http request option.
@@ -3158,7 +3158,7 @@ export declare const LoginIdentityApiFp: (configuration?: Configuration) => {
3158
3158
  * @param {*} [options] Override http request option.
3159
3159
  * @throws {RequiredError}
3160
3160
  */
3161
- getIncomeByLoginIdentityId(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IncomeResponse>>;
3161
+ getIncomeEstimateByLoginIdentityId(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IncomeResponse>>;
3162
3162
  /**
3163
3163
  * Get a specific loginIdentity
3164
3164
  * @param {*} [options] Override http request option.
@@ -3271,7 +3271,7 @@ export declare const LoginIdentityApiFactory: (configuration?: Configuration, ba
3271
3271
  * @param {*} [options] Override http request option.
3272
3272
  * @throws {RequiredError}
3273
3273
  */
3274
- getIncomeByLoginIdentityId(options?: any): AxiosPromise<IncomeResponse>;
3274
+ getIncomeEstimateByLoginIdentityId(options?: any): AxiosPromise<IncomeResponse>;
3275
3275
  /**
3276
3276
  * Get a specific loginIdentity
3277
3277
  * @param {*} [options] Override http request option.
@@ -3392,7 +3392,7 @@ export interface LoginIdentityApiInterface {
3392
3392
  * @throws {RequiredError}
3393
3393
  * @memberof LoginIdentityApiInterface
3394
3394
  */
3395
- getIncomeByLoginIdentityId(options?: AxiosRequestConfig): AxiosPromise<IncomeResponse>;
3395
+ getIncomeEstimateByLoginIdentityId(options?: AxiosRequestConfig): AxiosPromise<IncomeResponse>;
3396
3396
  /**
3397
3397
  * Get a specific loginIdentity
3398
3398
  * @param {*} [options] Override http request option.
@@ -3523,7 +3523,7 @@ export declare class LoginIdentityApi extends BaseAPI implements LoginIdentityAp
3523
3523
  * @throws {RequiredError}
3524
3524
  * @memberof LoginIdentityApi
3525
3525
  */
3526
- getIncomeByLoginIdentityId(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<IncomeResponse>>;
3526
+ getIncomeEstimateByLoginIdentityId(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<IncomeResponse>>;
3527
3527
  /**
3528
3528
  * Get a specific loginIdentity
3529
3529
  * @param {*} [options] Override http request option.
package/dist/api.js CHANGED
@@ -1139,7 +1139,7 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
1139
1139
  * @param {*} [options] Override http request option.
1140
1140
  * @throws {RequiredError}
1141
1141
  */
1142
- getIncomeByLoginIdentityId: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1142
+ getIncomeEstimateByLoginIdentityId: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1143
1143
  const localVarPath = `/income`;
1144
1144
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1145
1145
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1308,7 +1308,7 @@ exports.LoginIdentityApiAxiosParamCreator = function (configuration) {
1308
1308
  * @throws {RequiredError}
1309
1309
  */
1310
1310
  listPaymentInstructions: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1311
- const localVarPath = `/payments/instruction/`;
1311
+ const localVarPath = `/payments/instruction`;
1312
1312
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1313
1313
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1314
1314
  let baseOptions;
@@ -1513,9 +1513,9 @@ exports.LoginIdentityApiFp = function (configuration) {
1513
1513
  * @param {*} [options] Override http request option.
1514
1514
  * @throws {RequiredError}
1515
1515
  */
1516
- getIncomeByLoginIdentityId(options) {
1516
+ getIncomeEstimateByLoginIdentityId(options) {
1517
1517
  return __awaiter(this, void 0, void 0, function* () {
1518
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getIncomeByLoginIdentityId(options);
1518
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getIncomeEstimateByLoginIdentityId(options);
1519
1519
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1520
1520
  });
1521
1521
  },
@@ -1691,8 +1691,8 @@ exports.LoginIdentityApiFactory = function (configuration, basePath, axios) {
1691
1691
  * @param {*} [options] Override http request option.
1692
1692
  * @throws {RequiredError}
1693
1693
  */
1694
- getIncomeByLoginIdentityId(options) {
1695
- return localVarFp.getIncomeByLoginIdentityId(options).then((request) => request(axios, basePath));
1694
+ getIncomeEstimateByLoginIdentityId(options) {
1695
+ return localVarFp.getIncomeEstimateByLoginIdentityId(options).then((request) => request(axios, basePath));
1696
1696
  },
1697
1697
  /**
1698
1698
  * Get a specific loginIdentity
@@ -1862,9 +1862,9 @@ class LoginIdentityApi extends base_1.BaseAPI {
1862
1862
  * @throws {RequiredError}
1863
1863
  * @memberof LoginIdentityApi
1864
1864
  */
1865
- getIncomeByLoginIdentityId(options) {
1865
+ getIncomeEstimateByLoginIdentityId(options) {
1866
1866
  return exports.LoginIdentityApiFp(this.configuration)
1867
- .getIncomeByLoginIdentityId(options)
1867
+ .getIncomeEstimateByLoginIdentityId(options)
1868
1868
  .then((request) => request(this.axios, this.basePath));
1869
1869
  }
1870
1870
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.13",
3
+ "version": "0.0.16",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [