@dhyasama/totem-models 11.30.2 → 11.32.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
@@ -522,6 +522,7 @@ module.exports = function(mongoose, config) {
522
522
  snapshot: '$snapshots',
523
523
  document: '$snapshots.documents',
524
524
  organization: '$organization',
525
+ customer: '$customer'
525
526
  }
526
527
  }
527
528
  ]).exec(function(err, result) {
@@ -26,7 +26,11 @@ module.exports = function(mongoose, config) {
26
26
 
27
27
  summary: { type: String },
28
28
 
29
- insights: [{ type: String }]
29
+ insights: [{
30
+ text: { type: String },
31
+ category: { type: String, enum: ['highlight', 'lowlight', 'goal', 'ask'] },
32
+ page: { type: Number, default: -1 }
33
+ }]
30
34
 
31
35
  });
32
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "11.30.2",
3
+ "version": "11.32.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",