tango-api-schema 2.2.11 → 2.2.12

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.2.11",
3
+ "version": "2.2.12",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -15,7 +15,7 @@ const auditLogSchema = new mongoose.Schema( {
15
15
  },
16
16
  moduleType:{
17
17
  type:String,
18
- enum:["traffic", "zone", "uniform-detection","mobile-detection"]
18
+ enum:["traffic", "zone", "uniform-detection","mobile-detection", "hygiene"]
19
19
  },
20
20
  zoneName:{
21
21
  type:String
@@ -18,7 +18,7 @@ const empDetectionOutputSchema = new mongoose.Schema( {
18
18
  },
19
19
  moduleType:{
20
20
  type:String,
21
- enum:["mobile-detection", "uniform-detection"]
21
+ enum:["mobile-detection", "uniform-detection", "hygiene"]
22
22
  },
23
23
  totalCount: {
24
24
  type: Number,
@@ -18,7 +18,7 @@ const storeEmpDetectionSchema = new mongoose.Schema( {
18
18
  },
19
19
  moduleType:{
20
20
  type: String,
21
- enum: ['mobile-detection','uniform-detection' ],
21
+ enum: ['mobile-detection','uniform-detection',"hygiene" ],
22
22
  },
23
23
  auditType: {
24
24
  type: String,
@@ -18,6 +18,9 @@ const traxAuditData = new mongoose.Schema( {
18
18
  storeId:{
19
19
  type:String
20
20
  },
21
+ zoneName:{
22
+ type: String
23
+ },
21
24
  moduleType:{
22
25
  type: String
23
26
  },
@@ -19,7 +19,7 @@ const userEmpDetectionSchema = new mongoose.Schema( {
19
19
 
20
20
  moduleType:{
21
21
  type: String,
22
- enum: ['mobile-detection','uniform-detection' ],
22
+ enum: ['mobile-detection','uniform-detection', "hygiene" ],
23
23
  },
24
24
  auditType: {
25
25
  type: String,