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.
@@ -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 }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joye-backend-utility",
3
- "version": "5.1.6",
3
+ "version": "5.1.8",
4
4
  "description": "Joye backend utility for db functions and common functions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",