@riocrypto/common-server 1.0.1448 → 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 +18 -18
- package/build/models/user.js +3 -0
- 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;
|
|
@@ -130,6 +129,7 @@ interface UserAttrs {
|
|
|
130
129
|
fiscalRegimenCode?: number;
|
|
131
130
|
};
|
|
132
131
|
};
|
|
132
|
+
quotationTime?: number;
|
|
133
133
|
}
|
|
134
134
|
interface UserModel extends Model<UserDoc> {
|
|
135
135
|
build(attrs: UserAttrs): UserDoc;
|
|
@@ -148,14 +148,9 @@ interface UserDoc extends Document {
|
|
|
148
148
|
};
|
|
149
149
|
businessData?: {
|
|
150
150
|
businessName: string;
|
|
151
|
-
legalRepresentative?: {
|
|
152
|
-
name: string;
|
|
153
|
-
email?: string;
|
|
154
|
-
};
|
|
155
151
|
UBO?: {
|
|
156
152
|
id?: string;
|
|
157
|
-
|
|
158
|
-
email?: string;
|
|
153
|
+
onboardingStatus?: OnboardingStatus;
|
|
159
154
|
};
|
|
160
155
|
};
|
|
161
156
|
risk: RiskTier;
|
|
@@ -233,10 +228,14 @@ interface UserDoc extends Document {
|
|
|
233
228
|
individualIdentityVerification?: {
|
|
234
229
|
status?: "passed" | "failed" | "review";
|
|
235
230
|
};
|
|
236
|
-
|
|
237
|
-
|
|
231
|
+
legalRepresentative?: {
|
|
232
|
+
firstName?: string;
|
|
233
|
+
middleName?: string;
|
|
234
|
+
lastName?: string;
|
|
235
|
+
secondLastName?: string;
|
|
236
|
+
verificationStatus?: "passed" | "failed" | "review";
|
|
237
|
+
email?: string;
|
|
238
238
|
};
|
|
239
|
-
UBOOnboardingStatus?: OnboardingStatus;
|
|
240
239
|
files?: {
|
|
241
240
|
certificateOfIncorporation?: string;
|
|
242
241
|
KYCReport?: string;
|
|
@@ -265,6 +264,7 @@ interface UserDoc extends Document {
|
|
|
265
264
|
fiscalRegimenCode?: number;
|
|
266
265
|
};
|
|
267
266
|
};
|
|
267
|
+
quotationTime?: number;
|
|
268
268
|
}
|
|
269
269
|
declare const buildUser: (mongoose: Mongoose) => UserModel;
|
|
270
270
|
export { buildUser, UserDoc };
|
package/build/models/user.js
CHANGED
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",
|