@dhyasama/totem-models 9.88.0 → 9.89.1

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.
@@ -32,9 +32,6 @@ module.exports = function(mongoose, config) {
32
32
 
33
33
  fileName: { type: String, trim: true },
34
34
 
35
- // file contents, base64 encoded for postmark
36
- content: { type: String, trim: true },
37
-
38
35
  // file type
39
36
  contentType: { type: String, trim: true },
40
37
 
@@ -8,6 +8,9 @@ module.exports = function(mongoose, config) {
8
8
 
9
9
  const LimitedPartnerReportGenerator = new Schema({
10
10
 
11
+ // Customer running the report
12
+ customer: { type: Schema.ObjectId, ref: 'Organization', required: true },
13
+
11
14
  // the fund the files are associated to
12
15
  fund: { type: Schema.ObjectId, ref: 'Fund', required: true },
13
16
 
@@ -26,9 +29,6 @@ module.exports = function(mongoose, config) {
26
29
  // the file name
27
30
  fileName: { type: String, trim: true },
28
31
 
29
- // file contents, base64 encoded for postmark
30
- content: { type: String, trim: true },
31
-
32
32
  // file type
33
33
  contentType: { type: String, trim: true },
34
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "9.88.0",
3
+ "version": "9.89.1",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",