shuttlepro-shared 1.5.8 → 1.5.10
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 +2 -0
- package/models/Workspace.js +10 -0
- package/package.json +1 -1
package/models/Automation.js
CHANGED
|
@@ -212,6 +212,7 @@ const AutomationCondition = new Schema({
|
|
|
212
212
|
"profile",
|
|
213
213
|
"moveTicket",
|
|
214
214
|
"chatClose",
|
|
215
|
+
"store",
|
|
215
216
|
],
|
|
216
217
|
},
|
|
217
218
|
keyValue: {
|
|
@@ -247,6 +248,7 @@ const AutomationCondition = new Schema({
|
|
|
247
248
|
"profile",
|
|
248
249
|
"moveTicket",
|
|
249
250
|
"chatClose",
|
|
251
|
+
"store",
|
|
250
252
|
],
|
|
251
253
|
},
|
|
252
254
|
subKeyValue: {
|
package/models/Workspace.js
CHANGED
|
@@ -361,6 +361,10 @@ const workspaceSchema = new mongoose.Schema(
|
|
|
361
361
|
},
|
|
362
362
|
qdrantUrl: { type: String, default: "" },
|
|
363
363
|
qdrantApiKey: { type: String, default: "" },
|
|
364
|
+
shopQrInitialMessage: {
|
|
365
|
+
type: String,
|
|
366
|
+
default: "",
|
|
367
|
+
},
|
|
364
368
|
enableInternalChat: {
|
|
365
369
|
type: Boolean,
|
|
366
370
|
default: false,
|
|
@@ -386,6 +390,11 @@ const workspaceSchema = new mongoose.Schema(
|
|
|
386
390
|
type: Boolean,
|
|
387
391
|
default: false,
|
|
388
392
|
},
|
|
393
|
+
/** When true, the conversation module opens on the Pending tab instead of All. */
|
|
394
|
+
defaultPendingTab: {
|
|
395
|
+
type: Boolean,
|
|
396
|
+
default: false,
|
|
397
|
+
},
|
|
389
398
|
/** When true (default), ShuttleBot includes product photos with product detail replies. */
|
|
390
399
|
chatbotShowProductImages: {
|
|
391
400
|
type: Boolean,
|
|
@@ -396,6 +405,7 @@ const workspaceSchema = new mongoose.Schema(
|
|
|
396
405
|
type: Boolean,
|
|
397
406
|
default: true,
|
|
398
407
|
},
|
|
408
|
+
|
|
399
409
|
enableInternalChat: {
|
|
400
410
|
type: Boolean,
|
|
401
411
|
default: false,
|