@dhyasama/totem-models 8.75.1 → 8.78.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/Financials.js CHANGED
@@ -41,7 +41,7 @@ module.exports = function(mongoose, config) {
41
41
  form: [{
42
42
  _id: false,
43
43
  name: { type: String, trim: true },
44
- type: { type: String, enum: [null, 'block', 'document', 'metric', 'question']}
44
+ type: { type: String, enum: [null, 'block', 'message', 'document', 'metric', 'question']}
45
45
  }],
46
46
 
47
47
  cash: {
@@ -220,8 +220,13 @@ module.exports = function(mongoose, config) {
220
220
  financials: {
221
221
  active: { type: Boolean, default: false },
222
222
  managedServices: { type: Boolean, default: false },
223
- greeting: { type: String, trim: true },
224
223
  reminders: { type: [Number], default: [7, 7, 7] },
224
+
225
+ messages: [{
226
+ _id: false,
227
+ name: { type: String, trim: true },
228
+ html: { type: String, trim: true }
229
+ }],
225
230
  templates: [{
226
231
  _id: false,
227
232
  name: { type: String, trim: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "8.75.1",
3
+ "version": "8.78.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",