shuttlepro-shared 1.3.42 → 1.3.43
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/Automation.js +5 -16
- package/models/Integration.js +2 -0
- package/package.json +1 -1
package/models/Automation.js
CHANGED
|
@@ -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
|
-
|
|
95
|
-
|
|
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
|
-
|
|
138
|
-
|
|
126
|
+
enabled: { type: Boolean, default: false },
|
|
127
|
+
id: defaultStringType,
|
|
139
128
|
},
|
|
140
129
|
});
|
|
141
130
|
const AutomationCondition = new Schema({
|
package/models/Integration.js
CHANGED