@dhyasama/totem-models 8.66.0 → 8.67.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
@@ -306,7 +306,7 @@ module.exports = function(mongoose, config) {
306
306
  'notifications.company.sendTo': { $gt: [] },
307
307
  'notifications.company.initial.sendOn': { $lte: now },
308
308
  'notifications.company.initial.sentOn': null,
309
- 'notifications.company.initial.sentToQueue': null,
309
+ 'notifications.company.initial.sentToQueue': false,
310
310
  }
311
311
  }
312
312
  });
@@ -362,7 +362,7 @@ module.exports = function(mongoose, config) {
362
362
  'notifications.company.sendTo': { $gt: [] },
363
363
  'notifications.company.reminders.sendOn': { $lte: now },
364
364
  'notifications.company.reminders.sentOn': null,
365
- 'notifications.company.reminders.sentToQueue': null,
365
+ 'notifications.company.reminders.sentToQueue': false,
366
366
  '$or': [
367
367
  {
368
368
  'submittedOn': null,
@@ -430,7 +430,7 @@ module.exports = function(mongoose, config) {
430
430
  'notifications.company.sendTo': { $gt: [] },
431
431
  'notifications.company.rejections.sendOn': { $lte: now },
432
432
  'notifications.company.rejections.sentOn': null,
433
- 'notifications.company.rejections.sentToQueue': null,
433
+ 'notifications.company.rejections.sentToQueue': false,
434
434
  'submittedOn': { $ne: null },
435
435
  'rejection': { $ne: null }
436
436
  }
@@ -492,7 +492,7 @@ module.exports = function(mongoose, config) {
492
492
  'notifications.stakeholders.sendTo.organization': { $ne: null },
493
493
  'notifications.stakeholders.initial.sendOn': { $lte: now },
494
494
  'notifications.stakeholders.initial.sentOn': null,
495
- 'notifications.stakeholders.initial.sentToQueue': null,
495
+ 'notifications.stakeholders.initial.sentToQueue': false,
496
496
  }
497
497
  }
498
498
  });
@@ -550,7 +550,7 @@ module.exports = function(mongoose, config) {
550
550
  'notifications.stakeholders.sendTo.organization': { $ne: null },
551
551
  'notifications.stakeholders.reminders.sendOn': { $lte: now },
552
552
  'notifications.stakeholders.reminders.sentOn': null,
553
- 'notifications.stakeholders.reminders.sentToQueue': null
553
+ 'notifications.stakeholders.reminders.sentToQueue': false
554
554
  }
555
555
  }
556
556
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "8.66.0",
3
+ "version": "8.67.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",