@dhyasama/totem-models 9.62.0 → 9.63.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.
@@ -15,6 +15,9 @@ module.exports = function(mongoose, config) {
15
15
  // date and time to send
16
16
  sendOn: { type: Date, required: true },
17
17
 
18
+ // whether the task has been sent to the queue
19
+ sentToQueue: { type: Boolean, default: false },
20
+
18
21
  // email content
19
22
  email: {
20
23
 
@@ -56,7 +59,6 @@ module.exports = function(mongoose, config) {
56
59
  notifications: [{
57
60
  sendTo: { type: String, trim: true },
58
61
  sentOn: { type: Date, required: false },
59
- sentToQueue: { type: Boolean, default: false },
60
62
  postmarkMessageId: { type: String, trim: true },
61
63
  status: { type: String, enum: [null, 'Sent', 'Bounced', 'Delivered', 'Opened', 'Clicked']}
62
64
  }],
@@ -162,4 +164,4 @@ module.exports = function(mongoose, config) {
162
164
 
163
165
  mongoose.model('LimitedPartnerCommunication', LimitedPartnerCommunication);
164
166
 
165
- };
167
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "9.62.0",
3
+ "version": "9.63.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",