shuttlepro-shared 1.5.9 → 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",
@@ -390,6 +390,11 @@ const workspaceSchema = new mongoose.Schema(
390
390
  type: Boolean,
391
391
  default: false,
392
392
  },
393
+ /** When true, the conversation module opens on the Pending tab instead of All. */
394
+ defaultPendingTab: {
395
+ type: Boolean,
396
+ default: false,
397
+ },
393
398
  /** When true (default), ShuttleBot includes product photos with product detail replies. */
394
399
  chatbotShowProductImages: {
395
400
  type: Boolean,
@@ -400,10 +405,12 @@ const workspaceSchema = new mongoose.Schema(
400
405
  type: Boolean,
401
406
  default: true,
402
407
  },
408
+
403
409
  enableInternalChat: {
404
410
  type: Boolean,
405
411
  default: false,
406
412
  },
413
+ productNavigationLink: { type: String, default: "" },
407
414
  },
408
415
  { timestamps: true, toJSON: { virtuals: true }, toObject: { virtuals: true } }
409
416
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shuttlepro-shared",
3
- "version": "1.5.09",
3
+ "version": "1.5.11",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {