@dhyasama/totem-models 9.81.0 → 9.82.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,16 +15,16 @@ module.exports = function(mongoose, config) {
|
|
|
15
15
|
customer: { type: Schema.ObjectId, ref: 'Organization', required: true },
|
|
16
16
|
|
|
17
17
|
// date and time to send
|
|
18
|
-
sendOn: { type: Date
|
|
18
|
+
sendOn: { type: Date },
|
|
19
19
|
|
|
20
20
|
// email subject
|
|
21
|
-
subject: { type: String, trim: true
|
|
21
|
+
subject: { type: String, trim: true },
|
|
22
22
|
|
|
23
23
|
// email body
|
|
24
|
-
body: { type: String, trim: true
|
|
24
|
+
body: { type: String, trim: true },
|
|
25
25
|
|
|
26
26
|
// sent all emails to queue
|
|
27
|
-
sentEmailsToQueue: { type: Boolean,
|
|
27
|
+
sentEmailsToQueue: { type: Boolean, default: false },
|
|
28
28
|
|
|
29
29
|
});
|
|
30
30
|
|