payservedb 5.5.4 → 5.5.6

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": "5.5.4",
3
+ "version": "5.5.6",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -16,6 +16,11 @@ const FacilityEmailDetailsSchema = mongoose.Schema({
16
16
  type: String,
17
17
  required: true
18
18
  },
19
+ senderName:{
20
+ type:String,
21
+ required:true,
22
+ default:''
23
+ },
19
24
  user: {
20
25
  type: String,
21
26
  required: true
@@ -23,6 +23,10 @@ const waterMeterSchema = new mongoose.Schema({
23
23
  type: mongoose.Schema.Types.ObjectId,
24
24
  ref: 'Facility',
25
25
  },
26
+ facilityName: {
27
+ type: String,
28
+ trim: true
29
+ },
26
30
  unitId: {
27
31
  type: mongoose.Schema.Types.ObjectId,
28
32
  ref: 'Unit',
@@ -80,7 +84,7 @@ const waterMeterSchema = new mongoose.Schema({
80
84
  type: Boolean,
81
85
  default: false
82
86
  },
83
- concentratorSerialNumber: {
87
+ concentratorSerialNumber: {
84
88
  type: String
85
89
  },
86
90
  valveType: { // Specific to smart meters