@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.
@@ -30,7 +30,7 @@ import {
30
30
  resourceRelationsSchema,
31
31
  termsAgreementSchema,
32
32
  userLicenseSchema
33
- } from "../chunk-B4VLYNG4.mjs";
33
+ } from "../chunk-2W6GLZ2Z.mjs";
34
34
  import "../chunk-3QS3WKRC.mjs";
35
35
  export {
36
36
  APP_SETTINGS_ID,
@@ -6850,6 +6850,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor3) => {
6850
6850
  EnumFoodFlavor3["SAVOURY"] = "Savoury";
6851
6851
  EnumFoodFlavor3["SPICY"] = "Spicy";
6852
6852
  EnumFoodFlavor3["SWEET"] = "Sweet";
6853
+ EnumFoodFlavor3["OTHER"] = "Other";
6853
6854
  return EnumFoodFlavor3;
6854
6855
  })(EnumFoodFlavor || {});
6855
6856
  var EnumResourceType = /* @__PURE__ */ ((EnumResourceType22) => {
@@ -10291,7 +10292,7 @@ var paymentInfoSchema = create$3({
10291
10292
  otherwise: (schema13) => schema13.notRequired()
10292
10293
  }),
10293
10294
  link: create$6().when("paymentMethod", {
10294
- is: (val) => val !== "bank_transfer",
10295
+ is: (val) => val === "paypal" || val === "stripe",
10295
10296
  then: () => normalizedUrlTransform().url("Link must be a valid URL").required("Link is required for PayPal/Stripe"),
10296
10297
  otherwise: (schema13) => schema13.notRequired()
10297
10298
  })
@@ -10800,7 +10801,7 @@ async function saveNotificationsInDb(payload) {
10800
10801
  // src/service/sendPushNotifications.ts
10801
10802
  var import_expo_server_sdk = require("expo-server-sdk");
10802
10803
 
10803
- // node_modules/@timardex/cluemart-shared/dist/chunk-IXPWY6CU.mjs
10804
+ // node_modules/@timardex/cluemart-shared/dist/chunk-OBQRGWV3.mjs
10804
10805
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
10805
10806
  EnumOSPlatform22["ANDROID"] = "android";
10806
10807
  EnumOSPlatform22["IOS"] = "ios";