picker-db 3.9.6 → 3.9.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.
@@ -552,6 +552,7 @@ module.exports = (connection) => {
552
552
  default: 0,
553
553
  },
554
554
  providerFeeNoMarkup: { type: Number, min: 0 },
555
+ restartPenaltyFee: { type: Number, default: 0 },
555
556
  },
556
557
  pendingAmount: {
557
558
  type: Number,
@@ -829,6 +830,8 @@ module.exports = (connection) => {
829
830
  totalReassignments: { type: Number, default: 0 },
830
831
  assignManually: { type: Number, default: 0 },
831
832
  restartSearch: { type: Number, default: 0 },
833
+ restartByBusiness: { type: Number, default: 0 },
834
+ restartByBusinessWithPenalty: { type: Number, default: 0 },
832
835
  },
833
836
  bookingAutoAccepted: {
834
837
  type: Boolean,
@@ -868,6 +871,9 @@ module.exports = (connection) => {
868
871
  },
869
872
  scrapperFail: {
870
873
  type: Boolean
874
+ },
875
+ usesCustomerSupportLink: {
876
+ type: Boolean,
871
877
  }
872
878
  }, { timestamps: true });
873
879
 
@@ -15,7 +15,6 @@ module.exports = (connection) => {
15
15
  workspaceID: { type: connection.base.Schema.ObjectId, index: true, required: true },
16
16
  businessID: { type: connection.base.Schema.ObjectId, index: true, required: true },
17
17
  externalBookingId: { type: String },
18
- carName: { type: String },
19
18
  }, { timestamps: false });
20
19
 
21
20
  return MiniBookingSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "picker-db",
3
- "version": "3.9.6",
3
+ "version": "3.9.8",
4
4
  "description": "Picker DB services",
5
5
  "main": "index.js",
6
6
  "scripts": {