@francesco_ksh/app-ksh-mgd-schemas 2.2.6 → 2.2.9

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.
Files changed (2) hide show
  1. package/models/Order.js +24 -0
  2. package/package.json +1 -1
package/models/Order.js CHANGED
@@ -198,6 +198,16 @@ const orderSchema = new Schema(
198
198
  },
199
199
  deliveryType: {
200
200
  type: String,
201
+ // enum: [
202
+ // 'uShipDelivery',
203
+ // 'GoShare',
204
+ // 'fcDelivery',
205
+ // 'fedExDelivery',
206
+ // 'seller',
207
+ // 'ups',
208
+ // 'usps',
209
+ // 'dhl',
210
+ // ],
201
211
  },
202
212
  fcDeliveryId: {
203
213
  type: String,
@@ -446,6 +456,20 @@ const orderSchema = new Schema(
446
456
  trackingLink: {
447
457
  type: String,
448
458
  },
459
+ shippingLabelLink: {
460
+ type: String,
461
+ },
462
+ parcelShippingMetadata: {
463
+ shipmentId: {
464
+ type: String,
465
+ },
466
+ trackingNumber: {
467
+ type: String,
468
+ },
469
+ serviceCode: {
470
+ type: String,
471
+ },
472
+ },
449
473
  bolLink: {
450
474
  type: String,
451
475
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@francesco_ksh/app-ksh-mgd-schemas",
3
- "version": "2.2.6",
3
+ "version": "2.2.9",
4
4
  "description": "Mongoose schema definitions",
5
5
  "main": "index.js",
6
6
  "repository": {