payservedb 8.3.7 → 8.3.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": "8.3.7",
3
+ "version": "8.3.8",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -167,6 +167,19 @@ const ticketSchema = new mongoose.Schema({
167
167
  type: Number,
168
168
  default: 0,
169
169
  },
170
+ approvedBy: {
171
+ type: mongoose.Schema.Types.ObjectId,
172
+ ref: 'User',
173
+ required: false,
174
+ },
175
+ approvedAt: {
176
+ type: Date,
177
+ required: false,
178
+ },
179
+ approved: {
180
+ type: Boolean,
181
+ default: false,
182
+ },
170
183
  }, {
171
184
  timestamps: true,
172
185
  });