tango-api-schema 2.3.16 → 2.3.18

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 CHANGED
@@ -104,6 +104,7 @@ import revopDownloadModel from "./schema/revopDownload.model.js";
104
104
  import runAIFeaturesModel from "./schema/runAIFeatures.js";
105
105
  import runAIRequestModel from "./schema/runAIRequest.js";
106
106
  import templateLogSchema from "./schema/templateLog.model.js";
107
+ import eyeTestConfigurationModel from "./schema/eyeTestConfiguration.model.js";
107
108
 
108
109
 
109
110
  export default {
@@ -210,5 +211,6 @@ export default {
210
211
  revopDownloadModel,
211
212
  runAIRequestModel,
212
213
  runAIFeaturesModel,
213
- templateLogSchema
214
+ templateLogSchema,
215
+ eyeTestConfigurationModel
214
216
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-api-schema",
3
- "version": "2.3.16",
3
+ "version": "2.3.18",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -276,7 +276,18 @@ const checklistconfigSchema = new mongoose.Schema({
276
276
  },
277
277
  detectionArea: {
278
278
  type:Array
279
- }
279
+ },
280
+ outsidebusinesshoursqueuetracking:{
281
+ preopentimeconfig:{
282
+ type:Number
283
+ },
284
+ preclosetimeconfig:{
285
+ type:Number
286
+ },
287
+ persondetectiontimethreshold:{
288
+ type:Number
289
+ },
290
+ },
280
291
  },
281
292
  rawVideoUpload: {
282
293
  type: Boolean,
@@ -0,0 +1,39 @@
1
+ import mongoose from 'mongoose';
2
+
3
+ // schema
4
+ const collection = new mongoose.Schema({
5
+ clientId: {
6
+ type: String,
7
+ required: true
8
+ },
9
+ userList: {
10
+ _id: {
11
+ type: String
12
+ },
13
+ email: {
14
+ type: String
15
+ }
16
+ },
17
+ configureType: {
18
+ type: String,
19
+ enum: ['user', 'email'],
20
+ },
21
+ complianceThreshold: {
22
+ condition: {
23
+ type: String
24
+ },
25
+ value: {
26
+ type: String
27
+ }
28
+ }
29
+ },
30
+ {
31
+ timestamps: true,
32
+ strict: true,
33
+ versionKey: false,
34
+ });
35
+
36
+ collection.index({ clientId: 1 });
37
+ collection.index({ configureType: 1 });
38
+
39
+ export default mongoose.model('eyeTestConfiguration', collection, 'eyeTestConfiguration');
@@ -129,7 +129,7 @@ const processedchecklistconfigSchema = new mongoose.Schema({
129
129
  aiStoreList:{
130
130
  type:Array
131
131
  },
132
- aiConfig: {
132
+ aiConfig: {
133
133
  assignConfig: {
134
134
  type:String
135
135
  },
@@ -207,7 +207,18 @@ const processedchecklistconfigSchema = new mongoose.Schema({
207
207
  },
208
208
  detectionArea: {
209
209
  type:Array
210
- }
210
+ },
211
+ outsidebusinesshoursqueuetracking:{
212
+ preopentimeconfig:{
213
+ type:Number
214
+ },
215
+ preclosetimeconfig:{
216
+ type:Number
217
+ },
218
+ persondetectiontimethreshold:{
219
+ type:Number
220
+ },
221
+ },
211
222
  },
212
223
  rawVideoUpload: {
213
224
  type: Boolean,