@riocrypto/common-server 1.0.1416 → 1.0.1417

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,8 +100,8 @@ interface UserAttrs {
102
100
  legalRepresentativeIdentityVerification?: {
103
101
  status?: "passed" | "failed" | "review";
104
102
  };
105
- UBOIdentityVerification?: {
106
- status?: "passed" | "failed" | "review";
103
+ UBOOnboardingStatus?: {
104
+ status?: OnboardingStatus;
107
105
  };
108
106
  files?: {
109
107
  certificateOfIncorporation?: string;
@@ -154,13 +152,11 @@ interface UserDoc extends Document {
154
152
  legalRepresentative?: {
155
153
  name: string;
156
154
  email?: string;
157
- status?: string;
158
155
  };
159
156
  UBO?: {
160
157
  id?: string;
161
158
  name: string;
162
159
  email?: string;
163
- status?: string;
164
160
  };
165
161
  };
166
162
  risk: RiskTier;
@@ -240,8 +236,8 @@ interface UserDoc extends Document {
240
236
  legalRepresentativeIdentityVerification?: {
241
237
  status?: "passed" | "failed" | "review";
242
238
  };
243
- UBOIdentityVerification?: {
244
- status?: "passed" | "failed" | "review";
239
+ UBOOnboardingStatus?: {
240
+ status?: OnboardingStatus;
245
241
  };
246
242
  files?: {
247
243
  certificateOfIncorporation?: 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.1417",
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.1254",
31
31
  "@types/express": "^4.17.13",
32
32
  "axios": "^0.27.2",
33
33
  "ccxt": "^3.0.30",