tango-api-schema 2.1.23 → 2.1.25

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.1.23",
3
+ "version": "2.1.25",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -15,7 +15,7 @@ const auditLogSchem = new mongoose.Schema( {
15
15
  },
16
16
  moduleType:{
17
17
  type:String,
18
- enum:["traffic", "zone"]
18
+ enum:["traffic", "zone", "uniform-detection","mobile-detection"]
19
19
  },
20
20
  zoneName:{
21
21
  type:String
@@ -11,6 +11,9 @@ const auditUsersSchema = new mongoose.Schema( {
11
11
  type: String,
12
12
  trim:true
13
13
  },
14
+ userId: {
15
+ type: mongoose.Schema.Types.ObjectId,
16
+ },
14
17
  isActive:{
15
18
  type: Boolean,
16
19
  default:true
@@ -195,6 +195,7 @@ const client = new mongoose.Schema(
195
195
  reportConfigs: {
196
196
  report: {
197
197
  type: Boolean,
198
+ default:true
198
199
  },
199
200
  reportName: {
200
201
  type: String,
@@ -33,6 +33,12 @@ const userEmpDetectionSchema = new mongoose.Schema( {
33
33
  queueName: {
34
34
  type: String,
35
35
  },
36
+ inputBucketName:{
37
+ type:String
38
+ },
39
+ folderPath:{
40
+ type:String
41
+ },
36
42
  isDraft: {
37
43
  type: Boolean,
38
44
  default: false,