shuttlepro-shared 1.5.10 → 1.5.12
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 -1
- package/models/Step.js +5 -0
- package/models/Workspace.js +1 -0
- package/package.json +1 -1
package/models/Automation.js
CHANGED
|
@@ -192,6 +192,9 @@ const AutomationAction = new Schema({
|
|
|
192
192
|
enabled: { type: Boolean, default: false },
|
|
193
193
|
id: defaultStringType,
|
|
194
194
|
},
|
|
195
|
+
createOrder: {
|
|
196
|
+
enabled: { type: Boolean, default: false },
|
|
197
|
+
},
|
|
195
198
|
});
|
|
196
199
|
const AutomationCondition = new Schema({
|
|
197
200
|
criteriaType: {
|
|
@@ -224,6 +227,7 @@ const AutomationCondition = new Schema({
|
|
|
224
227
|
"emailSubject",
|
|
225
228
|
"messageBody",
|
|
226
229
|
"orderTrackingUrl",
|
|
230
|
+
"catalogOrder",
|
|
227
231
|
"withInBusinessHour",
|
|
228
232
|
"afterBusinessHour",
|
|
229
233
|
"allDay",
|
|
@@ -235,8 +239,8 @@ const AutomationCondition = new Schema({
|
|
|
235
239
|
"afterShift",
|
|
236
240
|
"orderConfirmation",
|
|
237
241
|
"bankDeposit",
|
|
242
|
+
"paid",
|
|
238
243
|
"orderPublish",
|
|
239
|
-
"bankDeposit",
|
|
240
244
|
"orderDelivery",
|
|
241
245
|
"criticalOrder",
|
|
242
246
|
"refusedOrder",
|
package/models/Step.js
CHANGED
package/models/Workspace.js
CHANGED