@timardex/cluemart-server-shared 1.0.105 → 1.0.108

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.
@@ -6717,11 +6717,9 @@ var EnumInviteStatus = /* @__PURE__ */ ((EnumInviteStatus22) => {
6717
6717
  EnumInviteStatus22["COMPLETED"] = "Completed";
6718
6718
  EnumInviteStatus22["EXPIRED"] = "Expired";
6719
6719
  EnumInviteStatus22["NO_STATUS"] = "No_Status";
6720
- EnumInviteStatus22["PAID"] = "Paid";
6721
6720
  EnumInviteStatus22["PENDING"] = "Pending";
6722
6721
  EnumInviteStatus22["REJECTED"] = "Rejected";
6723
6722
  EnumInviteStatus22["UNAVAILABLE"] = "Unavailable";
6724
- EnumInviteStatus22["WAITING"] = "Waiting";
6725
6723
  return EnumInviteStatus22;
6726
6724
  })(EnumInviteStatus || {});
6727
6725
  var EnumChatReportReason = /* @__PURE__ */ ((EnumChatReportReason22) => {
@@ -7020,13 +7018,15 @@ var companyContactFields = [
7020
7018
  ];
7021
7019
  var loginFields = [
7022
7020
  {
7023
- ...emailField
7021
+ ...emailField,
7022
+ required: true
7024
7023
  },
7025
7024
  {
7026
7025
  helperText: "Enter password",
7027
7026
  keyboardType: "default",
7028
7027
  name: "password",
7029
7028
  placeholder: "Password",
7029
+ required: true,
7030
7030
  secureTextEntry: true
7031
7031
  }
7032
7032
  ];
@@ -7035,29 +7035,41 @@ var registerFields = [
7035
7035
  helperText: "Enter first name",
7036
7036
  keyboardType: "default",
7037
7037
  name: "firstName",
7038
- placeholder: "First Name"
7038
+ placeholder: "First Name",
7039
+ required: true
7039
7040
  },
7040
7041
  {
7041
7042
  helperText: "Enter last name",
7042
7043
  keyboardType: "default",
7043
7044
  name: "lastName",
7044
- placeholder: "Last Name"
7045
+ placeholder: "Last Name",
7046
+ required: true
7045
7047
  },
7046
7048
  {
7047
- ...emailField
7049
+ ...emailField,
7050
+ required: true
7048
7051
  },
7049
7052
  {
7050
7053
  helperText: "Enter password",
7051
7054
  keyboardType: "default",
7052
7055
  name: "password",
7053
7056
  placeholder: "Password",
7057
+ required: true,
7054
7058
  secureTextEntry: true
7059
+ },
7060
+ {
7061
+ helperText: "Promotional code (optional)",
7062
+ keyboardType: "default",
7063
+ name: "promoCode",
7064
+ placeholder: "Promotional Code",
7065
+ required: false
7055
7066
  }
7056
7067
  ];
7057
7068
  var requestPasswordResetFields = [
7058
7069
  {
7059
7070
  ...emailField,
7060
- helperText: "Enter email address to reset your password"
7071
+ helperText: "Enter email address to reset your password",
7072
+ required: true
7061
7073
  }
7062
7074
  ];
7063
7075
  var validateVerificationTokenFields = [
@@ -7070,7 +7082,8 @@ var validateVerificationTokenFields = [
7070
7082
  helperText: "Enter the Verification code sent to you by email",
7071
7083
  keyboardType: "number-pad",
7072
7084
  name: "verificationToken",
7073
- placeholder: "Verification code"
7085
+ placeholder: "Verification code",
7086
+ required: true
7074
7087
  }
7075
7088
  ];
7076
7089
  var profileFields = [
@@ -10467,10 +10480,10 @@ var EnumAdStyle = /* @__PURE__ */ ((EnumAdStyle3) => {
10467
10480
  return EnumAdStyle3;
10468
10481
  })(EnumAdStyle || {});
10469
10482
  var adResourceSchema = create$3({
10470
- adDescription: create$6().nullable().trim().required("Ad description is required").max(100, "Ad description must be at most 100 characters"),
10483
+ adDescription: create$6().nullable().trim().required("Ad description is required").max(150, "Ad description must be at most 150 characters"),
10471
10484
  adImage: create$6().nullable().required("Ad image is required"),
10472
10485
  adStyle: create$8().nullable().oneOf(Object.values(EnumAdStyle), "Please select a valid ad style").required("Ad style is required"),
10473
- adTitle: create$6().nullable().trim().required("Ad title is required").max(25, "Ad title must be at most 25 characters"),
10486
+ adTitle: create$6().nullable().trim().required("Ad title is required").max(30, "Ad title must be at most 30 characters"),
10474
10487
  adType: create$8().nullable().oneOf(Object.values(EnumAdType), "Please select a valid ad type").required("Ad type is required"),
10475
10488
  resourceId: create$6().nullable().required("Resource ID is required"),
10476
10489
  resourceName: create$6().nullable().required("Resource name is required"),
@@ -11336,7 +11349,7 @@ schema4.index({ isRead: 1, userId: 1 });
11336
11349
  schema4.index({ createdAt: -1, userId: 1 });
11337
11350
  var NotificationModel = import_mongoose8.default.models.Notification || import_mongoose8.default.model("Notification", schema4);
11338
11351
 
11339
- // node_modules/@timardex/cluemart-shared/dist/chunk-LDO4DRWY.mjs
11352
+ // node_modules/@timardex/cluemart-shared/dist/chunk-USQKKCIA.mjs
11340
11353
  var EnumOSPlatform2 = /* @__PURE__ */ ((EnumOSPlatform22) => {
11341
11354
  EnumOSPlatform22["ANDROID"] = "android";
11342
11355
  EnumOSPlatform22["IOS"] = "ios";