tango-api-schema 2.2.153 → 2.2.155

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.153",
3
+ "version": "2.2.155",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -28,6 +28,29 @@ const planoTaskCompliance = new mongoose.Schema(
28
28
  image: {
29
29
  type: String
30
30
  },
31
+ comments: [{
32
+ userId: {
33
+ type: mongoose.Types.ObjectId,
34
+ },
35
+ userName: {
36
+ type: String
37
+ },
38
+ role: {
39
+ type: String
40
+ },
41
+ comment: {
42
+ type: String
43
+ },
44
+ responsetype: {
45
+ type: String,
46
+ default: "comment",
47
+ },
48
+ timeStamp: {
49
+ type: Date,
50
+ default: Date.now()
51
+ }
52
+ }
53
+ ],
31
54
  issues: [
32
55
  {
33
56
  userId: {
@@ -109,6 +132,20 @@ const planoTaskCompliance = new mongoose.Schema(
109
132
  }
110
133
  }
111
134
  ],
135
+ missingData:[
136
+ {
137
+ zone:{
138
+ type:String
139
+ },
140
+ brand:[{
141
+ type:String
142
+ }],
143
+ productCategory:[{
144
+ type:String
145
+ }]
146
+ }
147
+ ],
148
+
112
149
  image: {
113
150
  type: String
114
151
  },
@@ -162,6 +199,16 @@ const planoTaskCompliance = new mongoose.Schema(
162
199
  newassociatedElementType: {
163
200
  type: String
164
201
  },
202
+ fixtureWidth:
203
+ {
204
+ value:{
205
+ type:Number
206
+ },
207
+ unit:{
208
+ type: String
209
+ }
210
+ }
211
+ ,
165
212
  shelfConfig: [
166
213
  {
167
214
  _id: {
@@ -195,9 +242,12 @@ const planoTaskCompliance = new mongoose.Schema(
195
242
  ],
196
243
  vmConfig: [
197
244
  {
245
+ vmName: {
246
+ type: String
247
+ },
198
248
  vmId: {
199
249
  type: mongoose.Schema.Types.ObjectId,
200
-
250
+
201
251
  },
202
252
  startYPosition: {
203
253
  type: Number
@@ -264,6 +314,10 @@ const planoTaskCompliance = new mongoose.Schema(
264
314
  taskId: {
265
315
  type: mongoose.Types.ObjectId
266
316
  },
317
+ taskType:{
318
+ type: String,
319
+ enum:['redo','initial']
320
+ },
267
321
  date_iso: {
268
322
  type: Date
269
323
  }
@@ -54,6 +54,10 @@ const planogramSchema = new mongoose.Schema( {
54
54
  },
55
55
  validateShelfSections: {
56
56
  type: Boolean
57
+ },
58
+ planoProgress:{
59
+ type:Number,
60
+ default:25
57
61
  }
58
62
  },
59
63
  {
@@ -237,6 +237,9 @@ const processedTaskSchema = new mongoose.Schema(
237
237
  },
238
238
  checkListFrom: {
239
239
  type: String
240
+ },
241
+ comments:{
242
+ type:Array
240
243
  }
241
244
  },
242
245
  {