payservedb 9.5.1 → 9.5.2

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.1",
3
+ "version": "9.5.2",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -60,6 +60,30 @@ const facilitySchema = new mongoose.Schema(
60
60
  unique: true,
61
61
  trim: true,
62
62
  },
63
+ digitax: {
64
+
65
+ enabled: {
66
+ type: Boolean,
67
+ default: false
68
+ },
69
+
70
+ apiKey: {
71
+ type: String,
72
+ default: null
73
+ },
74
+
75
+ connected: {
76
+ type: Boolean,
77
+ default: false
78
+ },
79
+
80
+ connectedAt: Date,
81
+
82
+ lastTestedAt: Date,
83
+
84
+ lastError: String
85
+
86
+ },
63
87
  },
64
88
  {
65
89
  timestamps: true, // Automatically add createdAt and updatedAt fields