tango-api-schema 3.0.2 → 3.0.3
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/index.js +197 -197
- package/package.json +25 -26
- package/schema/aiTicketConfig.js +42 -42
- package/schema/appVersion.js +39 -39
- package/schema/applicationDefault.model.js +24 -24
- package/schema/assignAudit.model.js +55 -55
- package/schema/auditConfig.model.js +41 -41
- package/schema/auditLogs.model.js +77 -77
- package/schema/auditStoreData.model.js +56 -56
- package/schema/auditUserWallet.model.js +98 -98
- package/schema/auditUsers.model.js +53 -53
- package/schema/authentication.model.js +27 -27
- package/schema/basePricing.model.js +28 -28
- package/schema/billing.model.js +99 -99
- package/schema/binaryAudit.model.js +84 -84
- package/schema/camera.model.js +211 -211
- package/schema/checklistassignconfig.js +90 -90
- package/schema/checklistconfig.js +256 -256
- package/schema/checklistlog.js +113 -113
- package/schema/checklistquestionconfig.js +153 -153
- package/schema/client.model.js +675 -675
- package/schema/clientRequest.model.js +38 -38
- package/schema/cluster.model.js +70 -70
- package/schema/controlCenterTemplateList.model.js +39 -39
- package/schema/countryCodes.model.js +26 -26
- package/schema/countryCurrency.model.js +17 -17
- package/schema/dailyPricing.model.js +86 -86
- package/schema/dataMismatchDraft.model.js +22 -22
- package/schema/domain.js +18 -18
- package/schema/download.js +124 -124
- package/schema/edgeAppVersion.model.js +33 -33
- package/schema/edgeappAuth.model.js +30 -30
- package/schema/emailers.model.js +45 -45
- package/schema/empDetectionOutput.model.js +67 -67
- package/schema/externalParameter.model.js +241 -241
- package/schema/eyetest.model.js +18 -18
- package/schema/fitting.model.js +52 -52
- package/schema/fixtureConfig.model.js +202 -206
- package/schema/fixtureLibrary.model.js +164 -164
- package/schema/fixtureShelf.model.js +72 -72
- package/schema/group.model.js +34 -34
- package/schema/hotjar.model.js +11 -11
- package/schema/infraReason.model.js +44 -44
- package/schema/internalAuth.model.js +35 -35
- package/schema/invoice.model.js +104 -104
- package/schema/ipLogs.model.js +37 -37
- package/schema/lead.model.js +76 -76
- package/schema/lenskartEmployeeMapping.model.js +63 -63
- package/schema/liveConnection.model.js +54 -54
- package/schema/locusOrder.model.js +154 -154
- package/schema/locusOrderUser.model.js +14 -14
- package/schema/loginAttempt.model.js +26 -26
- package/schema/lowcountReason.model.js +44 -44
- package/schema/mailOnlyuser.model.js +42 -42
- package/schema/matLog.model.js +26 -26
- package/schema/nobBilling.model.js +41 -41
- package/schema/notification.model.js +33 -33
- package/schema/otp.model.js +25 -25
- package/schema/paymentAccount.model.js +60 -60
- package/schema/planoCompliance.model.js +62 -62
- package/schema/planoCrestLog.model.js +17 -17
- package/schema/planoMapping.model.js +56 -56
- package/schema/planoProductCategoryDetails.model.js +33 -33
- package/schema/planoProductDetail.model.js +63 -63
- package/schema/planoQrConversionRequest.model.js +61 -61
- package/schema/planoStaticData.model.js +17 -17
- package/schema/planoTaskCompliance.model.js +244 -244
- package/schema/planoVmDetail.model.js +63 -63
- package/schema/planogram.model.js +66 -66
- package/schema/processedchecklist.js +249 -249
- package/schema/processedchecklistconfig.js +187 -187
- package/schema/processeddetection.js +85 -85
- package/schema/quality.model.js +57 -57
- package/schema/report.model.js +30 -30
- package/schema/revopConfig.model.js +19 -19
- package/schema/standaredRole.model.js +76 -76
- package/schema/store.model.js +381 -381
- package/schema/storeAudit.model.js +62 -62
- package/schema/storeEmpDetection.model.js +62 -62
- package/schema/storeFixture.model.js +206 -206
- package/schema/storeLayout.model.js +66 -66
- package/schema/streaming.model.js +29 -29
- package/schema/suspiciousActivity.model.js +54 -54
- package/schema/tagging.model.js +42 -42
- package/schema/tangoTicket.model.js +210 -210
- package/schema/taskAssign.model.js +87 -87
- package/schema/taskConfig.model.js +118 -118
- package/schema/taskProcessed.model.js +248 -248
- package/schema/taskProcessedConfig.model.js +131 -131
- package/schema/taskQuestion.model.js +46 -46
- package/schema/teams.model.js +46 -46
- package/schema/transaction.model.js +54 -54
- package/schema/traxApprover.model.js +35 -35
- package/schema/traxAuditData.model.js +64 -64
- package/schema/user.model.js +139 -139
- package/schema/userAssignedStore.model.js +41 -41
- package/schema/userAudit.model.js +77 -77
- package/schema/userEmpDetection.model.js +83 -83
- package/schema/vmType.model.js +23 -23
- package/schema/workstation.model.js +75 -75
package/schema/store.model.js
CHANGED
|
@@ -1,381 +1,381 @@
|
|
|
1
|
-
import mongoose from "mongoose";
|
|
2
|
-
|
|
3
|
-
const store = new mongoose.Schema(
|
|
4
|
-
{
|
|
5
|
-
storeId: {
|
|
6
|
-
type: String,
|
|
7
|
-
trim: true,
|
|
8
|
-
required: true,
|
|
9
|
-
unique: true,
|
|
10
|
-
},
|
|
11
|
-
storeName: {
|
|
12
|
-
type: String,
|
|
13
|
-
require: true,
|
|
14
|
-
},
|
|
15
|
-
appId: {
|
|
16
|
-
type: String,
|
|
17
|
-
trim: true,
|
|
18
|
-
required: true,
|
|
19
|
-
unique: true,
|
|
20
|
-
},
|
|
21
|
-
clientId: {
|
|
22
|
-
type: String,
|
|
23
|
-
trim: true,
|
|
24
|
-
required: true,
|
|
25
|
-
},
|
|
26
|
-
businessType: {
|
|
27
|
-
type: String,
|
|
28
|
-
},
|
|
29
|
-
storeType: {
|
|
30
|
-
type: {
|
|
31
|
-
type: String,
|
|
32
|
-
},
|
|
33
|
-
name: {
|
|
34
|
-
type: String,
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
progress: {
|
|
38
|
-
type: Number,
|
|
39
|
-
default: 20
|
|
40
|
-
},
|
|
41
|
-
storeProfile: {
|
|
42
|
-
storeCode: {
|
|
43
|
-
type: String,
|
|
44
|
-
},
|
|
45
|
-
address: {
|
|
46
|
-
type: String,
|
|
47
|
-
},
|
|
48
|
-
country: {
|
|
49
|
-
type: String,
|
|
50
|
-
},
|
|
51
|
-
state: {
|
|
52
|
-
type: String,
|
|
53
|
-
},
|
|
54
|
-
city: {
|
|
55
|
-
type: String,
|
|
56
|
-
},
|
|
57
|
-
pincode: {
|
|
58
|
-
type: String,
|
|
59
|
-
},
|
|
60
|
-
timeZone: {
|
|
61
|
-
type: String,
|
|
62
|
-
},
|
|
63
|
-
open: {
|
|
64
|
-
type: String,
|
|
65
|
-
},
|
|
66
|
-
close: {
|
|
67
|
-
type: String,
|
|
68
|
-
},
|
|
69
|
-
latitude: {
|
|
70
|
-
type: Number,
|
|
71
|
-
trim: true,
|
|
72
|
-
default: 0.0,
|
|
73
|
-
},
|
|
74
|
-
longitude: {
|
|
75
|
-
type: Number,
|
|
76
|
-
trim: true,
|
|
77
|
-
default: 0.0,
|
|
78
|
-
},
|
|
79
|
-
processingOpen: {
|
|
80
|
-
type: String,
|
|
81
|
-
},
|
|
82
|
-
processingClose: {
|
|
83
|
-
type: String,
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
status: {
|
|
87
|
-
type: String,
|
|
88
|
-
enum: ["active", "deactive"],
|
|
89
|
-
default: "active"
|
|
90
|
-
},
|
|
91
|
-
edge: {
|
|
92
|
-
isencryption:{
|
|
93
|
-
type: Boolean,
|
|
94
|
-
default:false
|
|
95
|
-
},
|
|
96
|
-
isAudioEnable: {
|
|
97
|
-
type: Boolean,
|
|
98
|
-
default:false
|
|
99
|
-
},
|
|
100
|
-
apiVersion:{
|
|
101
|
-
type: String,
|
|
102
|
-
trim: true,
|
|
103
|
-
},
|
|
104
|
-
timeZone: {
|
|
105
|
-
type: String,
|
|
106
|
-
required: false,
|
|
107
|
-
},
|
|
108
|
-
firstFileDate: {
|
|
109
|
-
type: Date,
|
|
110
|
-
},
|
|
111
|
-
firstFile: {
|
|
112
|
-
type: Boolean,
|
|
113
|
-
default:false
|
|
114
|
-
},
|
|
115
|
-
status: {
|
|
116
|
-
type: Boolean,
|
|
117
|
-
},
|
|
118
|
-
timeDownload: {
|
|
119
|
-
type: Date,
|
|
120
|
-
},
|
|
121
|
-
hibernet: {
|
|
122
|
-
type: Object,
|
|
123
|
-
},
|
|
124
|
-
appVersion: {
|
|
125
|
-
type: String,
|
|
126
|
-
trim: true,
|
|
127
|
-
},
|
|
128
|
-
architecture: {
|
|
129
|
-
type: String,
|
|
130
|
-
trim: true,
|
|
131
|
-
enum: ["x32", "x64"],
|
|
132
|
-
},
|
|
133
|
-
updateAppVersion: {
|
|
134
|
-
type: String,
|
|
135
|
-
trim: true,
|
|
136
|
-
},
|
|
137
|
-
triggerProcessId: {
|
|
138
|
-
type: String,
|
|
139
|
-
},
|
|
140
|
-
isRestartRequired: {
|
|
141
|
-
type: Boolean,
|
|
142
|
-
},
|
|
143
|
-
serverType: {
|
|
144
|
-
type: Boolean,
|
|
145
|
-
},
|
|
146
|
-
deleteInterval: {
|
|
147
|
-
type: Number,
|
|
148
|
-
},
|
|
149
|
-
timeElapsed: {
|
|
150
|
-
type: Number,
|
|
151
|
-
trim: true,
|
|
152
|
-
},
|
|
153
|
-
lastLoginAt: {
|
|
154
|
-
type: Date,
|
|
155
|
-
},
|
|
156
|
-
macId: {
|
|
157
|
-
type: String,
|
|
158
|
-
trim: true,
|
|
159
|
-
},
|
|
160
|
-
handShake: {
|
|
161
|
-
type: Boolean,
|
|
162
|
-
},
|
|
163
|
-
speedTest: {
|
|
164
|
-
type: Object,
|
|
165
|
-
},
|
|
166
|
-
dataUpload: {
|
|
167
|
-
type: Object,
|
|
168
|
-
},
|
|
169
|
-
preRequisiteStartedAt: {
|
|
170
|
-
type: Date,
|
|
171
|
-
},
|
|
172
|
-
preRequisite: {
|
|
173
|
-
type: Boolean,
|
|
174
|
-
},
|
|
175
|
-
deviceSpec: {
|
|
176
|
-
type: Object,
|
|
177
|
-
},
|
|
178
|
-
systemUtil: {
|
|
179
|
-
type: Object,
|
|
180
|
-
},
|
|
181
|
-
deleteExe: {
|
|
182
|
-
type: Boolean,
|
|
183
|
-
},
|
|
184
|
-
camDetails: {
|
|
185
|
-
type: Array,
|
|
186
|
-
},
|
|
187
|
-
secertKey: {
|
|
188
|
-
type: String,
|
|
189
|
-
trim: true,
|
|
190
|
-
},
|
|
191
|
-
ipListStatus: {
|
|
192
|
-
type: Boolean,
|
|
193
|
-
},
|
|
194
|
-
ipManufacturerStatus: {
|
|
195
|
-
type: Boolean,
|
|
196
|
-
},
|
|
197
|
-
frameRTSPURL: {
|
|
198
|
-
type: Boolean,
|
|
199
|
-
},
|
|
200
|
-
installEdge: {
|
|
201
|
-
type: Boolean,
|
|
202
|
-
},
|
|
203
|
-
systemTimeZone: {
|
|
204
|
-
type: String,
|
|
205
|
-
},
|
|
206
|
-
configurationStage: {
|
|
207
|
-
type: String,
|
|
208
|
-
},
|
|
209
|
-
isSocketEnable: {
|
|
210
|
-
type: Boolean,
|
|
211
|
-
},
|
|
212
|
-
isRemoteEyeTest:{
|
|
213
|
-
type: Boolean,
|
|
214
|
-
},
|
|
215
|
-
storeCameraManufacturer: [
|
|
216
|
-
{
|
|
217
|
-
ip: { type: String },
|
|
218
|
-
manufacturer: { type: String },
|
|
219
|
-
macId: { type: String },
|
|
220
|
-
},
|
|
221
|
-
],
|
|
222
|
-
lastUpdatedAt: {
|
|
223
|
-
type: Date,
|
|
224
|
-
},
|
|
225
|
-
serialNumber: {
|
|
226
|
-
type: String,
|
|
227
|
-
},
|
|
228
|
-
reScanIp: {
|
|
229
|
-
type: Boolean,
|
|
230
|
-
default: false
|
|
231
|
-
},
|
|
232
|
-
privacyEnabled:{
|
|
233
|
-
type: Boolean,
|
|
234
|
-
default: false
|
|
235
|
-
},
|
|
236
|
-
eyeTestTime:{
|
|
237
|
-
type: Number,
|
|
238
|
-
trim: true,
|
|
239
|
-
},
|
|
240
|
-
dataProcess:[
|
|
241
|
-
{
|
|
242
|
-
product:{
|
|
243
|
-
type:String,
|
|
244
|
-
default:'tangotracker'
|
|
245
|
-
}
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
processType:{
|
|
249
|
-
type:String,
|
|
250
|
-
enum:['eod','live'],
|
|
251
|
-
default:'eod'
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
],
|
|
255
|
-
footfallDirectory:{
|
|
256
|
-
isEnable:{
|
|
257
|
-
type:Boolean,
|
|
258
|
-
default:true
|
|
259
|
-
},
|
|
260
|
-
showFew:{
|
|
261
|
-
type:Boolean,
|
|
262
|
-
default:false
|
|
263
|
-
},
|
|
264
|
-
onlyAudit:{
|
|
265
|
-
type:Boolean,
|
|
266
|
-
default:false
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
},
|
|
270
|
-
spocDetails: [
|
|
271
|
-
{
|
|
272
|
-
name: {
|
|
273
|
-
type: String,
|
|
274
|
-
required: true,
|
|
275
|
-
},
|
|
276
|
-
email: {
|
|
277
|
-
type: String,
|
|
278
|
-
required: true,
|
|
279
|
-
},
|
|
280
|
-
contact: {
|
|
281
|
-
type: String,
|
|
282
|
-
required: true,
|
|
283
|
-
},
|
|
284
|
-
designation: {
|
|
285
|
-
type: String,
|
|
286
|
-
},
|
|
287
|
-
},
|
|
288
|
-
],
|
|
289
|
-
storeConnectionId: {
|
|
290
|
-
type: String,
|
|
291
|
-
},
|
|
292
|
-
auditConfigs: {
|
|
293
|
-
count: {
|
|
294
|
-
type: Number,
|
|
295
|
-
default: 200,
|
|
296
|
-
},
|
|
297
|
-
iteration: {
|
|
298
|
-
type: Number,
|
|
299
|
-
default: 1,
|
|
300
|
-
},
|
|
301
|
-
ratio: {
|
|
302
|
-
type: mongoose.Schema.Types.Number,
|
|
303
|
-
default: 0.75,
|
|
304
|
-
},
|
|
305
|
-
},
|
|
306
|
-
ticketConfigs: {
|
|
307
|
-
nextTicektGenerationTime: {
|
|
308
|
-
type: Date,
|
|
309
|
-
},
|
|
310
|
-
hibernation: {
|
|
311
|
-
type: Date,
|
|
312
|
-
default: new Date()
|
|
313
|
-
},
|
|
314
|
-
},
|
|
315
|
-
pipelineTrigger: {
|
|
316
|
-
version: {
|
|
317
|
-
type: String,
|
|
318
|
-
default: 'v3',
|
|
319
|
-
},
|
|
320
|
-
filterType: {
|
|
321
|
-
type: String,
|
|
322
|
-
default: 'dynamic',
|
|
323
|
-
},
|
|
324
|
-
queueList: {
|
|
325
|
-
type: Array,
|
|
326
|
-
default: ['YOLO-V3'],
|
|
327
|
-
},
|
|
328
|
-
videoQueueList: {
|
|
329
|
-
type: Array,
|
|
330
|
-
default: ["YOLO-VIDEO"],
|
|
331
|
-
},
|
|
332
|
-
tagQueueList:{
|
|
333
|
-
type: Array,
|
|
334
|
-
default: ["YOLO-V3-TRACKER"],
|
|
335
|
-
},
|
|
336
|
-
processType: {
|
|
337
|
-
type: String,
|
|
338
|
-
default: "eod"
|
|
339
|
-
},
|
|
340
|
-
productFilter: [
|
|
341
|
-
{
|
|
342
|
-
productName: {
|
|
343
|
-
type: String
|
|
344
|
-
},
|
|
345
|
-
isEnabled: {
|
|
346
|
-
type: Boolean,
|
|
347
|
-
default: true,
|
|
348
|
-
},
|
|
349
|
-
processType: {
|
|
350
|
-
type: String,
|
|
351
|
-
default: "eod"
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
]
|
|
355
|
-
},
|
|
356
|
-
product: {
|
|
357
|
-
type: Array,
|
|
358
|
-
},
|
|
359
|
-
matConfigs: {
|
|
360
|
-
status: {
|
|
361
|
-
type: String
|
|
362
|
-
},
|
|
363
|
-
fileCount: {
|
|
364
|
-
type: Number
|
|
365
|
-
},
|
|
366
|
-
configureDays: {
|
|
367
|
-
type: Number,
|
|
368
|
-
default: 3
|
|
369
|
-
},
|
|
370
|
-
},
|
|
371
|
-
},
|
|
372
|
-
{
|
|
373
|
-
strict: true,
|
|
374
|
-
versionKey: false,
|
|
375
|
-
timestamps: true,
|
|
376
|
-
}
|
|
377
|
-
);
|
|
378
|
-
|
|
379
|
-
store.index({ storeId: 1, clientId: 1, appId: 1 });
|
|
380
|
-
|
|
381
|
-
export default mongoose.model("store", store);
|
|
1
|
+
import mongoose from "mongoose";
|
|
2
|
+
|
|
3
|
+
const store = new mongoose.Schema(
|
|
4
|
+
{
|
|
5
|
+
storeId: {
|
|
6
|
+
type: String,
|
|
7
|
+
trim: true,
|
|
8
|
+
required: true,
|
|
9
|
+
unique: true,
|
|
10
|
+
},
|
|
11
|
+
storeName: {
|
|
12
|
+
type: String,
|
|
13
|
+
require: true,
|
|
14
|
+
},
|
|
15
|
+
appId: {
|
|
16
|
+
type: String,
|
|
17
|
+
trim: true,
|
|
18
|
+
required: true,
|
|
19
|
+
unique: true,
|
|
20
|
+
},
|
|
21
|
+
clientId: {
|
|
22
|
+
type: String,
|
|
23
|
+
trim: true,
|
|
24
|
+
required: true,
|
|
25
|
+
},
|
|
26
|
+
businessType: {
|
|
27
|
+
type: String,
|
|
28
|
+
},
|
|
29
|
+
storeType: {
|
|
30
|
+
type: {
|
|
31
|
+
type: String,
|
|
32
|
+
},
|
|
33
|
+
name: {
|
|
34
|
+
type: String,
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
progress: {
|
|
38
|
+
type: Number,
|
|
39
|
+
default: 20
|
|
40
|
+
},
|
|
41
|
+
storeProfile: {
|
|
42
|
+
storeCode: {
|
|
43
|
+
type: String,
|
|
44
|
+
},
|
|
45
|
+
address: {
|
|
46
|
+
type: String,
|
|
47
|
+
},
|
|
48
|
+
country: {
|
|
49
|
+
type: String,
|
|
50
|
+
},
|
|
51
|
+
state: {
|
|
52
|
+
type: String,
|
|
53
|
+
},
|
|
54
|
+
city: {
|
|
55
|
+
type: String,
|
|
56
|
+
},
|
|
57
|
+
pincode: {
|
|
58
|
+
type: String,
|
|
59
|
+
},
|
|
60
|
+
timeZone: {
|
|
61
|
+
type: String,
|
|
62
|
+
},
|
|
63
|
+
open: {
|
|
64
|
+
type: String,
|
|
65
|
+
},
|
|
66
|
+
close: {
|
|
67
|
+
type: String,
|
|
68
|
+
},
|
|
69
|
+
latitude: {
|
|
70
|
+
type: Number,
|
|
71
|
+
trim: true,
|
|
72
|
+
default: 0.0,
|
|
73
|
+
},
|
|
74
|
+
longitude: {
|
|
75
|
+
type: Number,
|
|
76
|
+
trim: true,
|
|
77
|
+
default: 0.0,
|
|
78
|
+
},
|
|
79
|
+
processingOpen: {
|
|
80
|
+
type: String,
|
|
81
|
+
},
|
|
82
|
+
processingClose: {
|
|
83
|
+
type: String,
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
status: {
|
|
87
|
+
type: String,
|
|
88
|
+
enum: ["active", "deactive"],
|
|
89
|
+
default: "active"
|
|
90
|
+
},
|
|
91
|
+
edge: {
|
|
92
|
+
isencryption:{
|
|
93
|
+
type: Boolean,
|
|
94
|
+
default:false
|
|
95
|
+
},
|
|
96
|
+
isAudioEnable: {
|
|
97
|
+
type: Boolean,
|
|
98
|
+
default:false
|
|
99
|
+
},
|
|
100
|
+
apiVersion:{
|
|
101
|
+
type: String,
|
|
102
|
+
trim: true,
|
|
103
|
+
},
|
|
104
|
+
timeZone: {
|
|
105
|
+
type: String,
|
|
106
|
+
required: false,
|
|
107
|
+
},
|
|
108
|
+
firstFileDate: {
|
|
109
|
+
type: Date,
|
|
110
|
+
},
|
|
111
|
+
firstFile: {
|
|
112
|
+
type: Boolean,
|
|
113
|
+
default:false
|
|
114
|
+
},
|
|
115
|
+
status: {
|
|
116
|
+
type: Boolean,
|
|
117
|
+
},
|
|
118
|
+
timeDownload: {
|
|
119
|
+
type: Date,
|
|
120
|
+
},
|
|
121
|
+
hibernet: {
|
|
122
|
+
type: Object,
|
|
123
|
+
},
|
|
124
|
+
appVersion: {
|
|
125
|
+
type: String,
|
|
126
|
+
trim: true,
|
|
127
|
+
},
|
|
128
|
+
architecture: {
|
|
129
|
+
type: String,
|
|
130
|
+
trim: true,
|
|
131
|
+
enum: ["x32", "x64"],
|
|
132
|
+
},
|
|
133
|
+
updateAppVersion: {
|
|
134
|
+
type: String,
|
|
135
|
+
trim: true,
|
|
136
|
+
},
|
|
137
|
+
triggerProcessId: {
|
|
138
|
+
type: String,
|
|
139
|
+
},
|
|
140
|
+
isRestartRequired: {
|
|
141
|
+
type: Boolean,
|
|
142
|
+
},
|
|
143
|
+
serverType: {
|
|
144
|
+
type: Boolean,
|
|
145
|
+
},
|
|
146
|
+
deleteInterval: {
|
|
147
|
+
type: Number,
|
|
148
|
+
},
|
|
149
|
+
timeElapsed: {
|
|
150
|
+
type: Number,
|
|
151
|
+
trim: true,
|
|
152
|
+
},
|
|
153
|
+
lastLoginAt: {
|
|
154
|
+
type: Date,
|
|
155
|
+
},
|
|
156
|
+
macId: {
|
|
157
|
+
type: String,
|
|
158
|
+
trim: true,
|
|
159
|
+
},
|
|
160
|
+
handShake: {
|
|
161
|
+
type: Boolean,
|
|
162
|
+
},
|
|
163
|
+
speedTest: {
|
|
164
|
+
type: Object,
|
|
165
|
+
},
|
|
166
|
+
dataUpload: {
|
|
167
|
+
type: Object,
|
|
168
|
+
},
|
|
169
|
+
preRequisiteStartedAt: {
|
|
170
|
+
type: Date,
|
|
171
|
+
},
|
|
172
|
+
preRequisite: {
|
|
173
|
+
type: Boolean,
|
|
174
|
+
},
|
|
175
|
+
deviceSpec: {
|
|
176
|
+
type: Object,
|
|
177
|
+
},
|
|
178
|
+
systemUtil: {
|
|
179
|
+
type: Object,
|
|
180
|
+
},
|
|
181
|
+
deleteExe: {
|
|
182
|
+
type: Boolean,
|
|
183
|
+
},
|
|
184
|
+
camDetails: {
|
|
185
|
+
type: Array,
|
|
186
|
+
},
|
|
187
|
+
secertKey: {
|
|
188
|
+
type: String,
|
|
189
|
+
trim: true,
|
|
190
|
+
},
|
|
191
|
+
ipListStatus: {
|
|
192
|
+
type: Boolean,
|
|
193
|
+
},
|
|
194
|
+
ipManufacturerStatus: {
|
|
195
|
+
type: Boolean,
|
|
196
|
+
},
|
|
197
|
+
frameRTSPURL: {
|
|
198
|
+
type: Boolean,
|
|
199
|
+
},
|
|
200
|
+
installEdge: {
|
|
201
|
+
type: Boolean,
|
|
202
|
+
},
|
|
203
|
+
systemTimeZone: {
|
|
204
|
+
type: String,
|
|
205
|
+
},
|
|
206
|
+
configurationStage: {
|
|
207
|
+
type: String,
|
|
208
|
+
},
|
|
209
|
+
isSocketEnable: {
|
|
210
|
+
type: Boolean,
|
|
211
|
+
},
|
|
212
|
+
isRemoteEyeTest:{
|
|
213
|
+
type: Boolean,
|
|
214
|
+
},
|
|
215
|
+
storeCameraManufacturer: [
|
|
216
|
+
{
|
|
217
|
+
ip: { type: String },
|
|
218
|
+
manufacturer: { type: String },
|
|
219
|
+
macId: { type: String },
|
|
220
|
+
},
|
|
221
|
+
],
|
|
222
|
+
lastUpdatedAt: {
|
|
223
|
+
type: Date,
|
|
224
|
+
},
|
|
225
|
+
serialNumber: {
|
|
226
|
+
type: String,
|
|
227
|
+
},
|
|
228
|
+
reScanIp: {
|
|
229
|
+
type: Boolean,
|
|
230
|
+
default: false
|
|
231
|
+
},
|
|
232
|
+
privacyEnabled:{
|
|
233
|
+
type: Boolean,
|
|
234
|
+
default: false
|
|
235
|
+
},
|
|
236
|
+
eyeTestTime:{
|
|
237
|
+
type: Number,
|
|
238
|
+
trim: true,
|
|
239
|
+
},
|
|
240
|
+
dataProcess:[
|
|
241
|
+
{
|
|
242
|
+
product:{
|
|
243
|
+
type:String,
|
|
244
|
+
default:'tangotracker'
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
processType:{
|
|
249
|
+
type:String,
|
|
250
|
+
enum:['eod','live'],
|
|
251
|
+
default:'eod'
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
],
|
|
255
|
+
footfallDirectory:{
|
|
256
|
+
isEnable:{
|
|
257
|
+
type:Boolean,
|
|
258
|
+
default:true
|
|
259
|
+
},
|
|
260
|
+
showFew:{
|
|
261
|
+
type:Boolean,
|
|
262
|
+
default:false
|
|
263
|
+
},
|
|
264
|
+
onlyAudit:{
|
|
265
|
+
type:Boolean,
|
|
266
|
+
default:false
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
spocDetails: [
|
|
271
|
+
{
|
|
272
|
+
name: {
|
|
273
|
+
type: String,
|
|
274
|
+
required: true,
|
|
275
|
+
},
|
|
276
|
+
email: {
|
|
277
|
+
type: String,
|
|
278
|
+
required: true,
|
|
279
|
+
},
|
|
280
|
+
contact: {
|
|
281
|
+
type: String,
|
|
282
|
+
required: true,
|
|
283
|
+
},
|
|
284
|
+
designation: {
|
|
285
|
+
type: String,
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
],
|
|
289
|
+
storeConnectionId: {
|
|
290
|
+
type: String,
|
|
291
|
+
},
|
|
292
|
+
auditConfigs: {
|
|
293
|
+
count: {
|
|
294
|
+
type: Number,
|
|
295
|
+
default: 200,
|
|
296
|
+
},
|
|
297
|
+
iteration: {
|
|
298
|
+
type: Number,
|
|
299
|
+
default: 1,
|
|
300
|
+
},
|
|
301
|
+
ratio: {
|
|
302
|
+
type: mongoose.Schema.Types.Number,
|
|
303
|
+
default: 0.75,
|
|
304
|
+
},
|
|
305
|
+
},
|
|
306
|
+
ticketConfigs: {
|
|
307
|
+
nextTicektGenerationTime: {
|
|
308
|
+
type: Date,
|
|
309
|
+
},
|
|
310
|
+
hibernation: {
|
|
311
|
+
type: Date,
|
|
312
|
+
default: new Date()
|
|
313
|
+
},
|
|
314
|
+
},
|
|
315
|
+
pipelineTrigger: {
|
|
316
|
+
version: {
|
|
317
|
+
type: String,
|
|
318
|
+
default: 'v3',
|
|
319
|
+
},
|
|
320
|
+
filterType: {
|
|
321
|
+
type: String,
|
|
322
|
+
default: 'dynamic',
|
|
323
|
+
},
|
|
324
|
+
queueList: {
|
|
325
|
+
type: Array,
|
|
326
|
+
default: ['YOLO-V3'],
|
|
327
|
+
},
|
|
328
|
+
videoQueueList: {
|
|
329
|
+
type: Array,
|
|
330
|
+
default: ["YOLO-VIDEO"],
|
|
331
|
+
},
|
|
332
|
+
tagQueueList:{
|
|
333
|
+
type: Array,
|
|
334
|
+
default: ["YOLO-V3-TRACKER"],
|
|
335
|
+
},
|
|
336
|
+
processType: {
|
|
337
|
+
type: String,
|
|
338
|
+
default: "eod"
|
|
339
|
+
},
|
|
340
|
+
productFilter: [
|
|
341
|
+
{
|
|
342
|
+
productName: {
|
|
343
|
+
type: String
|
|
344
|
+
},
|
|
345
|
+
isEnabled: {
|
|
346
|
+
type: Boolean,
|
|
347
|
+
default: true,
|
|
348
|
+
},
|
|
349
|
+
processType: {
|
|
350
|
+
type: String,
|
|
351
|
+
default: "eod"
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
]
|
|
355
|
+
},
|
|
356
|
+
product: {
|
|
357
|
+
type: Array,
|
|
358
|
+
},
|
|
359
|
+
matConfigs: {
|
|
360
|
+
status: {
|
|
361
|
+
type: String
|
|
362
|
+
},
|
|
363
|
+
fileCount: {
|
|
364
|
+
type: Number
|
|
365
|
+
},
|
|
366
|
+
configureDays: {
|
|
367
|
+
type: Number,
|
|
368
|
+
default: 3
|
|
369
|
+
},
|
|
370
|
+
},
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
strict: true,
|
|
374
|
+
versionKey: false,
|
|
375
|
+
timestamps: true,
|
|
376
|
+
}
|
|
377
|
+
);
|
|
378
|
+
|
|
379
|
+
store.index({ storeId: 1, clientId: 1, appId: 1 });
|
|
380
|
+
|
|
381
|
+
export default mongoose.model("store", store);
|