@dhyasama/totem-models 8.35.0 → 8.36.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
@@ -29,8 +29,6 @@ module.exports = function(mongoose, config) {
29
29
 
30
30
  uuid: { type: String },
31
31
 
32
- managedServices: { type: Boolean, default: false, required: true },
33
-
34
32
  status: { type: String },
35
33
  action: { type: String },
36
34
 
@@ -208,7 +208,6 @@ module.exports = function(mongoose, config) {
208
208
  portfolio: {
209
209
 
210
210
  reports: [{
211
-
212
211
  name: { type: String, trim: true },
213
212
  filters: [{
214
213
  _id: false,
@@ -220,12 +219,24 @@ module.exports = function(mongoose, config) {
220
219
  reverse: { type: Boolean, default: false }
221
220
  },
222
221
  fields: [ {type: String, trim: true} ],
223
-
224
222
  }],
225
223
 
226
- financials : {
224
+ financials: {
227
225
  active: { type: Boolean, default: false },
228
- managedServices: { type: Boolean, default: false },
226
+ approval: {
227
+ active: { type: Boolean, default: false }
228
+ },
229
+ reminders: {
230
+ active: { type: Boolean, default: false },
231
+ frequency: { type: Number, default: 7 },
232
+ occurences: { type: Number, default: 3 },
233
+ },
234
+ documents: [{
235
+ _id: false,
236
+ name: { type: String, trim: true },
237
+ description: { type: String, trim: true },
238
+ required: { type: Boolean, default: false }
239
+ }],
229
240
  metrics: [{
230
241
  _id: false,
231
242
  name: { type: String, trim: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "8.35.0",
3
+ "version": "8.36.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",