@francesco_ksh/app-ksh-mgd-schemas 2.6.1 → 2.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.
package/models/Order.js CHANGED
@@ -217,6 +217,8 @@ const orderSchema = new Schema(
217
217
  // 'usps',
218
218
  // 'dhl',
219
219
  // 'lugg',
220
+ // 'blueTruck',
221
+ // readyCloud',
220
222
  // ],
221
223
  },
222
224
  fcDeliveryId: {
@@ -39,7 +39,7 @@ const promotionSchema = new Schema(
39
39
  {
40
40
  paymentMethod: {
41
41
  type: String,
42
- enum: ['accountBalance', 'paymentMethod'],
42
+ enum: ['accountBalance', 'paymentMethod', 'promotionCredits'],
43
43
  required: true,
44
44
  },
45
45
  stripePaymentId: {
package/models/Store.js CHANGED
@@ -344,6 +344,10 @@ const storeSchema = new Schema(
344
344
  type: Boolean,
345
345
  default: true,
346
346
  },
347
+ blueTruck: {
348
+ type: Boolean,
349
+ default: true,
350
+ },
347
351
  goShare: {
348
352
  type: Boolean,
349
353
  default: true,
package/models/User.js CHANGED
@@ -482,6 +482,9 @@ const userSchema = new Schema(
482
482
  },
483
483
  },
484
484
 
485
+ promotionCredits: {
486
+ type: Number,
487
+ },
485
488
  isTestUser: {
486
489
  type: Boolean,
487
490
  default: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@francesco_ksh/app-ksh-mgd-schemas",
3
- "version": "2.6.1",
3
+ "version": "2.6.3",
4
4
  "description": "Mongoose schema definitions",
5
5
  "main": "index.js",
6
6
  "repository": {