payservedb 9.2.4 → 9.2.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payservedb",
3
- "version": "9.2.4",
3
+ "version": "9.2.5",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -22,7 +22,7 @@ const userSchema = new mongoose.Schema({
22
22
  type: String,
23
23
  required: false
24
24
  },
25
- type: {
25
+ type: {
26
26
  type: String,
27
27
  required: [true, 'Type is required'],
28
28
  enum: ['Company', 'Project Manager', 'Universal', 'Core', 'Resident', 'Landlord', 'Supplier', 'Customer_Support', 'Customer'],
@@ -125,6 +125,12 @@ const userSchema = new mongoose.Schema({
125
125
  }
126
126
  }
127
127
  },
128
+ canReceiveReports: {
129
+ water: { type: Boolean, default: false },
130
+ levy: { type: Boolean, default: false },
131
+ power: { type: Boolean, default: false },
132
+ lease: { type: Boolean, default: false },
133
+ },
128
134
  kyc: {
129
135
 
130
136
  Id: {