@riocrypto/common-server 1.0.1416 → 1.0.1418

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.
@@ -15,13 +15,11 @@ interface UserAttrs {
15
15
  businessName: string;
16
16
  legalRepresentative?: {
17
17
  name: string;
18
- status?: string;
19
18
  email?: string;
20
19
  };
21
20
  UBO?: {
22
21
  id?: string;
23
22
  name: string;
24
- status?: string;
25
23
  email?: string;
26
24
  };
27
25
  };
@@ -102,9 +100,7 @@ interface UserAttrs {
102
100
  legalRepresentativeIdentityVerification?: {
103
101
  status?: "passed" | "failed" | "review";
104
102
  };
105
- UBOIdentityVerification?: {
106
- status?: "passed" | "failed" | "review";
107
- };
103
+ UBOOnboardingStatus?: OnboardingStatus;
108
104
  files?: {
109
105
  certificateOfIncorporation?: string;
110
106
  KYCReport?: string;
@@ -154,13 +150,11 @@ interface UserDoc extends Document {
154
150
  legalRepresentative?: {
155
151
  name: string;
156
152
  email?: string;
157
- status?: string;
158
153
  };
159
154
  UBO?: {
160
155
  id?: string;
161
156
  name: string;
162
157
  email?: string;
163
- status?: string;
164
158
  };
165
159
  };
166
160
  risk: RiskTier;
@@ -240,9 +234,7 @@ interface UserDoc extends Document {
240
234
  legalRepresentativeIdentityVerification?: {
241
235
  status?: "passed" | "failed" | "review";
242
236
  };
243
- UBOIdentityVerification?: {
244
- status?: "passed" | "failed" | "review";
245
- };
237
+ UBOOnboardingStatus?: OnboardingStatus;
246
238
  files?: {
247
239
  certificateOfIncorporation?: string;
248
240
  KYCReport?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1416",
3
+ "version": "1.0.1418",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -27,7 +27,7 @@
27
27
  "@everapi/currencyapi-js": "^1.0.6",
28
28
  "@google-cloud/storage": "^6.9.5",
29
29
  "@google-cloud/vision": "^4.0.2",
30
- "@riocrypto/common": "^1.0.1250",
30
+ "@riocrypto/common": "^1.0.1255",
31
31
  "@types/express": "^4.17.13",
32
32
  "axios": "^0.27.2",
33
33
  "ccxt": "^3.0.30",