payservedb 10.2.7 → 10.2.8

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": "10.2.7",
3
+ "version": "10.2.8",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -110,6 +110,20 @@ const visitLogSchema = new mongoose.Schema({
110
110
 
111
111
  rawOCR: mongoose.Schema.Types.Mixed
112
112
  },
113
+ termsAcceptance: {
114
+ accepted: {
115
+ type: Boolean,
116
+ default: false
117
+ },
118
+ signature: {
119
+ type: String,
120
+ default: null
121
+ },
122
+ signedAt: {
123
+ type: Date,
124
+ default: null
125
+ }
126
+ },
113
127
  }, {
114
128
  timestamps: true // Automatically add createdAt and updatedAt fields
115
129
  });