shuttlepro-shared 1.4.44 → 1.4.46

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"],
@@ -88,6 +88,7 @@ const ResolutionReasonCategorySchema = new mongoose.Schema({
88
88
  });
89
89
  const feedbackFormSchema = new mongoose.Schema({
90
90
  formName: { type: String, required: true, trim: true },
91
+ webhookUrl: { type: String, default: "" },
91
92
  brandName: { type: String, default: "" },
92
93
  brandLogoUrl: { type: String, default: "", trim: true },
93
94
  type: {
@@ -228,6 +229,10 @@ const workspaceSchema = new mongoose.Schema(
228
229
  type: Number,
229
230
  default: 75,
230
231
  },
232
+ whatsappCallingTimer: {
233
+ type: Number,
234
+ default: 30,
235
+ },
231
236
  isDeleted: { type: Boolean, default: false },
232
237
  businessHours: {
233
238
  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.46",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {