payservedb 9.5.6 → 9.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": "9.5.6",
3
+ "version": "9.5.7",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -85,8 +85,18 @@ const visitLogSchema = new mongoose.Schema({
85
85
  ref: 'Facility',
86
86
  required: true // Ensures a facilityId is always provided
87
87
  },
88
- idAttachment: {
89
- type: String,
88
+ idDocument: {
89
+ imageUrl: String,
90
+
91
+ documentType: String,
92
+
93
+ idNumber: String,
94
+
95
+ fullName: String,
96
+
97
+ nationality: String,
98
+
99
+ rawOCR: mongoose.Schema.Types.Mixed
90
100
  },
91
101
  }, {
92
102
  timestamps: true // Automatically add createdAt and updatedAt fields