shuttlepro-shared 1.4.87 → 1.4.88

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.
@@ -10,11 +10,6 @@ const AttributeSchema = new Schema(
10
10
  ref: "Workspace",
11
11
  default: null,
12
12
  },
13
- websiteId: {
14
- type: Schema.Types.ObjectId,
15
- ref: "Website",
16
- default: null,
17
- },
18
13
  oldId: { type: String, default: "" },
19
14
  createdBy: { type: Schema.Types.ObjectId, ref: "User", default: null },
20
15
  updatedBy: { type: Schema.Types.ObjectId, ref: "User", default: null },
@@ -11,11 +11,6 @@ const CategorySchema = new Schema(
11
11
  ref: "Workspace",
12
12
  default: null,
13
13
  },
14
- websiteId: {
15
- type: Schema.Types.ObjectId,
16
- ref: "Website",
17
- default: null,
18
- },
19
14
  oldId: { type: String, default: "" },
20
15
  webCategoryId: { type: Number, default: null },
21
16
  parentId: { type: Schema.Types.ObjectId, ref: "Category", default: null },
@@ -19,11 +19,6 @@ const LocationSchema = new Schema(
19
19
  ref: "Workspace",
20
20
  default: null,
21
21
  },
22
- websiteId: {
23
- type: Schema.Types.ObjectId,
24
- ref: "Website",
25
- default: null,
26
- },
27
22
  legacy: { type: Boolean, default: false },
28
23
  name: { type: String, default: "" },
29
24
  isDeleted: { type: Boolean, default: false },
package/models/Order.js CHANGED
@@ -104,11 +104,6 @@ const OrderSchema = new Schema(
104
104
  ref: "Workspace",
105
105
  default: null,
106
106
  },
107
- websiteId: {
108
- type: Schema.Types.ObjectId,
109
- ref: "Website",
110
- default: null,
111
- },
112
107
  orderType: { type: String, default: "" },
113
108
  barCode: { type: String, default: "" },
114
109
  quantity: { type: Number, default: 0 },
@@ -31,11 +31,6 @@ const OrderProductSchema = new Schema(
31
31
  ref: "Workspace",
32
32
  default: null,
33
33
  },
34
- websiteId: {
35
- type: Schema.Types.ObjectId,
36
- ref: "Website",
37
- default: null,
38
- },
39
34
  },
40
35
  { timestamps: true, toJSON: { virtuals: true }, toObject: { virtuals: true } }
41
36
  );
@@ -16,11 +16,6 @@ const ProductAttributeSchema = new mongoose.Schema(
16
16
  ref: "Workspace",
17
17
  default: null,
18
18
  },
19
- websiteId: {
20
- type: Schema.Types.ObjectId,
21
- ref: "Website",
22
- default: null,
23
- },
24
19
  isDeleted: { type: Boolean, default: false },
25
20
  position: { type: String, default: "1" },
26
21
  },
@@ -13,11 +13,6 @@ const VariantLocationSchema = new Schema(
13
13
  ref: "Workspace",
14
14
  default: null,
15
15
  },
16
- websiteId: {
17
- type: Schema.Types.ObjectId,
18
- ref: "Website",
19
- default: null,
20
- },
21
16
  productId: { type: Schema.Types.ObjectId, ref: "Product", default: null },
22
17
  locationId: { type: Schema.Types.ObjectId, ref: "Location", default: null },
23
18
  webVariantLocationId: { type: Number, default: null },
@@ -234,6 +234,7 @@ const workspaceSchema = new mongoose.Schema(
234
234
  default: 30,
235
235
  },
236
236
  isDeleted: { type: Boolean, default: false },
237
+ isPaymentDue: { type: Boolean, default: false },
237
238
  ticketsByConversation: { type: Boolean, default: false },
238
239
  businessHours: {
239
240
  startTime: { type: String, default: "" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shuttlepro-shared",
3
- "version": "1.4.87",
3
+ "version": "1.4.88",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/dump.rdb DELETED
Binary file