tango-api-schema 2.5.89 → 2.5.90

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-api-schema",
3
- "version": "2.5.89",
3
+ "version": "2.5.90",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -326,6 +326,96 @@ const processedchecklistconfigSchema = new mongoose.Schema({
326
326
  type:String
327
327
  }
328
328
  },
329
+ // ──── Staff Grouping ────
330
+ staffGrouping: {
331
+ schedule: {
332
+ scheduletype: {
333
+ type: String,
334
+ enum: ['standard', 'custom'],
335
+ default: 'standard'
336
+ },
337
+ openTime: {
338
+ type: String
339
+ },
340
+ closeTime: {
341
+ type: String
342
+ },
343
+ },
344
+ countAlert: {
345
+ enabled: {
346
+ type: Boolean,
347
+ default: false
348
+ },
349
+ threshold: {
350
+ type: Number,
351
+ default: 3
352
+ },
353
+ },
354
+ timeSpentAlert: {
355
+ enabled: {
356
+ type: Boolean,
357
+ default: false
358
+ },
359
+ duration: {
360
+ type: Number,
361
+ default: 3
362
+ },
363
+ },
364
+ hibernation: {
365
+ enabled: {
366
+ type: Boolean,
367
+ default: false
368
+ },
369
+ startTime: {
370
+ type: String,
371
+ default: '13:00'
372
+ },
373
+ endTime: {
374
+ type: String,
375
+ default: '14:00'
376
+ },
377
+ },
378
+ },
379
+ // ──── NEW: Box Alert ────
380
+ boxAlert: {
381
+ schedule: {
382
+ scheduletype: {
383
+ type: String,
384
+ enum: ['standard', 'custom'],
385
+ default: 'standard'
386
+ },
387
+ openTime: {
388
+ type: String
389
+ },
390
+ closeTime: {
391
+ type: String
392
+ },
393
+ },
394
+ recurrence: {
395
+ status: {
396
+ type: Boolean,
397
+ default: false
398
+ },
399
+ time: {
400
+ type: Number
401
+ },
402
+ type: {
403
+ type: String,
404
+ enum: ['custom', 'random', ''],
405
+ default: ''
406
+ }
407
+ },
408
+ emptyShelfAlert: {
409
+ enabled: {
410
+ type: Boolean,
411
+ default: false
412
+ },
413
+ duration: {
414
+ type: Number,
415
+ default: 20
416
+ },
417
+ },
418
+ },
329
419
  alertConfig: {
330
420
  allowBuffer: {
331
421
  enabled: {