tango-api-schema 2.2.198 → 2.2.200
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
|
@@ -20,7 +20,7 @@ const planoTaskCompliance = new mongoose.Schema(
|
|
|
20
20
|
},
|
|
21
21
|
timeStamp: {
|
|
22
22
|
type: Date,
|
|
23
|
-
|
|
23
|
+
default: () => new Date()
|
|
24
24
|
},
|
|
25
25
|
video: {
|
|
26
26
|
type: String
|
|
@@ -47,7 +47,7 @@ const planoTaskCompliance = new mongoose.Schema(
|
|
|
47
47
|
},
|
|
48
48
|
timeStamp: {
|
|
49
49
|
type: Date,
|
|
50
|
-
|
|
50
|
+
default: () => new Date()
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
],
|
|
@@ -70,11 +70,11 @@ const planoTaskCompliance = new mongoose.Schema(
|
|
|
70
70
|
},
|
|
71
71
|
timeStamp: {
|
|
72
72
|
type: Date,
|
|
73
|
-
|
|
73
|
+
default: () => new Date()
|
|
74
74
|
},
|
|
75
75
|
issueType: {
|
|
76
76
|
type: String,
|
|
77
|
-
enum: ["extraFixture", 'fixtureMissing', 'fixtureMismatch', 'categoryWrong', 'sizeWrong', 'shelfWrong', 'brandWrong', 'productcategoryWrong', "extraVm", 'VmMissing', 'VmMismatch', 'VmSizeWrong', 'others']
|
|
77
|
+
enum: ["extraFixture", 'fixtureMissing', 'fixtureMismatch', 'categoryWrong', 'sizeWrong', 'shelfWrong', 'brandWrong', 'productcategoryWrong', "extraVm", 'VmMissing', 'VmMismatch', 'VmSizeWrong','merchNotDelivered','merchDamaged','merchMismatch','vmPartiallyRecevied','vmDamaged','vmnotRecevied','vmMismatch', 'others']
|
|
78
78
|
},
|
|
79
79
|
image: {
|
|
80
80
|
type: String
|
|
@@ -103,7 +103,7 @@ const planoTaskCompliance = new mongoose.Schema(
|
|
|
103
103
|
},
|
|
104
104
|
timeStamp: {
|
|
105
105
|
type: Date,
|
|
106
|
-
|
|
106
|
+
default: () => new Date()
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
],
|
|
@@ -128,7 +128,7 @@ const planoTaskCompliance = new mongoose.Schema(
|
|
|
128
128
|
},
|
|
129
129
|
timeStamp: {
|
|
130
130
|
type: Date,
|
|
131
|
-
|
|
131
|
+
default: () => new Date()
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
],
|
|
@@ -145,7 +145,31 @@ const planoTaskCompliance = new mongoose.Schema(
|
|
|
145
145
|
}]
|
|
146
146
|
}
|
|
147
147
|
],
|
|
148
|
-
|
|
148
|
+
merchData:[ {
|
|
149
|
+
productBrandName: {
|
|
150
|
+
type: String
|
|
151
|
+
},
|
|
152
|
+
productCategory: [{
|
|
153
|
+
type: String
|
|
154
|
+
}]
|
|
155
|
+
}],
|
|
156
|
+
vmData:[ {
|
|
157
|
+
image: {
|
|
158
|
+
type: String
|
|
159
|
+
},
|
|
160
|
+
vmType: {
|
|
161
|
+
type: String
|
|
162
|
+
},
|
|
163
|
+
vmName: {
|
|
164
|
+
type: String
|
|
165
|
+
},
|
|
166
|
+
count:{
|
|
167
|
+
type: Number
|
|
168
|
+
},
|
|
169
|
+
vmId: {
|
|
170
|
+
type: mongoose.Schema.Types.ObjectId,
|
|
171
|
+
},
|
|
172
|
+
}],
|
|
149
173
|
image: {
|
|
150
174
|
type: String
|
|
151
175
|
},
|
|
@@ -336,7 +360,7 @@ const planoTaskCompliance = new mongoose.Schema(
|
|
|
336
360
|
},
|
|
337
361
|
type: {
|
|
338
362
|
type: String,
|
|
339
|
-
enum: ['fixture', 'vm', 'product', 'layout'],
|
|
363
|
+
enum: ['fixture', 'vm', 'product', 'layout', 'merchRollout', 'vmRollout'],
|
|
340
364
|
required: true
|
|
341
365
|
},
|
|
342
366
|
date_string: {
|
|
@@ -362,7 +386,7 @@ const planoTaskCompliance = new mongoose.Schema(
|
|
|
362
386
|
approvalStatus: {
|
|
363
387
|
type: String,
|
|
364
388
|
enum: ['pending', 'approved', 'rejected'],
|
|
365
|
-
default:'pending'
|
|
389
|
+
default: 'pending'
|
|
366
390
|
}
|
|
367
391
|
},
|
|
368
392
|
{
|