tango-api-schema 2.5.52 → 2.5.54
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
package/schema/client.model.js
CHANGED
|
@@ -152,7 +152,15 @@ const client = new mongoose.Schema(
|
|
|
152
152
|
enum: [0, 1],
|
|
153
153
|
default: 0
|
|
154
154
|
},
|
|
155
|
-
infraReport: {
|
|
155
|
+
infraReport: {
|
|
156
|
+
type: mongoose.Schema.Types.Mixed,
|
|
157
|
+
default: () => ({
|
|
158
|
+
type: "defined",
|
|
159
|
+
startTime: "09:00",
|
|
160
|
+
endTime: "22:00",
|
|
161
|
+
interval: "60"
|
|
162
|
+
})
|
|
163
|
+
},
|
|
156
164
|
infraDownTime: {
|
|
157
165
|
type: Number,
|
|
158
166
|
default: 1,
|
|
@@ -224,7 +232,7 @@ const client = new mongoose.Schema(
|
|
|
224
232
|
type: Boolean,
|
|
225
233
|
default: true
|
|
226
234
|
},
|
|
227
|
-
unattendedAuditZone:{
|
|
235
|
+
unattendedAuditZone: {
|
|
228
236
|
type: Boolean,
|
|
229
237
|
default: false
|
|
230
238
|
},
|
|
@@ -293,7 +301,7 @@ const client = new mongoose.Schema(
|
|
|
293
301
|
},
|
|
294
302
|
},
|
|
295
303
|
featureConfigs: {
|
|
296
|
-
|
|
304
|
+
trackerEndPoint: {
|
|
297
305
|
type: String,
|
|
298
306
|
},
|
|
299
307
|
trafficEndPoint: {
|
|
@@ -381,6 +389,10 @@ const client = new mongoose.Schema(
|
|
|
381
389
|
type: Boolean,
|
|
382
390
|
default: false,
|
|
383
391
|
},
|
|
392
|
+
isFootfallDirectoryonlyTango: {
|
|
393
|
+
type: Boolean,
|
|
394
|
+
default: false,
|
|
395
|
+
},
|
|
384
396
|
isExcludedArea: {
|
|
385
397
|
type: Boolean,
|
|
386
398
|
default: true
|
|
@@ -493,8 +505,8 @@ const client = new mongoose.Schema(
|
|
|
493
505
|
|
|
494
506
|
},
|
|
495
507
|
footfallDirectoryConfigs: {
|
|
496
|
-
contactEmail:{
|
|
497
|
-
|
|
508
|
+
contactEmail: {
|
|
509
|
+
type: String,
|
|
498
510
|
default: ""
|
|
499
511
|
},
|
|
500
512
|
revision: {
|
|
@@ -526,17 +538,17 @@ const client = new mongoose.Schema(
|
|
|
526
538
|
type: Number,
|
|
527
539
|
default: 3
|
|
528
540
|
},
|
|
529
|
-
|
|
541
|
+
allowTangoReview: {
|
|
530
542
|
type: Number,
|
|
531
543
|
default: 4
|
|
532
544
|
},
|
|
533
|
-
|
|
545
|
+
allowTangoApprove: {
|
|
534
546
|
type: Number,
|
|
535
547
|
default: 4
|
|
536
548
|
},
|
|
537
549
|
allowImageView: {
|
|
538
550
|
type: Number,
|
|
539
|
-
default:90
|
|
551
|
+
default: 90
|
|
540
552
|
},
|
|
541
553
|
isAutoCloseEnable: {
|
|
542
554
|
type: Boolean,
|
|
@@ -603,10 +615,10 @@ const client = new mongoose.Schema(
|
|
|
603
615
|
type: String,
|
|
604
616
|
default: "85%"
|
|
605
617
|
},
|
|
606
|
-
tangoApproved:{ // this key for decide the final count is reflected by tango or client
|
|
607
|
-
|
|
618
|
+
tangoApproved: { // this key for decide the final count is reflected by tango or client
|
|
619
|
+
type: Boolean,
|
|
608
620
|
default: false
|
|
609
|
-
}
|
|
621
|
+
}
|
|
610
622
|
},
|
|
611
623
|
document: {
|
|
612
624
|
addressProof: {
|
|
@@ -792,7 +804,7 @@ const client = new mongoose.Schema(
|
|
|
792
804
|
sendTo: {
|
|
793
805
|
type: Array,
|
|
794
806
|
},
|
|
795
|
-
otherEmailList:{
|
|
807
|
+
otherEmailList: {
|
|
796
808
|
type: Array
|
|
797
809
|
}
|
|
798
810
|
},
|
|
@@ -822,9 +834,9 @@ const client = new mongoose.Schema(
|
|
|
822
834
|
type: Boolean,
|
|
823
835
|
default: true
|
|
824
836
|
},
|
|
825
|
-
traxVideoUploadTimeLimit:{
|
|
826
|
-
type:Number,
|
|
827
|
-
default:0
|
|
837
|
+
traxVideoUploadTimeLimit: {
|
|
838
|
+
type: Number,
|
|
839
|
+
default: 0
|
|
828
840
|
}
|
|
829
841
|
},
|
|
830
842
|
{
|
|
@@ -385,7 +385,7 @@ const planoTaskCompliance = new mongoose.Schema(
|
|
|
385
385
|
},
|
|
386
386
|
type: {
|
|
387
387
|
type: String,
|
|
388
|
-
enum: ['fixture', 'vm', 'product', 'layout', 'merchRollout', 'vmRollout', 'fixtureMeasurement'],
|
|
388
|
+
enum: ['fixture', 'vm', 'product', 'layout', 'merchRollout', 'vmRollout', 'fixtureMeasurement','fixtureImage'],
|
|
389
389
|
required: true
|
|
390
390
|
},
|
|
391
391
|
date_string: {
|
|
@@ -415,6 +415,7 @@ const planoTaskCompliance = new mongoose.Schema(
|
|
|
415
415
|
}
|
|
416
416
|
},
|
|
417
417
|
{
|
|
418
|
+
strict: false,
|
|
418
419
|
timestamps: true,
|
|
419
420
|
versionKey: false,
|
|
420
421
|
}
|