payservedb 9.4.1 → 9.4.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.4.1",
3
+ "version": "9.4.2",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -34,6 +34,23 @@ const CustomerSchema = new mongoose.Schema({
34
34
  default: null,
35
35
  description: "KRA PIN for tax identification (eTims integration)",
36
36
  },
37
+ digitax: {
38
+ customerId: {
39
+ type: String,
40
+ default: null
41
+ },
42
+ synced: {
43
+ type: Boolean,
44
+ default: false
45
+ },
46
+ syncedAt: Date,
47
+ errorMessage: String,
48
+ attempts: {
49
+ type: Number,
50
+ default: 0
51
+ },
52
+ lastAttemptAt: Date
53
+ },
37
54
  nextOfKin: [
38
55
  {
39
56
  name: {