tango-api-schema 2.2.35 → 2.2.37

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.35",
3
+ "version": "2.2.37",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -132,11 +132,7 @@ const collection = new Schema(
132
132
  height: {
133
133
  type: Number,
134
134
  },
135
- streamBy:{
136
- type: String,
137
- enum: ["Rtsp", "Edge"],
138
- default: "Edge"
139
- }
135
+
140
136
  },
141
137
  {
142
138
  strict: true,
@@ -401,6 +401,11 @@ const client = new mongoose.Schema(
401
401
  traxDateRange:{
402
402
  type:Number,
403
403
  default:7
404
+ },
405
+ streamBy:{
406
+ type: String,
407
+ enum: ["Rtsp", "Edge"],
408
+ default: "Rtsp"
404
409
  }
405
410
  },
406
411
  document: {
@@ -42,7 +42,7 @@ const planoComplianceSchema = new mongoose.Schema(
42
42
  },
43
43
  compliance: {
44
44
  type: String,
45
- enum: [ 'misplaced', 'proper' ],
45
+ enum: [ 'misplaced', 'proper', 'missing' ],
46
46
  },
47
47
  date:{
48
48
  type:Date,
@@ -86,7 +86,7 @@ const storeFixtureSchema = new mongoose.Schema(
86
86
  associatedElementNumber: {
87
87
  type: Number,
88
88
  },
89
- fixtureId: {
89
+ fixtureConfigId: {
90
90
  type: mongoose.Types.ObjectId,
91
91
  required: true,
92
92
  },
@@ -114,6 +114,12 @@ const storeFixtureSchema = new mongoose.Schema(
114
114
  type: Number,
115
115
  required: true,
116
116
  },
117
+ productResolutionLevel: {
118
+ type: String,
119
+ enum: [ 'L1', 'L2', 'L3', 'L4', 'L5' ],
120
+ // L1- floor level, L2- fixture level, L3- fixture-shelf level, L4- fixture-shelf-product level
121
+ default: 'L3',
122
+ }
117
123
  },
118
124
  {
119
125
  strict: true,