shuttlepro-shared 1.3.34 → 1.3.36

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.
@@ -133,6 +133,10 @@ const AutomationAction = new Schema({
133
133
  },
134
134
  flow: {},
135
135
  },
136
+ chatbot: {
137
+ enabled: { type: Boolean, default: false },
138
+ id: defaultStringType,
139
+ },
136
140
  });
137
141
  const AutomationCondition = new Schema({
138
142
  criteriaType: {
@@ -27,5 +27,4 @@ const EmailMessageSchema = new Schema(
27
27
  { timestamps: true, toJSON: { virtuals: true }, toObject: { virtuals: true } }
28
28
  );
29
29
 
30
- const EmailMessage = mongoose.model("EmailMessage", EmailMessageSchema);
31
- module.exports = EmailMessage;
30
+ module.exports = EmailMessageSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shuttlepro-shared",
3
- "version": "1.3.34",
3
+ "version": "1.3.36",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {