tango-api-schema 2.0.79 → 2.0.81

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.0.79",
3
+ "version": "2.0.81",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -139,7 +139,19 @@ const client = new mongoose.Schema(
139
139
  },
140
140
  downTimeType: {
141
141
  type: Number, // 0 for one camera and 1 for multi cameras
142
- enum:[0,1]
142
+ enum:[0,1],
143
+ default:0
144
+ },
145
+ infraReport:{
146
+ start:{
147
+ type:String,
148
+ default:"09:00"
149
+ },
150
+ end:{
151
+ type:String,
152
+ default:"19:00"
153
+
154
+ }
143
155
  },
144
156
  infraReport:{
145
157
  start:{
@@ -161,9 +173,10 @@ const client = new mongoose.Schema(
161
173
  type: Number,
162
174
  default:0
163
175
  },
164
- rcaTicketAssign:{// root cause anlysis
176
+ rcaTicketAssign:{// root cause anlysis
165
177
  type: Number,
166
- enum:[1,2,3,4,5,6,8,9,10,11,12]
178
+ enum:[1,2,3,4,5,6,8,9,10,11,12],
179
+ default:1
167
180
  },
168
181
  refreshAlert:{
169
182
  type: Number,
@@ -177,12 +190,14 @@ const client = new mongoose.Schema(
177
190
  },
178
191
  accuracyPercentage: {
179
192
  type: Number, // in less than
193
+ default:10
180
194
  },
181
195
  reTrain: {
182
196
  type: Number, // calculate no of past days
183
- enum:[1,2,3,4,5,6,8,9,10,11,12]
197
+ enum:[1,2,3,4,5,6,8,9,10,11,12],
198
+ default:1
184
199
  },
185
-
200
+
186
201
  },
187
202
  reportConfigs: {
188
203
  report: {
@@ -30,6 +30,19 @@ const workStationModel = new Schema(
30
30
  type: Boolean,
31
31
  default: true,
32
32
  },
33
+ updateAppVersion: {
34
+ type: String,
35
+ trim: true,
36
+ },
37
+ appVersion: {
38
+ type: String,
39
+ trim: true,
40
+ },
41
+ architecture: {
42
+ type: String,
43
+ trim: true,
44
+ enum: [ 'x32', 'x64' ],
45
+ },
33
46
  },
34
47
  {
35
48
  strict: true,