@timardex/cluemart-server-shared 1.0.38 → 1.0.39

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.
@@ -8611,13 +8611,16 @@ var TESTER_FIELDS_FRAGMENT = gql`
8611
8611
  active
8612
8612
  approved
8613
8613
  businessName
8614
+ consents {
8615
+ betaTestConsent
8616
+ privacyConsent
8617
+ }
8614
8618
  createdAt
8615
8619
  email
8616
8620
  firstName
8617
8621
  lastName
8618
8622
  mobilePhone
8619
8623
  osType
8620
- privacyConsent
8621
8624
  region
8622
8625
  resourceType
8623
8626
  updatedAt
@@ -10155,6 +10158,10 @@ var testerEventSchema = create$3().shape({
10155
10158
  });
10156
10159
  var testerSchema = create$3().shape({
10157
10160
  businessName: create$6().required("Business name is required"),
10161
+ consents: create$3().shape({
10162
+ betaTestConsent: create$7().oneOf([true], "You must consent to beta testing").required("Beta test consent is required"),
10163
+ privacyConsent: create$7().oneOf([true], "You must accept the Privacy Policy").required("Privacy consent is required")
10164
+ }),
10158
10165
  email: emailRequiredSchema,
10159
10166
  event: create$3().when("resourceType", {
10160
10167
  is: (resourceType) => resourceType === "event",
@@ -10170,7 +10177,6 @@ var testerSchema = create$3().shape({
10170
10177
  // skip empty values
10171
10178
  ),
10172
10179
  osType: create$8().oneOf(Object.values(EnumOSPlatform), "Please select Android or iOS").required("OS Type is required"),
10173
- privacyConsent: create$7().oneOf([true], "You must accept the Privacy Policy").required("Privacy consent is required"),
10174
10180
  region: create$6().required("Region is required"),
10175
10181
  resourceType: create$8().oneOf(
10176
10182
  Object.values(EnumResourceType),
@@ -10992,6 +10998,13 @@ var TesterSchema = new MongooseSchema9(
10992
10998
  active: { default: false, required: true, type: Boolean },
10993
10999
  approved: { default: false, required: true, type: Boolean },
10994
11000
  businessName: { required: true, type: String },
11001
+ consents: {
11002
+ required: true,
11003
+ type: {
11004
+ betaTestConsent: { required: true, type: Boolean },
11005
+ privacyConsent: { required: true, type: Boolean }
11006
+ }
11007
+ },
10995
11008
  email: { required: true, type: String },
10996
11009
  event: { required: false, type: TesterEventsSchema },
10997
11010
  firstName: { required: true, type: String },
@@ -11002,7 +11015,6 @@ var TesterSchema = new MongooseSchema9(
11002
11015
  required: true,
11003
11016
  type: String
11004
11017
  },
11005
- privacyConsent: { required: true, type: Boolean },
11006
11018
  region: { required: true, type: String },
11007
11019
  resourceType: {
11008
11020
  enum: Object.values(EnumResourceType),
@@ -11465,4 +11477,4 @@ react/cjs/react.development.js:
11465
11477
  * LICENSE file in the root directory of this source tree.
11466
11478
  *)
11467
11479
  */
11468
- //# sourceMappingURL=chunk-3HQNZ3KW.mjs.map
11480
+ //# sourceMappingURL=chunk-4SS4T6XE.mjs.map