shuttlepro-shared 1.5.35 → 1.5.37
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/Workspace.js +10 -0
- package/package.json +1 -1
package/models/Workspace.js
CHANGED
|
@@ -217,6 +217,10 @@ const workspaceSchema = new mongoose.Schema(
|
|
|
217
217
|
facebookUrl: String,
|
|
218
218
|
twitterUrl: String,
|
|
219
219
|
instagramUrl: String,
|
|
220
|
+
exchangeRate: {
|
|
221
|
+
type: Number,
|
|
222
|
+
default: 1,
|
|
223
|
+
},
|
|
220
224
|
highRiskOrderAmount: {
|
|
221
225
|
type: Number,
|
|
222
226
|
default: 100000,
|
|
@@ -375,6 +379,12 @@ const workspaceSchema = new mongoose.Schema(
|
|
|
375
379
|
type: Boolean,
|
|
376
380
|
default: false,
|
|
377
381
|
},
|
|
382
|
+
// true: agents cannot type a normal WhatsApp reply; they must send a
|
|
383
|
+
// template, the same as after the 24-hour window closes.
|
|
384
|
+
isWhatsappReply: {
|
|
385
|
+
type: Boolean,
|
|
386
|
+
default: false,
|
|
387
|
+
},
|
|
378
388
|
emailShotCutKey: {
|
|
379
389
|
type: Boolean,
|
|
380
390
|
default: false,
|