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

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.js CHANGED
@@ -534,7 +534,6 @@ const orderSchema = new Schema(
534
534
  sellerAlreadyPaidOut: {
535
535
  type: Boolean,
536
536
  },
537
-
538
537
  deliveryUpgrade: {
539
538
  deliveryType: {
540
539
  type: String,
package/models/Store.js CHANGED
@@ -352,6 +352,18 @@ const storeSchema = new Schema(
352
352
  type: Boolean,
353
353
  default: true,
354
354
  },
355
+ ups: {
356
+ type: Boolean,
357
+ default: true,
358
+ },
359
+ usps: {
360
+ type: Boolean,
361
+ default: true,
362
+ },
363
+ dhl: {
364
+ type: Boolean,
365
+ default: true,
366
+ },
355
367
  fedExAllowedCategory: {
356
368
  isAll: {
357
369
  type: Boolean,
@@ -382,6 +394,16 @@ const storeSchema = new Schema(
382
394
  default: 0,
383
395
  },
384
396
  },
397
+ parcelPackagingFee: {
398
+ isTrue: {
399
+ type: Boolean,
400
+ default: false,
401
+ },
402
+ amount: {
403
+ type: Number,
404
+ default: 0,
405
+ },
406
+ },
385
407
  },
386
408
 
387
409
  offered: {
package/models/User.js CHANGED
@@ -7,6 +7,14 @@ const userSchema = new Schema(
7
7
  type: String,
8
8
  required: true,
9
9
  },
10
+ eligibleForEarlyPayout: {
11
+ isTrue: {
12
+ type: Boolean,
13
+ },
14
+ optedIn: {
15
+ type: Boolean,
16
+ },
17
+ },
10
18
  slug: {
11
19
  type: String,
12
20
  unique: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@francesco_ksh/app-ksh-mgd-schemas",
3
- "version": "2.2.4",
3
+ "version": "2.2.6",
4
4
  "description": "Mongoose schema definitions",
5
5
  "main": "index.js",
6
6
  "repository": {