tango-api-schema 2.5.79 → 2.5.80
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/package.json +1 -1
- package/schema/checklistconfig.js +49 -45
package/package.json
CHANGED
|
@@ -131,7 +131,7 @@ const checklistconfigSchema = new mongoose.Schema({
|
|
|
131
131
|
checkListType: {
|
|
132
132
|
type: String,
|
|
133
133
|
default: "custom",
|
|
134
|
-
enum: ["storeopenandclose", "mobileusagedetection", "uniformdetection", "custom", "customerunattended", "staffleftinthemiddle", 'eyetest', 'remoteoptometrist', 'storehygienemonitoring', 'queuealert', 'cleaning', 'scrum', 'suspiciousactivity', 'boxalert', 'suspiciousfootfall', 'drinking', 'bagdetection', 'inventorycount', 'carsattended', 'numberplateinfo', 'vehicle_check_in', 'unauthorisedentry', 'backroommonitoring', 'outsidebusinesshoursqueuetracking', 'halfshutter', 'tvcompliance', 'cameratampering','staffgrouping']
|
|
134
|
+
enum: ["storeopenandclose", "mobileusagedetection", "uniformdetection", "custom", "customerunattended", "staffleftinthemiddle", 'eyetest', 'remoteoptometrist', 'storehygienemonitoring', 'queuealert', 'cleaning', 'scrum', 'suspiciousactivity', 'boxalert', 'suspiciousfootfall', 'drinking', 'bagdetection', 'inventorycount', 'carsattended', 'numberplateinfo', 'vehicle_check_in', 'unauthorisedentry', 'backroommonitoring', 'outsidebusinesshoursqueuetracking', 'halfshutter', 'tvcompliance', 'cameratampering', 'staffgrouping']
|
|
135
135
|
},
|
|
136
136
|
createdAt: {
|
|
137
137
|
type: Date,
|
|
@@ -296,12 +296,12 @@ const checklistconfigSchema = new mongoose.Schema({
|
|
|
296
296
|
beforeCloseTime: {
|
|
297
297
|
type: Number
|
|
298
298
|
},
|
|
299
|
-
duration:{
|
|
300
|
-
type:Number
|
|
299
|
+
duration: {
|
|
300
|
+
type: Number
|
|
301
301
|
}
|
|
302
302
|
},
|
|
303
303
|
},
|
|
304
|
-
hygieneMonitoring:{
|
|
304
|
+
hygieneMonitoring: {
|
|
305
305
|
schedule: {
|
|
306
306
|
scheduletype: {
|
|
307
307
|
type: String
|
|
@@ -313,6 +313,10 @@ const checklistconfigSchema = new mongoose.Schema({
|
|
|
313
313
|
type: String
|
|
314
314
|
},
|
|
315
315
|
},
|
|
316
|
+
floorDetection: {
|
|
317
|
+
enabled: { type: Boolean, default: false },
|
|
318
|
+
duration: { type: Number, default: 2 }
|
|
319
|
+
},
|
|
316
320
|
recurrence: {
|
|
317
321
|
status: {
|
|
318
322
|
type: Boolean,
|
|
@@ -321,8 +325,8 @@ const checklistconfigSchema = new mongoose.Schema({
|
|
|
321
325
|
time: {
|
|
322
326
|
type: Number
|
|
323
327
|
},
|
|
324
|
-
type:{
|
|
325
|
-
type:String
|
|
328
|
+
type: {
|
|
329
|
+
type: String
|
|
326
330
|
}
|
|
327
331
|
}
|
|
328
332
|
},
|
|
@@ -332,13 +336,13 @@ const checklistconfigSchema = new mongoose.Schema({
|
|
|
332
336
|
default: false
|
|
333
337
|
}
|
|
334
338
|
},
|
|
335
|
-
IPChanged:{
|
|
339
|
+
IPChanged: {
|
|
336
340
|
enabled: {
|
|
337
341
|
type: Boolean,
|
|
338
342
|
default: false
|
|
339
343
|
}
|
|
340
344
|
},
|
|
341
|
-
resolutionChange:{
|
|
345
|
+
resolutionChange: {
|
|
342
346
|
enabled: {
|
|
343
347
|
type: Boolean,
|
|
344
348
|
default: false
|
|
@@ -417,15 +421,15 @@ const checklistconfigSchema = new mongoose.Schema({
|
|
|
417
421
|
web: {
|
|
418
422
|
type: Array
|
|
419
423
|
},
|
|
420
|
-
email:{
|
|
421
|
-
type:{
|
|
422
|
-
type:Array
|
|
424
|
+
email: {
|
|
425
|
+
type: {
|
|
426
|
+
type: Array
|
|
423
427
|
},
|
|
424
|
-
users:{
|
|
425
|
-
type:Array
|
|
428
|
+
users: {
|
|
429
|
+
type: Array
|
|
426
430
|
},
|
|
427
|
-
teams:{
|
|
428
|
-
type:Array
|
|
431
|
+
teams: {
|
|
432
|
+
type: Array
|
|
429
433
|
}
|
|
430
434
|
}
|
|
431
435
|
},
|
|
@@ -440,21 +444,21 @@ const checklistconfigSchema = new mongoose.Schema({
|
|
|
440
444
|
default: []
|
|
441
445
|
},
|
|
442
446
|
taskAssignedTo: {
|
|
443
|
-
type:String
|
|
447
|
+
type: String
|
|
444
448
|
},
|
|
445
|
-
users:{
|
|
446
|
-
type:Array
|
|
449
|
+
users: {
|
|
450
|
+
type: Array
|
|
447
451
|
},
|
|
448
|
-
approverEnabled:{
|
|
449
|
-
type:Boolean
|
|
452
|
+
approverEnabled: {
|
|
453
|
+
type: Boolean
|
|
450
454
|
},
|
|
451
|
-
taskValidity:{
|
|
452
|
-
time:{
|
|
453
|
-
type:Number
|
|
455
|
+
taskValidity: {
|
|
456
|
+
time: {
|
|
457
|
+
type: Number
|
|
454
458
|
},
|
|
455
|
-
type:{
|
|
456
|
-
type:String
|
|
457
|
-
}
|
|
459
|
+
type: {
|
|
460
|
+
type: String
|
|
461
|
+
}
|
|
458
462
|
}
|
|
459
463
|
},
|
|
460
464
|
exportConfig: {
|
|
@@ -503,31 +507,31 @@ const checklistconfigSchema = new mongoose.Schema({
|
|
|
503
507
|
type: Number,
|
|
504
508
|
default: 0
|
|
505
509
|
},
|
|
506
|
-
export:{
|
|
507
|
-
type:Boolean,
|
|
508
|
-
default:false
|
|
510
|
+
export: {
|
|
511
|
+
type: Boolean,
|
|
512
|
+
default: false
|
|
509
513
|
},
|
|
510
|
-
notifyFlags:{
|
|
511
|
-
notifyType:{
|
|
512
|
-
type:Array,
|
|
513
|
-
default:[]
|
|
514
|
+
notifyFlags: {
|
|
515
|
+
notifyType: {
|
|
516
|
+
type: Array,
|
|
517
|
+
default: []
|
|
514
518
|
},
|
|
515
|
-
users:{
|
|
516
|
-
type:Array,
|
|
517
|
-
default:[]
|
|
519
|
+
users: {
|
|
520
|
+
type: Array,
|
|
521
|
+
default: []
|
|
518
522
|
}
|
|
519
523
|
},
|
|
520
|
-
complianceCount:{
|
|
521
|
-
type:Number
|
|
524
|
+
complianceCount: {
|
|
525
|
+
type: Number
|
|
522
526
|
},
|
|
523
|
-
autoEmail:{
|
|
524
|
-
type:{
|
|
525
|
-
type:Array,
|
|
526
|
-
default:[]
|
|
527
|
+
autoEmail: {
|
|
528
|
+
type: {
|
|
529
|
+
type: Array,
|
|
530
|
+
default: []
|
|
527
531
|
},
|
|
528
|
-
users:{
|
|
529
|
-
type:Array,
|
|
530
|
-
default:[]
|
|
532
|
+
users: {
|
|
533
|
+
type: Array,
|
|
534
|
+
default: []
|
|
531
535
|
}
|
|
532
536
|
}
|
|
533
537
|
},
|