shuttlepro-shared 1.4.44 → 1.4.45

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/models/Call.js CHANGED
@@ -30,6 +30,11 @@ const callSchema = new mongoose.Schema(
30
30
  default: null,
31
31
  },
32
32
  type: { type: String, default: "inbound" },
33
+ labels: [{ type: Schema.Types.ObjectId, ref: "Label" }],
34
+ remarks: {
35
+ type: String,
36
+ default: "",
37
+ },
33
38
  status: {
34
39
  type: String,
35
40
  enum: ["pending", "hold", "active", "ended", "disconnected", "abandoned"],
@@ -228,6 +228,10 @@ const workspaceSchema = new mongoose.Schema(
228
228
  type: Number,
229
229
  default: 75,
230
230
  },
231
+ whatsappCallingTimer: {
232
+ type: Number,
233
+ default: 30,
234
+ },
231
235
  isDeleted: { type: Boolean, default: false },
232
236
  businessHours: {
233
237
  startTime: { type: String, default: "" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shuttlepro-shared",
3
- "version": "1.4.44",
3
+ "version": "1.4.45",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {