tango-api-schema 2.0.13 → 2.0.15
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/index.js +0 -1
- package/package.json +1 -1
- package/schema/client.model.js +0 -22
- package/schema/tangoTicket.model.js +4 -0
- package/schema/user.model.js +12 -8
package/index.js
CHANGED
package/package.json
CHANGED
package/schema/client.model.js
CHANGED
|
@@ -279,28 +279,6 @@ const client = new mongoose.Schema(
|
|
|
279
279
|
type: Number, // calculate no of past days
|
|
280
280
|
enum:[1,2,3,4,5,6,8,9,10,11,12]
|
|
281
281
|
},
|
|
282
|
-
isRcaTicketAssign:{
|
|
283
|
-
type: Boolean,
|
|
284
|
-
default:true
|
|
285
|
-
},
|
|
286
|
-
isRefreshAlert:{
|
|
287
|
-
type: Boolean,
|
|
288
|
-
default:true
|
|
289
|
-
},
|
|
290
|
-
isStatusCheckAlert:{
|
|
291
|
-
type: Boolean,
|
|
292
|
-
default:true
|
|
293
|
-
},
|
|
294
|
-
alertSentTo:{
|
|
295
|
-
admin:{
|
|
296
|
-
type:Boolean,
|
|
297
|
-
default:false
|
|
298
|
-
},
|
|
299
|
-
user:{
|
|
300
|
-
type:Boolean,
|
|
301
|
-
default:false
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
282
|
|
|
305
283
|
},
|
|
306
284
|
reportConfigs: {
|
package/schema/user.model.js
CHANGED
|
@@ -27,14 +27,18 @@ const user = new mongoose.Schema(
|
|
|
27
27
|
type: Boolean,
|
|
28
28
|
default: false,
|
|
29
29
|
},
|
|
30
|
-
Assigned: {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
30
|
+
// Assigned: {
|
|
31
|
+
// type: {
|
|
32
|
+
// type: String,
|
|
33
|
+
// enum: [ 'store', 'group' ],
|
|
34
|
+
// },
|
|
35
|
+
// list: {
|
|
36
|
+
// type: Array,
|
|
37
|
+
// },
|
|
38
|
+
// },
|
|
39
|
+
userType:{
|
|
40
|
+
type: String,
|
|
41
|
+
enum:['tango','client']
|
|
38
42
|
},
|
|
39
43
|
permission: [
|
|
40
44
|
{
|