@riocrypto/common 1.0.1433 → 1.0.1434

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/build/index.d.ts CHANGED
@@ -229,6 +229,7 @@ export * from "./types/bid-status";
229
229
  export * from "./types/auth-role";
230
230
  export * from "./types/address-verification-status";
231
231
  export * from "./types/bank-account-verification-status";
232
+ export * from "./types/rio-bank-account";
232
233
  export * from "./classes/Asset";
233
234
  export * from "./classes/KYCFieldClass";
234
235
  export * from "./classes/KYCFileClass";
package/build/index.js CHANGED
@@ -245,6 +245,7 @@ __exportStar(require("./types/bid-status"), exports);
245
245
  __exportStar(require("./types/auth-role"), exports);
246
246
  __exportStar(require("./types/address-verification-status"), exports);
247
247
  __exportStar(require("./types/bank-account-verification-status"), exports);
248
+ __exportStar(require("./types/rio-bank-account"), exports);
248
249
  __exportStar(require("./classes/Asset"), exports);
249
250
  __exportStar(require("./classes/KYCFieldClass"), exports);
250
251
  __exportStar(require("./classes/KYCFileClass"), exports);
@@ -0,0 +1,13 @@
1
+ export interface RioBankAccount {
2
+ id: string;
3
+ bankName?: string;
4
+ companyName?: string;
5
+ companyAddress?: string;
6
+ bankAddress?: string;
7
+ accountNumber?: string;
8
+ routingNumber?: string;
9
+ CLABE?: string;
10
+ RUC?: string;
11
+ RFC?: string;
12
+ CCI?: string;
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
+ import { Country } from "./country";
1
2
  import { CountryOfOrigin } from "./country-of-origin";
2
3
  import { ImmigrationStatus } from "./immigration-status";
3
4
  import { OnboardingStatus } from "./onboarding-status";
@@ -100,5 +101,10 @@ export declare type UserInput = {
100
101
  };
101
102
  };
102
103
  quotationTime?: number;
104
+ rioBankAccount?: {
105
+ [country in Country]?: {
106
+ id: string;
107
+ };
108
+ };
103
109
  } & (UserType.Individual extends UserType ? IndividualUser : {}) & (UserType.Business extends UserType ? BusinessUser : {});
104
110
  export {};
@@ -5,6 +5,7 @@ import { PlatformFeeRange } from "./platform-fee-range";
5
5
  import { UserAttribute } from "./user-attribute";
6
6
  import { UserType } from "./user-type";
7
7
  import { ImmigrationStatus } from "./immigration-status";
8
+ import { Country } from "./country";
8
9
  declare type IndividualUser = {
9
10
  individualData?: {
10
11
  firstName?: string;
@@ -104,5 +105,10 @@ export declare type UserUpdate = {
104
105
  };
105
106
  };
106
107
  quotationTime?: number;
108
+ rioBankAccount?: {
109
+ [country in Country]?: {
110
+ id: string;
111
+ };
112
+ };
107
113
  } & (UserType.Individual extends UserType ? IndividualUser : {}) & (UserType.Business extends UserType ? BusinessUser : {});
108
114
  export {};
@@ -5,6 +5,7 @@ import { PlatformFeeRange } from "./platform-fee-range";
5
5
  import { UserAttribute } from "./user-attribute";
6
6
  import { UserType } from "./user-type";
7
7
  import { ImmigrationStatus } from "./immigration-status";
8
+ import { Country } from "./country";
8
9
  declare type IndividualUser = {
9
10
  id: string;
10
11
  individualData?: {
@@ -106,5 +107,10 @@ export declare type User = {
106
107
  };
107
108
  };
108
109
  quotationTime?: number;
110
+ rioBankAccount?: {
111
+ [country in Country]?: {
112
+ id: string;
113
+ };
114
+ };
109
115
  } & (UserType.Individual extends UserType ? IndividualUser : {}) & (UserType.Business extends UserType ? BusinessUser : {});
110
116
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1433",
3
+ "version": "1.0.1434",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",