shuttlepro-shared 1.2.17 → 1.2.18

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.
@@ -184,6 +184,7 @@ const findOneAndUpdateAgentActivity = async (
184
184
  return null;
185
185
  }
186
186
  };
187
+
187
188
  module.exports = {
188
189
  AgentActivity,
189
190
  findOneAndUpdateAgentActivity,
package/models/Chatbot.js CHANGED
@@ -10,6 +10,10 @@ const ChatbotSchema = new Schema(
10
10
  type: String,
11
11
  default: "",
12
12
  },
13
+ expiryTime: {
14
+ type: Number,
15
+ default: 300,
16
+ },
13
17
  },
14
18
  { timestamps: true, toJSON: { virtuals: true }, toObject: { virtuals: true } }
15
19
  );
@@ -113,6 +113,7 @@ const workspaceSchema = new mongoose.Schema(
113
113
  queueTracking: { type: Boolean, default: false },
114
114
  orderConfiguration: { type: String, default: "" },
115
115
  defaultModule: { type: String, default: "dashboard" },
116
+ defaultShift: { type: String, default: "" },
116
117
  dynamicFieldsTemplate: [
117
118
  {
118
119
  groupName: { type: String, required: true, trim: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shuttlepro-shared",
3
- "version": "1.2.17",
3
+ "version": "1.2.18",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {