@riocrypto/common-server 1.0.1395 → 1.0.1397
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 +2 -0
- package/build/models/user.js +0 -6
- package/package.json +2 -2
package/build/models/user.d.ts
CHANGED
|
@@ -95,6 +95,7 @@ interface UserAttrs {
|
|
|
95
95
|
status?: KYCStatus;
|
|
96
96
|
personalId?: string;
|
|
97
97
|
taxId?: string;
|
|
98
|
+
isResident?: boolean;
|
|
98
99
|
files?: {
|
|
99
100
|
certificateOfIncorporation?: string;
|
|
100
101
|
KYCReport?: string;
|
|
@@ -223,6 +224,7 @@ interface UserDoc extends Document {
|
|
|
223
224
|
status?: KYCStatus;
|
|
224
225
|
personalId?: string;
|
|
225
226
|
taxId?: string;
|
|
227
|
+
isResident?: boolean;
|
|
226
228
|
files?: {
|
|
227
229
|
certificateOfIncorporation?: string;
|
|
228
230
|
KYCReport?: string;
|
package/build/models/user.js
CHANGED
|
@@ -49,26 +49,21 @@ const buildUser = (mongoose) => {
|
|
|
49
49
|
},
|
|
50
50
|
street1: {
|
|
51
51
|
type: String,
|
|
52
|
-
required: true,
|
|
53
52
|
},
|
|
54
53
|
street2: {
|
|
55
54
|
type: String,
|
|
56
55
|
},
|
|
57
56
|
city: {
|
|
58
57
|
type: String,
|
|
59
|
-
required: true,
|
|
60
58
|
},
|
|
61
59
|
state: {
|
|
62
60
|
type: String,
|
|
63
|
-
required: true,
|
|
64
61
|
},
|
|
65
62
|
postalCode: {
|
|
66
63
|
type: String,
|
|
67
|
-
required: true,
|
|
68
64
|
},
|
|
69
65
|
country: {
|
|
70
66
|
type: String,
|
|
71
|
-
required: true,
|
|
72
67
|
},
|
|
73
68
|
risk: {
|
|
74
69
|
type: String,
|
|
@@ -108,7 +103,6 @@ const buildUser = (mongoose) => {
|
|
|
108
103
|
],
|
|
109
104
|
kycStatus: {
|
|
110
105
|
type: String,
|
|
111
|
-
required: true,
|
|
112
106
|
},
|
|
113
107
|
brokerId: {
|
|
114
108
|
type: 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.1397",
|
|
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.1230",
|
|
31
31
|
"@types/express": "^4.17.13",
|
|
32
32
|
"axios": "^0.27.2",
|
|
33
33
|
"ccxt": "^3.0.30",
|