tango-api-schema 1.0.28 → 1.0.30

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": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -73,7 +73,7 @@ const collection = new mongoose.Schema(
73
73
  spocDetails: [
74
74
  {
75
75
  _id: {
76
- type: Schema.Types.ObjectId,
76
+ type: mongoose.Schema.Types.ObjectId,
77
77
  default: new mongoose.Types.ObjectId(),
78
78
  },
79
79
  name: {
@@ -146,18 +146,18 @@ const collection = new mongoose.Schema(
146
146
  timeZone: {
147
147
  type: String,
148
148
  required: false,
149
- default: "Asia/Kolkata",
149
+ // default: "Asia/Kolkata",
150
150
  },
151
151
  firstFileDate: {
152
152
  type: Date,
153
153
  },
154
154
  firstFile: {
155
155
  type: Boolean,
156
- default: false,
156
+ // default: false,
157
157
  },
158
158
  status: {
159
159
  type: Boolean,
160
- default: true,
160
+ // default: true,
161
161
  },
162
162
  timeDownload: {
163
163
  type: Date,
@@ -185,19 +185,19 @@ const collection = new mongoose.Schema(
185
185
  },
186
186
  triggerProcessId: {
187
187
  type: String,
188
- default: "",
188
+ // default: "",
189
189
  },
190
190
  isRestartRequired: {
191
191
  type: Boolean,
192
- default: false,
192
+ // default: false,
193
193
  },
194
194
  serverType: {
195
195
  type: Boolean,
196
- default: false,
196
+ //default: false,
197
197
  },
198
198
  deleteInterval: {
199
199
  type: Number,
200
- default: 0,
200
+ // default: 0,
201
201
  },
202
202
  timeElapsed: {
203
203
  type: Number,
@@ -213,7 +213,7 @@ const collection = new mongoose.Schema(
213
213
  },
214
214
  handShake: {
215
215
  type: Boolean,
216
- default: false,
216
+ // default: false,
217
217
  },
218
218
  speedTest: {
219
219
  type: Object,
@@ -224,6 +224,10 @@ const collection = new mongoose.Schema(
224
224
  preRequisiteStartedAt: {
225
225
  type: Date,
226
226
  },
227
+ preRequisite: {
228
+ type: Boolean,
229
+ // default: false,
230
+ },
227
231
  deviceSpec: {
228
232
  type: Object,
229
233
  },
@@ -235,7 +239,7 @@ const collection = new mongoose.Schema(
235
239
  },
236
240
  deleteExe: {
237
241
  type: Boolean,
238
- default: false,
242
+ //default: false,
239
243
  },
240
244
  camDetails: {
241
245
  type: Object,
@@ -250,13 +254,9 @@ const collection = new mongoose.Schema(
250
254
  ipManufacturerStatus: {
251
255
  type: Boolean,
252
256
  },
253
- preRequisite: {
254
- type: Boolean,
255
- default: false,
256
- },
257
257
  installEdge: {
258
258
  type: Boolean,
259
- default: false,
259
+ // default: false,
260
260
  },
261
261
  systemTimeZone: {
262
262
  type: String,
@@ -269,6 +269,46 @@ const collection = new mongoose.Schema(
269
269
  //next level of initialization
270
270
  type: String,
271
271
  },
272
+ pipelineTrigger: {
273
+ pipelineType: {
274
+ type: String,
275
+ },
276
+ processLiveFeature: {
277
+ type: Boolean,
278
+ },
279
+ processEodFeature: {
280
+ type: Boolean,
281
+ },
282
+ processReid: {
283
+ type: Boolean,
284
+ },
285
+ processYolo: {
286
+ type: Boolean,
287
+ },
288
+ reidQueue: {
289
+ type: String,
290
+ },
291
+ yoloQueue: {
292
+ type: String,
293
+ },
294
+ version: {
295
+ type: String,
296
+ },
297
+ },
298
+ featurePackage: {
299
+ controlCenter: {
300
+ type: Boolean,
301
+ },
302
+ revops: {
303
+ type: Boolean,
304
+ },
305
+ zone: {
306
+ type: Boolean,
307
+ },
308
+ recap:{
309
+ type: Boolean,
310
+ }
311
+ },
272
312
  },
273
313
  {
274
314
  timestamps: true,