payservedb 1.9.4 → 1.9.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": "1.9.4",
3
+ "version": "1.9.6",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -29,7 +29,7 @@ const userSchema = new mongoose.Schema({
29
29
  role: {
30
30
  type: String,
31
31
  required: [true, 'Role is required'],
32
- enum: ['admin', 'editor', 'user', 'guard'],
32
+ enum: ['admin', 'editor', 'user', 'guard','family'],
33
33
  },
34
34
  kyc: {
35
35
 
@@ -37,6 +37,10 @@ const userSchema = new mongoose.Schema({
37
37
  type: String
38
38
  }
39
39
  },
40
+ isEnabled:{
41
+ type:Boolean,
42
+ required:false
43
+ },
40
44
  companies: [{
41
45
  type: mongoose.Schema.Types.ObjectId,
42
46
  ref: 'Company',