@bluedot-innovation/models 7.14.2 → 7.15.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
@@ -1,3 +1,12 @@
1
+ ## 7.15.0
2
+ - Add nowReadyConfiguration feature toggle to account
3
+
4
+ ## 7.14.3
5
+ - Remove default value for lastSyncedTime in Bbot integration
6
+
7
+ ## 7.14.2
8
+ - Added Bbot integration accountType property
9
+
1
10
  ## 7.14.1
2
11
  - Added username and lastSyncedTime to Bbot integration
3
12
 
@@ -33,6 +33,9 @@
33
33
  },
34
34
  "automaticDestinationCreation": {
35
35
  "enabled": true
36
+ },
37
+ "nowReadyConfiguration": {
38
+ "enabled": true
36
39
  }
37
40
  },
38
41
  "integrations": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluedot-innovation/models",
3
- "version": "7.14.2",
3
+ "version": "7.15.0",
4
4
  "main": "Models.js",
5
5
  "scripts": {
6
6
  "lint": "./node_modules/.bin/eslint -c .eslintrc.js ./models/*.js ./__tests__/**/*.js ./__tests__/**/**/*.js ./schemas/*.js",
@@ -11,7 +11,8 @@ let AccountFeaturesSchema = new mongoose.Schema({
11
11
  insights: AccountBasicFeatureSchema,
12
12
  cemdPersistence: AccountCemdPersistenceSchema,
13
13
  hideStores: AccountBasicFeatureSchema,
14
- automaticDestinationCreation: AccountBasicFeatureSchema
14
+ automaticDestinationCreation: AccountBasicFeatureSchema,
15
+ nowReadyConfiguration: AccountBasicFeatureSchema
15
16
  }, {
16
17
  _id: false
17
18
  })
@@ -4,7 +4,7 @@ let BbotIntegrationSchema = new mongoose.Schema({
4
4
  nowReadyEnabled: {type: Boolean, default: true},
5
5
  username: {type: String},
6
6
  accountType: {type: String, enum: ['test', 'live']},
7
- lastSyncedTime: {type: Date, default: Date.now}
7
+ lastSyncedTime: {type: Date}
8
8
  }, {
9
9
  _id: false
10
10
  })