@riocrypto/common 1.0.1437 → 1.0.1438

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.
@@ -1,5 +1,6 @@
1
1
  import { Country } from "./country";
2
2
  import { CountryOfOrigin } from "./country-of-origin";
3
+ import { Fiat } from "./fiat";
3
4
  import { ImmigrationStatus } from "./immigration-status";
4
5
  import { OnboardingStatus } from "./onboarding-status";
5
6
  import { PlatformFeeRange } from "./platform-fee-range";
@@ -103,7 +104,9 @@ export declare type UserInput = {
103
104
  quotationTime?: number;
104
105
  rioBankAccount?: {
105
106
  [country in Country]?: {
106
- id: string;
107
+ [fiat in Fiat]?: {
108
+ id: string;
109
+ };
107
110
  };
108
111
  };
109
112
  } & (UserType.Individual extends UserType ? IndividualUser : {}) & (UserType.Business extends UserType ? BusinessUser : {});
@@ -6,6 +6,7 @@ import { UserAttribute } from "./user-attribute";
6
6
  import { UserType } from "./user-type";
7
7
  import { ImmigrationStatus } from "./immigration-status";
8
8
  import { Country } from "./country";
9
+ import { Fiat } from "./fiat";
9
10
  declare type IndividualUser = {
10
11
  individualData?: {
11
12
  firstName?: string;
@@ -107,7 +108,9 @@ export declare type UserUpdate = {
107
108
  quotationTime?: number;
108
109
  rioBankAccount?: {
109
110
  [country in Country]?: {
110
- id: string;
111
+ [fiat in Fiat]?: {
112
+ id: string;
113
+ };
111
114
  };
112
115
  };
113
116
  } & (UserType.Individual extends UserType ? IndividualUser : {}) & (UserType.Business extends UserType ? BusinessUser : {});
@@ -6,6 +6,7 @@ import { UserAttribute } from "./user-attribute";
6
6
  import { UserType } from "./user-type";
7
7
  import { ImmigrationStatus } from "./immigration-status";
8
8
  import { Country } from "./country";
9
+ import { Fiat } from "./fiat";
9
10
  declare type IndividualUser = {
10
11
  id: string;
11
12
  individualData?: {
@@ -109,7 +110,9 @@ export declare type User = {
109
110
  quotationTime?: number;
110
111
  rioBankAccount?: {
111
112
  [country in Country]?: {
112
- id: string;
113
+ [fiat in Fiat]?: {
114
+ id: string;
115
+ };
113
116
  };
114
117
  };
115
118
  } & (UserType.Individual extends UserType ? IndividualUser : {}) & (UserType.Business extends UserType ? BusinessUser : {});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1437",
3
+ "version": "1.0.1438",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",