@bluedot-innovation/models 7.12.0 → 7.14.0
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -10,7 +10,8 @@ let AccountFeaturesSchema = new mongoose.Schema({
|
|
|
10
10
|
screens: AccountScreensSchema,
|
|
11
11
|
insights: AccountBasicFeatureSchema,
|
|
12
12
|
cemdPersistence: AccountCemdPersistenceSchema,
|
|
13
|
-
hideStores: AccountBasicFeatureSchema
|
|
13
|
+
hideStores: AccountBasicFeatureSchema,
|
|
14
|
+
automaticDestinationCreation: AccountBasicFeatureSchema
|
|
14
15
|
}, {
|
|
15
16
|
_id: false
|
|
16
17
|
})
|
package/schemas/Integration.js
CHANGED
|
@@ -3,6 +3,7 @@ const oloIntegrationSchema = require('./OloIntegration')
|
|
|
3
3
|
const segmentIntegrationSchema = require('./SegmentIntegration')
|
|
4
4
|
const oneSignalIntegrationSchema = require('./OneSignalIntegration')
|
|
5
5
|
const bbotIntegrationSchema = require('./BbotIntegration')
|
|
6
|
+
const flipdishIntegrationSchema = require('./FlipdishIntegration')
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
const MParticleSchema = new mongoose.Schema({
|
|
@@ -54,7 +55,8 @@ const IntegrationSchema = new mongoose.Schema({
|
|
|
54
55
|
olo: { type: oloIntegrationSchema },
|
|
55
56
|
segment: { type: segmentIntegrationSchema },
|
|
56
57
|
oneSignal: { type: oneSignalIntegrationSchema },
|
|
57
|
-
bbot: { type: bbotIntegrationSchema }
|
|
58
|
+
bbot: { type: bbotIntegrationSchema },
|
|
59
|
+
flipdish: { type: flipdishIntegrationSchema }
|
|
58
60
|
},{ _id : false });
|
|
59
61
|
function apiKeyValidator(value){
|
|
60
62
|
// check if the value is a non-empty string
|