tango-api-schema 2.5.27 → 2.5.29
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
|
@@ -131,7 +131,7 @@ const checklistconfigSchema = new mongoose.Schema({
|
|
|
131
131
|
checkListType:{
|
|
132
132
|
type:String,
|
|
133
133
|
default:"custom",
|
|
134
|
-
enum: ["storeopenandclose","mobileusagedetection","uniformdetection","custom","customerunattended","staffleftinthemiddle",'eyetest', 'remoteoptometrist', 'storehygienemonitoring','queuealert','cleaning','scrum','suspiciousactivity','boxalert','suspiciousfootfall','drinking','bagdetection','inventorycount','carsattended','numberplateinfo','vehicle_check_in','unauthorisedentry','backroommonitoring','outsidebusinesshoursqueuetracking','halfshutter']
|
|
134
|
+
enum: ["storeopenandclose","mobileusagedetection","uniformdetection","custom","customerunattended","staffleftinthemiddle",'eyetest', 'remoteoptometrist', 'storehygienemonitoring','queuealert','cleaning','scrum','suspiciousactivity','boxalert','suspiciousfootfall','drinking','bagdetection','inventorycount','carsattended','numberplateinfo','vehicle_check_in','unauthorisedentry','backroommonitoring','outsidebusinesshoursqueuetracking','halfshutter','tvcompliance']
|
|
135
135
|
},
|
|
136
136
|
createdAt: {
|
|
137
137
|
type: Date,
|
|
@@ -1,16 +1,34 @@
|
|
|
1
1
|
import mongoose from 'mongoose';
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
const customZonetagsSchema = new mongoose.Schema({
|
|
4
|
+
clientId: {
|
|
5
|
+
type: String,
|
|
6
|
+
required: true,
|
|
7
|
+
default: ""
|
|
8
|
+
},
|
|
4
9
|
tagName: {
|
|
5
10
|
type: String,
|
|
6
11
|
required: true,
|
|
7
12
|
default: ""
|
|
8
13
|
},
|
|
9
|
-
|
|
14
|
+
groupName: {
|
|
15
|
+
type: String,
|
|
16
|
+
required: false,
|
|
17
|
+
default: ""
|
|
18
|
+
},
|
|
19
|
+
productName: {
|
|
10
20
|
type: String,
|
|
11
21
|
required: true,
|
|
12
22
|
default: ""
|
|
13
|
-
}
|
|
23
|
+
},
|
|
24
|
+
rgbColor: {
|
|
25
|
+
type: String,
|
|
26
|
+
required: true,
|
|
27
|
+
},
|
|
28
|
+
rgbBorderColor: {
|
|
29
|
+
type: String,
|
|
30
|
+
required: true,
|
|
31
|
+
},
|
|
14
32
|
},
|
|
15
33
|
{
|
|
16
34
|
strict: true,
|
|
@@ -18,5 +36,5 @@ const customZonetagsSchema = new mongoose.Schema({
|
|
|
18
36
|
timestamps: true,
|
|
19
37
|
},
|
|
20
38
|
);
|
|
21
|
-
|
|
22
|
-
export default mongoose.model('
|
|
39
|
+
|
|
40
|
+
export default mongoose.model('customzonetags', customZonetagsSchema);
|
|
@@ -81,7 +81,7 @@ const processedchecklistSchema = new mongoose.Schema({
|
|
|
81
81
|
checkListType: {
|
|
82
82
|
type: String,
|
|
83
83
|
default: "custom",
|
|
84
|
-
enum: ["storeopenandclose","mobileusagedetection","uniformdetection","custom","customerunattended","staffleftinthemiddle",'eyetest', 'remoteoptometrist', 'storehygienemonitoring','queuealert','cleaning','scrum','suspiciousactivity','boxalert','suspiciousfootfall','drinking','bagdetection','inventorycount','carsattended','numberplateinfo','vehicle_check_in','unauthorisedentry','backroommonitoring','outsidebusinesshoursqueuetracking','halfshutter']
|
|
84
|
+
enum: ["storeopenandclose","mobileusagedetection","uniformdetection","custom","customerunattended","staffleftinthemiddle",'eyetest', 'remoteoptometrist', 'storehygienemonitoring','queuealert','cleaning','scrum','suspiciousactivity','boxalert','suspiciousfootfall','drinking','bagdetection','inventorycount','carsattended','numberplateinfo','vehicle_check_in','unauthorisedentry','backroommonitoring','outsidebusinesshoursqueuetracking','halfshutter','tvcompliance']
|
|
85
85
|
},
|
|
86
86
|
store_id: {
|
|
87
87
|
type: String,
|
|
@@ -81,7 +81,7 @@ const processedchecklistconfigSchema = new mongoose.Schema({
|
|
|
81
81
|
checkListType: {
|
|
82
82
|
type: String,
|
|
83
83
|
default: "custom",
|
|
84
|
-
enum: ["storeopenandclose","mobileusagedetection","uniformdetection","custom","customerunattended","staffleftinthemiddle",'eyetest', 'remoteoptometrist', 'storehygienemonitoring','queuealert','cleaning','scrum','suspiciousactivity','boxalert','suspiciousfootfall','drinking','bagdetection','inventorycount','carsattended','numberplateinfo','vehicle_check_in','unauthorisedentry','backroommonitoring','outsidebusinesshoursqueuetracking','halfshutter']
|
|
84
|
+
enum: ["storeopenandclose","mobileusagedetection","uniformdetection","custom","customerunattended","staffleftinthemiddle",'eyetest', 'remoteoptometrist', 'storehygienemonitoring','queuealert','cleaning','scrum','suspiciousactivity','boxalert','suspiciousfootfall','drinking','bagdetection','inventorycount','carsattended','numberplateinfo','vehicle_check_in','unauthorisedentry','backroommonitoring','outsidebusinesshoursqueuetracking','halfshutter','tvcompliance']
|
|
85
85
|
},
|
|
86
86
|
startTime:{
|
|
87
87
|
type:Date
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import mongoose from 'mongoose';
|
|
2
|
-
|
|
3
2
|
const zonegroupsSchema = new mongoose.Schema({
|
|
4
3
|
groupName: {
|
|
5
4
|
type: String,
|
|
@@ -18,5 +17,5 @@ const zonegroupsSchema = new mongoose.Schema({
|
|
|
18
17
|
timestamps: true,
|
|
19
18
|
},
|
|
20
19
|
);
|
|
21
|
-
|
|
20
|
+
|
|
22
21
|
export default mongoose.model('zonegroups', zonegroupsSchema);
|