picker-db 3.6.1 → 3.6.3

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.
@@ -504,7 +504,10 @@ module.exports = (connection) => {
504
504
  companyPaymentBusiness: { type: Number, default: 0 },
505
505
  companyPaymentDriver: { type: Number, default: 0 },
506
506
  providerFee: { type: Number, min: 0 },
507
+ businessOrderAmount: { type: Number, min: 0 },
507
508
  providerFeeNoMarkup: { type: Number, min: 0 },
509
+ operationBonus: { type: Number, default: 0 },
510
+ businessDeliveryFee: { type: Number, default: 0 },
508
511
  },
509
512
  pendingAmount: {
510
513
  type: Number,
@@ -554,6 +557,10 @@ module.exports = (connection) => {
554
557
  type: Number,
555
558
  default: 0,
556
559
  },
560
+ exactDistance: {
561
+ type: Number,
562
+ default: 0,
563
+ },
557
564
  },
558
565
  regionID: {
559
566
  type: connection.base.Schema.ObjectId,
@@ -689,6 +696,10 @@ module.exports = (connection) => {
689
696
  isLinkToDeliver: {
690
697
  type: Boolean,
691
698
  },
699
+ usedGoogleAddress: {
700
+ type: String,
701
+ default: false
702
+ }
692
703
  }, { timestamps: true });
693
704
 
694
705
  BookingSchema.pre("save", function (next) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "picker-db",
3
- "version": "3.6.1",
3
+ "version": "3.6.3",
4
4
  "description": "Picker DB services",
5
5
  "main": "index.js",
6
6
  "scripts": {