@timardex/cluemart-server-shared 1.0.57 → 1.0.58

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/dist/index.mjs CHANGED
@@ -6809,6 +6809,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor3) => {
6809
6809
  EnumFoodFlavor3["SAVOURY"] = "Savoury";
6810
6810
  EnumFoodFlavor3["SPICY"] = "Spicy";
6811
6811
  EnumFoodFlavor3["SWEET"] = "Sweet";
6812
+ EnumFoodFlavor3["OTHER"] = "Other";
6812
6813
  return EnumFoodFlavor3;
6813
6814
  })(EnumFoodFlavor || {});
6814
6815
  var EnumResourceType = /* @__PURE__ */ ((EnumResourceType22) => {
@@ -10250,7 +10251,7 @@ var paymentInfoSchema = create$3({
10250
10251
  otherwise: (schema13) => schema13.notRequired()
10251
10252
  }),
10252
10253
  link: create$6().when("paymentMethod", {
10253
- is: (val) => val !== "bank_transfer",
10254
+ is: (val) => val === "paypal" || val === "stripe",
10254
10255
  then: () => normalizedUrlTransform().url("Link must be a valid URL").required("Link is required for PayPal/Stripe"),
10255
10256
  otherwise: (schema13) => schema13.notRequired()
10256
10257
  })
@@ -11192,7 +11193,7 @@ schema3.index({ isRead: 1, userId: 1 });
11192
11193
  schema3.index({ createdAt: -1, userId: 1 });
11193
11194
  var NotificationModel = mongoose6.models.Notification || mongoose6.model("Notification", schema3);
11194
11195
 
11195
- // node_modules/@timardex/cluemart-shared/dist/chunk-IXPWY6CU.mjs
11196
+ // node_modules/@timardex/cluemart-shared/dist/chunk-OBQRGWV3.mjs
11196
11197
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
11197
11198
  EnumOSPlatform22["ANDROID"] = "android";
11198
11199
  EnumOSPlatform22["IOS"] = "ios";