@riocrypto/common-server 1.0.1449 → 1.0.1450
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/models/user.d.ts +16 -18
- package/package.json +2 -2
package/build/models/user.d.ts
CHANGED
|
@@ -13,14 +13,9 @@ interface UserAttrs {
|
|
|
13
13
|
};
|
|
14
14
|
businessData?: {
|
|
15
15
|
businessName: string;
|
|
16
|
-
legalRepresentative?: {
|
|
17
|
-
name: string;
|
|
18
|
-
email?: string;
|
|
19
|
-
};
|
|
20
16
|
UBO?: {
|
|
21
17
|
id?: string;
|
|
22
|
-
|
|
23
|
-
email?: string;
|
|
18
|
+
onboardingStatus?: OnboardingStatus;
|
|
24
19
|
};
|
|
25
20
|
};
|
|
26
21
|
risk: RiskTier;
|
|
@@ -98,10 +93,14 @@ interface UserAttrs {
|
|
|
98
93
|
individualIdentityVerification?: {
|
|
99
94
|
status?: "passed" | "failed" | "review";
|
|
100
95
|
};
|
|
101
|
-
|
|
102
|
-
|
|
96
|
+
legalRepresentative?: {
|
|
97
|
+
firstName?: string;
|
|
98
|
+
middleName?: string;
|
|
99
|
+
lastName?: string;
|
|
100
|
+
secondLastName?: string;
|
|
101
|
+
verificationStatus?: "passed" | "failed" | "review";
|
|
102
|
+
email?: string;
|
|
103
103
|
};
|
|
104
|
-
UBOOnboardingStatus?: OnboardingStatus;
|
|
105
104
|
files?: {
|
|
106
105
|
certificateOfIncorporation?: string;
|
|
107
106
|
KYCReport?: string;
|
|
@@ -149,14 +148,9 @@ interface UserDoc extends Document {
|
|
|
149
148
|
};
|
|
150
149
|
businessData?: {
|
|
151
150
|
businessName: string;
|
|
152
|
-
legalRepresentative?: {
|
|
153
|
-
name: string;
|
|
154
|
-
email?: string;
|
|
155
|
-
};
|
|
156
151
|
UBO?: {
|
|
157
152
|
id?: string;
|
|
158
|
-
|
|
159
|
-
email?: string;
|
|
153
|
+
onboardingStatus?: OnboardingStatus;
|
|
160
154
|
};
|
|
161
155
|
};
|
|
162
156
|
risk: RiskTier;
|
|
@@ -234,10 +228,14 @@ interface UserDoc extends Document {
|
|
|
234
228
|
individualIdentityVerification?: {
|
|
235
229
|
status?: "passed" | "failed" | "review";
|
|
236
230
|
};
|
|
237
|
-
|
|
238
|
-
|
|
231
|
+
legalRepresentative?: {
|
|
232
|
+
firstName?: string;
|
|
233
|
+
middleName?: string;
|
|
234
|
+
lastName?: string;
|
|
235
|
+
secondLastName?: string;
|
|
236
|
+
verificationStatus?: "passed" | "failed" | "review";
|
|
237
|
+
email?: string;
|
|
239
238
|
};
|
|
240
|
-
UBOOnboardingStatus?: OnboardingStatus;
|
|
241
239
|
files?: {
|
|
242
240
|
certificateOfIncorporation?: string;
|
|
243
241
|
KYCReport?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1450",
|
|
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.
|
|
30
|
+
"@riocrypto/common": "^1.0.1289",
|
|
31
31
|
"@types/express": "^4.17.13",
|
|
32
32
|
"axios": "^0.27.2",
|
|
33
33
|
"ccxt": "^3.0.30",
|