tango-api-schema 2.5.30 → 2.5.32
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,395 +1,426 @@
|
|
|
1
1
|
import mongoose from 'mongoose';
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
const checklistconfigSchema = new mongoose.Schema({
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
4
|
+
type: {
|
|
5
|
+
type: String,
|
|
6
|
+
required: true,
|
|
7
|
+
enum: ['checklist', 'section']
|
|
8
|
+
},
|
|
9
|
+
checkListNumber: {
|
|
10
|
+
type: Number,
|
|
11
|
+
},
|
|
12
|
+
checkListName: {
|
|
13
|
+
type: String,
|
|
14
|
+
},
|
|
15
|
+
checkListDescription: {
|
|
16
|
+
type: String,
|
|
17
|
+
},
|
|
18
|
+
// sectionNumber: {
|
|
19
|
+
// type: Number
|
|
20
|
+
// },
|
|
21
|
+
// sectionName: {
|
|
22
|
+
// type: String
|
|
23
|
+
// },
|
|
24
|
+
createdBy: {
|
|
25
|
+
type: mongoose.SchemaTypes.ObjectId,
|
|
26
|
+
required: true
|
|
27
|
+
},
|
|
28
|
+
createdByName: {
|
|
29
|
+
type: String,
|
|
30
|
+
required: true
|
|
31
|
+
},
|
|
32
|
+
publish: {
|
|
33
|
+
type: Boolean,
|
|
34
|
+
default: false
|
|
35
|
+
},
|
|
36
|
+
schedule: {
|
|
37
|
+
type: String,
|
|
38
|
+
default: 'onetime',
|
|
39
|
+
enum: ["daily", "weekly", "monthly", "range", "onetime", 'weekday']
|
|
40
|
+
},
|
|
41
|
+
scheduleRepeatedDay: {
|
|
42
|
+
type: Array,
|
|
43
|
+
default: []
|
|
44
|
+
},
|
|
45
|
+
scheduleStartTime: {
|
|
46
|
+
type: String,
|
|
47
|
+
default: ''
|
|
48
|
+
},
|
|
49
|
+
scheduleStartTimeISO: {
|
|
50
|
+
type: Date
|
|
51
|
+
},
|
|
52
|
+
scheduleEndTime: {
|
|
53
|
+
type: String,
|
|
54
|
+
default: ''
|
|
55
|
+
},
|
|
56
|
+
scheduleEndTimeISO: {
|
|
57
|
+
type: Date
|
|
58
|
+
},
|
|
59
|
+
scheduleDate: {
|
|
60
|
+
type: Date,
|
|
61
|
+
default: Date.now
|
|
62
|
+
},
|
|
63
|
+
configStartDate: {
|
|
64
|
+
type: Date,
|
|
65
|
+
default: ''
|
|
66
|
+
},
|
|
67
|
+
configEndDate: {
|
|
68
|
+
type: Date,
|
|
69
|
+
default: ''
|
|
70
|
+
},
|
|
71
|
+
specificDate: {
|
|
72
|
+
type: Array,
|
|
73
|
+
default: []
|
|
74
|
+
},
|
|
75
|
+
scheduleWeekDays: {
|
|
76
|
+
type: Array,
|
|
77
|
+
default: []
|
|
78
|
+
},
|
|
79
|
+
scheduleRepeatedMonthSetup: {
|
|
80
|
+
type: String,
|
|
81
|
+
enum: ["day", "date", "specific", ""],
|
|
82
|
+
default: 'date'
|
|
83
|
+
},
|
|
84
|
+
scheduleRepeatedMonthDate: {
|
|
85
|
+
type: String,
|
|
86
|
+
default: ''
|
|
87
|
+
},
|
|
88
|
+
allowedOverTime: {
|
|
89
|
+
type: Boolean,
|
|
90
|
+
default: false
|
|
91
|
+
},
|
|
92
|
+
allowedStoreLocation: {
|
|
93
|
+
type: Boolean,
|
|
94
|
+
default: false
|
|
95
|
+
},
|
|
96
|
+
detectionArea: {
|
|
97
|
+
type: Array
|
|
98
|
+
},
|
|
99
|
+
alert: {
|
|
100
|
+
usageExceeds: {
|
|
10
101
|
type: Number,
|
|
11
|
-
},
|
|
12
|
-
checkListName: {
|
|
13
|
-
type: String,
|
|
14
|
-
},
|
|
15
|
-
checkListDescription:{
|
|
16
|
-
type: String,
|
|
17
|
-
},
|
|
18
|
-
// sectionNumber: {
|
|
19
|
-
// type: Number
|
|
20
|
-
// },
|
|
21
|
-
// sectionName: {
|
|
22
|
-
// type: String
|
|
23
|
-
// },
|
|
24
|
-
createdBy: {
|
|
25
|
-
type: mongoose.SchemaTypes.ObjectId,
|
|
26
|
-
required: true
|
|
27
|
-
},
|
|
28
|
-
createdByName: {
|
|
29
|
-
type: String,
|
|
30
|
-
required: true
|
|
31
|
-
},
|
|
32
|
-
publish: {
|
|
33
|
-
type: Boolean,
|
|
34
|
-
default: false
|
|
35
|
-
},
|
|
36
|
-
schedule: {
|
|
37
|
-
type: String,
|
|
38
|
-
default: 'onetime',
|
|
39
|
-
enum: ["daily", "weekly", "monthly","range", "onetime",'weekday']
|
|
40
|
-
},
|
|
41
|
-
scheduleRepeatedDay: {
|
|
42
|
-
type: Array,
|
|
43
|
-
default:[]
|
|
44
|
-
},
|
|
45
|
-
scheduleStartTime: {
|
|
46
|
-
type: String,
|
|
47
102
|
default: ''
|
|
48
103
|
},
|
|
49
|
-
|
|
50
|
-
type:
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
104
|
+
alertsTo: {
|
|
105
|
+
type: Array
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
client_id: {
|
|
109
|
+
type: String
|
|
110
|
+
},
|
|
111
|
+
// brandId: {
|
|
112
|
+
// type: mongoose.SchemaTypes.ObjectId
|
|
113
|
+
// },
|
|
114
|
+
questionCount: {
|
|
115
|
+
type: Number,
|
|
116
|
+
default: 0
|
|
117
|
+
},
|
|
118
|
+
storeCount: {
|
|
119
|
+
type: Number,
|
|
120
|
+
default: 0
|
|
121
|
+
},
|
|
122
|
+
publishDate: {
|
|
123
|
+
type: Date,
|
|
124
|
+
},
|
|
125
|
+
locationCount: {
|
|
126
|
+
type: Number
|
|
127
|
+
},
|
|
128
|
+
checkListId: {
|
|
129
|
+
type: mongoose.SchemaTypes.ObjectId
|
|
130
|
+
},
|
|
131
|
+
checkListType: {
|
|
132
|
+
type: String,
|
|
133
|
+
default: "custom",
|
|
134
|
+
enum: ["storeopenandclose", "mobileusagedetection", "uniformdetection", "custom", "customerunattended", "staffleftinthemiddle", 'eyetest', 'remoteoptometrist', 'storehygienemonitoring', 'queuealert', 'cleaning', 'scrum', 'suspiciousactivity', 'boxalert', 'suspiciousfootfall', 'drinking', 'bagdetection', 'inventorycount', 'carsattended', 'numberplateinfo', 'vehicle_check_in', 'unauthorisedentry', 'backroommonitoring', 'outsidebusinesshoursqueuetracking', 'halfshutter', 'tvcompliance']
|
|
135
|
+
},
|
|
136
|
+
createdAt: {
|
|
137
|
+
type: Date,
|
|
138
|
+
default: Date.now
|
|
139
|
+
},
|
|
140
|
+
updatedAt: {
|
|
141
|
+
type: Date,
|
|
142
|
+
default: Date.now
|
|
143
|
+
},
|
|
144
|
+
isdeleted: {
|
|
145
|
+
type: Boolean,
|
|
146
|
+
default: false
|
|
147
|
+
},
|
|
148
|
+
markasread: {
|
|
149
|
+
type: Boolean,
|
|
150
|
+
default: false
|
|
151
|
+
},
|
|
152
|
+
allowedMultiSubmit: {
|
|
153
|
+
type: Boolean,
|
|
154
|
+
default: false
|
|
155
|
+
},
|
|
156
|
+
allowOnce: {
|
|
157
|
+
type: Boolean,
|
|
158
|
+
default: false
|
|
159
|
+
},
|
|
160
|
+
scheduleRepeatedMonthWeek: {
|
|
161
|
+
type: String,
|
|
162
|
+
default: ''
|
|
163
|
+
},
|
|
164
|
+
scheduleRepeatedType: {
|
|
165
|
+
type: String,
|
|
166
|
+
default: '',
|
|
167
|
+
enum: ["daily", "weekly", "monthly", "range", "onetime", "weekday", ""]
|
|
168
|
+
},
|
|
169
|
+
approver: {
|
|
170
|
+
type: Array,
|
|
171
|
+
default: []
|
|
172
|
+
},
|
|
173
|
+
remainder: {
|
|
174
|
+
type: Array,
|
|
175
|
+
default: []
|
|
176
|
+
},
|
|
177
|
+
owner: {
|
|
178
|
+
type: Array,
|
|
179
|
+
default: []
|
|
180
|
+
},
|
|
181
|
+
restrictAttendance: {
|
|
182
|
+
type: Boolean,
|
|
183
|
+
default: false
|
|
184
|
+
},
|
|
185
|
+
enableNewDeployedStore: {
|
|
186
|
+
type: Boolean,
|
|
187
|
+
default: false
|
|
188
|
+
},
|
|
189
|
+
coverage: {
|
|
190
|
+
type: String,
|
|
191
|
+
default: 'store',
|
|
192
|
+
enum: ["store", "user"]
|
|
193
|
+
},
|
|
194
|
+
isPlano: {
|
|
195
|
+
type: Boolean
|
|
196
|
+
},
|
|
197
|
+
rawImageUpload: {
|
|
198
|
+
type: Boolean,
|
|
199
|
+
default: false
|
|
200
|
+
},
|
|
201
|
+
aiConfig: {
|
|
202
|
+
assignConfig: {
|
|
203
|
+
type: String
|
|
95
204
|
},
|
|
96
|
-
|
|
205
|
+
events: {
|
|
97
206
|
type: Array
|
|
98
207
|
},
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
type:
|
|
102
|
-
default:''
|
|
208
|
+
alerts: {
|
|
209
|
+
users: {
|
|
210
|
+
type: Array
|
|
103
211
|
},
|
|
104
|
-
|
|
212
|
+
},
|
|
213
|
+
alertSendTo: {
|
|
214
|
+
mobile: {
|
|
215
|
+
type: Array
|
|
216
|
+
},
|
|
217
|
+
web: {
|
|
105
218
|
type: Array
|
|
106
219
|
}
|
|
107
220
|
},
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
},
|
|
118
|
-
storeCount: {
|
|
119
|
-
type: Number,
|
|
120
|
-
default: 0
|
|
121
|
-
},
|
|
122
|
-
publishDate: {
|
|
123
|
-
type: Date,
|
|
124
|
-
},
|
|
125
|
-
locationCount:{
|
|
126
|
-
type:Number
|
|
127
|
-
},
|
|
128
|
-
checkListId:{
|
|
129
|
-
type:mongoose.SchemaTypes.ObjectId
|
|
130
|
-
},
|
|
131
|
-
checkListType:{
|
|
132
|
-
type:String,
|
|
133
|
-
default:"custom",
|
|
134
|
-
enum: ["storeopenandclose","mobileusagedetection","uniformdetection","custom","customerunattended","staffleftinthemiddle",'eyetest', 'remoteoptometrist', 'storehygienemonitoring','queuealert','cleaning','scrum','suspiciousactivity','boxalert','suspiciousfootfall','drinking','bagdetection','inventorycount','carsattended','numberplateinfo','vehicle_check_in','unauthorisedentry','backroommonitoring','outsidebusinesshoursqueuetracking','halfshutter','tvcompliance']
|
|
135
|
-
},
|
|
136
|
-
createdAt: {
|
|
137
|
-
type: Date,
|
|
138
|
-
default: Date.now
|
|
139
|
-
},
|
|
140
|
-
updatedAt: {
|
|
141
|
-
type: Date,
|
|
142
|
-
default: Date.now
|
|
143
|
-
},
|
|
144
|
-
isdeleted: {
|
|
145
|
-
type: Boolean,
|
|
146
|
-
default: false
|
|
147
|
-
},
|
|
148
|
-
markasread:{
|
|
149
|
-
type:Boolean,
|
|
150
|
-
default:false
|
|
151
|
-
},
|
|
152
|
-
allowedMultiSubmit: {
|
|
153
|
-
type: Boolean,
|
|
154
|
-
default:false
|
|
155
|
-
},
|
|
156
|
-
allowOnce:{
|
|
157
|
-
type:Boolean,
|
|
158
|
-
default:false
|
|
159
|
-
},
|
|
160
|
-
scheduleRepeatedMonthWeek:{
|
|
161
|
-
type:String,
|
|
162
|
-
default:''
|
|
163
|
-
},
|
|
164
|
-
scheduleRepeatedType: {
|
|
165
|
-
type: String,
|
|
166
|
-
default: '',
|
|
167
|
-
enum: ["daily", "weekly", "monthly","range","onetime","weekday",""]
|
|
168
|
-
},
|
|
169
|
-
approver:{
|
|
170
|
-
type:Array,
|
|
171
|
-
default:[]
|
|
172
|
-
},
|
|
173
|
-
remainder:{
|
|
174
|
-
type:Array,
|
|
175
|
-
default:[]
|
|
176
|
-
},
|
|
177
|
-
owner:{
|
|
178
|
-
type:Array,
|
|
179
|
-
default:[]
|
|
180
|
-
},
|
|
181
|
-
restrictAttendance:{
|
|
182
|
-
type:Boolean,
|
|
183
|
-
default:false
|
|
184
|
-
},
|
|
185
|
-
enableNewDeployedStore:{
|
|
186
|
-
type:Boolean,
|
|
187
|
-
default:false
|
|
188
|
-
},
|
|
189
|
-
coverage:{
|
|
190
|
-
type: String,
|
|
191
|
-
default: 'store',
|
|
192
|
-
enum: ["store", "user"]
|
|
221
|
+
storeOpenClose: {
|
|
222
|
+
buffer: {
|
|
223
|
+
openTime: {
|
|
224
|
+
type: Number
|
|
225
|
+
},
|
|
226
|
+
closeTime: {
|
|
227
|
+
type: Number
|
|
228
|
+
}
|
|
229
|
+
},
|
|
193
230
|
},
|
|
194
|
-
|
|
195
|
-
|
|
231
|
+
mobileDetection: {
|
|
232
|
+
usageExceed: {
|
|
233
|
+
type: Number
|
|
234
|
+
},
|
|
235
|
+
detectionArea: {
|
|
236
|
+
type: Array
|
|
237
|
+
}
|
|
196
238
|
},
|
|
197
|
-
|
|
198
|
-
type: Boolean
|
|
199
|
-
default:false
|
|
239
|
+
autoTask: {
|
|
240
|
+
type: Boolean
|
|
200
241
|
},
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
events:{
|
|
206
|
-
type:Array
|
|
207
|
-
},
|
|
208
|
-
alerts: {
|
|
209
|
-
users:{
|
|
210
|
-
type:Array
|
|
242
|
+
backroomMonitoring: {
|
|
243
|
+
countAlert: {
|
|
244
|
+
status: {
|
|
245
|
+
type: Boolean
|
|
211
246
|
},
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
mobile: {
|
|
215
|
-
type:Array
|
|
247
|
+
condition: {
|
|
248
|
+
type: String
|
|
216
249
|
},
|
|
217
|
-
|
|
218
|
-
type:
|
|
219
|
-
}
|
|
220
|
-
},
|
|
221
|
-
storeOpenClose:{
|
|
222
|
-
buffer: {
|
|
223
|
-
openTime:{
|
|
224
|
-
type:Number
|
|
225
|
-
},
|
|
226
|
-
closeTime:{
|
|
227
|
-
type:Number
|
|
228
|
-
}
|
|
250
|
+
value: {
|
|
251
|
+
type: String
|
|
229
252
|
},
|
|
230
253
|
},
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
type:
|
|
254
|
+
timeSpendAlert: {
|
|
255
|
+
status: {
|
|
256
|
+
type: Boolean
|
|
257
|
+
},
|
|
258
|
+
condition: {
|
|
259
|
+
type: String
|
|
260
|
+
},
|
|
261
|
+
value: {
|
|
262
|
+
type: String
|
|
234
263
|
},
|
|
235
|
-
detectionArea: {
|
|
236
|
-
type:Array
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
autoTask:{
|
|
240
|
-
type:Boolean
|
|
241
264
|
},
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
type:Boolean
|
|
246
|
-
},
|
|
247
|
-
condition: {
|
|
248
|
-
type:String
|
|
249
|
-
},
|
|
250
|
-
value: {
|
|
251
|
-
type:String
|
|
252
|
-
},
|
|
265
|
+
hibernation: {
|
|
266
|
+
status: {
|
|
267
|
+
type: Boolean
|
|
253
268
|
},
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
type:Boolean
|
|
257
|
-
},
|
|
258
|
-
condition: {
|
|
259
|
-
type:String
|
|
260
|
-
},
|
|
261
|
-
value: {
|
|
262
|
-
type:String
|
|
263
|
-
},
|
|
269
|
+
start: {
|
|
270
|
+
type: String
|
|
264
271
|
},
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
type:Boolean
|
|
268
|
-
},
|
|
269
|
-
start: {
|
|
270
|
-
type:String
|
|
271
|
-
},
|
|
272
|
-
end: {
|
|
273
|
-
type:String
|
|
274
|
-
},
|
|
272
|
+
end: {
|
|
273
|
+
type: String
|
|
275
274
|
},
|
|
276
275
|
},
|
|
277
|
-
|
|
278
|
-
|
|
276
|
+
},
|
|
277
|
+
detectionArea: {
|
|
278
|
+
type: Array
|
|
279
|
+
},
|
|
280
|
+
outsidebusinesshoursqueuetracking: {
|
|
281
|
+
preopentimeconfig: {
|
|
282
|
+
type: String
|
|
279
283
|
},
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
284
|
+
preclosetimeconfig: {
|
|
285
|
+
type: String
|
|
286
|
+
},
|
|
287
|
+
persondetectiontimethreshold: {
|
|
288
|
+
type: String
|
|
289
|
+
},
|
|
290
|
+
},
|
|
291
|
+
halfshutter: {
|
|
292
|
+
schedule: {
|
|
293
|
+
afterOpenTime: {
|
|
294
|
+
type: Number
|
|
286
295
|
},
|
|
287
|
-
|
|
288
|
-
type:
|
|
296
|
+
beforeCloseTime: {
|
|
297
|
+
type: Number
|
|
289
298
|
},
|
|
290
299
|
},
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
beforeCloseTime:{
|
|
297
|
-
type:Number
|
|
298
|
-
},
|
|
299
|
-
},
|
|
300
|
-
},
|
|
301
|
-
alertConfig: {
|
|
302
|
-
allowBuffer:{
|
|
303
|
-
enabled:{
|
|
304
|
-
type:Boolean,
|
|
305
|
-
default:false
|
|
306
|
-
},
|
|
307
|
-
afterOpenTime:{
|
|
308
|
-
type:Number
|
|
309
|
-
},
|
|
310
|
-
beforeCloseTime:{
|
|
311
|
-
type:Number
|
|
312
|
-
},
|
|
300
|
+
},
|
|
301
|
+
tvcompliance: {
|
|
302
|
+
schedule: {
|
|
303
|
+
scheduletype: {
|
|
304
|
+
type: String
|
|
313
305
|
},
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
type:Boolean,
|
|
317
|
-
default:false
|
|
318
|
-
},
|
|
319
|
-
syncMobileWeb:{
|
|
320
|
-
type:Boolean,
|
|
321
|
-
default:false
|
|
322
|
-
},
|
|
323
|
-
mobile:{
|
|
324
|
-
type:Array
|
|
325
|
-
},
|
|
326
|
-
web:{
|
|
327
|
-
type:Array
|
|
328
|
-
},
|
|
306
|
+
openTime: {
|
|
307
|
+
type: String
|
|
329
308
|
},
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
enabled:{
|
|
333
|
-
type:Boolean,
|
|
334
|
-
default:false
|
|
309
|
+
closeTime: {
|
|
310
|
+
type: String
|
|
335
311
|
},
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
312
|
+
},
|
|
313
|
+
recurrence: {
|
|
314
|
+
status: {
|
|
315
|
+
type: Boolean,
|
|
316
|
+
default: false
|
|
339
317
|
},
|
|
318
|
+
time: {
|
|
319
|
+
type: Number
|
|
320
|
+
}
|
|
340
321
|
},
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
322
|
+
detectedStatus: {
|
|
323
|
+
status: {
|
|
324
|
+
type: Boolean,
|
|
325
|
+
default: false
|
|
326
|
+
},
|
|
327
|
+
detections: {
|
|
328
|
+
type: Number
|
|
329
|
+
},
|
|
330
|
+
},
|
|
331
|
+
},
|
|
332
|
+
alertConfig: {
|
|
333
|
+
allowBuffer: {
|
|
334
|
+
enabled: {
|
|
335
|
+
type: Boolean,
|
|
336
|
+
default: false
|
|
345
337
|
},
|
|
346
|
-
|
|
347
|
-
type:
|
|
348
|
-
|
|
338
|
+
afterOpenTime: {
|
|
339
|
+
type: Number
|
|
340
|
+
},
|
|
341
|
+
beforeCloseTime: {
|
|
342
|
+
type: Number
|
|
349
343
|
},
|
|
350
344
|
},
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
type:
|
|
345
|
+
alertSendTo: {
|
|
346
|
+
enabled: {
|
|
347
|
+
type: Boolean,
|
|
348
|
+
default: false
|
|
354
349
|
},
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
default:false
|
|
359
|
-
},
|
|
360
|
-
detections:{
|
|
361
|
-
type:Array,
|
|
362
|
-
default:[]
|
|
363
|
-
},
|
|
350
|
+
syncMobileWeb: {
|
|
351
|
+
type: Boolean,
|
|
352
|
+
default: false
|
|
364
353
|
},
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
inputSourceFile:{
|
|
371
|
-
type:String
|
|
372
|
-
},
|
|
354
|
+
mobile: {
|
|
355
|
+
type: Array
|
|
356
|
+
},
|
|
357
|
+
web: {
|
|
358
|
+
type: Array
|
|
373
359
|
},
|
|
374
360
|
},
|
|
375
361
|
},
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
362
|
+
autoTaskConfig: {
|
|
363
|
+
enabled: {
|
|
364
|
+
type: Boolean,
|
|
365
|
+
default: false
|
|
366
|
+
},
|
|
367
|
+
approver: {
|
|
368
|
+
type: Array,
|
|
369
|
+
default: []
|
|
370
|
+
},
|
|
379
371
|
},
|
|
380
|
-
|
|
381
|
-
|
|
372
|
+
exportConfig: {
|
|
373
|
+
enabled: {
|
|
374
|
+
type: Boolean,
|
|
375
|
+
default: false
|
|
376
|
+
},
|
|
377
|
+
format: {
|
|
378
|
+
type: Array,
|
|
379
|
+
default: []
|
|
380
|
+
},
|
|
382
381
|
},
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
382
|
+
advancedConfig: {
|
|
383
|
+
dataProcessing: {
|
|
384
|
+
type: String,
|
|
385
|
+
},
|
|
386
|
+
detectedStatus: {
|
|
387
|
+
enabled: {
|
|
388
|
+
type: Boolean,
|
|
389
|
+
default: false
|
|
390
|
+
},
|
|
391
|
+
detections: {
|
|
392
|
+
type: Array,
|
|
393
|
+
default: []
|
|
394
|
+
},
|
|
395
|
+
},
|
|
396
|
+
auditConfig: {
|
|
397
|
+
enabled: {
|
|
398
|
+
type: Boolean,
|
|
399
|
+
default: false
|
|
400
|
+
},
|
|
401
|
+
inputSourceFile: {
|
|
402
|
+
type: String
|
|
403
|
+
},
|
|
404
|
+
},
|
|
386
405
|
},
|
|
387
406
|
},
|
|
407
|
+
rawVideoUpload: {
|
|
408
|
+
type: Boolean,
|
|
409
|
+
default: false
|
|
410
|
+
},
|
|
411
|
+
runAIQuestionCount: {
|
|
412
|
+
type: Number
|
|
413
|
+
},
|
|
414
|
+
videoUploadTimeLimit: {
|
|
415
|
+
type: Number,
|
|
416
|
+
default: 0
|
|
417
|
+
},
|
|
418
|
+
},
|
|
388
419
|
{
|
|
389
420
|
strict: true,
|
|
390
421
|
versionKey: false,
|
|
391
422
|
timestamps: true,
|
|
392
423
|
},
|
|
393
424
|
);
|
|
394
|
-
|
|
395
|
-
export default mongoose.model(
|
|
425
|
+
|
|
426
|
+
export default mongoose.model('checklistconfig', checklistconfigSchema);
|