@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.d.mts CHANGED
@@ -762,12 +762,12 @@ type TesterVendor = {
762
762
  tryVisitorFeatures: boolean;
763
763
  completeFeedbackQuestionnaire: boolean;
764
764
  /** Social Media Appearance */
765
- sendPhotoForSocialMedia: boolean;
766
- appearInVideoIntroduction: boolean;
765
+ sendPhotoForSocialMedia?: boolean;
766
+ appearInVideoIntroduction?: boolean;
767
767
  socialMediaFeatureReason?: string;
768
768
  /** Open Questions */
769
- excitementAboutApp: string;
770
- usefulnessExpectations: string;
769
+ excitementAboutApp?: string;
770
+ usefulnessExpectations?: string;
771
771
  testingPeriodConcerns?: string;
772
772
  };
773
773
  };
package/dist/index.d.ts CHANGED
@@ -762,12 +762,12 @@ type TesterVendor = {
762
762
  tryVisitorFeatures: boolean;
763
763
  completeFeedbackQuestionnaire: boolean;
764
764
  /** Social Media Appearance */
765
- sendPhotoForSocialMedia: boolean;
766
- appearInVideoIntroduction: boolean;
765
+ sendPhotoForSocialMedia?: boolean;
766
+ appearInVideoIntroduction?: boolean;
767
767
  socialMediaFeatureReason?: string;
768
768
  /** Open Questions */
769
- excitementAboutApp: string;
770
- usefulnessExpectations: string;
769
+ excitementAboutApp?: string;
770
+ usefulnessExpectations?: string;
771
771
  testingPeriodConcerns?: string;
772
772
  };
773
773
  };
package/dist/index.mjs CHANGED
@@ -5482,16 +5482,16 @@ var testerVendorSchema = yup6.object().shape({
5482
5482
  ).min(1, "At least one market must be provided").required("Markets attended are required"),
5483
5483
  productsOrServices: yup6.string().trim().required("Products or services description is required"),
5484
5484
  questionary: yup6.object().shape({
5485
- appearInVideoIntroduction: yup6.boolean().required("Appear in video introduction is required"),
5485
+ appearInVideoIntroduction: yup6.boolean().optional(),
5486
5486
  applyToAtLeastOneMarket: yup6.boolean().required("Apply to at least one market commitment is required"),
5487
5487
  completeFeedbackQuestionnaire: yup6.boolean().required("Complete feedback questionnaire commitment is required"),
5488
- excitementAboutApp: yup6.string().trim().required("Excitement about app is required"),
5489
- sendPhotoForSocialMedia: yup6.boolean().required("Send photo for social media is required"),
5488
+ excitementAboutApp: yup6.string().trim().optional(),
5489
+ sendPhotoForSocialMedia: yup6.boolean().optional(),
5490
5490
  socialMediaFeatureReason: yup6.string().trim().optional(),
5491
5491
  testingPeriodConcerns: yup6.string().trim().optional(),
5492
5492
  tryVisitorFeatures: yup6.boolean().required("Try visitor features commitment is required"),
5493
5493
  uploadStallProfileFirstWeek: yup6.boolean().required("Upload stall profile first week commitment is required"),
5494
- usefulnessExpectations: yup6.string().trim().required("Usefulness expectations is required")
5494
+ usefulnessExpectations: yup6.string().trim().optional()
5495
5495
  }),
5496
5496
  sellingFrequency: yup6.mixed().oneOf(
5497
5497
  Object.values(VendorSellingFrequency),
@@ -5530,7 +5530,7 @@ var testerSchema = yup6.object().shape({
5530
5530
  event: yup6.object().when("resourceType", {
5531
5531
  is: (resourceType) => resourceType === "event" /* EVENT */,
5532
5532
  otherwise: (schema) => schema.nullable().optional(),
5533
- then: () => testerEventSchema.required("Event information is required")
5533
+ then: () => testerEventSchema
5534
5534
  }),
5535
5535
  firstName: yup6.string().required("First name is required"),
5536
5536
  lastName: yup6.string().required("Last name is required"),
@@ -5541,7 +5541,7 @@ var testerSchema = yup6.object().shape({
5541
5541
  // skip empty values
5542
5542
  ),
5543
5543
  osType: yup6.mixed().oneOf(Object.values(EnumOSPlatform), "Please select Android or iOS").required("OS Type is required"),
5544
- privacyConsent: yup6.boolean().oneOf([true], "You must accept the privacy policy").required("Privacy consent is required"),
5544
+ privacyConsent: yup6.boolean().oneOf([true], "You must accept the Privacy Policy").required("Privacy consent is required"),
5545
5545
  region: yup6.string().required("Region is required"),
5546
5546
  resourceType: yup6.mixed().oneOf(
5547
5547
  Object.values(EnumResourceType),
@@ -5550,7 +5550,7 @@ var testerSchema = yup6.object().shape({
5550
5550
  vendor: yup6.object().when("resourceType", {
5551
5551
  is: (resourceType) => resourceType === "vendor" /* VENDOR */,
5552
5552
  otherwise: (schema) => schema.nullable().optional(),
5553
- then: () => testerVendorSchema.required("Stallholder information is required")
5553
+ then: () => testerVendorSchema
5554
5554
  })
5555
5555
  });
5556
5556