tango-api-schema 2.5.81 → 2.5.83
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
|
@@ -382,9 +382,15 @@ const checklistconfigSchema = new mongoose.Schema({
|
|
|
382
382
|
},
|
|
383
383
|
waitTimeLimit: {
|
|
384
384
|
type: String
|
|
385
|
+
},
|
|
386
|
+
alertCooldownEnabled: {
|
|
387
|
+
type: Boolean
|
|
388
|
+
},
|
|
389
|
+
alertCooldownTime: {
|
|
390
|
+
type: String
|
|
385
391
|
}
|
|
386
392
|
},
|
|
387
|
-
// ────
|
|
393
|
+
// ──── Staff Grouping ────
|
|
388
394
|
staffGrouping: {
|
|
389
395
|
schedule: {
|
|
390
396
|
scheduletype: {
|
|
@@ -434,7 +440,47 @@ const checklistconfigSchema = new mongoose.Schema({
|
|
|
434
440
|
},
|
|
435
441
|
},
|
|
436
442
|
},
|
|
437
|
-
// ────
|
|
443
|
+
// ──── NEW: Box Alert ────
|
|
444
|
+
boxAlert: {
|
|
445
|
+
schedule: {
|
|
446
|
+
scheduletype: {
|
|
447
|
+
type: String,
|
|
448
|
+
enum: ['standard', 'custom'],
|
|
449
|
+
default: 'standard'
|
|
450
|
+
},
|
|
451
|
+
openTime: {
|
|
452
|
+
type: String
|
|
453
|
+
},
|
|
454
|
+
closeTime: {
|
|
455
|
+
type: String
|
|
456
|
+
},
|
|
457
|
+
},
|
|
458
|
+
recurrence: {
|
|
459
|
+
status: {
|
|
460
|
+
type: Boolean,
|
|
461
|
+
default: false
|
|
462
|
+
},
|
|
463
|
+
time: {
|
|
464
|
+
type: Number
|
|
465
|
+
},
|
|
466
|
+
type: {
|
|
467
|
+
type: String,
|
|
468
|
+
enum: ['custom', 'random', ''],
|
|
469
|
+
default: ''
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
emptyShelfAlert: {
|
|
473
|
+
enabled: {
|
|
474
|
+
type: Boolean,
|
|
475
|
+
default: false
|
|
476
|
+
},
|
|
477
|
+
duration: {
|
|
478
|
+
type: Number,
|
|
479
|
+
default: 20
|
|
480
|
+
},
|
|
481
|
+
},
|
|
482
|
+
},
|
|
483
|
+
// ──── END: Box Alert ────
|
|
438
484
|
alertConfig: {
|
|
439
485
|
allowBuffer: {
|
|
440
486
|
enabled: {
|