tango-api-schema 2.5.81 → 2.5.82

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.81",
3
+ "version": "2.5.82",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -384,7 +384,7 @@ const checklistconfigSchema = new mongoose.Schema({
384
384
  type: String
385
385
  }
386
386
  },
387
- // ──── NEW: Staff Grouping ────
387
+ // ──── Staff Grouping ────
388
388
  staffGrouping: {
389
389
  schedule: {
390
390
  scheduletype: {
@@ -434,7 +434,47 @@ const checklistconfigSchema = new mongoose.Schema({
434
434
  },
435
435
  },
436
436
  },
437
- // ──── END: Staff Grouping ────
437
+ // ──── NEW: Box Alert ────
438
+ boxAlert: {
439
+ schedule: {
440
+ scheduletype: {
441
+ type: String,
442
+ enum: ['standard', 'custom'],
443
+ default: 'standard'
444
+ },
445
+ openTime: {
446
+ type: String
447
+ },
448
+ closeTime: {
449
+ type: String
450
+ },
451
+ },
452
+ recurrence: {
453
+ status: {
454
+ type: Boolean,
455
+ default: false
456
+ },
457
+ time: {
458
+ type: Number
459
+ },
460
+ type: {
461
+ type: String,
462
+ enum: ['custom', 'random', ''],
463
+ default: ''
464
+ }
465
+ },
466
+ emptyShelfAlert: {
467
+ enabled: {
468
+ type: Boolean,
469
+ default: false
470
+ },
471
+ duration: {
472
+ type: Number,
473
+ default: 20
474
+ },
475
+ },
476
+ },
477
+ // ──── END: Box Alert ────
438
478
  alertConfig: {
439
479
  allowBuffer: {
440
480
  enabled: {