shuttlepro-shared 1.3.42 → 1.3.44

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.
@@ -90,21 +90,10 @@ const AutomationAction = new Schema({
90
90
  enabled: { type: Boolean, default: false },
91
91
  notificationMemberIds: [userJoin],
92
92
  },
93
+
93
94
  orderConfirmation: {
94
- enabled: { type: Boolean, default: false },
95
- integrationId: {
96
- id: defaultStringType,
97
- type: defaultStringType,
98
- accountTitle: defaultStringType,
99
- businessId: defaultStringType,
100
- name: defaultStringType,
101
- },
102
- workflow: {},
103
- otherConfirmationMode: {
104
- type: String,
105
- enum: ["ivr", "sms", ""],
106
- default: "",
107
- },
95
+ type: [Schema.Types.Mixed],
96
+ default: [],
108
97
  },
109
98
  orderPublish: {
110
99
  enabled: { type: Boolean, default: false },
@@ -134,8 +123,8 @@ const AutomationAction = new Schema({
134
123
  flow: {},
135
124
  },
136
125
  chatbot: {
137
- enabled: { type: Boolean, default: false },
138
- id: defaultStringType,
126
+ enabled: { type: Boolean, default: false },
127
+ id: defaultStringType,
139
128
  },
140
129
  });
141
130
  const AutomationCondition = new Schema({
@@ -20,6 +20,8 @@ const IntegrationSchema = new mongoose.Schema(
20
20
  "smtp_gmail",
21
21
  "outlook",
22
22
  "business_central",
23
+ "ivr",
24
+ "sms",
23
25
  ],
24
26
  },
25
27
  chatbot: { type: Boolean, default: false },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shuttlepro-shared",
3
- "version": "1.3.42",
3
+ "version": "1.3.44",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {