joye-backend-utility 7.1.2 → 7.1.4

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/.DS_Store ADDED
Binary file
@@ -65,6 +65,11 @@ const UserChatSession = new mongoose_1.Schema({
65
65
  type: Number,
66
66
  required: false,
67
67
  },
68
+ autoClosed: {
69
+ type: Boolean,
70
+ required: false,
71
+ default: false,
72
+ },
68
73
  });
69
74
  UserChatSession.index({ employeeId: 1, date: -1 }, {
70
75
  unique: false,
@@ -111,6 +111,10 @@ const UserAnalytic = new mongoose_1.Schema({
111
111
  type: Array,
112
112
  required: false,
113
113
  },
114
+ activity: {
115
+ type: Boolean,
116
+ required: false,
117
+ },
114
118
  });
115
119
  UserAnalytic.index({ employeeId: 1, weekNumber: -1, year: -1, date: -1 });
116
120
  UserAnalytic.index({ employeeId: 1, month: -1, year: -1, date: -1 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joye-backend-utility",
3
- "version": "7.1.2",
3
+ "version": "7.1.4",
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",