payservedb 5.5.5 → 5.5.7

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.5",
3
+ "version": "5.5.7",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -23,10 +23,6 @@ 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
- },
30
26
  unitId: {
31
27
  type: mongoose.Schema.Types.ObjectId,
32
28
  ref: 'Unit',
@@ -84,9 +80,13 @@ const waterMeterSchema = new mongoose.Schema({
84
80
  type: Boolean,
85
81
  default: false
86
82
  },
87
- concentratorSerialNumber: {
83
+ concentratorSerialNumber: {
88
84
  type: String
89
85
  },
86
+ imageUrl: {
87
+ type: String,
88
+ trim: true
89
+ },
90
90
  valveType: { // Specific to smart meters
91
91
  type: String,
92
92
  enum: ['automatic', 'manual'],