tango-api-schema 2.2.55 → 2.2.57

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.55",
3
+ "version": "2.2.57",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -47,6 +47,10 @@ const planogramSchema = new mongoose.Schema( {
47
47
  enum: [ 'L1', 'L2', 'L3', 'L4', 'L5' ],
48
48
  // L1- floor level, L2- fixture level, L3- fixture-shelf level, L4- fixture-shelf-product level
49
49
  default: 'L3',
50
+ },
51
+ scanType: {
52
+ type: String,
53
+ enum: [ 'rfid', 'qr' ],
50
54
  }
51
55
  },
52
56
  {
@@ -197,6 +197,14 @@ const processedTaskSchema = new mongoose.Schema(
197
197
  default: 'store',
198
198
  enum: ["store", "user", "checklist"]
199
199
  },
200
+ type:{
201
+ type: String,
202
+ enum: ['fixture', 'vm', 'product']
203
+ },
204
+ planoId:{
205
+ type:mongoose.SchemaTypes.ObjectId,
206
+ },
207
+
200
208
  },
201
209
  {
202
210
  strict: true,