shuttlepro-shared 1.5.24 → 1.5.26
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/FeedbackBot.js +5 -0
- package/models/Workspace.js +6 -1
- package/package.json +1 -1
package/models/FeedbackBot.js
CHANGED
|
@@ -80,6 +80,11 @@ const FeedbackBotSchema = new Schema(
|
|
|
80
80
|
type: String,
|
|
81
81
|
default: null,
|
|
82
82
|
},
|
|
83
|
+
source: {
|
|
84
|
+
type: String,
|
|
85
|
+
enum: ["shop", "workflow"],
|
|
86
|
+
default: null,
|
|
87
|
+
},
|
|
83
88
|
},
|
|
84
89
|
{ timestamps: true, toJSON: { virtuals: true }, toObject: { virtuals: true } }
|
|
85
90
|
);
|
package/models/Workspace.js
CHANGED
|
@@ -387,11 +387,16 @@ const workspaceSchema = new mongoose.Schema(
|
|
|
387
387
|
type: Boolean,
|
|
388
388
|
default: false,
|
|
389
389
|
},
|
|
390
|
-
/**
|
|
390
|
+
/** Default send-button action. Mutually exclusive with closeChatAfterSending. */
|
|
391
391
|
resolveChatAfterSending: {
|
|
392
392
|
type: Boolean,
|
|
393
393
|
default: false,
|
|
394
394
|
},
|
|
395
|
+
/** Default send-button action: collapse the reply panel after send (same as the X). Does not archive or change conversationStatus. Mutually exclusive with resolveChatAfterSending. */
|
|
396
|
+
closeChatAfterSending: {
|
|
397
|
+
type: Boolean,
|
|
398
|
+
default: false,
|
|
399
|
+
},
|
|
395
400
|
/** When true, the conversation module opens on the Pending tab instead of All. */
|
|
396
401
|
defaultPendingTab: {
|
|
397
402
|
type: Boolean,
|