@riocrypto/common-server 1.0.1449 → 1.0.1451

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.
@@ -13,14 +13,8 @@ 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
- name: string;
23
- email?: string;
24
18
  };
25
19
  };
26
20
  risk: RiskTier;
@@ -98,10 +92,15 @@ interface UserAttrs {
98
92
  individualIdentityVerification?: {
99
93
  status?: "passed" | "failed" | "review";
100
94
  };
101
- legalRepresentativeIdentityVerification?: {
102
- status?: "passed" | "failed" | "review";
103
- };
104
95
  UBOOnboardingStatus?: OnboardingStatus;
96
+ legalRepresentative?: {
97
+ firstName?: string;
98
+ middleName?: string;
99
+ lastName?: string;
100
+ secondLastName?: string;
101
+ verificationStatus?: "passed" | "failed" | "review";
102
+ email?: string;
103
+ };
105
104
  files?: {
106
105
  certificateOfIncorporation?: string;
107
106
  KYCReport?: string;
@@ -149,14 +148,8 @@ 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
- name: string;
159
- email?: string;
160
153
  };
161
154
  };
162
155
  risk: RiskTier;
@@ -234,10 +227,15 @@ interface UserDoc extends Document {
234
227
  individualIdentityVerification?: {
235
228
  status?: "passed" | "failed" | "review";
236
229
  };
237
- legalRepresentativeIdentityVerification?: {
238
- status?: "passed" | "failed" | "review";
239
- };
240
230
  UBOOnboardingStatus?: OnboardingStatus;
231
+ legalRepresentative?: {
232
+ firstName?: string;
233
+ middleName?: string;
234
+ lastName?: string;
235
+ secondLastName?: string;
236
+ verificationStatus?: "passed" | "failed" | "review";
237
+ email?: string;
238
+ };
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.1449",
3
+ "version": "1.0.1451",
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.1287",
30
+ "@riocrypto/common": "^1.0.1290",
31
31
  "@types/express": "^4.17.13",
32
32
  "axios": "^0.27.2",
33
33
  "ccxt": "^3.0.30",