shuttlepro-shared 1.5.33 → 1.5.35
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 +1 -0
- package/models/Conversation.js +4 -0
- package/models/Integration.js +1 -0
- package/models/UserSession.js +8 -0
- package/package.json +1 -1
package/models/Automation.js
CHANGED
package/models/Conversation.js
CHANGED
|
@@ -33,6 +33,7 @@ const conversationSchema = new mongoose.Schema(
|
|
|
33
33
|
"webChat",
|
|
34
34
|
"smtp_gmail",
|
|
35
35
|
"shuttle_smtp",
|
|
36
|
+
"qlyro",
|
|
36
37
|
],
|
|
37
38
|
required: true,
|
|
38
39
|
},
|
|
@@ -163,6 +164,9 @@ const conversationSchema = new mongoose.Schema(
|
|
|
163
164
|
default: [],
|
|
164
165
|
},
|
|
165
166
|
mergedAt: { type: Date, default: null },
|
|
167
|
+
// Qlyro secure web chat provenance (session / source WhatsApp chat).
|
|
168
|
+
// Never holds keys or tokens.
|
|
169
|
+
qlyro: { type: Schema.Types.Mixed, default: null },
|
|
166
170
|
mergedBy: {
|
|
167
171
|
type: Schema.Types.ObjectId,
|
|
168
172
|
ref: "User",
|
package/models/Integration.js
CHANGED
package/models/UserSession.js
CHANGED