shuttlepro-shared 1.3.89 → 1.3.91

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.
@@ -61,6 +61,9 @@ const AutomationAction = new Schema({
61
61
  deleteComment: {
62
62
  enabled: { type: Boolean, default: false },
63
63
  },
64
+ hideComment: {
65
+ enabled: { type: Boolean, default: false },
66
+ },
64
67
  closeChat: {
65
68
  enabled: { type: Boolean, default: false },
66
69
  },
@@ -96,6 +99,11 @@ const AutomationAction = new Schema({
96
99
  default: null,
97
100
  },
98
101
  members: [userJoin],
102
+ templateFormId: {
103
+ type: mongoose.Schema.Types.ObjectId,
104
+ ref: "FormTemplate",
105
+ default: null,
106
+ },
99
107
  },
100
108
  escalation: {
101
109
  enabled: { type: Boolean, default: false },
package/models/Card.js CHANGED
@@ -159,6 +159,7 @@ const cardSchema = new mongoose.Schema(
159
159
  templateFormId: {
160
160
  type: mongoose.Schema.Types.ObjectId,
161
161
  ref: "FormTemplate",
162
+ default: null,
162
163
  },
163
164
  },
164
165
  { timestamps: true, toJSON: { virtuals: true }, toObject: { virtuals: true } }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shuttlepro-shared",
3
- "version": "1.3.89",
3
+ "version": "1.3.91",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {