joye-backend-utility 5.1.6 → 5.1.7
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 +5 -0
- package/package.json +1 -1
package/dist/schema/user.js
CHANGED
|
@@ -172,8 +172,13 @@ 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
|
|
176
180
|
required: false,
|
|
181
|
+
type: String,
|
|
177
182
|
},
|
|
178
183
|
});
|
|
179
184
|
User.index({ botDetails: 1, preferredTimezone: -1 }, {
|