flykup_model_production 1.0.25 → 1.0.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.
@@ -245,7 +245,8 @@ const orderSchema = new mongoose.Schema(
245
245
  'RETURN_RECEIVED',
246
246
  'REFUNDED',
247
247
  'REPLACEMENT_SHIPPED',
248
- 'REPLACEMENT_DELIVERED'
248
+ 'REPLACEMENT_DELIVERED',
249
+ 'PAYMENT_FAILED'
249
250
  ],
250
251
  // default: 'ORDERED', // Default should be the initial state
251
252
  required: true
@@ -256,6 +257,12 @@ const orderSchema = new mongoose.Schema(
256
257
  required: true
257
258
  },
258
259
  sourceRefId: String,
260
+ showId: {
261
+ type: mongoose.Schema.Types.ObjectId,
262
+ ref: 'shows',
263
+ default: null,
264
+ index: true
265
+ },
259
266
  deliveryCharge: {
260
267
  type: Number,
261
268
  default: 40
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flykup_model_production",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "private": false,