shuttlepro-shared 1.5.10 → 1.5.11

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.
@@ -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",
@@ -410,6 +410,7 @@ const workspaceSchema = new mongoose.Schema(
410
410
  type: Boolean,
411
411
  default: false,
412
412
  },
413
+ productNavigationLink: { type: String, default: "" },
413
414
  },
414
415
  { timestamps: true, toJSON: { virtuals: true }, toObject: { virtuals: true } }
415
416
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shuttlepro-shared",
3
- "version": "1.5.10",
3
+ "version": "1.5.11",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {