payservedb 9.6.7 → 9.6.9

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.6.7",
3
+ "version": "9.6.9",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -34,6 +34,10 @@ const visitLogSchema = new mongoose.Schema({
34
34
  type: String,
35
35
  required: false
36
36
  },
37
+ commonArea: {
38
+ type: String,
39
+ default: null
40
+ },
37
41
  startTime: {
38
42
  type: String, // Changed to Date for better handling of time
39
43
  required: true
@@ -66,7 +70,7 @@ const visitLogSchema = new mongoose.Schema({
66
70
  status: {
67
71
  type: String,
68
72
  required: true,
69
- enum: ['Visit Confirmation', 'Scheduled', 'Checked In', 'Checked Out', 'Cancelled'] // Define valid statuses
73
+ enum: ['Allowed', 'Visit Confirmation', 'Scheduled', 'Checked In', 'Checked Out', 'Cancelled'] // Define valid statuses
70
74
  // Define valid statuses
71
75
  },
72
76
  vehicle: {
@@ -26,6 +26,10 @@ const visitorSchema = new mongoose.Schema({
26
26
  type: String,
27
27
  required: false
28
28
  },
29
+ commonArea: {
30
+ type: String,
31
+ default: null
32
+ },
29
33
  status: {
30
34
  type: String,
31
35
  required: false