@bluedot-innovation/models 7.14.0 → 7.14.2

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,6 @@
1
+ ## 7.14.1
2
+ - Added username and lastSyncedTime to Bbot integration
3
+
1
4
  ## 7.14.0
2
5
  - Added Flipdish integration to project
3
6
 
@@ -65,7 +65,10 @@
65
65
  "tempo": false
66
66
  },
67
67
  "bbot": {
68
- "nowReadyEnabled": true
68
+ "nowReadyEnabled": true,
69
+ "username": "bluedot",
70
+ "accountType": "test",
71
+ "lastSyncedTime": "2022-10-21T04:12:02.103Z"
69
72
  },
70
73
  "flipdish": {
71
74
  "nowReadyEnabled": true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluedot-innovation/models",
3
- "version": "7.14.0",
3
+ "version": "7.14.2",
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",
@@ -1,7 +1,10 @@
1
1
  const mongoose = require('mongoose');
2
2
 
3
3
  let BbotIntegrationSchema = new mongoose.Schema({
4
- nowReadyEnabled: {type: Boolean, default: false}
4
+ nowReadyEnabled: {type: Boolean, default: true},
5
+ username: {type: String},
6
+ accountType: {type: String, enum: ['test', 'live']},
7
+ lastSyncedTime: {type: Date, default: Date.now}
5
8
  }, {
6
9
  _id: false
7
10
  })