tango-api-schema 2.2.186 → 2.2.188

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.186",
3
+ "version": "2.2.188",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -450,6 +450,14 @@ const client = new mongoose.Schema(
450
450
  isFootfallView:{
451
451
  type: Boolean,
452
452
  default:false
453
+ },
454
+ isAIManager:{
455
+ type: Boolean,
456
+ default:false
457
+ },
458
+ isAIManagerAccessControl:{
459
+ type: Boolean,
460
+ default:false
453
461
  }
454
462
  },
455
463
  document: {
@@ -20,7 +20,7 @@ const planoTaskCompliance = new mongoose.Schema(
20
20
  },
21
21
  timeStamp: {
22
22
  type: Date,
23
- default: Date
23
+ default: () => new Date()
24
24
  },
25
25
  video: {
26
26
  type: String
@@ -47,7 +47,7 @@ const planoTaskCompliance = new mongoose.Schema(
47
47
  },
48
48
  timeStamp: {
49
49
  type: Date,
50
- default: Date
50
+ default: () => new Date()
51
51
  }
52
52
  }
53
53
  ],
@@ -70,7 +70,7 @@ const planoTaskCompliance = new mongoose.Schema(
70
70
  },
71
71
  timeStamp: {
72
72
  type: Date,
73
- default: Date
73
+ default: () => new Date()
74
74
  },
75
75
  issueType: {
76
76
  type: String,
@@ -103,7 +103,7 @@ const planoTaskCompliance = new mongoose.Schema(
103
103
  },
104
104
  timeStamp: {
105
105
  type: Date,
106
- default: Date
106
+ default: () => new Date()
107
107
  }
108
108
  }
109
109
  ],
@@ -128,7 +128,7 @@ const planoTaskCompliance = new mongoose.Schema(
128
128
  },
129
129
  timeStamp: {
130
130
  type: Date,
131
- default: Date
131
+ default: () => new Date()
132
132
  }
133
133
  }
134
134
  ],