tango-api-schema 2.5.68 → 2.5.70
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/index.js
CHANGED
|
@@ -123,6 +123,7 @@ import storeAccuracyIssuesModel from "./schema/storeAccuracyIssues.model.js";
|
|
|
123
123
|
import RFIDdataModel from "./schema/RFIDdata.model.js";
|
|
124
124
|
import customZonetagsModel from "./schema/customZonetags.model.js";
|
|
125
125
|
import zonegroupsModel from "./schema/zonegroups.model.js";
|
|
126
|
+
import pidAllocationEngine from "./schema/pidAllocationEngine.model.js";
|
|
126
127
|
|
|
127
128
|
|
|
128
129
|
export default {
|
|
@@ -247,5 +248,6 @@ export default {
|
|
|
247
248
|
storeAccuracyIssuesModel,
|
|
248
249
|
RFIDdataModel,
|
|
249
250
|
customZonetagsModel,
|
|
250
|
-
zonegroupsModel
|
|
251
|
+
zonegroupsModel,
|
|
252
|
+
pidAllocationEngine
|
|
251
253
|
};
|
package/package.json
CHANGED
|
@@ -296,14 +296,54 @@ const checklistconfigSchema = new mongoose.Schema({
|
|
|
296
296
|
beforeCloseTime: {
|
|
297
297
|
type: Number
|
|
298
298
|
},
|
|
299
|
+
duration:{
|
|
300
|
+
type:Number
|
|
301
|
+
}
|
|
299
302
|
},
|
|
300
303
|
},
|
|
304
|
+
hygieneMonitoring:{
|
|
305
|
+
schedule: {
|
|
306
|
+
scheduletype: {
|
|
307
|
+
type: String
|
|
308
|
+
},
|
|
309
|
+
openTime: {
|
|
310
|
+
type: String
|
|
311
|
+
},
|
|
312
|
+
closeTime: {
|
|
313
|
+
type: String
|
|
314
|
+
},
|
|
315
|
+
},
|
|
316
|
+
recurrence: {
|
|
317
|
+
status: {
|
|
318
|
+
type: Boolean,
|
|
319
|
+
default: false
|
|
320
|
+
},
|
|
321
|
+
time: {
|
|
322
|
+
type: Number
|
|
323
|
+
},
|
|
324
|
+
type:{
|
|
325
|
+
type:String
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
},
|
|
301
329
|
cameraAngle: {
|
|
302
330
|
enabled: {
|
|
303
331
|
type: Boolean,
|
|
304
332
|
default: false
|
|
305
333
|
}
|
|
306
334
|
},
|
|
335
|
+
IPChanged:{
|
|
336
|
+
enabled: {
|
|
337
|
+
type: Boolean,
|
|
338
|
+
default: false
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
resolutionChange:{
|
|
342
|
+
enabled: {
|
|
343
|
+
type: Boolean,
|
|
344
|
+
default: false
|
|
345
|
+
}
|
|
346
|
+
},
|
|
307
347
|
tvcompliance: {
|
|
308
348
|
schedule: {
|
|
309
349
|
scheduletype: {
|
|
@@ -377,6 +417,17 @@ const checklistconfigSchema = new mongoose.Schema({
|
|
|
377
417
|
web: {
|
|
378
418
|
type: Array
|
|
379
419
|
},
|
|
420
|
+
email:{
|
|
421
|
+
type:{
|
|
422
|
+
type:Array
|
|
423
|
+
},
|
|
424
|
+
users:{
|
|
425
|
+
type:Array
|
|
426
|
+
},
|
|
427
|
+
teams:{
|
|
428
|
+
type:Array
|
|
429
|
+
}
|
|
430
|
+
}
|
|
380
431
|
},
|
|
381
432
|
},
|
|
382
433
|
autoTaskConfig: {
|
|
@@ -388,6 +439,23 @@ const checklistconfigSchema = new mongoose.Schema({
|
|
|
388
439
|
type: Array,
|
|
389
440
|
default: []
|
|
390
441
|
},
|
|
442
|
+
taskAssignedTo: {
|
|
443
|
+
type:String
|
|
444
|
+
},
|
|
445
|
+
users:{
|
|
446
|
+
type:Array
|
|
447
|
+
},
|
|
448
|
+
approverEnabled:{
|
|
449
|
+
type:Boolean
|
|
450
|
+
},
|
|
451
|
+
taskValidity:{
|
|
452
|
+
time:{
|
|
453
|
+
type:Number
|
|
454
|
+
},
|
|
455
|
+
type:{
|
|
456
|
+
type:String
|
|
457
|
+
}
|
|
458
|
+
}
|
|
391
459
|
},
|
|
392
460
|
exportConfig: {
|
|
393
461
|
enabled: {
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import mongoose from 'mongoose';
|
|
2
|
+
|
|
3
|
+
const pidAllocationEngine = new mongoose.Schema(
|
|
4
|
+
{
|
|
5
|
+
name: {
|
|
6
|
+
type: String,
|
|
7
|
+
required: true,
|
|
8
|
+
},
|
|
9
|
+
clientId: {
|
|
10
|
+
type: String,
|
|
11
|
+
required: true,
|
|
12
|
+
},
|
|
13
|
+
description: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: '',
|
|
16
|
+
},
|
|
17
|
+
isActive: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: false,
|
|
20
|
+
},
|
|
21
|
+
storeIds: {
|
|
22
|
+
type: [String],
|
|
23
|
+
default: [],
|
|
24
|
+
},
|
|
25
|
+
rules: [
|
|
26
|
+
{
|
|
27
|
+
Category: {
|
|
28
|
+
type: String,
|
|
29
|
+
required: true,
|
|
30
|
+
},
|
|
31
|
+
fixtureCount: {
|
|
32
|
+
type: Number,
|
|
33
|
+
required: true,
|
|
34
|
+
},
|
|
35
|
+
fixtures: [
|
|
36
|
+
{
|
|
37
|
+
Header: { type: String, default: '' },
|
|
38
|
+
Top: { type: String, default: '' },
|
|
39
|
+
Mid: { type: String, default: '' },
|
|
40
|
+
Bottom: { type: String, default: '' },
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
createdBy: {
|
|
46
|
+
type: String,
|
|
47
|
+
},
|
|
48
|
+
createdByName: {
|
|
49
|
+
type: String,
|
|
50
|
+
},
|
|
51
|
+
updatedBy: {
|
|
52
|
+
type: String,
|
|
53
|
+
},
|
|
54
|
+
updatedByName: {
|
|
55
|
+
type: String,
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
strict: true,
|
|
60
|
+
versionKey: false,
|
|
61
|
+
timestamps: true,
|
|
62
|
+
},
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
export default mongoose.model('pidAllocationEngine', pidAllocationEngine);
|