payservedb 5.6.8 → 5.7.0

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/index.js CHANGED
@@ -167,6 +167,7 @@ const models = {
167
167
  BookingConfig: require("./src/models/bookingconfig"),
168
168
  BookingAnalytics: require("./src/models/bookinganalytics"),
169
169
  BookingInvoice: require("./src/models/booking_invoice"),
170
+ BankDetails: require("./src/models/bankdetails"),
170
171
  RevenueRecord: require("./src/models/bookingrevenuerecord"),
171
172
  GLAccount: require("./src/models/gl_accounts"),
172
173
  GLEntry: require("./src/models/gl_entries"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payservedb",
3
- "version": "5.6.8",
3
+ "version": "5.7.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -75,6 +75,14 @@ const ticketSchema = new mongoose.Schema({
75
75
  type: String,
76
76
  required: false,
77
77
  },
78
+ isRead: {
79
+ type: Boolean,
80
+ default: false
81
+ },
82
+ readAt: {
83
+ type: Date,
84
+ default: null
85
+ },
78
86
  services: [
79
87
  {
80
88
  description: {