flykup_model_development 3.1.23 → 3.1.26

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.
@@ -502,7 +502,21 @@ const orderSchema = new mongoose.Schema(
502
502
  cancellationEligibility: {
503
503
  eligible: Boolean,
504
504
  reason: String
505
- }
505
+ },
506
+ tracking: {
507
+ lastSyncedAt: Date,
508
+ currentStatus: String,
509
+ statusCode: String,
510
+ progressPercentage: Number,
511
+ currentLocation: String,
512
+ estimatedDelivery: Date,
513
+ trackingTimeline: [{
514
+ date: Date,
515
+ status: String,
516
+ location: String,
517
+ icon: String
518
+ }]
519
+ },
506
520
  },
507
521
  packageDetails: {
508
522
  totalWeight: Number,
@@ -515,6 +529,7 @@ const orderSchema = new mongoose.Schema(
515
529
  width: Number,
516
530
  height: Number
517
531
  },
532
+
518
533
  volumetricWeight: Number
519
534
  },
520
535
  pickupAddresses: [{
@@ -113,6 +113,8 @@ const SellerSchema = new mongoose.Schema(
113
113
  fssaiCertificateFileName: {
114
114
  type: String
115
115
  },
116
+ bisCertificateFileName: { type: String, default: null }, // New BIS certificate
117
+ qualityCertificateFileName: { type: String, default: null }, // New Quality certificate
116
118
  productCatalog: {
117
119
  link: { type: String },
118
120
  file: { type: String }, // for old sellers
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flykup_model_development",
3
- "version": "3.1.23",
3
+ "version": "3.1.26",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "private": false,