tango-api-schema 2.4.1 → 2.4.2
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
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']
|
|
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']
|
|
135
135
|
},
|
|
136
136
|
createdAt: {
|
|
137
137
|
type: Date,
|
|
@@ -209,7 +209,7 @@ const checklistconfigSchema = new mongoose.Schema({
|
|
|
209
209
|
users:{
|
|
210
210
|
type:Array
|
|
211
211
|
},
|
|
212
|
-
},
|
|
212
|
+
},
|
|
213
213
|
alertSendTo: {
|
|
214
214
|
mobile: {
|
|
215
215
|
type:Array
|
|
@@ -288,6 +288,97 @@ const checklistconfigSchema = new mongoose.Schema({
|
|
|
288
288
|
type:String
|
|
289
289
|
},
|
|
290
290
|
},
|
|
291
|
+
halfshutter:{
|
|
292
|
+
schedule:{
|
|
293
|
+
afterOpenTime:{
|
|
294
|
+
type:Number
|
|
295
|
+
},
|
|
296
|
+
beforeCloseTime:{
|
|
297
|
+
type:Number
|
|
298
|
+
},
|
|
299
|
+
},
|
|
300
|
+
},
|
|
301
|
+
alertConfig: {
|
|
302
|
+
allowBuffer:{
|
|
303
|
+
enabled:{
|
|
304
|
+
type:Boolean,
|
|
305
|
+
default:false
|
|
306
|
+
},
|
|
307
|
+
afterOpenTime:{
|
|
308
|
+
type:Number
|
|
309
|
+
},
|
|
310
|
+
beforeCloseTime:{
|
|
311
|
+
type:Number
|
|
312
|
+
},
|
|
313
|
+
},
|
|
314
|
+
alertSendTo: {
|
|
315
|
+
enabled:{
|
|
316
|
+
type:Boolean,
|
|
317
|
+
default:false
|
|
318
|
+
},
|
|
319
|
+
syncMobileWeb:{
|
|
320
|
+
type:Boolean,
|
|
321
|
+
default:false
|
|
322
|
+
},
|
|
323
|
+
mobile:{
|
|
324
|
+
type:Array
|
|
325
|
+
},
|
|
326
|
+
web:{
|
|
327
|
+
type:Array
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
},
|
|
331
|
+
autoTaskConfig:{
|
|
332
|
+
enabled:{
|
|
333
|
+
type:Boolean,
|
|
334
|
+
default:false
|
|
335
|
+
},
|
|
336
|
+
approver:{
|
|
337
|
+
type:Array,
|
|
338
|
+
default:[]
|
|
339
|
+
},
|
|
340
|
+
},
|
|
341
|
+
exportConfig:{
|
|
342
|
+
enabled:{
|
|
343
|
+
type:Boolean,
|
|
344
|
+
default:false
|
|
345
|
+
},
|
|
346
|
+
format:{
|
|
347
|
+
type:Array,
|
|
348
|
+
default:[]
|
|
349
|
+
},
|
|
350
|
+
},
|
|
351
|
+
advancedConfig:{
|
|
352
|
+
dataProcessing:{
|
|
353
|
+
live:{
|
|
354
|
+
type:Boolean,
|
|
355
|
+
default:false
|
|
356
|
+
},
|
|
357
|
+
daily:{
|
|
358
|
+
type:Boolean,
|
|
359
|
+
default:false
|
|
360
|
+
},
|
|
361
|
+
},
|
|
362
|
+
detectedStatus:{
|
|
363
|
+
enabled:{
|
|
364
|
+
type:Boolean,
|
|
365
|
+
default:false
|
|
366
|
+
},
|
|
367
|
+
detections:{
|
|
368
|
+
type:Array,
|
|
369
|
+
default:[]
|
|
370
|
+
},
|
|
371
|
+
},
|
|
372
|
+
auditConfig:{
|
|
373
|
+
enabled:{
|
|
374
|
+
type:Boolean,
|
|
375
|
+
default:false
|
|
376
|
+
},
|
|
377
|
+
inputSourceFile:{
|
|
378
|
+
type:String
|
|
379
|
+
},
|
|
380
|
+
},
|
|
381
|
+
},
|
|
291
382
|
},
|
|
292
383
|
rawVideoUpload: {
|
|
293
384
|
type: Boolean,
|
|
@@ -81,7 +81,7 @@ const processedchecklistSchema = new mongoose.Schema({
|
|
|
81
81
|
checkListType: {
|
|
82
82
|
type: String,
|
|
83
83
|
default: "custom",
|
|
84
|
-
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']
|
|
84
|
+
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']
|
|
85
85
|
},
|
|
86
86
|
store_id: {
|
|
87
87
|
type: String,
|
|
@@ -81,7 +81,7 @@ const processedchecklistconfigSchema = new mongoose.Schema({
|
|
|
81
81
|
checkListType: {
|
|
82
82
|
type: String,
|
|
83
83
|
default: "custom",
|
|
84
|
-
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']
|
|
84
|
+
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']
|
|
85
85
|
},
|
|
86
86
|
startTime:{
|
|
87
87
|
type:Date
|
|
@@ -140,7 +140,7 @@ const processedchecklistconfigSchema = new mongoose.Schema({
|
|
|
140
140
|
users:{
|
|
141
141
|
type:Array
|
|
142
142
|
},
|
|
143
|
-
},
|
|
143
|
+
},
|
|
144
144
|
alertSendTo: {
|
|
145
145
|
mobile: {
|
|
146
146
|
type:Array
|
|
@@ -219,6 +219,97 @@ const processedchecklistconfigSchema = new mongoose.Schema({
|
|
|
219
219
|
type:String
|
|
220
220
|
},
|
|
221
221
|
},
|
|
222
|
+
halfshutter:{
|
|
223
|
+
schedule:{
|
|
224
|
+
afterOpenTime:{
|
|
225
|
+
type:Number
|
|
226
|
+
},
|
|
227
|
+
beforeCloseTime:{
|
|
228
|
+
type:Number
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
alertConfig: {
|
|
233
|
+
allowBuffer:{
|
|
234
|
+
enabled:{
|
|
235
|
+
type:Boolean,
|
|
236
|
+
default:false
|
|
237
|
+
},
|
|
238
|
+
afterOpenTime:{
|
|
239
|
+
type:Number
|
|
240
|
+
},
|
|
241
|
+
beforeCloseTime:{
|
|
242
|
+
type:Number
|
|
243
|
+
},
|
|
244
|
+
},
|
|
245
|
+
alertSendTo: {
|
|
246
|
+
enabled:{
|
|
247
|
+
type:Boolean,
|
|
248
|
+
default:false
|
|
249
|
+
},
|
|
250
|
+
syncMobileWeb:{
|
|
251
|
+
type:Boolean,
|
|
252
|
+
default:false
|
|
253
|
+
},
|
|
254
|
+
mobile:{
|
|
255
|
+
type:Array
|
|
256
|
+
},
|
|
257
|
+
web:{
|
|
258
|
+
type:Array
|
|
259
|
+
},
|
|
260
|
+
},
|
|
261
|
+
},
|
|
262
|
+
autoTaskConfig:{
|
|
263
|
+
enabled:{
|
|
264
|
+
type:Boolean,
|
|
265
|
+
default:false
|
|
266
|
+
},
|
|
267
|
+
approver:{
|
|
268
|
+
type:Array,
|
|
269
|
+
default:[]
|
|
270
|
+
},
|
|
271
|
+
},
|
|
272
|
+
exportConfig:{
|
|
273
|
+
enabled:{
|
|
274
|
+
type:Boolean,
|
|
275
|
+
default:false
|
|
276
|
+
},
|
|
277
|
+
format:{
|
|
278
|
+
type:Array,
|
|
279
|
+
default:[]
|
|
280
|
+
},
|
|
281
|
+
},
|
|
282
|
+
advancedConfig:{
|
|
283
|
+
dataProcessing:{
|
|
284
|
+
live:{
|
|
285
|
+
type:Boolean,
|
|
286
|
+
default:false
|
|
287
|
+
},
|
|
288
|
+
daily:{
|
|
289
|
+
type:Boolean,
|
|
290
|
+
default:false
|
|
291
|
+
},
|
|
292
|
+
},
|
|
293
|
+
detectedStatus:{
|
|
294
|
+
enabled:{
|
|
295
|
+
type:Boolean,
|
|
296
|
+
default:false
|
|
297
|
+
},
|
|
298
|
+
detections:{
|
|
299
|
+
type:Array,
|
|
300
|
+
default:[]
|
|
301
|
+
},
|
|
302
|
+
},
|
|
303
|
+
auditConfig:{
|
|
304
|
+
enabled:{
|
|
305
|
+
type:Boolean,
|
|
306
|
+
default:false
|
|
307
|
+
},
|
|
308
|
+
inputSourceFile:{
|
|
309
|
+
type:String
|
|
310
|
+
},
|
|
311
|
+
},
|
|
312
|
+
},
|
|
222
313
|
},
|
|
223
314
|
rawVideoUpload: {
|
|
224
315
|
type: Boolean,
|