@timardex/cluemart-shared 1.2.87 → 1.2.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.
package/dist/index.cjs CHANGED
@@ -5733,16 +5733,16 @@ var testerVendorSchema = yup6.object().shape({
5733
5733
  ).min(1, "At least one market must be provided").required("Markets attended are required"),
5734
5734
  productsOrServices: yup6.string().trim().required("Products or services description is required"),
5735
5735
  questionary: yup6.object().shape({
5736
- appearInVideoIntroduction: yup6.boolean().required("Appear in video introduction is required"),
5736
+ appearInVideoIntroduction: yup6.boolean().optional(),
5737
5737
  applyToAtLeastOneMarket: yup6.boolean().required("Apply to at least one market commitment is required"),
5738
5738
  completeFeedbackQuestionnaire: yup6.boolean().required("Complete feedback questionnaire commitment is required"),
5739
- excitementAboutApp: yup6.string().trim().required("Excitement about app is required"),
5740
- sendPhotoForSocialMedia: yup6.boolean().required("Send photo for social media is required"),
5739
+ excitementAboutApp: yup6.string().trim().optional(),
5740
+ sendPhotoForSocialMedia: yup6.boolean().optional(),
5741
5741
  socialMediaFeatureReason: yup6.string().trim().optional(),
5742
5742
  testingPeriodConcerns: yup6.string().trim().optional(),
5743
5743
  tryVisitorFeatures: yup6.boolean().required("Try visitor features commitment is required"),
5744
5744
  uploadStallProfileFirstWeek: yup6.boolean().required("Upload stall profile first week commitment is required"),
5745
- usefulnessExpectations: yup6.string().trim().required("Usefulness expectations is required")
5745
+ usefulnessExpectations: yup6.string().trim().optional()
5746
5746
  }),
5747
5747
  sellingFrequency: yup6.mixed().oneOf(
5748
5748
  Object.values(VendorSellingFrequency),
@@ -5781,7 +5781,7 @@ var testerSchema = yup6.object().shape({
5781
5781
  event: yup6.object().when("resourceType", {
5782
5782
  is: (resourceType) => resourceType === "event" /* EVENT */,
5783
5783
  otherwise: (schema) => schema.nullable().optional(),
5784
- then: () => testerEventSchema.required("Event information is required")
5784
+ then: () => testerEventSchema
5785
5785
  }),
5786
5786
  firstName: yup6.string().required("First name is required"),
5787
5787
  lastName: yup6.string().required("Last name is required"),
@@ -5792,7 +5792,7 @@ var testerSchema = yup6.object().shape({
5792
5792
  // skip empty values
5793
5793
  ),
5794
5794
  osType: yup6.mixed().oneOf(Object.values(EnumOSPlatform), "Please select Android or iOS").required("OS Type is required"),
5795
- privacyConsent: yup6.boolean().oneOf([true], "You must accept the privacy policy").required("Privacy consent is required"),
5795
+ privacyConsent: yup6.boolean().oneOf([true], "You must accept the Privacy Policy").required("Privacy consent is required"),
5796
5796
  region: yup6.string().required("Region is required"),
5797
5797
  resourceType: yup6.mixed().oneOf(
5798
5798
  Object.values(EnumResourceType),
@@ -5801,7 +5801,7 @@ var testerSchema = yup6.object().shape({
5801
5801
  vendor: yup6.object().when("resourceType", {
5802
5802
  is: (resourceType) => resourceType === "vendor" /* VENDOR */,
5803
5803
  otherwise: (schema) => schema.nullable().optional(),
5804
- then: () => testerVendorSchema.required("Stallholder information is required")
5804
+ then: () => testerVendorSchema
5805
5805
  })
5806
5806
  });
5807
5807