@riocrypto/common 1.0.311 → 1.0.313

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
@@ -102,3 +102,6 @@ export * from "./types/rio-env";
102
102
  export * from "./types/bank-payout";
103
103
  export * from "./types/checked-address";
104
104
  export * from "./types/address-check-result";
105
+ export * from "./types/business-user";
106
+ export * from "./types/business-user-input";
107
+ export * from "./types/business-user-update";
package/build/index.js CHANGED
@@ -118,3 +118,6 @@ __exportStar(require("./types/rio-env"), exports);
118
118
  __exportStar(require("./types/bank-payout"), exports);
119
119
  __exportStar(require("./types/checked-address"), exports);
120
120
  __exportStar(require("./types/address-check-result"), exports);
121
+ __exportStar(require("./types/business-user"), exports);
122
+ __exportStar(require("./types/business-user-input"), exports);
123
+ __exportStar(require("./types/business-user-update"), exports);
@@ -0,0 +1,21 @@
1
+ import { Country } from "./country";
2
+ import { KYCStatus } from "./kyc-status";
3
+ import { Language } from "./language";
4
+ import { USState } from "./us-state";
5
+ import { UserAttribute } from "./user-attribute";
6
+ export interface BusinessUserInput {
7
+ companyName: string;
8
+ legalRepresentative: string;
9
+ phoneNumber?: string;
10
+ email: string;
11
+ street1: string;
12
+ street2?: string;
13
+ city: string;
14
+ state: USState | string;
15
+ postalCode: string;
16
+ country: Country;
17
+ language: Language;
18
+ kycStatus?: KYCStatus;
19
+ COIFile?: string;
20
+ attributes?: UserAttribute[];
21
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,21 @@
1
+ import { Country } from "./country";
2
+ import { KYCStatus } from "./kyc-status";
3
+ import { Language } from "./language";
4
+ import { UserAttribute } from "./user-attribute";
5
+ export interface BusinessUserUpdate {
6
+ companyName?: string;
7
+ legalRepresentative?: string;
8
+ phoneNumber?: string;
9
+ birthday?: Date;
10
+ email?: string;
11
+ street1?: string;
12
+ street2?: string;
13
+ city?: string;
14
+ state?: string;
15
+ postalCode?: string;
16
+ country?: Country;
17
+ kycStatus?: KYCStatus;
18
+ language?: Language;
19
+ COIFile?: string;
20
+ attributes?: UserAttribute[];
21
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,23 @@
1
+ import { Country } from "./country";
2
+ import { KYCStatus } from "./kyc-status";
3
+ import { Language } from "./language";
4
+ import { USState } from "./us-state";
5
+ import { UserAttribute } from "./user-attribute";
6
+ export interface BusinessUser {
7
+ id: string;
8
+ companyName: string;
9
+ legalRepresentative: string;
10
+ phoneNumber: string;
11
+ birthday: Date;
12
+ email: string;
13
+ street1: string;
14
+ street2?: string;
15
+ city: string;
16
+ state: USState | string;
17
+ postalCode: string;
18
+ country: Country;
19
+ kycStatus: KYCStatus;
20
+ language?: Language;
21
+ COIFile?: string;
22
+ attributes?: UserAttribute[];
23
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.311",
3
+ "version": "1.0.313",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",