@dhyasama/totem-models 8.25.1 → 8.27.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/lib/Account.js CHANGED
@@ -14,7 +14,7 @@ module.exports = function(mongoose, config) {
14
14
  email: { type: String, required: true, unique: true },
15
15
  admin: { type: Boolean },
16
16
  active: { type: Boolean },
17
- role: { type: String, enum: ['admin', 'lp-full', 'lp-names', 'welcome', 'none'] },
17
+ role: { type: String, enum: ['admin', 'lp-full', 'none'] },
18
18
 
19
19
  // Enable this and iLevel links will show on portfolio pages
20
20
  iLevelUser: { type: Boolean },
@@ -60,12 +60,12 @@ module.exports = function(mongoose, config) {
60
60
  },
61
61
 
62
62
  calendar: {
63
- active: { type: Boolean, default: false }, // only pull if this is active
63
+ active: { type: Boolean, default: true }, // only pull if this is active
64
64
  forcePullAll: { type: Boolean, default: false } // override newest event date as min and go back all the way
65
65
  },
66
66
 
67
67
  inbound: {
68
- active: { type: Boolean, default: false },
68
+ active: { type: Boolean, default: true },
69
69
  sendSystemEmails: { type: Boolean, default: false },
70
70
  }
71
71
 
@@ -712,13 +712,11 @@ module.exports = function(mongoose, config) {
712
712
  'readFilter': {
713
713
  'admin': ['name', 'shortName', 'customer', 'start', 'people', 'documentSlugs', 'transactions', 'contact', 'entered', 'status', 'flagged', 'flags', 'notes'],
714
714
  'lp-full': ['name', 'shortName', 'customer', 'start', 'people', 'documentSlugs', 'transactions', 'contact', 'entered', 'status', 'flagged', 'flags', 'notes'],
715
- 'lp-names': ['name', 'shortName', 'flagged', 'flags', 'customer'],
716
715
  'none': []
717
716
  },
718
717
  'writeFilter': {
719
718
  'admin': ['name', 'shortName', 'customer', 'start', 'people', 'documentSlugs', 'transactions', 'contact', 'entered', 'status', 'flagged', 'flags', 'notes'],
720
719
  'lp-full': ['name', 'shortName', 'customer', 'start', 'people', 'documentSlugs', 'transactions', 'contact', 'entered', 'status', 'flagged', 'flags', 'notes'],
721
- 'lp-names': ['flagged', 'flags', 'customer'],
722
720
  'none': []
723
721
  },
724
722
  'defaultFilterRole': 'none',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "8.25.1",
3
+ "version": "8.27.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",