flykup_model_development 3.1.20 → 3.1.22

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.
@@ -477,7 +477,7 @@ const orderSchema = new mongoose.Schema(
477
477
  logisticsResponse: mongoose.Schema.Types.Mixed,
478
478
  shipmentBookingStatus: {
479
479
  type: String,
480
- enum: ['pending', 'booked', 'failed'],
480
+ enum: ['pending', 'booked', 'failed','cancelled'],
481
481
  default: 'pending'
482
482
  },
483
483
  shipmentBookingError: String,
@@ -37,8 +37,8 @@ const ShoppableVideoSchema = new Schema(
37
37
  required: false,
38
38
  trim: true,
39
39
  },
40
- category: { type: String, required: true, trim: true },
41
- subcategory: { type: String, required: true, trim: true },
40
+ category: { type: String, required: true, trim: false},
41
+ subcategory: { type: String, required: true, trim: false },
42
42
  // thumbnailURL might be set initially or updated by the processing service
43
43
  isThumbnailEnabled: {
44
44
  type: Boolean,
@@ -48,7 +48,7 @@ const ShoppableVideoSchema = new Schema(
48
48
  type: String,
49
49
  default: null
50
50
  },
51
- isProductsAvailable : { type : Boolean, required : true, default : true },
51
+ isProductsAvailable : { type : Boolean, required : true, default : false },
52
52
  productsListed: {
53
53
  type: [
54
54
  {
@@ -107,11 +107,7 @@ const showSchema = new Schema(
107
107
  ref: 'users',
108
108
  default: [],
109
109
  },
110
- currentAuction: {
111
- type: mongoose.Schema.Types.ObjectId,
112
- ref: 'auctions',
113
- default: null
114
- },
110
+
115
111
  buyNowProducts: {
116
112
  type: [
117
113
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flykup_model_development",
3
- "version": "3.1.20",
3
+ "version": "3.1.22",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "private": false,