shuttlepro-shared 1.4.6 → 1.4.8

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.
@@ -55,6 +55,32 @@ const AutomationAction = new Schema({
55
55
  templateId: descriptionJoin,
56
56
  delay: defaultStringType,
57
57
  },
58
+ ticketList: {
59
+ enabled: { type: Boolean, default: false },
60
+ templateId: descriptionJoin,
61
+ delay: defaultStringType,
62
+ ticketList: [
63
+ {
64
+ id: {
65
+ type: mongoose.Schema.Types.ObjectId,
66
+ ref: "Column",
67
+ required: true,
68
+ },
69
+ title: {
70
+ type: String,
71
+ required: true,
72
+ },
73
+ name: {
74
+ type: String,
75
+ required: true,
76
+ },
77
+ type: {
78
+ type: String,
79
+ required: true,
80
+ },
81
+ },
82
+ ],
83
+ },
58
84
  markAsSpam: {
59
85
  enabled: { type: Boolean, default: false },
60
86
  },
@@ -169,6 +195,7 @@ const AutomationCondition = new Schema({
169
195
  "shift",
170
196
  "newCommentPost",
171
197
  "profile",
198
+ "moveTicket",
172
199
  ],
173
200
  },
174
201
  keyValue: {
@@ -193,6 +220,7 @@ const AutomationCondition = new Schema({
193
220
  "orderPublish",
194
221
  "newCommentPost",
195
222
  "profile",
223
+ "moveTicket",
196
224
  ],
197
225
  },
198
226
  subKeyValue: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shuttlepro-shared",
3
- "version": "1.4.6",
3
+ "version": "1.4.8",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {