@riocrypto/common-server 1.0.1420 → 1.0.1421
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 -16
- package/build/models/user.js +0 -25
- package/package.json +2 -2
package/build/models/user.d.ts
CHANGED
|
@@ -112,16 +112,16 @@ interface UserAttrs {
|
|
|
112
112
|
personalIdentificationCertificate?: string;
|
|
113
113
|
extraFiles?: string[];
|
|
114
114
|
};
|
|
115
|
+
address?: {
|
|
116
|
+
street1?: string;
|
|
117
|
+
street2?: string;
|
|
118
|
+
city?: string;
|
|
119
|
+
state?: string;
|
|
120
|
+
postalCode?: string;
|
|
121
|
+
country?: CountryOfOrigin;
|
|
122
|
+
};
|
|
115
123
|
};
|
|
116
124
|
};
|
|
117
|
-
address: {
|
|
118
|
-
street1: string;
|
|
119
|
-
street2?: string;
|
|
120
|
-
city: string;
|
|
121
|
-
state: string;
|
|
122
|
-
postalCode: string;
|
|
123
|
-
country: CountryOfOrigin;
|
|
124
|
-
};
|
|
125
125
|
invoicing?: {
|
|
126
126
|
MX: {
|
|
127
127
|
shouldInvoice: boolean;
|
|
@@ -246,16 +246,16 @@ interface UserDoc extends Document {
|
|
|
246
246
|
personalIdentificationCertificate?: string;
|
|
247
247
|
extraFiles?: string[];
|
|
248
248
|
};
|
|
249
|
+
address?: {
|
|
250
|
+
street1?: string;
|
|
251
|
+
street2?: string;
|
|
252
|
+
city?: string;
|
|
253
|
+
state?: string;
|
|
254
|
+
postalCode?: string;
|
|
255
|
+
country?: CountryOfOrigin;
|
|
256
|
+
};
|
|
249
257
|
};
|
|
250
258
|
};
|
|
251
|
-
address: {
|
|
252
|
-
street1: string;
|
|
253
|
-
street2?: string;
|
|
254
|
-
city: string;
|
|
255
|
-
state: string;
|
|
256
|
-
postalCode: string;
|
|
257
|
-
country: CountryOfOrigin;
|
|
258
|
-
};
|
|
259
259
|
invoicing?: {
|
|
260
260
|
MX: {
|
|
261
261
|
shouldInvoice: boolean;
|
package/build/models/user.js
CHANGED
|
@@ -302,31 +302,6 @@ const buildUser = (mongoose) => {
|
|
|
302
302
|
type: String,
|
|
303
303
|
},
|
|
304
304
|
],
|
|
305
|
-
address: {
|
|
306
|
-
street1: {
|
|
307
|
-
type: String,
|
|
308
|
-
required: true,
|
|
309
|
-
},
|
|
310
|
-
street2: {
|
|
311
|
-
type: String,
|
|
312
|
-
},
|
|
313
|
-
city: {
|
|
314
|
-
type: String,
|
|
315
|
-
required: true,
|
|
316
|
-
},
|
|
317
|
-
state: {
|
|
318
|
-
type: String,
|
|
319
|
-
required: true,
|
|
320
|
-
},
|
|
321
|
-
postalCode: {
|
|
322
|
-
type: String,
|
|
323
|
-
required: true,
|
|
324
|
-
},
|
|
325
|
-
country: {
|
|
326
|
-
type: String,
|
|
327
|
-
required: true,
|
|
328
|
-
},
|
|
329
|
-
},
|
|
330
305
|
onboarding: Object,
|
|
331
306
|
invoicing: {
|
|
332
307
|
MX: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1421",
|
|
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.1265",
|
|
31
31
|
"@types/express": "^4.17.13",
|
|
32
32
|
"axios": "^0.27.2",
|
|
33
33
|
"ccxt": "^3.0.30",
|