flykup_model_development 3.1.23 → 3.1.25
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/models/order.modal.js +14 -0
- package/models/seller.model.js +2 -0
- package/package.json +1 -1
package/models/order.modal.js
CHANGED
|
@@ -515,6 +515,20 @@ const orderSchema = new mongoose.Schema(
|
|
|
515
515
|
width: Number,
|
|
516
516
|
height: Number
|
|
517
517
|
},
|
|
518
|
+
tracking: {
|
|
519
|
+
lastSyncedAt: Date,
|
|
520
|
+
currentStatus: String,
|
|
521
|
+
statusCode: String,
|
|
522
|
+
progressPercentage: Number,
|
|
523
|
+
currentLocation: String,
|
|
524
|
+
estimatedDelivery: Date,
|
|
525
|
+
trackingTimeline: [{
|
|
526
|
+
date: Date,
|
|
527
|
+
status: String,
|
|
528
|
+
location: String,
|
|
529
|
+
icon: String
|
|
530
|
+
}]
|
|
531
|
+
},
|
|
518
532
|
volumetricWeight: Number
|
|
519
533
|
},
|
|
520
534
|
pickupAddresses: [{
|
package/models/seller.model.js
CHANGED
|
@@ -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
|