@timardex/cluemart-shared 1.3.56 → 1.3.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.
@@ -169,6 +169,7 @@ var EnumFoodFlavor = /* @__PURE__ */ ((EnumFoodFlavor3) => {
169
169
  EnumFoodFlavor3["SAVOURY"] = "Savoury";
170
170
  EnumFoodFlavor3["SPICY"] = "Spicy";
171
171
  EnumFoodFlavor3["SWEET"] = "Sweet";
172
+ EnumFoodFlavor3["OTHER"] = "Other";
172
173
  return EnumFoodFlavor3;
173
174
  })(EnumFoodFlavor || {});
174
175
  var EnumResourceType = /* @__PURE__ */ ((EnumResourceType2) => {
@@ -301,6 +302,24 @@ var licenseNiceNames = {
301
302
  ["pro_plus_vendor" /* PRO_PLUS_VENDOR */]: "Pro+ Stallholder",
302
303
  ["standard_partner" /* STANDARD_PARTNER */]: "Partner"
303
304
  };
305
+ var cluemartSocialMedia = [
306
+ {
307
+ link: "https://www.facebook.com/ClueMartApp",
308
+ name: "facebook" /* FACEBOOK */
309
+ },
310
+ {
311
+ link: "https://www.instagram.com/cluemart_app",
312
+ name: "instagram" /* INSTAGRAM */
313
+ },
314
+ {
315
+ link: "https://www.tiktok.com/@cluemart",
316
+ name: "tiktok" /* TIKTOK */
317
+ },
318
+ {
319
+ link: "https://www.youtube.com/@ClueMart-App-NZ",
320
+ name: "youtube" /* YOUTUBE */
321
+ }
322
+ ];
304
323
 
305
324
  // src/yupSchema/global.ts
306
325
  var nzBankAccountRegex = /^\d{2}-\d{4}-\d{7}-\d{2}$/;
@@ -550,7 +569,7 @@ var paymentInfoSchema = yup2.object({
550
569
  otherwise: (schema) => schema.notRequired()
551
570
  }),
552
571
  link: yup2.string().when("paymentMethod", {
553
- is: (val) => val !== "bank_transfer" /* BANK_TRANSFER */,
572
+ is: (val) => val === "paypal" /* PAYPAL */ || val === "stripe" /* STRIPE */,
554
573
  then: () => normalizedUrlTransform().url("Link must be a valid URL").required("Link is required for PayPal/Stripe"),
555
574
  otherwise: (schema) => schema.notRequired()
556
575
  })