tango-api-schema 2.2.54 → 2.2.56
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
package/schema/emailers.model.js
CHANGED
|
@@ -11,18 +11,30 @@ const emailersSchema = new mongoose.Schema({
|
|
|
11
11
|
toDate: {
|
|
12
12
|
type: String,
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
templateType: {
|
|
15
15
|
type: String,
|
|
16
16
|
},
|
|
17
|
-
storeIds: {
|
|
18
|
-
type: Array,
|
|
19
|
-
default: [],
|
|
20
|
-
},
|
|
21
17
|
status: {
|
|
22
18
|
type: String,
|
|
23
19
|
enum: ['open','inprogress','completed'],
|
|
24
20
|
default:'open'
|
|
25
21
|
},
|
|
22
|
+
createdAt: {
|
|
23
|
+
type: Date
|
|
24
|
+
},
|
|
25
|
+
dateISO: {
|
|
26
|
+
type: Date
|
|
27
|
+
},
|
|
28
|
+
userEmail: {
|
|
29
|
+
type: String,
|
|
30
|
+
},
|
|
31
|
+
userName: {
|
|
32
|
+
type: String,
|
|
33
|
+
},
|
|
34
|
+
storeIds: {
|
|
35
|
+
type: Array,
|
|
36
|
+
default: [],
|
|
37
|
+
},
|
|
26
38
|
},
|
|
27
39
|
{
|
|
28
40
|
strict: true,
|
|
@@ -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,
|