joye-backend-utility 5.1.6 → 5.1.8
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/dist/schema/user.js +10 -0
- package/package.json +1 -1
package/dist/schema/user.js
CHANGED
|
@@ -172,8 +172,18 @@ const User = new mongoose_1.Schema({
|
|
|
172
172
|
// 1: Mon Wed
|
|
173
173
|
// 2: Tue Thu
|
|
174
174
|
// 3: Wed Fri
|
|
175
|
+
required: false,
|
|
175
176
|
type: Number,
|
|
177
|
+
},
|
|
178
|
+
notificationMode: {
|
|
179
|
+
// Value in Dynamic (default), ZenFlow, LightEasy
|
|
180
|
+
required: false,
|
|
181
|
+
type: String,
|
|
182
|
+
},
|
|
183
|
+
autoNotificationMode: {
|
|
184
|
+
// Value in Dynamic (default), ZenFlow, LightEasy
|
|
176
185
|
required: false,
|
|
186
|
+
type: String,
|
|
177
187
|
},
|
|
178
188
|
});
|
|
179
189
|
User.index({ botDetails: 1, preferredTimezone: -1 }, {
|