tango-api-schema 2.1.61 → 2.1.62

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,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-api-schema",
3
- "version": "2.1.61",
3
+ "version": "2.1.62",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -131,7 +131,7 @@ const checklistconfigSchema = new mongoose.Schema({
131
131
  checkListType:{
132
132
  type:String,
133
133
  default:"custom",
134
- enum: ["storeopenandclose","mobileusagedetection","uniformdetection","custom"]
134
+ enum: ["storeopenandclose","mobileusagedetection","uniformdetection","custom","customerunattended","staffleftinthemiddle"]
135
135
  },
136
136
  createdAt: {
137
137
  type: Date,
@@ -160,7 +160,12 @@ const checklistconfigSchema = new mongoose.Schema({
160
160
  scheduleRepeatedMonthWeek:{
161
161
  type:String,
162
162
  default:''
163
- }
163
+ },
164
+ scheduleRepeatedType: {
165
+ type: String,
166
+ default: '',
167
+ enum: ["daily", "weekly", "monthly","range","onetime","weekday",""]
168
+ },
164
169
  },
165
170
  {
166
171
  strict: true,
@@ -81,7 +81,7 @@ const processedchecklistSchema = new mongoose.Schema({
81
81
  checkListType: {
82
82
  type: String,
83
83
  default: "custom",
84
- enum: ["storeopenandclose", "mobileusagedetection", "uniformdetection", "custom"]
84
+ enum: ["storeopenandclose","mobileusagedetection","uniformdetection","custom","customerunattended","staffleftinthemiddle"]
85
85
  },
86
86
  store_id: {
87
87
  type: String,
@@ -166,7 +166,7 @@ const processedchecklistSchema = new mongoose.Schema({
166
166
  scheduleRepeatedType: {
167
167
  type: String,
168
168
  default: '',
169
- enum: ["daily", "weekly", "monthly","range",""]
169
+ enum: ["daily", "weekly", "monthly","range","onetime","weekday",""]
170
170
  },
171
171
  startMobileTime:{
172
172
  type:String
@@ -81,7 +81,7 @@ const processedchecklistconfigSchema = new mongoose.Schema({
81
81
  checkListType: {
82
82
  type: String,
83
83
  default: "custom",
84
- enum: ["storeopenandclose", "mobileusagedetection", "uniformdetection", "custom"]
84
+ enum: ["storeopenandclose","mobileusagedetection","uniformdetection","custom","customerunattended","staffleftinthemiddle"]
85
85
  },
86
86
  startTime:{
87
87
  type:Date
@@ -89,7 +89,7 @@ const processedchecklistconfigSchema = new mongoose.Schema({
89
89
  scheduleRepeatedType: {
90
90
  type: String,
91
91
  default: '',
92
- enum: ["daily", "weekly", "monthly","range",""]
92
+ enum: ["daily", "weekly", "monthly","range","onetime","weekday",""]
93
93
  },
94
94
  allowedMultiSubmit: {
95
95
  type: Boolean,