@experts_hub/shared 1.0.600 → 1.0.603

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.js CHANGED
@@ -285,7 +285,6 @@ __export(index_exports, {
285
285
  ModeOfWork: () => ModeOfWork,
286
286
  NOTIFICATION_PATTERN: () => NOTIFICATION_PATTERN,
287
287
  NatureOfWork: () => NatureOfWork,
288
- NatureOfWorkDto: () => NatureOfWorkDto2,
289
288
  NewCandidateDto: () => NewCandidateDto2,
290
289
  NotificationRMQAdapter: () => NotificationRMQAdapter,
291
290
  NotificationTCPAdapter: () => NotificationTCPAdapter,
@@ -393,6 +392,7 @@ __export(index_exports, {
393
392
  UpdateClientHiringModeEnum: () => UpdateClientHiringModeEnum,
394
393
  UpdateClientHiringTypeEnum: () => UpdateClientHiringTypeEnum,
395
394
  UpdateCmsDto: () => UpdateCmsDto,
395
+ UpdateCmsStatusDto: () => UpdateCmsStatusDto,
396
396
  UpdateCompanyMemberDto: () => UpdateCompanyMemberDto,
397
397
  UpdateCompanyProfileDto: () => UpdateCompanyProfileDto,
398
398
  UpdateCompanyRoleDto: () => UpdateCompanyRoleDto,
@@ -2175,11 +2175,11 @@ __decorateClass([
2175
2175
 
2176
2176
  // src/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.ts
2177
2177
  var import_class_validator56 = require("class-validator");
2178
- var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto3) => {
2179
- NatureOfWorkDto3["FREELANCE"] = "FREELANCE";
2180
- NatureOfWorkDto3["FTE"] = "FTE";
2181
- NatureOfWorkDto3["BOTH"] = "BOTH";
2182
- return NatureOfWorkDto3;
2178
+ var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
2179
+ NatureOfWorkDto2["FREELANCE"] = "FREELANCE";
2180
+ NatureOfWorkDto2["FTE"] = "FTE";
2181
+ NatureOfWorkDto2["BOTH"] = "BOTH";
2182
+ return NatureOfWorkDto2;
2183
2183
  })(NatureOfWorkDto || {});
2184
2184
  var ModeOfWorkDto = /* @__PURE__ */ ((ModeOfWorkDto2) => {
2185
2185
  ModeOfWorkDto2["ONSITE"] = "ONSITE";
@@ -2459,7 +2459,8 @@ var NOTIFICATION_PATTERN = {
2459
2459
  handleAiInterviewResultErrorNotification: "handle.ai.interview.result.error.notification",
2460
2460
  handleAiInterviewRecordingErrorNotification: "handle.ai.interview.recording.error.notification",
2461
2461
  handleAiAssessmentInterviewResultErrorNotification: "handle.ai.assessment.interview.result.error.notification",
2462
- handleAiAssessmentInterviewRecordingErrorNotification: "handle.ai.assessment.interview.recording.error.notification"
2462
+ handleAiAssessmentInterviewRecordingErrorNotification: "handle.ai.assessment.interview.recording.error.notification",
2463
+ handleSubAdminAccountCreatedNotification: "handle.subadmin.account.created.notification"
2463
2464
  };
2464
2465
  var SMS_PATTERN = {
2465
2466
  sendTest: "sms.send.test",
@@ -7609,12 +7610,6 @@ var ADMIN_FREELANCER_PATTERN = {
7609
7610
  // src/modules/freelancer-admin/dto/create-freelancer.dto.ts
7610
7611
  var import_class_validator74 = require("class-validator");
7611
7612
  var import_class_transformer9 = require("class-transformer");
7612
- var NatureOfWorkDto2 = /* @__PURE__ */ ((NatureOfWorkDto3) => {
7613
- NatureOfWorkDto3["FREELANCE"] = "FREELANCE";
7614
- NatureOfWorkDto3["FTE"] = "FTE";
7615
- NatureOfWorkDto3["BOTH"] = "BOTH";
7616
- return NatureOfWorkDto3;
7617
- })(NatureOfWorkDto2 || {});
7618
7613
  var NatureOfWorkEnum = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
7619
7614
  NatureOfWorkEnum3["FTE"] = "FTE";
7620
7615
  NatureOfWorkEnum3["FREELANCE"] = "FREELANCE";
@@ -7630,35 +7625,172 @@ var ModeOfWorkEnum = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
7630
7625
  var CreateFreelancerDto = class {
7631
7626
  };
7632
7627
  __decorateClass([
7628
+ (0, import_class_validator74.IsOptional)(),
7633
7629
  (0, import_class_validator74.IsString)({ message: "Full name must be a string" }),
7634
- (0, import_class_validator74.MaxLength)(100, { message: "Full name must not exceed 100 characters" })
7630
+ (0, import_class_validator74.MaxLength)(100, { message: "Full name must not exceed 100 characters" }),
7631
+ (0, import_class_transformer9.Transform)(({ value }) => {
7632
+ if (Array.isArray(value)) return value[0]?.trim();
7633
+ return typeof value === "string" ? value.trim() : value;
7634
+ })
7635
7635
  ], CreateFreelancerDto.prototype, "fullName", 2);
7636
7636
  __decorateClass([
7637
- (0, import_class_validator74.IsEmail)({}, { message: "Invalid email address" })
7637
+ (0, import_class_validator74.IsOptional)(),
7638
+ (0, import_class_validator74.IsEmail)({}, { message: "Invalid email address" }),
7639
+ (0, import_class_transformer9.Transform)(({ value }) => {
7640
+ if (Array.isArray(value)) return value[0]?.trim();
7641
+ return typeof value === "string" ? value.trim() : value;
7642
+ })
7638
7643
  ], CreateFreelancerDto.prototype, "email", 2);
7639
7644
  __decorateClass([
7640
- (0, import_class_validator74.IsString)({ message: "Mobile code must be a string (e.g., +1)" })
7645
+ (0, import_class_validator74.IsOptional)(),
7646
+ (0, import_class_validator74.IsString)({ message: "Mobile code must be a string (e.g., +1)" }),
7647
+ (0, import_class_transformer9.Transform)(({ value }) => {
7648
+ if (Array.isArray(value)) return value[0]?.trim();
7649
+ return typeof value === "string" ? value.trim() : value;
7650
+ })
7641
7651
  ], CreateFreelancerDto.prototype, "mobileCode", 2);
7642
7652
  __decorateClass([
7643
- (0, import_class_validator74.IsString)({ message: "Mobile must be a string (e.g., 1243253534)" })
7653
+ (0, import_class_validator74.IsOptional)(),
7654
+ (0, import_class_validator74.IsString)({ message: "Mobile must be a string (e.g., 1243253534)" }),
7655
+ (0, import_class_transformer9.Transform)(({ value }) => {
7656
+ if (Array.isArray(value)) return value[0]?.trim();
7657
+ return typeof value === "string" ? value.trim() : value;
7658
+ })
7644
7659
  ], CreateFreelancerDto.prototype, "mobile", 2);
7645
7660
  __decorateClass([
7646
- (0, import_class_validator74.IsNotEmpty)({ message: "Please enter password." }),
7647
- (0, import_class_validator74.MinLength)(6),
7648
- (0, import_class_validator74.MaxLength)(32),
7661
+ (0, import_class_validator74.IsNotEmpty)({ message: "Please enter address." }),
7662
+ (0, import_class_validator74.IsString)({ message: "address must be a string" }),
7663
+ (0, import_class_transformer9.Transform)(({ value }) => {
7664
+ if (Array.isArray(value)) {
7665
+ const val = value[0];
7666
+ return val && typeof val === "string" ? val.trim() : val;
7667
+ }
7668
+ return typeof value === "string" ? value.trim() : value;
7669
+ })
7670
+ ], CreateFreelancerDto.prototype, "address", 2);
7671
+ __decorateClass([
7672
+ (0, import_class_validator74.IsOptional)(),
7673
+ (0, import_class_validator74.IsString)({ message: "addressLine must be a string" }),
7674
+ (0, import_class_transformer9.Transform)(({ value }) => {
7675
+ if (Array.isArray(value)) {
7676
+ const val = value[0];
7677
+ if (!val || val === "") return void 0;
7678
+ return typeof val === "string" ? val.trim() : val;
7679
+ }
7680
+ if (value === null || value === void 0 || value === "") return void 0;
7681
+ return typeof value === "string" ? value.trim() : value;
7682
+ })
7683
+ ], CreateFreelancerDto.prototype, "addressLine", 2);
7684
+ __decorateClass([
7685
+ (0, import_class_validator74.IsOptional)(),
7686
+ (0, import_class_validator74.IsInt)({ message: "countryId must be an integer" }),
7687
+ (0, import_class_transformer9.Transform)(({ value }) => {
7688
+ if (Array.isArray(value)) value = value[0];
7689
+ const num = Number(value);
7690
+ return isNaN(num) ? void 0 : num;
7691
+ })
7692
+ ], CreateFreelancerDto.prototype, "countryId", 2);
7693
+ __decorateClass([
7694
+ (0, import_class_validator74.IsOptional)(),
7695
+ (0, import_class_validator74.IsInt)({ message: "stateId must be an integer" }),
7696
+ (0, import_class_transformer9.Transform)(({ value }) => {
7697
+ if (Array.isArray(value)) value = value[0];
7698
+ const num = Number(value);
7699
+ return isNaN(num) ? void 0 : num;
7700
+ })
7701
+ ], CreateFreelancerDto.prototype, "stateId", 2);
7702
+ __decorateClass([
7703
+ (0, import_class_validator74.IsOptional)(),
7704
+ (0, import_class_validator74.IsInt)({ message: "cityId must be an integer" }),
7705
+ (0, import_class_transformer9.Transform)(({ value }) => {
7706
+ if (Array.isArray(value)) value = value[0];
7707
+ const num = Number(value);
7708
+ return isNaN(num) ? void 0 : num;
7709
+ })
7710
+ ], CreateFreelancerDto.prototype, "cityId", 2);
7711
+ __decorateClass([
7712
+ (0, import_class_validator74.IsOptional)(),
7713
+ (0, import_class_validator74.IsString)({ message: "postalCode must be a string" }),
7714
+ (0, import_class_transformer9.Transform)(({ value }) => {
7715
+ if (Array.isArray(value)) {
7716
+ const val = value[0];
7717
+ if (!val || val === "") return void 0;
7718
+ return typeof val === "string" ? val.trim() : val;
7719
+ }
7720
+ if (value === null || value === void 0 || value === "") return void 0;
7721
+ return typeof value === "string" ? value.trim() : value;
7722
+ })
7723
+ ], CreateFreelancerDto.prototype, "postalCode", 2);
7724
+ __decorateClass([
7725
+ (0, import_class_validator74.IsOptional)(),
7726
+ (0, import_class_validator74.IsString)({ message: "about must be a string" }),
7727
+ (0, import_class_transformer9.Transform)(({ value }) => {
7728
+ if (Array.isArray(value)) {
7729
+ const val = value[0];
7730
+ if (!val || val === "") return void 0;
7731
+ return typeof val === "string" ? val.trim() : val;
7732
+ }
7733
+ if (value === null || value === void 0 || value === "") return void 0;
7734
+ return typeof value === "string" ? value.trim() : value;
7735
+ })
7736
+ ], CreateFreelancerDto.prototype, "about", 2);
7737
+ __decorateClass([
7738
+ (0, import_class_validator74.IsOptional)(),
7739
+ (0, import_class_validator74.IsString)({ message: "designation must be a string" }),
7740
+ (0, import_class_transformer9.Transform)(({ value }) => {
7741
+ if (Array.isArray(value)) {
7742
+ const val = value[0];
7743
+ if (!val || val === "") return void 0;
7744
+ return typeof val === "string" ? val.trim() : val;
7745
+ }
7746
+ if (value === null || value === void 0 || value === "") return void 0;
7747
+ return typeof value === "string" ? value.trim() : value;
7748
+ })
7749
+ ], CreateFreelancerDto.prototype, "designation", 2);
7750
+ __decorateClass([
7751
+ (0, import_class_validator74.IsOptional)(),
7752
+ (0, import_class_validator74.IsNumber)({}, { message: "experience must be a number" }),
7753
+ (0, import_class_transformer9.Transform)(({ value }) => {
7754
+ if (Array.isArray(value)) value = value[0];
7755
+ const num = Number(value);
7756
+ return isNaN(num) ? void 0 : num;
7757
+ })
7758
+ ], CreateFreelancerDto.prototype, "experience", 2);
7759
+ __decorateClass([
7760
+ (0, import_class_validator74.IsOptional)(),
7761
+ (0, import_class_transformer9.Transform)(({ value }) => {
7762
+ if (Array.isArray(value)) value = value[0];
7763
+ return value === null || value === "" ? void 0 : value;
7764
+ }),
7765
+ (0, import_class_validator74.MinLength)(6, { message: "Password must be at least 6 characters." }),
7766
+ (0, import_class_validator74.MaxLength)(32, { message: "Password must not exceed 32 characters." }),
7649
7767
  (0, import_class_validator74.Matches)(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
7650
7768
  message: "Password must include letters, numbers and symbols."
7651
7769
  })
7652
7770
  ], CreateFreelancerDto.prototype, "password", 2);
7653
7771
  __decorateClass([
7654
7772
  (0, import_class_validator74.IsNotEmpty)({ message: "Please enter confirm password." }),
7655
- Match("confirmPassword", { message: "Passwords do not match" })
7773
+ Match("confirmPassword", { message: "Passwords do not match" }),
7774
+ (0, import_class_transformer9.Transform)(({ value }) => {
7775
+ if (Array.isArray(value)) {
7776
+ const val = value[0];
7777
+ return val && typeof val === "string" ? val.trim() : val;
7778
+ }
7779
+ return typeof value === "string" ? value.trim() : value;
7780
+ })
7656
7781
  ], CreateFreelancerDto.prototype, "confirmPassword", 2);
7657
7782
  __decorateClass([
7658
- (0, import_class_validator74.IsBoolean)({ message: "Developer flag must be true or false" }),
7659
- (0, import_class_transformer9.Type)(() => Boolean)
7783
+ (0, import_class_validator74.IsOptional)(),
7784
+ (0, import_class_transformer9.Transform)(({ value }) => {
7785
+ if (Array.isArray(value)) value = value[0];
7786
+ if (value === "true" || value === true) return true;
7787
+ if (value === "false" || value === false) return false;
7788
+ return void 0;
7789
+ }),
7790
+ (0, import_class_validator74.IsBoolean)({ message: "Developer flag must be true or false" })
7660
7791
  ], CreateFreelancerDto.prototype, "developer", 2);
7661
7792
  __decorateClass([
7793
+ (0, import_class_validator74.IsOptional)(),
7662
7794
  (0, import_class_validator74.IsEnum)(NatureOfWorkEnum, {
7663
7795
  message: `Nature of work must be one of: ${Object.values(
7664
7796
  NatureOfWorkEnum
@@ -7666,19 +7798,43 @@ __decorateClass([
7666
7798
  })
7667
7799
  ], CreateFreelancerDto.prototype, "natureOfWork", 2);
7668
7800
  __decorateClass([
7669
- (0, import_class_validator74.ValidateIf)((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */ || dto.NatureOfWorkDto === "BOTH" /* BOTH */),
7670
- (0, import_class_validator74.IsNotEmpty)({ message: "Please enter expected hourly compensation." })
7801
+ (0, import_class_validator74.ValidateIf)(
7802
+ (dto) => dto.natureOfWork === "FREELANCE" /* FREELANCE */ || dto.natureOfWork === "BOTH" /* BOTH */
7803
+ ),
7804
+ (0, import_class_validator74.IsOptional)(),
7805
+ (0, import_class_validator74.IsNumber)({}, { message: "Expected hourly compensation must be a number" }),
7806
+ (0, import_class_transformer9.Transform)(({ value }) => {
7807
+ if (Array.isArray(value)) value = value[0];
7808
+ const num = Number(value);
7809
+ return isNaN(num) ? void 0 : num;
7810
+ })
7671
7811
  ], CreateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
7672
7812
  __decorateClass([
7673
- (0, import_class_validator74.ValidateIf)((dto) => dto.NatureOfWorkDto === "BOTH" /* BOTH */),
7674
- (0, import_class_validator74.IsNotEmpty)({ message: "Please enter expected annual compensation." })
7813
+ (0, import_class_validator74.ValidateIf)(
7814
+ (dto) => dto.natureOfWork === "FTE" /* FTE */ || dto.natureOfWork === "BOTH" /* BOTH */
7815
+ ),
7816
+ (0, import_class_validator74.IsOptional)(),
7817
+ (0, import_class_validator74.IsNumber)({}, { message: "Expected annual compensation must be a number" }),
7818
+ (0, import_class_transformer9.Transform)(({ value }) => {
7819
+ if (Array.isArray(value)) value = value[0];
7820
+ const num = Number(value);
7821
+ return isNaN(num) ? void 0 : num;
7822
+ })
7675
7823
  ], CreateFreelancerDto.prototype, "expectedAnnualCompensation", 2);
7676
7824
  __decorateClass([
7677
- (0, import_class_validator74.ValidateIf)((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */),
7825
+ (0, import_class_validator74.ValidateIf)(
7826
+ (dto) => dto.natureOfWork === "FREELANCE" /* FREELANCE */ || dto.natureOfWork === "BOTH" /* BOTH */
7827
+ ),
7828
+ (0, import_class_validator74.IsOptional)(),
7678
7829
  (0, import_class_validator74.IsInt)({ message: "Please enter valid weekly availability hours (integer)." }),
7679
- (0, import_class_validator74.IsNotEmpty)({ message: "Please enter weekly availability hours" })
7830
+ (0, import_class_transformer9.Transform)(({ value }) => {
7831
+ if (Array.isArray(value)) value = value[0];
7832
+ const num = Number(value);
7833
+ return isNaN(num) ? void 0 : num;
7834
+ })
7680
7835
  ], CreateFreelancerDto.prototype, "numberOfHours", 2);
7681
7836
  __decorateClass([
7837
+ (0, import_class_validator74.IsOptional)(),
7682
7838
  (0, import_class_validator74.IsEnum)(ModeOfWorkEnum, {
7683
7839
  message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum).join(
7684
7840
  ", "
@@ -7686,76 +7842,97 @@ __decorateClass([
7686
7842
  })
7687
7843
  ], CreateFreelancerDto.prototype, "modeOfWork", 2);
7688
7844
  __decorateClass([
7689
- (0, import_class_validator74.IsBoolean)({ message: "isImmediateJoiner must be true or false" }),
7690
- (0, import_class_transformer9.Type)(() => Boolean)
7845
+ (0, import_class_validator74.IsOptional)(),
7846
+ (0, import_class_transformer9.Transform)(({ value }) => {
7847
+ if (Array.isArray(value)) value = value[0];
7848
+ if (value === "true" || value === true) return true;
7849
+ if (value === "false" || value === false) return false;
7850
+ return void 0;
7851
+ }),
7852
+ (0, import_class_validator74.IsBoolean)({ message: "isImmediateJoiner must be true or false" })
7691
7853
  ], CreateFreelancerDto.prototype, "isImmediateJoiner", 2);
7692
7854
  __decorateClass([
7693
7855
  (0, import_class_validator74.ValidateIf)((o) => o.isImmediateJoiner === false),
7694
- (0, import_class_validator74.IsNotEmpty)({ message: "Please enter availability to join." })
7856
+ (0, import_class_validator74.IsOptional)(),
7857
+ (0, import_class_validator74.IsString)({ message: "availabilityToJoin must be a string" }),
7858
+ (0, import_class_transformer9.Transform)(({ value }) => {
7859
+ if (Array.isArray(value)) {
7860
+ const val = value[0];
7861
+ if (!val || val === "") return void 0;
7862
+ return typeof val === "string" ? val.trim() : val;
7863
+ }
7864
+ if (value === null || value === void 0 || value === "") return void 0;
7865
+ return typeof value === "string" ? value.trim() : value;
7866
+ })
7695
7867
  ], CreateFreelancerDto.prototype, "availabilityToJoin", 2);
7696
7868
  __decorateClass([
7697
7869
  (0, import_class_validator74.IsOptional)(),
7698
- (0, import_class_validator74.IsUrl)({}, { message: "LinkedIn profile link must be a valid URL" })
7870
+ (0, import_class_validator74.IsUrl)({}, { message: "LinkedIn profile link must be a valid URL" }),
7871
+ (0, import_class_transformer9.Transform)(({ value }) => {
7872
+ if (Array.isArray(value)) {
7873
+ const val = value[0];
7874
+ if (!val || val === "") return void 0;
7875
+ return typeof val === "string" ? val.trim() : val;
7876
+ }
7877
+ if (value === null || value === void 0 || value === "") return void 0;
7878
+ return typeof value === "string" ? value.trim() : value;
7879
+ })
7699
7880
  ], CreateFreelancerDto.prototype, "linkedinProfileLink", 2);
7700
7881
  __decorateClass([
7701
7882
  (0, import_class_validator74.IsOptional)(),
7702
- (0, import_class_validator74.IsString)({ message: "Kaggle profile link must be a string" })
7883
+ (0, import_class_validator74.IsString)({ message: "Kaggle profile link must be a string" }),
7884
+ (0, import_class_transformer9.Transform)(({ value }) => {
7885
+ if (Array.isArray(value)) {
7886
+ const val = value[0];
7887
+ if (!val || val === "") return void 0;
7888
+ return typeof val === "string" ? val.trim() : val;
7889
+ }
7890
+ if (value === null || value === void 0 || value === "") return void 0;
7891
+ return typeof value === "string" ? value.trim() : value;
7892
+ })
7703
7893
  ], CreateFreelancerDto.prototype, "kaggleProfileLink", 2);
7704
7894
  __decorateClass([
7705
7895
  (0, import_class_validator74.IsOptional)(),
7706
- (0, import_class_validator74.IsUrl)({}, { message: "GitHub profile link must be a valid URL" })
7896
+ (0, import_class_validator74.IsUrl)({}, { message: "GitHub profile link must be a valid URL" }),
7897
+ (0, import_class_transformer9.Transform)(({ value }) => {
7898
+ if (Array.isArray(value)) {
7899
+ const val = value[0];
7900
+ if (!val || val === "") return void 0;
7901
+ return typeof val === "string" ? val.trim() : val;
7902
+ }
7903
+ if (value === null || value === void 0 || value === "") return void 0;
7904
+ return typeof value === "string" ? value.trim() : value;
7905
+ })
7707
7906
  ], CreateFreelancerDto.prototype, "githubProfileLink", 2);
7708
7907
  __decorateClass([
7709
7908
  (0, import_class_validator74.IsOptional)(),
7710
- (0, import_class_validator74.IsUrl)({}, { message: "StackOverflow profile link must be a valid URL" })
7909
+ (0, import_class_validator74.IsUrl)({}, { message: "StackOverflow profile link must be a valid URL" }),
7910
+ (0, import_class_transformer9.Transform)(({ value }) => {
7911
+ if (Array.isArray(value)) {
7912
+ const val = value[0];
7913
+ if (!val || val === "") return void 0;
7914
+ return typeof val === "string" ? val.trim() : val;
7915
+ }
7916
+ if (value === null || value === void 0 || value === "") return void 0;
7917
+ return typeof value === "string" ? value.trim() : value;
7918
+ })
7711
7919
  ], CreateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
7712
7920
  __decorateClass([
7713
7921
  (0, import_class_validator74.IsOptional)(),
7714
- (0, import_class_validator74.IsUrl)({}, { message: "Portfolio link must be a valid URL" })
7922
+ (0, import_class_validator74.IsUrl)({}, { message: "Portfolio link must be a valid URL" }),
7923
+ (0, import_class_transformer9.Transform)(({ value }) => {
7924
+ if (Array.isArray(value)) {
7925
+ const val = value[0];
7926
+ if (!val || val === "") return void 0;
7927
+ return typeof val === "string" ? val.trim() : val;
7928
+ }
7929
+ if (value === null || value === void 0 || value === "") return void 0;
7930
+ return typeof value === "string" ? value.trim() : value;
7931
+ })
7715
7932
  ], CreateFreelancerDto.prototype, "portfolioLink", 2);
7716
7933
  __decorateClass([
7717
7934
  (0, import_class_validator74.IsOptional)()
7718
7935
  ], CreateFreelancerDto.prototype, "file", 2);
7719
- __decorateClass([
7720
- (0, import_class_validator74.IsOptional)(),
7721
- (0, import_class_validator74.IsString)({ message: "Designation must be a string" })
7722
- ], CreateFreelancerDto.prototype, "designation", 2);
7723
- __decorateClass([
7724
- (0, import_class_validator74.IsOptional)(),
7725
- (0, import_class_validator74.IsNumber)({}, { message: "Experience must be a number" }),
7726
- (0, import_class_transformer9.Type)(() => Number)
7727
- ], CreateFreelancerDto.prototype, "experience", 2);
7728
- __decorateClass([
7729
- (0, import_class_validator74.IsOptional)(),
7730
- (0, import_class_validator74.IsString)({ message: "Address must be a string" })
7731
- ], CreateFreelancerDto.prototype, "address", 2);
7732
- __decorateClass([
7733
- (0, import_class_validator74.IsOptional)(),
7734
- (0, import_class_validator74.IsString)({ message: "Address line must be a string" })
7735
- ], CreateFreelancerDto.prototype, "addressLine", 2);
7736
- __decorateClass([
7737
- (0, import_class_validator74.IsOptional)(),
7738
- (0, import_class_validator74.IsString)({ message: "Postal code must be a string" })
7739
- ], CreateFreelancerDto.prototype, "postalCode", 2);
7740
- __decorateClass([
7741
- (0, import_class_validator74.IsOptional)(),
7742
- (0, import_class_validator74.IsString)({ message: "About must be a string" })
7743
- ], CreateFreelancerDto.prototype, "about", 2);
7744
- __decorateClass([
7745
- (0, import_class_validator74.IsOptional)(),
7746
- (0, import_class_validator74.IsInt)({ message: "Country ID must be an integer" }),
7747
- (0, import_class_transformer9.Type)(() => Number)
7748
- ], CreateFreelancerDto.prototype, "countryId", 2);
7749
- __decorateClass([
7750
- (0, import_class_validator74.IsOptional)(),
7751
- (0, import_class_validator74.IsInt)({ message: "State ID must be an integer" }),
7752
- (0, import_class_transformer9.Type)(() => Number)
7753
- ], CreateFreelancerDto.prototype, "stateId", 2);
7754
- __decorateClass([
7755
- (0, import_class_validator74.IsOptional)(),
7756
- (0, import_class_validator74.IsInt)({ message: "City ID must be an integer" }),
7757
- (0, import_class_transformer9.Type)(() => Number)
7758
- ], CreateFreelancerDto.prototype, "cityId", 2);
7759
7936
 
7760
7937
  // src/modules/freelancer-admin/dto/update-freelancer.dto.ts
7761
7938
  var import_class_validator75 = require("class-validator");
@@ -7777,43 +7954,141 @@ var UpdateFreelancerDto = class {
7777
7954
  __decorateClass([
7778
7955
  (0, import_class_validator75.IsOptional)(),
7779
7956
  (0, import_class_validator75.IsString)({ message: "Full name must be a string" }),
7780
- (0, import_class_validator75.MaxLength)(100, { message: "Full name must not exceed 100 characters" })
7957
+ (0, import_class_validator75.MaxLength)(100, { message: "Full name must not exceed 100 characters" }),
7958
+ (0, import_class_transformer10.Transform)(({ value }) => {
7959
+ if (Array.isArray(value)) return value[0]?.trim();
7960
+ return typeof value === "string" ? value.trim() : value;
7961
+ })
7781
7962
  ], UpdateFreelancerDto.prototype, "fullName", 2);
7782
7963
  __decorateClass([
7783
7964
  (0, import_class_validator75.IsOptional)(),
7784
- (0, import_class_validator75.IsEmail)({}, { message: "Invalid email address" })
7965
+ (0, import_class_validator75.IsEmail)({}, { message: "Invalid email address" }),
7966
+ (0, import_class_transformer10.Transform)(({ value }) => {
7967
+ if (Array.isArray(value)) return value[0]?.trim();
7968
+ return typeof value === "string" ? value.trim() : value;
7969
+ })
7785
7970
  ], UpdateFreelancerDto.prototype, "email", 2);
7786
7971
  __decorateClass([
7787
7972
  (0, import_class_validator75.IsOptional)(),
7788
- (0, import_class_validator75.IsString)({ message: "Mobile code must be a string (e.g., +1)" })
7973
+ (0, import_class_validator75.IsString)({ message: "Mobile code must be a string (e.g., +1)" }),
7974
+ (0, import_class_transformer10.Transform)(({ value }) => {
7975
+ if (Array.isArray(value)) return value[0]?.trim();
7976
+ return typeof value === "string" ? value.trim() : value;
7977
+ })
7789
7978
  ], UpdateFreelancerDto.prototype, "mobileCode", 2);
7790
7979
  __decorateClass([
7791
7980
  (0, import_class_validator75.IsOptional)(),
7792
- (0, import_class_validator75.IsString)({ message: "Mobile must be a string (e.g., 1243253534)" })
7981
+ (0, import_class_validator75.IsString)({ message: "Mobile must be a string (e.g., 1243253534)" }),
7982
+ (0, import_class_transformer10.Transform)(({ value }) => {
7983
+ if (Array.isArray(value)) return value[0]?.trim();
7984
+ return typeof value === "string" ? value.trim() : value;
7985
+ })
7793
7986
  ], UpdateFreelancerDto.prototype, "mobile", 2);
7794
7987
  __decorateClass([
7795
7988
  (0, import_class_validator75.IsNotEmpty)({ message: "Please enter address." }),
7796
- (0, import_class_validator75.IsString)()
7989
+ (0, import_class_validator75.IsString)({ message: "address must be a string" }),
7990
+ (0, import_class_transformer10.Transform)(({ value }) => {
7991
+ if (Array.isArray(value)) {
7992
+ const val = value[0];
7993
+ return val && typeof val === "string" ? val.trim() : val;
7994
+ }
7995
+ return typeof value === "string" ? value.trim() : value;
7996
+ })
7797
7997
  ], UpdateFreelancerDto.prototype, "address", 2);
7798
7998
  __decorateClass([
7799
7999
  (0, import_class_validator75.IsOptional)(),
7800
- (0, import_class_validator75.IsString)()
8000
+ (0, import_class_validator75.IsString)({ message: "addressLine must be a string" }),
8001
+ (0, import_class_transformer10.Transform)(({ value }) => {
8002
+ if (Array.isArray(value)) {
8003
+ const val = value[0];
8004
+ if (!val || val === "") return void 0;
8005
+ return typeof val === "string" ? val.trim() : val;
8006
+ }
8007
+ if (value === null || value === void 0 || value === "") return void 0;
8008
+ return typeof value === "string" ? value.trim() : value;
8009
+ })
7801
8010
  ], UpdateFreelancerDto.prototype, "addressLine", 2);
7802
8011
  __decorateClass([
7803
8012
  (0, import_class_validator75.IsOptional)(),
7804
- (0, import_class_validator75.IsNumber)()
8013
+ (0, import_class_validator75.IsInt)({ message: "countryId must be an integer" }),
8014
+ (0, import_class_transformer10.Transform)(({ value }) => {
8015
+ if (Array.isArray(value)) value = value[0];
8016
+ const num = Number(value);
8017
+ return isNaN(num) ? void 0 : num;
8018
+ })
7805
8019
  ], UpdateFreelancerDto.prototype, "countryId", 2);
7806
8020
  __decorateClass([
7807
8021
  (0, import_class_validator75.IsOptional)(),
7808
- (0, import_class_validator75.IsNumber)()
8022
+ (0, import_class_validator75.IsInt)({ message: "stateId must be an integer" }),
8023
+ (0, import_class_transformer10.Transform)(({ value }) => {
8024
+ if (Array.isArray(value)) value = value[0];
8025
+ const num = Number(value);
8026
+ return isNaN(num) ? void 0 : num;
8027
+ })
7809
8028
  ], UpdateFreelancerDto.prototype, "stateId", 2);
7810
8029
  __decorateClass([
7811
8030
  (0, import_class_validator75.IsOptional)(),
7812
- (0, import_class_validator75.IsNumber)()
8031
+ (0, import_class_validator75.IsInt)({ message: "cityId must be an integer" }),
8032
+ (0, import_class_transformer10.Transform)(({ value }) => {
8033
+ if (Array.isArray(value)) value = value[0];
8034
+ const num = Number(value);
8035
+ return isNaN(num) ? void 0 : num;
8036
+ })
7813
8037
  ], UpdateFreelancerDto.prototype, "cityId", 2);
7814
8038
  __decorateClass([
7815
8039
  (0, import_class_validator75.IsOptional)(),
7816
- (0, import_class_transformer10.Transform)(({ value }) => value === null || value === "" ? void 0 : value),
8040
+ (0, import_class_validator75.IsString)({ message: "postalCode must be a string" }),
8041
+ (0, import_class_transformer10.Transform)(({ value }) => {
8042
+ if (Array.isArray(value)) {
8043
+ const val = value[0];
8044
+ if (!val || val === "") return void 0;
8045
+ return typeof val === "string" ? val.trim() : val;
8046
+ }
8047
+ if (value === null || value === void 0 || value === "") return void 0;
8048
+ return typeof value === "string" ? value.trim() : value;
8049
+ })
8050
+ ], UpdateFreelancerDto.prototype, "postalCode", 2);
8051
+ __decorateClass([
8052
+ (0, import_class_validator75.IsOptional)(),
8053
+ (0, import_class_validator75.IsString)({ message: "about must be a string" }),
8054
+ (0, import_class_transformer10.Transform)(({ value }) => {
8055
+ if (Array.isArray(value)) {
8056
+ const val = value[0];
8057
+ if (!val || val === "") return void 0;
8058
+ return typeof val === "string" ? val.trim() : val;
8059
+ }
8060
+ if (value === null || value === void 0 || value === "") return void 0;
8061
+ return typeof value === "string" ? value.trim() : value;
8062
+ })
8063
+ ], UpdateFreelancerDto.prototype, "about", 2);
8064
+ __decorateClass([
8065
+ (0, import_class_validator75.IsOptional)(),
8066
+ (0, import_class_validator75.IsString)({ message: "designation must be a string" }),
8067
+ (0, import_class_transformer10.Transform)(({ value }) => {
8068
+ if (Array.isArray(value)) {
8069
+ const val = value[0];
8070
+ if (!val || val === "") return void 0;
8071
+ return typeof val === "string" ? val.trim() : val;
8072
+ }
8073
+ if (value === null || value === void 0 || value === "") return void 0;
8074
+ return typeof value === "string" ? value.trim() : value;
8075
+ })
8076
+ ], UpdateFreelancerDto.prototype, "designation", 2);
8077
+ __decorateClass([
8078
+ (0, import_class_validator75.IsOptional)(),
8079
+ (0, import_class_validator75.IsNumber)({}, { message: "experience must be a number" }),
8080
+ (0, import_class_transformer10.Transform)(({ value }) => {
8081
+ if (Array.isArray(value)) value = value[0];
8082
+ const num = Number(value);
8083
+ return isNaN(num) ? void 0 : num;
8084
+ })
8085
+ ], UpdateFreelancerDto.prototype, "experience", 2);
8086
+ __decorateClass([
8087
+ (0, import_class_validator75.IsOptional)(),
8088
+ (0, import_class_transformer10.Transform)(({ value }) => {
8089
+ if (Array.isArray(value)) value = value[0];
8090
+ return value === null || value === "" ? void 0 : value;
8091
+ }),
7817
8092
  (0, import_class_validator75.MinLength)(6, { message: "Password must be at least 6 characters." }),
7818
8093
  (0, import_class_validator75.MaxLength)(32, { message: "Password must not exceed 32 characters." }),
7819
8094
  (0, import_class_validator75.Matches)(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
@@ -7822,8 +8097,13 @@ __decorateClass([
7822
8097
  ], UpdateFreelancerDto.prototype, "password", 2);
7823
8098
  __decorateClass([
7824
8099
  (0, import_class_validator75.IsOptional)(),
7825
- (0, import_class_validator75.IsBoolean)({ message: "Developer flag must be true or false" }),
7826
- (0, import_class_transformer10.Type)(() => Boolean)
8100
+ (0, import_class_transformer10.Transform)(({ value }) => {
8101
+ if (Array.isArray(value)) value = value[0];
8102
+ if (value === "true" || value === true) return true;
8103
+ if (value === "false" || value === false) return false;
8104
+ return void 0;
8105
+ }),
8106
+ (0, import_class_validator75.IsBoolean)({ message: "Developer flag must be true or false" })
7827
8107
  ], UpdateFreelancerDto.prototype, "developer", 2);
7828
8108
  __decorateClass([
7829
8109
  (0, import_class_validator75.IsOptional)(),
@@ -7834,17 +8114,40 @@ __decorateClass([
7834
8114
  })
7835
8115
  ], UpdateFreelancerDto.prototype, "natureOfWork", 2);
7836
8116
  __decorateClass([
7837
- (0, import_class_validator75.ValidateIf)((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */ || dto.NatureOfWorkDto === "BOTH" /* BOTH */),
7838
- (0, import_class_validator75.IsNotEmpty)({ message: "Please enter expected hourly compensation." })
8117
+ (0, import_class_validator75.ValidateIf)(
8118
+ (dto) => dto.natureOfWork === "FREELANCE" /* FREELANCE */ || dto.natureOfWork === "BOTH" /* BOTH */
8119
+ ),
8120
+ (0, import_class_validator75.IsOptional)(),
8121
+ (0, import_class_validator75.IsNumber)({}, { message: "Expected hourly compensation must be a number" }),
8122
+ (0, import_class_transformer10.Transform)(({ value }) => {
8123
+ if (Array.isArray(value)) value = value[0];
8124
+ const num = Number(value);
8125
+ return isNaN(num) ? void 0 : num;
8126
+ })
7839
8127
  ], UpdateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
7840
8128
  __decorateClass([
7841
- (0, import_class_validator75.ValidateIf)((dto) => dto.NatureOfWorkDto === "BOTH" /* BOTH */),
7842
- (0, import_class_validator75.IsNotEmpty)({ message: "Please enter expected annual compensation." })
8129
+ (0, import_class_validator75.ValidateIf)(
8130
+ (dto) => dto.natureOfWork === "FTE" /* FTE */ || dto.natureOfWork === "BOTH" /* BOTH */
8131
+ ),
8132
+ (0, import_class_validator75.IsOptional)(),
8133
+ (0, import_class_validator75.IsNumber)({}, { message: "Expected annual compensation must be a number" }),
8134
+ (0, import_class_transformer10.Transform)(({ value }) => {
8135
+ if (Array.isArray(value)) value = value[0];
8136
+ const num = Number(value);
8137
+ return isNaN(num) ? void 0 : num;
8138
+ })
7843
8139
  ], UpdateFreelancerDto.prototype, "expectedAnnualCompensation", 2);
7844
8140
  __decorateClass([
7845
- (0, import_class_validator75.ValidateIf)((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */),
8141
+ (0, import_class_validator75.ValidateIf)(
8142
+ (dto) => dto.natureOfWork === "FREELANCE" /* FREELANCE */ || dto.natureOfWork === "BOTH" /* BOTH */
8143
+ ),
8144
+ (0, import_class_validator75.IsOptional)(),
7846
8145
  (0, import_class_validator75.IsInt)({ message: "Please enter valid weekly availability hours (integer)." }),
7847
- (0, import_class_validator75.IsNotEmpty)({ message: "Please enter weekly availability hours" })
8146
+ (0, import_class_transformer10.Transform)(({ value }) => {
8147
+ if (Array.isArray(value)) value = value[0];
8148
+ const num = Number(value);
8149
+ return isNaN(num) ? void 0 : num;
8150
+ })
7848
8151
  ], UpdateFreelancerDto.prototype, "numberOfHours", 2);
7849
8152
  __decorateClass([
7850
8153
  (0, import_class_validator75.IsOptional)(),
@@ -7856,32 +8159,92 @@ __decorateClass([
7856
8159
  ], UpdateFreelancerDto.prototype, "modeOfWork", 2);
7857
8160
  __decorateClass([
7858
8161
  (0, import_class_validator75.IsOptional)(),
7859
- (0, import_class_validator75.IsBoolean)({ message: "isImmediateJoiner must be true or false" }),
7860
- (0, import_class_transformer10.Type)(() => Boolean)
8162
+ (0, import_class_transformer10.Transform)(({ value }) => {
8163
+ if (Array.isArray(value)) value = value[0];
8164
+ if (value === "true" || value === true) return true;
8165
+ if (value === "false" || value === false) return false;
8166
+ return void 0;
8167
+ }),
8168
+ (0, import_class_validator75.IsBoolean)({ message: "isImmediateJoiner must be true or false" })
7861
8169
  ], UpdateFreelancerDto.prototype, "isImmediateJoiner", 2);
7862
8170
  __decorateClass([
7863
8171
  (0, import_class_validator75.ValidateIf)((o) => o.isImmediateJoiner === false),
7864
- (0, import_class_validator75.IsNotEmpty)({ message: "Please enter availability to join." })
8172
+ (0, import_class_validator75.IsOptional)(),
8173
+ (0, import_class_validator75.IsString)({ message: "availabilityToJoin must be a string" }),
8174
+ (0, import_class_transformer10.Transform)(({ value }) => {
8175
+ if (Array.isArray(value)) {
8176
+ const val = value[0];
8177
+ if (!val || val === "") return void 0;
8178
+ return typeof val === "string" ? val.trim() : val;
8179
+ }
8180
+ if (value === null || value === void 0 || value === "") return void 0;
8181
+ return typeof value === "string" ? value.trim() : value;
8182
+ })
7865
8183
  ], UpdateFreelancerDto.prototype, "availabilityToJoin", 2);
7866
8184
  __decorateClass([
7867
8185
  (0, import_class_validator75.IsOptional)(),
7868
- (0, import_class_validator75.IsUrl)({}, { message: "LinkedIn profile link must be a valid URL" })
8186
+ (0, import_class_validator75.IsUrl)({}, { message: "LinkedIn profile link must be a valid URL" }),
8187
+ (0, import_class_transformer10.Transform)(({ value }) => {
8188
+ if (Array.isArray(value)) {
8189
+ const val = value[0];
8190
+ if (!val || val === "") return void 0;
8191
+ return typeof val === "string" ? val.trim() : val;
8192
+ }
8193
+ if (value === null || value === void 0 || value === "") return void 0;
8194
+ return typeof value === "string" ? value.trim() : value;
8195
+ })
7869
8196
  ], UpdateFreelancerDto.prototype, "linkedinProfileLink", 2);
7870
8197
  __decorateClass([
7871
8198
  (0, import_class_validator75.IsOptional)(),
7872
- (0, import_class_validator75.IsString)({ message: "Kaggle profile link must be a string" })
8199
+ (0, import_class_validator75.IsString)({ message: "Kaggle profile link must be a string" }),
8200
+ (0, import_class_transformer10.Transform)(({ value }) => {
8201
+ if (Array.isArray(value)) {
8202
+ const val = value[0];
8203
+ if (!val || val === "") return void 0;
8204
+ return typeof val === "string" ? val.trim() : val;
8205
+ }
8206
+ if (value === null || value === void 0 || value === "") return void 0;
8207
+ return typeof value === "string" ? value.trim() : value;
8208
+ })
7873
8209
  ], UpdateFreelancerDto.prototype, "kaggleProfileLink", 2);
7874
8210
  __decorateClass([
7875
8211
  (0, import_class_validator75.IsOptional)(),
7876
- (0, import_class_validator75.IsUrl)({}, { message: "GitHub profile link must be a valid URL" })
8212
+ (0, import_class_validator75.IsUrl)({}, { message: "GitHub profile link must be a valid URL" }),
8213
+ (0, import_class_transformer10.Transform)(({ value }) => {
8214
+ if (Array.isArray(value)) {
8215
+ const val = value[0];
8216
+ if (!val || val === "") return void 0;
8217
+ return typeof val === "string" ? val.trim() : val;
8218
+ }
8219
+ if (value === null || value === void 0 || value === "") return void 0;
8220
+ return typeof value === "string" ? value.trim() : value;
8221
+ })
7877
8222
  ], UpdateFreelancerDto.prototype, "githubProfileLink", 2);
7878
8223
  __decorateClass([
7879
8224
  (0, import_class_validator75.IsOptional)(),
7880
- (0, import_class_validator75.IsUrl)({}, { message: "StackOverflow profile link must be a valid URL" })
8225
+ (0, import_class_validator75.IsUrl)({}, { message: "StackOverflow profile link must be a valid URL" }),
8226
+ (0, import_class_transformer10.Transform)(({ value }) => {
8227
+ if (Array.isArray(value)) {
8228
+ const val = value[0];
8229
+ if (!val || val === "") return void 0;
8230
+ return typeof val === "string" ? val.trim() : val;
8231
+ }
8232
+ if (value === null || value === void 0 || value === "") return void 0;
8233
+ return typeof value === "string" ? value.trim() : value;
8234
+ })
7881
8235
  ], UpdateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
7882
8236
  __decorateClass([
7883
8237
  (0, import_class_validator75.IsOptional)(),
7884
- (0, import_class_validator75.IsUrl)({}, { message: "Portfolio link must be a valid URL" })
8238
+ (0, import_class_validator75.IsUrl)({}, { message: "Portfolio link must be a valid URL" }),
8239
+ (0, import_class_transformer10.Transform)(({ value }) => {
8240
+ if (Array.isArray(value)) {
8241
+ const val = value[0];
8242
+ if (!val || val === "") return void 0;
8243
+ return typeof val === "string" ? val.trim() : val;
8244
+ }
8245
+ if (value === null || value === void 0 || value === "") return void 0;
8246
+ return typeof value === "string" ? value.trim() : value;
8247
+ })
7885
8248
  ], UpdateFreelancerDto.prototype, "portfolioLink", 2);
7886
8249
  __decorateClass([
7887
8250
  (0, import_class_validator75.IsOptional)()
@@ -8255,7 +8618,8 @@ var CMS_PATTERNS = {
8255
8618
  createCms: "cms.create",
8256
8619
  updateCms: "cms.update",
8257
8620
  deleteCms: "cms.delete",
8258
- findCmsById: "cms.fetchById"
8621
+ findCmsById: "cms.fetchById",
8622
+ updateCmsStatus: "cms.update.status"
8259
8623
  };
8260
8624
 
8261
8625
  // src/modules/cms/dto/create-cms.dto.ts
@@ -8273,22 +8637,31 @@ __decorateClass([
8273
8637
  (0, import_class_validator84.IsBoolean)({ message: "Is active must be a boolean value" })
8274
8638
  ], CreateCmsDto.prototype, "isActive", 2);
8275
8639
 
8276
- // src/modules/cms/dto/update-cms.dto.ts
8640
+ // src/modules/cms/dto/update-cms-status.dto.ts
8277
8641
  var import_class_validator85 = require("class-validator");
8642
+ var UpdateCmsStatusDto = class {
8643
+ };
8644
+ __decorateClass([
8645
+ (0, import_class_validator85.IsNotEmpty)({ message: "Please specify cms status." }),
8646
+ (0, import_class_validator85.IsBoolean)({ message: "Is active must be a boolean value" })
8647
+ ], UpdateCmsStatusDto.prototype, "isActive", 2);
8648
+
8649
+ // src/modules/cms/dto/update-cms.dto.ts
8650
+ var import_class_validator86 = require("class-validator");
8278
8651
  var UpdateCmsDto = class {
8279
8652
  };
8280
8653
  __decorateClass([
8281
- (0, import_class_validator85.IsOptional)()
8654
+ (0, import_class_validator86.IsOptional)()
8282
8655
  ], UpdateCmsDto.prototype, "uuid", 2);
8283
8656
  __decorateClass([
8284
- (0, import_class_validator85.IsNotEmpty)({ message: "Please enter name." })
8657
+ (0, import_class_validator86.IsNotEmpty)({ message: "Please enter name." })
8285
8658
  ], UpdateCmsDto.prototype, "title", 2);
8286
8659
  __decorateClass([
8287
- (0, import_class_validator85.IsOptional)()
8660
+ (0, import_class_validator86.IsOptional)()
8288
8661
  ], UpdateCmsDto.prototype, "content", 2);
8289
8662
  __decorateClass([
8290
- (0, import_class_validator85.IsOptional)(),
8291
- (0, import_class_validator85.IsBoolean)({ message: "Is active must be a boolean value" })
8663
+ (0, import_class_validator86.IsOptional)(),
8664
+ (0, import_class_validator86.IsBoolean)({ message: "Is active must be a boolean value" })
8292
8665
  ], UpdateCmsDto.prototype, "isActive", 2);
8293
8666
 
8294
8667
  // src/modules/geographic/pattern/pattern.ts
@@ -8322,7 +8695,7 @@ var ADMIN_JOB_PATTERN = {
8322
8695
 
8323
8696
  // src/modules/job-admin/dto/admin-create-job-information.dto.ts
8324
8697
  var import_class_transformer15 = require("class-transformer");
8325
- var import_class_validator86 = require("class-validator");
8698
+ var import_class_validator87 = require("class-validator");
8326
8699
  var JobLocationEnumDto = /* @__PURE__ */ ((JobLocationEnumDto2) => {
8327
8700
  JobLocationEnumDto2["ONSITE"] = "ONSITE";
8328
8701
  JobLocationEnumDto2["REMOTE"] = "REMOTE";
@@ -8338,91 +8711,91 @@ var TypeOfEmploymentEnumDto = /* @__PURE__ */ ((TypeOfEmploymentEnumDto2) => {
8338
8711
  var AdminCreateJobInformationDto = class {
8339
8712
  };
8340
8713
  __decorateClass([
8341
- (0, import_class_validator86.IsString)({ message: "Job role must be a string." }),
8342
- (0, import_class_validator86.IsNotEmpty)({ message: "Job role is required." })
8714
+ (0, import_class_validator87.IsString)({ message: "Job role must be a string." }),
8715
+ (0, import_class_validator87.IsNotEmpty)({ message: "Job role is required." })
8343
8716
  ], AdminCreateJobInformationDto.prototype, "jobRole", 2);
8344
8717
  __decorateClass([
8345
- (0, import_class_validator86.IsOptional)(),
8346
- (0, import_class_validator86.IsString)({ message: "Note must be a string." })
8718
+ (0, import_class_validator87.IsOptional)(),
8719
+ (0, import_class_validator87.IsString)({ message: "Note must be a string." })
8347
8720
  ], AdminCreateJobInformationDto.prototype, "note", 2);
8348
8721
  __decorateClass([
8349
- (0, import_class_validator86.IsArray)({ message: "Skills must be an array of skill names." }),
8350
- (0, import_class_validator86.ArrayNotEmpty)({ message: "At least one skill must be provided." }),
8351
- (0, import_class_validator86.IsString)({ each: true, message: "Each skill must be a valid string." })
8722
+ (0, import_class_validator87.IsArray)({ message: "Skills must be an array of skill names." }),
8723
+ (0, import_class_validator87.ArrayNotEmpty)({ message: "At least one skill must be provided." }),
8724
+ (0, import_class_validator87.IsString)({ each: true, message: "Each skill must be a valid string." })
8352
8725
  ], AdminCreateJobInformationDto.prototype, "skills", 2);
8353
8726
  __decorateClass([
8354
- (0, import_class_validator86.IsInt)({ message: "Openings must be a valid integer." }),
8355
- (0, import_class_validator86.Min)(1, { message: "There must be at least one opening." })
8727
+ (0, import_class_validator87.IsInt)({ message: "Openings must be a valid integer." }),
8728
+ (0, import_class_validator87.Min)(1, { message: "There must be at least one opening." })
8356
8729
  ], AdminCreateJobInformationDto.prototype, "openings", 2);
8357
8730
  __decorateClass([
8358
- (0, import_class_validator86.IsEnum)(JobLocationEnumDto, {
8731
+ (0, import_class_validator87.IsEnum)(JobLocationEnumDto, {
8359
8732
  message: `Location must be one of: ${Object.values(JobLocationEnumDto).join(
8360
8733
  ", "
8361
8734
  )}.`
8362
8735
  })
8363
8736
  ], AdminCreateJobInformationDto.prototype, "location", 2);
8364
8737
  __decorateClass([
8365
- (0, import_class_validator86.IsEnum)(TypeOfEmploymentEnumDto, {
8738
+ (0, import_class_validator87.IsEnum)(TypeOfEmploymentEnumDto, {
8366
8739
  message: `Type of employment must be one of: ${Object.values(
8367
8740
  TypeOfEmploymentEnumDto
8368
8741
  ).join(", ")}.`
8369
8742
  })
8370
8743
  ], AdminCreateJobInformationDto.prototype, "typeOfEmployment", 2);
8371
8744
  __decorateClass([
8372
- (0, import_class_validator86.IsString)({ message: "Onboarding Days must be a string." }),
8373
- (0, import_class_validator86.IsNotEmpty)({ message: "Onboarding Days is required." })
8745
+ (0, import_class_validator87.IsString)({ message: "Onboarding Days must be a string." }),
8746
+ (0, import_class_validator87.IsNotEmpty)({ message: "Onboarding Days is required." })
8374
8747
  ], AdminCreateJobInformationDto.prototype, "onboardingTat", 2);
8375
8748
  __decorateClass([
8376
- (0, import_class_validator86.IsString)({ message: "Communication skills must be a string." }),
8377
- (0, import_class_validator86.IsNotEmpty)({ message: "Communication skills are required." })
8749
+ (0, import_class_validator87.IsString)({ message: "Communication skills must be a string." }),
8750
+ (0, import_class_validator87.IsNotEmpty)({ message: "Communication skills are required." })
8378
8751
  ], AdminCreateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
8379
8752
  __decorateClass([
8380
- (0, import_class_validator86.IsString)({ message: "Currency must be a string." }),
8381
- (0, import_class_validator86.IsNotEmpty)({ message: "Currency is required." })
8753
+ (0, import_class_validator87.IsString)({ message: "Currency must be a string." }),
8754
+ (0, import_class_validator87.IsNotEmpty)({ message: "Currency is required." })
8382
8755
  ], AdminCreateJobInformationDto.prototype, "currency", 2);
8383
8756
  __decorateClass([
8384
8757
  (0, import_class_transformer15.Type)(() => Number),
8385
- (0, import_class_validator86.IsNumber)({}, { message: "Expected salary from must be a number." })
8758
+ (0, import_class_validator87.IsNumber)({}, { message: "Expected salary from must be a number." })
8386
8759
  ], AdminCreateJobInformationDto.prototype, "expectedSalaryFrom", 2);
8387
8760
  __decorateClass([
8388
8761
  (0, import_class_transformer15.Type)(() => Number),
8389
- (0, import_class_validator86.IsNumber)({}, { message: "Expected salary to must be a number." })
8762
+ (0, import_class_validator87.IsNumber)({}, { message: "Expected salary to must be a number." })
8390
8763
  ], AdminCreateJobInformationDto.prototype, "expectedSalaryTo", 2);
8391
8764
  __decorateClass([
8392
- (0, import_class_validator86.IsDateString)(
8765
+ (0, import_class_validator87.IsDateString)(
8393
8766
  { strict: true },
8394
8767
  { message: "Start date must be in YYYY-MM-DD format." }
8395
8768
  )
8396
8769
  ], AdminCreateJobInformationDto.prototype, "tentativeStartDate", 2);
8397
8770
  __decorateClass([
8398
- (0, import_class_validator86.IsDateString)(
8771
+ (0, import_class_validator87.IsDateString)(
8399
8772
  { strict: true },
8400
8773
  { message: "End date must be in YYYY-MM-DD format." }
8401
8774
  )
8402
8775
  ], AdminCreateJobInformationDto.prototype, "tentativeEndDate", 2);
8403
8776
  __decorateClass([
8404
- (0, import_class_validator86.IsOptional)(),
8405
- (0, import_class_validator86.IsString)({ message: "Additional comment must be a string." })
8777
+ (0, import_class_validator87.IsOptional)(),
8778
+ (0, import_class_validator87.IsString)({ message: "Additional comment must be a string." })
8406
8779
  ], AdminCreateJobInformationDto.prototype, "additionalComment", 2);
8407
8780
  __decorateClass([
8408
- (0, import_class_validator86.IsOptional)(),
8409
- (0, import_class_validator86.IsInt)({ message: "Country ID must be a valid integer." })
8781
+ (0, import_class_validator87.IsOptional)(),
8782
+ (0, import_class_validator87.IsInt)({ message: "Country ID must be a valid integer." })
8410
8783
  ], AdminCreateJobInformationDto.prototype, "countryId", 2);
8411
8784
  __decorateClass([
8412
- (0, import_class_validator86.IsOptional)(),
8413
- (0, import_class_validator86.IsInt)({ message: "State ID must be a valid integer." })
8785
+ (0, import_class_validator87.IsOptional)(),
8786
+ (0, import_class_validator87.IsInt)({ message: "State ID must be a valid integer." })
8414
8787
  ], AdminCreateJobInformationDto.prototype, "stateId", 2);
8415
8788
  __decorateClass([
8416
- (0, import_class_validator86.IsOptional)(),
8417
- (0, import_class_validator86.IsInt)({ message: "City ID must be a valid integer." })
8789
+ (0, import_class_validator87.IsOptional)(),
8790
+ (0, import_class_validator87.IsInt)({ message: "City ID must be a valid integer." })
8418
8791
  ], AdminCreateJobInformationDto.prototype, "cityId", 2);
8419
8792
  __decorateClass([
8420
- (0, import_class_validator86.IsInt)({ message: "Client ID must be a valid integer." })
8793
+ (0, import_class_validator87.IsInt)({ message: "Client ID must be a valid integer." })
8421
8794
  ], AdminCreateJobInformationDto.prototype, "clientId", 2);
8422
8795
 
8423
8796
  // src/modules/job-admin/dto/admin-update-job-information.dto.ts
8424
8797
  var import_class_transformer16 = require("class-transformer");
8425
- var import_class_validator87 = require("class-validator");
8798
+ var import_class_validator88 = require("class-validator");
8426
8799
  var JobLocationEnums = /* @__PURE__ */ ((JobLocationEnums2) => {
8427
8800
  JobLocationEnums2["ONSITE"] = "ONSITE";
8428
8801
  JobLocationEnums2["REMOTE"] = "REMOTE";
@@ -8438,90 +8811,90 @@ var TypeOfEmploymentEnums = /* @__PURE__ */ ((TypeOfEmploymentEnums2) => {
8438
8811
  var AdminUpdateJobInformationDto = class {
8439
8812
  };
8440
8813
  __decorateClass([
8441
- (0, import_class_validator87.IsString)({ message: "Job role must be a string." }),
8442
- (0, import_class_validator87.IsNotEmpty)({ message: "Job role is required." })
8814
+ (0, import_class_validator88.IsString)({ message: "Job role must be a string." }),
8815
+ (0, import_class_validator88.IsNotEmpty)({ message: "Job role is required." })
8443
8816
  ], AdminUpdateJobInformationDto.prototype, "jobRole", 2);
8444
8817
  __decorateClass([
8445
- (0, import_class_validator87.IsOptional)(),
8446
- (0, import_class_validator87.IsString)({ message: "Note must be a string." })
8818
+ (0, import_class_validator88.IsOptional)(),
8819
+ (0, import_class_validator88.IsString)({ message: "Note must be a string." })
8447
8820
  ], AdminUpdateJobInformationDto.prototype, "note", 2);
8448
8821
  __decorateClass([
8449
- (0, import_class_validator87.IsArray)({ message: "Skills must be an array of skill names." }),
8450
- (0, import_class_validator87.ArrayNotEmpty)({ message: "At least one skill must be provided." }),
8451
- (0, import_class_validator87.IsString)({ each: true, message: "Each skill must be a valid string." })
8822
+ (0, import_class_validator88.IsArray)({ message: "Skills must be an array of skill names." }),
8823
+ (0, import_class_validator88.ArrayNotEmpty)({ message: "At least one skill must be provided." }),
8824
+ (0, import_class_validator88.IsString)({ each: true, message: "Each skill must be a valid string." })
8452
8825
  ], AdminUpdateJobInformationDto.prototype, "skills", 2);
8453
8826
  __decorateClass([
8454
- (0, import_class_validator87.IsInt)({ message: "Openings must be a valid integer." }),
8455
- (0, import_class_validator87.Min)(1, { message: "There must be at least one opening." })
8827
+ (0, import_class_validator88.IsInt)({ message: "Openings must be a valid integer." }),
8828
+ (0, import_class_validator88.Min)(1, { message: "There must be at least one opening." })
8456
8829
  ], AdminUpdateJobInformationDto.prototype, "openings", 2);
8457
8830
  __decorateClass([
8458
- (0, import_class_validator87.IsEnum)(JobLocationEnums, {
8831
+ (0, import_class_validator88.IsEnum)(JobLocationEnums, {
8459
8832
  message: `Location must be one of: ${Object.values(JobLocationEnums).join(
8460
8833
  ", "
8461
8834
  )}.`
8462
8835
  })
8463
8836
  ], AdminUpdateJobInformationDto.prototype, "location", 2);
8464
8837
  __decorateClass([
8465
- (0, import_class_validator87.IsEnum)(TypeOfEmploymentEnums, {
8838
+ (0, import_class_validator88.IsEnum)(TypeOfEmploymentEnums, {
8466
8839
  message: `Type of employment must be one of: ${Object.values(
8467
8840
  TypeOfEmploymentEnums
8468
8841
  ).join(", ")}.`
8469
8842
  })
8470
8843
  ], AdminUpdateJobInformationDto.prototype, "typeOfEmployment", 2);
8471
8844
  __decorateClass([
8472
- (0, import_class_validator87.IsString)({ message: "Onboarding Days must be a string." }),
8473
- (0, import_class_validator87.IsNotEmpty)({ message: "Onboarding Days is required." })
8845
+ (0, import_class_validator88.IsString)({ message: "Onboarding Days must be a string." }),
8846
+ (0, import_class_validator88.IsNotEmpty)({ message: "Onboarding Days is required." })
8474
8847
  ], AdminUpdateJobInformationDto.prototype, "onboardingTat", 2);
8475
8848
  __decorateClass([
8476
- (0, import_class_validator87.IsString)({ message: "Communication skills must be a string." }),
8477
- (0, import_class_validator87.IsNotEmpty)({ message: "Communication skills are required." })
8849
+ (0, import_class_validator88.IsString)({ message: "Communication skills must be a string." }),
8850
+ (0, import_class_validator88.IsNotEmpty)({ message: "Communication skills are required." })
8478
8851
  ], AdminUpdateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
8479
8852
  __decorateClass([
8480
- (0, import_class_validator87.IsString)({ message: "Currency must be a string." }),
8481
- (0, import_class_validator87.IsNotEmpty)({ message: "Currency is required." })
8853
+ (0, import_class_validator88.IsString)({ message: "Currency must be a string." }),
8854
+ (0, import_class_validator88.IsNotEmpty)({ message: "Currency is required." })
8482
8855
  ], AdminUpdateJobInformationDto.prototype, "currency", 2);
8483
8856
  __decorateClass([
8484
8857
  (0, import_class_transformer16.Type)(() => Number),
8485
- (0, import_class_validator87.IsNumber)({}, { message: "Expected salary from must be a number." })
8858
+ (0, import_class_validator88.IsNumber)({}, { message: "Expected salary from must be a number." })
8486
8859
  ], AdminUpdateJobInformationDto.prototype, "expectedSalaryFrom", 2);
8487
8860
  __decorateClass([
8488
8861
  (0, import_class_transformer16.Type)(() => Number),
8489
- (0, import_class_validator87.IsNumber)({}, { message: "Expected salary to must be a number." })
8862
+ (0, import_class_validator88.IsNumber)({}, { message: "Expected salary to must be a number." })
8490
8863
  ], AdminUpdateJobInformationDto.prototype, "expectedSalaryTo", 2);
8491
8864
  __decorateClass([
8492
- (0, import_class_validator87.IsDateString)(
8865
+ (0, import_class_validator88.IsDateString)(
8493
8866
  { strict: true },
8494
8867
  { message: "Start date must be in YYYY-MM-DD format." }
8495
8868
  )
8496
8869
  ], AdminUpdateJobInformationDto.prototype, "tentativeStartDate", 2);
8497
8870
  __decorateClass([
8498
- (0, import_class_validator87.IsDateString)(
8871
+ (0, import_class_validator88.IsDateString)(
8499
8872
  { strict: true },
8500
8873
  { message: "End date must be in YYYY-MM-DD format." }
8501
8874
  )
8502
8875
  ], AdminUpdateJobInformationDto.prototype, "tentativeEndDate", 2);
8503
8876
  __decorateClass([
8504
- (0, import_class_validator87.IsOptional)(),
8505
- (0, import_class_validator87.IsString)({ message: "Additional comment must be a string." })
8877
+ (0, import_class_validator88.IsOptional)(),
8878
+ (0, import_class_validator88.IsString)({ message: "Additional comment must be a string." })
8506
8879
  ], AdminUpdateJobInformationDto.prototype, "additionalComment", 2);
8507
8880
  __decorateClass([
8508
- (0, import_class_validator87.IsOptional)(),
8509
- (0, import_class_validator87.IsInt)({ message: "Country ID must be a valid integer." })
8881
+ (0, import_class_validator88.IsOptional)(),
8882
+ (0, import_class_validator88.IsInt)({ message: "Country ID must be a valid integer." })
8510
8883
  ], AdminUpdateJobInformationDto.prototype, "countryId", 2);
8511
8884
  __decorateClass([
8512
- (0, import_class_validator87.IsOptional)(),
8513
- (0, import_class_validator87.IsInt)({ message: "State ID must be a valid integer." })
8885
+ (0, import_class_validator88.IsOptional)(),
8886
+ (0, import_class_validator88.IsInt)({ message: "State ID must be a valid integer." })
8514
8887
  ], AdminUpdateJobInformationDto.prototype, "stateId", 2);
8515
8888
  __decorateClass([
8516
- (0, import_class_validator87.IsOptional)(),
8517
- (0, import_class_validator87.IsInt)({ message: "City ID must be a valid integer." })
8889
+ (0, import_class_validator88.IsOptional)(),
8890
+ (0, import_class_validator88.IsInt)({ message: "City ID must be a valid integer." })
8518
8891
  ], AdminUpdateJobInformationDto.prototype, "cityId", 2);
8519
8892
  __decorateClass([
8520
- (0, import_class_validator87.IsInt)({ message: "Client ID must be a valid integer." })
8893
+ (0, import_class_validator88.IsInt)({ message: "Client ID must be a valid integer." })
8521
8894
  ], AdminUpdateJobInformationDto.prototype, "clientId", 2);
8522
8895
 
8523
8896
  // src/modules/job-admin/dto/admin-job-basic-information-v2.dto.ts
8524
- var import_class_validator88 = require("class-validator");
8897
+ var import_class_validator89 = require("class-validator");
8525
8898
  var import_class_transformer17 = require("class-transformer");
8526
8899
  var JobLocationAdminEnumDto = /* @__PURE__ */ ((JobLocationAdminEnumDto2) => {
8527
8900
  JobLocationAdminEnumDto2["ONSITE"] = "ONSITE";
@@ -8551,16 +8924,16 @@ var AdminStepCompletedEnumV2 = /* @__PURE__ */ ((AdminStepCompletedEnumV22) => {
8551
8924
  var JobLocationAdminDto = class {
8552
8925
  };
8553
8926
  __decorateClass([
8554
- (0, import_class_validator88.IsOptional)(),
8555
- (0, import_class_validator88.IsNumber)()
8927
+ (0, import_class_validator89.IsOptional)(),
8928
+ (0, import_class_validator89.IsNumber)()
8556
8929
  ], JobLocationAdminDto.prototype, "countryId", 2);
8557
8930
  __decorateClass([
8558
- (0, import_class_validator88.IsOptional)(),
8559
- (0, import_class_validator88.IsNumber)()
8931
+ (0, import_class_validator89.IsOptional)(),
8932
+ (0, import_class_validator89.IsNumber)()
8560
8933
  ], JobLocationAdminDto.prototype, "stateId", 2);
8561
8934
  __decorateClass([
8562
- (0, import_class_validator88.IsOptional)(),
8563
- (0, import_class_validator88.IsNumber)()
8935
+ (0, import_class_validator89.IsOptional)(),
8936
+ (0, import_class_validator89.IsNumber)()
8564
8937
  ], JobLocationAdminDto.prototype, "cityId", 2);
8565
8938
  var AdminJobBasicInformationV2Dto = class {
8566
8939
  constructor() {
@@ -8568,158 +8941,158 @@ var AdminJobBasicInformationV2Dto = class {
8568
8941
  }
8569
8942
  };
8570
8943
  __decorateClass([
8571
- (0, import_class_validator88.IsOptional)(),
8944
+ (0, import_class_validator89.IsOptional)(),
8572
8945
  (0, import_class_transformer17.Type)(() => Boolean)
8573
8946
  ], AdminJobBasicInformationV2Dto.prototype, "isDraft", 2);
8574
8947
  __decorateClass([
8575
- (0, import_class_validator88.IsInt)({ message: "Client ID must be a valid integer." })
8948
+ (0, import_class_validator89.IsInt)({ message: "Client ID must be a valid integer." })
8576
8949
  ], AdminJobBasicInformationV2Dto.prototype, "clientId", 2);
8577
8950
  __decorateClass([
8578
- (0, import_class_validator88.IsNotEmpty)({ message: "Please enter job role" }),
8579
- (0, import_class_validator88.IsString)({ message: "Job role must be a string" })
8951
+ (0, import_class_validator89.IsNotEmpty)({ message: "Please enter job role" }),
8952
+ (0, import_class_validator89.IsString)({ message: "Job role must be a string" })
8580
8953
  ], AdminJobBasicInformationV2Dto.prototype, "jobRole", 2);
8581
8954
  __decorateClass([
8582
- (0, import_class_validator88.IsOptional)(),
8583
- (0, import_class_validator88.IsString)({ message: "Note must be a string" })
8955
+ (0, import_class_validator89.IsOptional)(),
8956
+ (0, import_class_validator89.IsString)({ message: "Note must be a string" })
8584
8957
  ], AdminJobBasicInformationV2Dto.prototype, "note", 2);
8585
8958
  __decorateClass([
8586
- (0, import_class_validator88.ValidateIf)((o) => !o.isDraft),
8587
- (0, import_class_validator88.IsOptional)(),
8588
- (0, import_class_validator88.IsArray)({ message: "Skills must be an array" }),
8589
- (0, import_class_validator88.ArrayNotEmpty)({ message: "Please select at least one skill" }),
8590
- (0, import_class_validator88.IsString)({ each: true, message: "Each skill must be a string" }),
8959
+ (0, import_class_validator89.ValidateIf)((o) => !o.isDraft),
8960
+ (0, import_class_validator89.IsOptional)(),
8961
+ (0, import_class_validator89.IsArray)({ message: "Skills must be an array" }),
8962
+ (0, import_class_validator89.ArrayNotEmpty)({ message: "Please select at least one skill" }),
8963
+ (0, import_class_validator89.IsString)({ each: true, message: "Each skill must be a string" }),
8591
8964
  (0, import_class_transformer17.Type)(() => String)
8592
8965
  ], AdminJobBasicInformationV2Dto.prototype, "skills", 2);
8593
8966
  __decorateClass([
8594
- (0, import_class_validator88.ValidateIf)((o) => !o.isDraft),
8595
- (0, import_class_validator88.IsNumber)({}, { message: "Openings must be a number" }),
8596
- (0, import_class_validator88.Min)(1, { message: "There must be at least 1 opening" }),
8967
+ (0, import_class_validator89.ValidateIf)((o) => !o.isDraft),
8968
+ (0, import_class_validator89.IsNumber)({}, { message: "Openings must be a number" }),
8969
+ (0, import_class_validator89.Min)(1, { message: "There must be at least 1 opening" }),
8597
8970
  (0, import_class_transformer17.Type)(() => Number)
8598
8971
  ], AdminJobBasicInformationV2Dto.prototype, "openings", 2);
8599
8972
  __decorateClass([
8600
- (0, import_class_validator88.ValidateIf)((o) => !o.isDraft),
8601
- (0, import_class_validator88.IsEnum)(JobLocationAdminEnumDto, {
8973
+ (0, import_class_validator89.ValidateIf)((o) => !o.isDraft),
8974
+ (0, import_class_validator89.IsEnum)(JobLocationAdminEnumDto, {
8602
8975
  message: `Location must be one of: ${Object.values(JobLocationAdminEnumDto).join(
8603
8976
  ", "
8604
8977
  )}`
8605
8978
  })
8606
8979
  ], AdminJobBasicInformationV2Dto.prototype, "location", 2);
8607
8980
  __decorateClass([
8608
- (0, import_class_validator88.ValidateIf)((o) => !o.isDraft),
8609
- (0, import_class_validator88.IsEnum)(EmploymentTypeAdminEnumDto, {
8981
+ (0, import_class_validator89.ValidateIf)((o) => !o.isDraft),
8982
+ (0, import_class_validator89.IsEnum)(EmploymentTypeAdminEnumDto, {
8610
8983
  message: `Type of employment must be one of: ${Object.values(
8611
8984
  EmploymentTypeAdminEnumDto
8612
8985
  ).join(", ")}`
8613
8986
  })
8614
8987
  ], AdminJobBasicInformationV2Dto.prototype, "typeOfEmployment", 2);
8615
8988
  __decorateClass([
8616
- (0, import_class_validator88.IsOptional)(),
8617
- (0, import_class_validator88.IsNumber)({}, { message: "Expected salary (from) must be a number" }),
8618
- (0, import_class_validator88.Min)(0, { message: "Expected salary (from) cannot be negative" }),
8989
+ (0, import_class_validator89.IsOptional)(),
8990
+ (0, import_class_validator89.IsNumber)({}, { message: "Expected salary (from) must be a number" }),
8991
+ (0, import_class_validator89.Min)(0, { message: "Expected salary (from) cannot be negative" }),
8619
8992
  (0, import_class_transformer17.Type)(() => Number)
8620
8993
  ], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryFrom", 2);
8621
8994
  __decorateClass([
8622
- (0, import_class_validator88.IsOptional)(),
8623
- (0, import_class_validator88.IsNumber)({}, { message: "Expected salary (to) must be a number" }),
8624
- (0, import_class_validator88.Min)(0, { message: "Expected salary (to) cannot be negative" }),
8995
+ (0, import_class_validator89.IsOptional)(),
8996
+ (0, import_class_validator89.IsNumber)({}, { message: "Expected salary (to) must be a number" }),
8997
+ (0, import_class_validator89.Min)(0, { message: "Expected salary (to) cannot be negative" }),
8625
8998
  (0, import_class_transformer17.Type)(() => Number)
8626
8999
  ], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryTo", 2);
8627
9000
  __decorateClass([
8628
- (0, import_class_validator88.IsOptional)(),
9001
+ (0, import_class_validator89.IsOptional)(),
8629
9002
  (0, import_class_transformer17.Type)(() => JobLocationAdminDto)
8630
9003
  ], AdminJobBasicInformationV2Dto.prototype, "locations", 2);
8631
9004
  __decorateClass([
8632
- (0, import_class_validator88.ValidateIf)((o) => !o.isDraft),
8633
- (0, import_class_validator88.IsNotEmpty)({ message: "Please enter the academic qualification" }),
8634
- (0, import_class_validator88.IsString)({ message: "Academic qualification must be a string" })
9005
+ (0, import_class_validator89.ValidateIf)((o) => !o.isDraft),
9006
+ (0, import_class_validator89.IsNotEmpty)({ message: "Please enter the academic qualification" }),
9007
+ (0, import_class_validator89.IsString)({ message: "Academic qualification must be a string" })
8635
9008
  ], AdminJobBasicInformationV2Dto.prototype, "academicQualification", 2);
8636
9009
  __decorateClass([
8637
- (0, import_class_validator88.ValidateIf)((o) => !o.isDraft),
8638
- (0, import_class_validator88.IsEnum)(typeOfExperienceAdminEnumDto, {
9010
+ (0, import_class_validator89.ValidateIf)((o) => !o.isDraft),
9011
+ (0, import_class_validator89.IsEnum)(typeOfExperienceAdminEnumDto, {
8639
9012
  message: `Type of experience must be one of: ${Object.values(
8640
9013
  typeOfExperienceAdminEnumDto
8641
9014
  ).join(", ")}`
8642
9015
  })
8643
9016
  ], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceType", 2);
8644
9017
  __decorateClass([
8645
- (0, import_class_validator88.ValidateIf)((o) => !o.isDraft),
8646
- (0, import_class_validator88.IsNotEmpty)({ message: "Please enter the years of experience" }),
8647
- (0, import_class_validator88.IsString)({ message: "Years of experience must be a string" })
9018
+ (0, import_class_validator89.ValidateIf)((o) => !o.isDraft),
9019
+ (0, import_class_validator89.IsNotEmpty)({ message: "Please enter the years of experience" }),
9020
+ (0, import_class_validator89.IsString)({ message: "Years of experience must be a string" })
8648
9021
  ], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceFrom", 2);
8649
9022
  __decorateClass([
8650
- (0, import_class_validator88.ValidateIf)((o) => !o.isDraft),
8651
- (0, import_class_validator88.IsNotEmpty)({ message: "Please enter the years of experience upto" }),
8652
- (0, import_class_validator88.IsString)({ message: "Years of experience must be a string" })
9023
+ (0, import_class_validator89.ValidateIf)((o) => !o.isDraft),
9024
+ (0, import_class_validator89.IsNotEmpty)({ message: "Please enter the years of experience upto" }),
9025
+ (0, import_class_validator89.IsString)({ message: "Years of experience must be a string" })
8653
9026
  ], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceTo", 2);
8654
9027
  __decorateClass([
8655
- (0, import_class_validator88.IsOptional)(),
8656
- (0, import_class_validator88.IsString)({ message: "Business industry must be a string" })
9028
+ (0, import_class_validator89.IsOptional)(),
9029
+ (0, import_class_validator89.IsString)({ message: "Business industry must be a string" })
8657
9030
  ], AdminJobBasicInformationV2Dto.prototype, "businessIndustry", 2);
8658
9031
  __decorateClass([
8659
- (0, import_class_validator88.IsOptional)(),
8660
- (0, import_class_validator88.IsString)({ message: "Project name must be a string" })
9032
+ (0, import_class_validator89.IsOptional)(),
9033
+ (0, import_class_validator89.IsString)({ message: "Project name must be a string" })
8661
9034
  ], AdminJobBasicInformationV2Dto.prototype, "projectName", 2);
8662
9035
  __decorateClass([
8663
- (0, import_class_validator88.IsOptional)()
9036
+ (0, import_class_validator89.IsOptional)()
8664
9037
  ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedSalaryFrom", 2);
8665
9038
  __decorateClass([
8666
- (0, import_class_validator88.IsOptional)()
9039
+ (0, import_class_validator89.IsOptional)()
8667
9040
  ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedSalaryTo", 2);
8668
9041
  __decorateClass([
8669
- (0, import_class_validator88.IsOptional)(),
8670
- (0, import_class_validator88.IsNumber)({}, { message: "Expected annual budget (from) must be a number" }),
8671
- (0, import_class_validator88.Min)(0, { message: "Expected annual budget (from) cannot be negative" }),
9042
+ (0, import_class_validator89.IsOptional)(),
9043
+ (0, import_class_validator89.IsNumber)({}, { message: "Expected annual budget (from) must be a number" }),
9044
+ (0, import_class_validator89.Min)(0, { message: "Expected annual budget (from) cannot be negative" }),
8672
9045
  (0, import_class_transformer17.Type)(() => Number)
8673
9046
  ], AdminJobBasicInformationV2Dto.prototype, "expectedAnnualBudgetFrom", 2);
8674
9047
  __decorateClass([
8675
- (0, import_class_validator88.IsOptional)()
9048
+ (0, import_class_validator89.IsOptional)()
8676
9049
  ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetFrom", 2);
8677
9050
  __decorateClass([
8678
- (0, import_class_validator88.IsOptional)(),
8679
- (0, import_class_validator88.IsNumber)({}, { message: "Expected annual budget (to) must be a number" }),
8680
- (0, import_class_validator88.Min)(0, { message: "Expected annual budget (to) cannot be negative" }),
9051
+ (0, import_class_validator89.IsOptional)(),
9052
+ (0, import_class_validator89.IsNumber)({}, { message: "Expected annual budget (to) must be a number" }),
9053
+ (0, import_class_validator89.Min)(0, { message: "Expected annual budget (to) cannot be negative" }),
8681
9054
  (0, import_class_transformer17.Type)(() => Number)
8682
9055
  ], AdminJobBasicInformationV2Dto.prototype, "expectedAnnualBudgetTo", 2);
8683
9056
  __decorateClass([
8684
- (0, import_class_validator88.IsOptional)()
9057
+ (0, import_class_validator89.IsOptional)()
8685
9058
  ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetTo", 2);
8686
9059
  __decorateClass([
8687
- (0, import_class_validator88.IsOptional)(),
8688
- (0, import_class_validator88.IsNumber)({}, { message: "Number of hours must be a number" }),
8689
- (0, import_class_validator88.Min)(0, { message: "Number of hours cannot be negative" }),
8690
- (0, import_class_validator88.Max)(40, { message: "Number of hours cannot exceed 40" }),
9060
+ (0, import_class_validator89.IsOptional)(),
9061
+ (0, import_class_validator89.IsNumber)({}, { message: "Number of hours must be a number" }),
9062
+ (0, import_class_validator89.Min)(0, { message: "Number of hours cannot be negative" }),
9063
+ (0, import_class_validator89.Max)(40, { message: "Number of hours cannot exceed 40" }),
8691
9064
  (0, import_class_transformer17.Type)(() => Number)
8692
9065
  ], AdminJobBasicInformationV2Dto.prototype, "numberOfHours", 2);
8693
9066
  __decorateClass([
8694
- (0, import_class_validator88.IsOptional)()
9067
+ (0, import_class_validator89.IsOptional)()
8695
9068
  ], AdminJobBasicInformationV2Dto.prototype, "years", 2);
8696
9069
  __decorateClass([
8697
- (0, import_class_validator88.IsOptional)()
9070
+ (0, import_class_validator89.IsOptional)()
8698
9071
  ], AdminJobBasicInformationV2Dto.prototype, "months", 2);
8699
9072
  __decorateClass([
8700
- (0, import_class_validator88.IsOptional)()
9073
+ (0, import_class_validator89.IsOptional)()
8701
9074
  ], AdminJobBasicInformationV2Dto.prototype, "weeks", 2);
8702
9075
  __decorateClass([
8703
- (0, import_class_validator88.IsOptional)()
9076
+ (0, import_class_validator89.IsOptional)()
8704
9077
  ], AdminJobBasicInformationV2Dto.prototype, "days", 2);
8705
9078
  __decorateClass([
8706
- (0, import_class_validator88.IsOptional)(),
8707
- (0, import_class_validator88.IsString)({ message: "Additional comment must be a string" }),
8708
- (0, import_class_validator88.MaxLength)(500, { message: "Additional comment must not exceed 500 characters" })
9079
+ (0, import_class_validator89.IsOptional)(),
9080
+ (0, import_class_validator89.IsString)({ message: "Additional comment must be a string" }),
9081
+ (0, import_class_validator89.MaxLength)(500, { message: "Additional comment must not exceed 500 characters" })
8709
9082
  ], AdminJobBasicInformationV2Dto.prototype, "additionalComment", 2);
8710
9083
  __decorateClass([
8711
- (0, import_class_validator88.ValidateIf)((o) => !o.isDraft),
8712
- (0, import_class_validator88.IsArray)({ message: "Good to have skills must be an array" }),
8713
- (0, import_class_validator88.IsString)({ each: true, message: "Each skill must be a string" }),
8714
- (0, import_class_validator88.IsOptional)(),
9084
+ (0, import_class_validator89.ValidateIf)((o) => !o.isDraft),
9085
+ (0, import_class_validator89.IsArray)({ message: "Good to have skills must be an array" }),
9086
+ (0, import_class_validator89.IsString)({ each: true, message: "Each skill must be a string" }),
9087
+ (0, import_class_validator89.IsOptional)(),
8715
9088
  (0, import_class_transformer17.Type)(() => String)
8716
9089
  ], AdminJobBasicInformationV2Dto.prototype, "goodToHaveSkills", 2);
8717
9090
  __decorateClass([
8718
- (0, import_class_validator88.IsOptional)()
9091
+ (0, import_class_validator89.IsOptional)()
8719
9092
  ], AdminJobBasicInformationV2Dto.prototype, "jobRoleCanonicalName", 2);
8720
9093
  __decorateClass([
8721
- (0, import_class_validator88.IsOptional)(),
8722
- (0, import_class_validator88.IsEnum)(AdminStepCompletedEnumV2, {
9094
+ (0, import_class_validator89.IsOptional)(),
9095
+ (0, import_class_validator89.IsEnum)(AdminStepCompletedEnumV2, {
8723
9096
  message: `Type of stepCompleted must be one of: ${Object.values(
8724
9097
  AdminStepCompletedEnumV2
8725
9098
  ).join(", ")}`
@@ -8733,7 +9106,7 @@ var LEAD_PATTERN = {
8733
9106
  };
8734
9107
 
8735
9108
  // src/modules/lead/dto/create-lead.dto.ts
8736
- var import_class_validator89 = require("class-validator");
9109
+ var import_class_validator90 = require("class-validator");
8737
9110
  var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
8738
9111
  CategoryEmumDto2["BUSINESS"] = "BUSINESS";
8739
9112
  CategoryEmumDto2["FREELANCER"] = "FREELANCER";
@@ -8742,23 +9115,23 @@ var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
8742
9115
  var CreateLeadDto = class {
8743
9116
  };
8744
9117
  __decorateClass([
8745
- (0, import_class_validator89.IsString)({ message: "Name must be a string" })
9118
+ (0, import_class_validator90.IsString)({ message: "Name must be a string" })
8746
9119
  ], CreateLeadDto.prototype, "name", 2);
8747
9120
  __decorateClass([
8748
- (0, import_class_validator89.IsEmail)({}, { message: "Invalid email address" })
9121
+ (0, import_class_validator90.IsEmail)({}, { message: "Invalid email address" })
8749
9122
  ], CreateLeadDto.prototype, "email", 2);
8750
9123
  __decorateClass([
8751
- (0, import_class_validator89.IsString)({ message: "Mobile code must be a string (e.g., +1)" })
9124
+ (0, import_class_validator90.IsString)({ message: "Mobile code must be a string (e.g., +1)" })
8752
9125
  ], CreateLeadDto.prototype, "mobileCode", 2);
8753
9126
  __decorateClass([
8754
- (0, import_class_validator89.IsString)({ message: "Mobile must be a string (e.g., 1243253534)" })
9127
+ (0, import_class_validator90.IsString)({ message: "Mobile must be a string (e.g., 1243253534)" })
8755
9128
  ], CreateLeadDto.prototype, "mobile", 2);
8756
9129
  __decorateClass([
8757
- (0, import_class_validator89.IsOptional)(),
8758
- (0, import_class_validator89.IsString)({ message: "Description must be a string" })
9130
+ (0, import_class_validator90.IsOptional)(),
9131
+ (0, import_class_validator90.IsString)({ message: "Description must be a string" })
8759
9132
  ], CreateLeadDto.prototype, "description", 2);
8760
9133
  __decorateClass([
8761
- (0, import_class_validator89.IsEnum)(CategoryEmumDto, {
9134
+ (0, import_class_validator90.IsEnum)(CategoryEmumDto, {
8762
9135
  message: `Type of category must be one of: ${Object.values(
8763
9136
  CategoryEmumDto
8764
9137
  ).join(", ")}`
@@ -8780,59 +9153,59 @@ var ADMIN_ROLE_PATTERN = {
8780
9153
  };
8781
9154
 
8782
9155
  // src/modules/admin-role/dto/create-admin-role.dto.ts
8783
- var import_class_validator90 = require("class-validator");
9156
+ var import_class_validator91 = require("class-validator");
8784
9157
  var CreateAdminRoleDto = class {
8785
9158
  };
8786
9159
  __decorateClass([
8787
- (0, import_class_validator90.IsNotEmpty)({ message: "Please enter admin role name." }),
8788
- (0, import_class_validator90.IsString)({ message: "Role name must be a string." })
9160
+ (0, import_class_validator91.IsNotEmpty)({ message: "Please enter admin role name." }),
9161
+ (0, import_class_validator91.IsString)({ message: "Role name must be a string." })
8789
9162
  ], CreateAdminRoleDto.prototype, "roleName", 2);
8790
9163
  __decorateClass([
8791
- (0, import_class_validator90.IsOptional)(),
8792
- (0, import_class_validator90.IsString)({ message: "Role description must be a string." })
9164
+ (0, import_class_validator91.IsOptional)(),
9165
+ (0, import_class_validator91.IsString)({ message: "Role description must be a string." })
8793
9166
  ], CreateAdminRoleDto.prototype, "roleDescription", 2);
8794
9167
  __decorateClass([
8795
- (0, import_class_validator90.IsOptional)(),
8796
- (0, import_class_validator90.IsBoolean)({ message: "Is active must be a boolean value" })
9168
+ (0, import_class_validator91.IsOptional)(),
9169
+ (0, import_class_validator91.IsBoolean)({ message: "Is active must be a boolean value" })
8797
9170
  ], CreateAdminRoleDto.prototype, "isActive", 2);
8798
9171
 
8799
9172
  // src/modules/admin-role/dto/update-admin-role.dto.ts
8800
- var import_class_validator91 = require("class-validator");
9173
+ var import_class_validator92 = require("class-validator");
8801
9174
  var UpdateAdminRoleDto = class {
8802
9175
  };
8803
9176
  __decorateClass([
8804
- (0, import_class_validator91.IsNotEmpty)({ message: "Please enter admin role name." }),
8805
- (0, import_class_validator91.IsString)({ message: "Role name must be a string." })
9177
+ (0, import_class_validator92.IsNotEmpty)({ message: "Please enter admin role name." }),
9178
+ (0, import_class_validator92.IsString)({ message: "Role name must be a string." })
8806
9179
  ], UpdateAdminRoleDto.prototype, "roleName", 2);
8807
9180
  __decorateClass([
8808
- (0, import_class_validator91.IsOptional)(),
8809
- (0, import_class_validator91.IsString)({ message: "Role description must be a string." })
9181
+ (0, import_class_validator92.IsOptional)(),
9182
+ (0, import_class_validator92.IsString)({ message: "Role description must be a string." })
8810
9183
  ], UpdateAdminRoleDto.prototype, "roleDescription", 2);
8811
9184
  __decorateClass([
8812
- (0, import_class_validator91.IsOptional)(),
8813
- (0, import_class_validator91.IsBoolean)({ message: "Is active must be a boolean value." })
9185
+ (0, import_class_validator92.IsOptional)(),
9186
+ (0, import_class_validator92.IsBoolean)({ message: "Is active must be a boolean value." })
8814
9187
  ], UpdateAdminRoleDto.prototype, "isActive", 2);
8815
9188
 
8816
9189
  // src/modules/admin-role/dto/attach-permissions-to-role.dto.ts
8817
- var import_class_validator92 = require("class-validator");
9190
+ var import_class_validator93 = require("class-validator");
8818
9191
  var AttachPermissionsToRoleDto = class {
8819
9192
  };
8820
9193
  __decorateClass([
8821
- (0, import_class_validator92.IsNotEmpty)({ message: "Please enter admin role ID." }),
8822
- (0, import_class_validator92.IsString)({ message: "Role ID must be a string." })
9194
+ (0, import_class_validator93.IsNotEmpty)({ message: "Please enter admin role ID." }),
9195
+ (0, import_class_validator93.IsString)({ message: "Role ID must be a string." })
8823
9196
  ], AttachPermissionsToRoleDto.prototype, "roleId", 2);
8824
9197
  __decorateClass([
8825
- (0, import_class_validator92.IsNotEmpty)({ message: "Please enter permission IDs." }),
8826
- (0, import_class_validator92.IsString)({ message: "Permission IDs must be a comma-separated string." })
9198
+ (0, import_class_validator93.IsNotEmpty)({ message: "Please enter permission IDs." }),
9199
+ (0, import_class_validator93.IsString)({ message: "Permission IDs must be a comma-separated string." })
8827
9200
  ], AttachPermissionsToRoleDto.prototype, "permissionIds", 2);
8828
9201
 
8829
9202
  // src/modules/admin-role/dto/update-admin-role-status.dto.ts
8830
- var import_class_validator93 = require("class-validator");
9203
+ var import_class_validator94 = require("class-validator");
8831
9204
  var UpdateAdminRoleStatusDto = class {
8832
9205
  };
8833
9206
  __decorateClass([
8834
- (0, import_class_validator93.IsNotEmpty)({ message: "Please specify admin role status." }),
8835
- (0, import_class_validator93.IsBoolean)({ message: "Is active must be a boolean value" })
9207
+ (0, import_class_validator94.IsNotEmpty)({ message: "Please specify admin role status." }),
9208
+ (0, import_class_validator94.IsBoolean)({ message: "Is active must be a boolean value" })
8836
9209
  ], UpdateAdminRoleStatusDto.prototype, "isActive", 2);
8837
9210
 
8838
9211
  // src/modules/admin-permission/pattern/pattern.ts
@@ -8912,7 +9285,7 @@ var INTERVIEW_PATTERN = {
8912
9285
  };
8913
9286
 
8914
9287
  // src/modules/interview/dto/interview-invite.dto.ts
8915
- var import_class_validator94 = require("class-validator");
9288
+ var import_class_validator95 = require("class-validator");
8916
9289
  var import_class_transformer18 = require("class-transformer");
8917
9290
  var CandidateType = /* @__PURE__ */ ((CandidateType2) => {
8918
9291
  CandidateType2["SHORTLISTED"] = "SHORTLISTED";
@@ -8924,55 +9297,55 @@ var CandidateType = /* @__PURE__ */ ((CandidateType2) => {
8924
9297
  var ExistingCandidateDto = class {
8925
9298
  };
8926
9299
  __decorateClass([
8927
- (0, import_class_validator94.IsUUID)()
9300
+ (0, import_class_validator95.IsUUID)()
8928
9301
  ], ExistingCandidateDto.prototype, "id", 2);
8929
9302
  __decorateClass([
8930
- (0, import_class_validator94.IsEnum)(CandidateType, {
9303
+ (0, import_class_validator95.IsEnum)(CandidateType, {
8931
9304
  message: "type must be one of SHORTLISTED, APPLICATNTS, or RECOMMENDED"
8932
9305
  })
8933
9306
  ], ExistingCandidateDto.prototype, "type", 2);
8934
9307
  var NewCandidateDto = class {
8935
9308
  };
8936
9309
  __decorateClass([
8937
- (0, import_class_validator94.IsNotEmpty)({ message: "Please enter the candidate name" }),
8938
- (0, import_class_validator94.IsString)({ message: "Name must be a string" })
9310
+ (0, import_class_validator95.IsNotEmpty)({ message: "Please enter the candidate name" }),
9311
+ (0, import_class_validator95.IsString)({ message: "Name must be a string" })
8939
9312
  ], NewCandidateDto.prototype, "name", 2);
8940
9313
  __decorateClass([
8941
- (0, import_class_validator94.IsEmail)({}, { message: "Please enter a valid email." })
9314
+ (0, import_class_validator95.IsEmail)({}, { message: "Please enter a valid email." })
8942
9315
  ], NewCandidateDto.prototype, "email", 2);
8943
9316
  __decorateClass([
8944
- (0, import_class_validator94.IsEnum)(CandidateType, {
9317
+ (0, import_class_validator95.IsEnum)(CandidateType, {
8945
9318
  message: "type must be NEW"
8946
9319
  })
8947
9320
  ], NewCandidateDto.prototype, "type", 2);
8948
9321
  var CandidatesDto = class {
8949
9322
  };
8950
9323
  __decorateClass([
8951
- (0, import_class_validator94.ValidateIf)((o) => o.exixtingCandidates?.length > 0),
8952
- (0, import_class_validator94.IsArray)({ message: "Existing candidates should be an array." }),
8953
- (0, import_class_validator94.ArrayNotEmpty)({ message: "Please select at least one candidate." }),
8954
- (0, import_class_validator94.ValidateNested)({ each: true }),
9324
+ (0, import_class_validator95.ValidateIf)((o) => o.exixtingCandidates?.length > 0),
9325
+ (0, import_class_validator95.IsArray)({ message: "Existing candidates should be an array." }),
9326
+ (0, import_class_validator95.ArrayNotEmpty)({ message: "Please select at least one candidate." }),
9327
+ (0, import_class_validator95.ValidateNested)({ each: true }),
8955
9328
  (0, import_class_transformer18.Type)(() => ExistingCandidateDto)
8956
9329
  ], CandidatesDto.prototype, "exixtingCandidates", 2);
8957
9330
  __decorateClass([
8958
- (0, import_class_validator94.ValidateIf)((o) => o.newCandidates?.length > 0),
8959
- (0, import_class_validator94.IsArray)({ message: "New candidates should be an array." }),
8960
- (0, import_class_validator94.ArrayNotEmpty)({ message: "Please add at least one candidate." }),
8961
- (0, import_class_validator94.ValidateNested)({ each: true }),
9331
+ (0, import_class_validator95.ValidateIf)((o) => o.newCandidates?.length > 0),
9332
+ (0, import_class_validator95.IsArray)({ message: "New candidates should be an array." }),
9333
+ (0, import_class_validator95.ArrayNotEmpty)({ message: "Please add at least one candidate." }),
9334
+ (0, import_class_validator95.ValidateNested)({ each: true }),
8962
9335
  (0, import_class_transformer18.Type)(() => NewCandidateDto)
8963
9336
  ], CandidatesDto.prototype, "newCandidates", 2);
8964
9337
  var InterviewInviteDto = class {
8965
9338
  };
8966
9339
  __decorateClass([
8967
- (0, import_class_validator94.IsUUID)()
9340
+ (0, import_class_validator95.IsUUID)()
8968
9341
  ], InterviewInviteDto.prototype, "jobId", 2);
8969
9342
  __decorateClass([
8970
- (0, import_class_validator94.ValidateNested)({ each: true }),
9343
+ (0, import_class_validator95.ValidateNested)({ each: true }),
8971
9344
  (0, import_class_transformer18.Type)(() => CandidatesDto)
8972
9345
  ], InterviewInviteDto.prototype, "candidates", 2);
8973
9346
 
8974
9347
  // src/modules/interview/dto/send-interview-invite.dto.ts
8975
- var import_class_validator95 = require("class-validator");
9348
+ var import_class_validator96 = require("class-validator");
8976
9349
  var import_class_transformer19 = require("class-transformer");
8977
9350
  var InterviewInviteCandidateType = /* @__PURE__ */ ((InterviewInviteCandidateType2) => {
8978
9351
  InterviewInviteCandidateType2["SHORTLISTED"] = "SHORTLISTED";
@@ -8984,306 +9357,306 @@ var InterviewInviteCandidateType = /* @__PURE__ */ ((InterviewInviteCandidateTyp
8984
9357
  var ExistingCandidateDto2 = class {
8985
9358
  };
8986
9359
  __decorateClass([
8987
- (0, import_class_validator95.IsUUID)("4", { message: "Candidate ID must be a valid UUID." }),
8988
- (0, import_class_validator95.IsNotEmpty)({ message: "Candidate ID is required." })
9360
+ (0, import_class_validator96.IsUUID)("4", { message: "Candidate ID must be a valid UUID." }),
9361
+ (0, import_class_validator96.IsNotEmpty)({ message: "Candidate ID is required." })
8989
9362
  ], ExistingCandidateDto2.prototype, "id", 2);
8990
9363
  __decorateClass([
8991
- (0, import_class_validator95.IsEnum)(InterviewInviteCandidateType, {
9364
+ (0, import_class_validator96.IsEnum)(InterviewInviteCandidateType, {
8992
9365
  message: "Type must be one of SHORTLISTED, APPLICANTS, or RECOMMENDED."
8993
9366
  }),
8994
- (0, import_class_validator95.IsNotEmpty)({ message: "Candidate type is required." })
9367
+ (0, import_class_validator96.IsNotEmpty)({ message: "Candidate type is required." })
8995
9368
  ], ExistingCandidateDto2.prototype, "type", 2);
8996
9369
  var NewCandidateDto2 = class {
8997
9370
  };
8998
9371
  __decorateClass([
8999
- (0, import_class_validator95.IsString)({ message: "Name must be a string." }),
9000
- (0, import_class_validator95.IsNotEmpty)({ message: "Candidate name is required." })
9372
+ (0, import_class_validator96.IsString)({ message: "Name must be a string." }),
9373
+ (0, import_class_validator96.IsNotEmpty)({ message: "Candidate name is required." })
9001
9374
  ], NewCandidateDto2.prototype, "name", 2);
9002
9375
  __decorateClass([
9003
- (0, import_class_validator95.IsEmail)({}, { message: "Please enter a valid email address." }),
9004
- (0, import_class_validator95.IsNotEmpty)({ message: "Email is required." })
9376
+ (0, import_class_validator96.IsEmail)({}, { message: "Please enter a valid email address." }),
9377
+ (0, import_class_validator96.IsNotEmpty)({ message: "Email is required." })
9005
9378
  ], NewCandidateDto2.prototype, "email", 2);
9006
9379
  __decorateClass([
9007
- (0, import_class_validator95.IsEnum)(InterviewInviteCandidateType, {
9380
+ (0, import_class_validator96.IsEnum)(InterviewInviteCandidateType, {
9008
9381
  message: "Type must be NEW for new candidates."
9009
9382
  }),
9010
- (0, import_class_validator95.IsNotEmpty)({ message: "Candidate type is required." })
9383
+ (0, import_class_validator96.IsNotEmpty)({ message: "Candidate type is required." })
9011
9384
  ], NewCandidateDto2.prototype, "type", 2);
9012
9385
  var SendInterviewInviteDto = class {
9013
9386
  };
9014
9387
  __decorateClass([
9015
- (0, import_class_validator95.IsUUID)("4", { message: "Job ID must be a valid UUID." }),
9016
- (0, import_class_validator95.IsNotEmpty)({ message: "Job ID is required." })
9388
+ (0, import_class_validator96.IsUUID)("4", { message: "Job ID must be a valid UUID." }),
9389
+ (0, import_class_validator96.IsNotEmpty)({ message: "Job ID is required." })
9017
9390
  ], SendInterviewInviteDto.prototype, "jobId", 2);
9018
9391
  __decorateClass([
9019
- (0, import_class_validator95.IsArray)({ message: "Existing candidates must be an array." }),
9020
- (0, import_class_validator95.ValidateNested)({ each: true }),
9392
+ (0, import_class_validator96.IsArray)({ message: "Existing candidates must be an array." }),
9393
+ (0, import_class_validator96.ValidateNested)({ each: true }),
9021
9394
  (0, import_class_transformer19.Type)(() => ExistingCandidateDto2),
9022
- (0, import_class_validator95.IsOptional)()
9395
+ (0, import_class_validator96.IsOptional)()
9023
9396
  ], SendInterviewInviteDto.prototype, "existingCandidates", 2);
9024
9397
  __decorateClass([
9025
- (0, import_class_validator95.IsArray)({ message: "New candidates must be an array." }),
9026
- (0, import_class_validator95.ValidateNested)({ each: true }),
9398
+ (0, import_class_validator96.IsArray)({ message: "New candidates must be an array." }),
9399
+ (0, import_class_validator96.ValidateNested)({ each: true }),
9027
9400
  (0, import_class_transformer19.Type)(() => NewCandidateDto2),
9028
- (0, import_class_validator95.IsOptional)()
9401
+ (0, import_class_validator96.IsOptional)()
9029
9402
  ], SendInterviewInviteDto.prototype, "newCandidates", 2);
9030
9403
 
9031
9404
  // src/modules/interview/dto/create-f2f-interview.dto.ts
9032
- var import_class_validator96 = require("class-validator");
9405
+ var import_class_validator97 = require("class-validator");
9033
9406
  var CreateF2FInterviewDto = class {
9034
9407
  };
9035
9408
  __decorateClass([
9036
- (0, import_class_validator96.IsEmail)({}, { message: "Please enter a valid email address." }),
9037
- (0, import_class_validator96.IsNotEmpty)({ message: "Invitee email is required." })
9409
+ (0, import_class_validator97.IsEmail)({}, { message: "Please enter a valid email address." }),
9410
+ (0, import_class_validator97.IsNotEmpty)({ message: "Invitee email is required." })
9038
9411
  ], CreateF2FInterviewDto.prototype, "inviteeEmail", 2);
9039
9412
  __decorateClass([
9040
- (0, import_class_validator96.IsString)({ message: "Invitee name must be a string." }),
9041
- (0, import_class_validator96.IsNotEmpty)({ message: "Invitee name is required." })
9413
+ (0, import_class_validator97.IsString)({ message: "Invitee name must be a string." }),
9414
+ (0, import_class_validator97.IsNotEmpty)({ message: "Invitee name is required." })
9042
9415
  ], CreateF2FInterviewDto.prototype, "inviteeName", 2);
9043
9416
  __decorateClass([
9044
- (0, import_class_validator96.IsNumber)({}, { message: "Interview ID must be a number." })
9417
+ (0, import_class_validator97.IsNumber)({}, { message: "Interview ID must be a number." })
9045
9418
  ], CreateF2FInterviewDto.prototype, "interviewId", 2);
9046
9419
  __decorateClass([
9047
- (0, import_class_validator96.IsNumber)({}, { message: "Candidate ID must be a number." })
9420
+ (0, import_class_validator97.IsNumber)({}, { message: "Candidate ID must be a number." })
9048
9421
  ], CreateF2FInterviewDto.prototype, "candidateId", 2);
9049
9422
 
9050
9423
  // src/modules/interview/dto/create-f2f-interview-direct.dto.ts
9051
- var import_class_validator97 = require("class-validator");
9424
+ var import_class_validator98 = require("class-validator");
9052
9425
  var CreateF2FInterviewDirectDto = class {
9053
9426
  };
9054
9427
  __decorateClass([
9055
- (0, import_class_validator97.IsEmail)({}, { message: "Please enter a valid email address." }),
9056
- (0, import_class_validator97.IsNotEmpty)({ message: "Invitee email is required." })
9428
+ (0, import_class_validator98.IsEmail)({}, { message: "Please enter a valid email address." }),
9429
+ (0, import_class_validator98.IsNotEmpty)({ message: "Invitee email is required." })
9057
9430
  ], CreateF2FInterviewDirectDto.prototype, "inviteeEmail", 2);
9058
9431
  __decorateClass([
9059
- (0, import_class_validator97.IsString)({ message: "Invitee name must be a string." }),
9060
- (0, import_class_validator97.IsNotEmpty)({ message: "Invitee name is required." })
9432
+ (0, import_class_validator98.IsString)({ message: "Invitee name must be a string." }),
9433
+ (0, import_class_validator98.IsNotEmpty)({ message: "Invitee name is required." })
9061
9434
  ], CreateF2FInterviewDirectDto.prototype, "inviteeName", 2);
9062
9435
  __decorateClass([
9063
- (0, import_class_validator97.IsNumber)({}, { message: "Job ID must be a number." })
9436
+ (0, import_class_validator98.IsNumber)({}, { message: "Job ID must be a number." })
9064
9437
  ], CreateF2FInterviewDirectDto.prototype, "jobId", 2);
9065
9438
  __decorateClass([
9066
- (0, import_class_validator97.IsNumber)({}, { message: "Candidate ID must be a number." })
9439
+ (0, import_class_validator98.IsNumber)({}, { message: "Candidate ID must be a number." })
9067
9440
  ], CreateF2FInterviewDirectDto.prototype, "candidateId", 2);
9068
9441
 
9069
9442
  // src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
9070
- var import_class_validator98 = require("class-validator");
9443
+ var import_class_validator99 = require("class-validator");
9071
9444
  var CreateF2FInterviewRescheduleRequestDto = class {
9072
9445
  };
9073
9446
  __decorateClass([
9074
- (0, import_class_validator98.IsUUID)("4", { message: "F2F Interview ID must be a valid UUID." }),
9075
- (0, import_class_validator98.IsNotEmpty)({ message: "F2F Interview ID is required." })
9447
+ (0, import_class_validator99.IsUUID)("4", { message: "F2F Interview ID must be a valid UUID." }),
9448
+ (0, import_class_validator99.IsNotEmpty)({ message: "F2F Interview ID is required." })
9076
9449
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "f2FInterviewId", 2);
9077
9450
  __decorateClass([
9078
- (0, import_class_validator98.IsNotEmpty)({ message: "Rescheduled date is required." })
9451
+ (0, import_class_validator99.IsNotEmpty)({ message: "Rescheduled date is required." })
9079
9452
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledDate", 2);
9080
9453
  __decorateClass([
9081
- (0, import_class_validator98.IsString)({ message: "Rescheduled slot must be a string." }),
9082
- (0, import_class_validator98.IsNotEmpty)({ message: "Rescheduled slot is required." })
9454
+ (0, import_class_validator99.IsString)({ message: "Rescheduled slot must be a string." }),
9455
+ (0, import_class_validator99.IsNotEmpty)({ message: "Rescheduled slot is required." })
9083
9456
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledSlot", 2);
9084
9457
  __decorateClass([
9085
- (0, import_class_validator98.IsOptional)(),
9086
- (0, import_class_validator98.IsString)({ message: "Freelancer request reason must be a string." })
9458
+ (0, import_class_validator99.IsOptional)(),
9459
+ (0, import_class_validator99.IsString)({ message: "Freelancer request reason must be a string." })
9087
9460
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
9088
9461
 
9089
9462
  // src/modules/interview/dto/create-ai-interview-reschedule-request.dto.ts
9090
- var import_class_validator99 = require("class-validator");
9463
+ var import_class_validator100 = require("class-validator");
9091
9464
  var CreateAIInterviewRescheduleRequestDto = class {
9092
9465
  };
9093
9466
  __decorateClass([
9094
- (0, import_class_validator99.IsNotEmpty)({ message: "AI Interview ID is required." })
9467
+ (0, import_class_validator100.IsNotEmpty)({ message: "AI Interview ID is required." })
9095
9468
  ], CreateAIInterviewRescheduleRequestDto.prototype, "aiInterviewId", 2);
9096
9469
  __decorateClass([
9097
- (0, import_class_validator99.IsString)({ message: "Freelancer reason must be a string." })
9470
+ (0, import_class_validator100.IsString)({ message: "Freelancer reason must be a string." })
9098
9471
  ], CreateAIInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
9099
9472
 
9100
9473
  // src/modules/interview/dto/reject-ai-interview-reschedule-request.dto.ts
9101
- var import_class_validator100 = require("class-validator");
9474
+ var import_class_validator101 = require("class-validator");
9102
9475
  var RejectAIInterviewRescheduleRequestDto = class {
9103
9476
  };
9104
9477
  __decorateClass([
9105
- (0, import_class_validator100.IsString)({ message: "Client reject reason must be a string." })
9478
+ (0, import_class_validator101.IsString)({ message: "Client reject reason must be a string." })
9106
9479
  ], RejectAIInterviewRescheduleRequestDto.prototype, "clientRejectReason", 2);
9107
9480
 
9108
9481
  // src/modules/interview/dto/reject-f2f-interview-reschedule-request.dto.ts
9109
- var import_class_validator101 = require("class-validator");
9482
+ var import_class_validator102 = require("class-validator");
9110
9483
  var RejectF2FInterviewRescheduleRequestDto = class {
9111
9484
  };
9112
9485
  __decorateClass([
9113
- (0, import_class_validator101.IsOptional)(),
9114
- (0, import_class_validator101.IsString)()
9486
+ (0, import_class_validator102.IsOptional)(),
9487
+ (0, import_class_validator102.IsString)()
9115
9488
  ], RejectF2FInterviewRescheduleRequestDto.prototype, "reason", 2);
9116
9489
 
9117
9490
  // src/modules/interview/dto/capture-ai-interview-result-public.dto.ts
9118
- var import_class_validator102 = require("class-validator");
9491
+ var import_class_validator103 = require("class-validator");
9119
9492
  var CaptureAiInterviewResultPublicDto = class {
9120
9493
  };
9121
9494
  __decorateClass([
9122
- (0, import_class_validator102.IsNotEmpty)({ message: "AI Interview UUID is required" }),
9123
- (0, import_class_validator102.IsString)({ message: "AI Interview UUID must be a string" })
9495
+ (0, import_class_validator103.IsNotEmpty)({ message: "AI Interview UUID is required" }),
9496
+ (0, import_class_validator103.IsString)({ message: "AI Interview UUID must be a string" })
9124
9497
  ], CaptureAiInterviewResultPublicDto.prototype, "aiInterviewUuid", 2);
9125
9498
  __decorateClass([
9126
- (0, import_class_validator102.IsOptional)(),
9127
- (0, import_class_validator102.IsObject)()
9499
+ (0, import_class_validator103.IsOptional)(),
9500
+ (0, import_class_validator103.IsObject)()
9128
9501
  ], CaptureAiInterviewResultPublicDto.prototype, "result", 2);
9129
9502
  __decorateClass([
9130
- (0, import_class_validator102.IsOptional)(),
9131
- (0, import_class_validator102.IsString)()
9503
+ (0, import_class_validator103.IsOptional)(),
9504
+ (0, import_class_validator103.IsString)()
9132
9505
  ], CaptureAiInterviewResultPublicDto.prototype, "status", 2);
9133
9506
 
9134
9507
  // src/modules/interview/dto/create-interview-basic-information.dto.ts
9135
- var import_class_validator103 = require("class-validator");
9508
+ var import_class_validator104 = require("class-validator");
9136
9509
  var CreateInterviewBasicInformationDto = class {
9137
9510
  };
9138
9511
  __decorateClass([
9139
- (0, import_class_validator103.IsNotEmpty)({ message: "Job ID is required" }),
9140
- (0, import_class_validator103.IsNumber)({}, { message: "Job ID must be a number" })
9512
+ (0, import_class_validator104.IsNotEmpty)({ message: "Job ID is required" }),
9513
+ (0, import_class_validator104.IsNumber)({}, { message: "Job ID must be a number" })
9141
9514
  ], CreateInterviewBasicInformationDto.prototype, "jobId", 2);
9142
9515
  __decorateClass([
9143
- (0, import_class_validator103.IsNotEmpty)({ message: "Interview name is required" }),
9144
- (0, import_class_validator103.IsString)({ message: "Interview name must be a string" })
9516
+ (0, import_class_validator104.IsNotEmpty)({ message: "Interview name is required" }),
9517
+ (0, import_class_validator104.IsString)({ message: "Interview name must be a string" })
9145
9518
  ], CreateInterviewBasicInformationDto.prototype, "interviewName", 2);
9146
9519
 
9147
9520
  // src/modules/interview/dto/update-interview-basic-information.dto.ts
9148
- var import_class_validator104 = require("class-validator");
9521
+ var import_class_validator105 = require("class-validator");
9149
9522
  var UpdateInterviewBasicInformationDto = class {
9150
9523
  };
9151
9524
  __decorateClass([
9152
- (0, import_class_validator104.IsOptional)(),
9153
- (0, import_class_validator104.IsString)()
9525
+ (0, import_class_validator105.IsOptional)(),
9526
+ (0, import_class_validator105.IsString)()
9154
9527
  ], UpdateInterviewBasicInformationDto.prototype, "title", 2);
9155
9528
  __decorateClass([
9156
- (0, import_class_validator104.IsOptional)(),
9157
- (0, import_class_validator104.IsString)()
9529
+ (0, import_class_validator105.IsOptional)(),
9530
+ (0, import_class_validator105.IsString)()
9158
9531
  ], UpdateInterviewBasicInformationDto.prototype, "description", 2);
9159
9532
  __decorateClass([
9160
- (0, import_class_validator104.IsOptional)(),
9161
- (0, import_class_validator104.IsDateString)()
9533
+ (0, import_class_validator105.IsOptional)(),
9534
+ (0, import_class_validator105.IsDateString)()
9162
9535
  ], UpdateInterviewBasicInformationDto.prototype, "scheduledAt", 2);
9163
9536
  __decorateClass([
9164
- (0, import_class_validator104.IsOptional)(),
9165
- (0, import_class_validator104.IsNumber)({}, { message: "Duration must be a number" })
9537
+ (0, import_class_validator105.IsOptional)(),
9538
+ (0, import_class_validator105.IsNumber)({}, { message: "Duration must be a number" })
9166
9539
  ], UpdateInterviewBasicInformationDto.prototype, "duration", 2);
9167
9540
  __decorateClass([
9168
- (0, import_class_validator104.IsOptional)(),
9169
- (0, import_class_validator104.IsArray)(),
9170
- (0, import_class_validator104.IsNumber)({}, { each: true, message: "Each skill ID must be a number" })
9541
+ (0, import_class_validator105.IsOptional)(),
9542
+ (0, import_class_validator105.IsArray)(),
9543
+ (0, import_class_validator105.IsNumber)({}, { each: true, message: "Each skill ID must be a number" })
9171
9544
  ], UpdateInterviewBasicInformationDto.prototype, "skillIds", 2);
9172
9545
  __decorateClass([
9173
- (0, import_class_validator104.IsOptional)(),
9174
- (0, import_class_validator104.IsString)()
9546
+ (0, import_class_validator105.IsOptional)(),
9547
+ (0, import_class_validator105.IsString)()
9175
9548
  ], UpdateInterviewBasicInformationDto.prototype, "location", 2);
9176
9549
 
9177
9550
  // src/modules/interview/dto/create-interview-skills.dto.ts
9178
- var import_class_validator105 = require("class-validator");
9551
+ var import_class_validator106 = require("class-validator");
9179
9552
  var import_class_transformer20 = require("class-transformer");
9180
9553
  var InterviewSkillItemDto = class {
9181
9554
  };
9182
9555
  __decorateClass([
9183
- (0, import_class_validator105.IsOptional)()
9556
+ (0, import_class_validator106.IsOptional)()
9184
9557
  ], InterviewSkillItemDto.prototype, "uuid", 2);
9185
9558
  __decorateClass([
9186
- (0, import_class_validator105.IsString)({ message: "Skill name must be a string." }),
9187
- (0, import_class_validator105.IsNotEmpty)({ message: "Skill name is required." })
9559
+ (0, import_class_validator106.IsString)({ message: "Skill name must be a string." }),
9560
+ (0, import_class_validator106.IsNotEmpty)({ message: "Skill name is required." })
9188
9561
  ], InterviewSkillItemDto.prototype, "skill", 2);
9189
9562
  __decorateClass([
9190
- (0, import_class_validator105.IsOptional)(),
9191
- (0, import_class_validator105.IsString)({ message: "Skill description must be a string." })
9563
+ (0, import_class_validator106.IsOptional)(),
9564
+ (0, import_class_validator106.IsString)({ message: "Skill description must be a string." })
9192
9565
  ], InterviewSkillItemDto.prototype, "description", 2);
9193
9566
  var CreateInterviewSkillsDto = class {
9194
9567
  };
9195
9568
  __decorateClass([
9196
- (0, import_class_validator105.IsArray)({ message: "Skills must be an array." }),
9197
- (0, import_class_validator105.IsNotEmpty)({ message: "At least one skill is required." }),
9198
- (0, import_class_validator105.ValidateNested)({ each: true }),
9569
+ (0, import_class_validator106.IsArray)({ message: "Skills must be an array." }),
9570
+ (0, import_class_validator106.IsNotEmpty)({ message: "At least one skill is required." }),
9571
+ (0, import_class_validator106.ValidateNested)({ each: true }),
9199
9572
  (0, import_class_transformer20.Type)(() => InterviewSkillItemDto)
9200
9573
  ], CreateInterviewSkillsDto.prototype, "skills", 2);
9201
9574
 
9202
9575
  // src/modules/interview/dto/create-interview-questions.dto.ts
9203
- var import_class_validator106 = require("class-validator");
9576
+ var import_class_validator107 = require("class-validator");
9204
9577
  var import_class_transformer21 = require("class-transformer");
9205
9578
  var CustomQuestionItemDto = class {
9206
9579
  };
9207
9580
  __decorateClass([
9208
- (0, import_class_validator106.IsOptional)(),
9209
- (0, import_class_validator106.IsUUID)("4", { message: "Question UUID must be a valid UUID." })
9581
+ (0, import_class_validator107.IsOptional)(),
9582
+ (0, import_class_validator107.IsUUID)("4", { message: "Question UUID must be a valid UUID." })
9210
9583
  ], CustomQuestionItemDto.prototype, "uuid", 2);
9211
9584
  __decorateClass([
9212
- (0, import_class_validator106.IsString)({ message: "Question must be a string." }),
9213
- (0, import_class_validator106.IsNotEmpty)({ message: "Question is required." })
9585
+ (0, import_class_validator107.IsString)({ message: "Question must be a string." }),
9586
+ (0, import_class_validator107.IsNotEmpty)({ message: "Question is required." })
9214
9587
  ], CustomQuestionItemDto.prototype, "question", 2);
9215
9588
  var AiQuestionItemDto = class {
9216
9589
  };
9217
9590
  __decorateClass([
9218
- (0, import_class_validator106.IsOptional)(),
9219
- (0, import_class_validator106.IsUUID)("4", { message: "Question UUID must be a valid UUID." })
9591
+ (0, import_class_validator107.IsOptional)(),
9592
+ (0, import_class_validator107.IsUUID)("4", { message: "Question UUID must be a valid UUID." })
9220
9593
  ], AiQuestionItemDto.prototype, "uuid", 2);
9221
9594
  __decorateClass([
9222
- (0, import_class_validator106.IsString)({ message: "Question must be a string." }),
9223
- (0, import_class_validator106.IsNotEmpty)({ message: "Question is required." })
9595
+ (0, import_class_validator107.IsString)({ message: "Question must be a string." }),
9596
+ (0, import_class_validator107.IsNotEmpty)({ message: "Question is required." })
9224
9597
  ], AiQuestionItemDto.prototype, "question", 2);
9225
9598
  __decorateClass([
9226
- (0, import_class_validator106.IsOptional)(),
9227
- (0, import_class_validator106.IsArray)({ message: "Concepts must be an array." }),
9228
- (0, import_class_validator106.IsString)({ each: true, message: "Each concept must be a string." })
9599
+ (0, import_class_validator107.IsOptional)(),
9600
+ (0, import_class_validator107.IsArray)({ message: "Concepts must be an array." }),
9601
+ (0, import_class_validator107.IsString)({ each: true, message: "Each concept must be a string." })
9229
9602
  ], AiQuestionItemDto.prototype, "concepts", 2);
9230
9603
  var CreateInterviewQuestionsDto = class {
9231
9604
  };
9232
9605
  __decorateClass([
9233
- (0, import_class_validator106.IsOptional)(),
9234
- (0, import_class_validator106.IsArray)({ message: "Questions must be an array." }),
9235
- (0, import_class_validator106.ValidateNested)({ each: true }),
9606
+ (0, import_class_validator107.IsOptional)(),
9607
+ (0, import_class_validator107.IsArray)({ message: "Questions must be an array." }),
9608
+ (0, import_class_validator107.ValidateNested)({ each: true }),
9236
9609
  (0, import_class_transformer21.Type)(() => CustomQuestionItemDto)
9237
9610
  ], CreateInterviewQuestionsDto.prototype, "questions", 2);
9238
9611
  __decorateClass([
9239
- (0, import_class_validator106.IsOptional)(),
9240
- (0, import_class_validator106.IsArray)({ message: "AI questions must be an array." }),
9241
- (0, import_class_validator106.ValidateNested)({ each: true }),
9612
+ (0, import_class_validator107.IsOptional)(),
9613
+ (0, import_class_validator107.IsArray)({ message: "AI questions must be an array." }),
9614
+ (0, import_class_validator107.ValidateNested)({ each: true }),
9242
9615
  (0, import_class_transformer21.Type)(() => AiQuestionItemDto)
9243
9616
  ], CreateInterviewQuestionsDto.prototype, "aiQuestions", 2);
9244
9617
 
9245
9618
  // src/modules/interview/dto/update-interview-setting.dto.ts
9246
- var import_class_validator107 = require("class-validator");
9619
+ var import_class_validator108 = require("class-validator");
9247
9620
  var import_class_transformer22 = require("class-transformer");
9248
9621
  var UpdateInterviewSettingDto = class {
9249
9622
  };
9250
9623
  __decorateClass([
9251
- (0, import_class_validator107.IsOptional)(),
9252
- (0, import_class_validator107.IsString)({ message: "Interview language must be a string." })
9624
+ (0, import_class_validator108.IsOptional)(),
9625
+ (0, import_class_validator108.IsString)({ message: "Interview language must be a string." })
9253
9626
  ], UpdateInterviewSettingDto.prototype, "interviewLanguage", 2);
9254
9627
  __decorateClass([
9255
- (0, import_class_validator107.IsOptional)(),
9256
- (0, import_class_validator107.IsBoolean)({ message: "Allow proctoring must be a boolean." }),
9628
+ (0, import_class_validator108.IsOptional)(),
9629
+ (0, import_class_validator108.IsBoolean)({ message: "Allow proctoring must be a boolean." }),
9257
9630
  (0, import_class_transformer22.Type)(() => Boolean)
9258
9631
  ], UpdateInterviewSettingDto.prototype, "allowProctoring", 2);
9259
9632
  __decorateClass([
9260
- (0, import_class_validator107.IsOptional)(),
9261
- (0, import_class_validator107.IsString)({ message: "Interview duration must be a string." })
9633
+ (0, import_class_validator108.IsOptional)(),
9634
+ (0, import_class_validator108.IsString)({ message: "Interview duration must be a string." })
9262
9635
  ], UpdateInterviewSettingDto.prototype, "interviewDuration", 2);
9263
9636
  __decorateClass([
9264
- (0, import_class_validator107.IsOptional)(),
9265
- (0, import_class_validator107.IsString)({ message: "Interview validity period must be a string." })
9637
+ (0, import_class_validator108.IsOptional)(),
9638
+ (0, import_class_validator108.IsString)({ message: "Interview validity period must be a string." })
9266
9639
  ], UpdateInterviewSettingDto.prototype, "interviewValidityPeriod", 2);
9267
9640
  __decorateClass([
9268
- (0, import_class_validator107.IsOptional)(),
9269
- (0, import_class_validator107.IsString)({ message: "Maximum attempts allowed must be a string." })
9641
+ (0, import_class_validator108.IsOptional)(),
9642
+ (0, import_class_validator108.IsString)({ message: "Maximum attempts allowed must be a string." })
9270
9643
  ], UpdateInterviewSettingDto.prototype, "maximumAttemptsAllowed", 2);
9271
9644
  __decorateClass([
9272
- (0, import_class_validator107.IsOptional)(),
9273
- (0, import_class_validator107.IsString)({ message: "Start interview message must be a string." })
9645
+ (0, import_class_validator108.IsOptional)(),
9646
+ (0, import_class_validator108.IsString)({ message: "Start interview message must be a string." })
9274
9647
  ], UpdateInterviewSettingDto.prototype, "startInterviewMessage", 2);
9275
9648
  __decorateClass([
9276
- (0, import_class_validator107.IsOptional)(),
9277
- (0, import_class_validator107.IsString)({ message: "End interview message must be a string." })
9649
+ (0, import_class_validator108.IsOptional)(),
9650
+ (0, import_class_validator108.IsString)({ message: "End interview message must be a string." })
9278
9651
  ], UpdateInterviewSettingDto.prototype, "endInterviewMessage", 2);
9279
9652
 
9280
9653
  // src/modules/interview/dto/update-interview-type-information.dto.ts
9281
- var import_class_validator108 = require("class-validator");
9654
+ var import_class_validator109 = require("class-validator");
9282
9655
  var UpdateInterviewTypeInformationDto = class {
9283
9656
  };
9284
9657
  __decorateClass([
9285
- (0, import_class_validator108.IsOptional)(),
9286
- (0, import_class_validator108.IsString)({ message: "Interview type must be a string." })
9658
+ (0, import_class_validator109.IsOptional)(),
9659
+ (0, import_class_validator109.IsString)({ message: "Interview type must be a string." })
9287
9660
  ], UpdateInterviewTypeInformationDto.prototype, "interviewType", 2);
9288
9661
 
9289
9662
  // src/modules/contract/pattern/pattern.ts
@@ -9321,47 +9694,47 @@ var CONTRACT_PATTERN = {
9321
9694
  };
9322
9695
 
9323
9696
  // src/modules/contract/dto/sign-contract-for-client.dto.ts
9324
- var import_class_validator109 = require("class-validator");
9697
+ var import_class_validator110 = require("class-validator");
9325
9698
  var import_class_transformer23 = require("class-transformer");
9326
9699
  var SignContractForClientDto = class {
9327
9700
  };
9328
9701
  __decorateClass([
9329
- (0, import_class_validator109.IsNotEmpty)({ message: "Job Id is required." }),
9702
+ (0, import_class_validator110.IsNotEmpty)({ message: "Job Id is required." }),
9330
9703
  (0, import_class_transformer23.Type)(() => Number),
9331
- (0, import_class_validator109.IsNumber)({}, { message: "Job ID must be a number." })
9704
+ (0, import_class_validator110.IsNumber)({}, { message: "Job ID must be a number." })
9332
9705
  ], SignContractForClientDto.prototype, "jobId", 2);
9333
9706
  __decorateClass([
9334
- (0, import_class_validator109.IsNotEmpty)({ message: "Freelancer ID is required." }),
9707
+ (0, import_class_validator110.IsNotEmpty)({ message: "Freelancer ID is required." }),
9335
9708
  (0, import_class_transformer23.Type)(() => Number),
9336
- (0, import_class_validator109.IsNumber)({}, { message: "Freelancer ID must be a number." })
9709
+ (0, import_class_validator110.IsNumber)({}, { message: "Freelancer ID must be a number." })
9337
9710
  ], SignContractForClientDto.prototype, "freelancerId", 2);
9338
9711
  __decorateClass([
9339
- (0, import_class_validator109.IsNotEmpty)({ message: "Contract type is required." }),
9340
- (0, import_class_validator109.IsEnum)(ContractTypeEnum)
9712
+ (0, import_class_validator110.IsNotEmpty)({ message: "Contract type is required." }),
9713
+ (0, import_class_validator110.IsEnum)(ContractTypeEnum)
9341
9714
  ], SignContractForClientDto.prototype, "contractType", 2);
9342
9715
 
9343
9716
  // src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
9344
- var import_class_validator110 = require("class-validator");
9717
+ var import_class_validator111 = require("class-validator");
9345
9718
  var import_class_transformer24 = require("class-transformer");
9346
9719
  var SignContractForFreelancerDto = class {
9347
9720
  };
9348
9721
  __decorateClass([
9349
- (0, import_class_validator110.IsNotEmpty)({ message: "Job Id is required." }),
9722
+ (0, import_class_validator111.IsNotEmpty)({ message: "Job Id is required." }),
9350
9723
  (0, import_class_transformer24.Type)(() => Number),
9351
- (0, import_class_validator110.IsNumber)({}, { message: "Job ID must be a number." })
9724
+ (0, import_class_validator111.IsNumber)({}, { message: "Job ID must be a number." })
9352
9725
  ], SignContractForFreelancerDto.prototype, "jobId", 2);
9353
9726
  __decorateClass([
9354
- (0, import_class_validator110.IsNotEmpty)({ message: "Client ID is required." }),
9727
+ (0, import_class_validator111.IsNotEmpty)({ message: "Client ID is required." }),
9355
9728
  (0, import_class_transformer24.Type)(() => Number),
9356
- (0, import_class_validator110.IsNumber)({}, { message: "Client ID must be a number." })
9729
+ (0, import_class_validator111.IsNumber)({}, { message: "Client ID must be a number." })
9357
9730
  ], SignContractForFreelancerDto.prototype, "clientId", 2);
9358
9731
  __decorateClass([
9359
- (0, import_class_validator110.IsNotEmpty)({ message: "Contract type is required." }),
9360
- (0, import_class_validator110.IsEnum)(ContractTypeEnum)
9732
+ (0, import_class_validator111.IsNotEmpty)({ message: "Contract type is required." }),
9733
+ (0, import_class_validator111.IsEnum)(ContractTypeEnum)
9361
9734
  ], SignContractForFreelancerDto.prototype, "contractType", 2);
9362
9735
 
9363
9736
  // src/modules/contract/dto/generate-contract.dto.ts
9364
- var import_class_validator111 = require("class-validator");
9737
+ var import_class_validator112 = require("class-validator");
9365
9738
  var ContractSourceEnum = /* @__PURE__ */ ((ContractSourceEnum2) => {
9366
9739
  ContractSourceEnum2["AI_INTERVIEW"] = "AI_INTERVIEW";
9367
9740
  ContractSourceEnum2["F2F_INTERVIEW"] = "F2F_INTERVIEW";
@@ -9378,81 +9751,81 @@ var ContractTypeEnumDto = /* @__PURE__ */ ((ContractTypeEnumDto2) => {
9378
9751
  var GenerateContractDto = class {
9379
9752
  };
9380
9753
  __decorateClass([
9381
- (0, import_class_validator111.IsNumber)({}, { message: "Job ID must be a number." }),
9382
- (0, import_class_validator111.IsNotEmpty)({ message: "Job ID is required." })
9754
+ (0, import_class_validator112.IsNumber)({}, { message: "Job ID must be a number." }),
9755
+ (0, import_class_validator112.IsNotEmpty)({ message: "Job ID is required." })
9383
9756
  ], GenerateContractDto.prototype, "jobId", 2);
9384
9757
  __decorateClass([
9385
- (0, import_class_validator111.IsNumber)({}, { message: "Freelancer ID must be a number." }),
9386
- (0, import_class_validator111.IsNotEmpty)({ message: "Freelancer ID is required." })
9758
+ (0, import_class_validator112.IsNumber)({}, { message: "Freelancer ID must be a number." }),
9759
+ (0, import_class_validator112.IsNotEmpty)({ message: "Freelancer ID is required." })
9387
9760
  ], GenerateContractDto.prototype, "freelancerId", 2);
9388
9761
  __decorateClass([
9389
- (0, import_class_validator111.IsOptional)(),
9390
- (0, import_class_validator111.IsEnum)(ContractTypeEnumDto, {
9762
+ (0, import_class_validator112.IsOptional)(),
9763
+ (0, import_class_validator112.IsEnum)(ContractTypeEnumDto, {
9391
9764
  message: "Contract type must be one of NDA, MSA, SOW, or WORK."
9392
9765
  })
9393
9766
  ], GenerateContractDto.prototype, "contractType", 2);
9394
9767
  __decorateClass([
9395
- (0, import_class_validator111.IsOptional)(),
9396
- (0, import_class_validator111.IsDateString)({}, { message: "Contract start date must be a valid date string." })
9768
+ (0, import_class_validator112.IsOptional)(),
9769
+ (0, import_class_validator112.IsString)({ message: "Contract start date must be a string." })
9397
9770
  ], GenerateContractDto.prototype, "contractStartDate", 2);
9398
9771
  __decorateClass([
9399
- (0, import_class_validator111.IsOptional)(),
9400
- (0, import_class_validator111.IsString)({ message: "Contract invoicing cycle must be a string." })
9772
+ (0, import_class_validator112.IsOptional)(),
9773
+ (0, import_class_validator112.IsString)({ message: "Contract invoicing cycle must be a string." })
9401
9774
  ], GenerateContractDto.prototype, "contractInvoicingCycle", 2);
9402
9775
  __decorateClass([
9403
- (0, import_class_validator111.IsOptional)(),
9404
- (0, import_class_validator111.IsEnum)(ContractSourceEnum, {
9776
+ (0, import_class_validator112.IsOptional)(),
9777
+ (0, import_class_validator112.IsEnum)(ContractSourceEnum, {
9405
9778
  message: "Source must be one of AI_INTERVIEW, F2F_INTERVIEW, or JOB."
9406
9779
  })
9407
9780
  ], GenerateContractDto.prototype, "source", 2);
9408
9781
  __decorateClass([
9409
- (0, import_class_validator111.IsOptional)(),
9410
- (0, import_class_validator111.IsUUID)("4", { message: "Source UUID must be a valid UUID." })
9782
+ (0, import_class_validator112.IsOptional)(),
9783
+ (0, import_class_validator112.IsUUID)("4", { message: "Source UUID must be a valid UUID." })
9411
9784
  ], GenerateContractDto.prototype, "sourceUuid", 2);
9412
9785
 
9413
9786
  // src/modules/contract/dto/esign-contract-client.dto.ts
9414
- var import_class_validator112 = require("class-validator");
9787
+ var import_class_validator113 = require("class-validator");
9415
9788
  var EsignContractClientDto = class {
9416
9789
  };
9417
9790
  __decorateClass([
9418
- (0, import_class_validator112.IsUUID)("4", { message: "Contract UUID must be a valid UUID." }),
9419
- (0, import_class_validator112.IsNotEmpty)({ message: "Contract UUID is required." })
9791
+ (0, import_class_validator113.IsUUID)("4", { message: "Contract UUID must be a valid UUID." }),
9792
+ (0, import_class_validator113.IsNotEmpty)({ message: "Contract UUID is required." })
9420
9793
  ], EsignContractClientDto.prototype, "contractUuid", 2);
9421
9794
 
9422
9795
  // src/modules/contract/dto/esign-contract-freelancer.dto.ts
9423
- var import_class_validator113 = require("class-validator");
9796
+ var import_class_validator114 = require("class-validator");
9424
9797
  var EsignContractFreelancerDto = class {
9425
9798
  };
9426
9799
  __decorateClass([
9427
- (0, import_class_validator113.IsUUID)("4", { message: "Contract UUID must be a valid UUID." }),
9428
- (0, import_class_validator113.IsNotEmpty)({ message: "Contract UUID is required." })
9800
+ (0, import_class_validator114.IsUUID)("4", { message: "Contract UUID must be a valid UUID." }),
9801
+ (0, import_class_validator114.IsNotEmpty)({ message: "Contract UUID is required." })
9429
9802
  ], EsignContractFreelancerDto.prototype, "contractUuid", 2);
9430
9803
 
9431
9804
  // src/modules/contract/dto/escrow-fund-contract.dto.ts
9432
- var import_class_validator114 = require("class-validator");
9805
+ var import_class_validator115 = require("class-validator");
9433
9806
  var EscrowFundContractDto = class {
9434
9807
  };
9435
9808
  __decorateClass([
9436
- (0, import_class_validator114.IsUUID)("4", { message: "Contract ID must be a valid UUID." }),
9437
- (0, import_class_validator114.IsNotEmpty)({ message: "Contract ID is required." })
9809
+ (0, import_class_validator115.IsUUID)("4", { message: "Contract ID must be a valid UUID." }),
9810
+ (0, import_class_validator115.IsNotEmpty)({ message: "Contract ID is required." })
9438
9811
  ], EscrowFundContractDto.prototype, "contractId", 2);
9439
9812
 
9440
9813
  // src/modules/contract/dto/send-nda-contract-to-freelancer.dto.ts
9441
- var import_class_validator115 = require("class-validator");
9814
+ var import_class_validator116 = require("class-validator");
9442
9815
  var SendNdaContractToFreelancerDto = class {
9443
9816
  };
9444
9817
  __decorateClass([
9445
- (0, import_class_validator115.IsUUID)("4", { message: "Contract UUID must be a valid UUID." }),
9446
- (0, import_class_validator115.IsNotEmpty)({ message: "Contract UUID is required." })
9818
+ (0, import_class_validator116.IsUUID)("4", { message: "Contract UUID must be a valid UUID." }),
9819
+ (0, import_class_validator116.IsNotEmpty)({ message: "Contract UUID is required." })
9447
9820
  ], SendNdaContractToFreelancerDto.prototype, "contractUuid", 2);
9448
9821
 
9449
9822
  // src/modules/contract/dto/reject-contract.dto.ts
9450
- var import_class_validator116 = require("class-validator");
9823
+ var import_class_validator117 = require("class-validator");
9451
9824
  var RejectContractDto = class {
9452
9825
  };
9453
9826
  __decorateClass([
9454
- (0, import_class_validator116.IsOptional)(),
9455
- (0, import_class_validator116.IsString)({ message: "Reject reason must be a string." })
9827
+ (0, import_class_validator117.IsOptional)(),
9828
+ (0, import_class_validator117.IsString)({ message: "Reject reason must be a string." })
9456
9829
  ], RejectContractDto.prototype, "rejectReason", 2);
9457
9830
 
9458
9831
  // src/modules/stripe/pattern/pattern.ts
@@ -9476,54 +9849,54 @@ var STRIPE_PATTERN = {
9476
9849
  };
9477
9850
 
9478
9851
  // src/modules/stripe/dto/create-checkout-session.dto.ts
9479
- var import_class_validator117 = require("class-validator");
9852
+ var import_class_validator118 = require("class-validator");
9480
9853
  var CreateCheckoutSessionDto = class {
9481
9854
  };
9482
9855
  __decorateClass([
9483
- (0, import_class_validator117.IsNotEmpty)({ message: "Amount is required" })
9856
+ (0, import_class_validator118.IsNotEmpty)({ message: "Amount is required" })
9484
9857
  ], CreateCheckoutSessionDto.prototype, "amount", 2);
9485
9858
 
9486
9859
  // src/modules/stripe/dto/pre-checkout-calculation.dto.ts
9487
- var import_class_validator118 = require("class-validator");
9860
+ var import_class_validator119 = require("class-validator");
9488
9861
  var PreCheckoutCalculationDto = class {
9489
9862
  };
9490
9863
  __decorateClass([
9491
- (0, import_class_validator118.IsNotEmpty)({ message: "Amount is required" }),
9492
- (0, import_class_validator118.IsNumber)({}, { message: "Amount must be a number" })
9864
+ (0, import_class_validator119.IsNotEmpty)({ message: "Amount is required" }),
9865
+ (0, import_class_validator119.IsNumber)({}, { message: "Amount must be a number" })
9493
9866
  ], PreCheckoutCalculationDto.prototype, "amount", 2);
9494
9867
  __decorateClass([
9495
- (0, import_class_validator118.IsOptional)(),
9496
- (0, import_class_validator118.IsString)()
9868
+ (0, import_class_validator119.IsOptional)(),
9869
+ (0, import_class_validator119.IsString)()
9497
9870
  ], PreCheckoutCalculationDto.prototype, "currency", 2);
9498
9871
  __decorateClass([
9499
- (0, import_class_validator118.IsOptional)(),
9500
- (0, import_class_validator118.IsString)()
9872
+ (0, import_class_validator119.IsOptional)(),
9873
+ (0, import_class_validator119.IsString)()
9501
9874
  ], PreCheckoutCalculationDto.prototype, "description", 2);
9502
9875
 
9503
9876
  // src/modules/stripe/dto/client-add-fund.dto.ts
9504
- var import_class_validator119 = require("class-validator");
9877
+ var import_class_validator120 = require("class-validator");
9505
9878
  var ClientAddFundDto = class {
9506
9879
  };
9507
9880
  __decorateClass([
9508
- (0, import_class_validator119.IsNotEmpty)({ message: "Amount is required" }),
9509
- (0, import_class_validator119.IsNumber)({}, { message: "Amount must be a number" })
9881
+ (0, import_class_validator120.IsNotEmpty)({ message: "Amount is required" }),
9882
+ (0, import_class_validator120.IsNumber)({}, { message: "Amount must be a number" })
9510
9883
  ], ClientAddFundDto.prototype, "amount", 2);
9511
9884
  __decorateClass([
9512
- (0, import_class_validator119.IsOptional)(),
9513
- (0, import_class_validator119.IsString)()
9885
+ (0, import_class_validator120.IsOptional)(),
9886
+ (0, import_class_validator120.IsString)()
9514
9887
  ], ClientAddFundDto.prototype, "currency", 2);
9515
9888
  __decorateClass([
9516
- (0, import_class_validator119.IsOptional)(),
9517
- (0, import_class_validator119.IsString)()
9889
+ (0, import_class_validator120.IsOptional)(),
9890
+ (0, import_class_validator120.IsString)()
9518
9891
  ], ClientAddFundDto.prototype, "description", 2);
9519
9892
 
9520
9893
  // src/modules/stripe/dto/transfer-funds.dto.ts
9521
- var import_class_validator120 = require("class-validator");
9894
+ var import_class_validator121 = require("class-validator");
9522
9895
  var TransferFundsDto = class {
9523
9896
  };
9524
9897
  __decorateClass([
9525
- (0, import_class_validator120.IsUUID)("4", { message: "Invoice UUID must be a valid UUID." }),
9526
- (0, import_class_validator120.IsNotEmpty)({ message: "Invoice UUID is required." })
9898
+ (0, import_class_validator121.IsUUID)("4", { message: "Invoice UUID must be a valid UUID." }),
9899
+ (0, import_class_validator121.IsNotEmpty)({ message: "Invoice UUID is required." })
9527
9900
  ], TransferFundsDto.prototype, "invoiceUuid", 2);
9528
9901
 
9529
9902
  // src/modules/timesheet/pattern/pattern.ts
@@ -9567,160 +9940,160 @@ var TIMESHEET_CLIENT_PATTERN = {
9567
9940
  };
9568
9941
 
9569
9942
  // src/modules/timesheet/dto/create-freelancer-timesheet.dto.ts
9570
- var import_class_validator121 = require("class-validator");
9943
+ var import_class_validator122 = require("class-validator");
9571
9944
  var CreateFreelancerTimesheetDto = class {
9572
9945
  };
9573
9946
  __decorateClass([
9574
- (0, import_class_validator121.IsNotEmpty)({ message: "Job id is required" }),
9575
- (0, import_class_validator121.IsNumber)({}, { message: "Job id must be a number" })
9947
+ (0, import_class_validator122.IsNotEmpty)({ message: "Job id is required" }),
9948
+ (0, import_class_validator122.IsNumber)({}, { message: "Job id must be a number" })
9576
9949
  ], CreateFreelancerTimesheetDto.prototype, "jobId", 2);
9577
9950
  __decorateClass([
9578
- (0, import_class_validator121.IsNotEmpty)({ message: "start date is required" }),
9579
- (0, import_class_validator121.IsDateString)()
9951
+ (0, import_class_validator122.IsNotEmpty)({ message: "start date is required" }),
9952
+ (0, import_class_validator122.IsDateString)()
9580
9953
  ], CreateFreelancerTimesheetDto.prototype, "startDate", 2);
9581
9954
  __decorateClass([
9582
- (0, import_class_validator121.IsNotEmpty)({ message: "end date is required" }),
9583
- (0, import_class_validator121.IsDateString)()
9955
+ (0, import_class_validator122.IsNotEmpty)({ message: "end date is required" }),
9956
+ (0, import_class_validator122.IsDateString)()
9584
9957
  ], CreateFreelancerTimesheetDto.prototype, "endDate", 2);
9585
9958
  __decorateClass([
9586
- (0, import_class_validator121.IsNotEmpty)({ message: "start time is required" }),
9587
- (0, import_class_validator121.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
9959
+ (0, import_class_validator122.IsNotEmpty)({ message: "start time is required" }),
9960
+ (0, import_class_validator122.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
9588
9961
  message: "startTime must be in HH:mm:ss format"
9589
9962
  })
9590
9963
  ], CreateFreelancerTimesheetDto.prototype, "startTime", 2);
9591
9964
  __decorateClass([
9592
- (0, import_class_validator121.IsNotEmpty)({ message: "end time is required" }),
9593
- (0, import_class_validator121.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
9965
+ (0, import_class_validator122.IsNotEmpty)({ message: "end time is required" }),
9966
+ (0, import_class_validator122.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
9594
9967
  message: "endTime must be in HH:mm:ss format"
9595
9968
  })
9596
9969
  ], CreateFreelancerTimesheetDto.prototype, "endTime", 2);
9597
9970
  __decorateClass([
9598
- (0, import_class_validator121.IsOptional)(),
9599
- (0, import_class_validator121.IsInt)()
9971
+ (0, import_class_validator122.IsOptional)(),
9972
+ (0, import_class_validator122.IsInt)()
9600
9973
  ], CreateFreelancerTimesheetDto.prototype, "taskId", 2);
9601
9974
  __decorateClass([
9602
- (0, import_class_validator121.IsOptional)(),
9603
- (0, import_class_validator121.IsString)()
9975
+ (0, import_class_validator122.IsOptional)(),
9976
+ (0, import_class_validator122.IsString)()
9604
9977
  ], CreateFreelancerTimesheetDto.prototype, "projectName", 2);
9605
9978
  __decorateClass([
9606
- (0, import_class_validator121.IsOptional)(),
9607
- (0, import_class_validator121.IsString)()
9979
+ (0, import_class_validator122.IsOptional)(),
9980
+ (0, import_class_validator122.IsString)()
9608
9981
  ], CreateFreelancerTimesheetDto.prototype, "deliverable", 2);
9609
9982
  __decorateClass([
9610
- (0, import_class_validator121.IsOptional)(),
9611
- (0, import_class_validator121.IsString)()
9983
+ (0, import_class_validator122.IsOptional)(),
9984
+ (0, import_class_validator122.IsString)()
9612
9985
  ], CreateFreelancerTimesheetDto.prototype, "taskName", 2);
9613
9986
  __decorateClass([
9614
- (0, import_class_validator121.IsNotEmpty)({ message: "Description is required" })
9987
+ (0, import_class_validator122.IsNotEmpty)({ message: "Description is required" })
9615
9988
  ], CreateFreelancerTimesheetDto.prototype, "description", 2);
9616
9989
 
9617
9990
  // src/modules/timesheet/dto/update-freelancer-timesheet.dto.ts
9618
- var import_class_validator122 = require("class-validator");
9991
+ var import_class_validator123 = require("class-validator");
9619
9992
  var UpdateFreelancerTimesheetDto = class {
9620
9993
  };
9621
9994
  __decorateClass([
9622
- (0, import_class_validator122.IsNotEmpty)({ message: "Job id is required" }),
9623
- (0, import_class_validator122.IsNumber)({}, { message: "Job id must be a number" })
9995
+ (0, import_class_validator123.IsNotEmpty)({ message: "Job id is required" }),
9996
+ (0, import_class_validator123.IsNumber)({}, { message: "Job id must be a number" })
9624
9997
  ], UpdateFreelancerTimesheetDto.prototype, "jobId", 2);
9625
9998
  __decorateClass([
9626
- (0, import_class_validator122.IsNotEmpty)({ message: "start date is required" }),
9627
- (0, import_class_validator122.IsDateString)()
9999
+ (0, import_class_validator123.IsNotEmpty)({ message: "start date is required" }),
10000
+ (0, import_class_validator123.IsDateString)()
9628
10001
  ], UpdateFreelancerTimesheetDto.prototype, "startDate", 2);
9629
10002
  __decorateClass([
9630
- (0, import_class_validator122.IsNotEmpty)({ message: "end date is required" }),
9631
- (0, import_class_validator122.IsDateString)()
10003
+ (0, import_class_validator123.IsNotEmpty)({ message: "end date is required" }),
10004
+ (0, import_class_validator123.IsDateString)()
9632
10005
  ], UpdateFreelancerTimesheetDto.prototype, "endDate", 2);
9633
10006
  __decorateClass([
9634
- (0, import_class_validator122.IsNotEmpty)({ message: "start time is required" }),
9635
- (0, import_class_validator122.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
10007
+ (0, import_class_validator123.IsNotEmpty)({ message: "start time is required" }),
10008
+ (0, import_class_validator123.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
9636
10009
  message: "startTime must be in HH:mm:ss format"
9637
10010
  })
9638
10011
  ], UpdateFreelancerTimesheetDto.prototype, "startTime", 2);
9639
10012
  __decorateClass([
9640
- (0, import_class_validator122.IsNotEmpty)({ message: "end time is required" }),
9641
- (0, import_class_validator122.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
10013
+ (0, import_class_validator123.IsNotEmpty)({ message: "end time is required" }),
10014
+ (0, import_class_validator123.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
9642
10015
  message: "endTime must be in HH:mm:ss format"
9643
10016
  })
9644
10017
  ], UpdateFreelancerTimesheetDto.prototype, "endTime", 2);
9645
10018
  __decorateClass([
9646
- (0, import_class_validator122.IsOptional)(),
9647
- (0, import_class_validator122.IsInt)()
10019
+ (0, import_class_validator123.IsOptional)(),
10020
+ (0, import_class_validator123.IsInt)()
9648
10021
  ], UpdateFreelancerTimesheetDto.prototype, "taskId", 2);
9649
10022
  __decorateClass([
9650
- (0, import_class_validator122.IsOptional)(),
9651
- (0, import_class_validator122.IsString)()
10023
+ (0, import_class_validator123.IsOptional)(),
10024
+ (0, import_class_validator123.IsString)()
9652
10025
  ], UpdateFreelancerTimesheetDto.prototype, "projectName", 2);
9653
10026
  __decorateClass([
9654
- (0, import_class_validator122.IsOptional)(),
9655
- (0, import_class_validator122.IsString)()
10027
+ (0, import_class_validator123.IsOptional)(),
10028
+ (0, import_class_validator123.IsString)()
9656
10029
  ], UpdateFreelancerTimesheetDto.prototype, "deliverable", 2);
9657
10030
  __decorateClass([
9658
- (0, import_class_validator122.IsOptional)(),
9659
- (0, import_class_validator122.IsString)()
10031
+ (0, import_class_validator123.IsOptional)(),
10032
+ (0, import_class_validator123.IsString)()
9660
10033
  ], UpdateFreelancerTimesheetDto.prototype, "taskName", 2);
9661
10034
  __decorateClass([
9662
- (0, import_class_validator122.IsNotEmpty)({ message: "Description is required" })
10035
+ (0, import_class_validator123.IsNotEmpty)({ message: "Description is required" })
9663
10036
  ], UpdateFreelancerTimesheetDto.prototype, "description", 2);
9664
10037
 
9665
10038
  // src/modules/timesheet/dto/submit-timesheet.dto.ts
9666
- var import_class_validator123 = require("class-validator");
10039
+ var import_class_validator124 = require("class-validator");
9667
10040
  var SubmitTimesheetDto = class {
9668
10041
  };
9669
10042
  __decorateClass([
9670
- (0, import_class_validator123.IsNotEmpty)({ message: "Timesheet line ID is required" }),
9671
- (0, import_class_validator123.IsNumber)({}, { message: "Timesheet line ID must be a number" })
10043
+ (0, import_class_validator124.IsNotEmpty)({ message: "Timesheet line ID is required" }),
10044
+ (0, import_class_validator124.IsNumber)({}, { message: "Timesheet line ID must be a number" })
9672
10045
  ], SubmitTimesheetDto.prototype, "timesheetLineId", 2);
9673
10046
 
9674
10047
  // src/modules/timesheet/dto/resubmit-timesheet.dto.ts
9675
- var import_class_validator124 = require("class-validator");
10048
+ var import_class_validator125 = require("class-validator");
9676
10049
  var ResubmitTimesheetDto = class {
9677
10050
  };
9678
10051
  __decorateClass([
9679
- (0, import_class_validator124.IsNotEmpty)({ message: "Timesheet line ID is required" }),
9680
- (0, import_class_validator124.IsNumber)({}, { message: "Timesheet line ID must be a number" })
10052
+ (0, import_class_validator125.IsNotEmpty)({ message: "Timesheet line ID is required" }),
10053
+ (0, import_class_validator125.IsNumber)({}, { message: "Timesheet line ID must be a number" })
9681
10054
  ], ResubmitTimesheetDto.prototype, "timesheetLineId", 2);
9682
10055
 
9683
10056
  // src/modules/timesheet/dto/approve-timesheets.dto.ts
9684
- var import_class_validator125 = require("class-validator");
10057
+ var import_class_validator126 = require("class-validator");
9685
10058
  var import_class_transformer25 = require("class-transformer");
9686
10059
  var ApproveTimesheetsDto = class {
9687
10060
  };
9688
10061
  __decorateClass([
9689
- (0, import_class_validator125.IsNumber)({}, { message: "Timesheet line ID must be a number." }),
9690
- (0, import_class_validator125.IsNotEmpty)({ message: "Timesheet line ID is required." }),
10062
+ (0, import_class_validator126.IsNumber)({}, { message: "Timesheet line ID must be a number." }),
10063
+ (0, import_class_validator126.IsNotEmpty)({ message: "Timesheet line ID is required." }),
9691
10064
  (0, import_class_transformer25.Type)(() => Number)
9692
10065
  ], ApproveTimesheetsDto.prototype, "timesheetLineId", 2);
9693
10066
 
9694
10067
  // src/modules/timesheet/dto/send-back-timesheets.dto.ts
9695
- var import_class_validator126 = require("class-validator");
10068
+ var import_class_validator127 = require("class-validator");
9696
10069
  var import_class_transformer26 = require("class-transformer");
9697
10070
  var SendBackTimesheetsDto = class {
9698
10071
  };
9699
10072
  __decorateClass([
9700
- (0, import_class_validator126.IsNumber)({}, { message: "Timesheet line ID must be a number." }),
9701
- (0, import_class_validator126.IsNotEmpty)({ message: "Timesheet line ID is required." }),
10073
+ (0, import_class_validator127.IsNumber)({}, { message: "Timesheet line ID must be a number." }),
10074
+ (0, import_class_validator127.IsNotEmpty)({ message: "Timesheet line ID is required." }),
9702
10075
  (0, import_class_transformer26.Type)(() => Number)
9703
10076
  ], SendBackTimesheetsDto.prototype, "timesheetLineId", 2);
9704
10077
  __decorateClass([
9705
- (0, import_class_validator126.IsOptional)(),
9706
- (0, import_class_validator126.IsString)({ message: "Client send back reason must be a string." })
10078
+ (0, import_class_validator127.IsOptional)(),
10079
+ (0, import_class_validator127.IsString)({ message: "Client send back reason must be a string." })
9707
10080
  ], SendBackTimesheetsDto.prototype, "clientSendBackReason", 2);
9708
10081
 
9709
10082
  // src/modules/timesheet/dto/create-default-timesheet-line.dto.ts
9710
- var import_class_validator127 = require("class-validator");
10083
+ var import_class_validator128 = require("class-validator");
9711
10084
  var CreateDefaultTimesheetLineDto = class {
9712
10085
  };
9713
10086
  __decorateClass([
9714
- (0, import_class_validator127.IsNotEmpty)({ message: "Contract ID is required" }),
9715
- (0, import_class_validator127.IsNumber)({}, { message: "Contract ID must be a number" })
10087
+ (0, import_class_validator128.IsNotEmpty)({ message: "Contract ID is required" }),
10088
+ (0, import_class_validator128.IsNumber)({}, { message: "Contract ID must be a number" })
9716
10089
  ], CreateDefaultTimesheetLineDto.prototype, "contractId", 2);
9717
10090
  __decorateClass([
9718
- (0, import_class_validator127.IsNotEmpty)({ message: "Freelancer ID is required" }),
9719
- (0, import_class_validator127.IsNumber)({}, { message: "Freelancer ID must be a number" })
10091
+ (0, import_class_validator128.IsNotEmpty)({ message: "Freelancer ID is required" }),
10092
+ (0, import_class_validator128.IsNumber)({}, { message: "Freelancer ID must be a number" })
9720
10093
  ], CreateDefaultTimesheetLineDto.prototype, "freelancerId", 2);
9721
10094
  __decorateClass([
9722
- (0, import_class_validator127.IsNotEmpty)({ message: "Client ID is required" }),
9723
- (0, import_class_validator127.IsNumber)({}, { message: "Client ID must be a number" })
10095
+ (0, import_class_validator128.IsNotEmpty)({ message: "Client ID is required" }),
10096
+ (0, import_class_validator128.IsNumber)({}, { message: "Client ID must be a number" })
9724
10097
  ], CreateDefaultTimesheetLineDto.prototype, "clientId", 2);
9725
10098
 
9726
10099
  // src/modules/invoice/pattern/pattern.ts
@@ -9742,23 +10115,23 @@ var INVOICE_PATTERN = {
9742
10115
  };
9743
10116
 
9744
10117
  // src/modules/invoice/dto/update-invoice-status.dto.ts
9745
- var import_class_validator128 = require("class-validator");
10118
+ var import_class_validator129 = require("class-validator");
9746
10119
  var UpdateInvoiceStatusDto = class {
9747
10120
  };
9748
10121
  __decorateClass([
9749
- (0, import_class_validator128.IsNotEmpty)({ message: "Please provide invoice status." }),
9750
- (0, import_class_validator128.IsEnum)(InvoiceStatusEnum, {
10122
+ (0, import_class_validator129.IsNotEmpty)({ message: "Please provide invoice status." }),
10123
+ (0, import_class_validator129.IsEnum)(InvoiceStatusEnum, {
9751
10124
  message: "Status must be one of: APPROVED, REJECTED"
9752
10125
  })
9753
10126
  ], UpdateInvoiceStatusDto.prototype, "status", 2);
9754
10127
 
9755
10128
  // src/modules/invoice/dto/create-invoice.dto.ts
9756
- var import_class_validator129 = require("class-validator");
10129
+ var import_class_validator130 = require("class-validator");
9757
10130
  var CreateInvoiceDto = class {
9758
10131
  };
9759
10132
  __decorateClass([
9760
- (0, import_class_validator129.IsNotEmpty)({ message: "Timesheet line ID is required" }),
9761
- (0, import_class_validator129.IsNumber)({}, { message: "Timesheet line ID must be a number" })
10133
+ (0, import_class_validator130.IsNotEmpty)({ message: "Timesheet line ID is required" }),
10134
+ (0, import_class_validator130.IsNumber)({}, { message: "Timesheet line ID must be a number" })
9762
10135
  ], CreateInvoiceDto.prototype, "timeSheetLineId", 2);
9763
10136
 
9764
10137
  // src/modules/dispute/pattern/pattern.ts
@@ -9769,42 +10142,42 @@ var DISPUTE_PATTERN = {
9769
10142
  };
9770
10143
 
9771
10144
  // src/modules/dispute/dto/create-dispute.dto.ts
9772
- var import_class_validator130 = require("class-validator");
10145
+ var import_class_validator131 = require("class-validator");
9773
10146
  var import_class_transformer27 = require("class-transformer");
9774
10147
  var CreateDisputeDto = class {
9775
10148
  };
9776
10149
  __decorateClass([
9777
- (0, import_class_validator130.ValidateIf)((o) => o.initiatorType === "FREELANCER" /* FREELANCER */),
9778
- (0, import_class_validator130.IsNumber)({}, { message: "Client id must be a number" }),
10150
+ (0, import_class_validator131.ValidateIf)((o) => o.initiatorType === "FREELANCER" /* FREELANCER */),
10151
+ (0, import_class_validator131.IsNumber)({}, { message: "Client id must be a number" }),
9779
10152
  (0, import_class_transformer27.Type)(() => Number)
9780
10153
  ], CreateDisputeDto.prototype, "clientId", 2);
9781
10154
  __decorateClass([
9782
- (0, import_class_validator130.ValidateIf)((o) => o.initiatorType === "CLIENT" /* CLIENT */),
9783
- (0, import_class_validator130.IsNumber)({}, { message: "Freelancer id must be a number" }),
10155
+ (0, import_class_validator131.ValidateIf)((o) => o.initiatorType === "CLIENT" /* CLIENT */),
10156
+ (0, import_class_validator131.IsNumber)({}, { message: "Freelancer id must be a number" }),
9784
10157
  (0, import_class_transformer27.Type)(() => Number)
9785
10158
  ], CreateDisputeDto.prototype, "freelancerId", 2);
9786
10159
  __decorateClass([
9787
- (0, import_class_validator130.IsNotEmpty)({ message: "Please select dispute type." }),
9788
- (0, import_class_validator130.IsString)(),
9789
- (0, import_class_validator130.IsIn)(["JOB", "INVOICE"])
10160
+ (0, import_class_validator131.IsNotEmpty)({ message: "Please select dispute type." }),
10161
+ (0, import_class_validator131.IsString)(),
10162
+ (0, import_class_validator131.IsIn)(["JOB", "INVOICE"])
9790
10163
  ], CreateDisputeDto.prototype, "disputeType", 2);
9791
10164
  __decorateClass([
9792
- (0, import_class_validator130.IsNotEmpty)({ message: "Please provide initiator type." }),
9793
- (0, import_class_validator130.IsString)()
10165
+ (0, import_class_validator131.IsNotEmpty)({ message: "Please provide initiator type." }),
10166
+ (0, import_class_validator131.IsString)()
9794
10167
  ], CreateDisputeDto.prototype, "initiatorType", 2);
9795
10168
  __decorateClass([
9796
- (0, import_class_validator130.IsNotEmpty)({ message: "Please enter description." }),
9797
- (0, import_class_validator130.IsString)({ message: "Description must be a string" }),
9798
- (0, import_class_validator130.MaxLength)(500, { message: "Description must not exceed 500 characters" })
10169
+ (0, import_class_validator131.IsNotEmpty)({ message: "Please enter description." }),
10170
+ (0, import_class_validator131.IsString)({ message: "Description must be a string" }),
10171
+ (0, import_class_validator131.MaxLength)(500, { message: "Description must not exceed 500 characters" })
9799
10172
  ], CreateDisputeDto.prototype, "description", 2);
9800
10173
  __decorateClass([
9801
- (0, import_class_validator130.IsOptional)(),
9802
- (0, import_class_validator130.IsString)({ message: "Comment must be a string" }),
9803
- (0, import_class_validator130.MaxLength)(500, { message: "Comment must not exceed 500 characters" })
10174
+ (0, import_class_validator131.IsOptional)(),
10175
+ (0, import_class_validator131.IsString)({ message: "Comment must be a string" }),
10176
+ (0, import_class_validator131.MaxLength)(500, { message: "Comment must not exceed 500 characters" })
9804
10177
  ], CreateDisputeDto.prototype, "comment", 2);
9805
10178
  __decorateClass([
9806
- (0, import_class_validator130.IsOptional)(),
9807
- (0, import_class_validator130.IsObject)({ message: "Dynamic fields must be a valid object" }),
10179
+ (0, import_class_validator131.IsOptional)(),
10180
+ (0, import_class_validator131.IsObject)({ message: "Dynamic fields must be a valid object" }),
9808
10181
  (0, import_class_transformer27.Transform)(({ value }) => {
9809
10182
  if (typeof value === "string") {
9810
10183
  try {
@@ -9825,125 +10198,125 @@ var SENSELOAF_PATTERN = {
9825
10198
  };
9826
10199
 
9827
10200
  // src/modules/senseloaf/dto/ai-interview-question-generate.dto.ts
9828
- var import_class_validator131 = require("class-validator");
10201
+ var import_class_validator132 = require("class-validator");
9829
10202
  var AiInterviewQuestionGenerateDto = class {
9830
10203
  };
9831
10204
  __decorateClass([
9832
- (0, import_class_validator131.IsNotEmpty)({ message: "Please enter job description." })
10205
+ (0, import_class_validator132.IsNotEmpty)({ message: "Please enter job description." })
9833
10206
  ], AiInterviewQuestionGenerateDto.prototype, "jobDescription", 2);
9834
10207
  __decorateClass([
9835
- (0, import_class_validator131.IsNotEmpty)({ message: "Please enter number of questions." })
10208
+ (0, import_class_validator132.IsNotEmpty)({ message: "Please enter number of questions." })
9836
10209
  ], AiInterviewQuestionGenerateDto.prototype, "numQuestions", 2);
9837
10210
 
9838
10211
  // src/modules/senseloaf/dto/resume-parsing-by-url.dto.ts
9839
- var import_class_validator132 = require("class-validator");
10212
+ var import_class_validator133 = require("class-validator");
9840
10213
  var ResumeParsingByUrlDto = class {
9841
10214
  };
9842
10215
  __decorateClass([
9843
- (0, import_class_validator132.IsNotEmpty)({ message: "Resume URL is required" }),
9844
- (0, import_class_validator132.IsString)({ message: "Resume URL must be a string" })
10216
+ (0, import_class_validator133.IsNotEmpty)({ message: "Resume URL is required" }),
10217
+ (0, import_class_validator133.IsString)({ message: "Resume URL must be a string" })
9845
10218
  ], ResumeParsingByUrlDto.prototype, "resumeUrl", 2);
9846
10219
  __decorateClass([
9847
- (0, import_class_validator132.IsOptional)(),
9848
- (0, import_class_validator132.IsString)()
10220
+ (0, import_class_validator133.IsOptional)(),
10221
+ (0, import_class_validator133.IsString)()
9849
10222
  ], ResumeParsingByUrlDto.prototype, "fileName", 2);
9850
10223
 
9851
10224
  // src/modules/senseloaf/dto/resume-data-processing.dto.ts
9852
- var import_class_validator133 = require("class-validator");
10225
+ var import_class_validator134 = require("class-validator");
9853
10226
  var ResumeDataProcessingDto = class {
9854
10227
  };
9855
10228
  __decorateClass([
9856
- (0, import_class_validator133.IsNotEmpty)({ message: "Resume data is required" }),
9857
- (0, import_class_validator133.IsObject)()
10229
+ (0, import_class_validator134.IsNotEmpty)({ message: "Resume data is required" }),
10230
+ (0, import_class_validator134.IsObject)()
9858
10231
  ], ResumeDataProcessingDto.prototype, "resumeData", 2);
9859
10232
  __decorateClass([
9860
- (0, import_class_validator133.IsOptional)(),
9861
- (0, import_class_validator133.IsString)()
10233
+ (0, import_class_validator134.IsOptional)(),
10234
+ (0, import_class_validator134.IsString)()
9862
10235
  ], ResumeDataProcessingDto.prototype, "userId", 2);
9863
10236
  __decorateClass([
9864
- (0, import_class_validator133.IsOptional)(),
9865
- (0, import_class_validator133.IsString)()
10237
+ (0, import_class_validator134.IsOptional)(),
10238
+ (0, import_class_validator134.IsString)()
9866
10239
  ], ResumeDataProcessingDto.prototype, "processingType", 2);
9867
10240
 
9868
10241
  // src/modules/senseloaf/dto/check-resume-eligibility.dto.ts
9869
- var import_class_validator134 = require("class-validator");
10242
+ var import_class_validator135 = require("class-validator");
9870
10243
  var CheckResumeEligibilityDto = class {
9871
10244
  };
9872
10245
  __decorateClass([
9873
- (0, import_class_validator134.IsNotEmpty)({ message: "Resume data is required" }),
9874
- (0, import_class_validator134.IsObject)()
10246
+ (0, import_class_validator135.IsNotEmpty)({ message: "Resume data is required" }),
10247
+ (0, import_class_validator135.IsObject)()
9875
10248
  ], CheckResumeEligibilityDto.prototype, "resumeData", 2);
9876
10249
  __decorateClass([
9877
- (0, import_class_validator134.IsOptional)(),
9878
- (0, import_class_validator134.IsString)()
10250
+ (0, import_class_validator135.IsOptional)(),
10251
+ (0, import_class_validator135.IsString)()
9879
10252
  ], CheckResumeEligibilityDto.prototype, "jobId", 2);
9880
10253
  __decorateClass([
9881
- (0, import_class_validator134.IsOptional)(),
9882
- (0, import_class_validator134.IsString)()
10254
+ (0, import_class_validator135.IsOptional)(),
10255
+ (0, import_class_validator135.IsString)()
9883
10256
  ], CheckResumeEligibilityDto.prototype, "userId", 2);
9884
10257
 
9885
10258
  // src/modules/senseloaf/dto/ai-interview-template-generation.dto.ts
9886
- var import_class_validator135 = require("class-validator");
10259
+ var import_class_validator136 = require("class-validator");
9887
10260
  var AiInterviewTemplateGenerationDto = class {
9888
10261
  };
9889
10262
  __decorateClass([
9890
- (0, import_class_validator135.IsNotEmpty)({ message: "Job ID is required" }),
9891
- (0, import_class_validator135.IsString)({ message: "Job ID must be a string" })
10263
+ (0, import_class_validator136.IsNotEmpty)({ message: "Job ID is required" }),
10264
+ (0, import_class_validator136.IsString)({ message: "Job ID must be a string" })
9892
10265
  ], AiInterviewTemplateGenerationDto.prototype, "jobId", 2);
9893
10266
  __decorateClass([
9894
- (0, import_class_validator135.IsOptional)(),
9895
- (0, import_class_validator135.IsArray)(),
9896
- (0, import_class_validator135.IsString)({ each: true, message: "Each skill must be a string" })
10267
+ (0, import_class_validator136.IsOptional)(),
10268
+ (0, import_class_validator136.IsArray)(),
10269
+ (0, import_class_validator136.IsString)({ each: true, message: "Each skill must be a string" })
9897
10270
  ], AiInterviewTemplateGenerationDto.prototype, "skills", 2);
9898
10271
  __decorateClass([
9899
- (0, import_class_validator135.IsOptional)(),
9900
- (0, import_class_validator135.IsNumber)({}, { message: "Number of questions must be a number" })
10272
+ (0, import_class_validator136.IsOptional)(),
10273
+ (0, import_class_validator136.IsNumber)({}, { message: "Number of questions must be a number" })
9901
10274
  ], AiInterviewTemplateGenerationDto.prototype, "numberOfQuestions", 2);
9902
10275
  __decorateClass([
9903
- (0, import_class_validator135.IsOptional)(),
9904
- (0, import_class_validator135.IsString)()
10276
+ (0, import_class_validator136.IsOptional)(),
10277
+ (0, import_class_validator136.IsString)()
9905
10278
  ], AiInterviewTemplateGenerationDto.prototype, "difficulty", 2);
9906
10279
 
9907
10280
  // src/modules/senseloaf/dto/ai-interview-link-generation.dto.ts
9908
- var import_class_validator136 = require("class-validator");
10281
+ var import_class_validator137 = require("class-validator");
9909
10282
  var AiInterviewLinkGenerationDto = class {
9910
10283
  };
9911
10284
  __decorateClass([
9912
- (0, import_class_validator136.IsNotEmpty)({ message: "Template ID is required" }),
9913
- (0, import_class_validator136.IsString)({ message: "Template ID must be a string" })
10285
+ (0, import_class_validator137.IsNotEmpty)({ message: "Template ID is required" }),
10286
+ (0, import_class_validator137.IsString)({ message: "Template ID must be a string" })
9914
10287
  ], AiInterviewLinkGenerationDto.prototype, "templateId", 2);
9915
10288
  __decorateClass([
9916
- (0, import_class_validator136.IsNotEmpty)({ message: "Freelancer ID is required" }),
9917
- (0, import_class_validator136.IsString)({ message: "Freelancer ID must be a string" })
10289
+ (0, import_class_validator137.IsNotEmpty)({ message: "Freelancer ID is required" }),
10290
+ (0, import_class_validator137.IsString)({ message: "Freelancer ID must be a string" })
9918
10291
  ], AiInterviewLinkGenerationDto.prototype, "freelancerId", 2);
9919
10292
  __decorateClass([
9920
- (0, import_class_validator136.IsOptional)(),
9921
- (0, import_class_validator136.IsString)()
10293
+ (0, import_class_validator137.IsOptional)(),
10294
+ (0, import_class_validator137.IsString)()
9922
10295
  ], AiInterviewLinkGenerationDto.prototype, "jobId", 2);
9923
10296
  __decorateClass([
9924
- (0, import_class_validator136.IsOptional)(),
9925
- (0, import_class_validator136.IsNumber)({}, { message: "Expiry hours must be a number" })
10297
+ (0, import_class_validator137.IsOptional)(),
10298
+ (0, import_class_validator137.IsNumber)({}, { message: "Expiry hours must be a number" })
9926
10299
  ], AiInterviewLinkGenerationDto.prototype, "expiryHours", 2);
9927
10300
 
9928
10301
  // src/modules/senseloaf/dto/ai-assessment-creation.dto.ts
9929
- var import_class_validator137 = require("class-validator");
10302
+ var import_class_validator138 = require("class-validator");
9930
10303
  var AiAssessmentCreationDto = class {
9931
10304
  };
9932
10305
  __decorateClass([
9933
- (0, import_class_validator137.IsNotEmpty)({ message: "User ID is required" }),
9934
- (0, import_class_validator137.IsString)({ message: "User ID must be a string" })
10306
+ (0, import_class_validator138.IsNotEmpty)({ message: "User ID is required" }),
10307
+ (0, import_class_validator138.IsString)({ message: "User ID must be a string" })
9935
10308
  ], AiAssessmentCreationDto.prototype, "userId", 2);
9936
10309
  __decorateClass([
9937
- (0, import_class_validator137.IsOptional)(),
9938
- (0, import_class_validator137.IsString)()
10310
+ (0, import_class_validator138.IsOptional)(),
10311
+ (0, import_class_validator138.IsString)()
9939
10312
  ], AiAssessmentCreationDto.prototype, "assessmentType", 2);
9940
10313
  __decorateClass([
9941
- (0, import_class_validator137.IsOptional)(),
9942
- (0, import_class_validator137.IsNumber)({}, { message: "Number of questions must be a number" })
10314
+ (0, import_class_validator138.IsOptional)(),
10315
+ (0, import_class_validator138.IsNumber)({}, { message: "Number of questions must be a number" })
9943
10316
  ], AiAssessmentCreationDto.prototype, "numberOfQuestions", 2);
9944
10317
  __decorateClass([
9945
- (0, import_class_validator137.IsOptional)(),
9946
- (0, import_class_validator137.IsString)()
10318
+ (0, import_class_validator138.IsOptional)(),
10319
+ (0, import_class_validator138.IsString)()
9947
10320
  ], AiAssessmentCreationDto.prototype, "difficulty", 2);
9948
10321
 
9949
10322
  // src/modules/commission/pattern/pattern.ts
@@ -9959,16 +10332,16 @@ var HIRING_PATTERN = {
9959
10332
  };
9960
10333
 
9961
10334
  // src/modules/hiring/dto/create-hiring.dto.ts
9962
- var import_class_validator138 = require("class-validator");
10335
+ var import_class_validator139 = require("class-validator");
9963
10336
  var CreateHiringDto = class {
9964
10337
  };
9965
10338
  __decorateClass([
9966
- (0, import_class_validator138.IsNotEmpty)({ message: "Freelancer ID is required" }),
9967
- (0, import_class_validator138.IsNumber)({}, { message: "Freelancer ID must be a number" })
10339
+ (0, import_class_validator139.IsNotEmpty)({ message: "Freelancer ID is required" }),
10340
+ (0, import_class_validator139.IsNumber)({}, { message: "Freelancer ID must be a number" })
9968
10341
  ], CreateHiringDto.prototype, "freelancerId", 2);
9969
10342
  __decorateClass([
9970
- (0, import_class_validator138.IsNotEmpty)({ message: "Job ID is required" }),
9971
- (0, import_class_validator138.IsNumber)({}, { message: "Job ID must be a number" })
10343
+ (0, import_class_validator139.IsNotEmpty)({ message: "Job ID is required" }),
10344
+ (0, import_class_validator139.IsNumber)({}, { message: "Job ID must be a number" })
9972
10345
  ], CreateHiringDto.prototype, "jobId", 2);
9973
10346
 
9974
10347
  // src/modules/llm/pattern/pattern.ts
@@ -9989,16 +10362,16 @@ var SIGNATURE_PATTERN = {
9989
10362
  };
9990
10363
 
9991
10364
  // src/modules/user/signature/dto/save-signature.dto.ts
9992
- var import_class_validator139 = require("class-validator");
10365
+ var import_class_validator140 = require("class-validator");
9993
10366
  var SaveSignatureDto = class {
9994
10367
  };
9995
10368
  __decorateClass([
9996
- (0, import_class_validator139.IsOptional)(),
9997
- (0, import_class_validator139.IsString)()
10369
+ (0, import_class_validator140.IsOptional)(),
10370
+ (0, import_class_validator140.IsString)()
9998
10371
  ], SaveSignatureDto.prototype, "signatureType", 2);
9999
10372
  __decorateClass([
10000
- (0, import_class_validator139.IsOptional)(),
10001
- (0, import_class_validator139.IsString)()
10373
+ (0, import_class_validator140.IsOptional)(),
10374
+ (0, import_class_validator140.IsString)()
10002
10375
  ], SaveSignatureDto.prototype, "description", 2);
10003
10376
 
10004
10377
  // src/modules/wallet/pattern/pattern.ts
@@ -10016,21 +10389,21 @@ var WALLET_ADMIN_PATTERN = {
10016
10389
  };
10017
10390
 
10018
10391
  // src/modules/wallet/dto/add-topup-escrow-amount.dto.ts
10019
- var import_class_validator140 = require("class-validator");
10392
+ var import_class_validator141 = require("class-validator");
10020
10393
  var AddTopupEscrowAmountDto = class {
10021
10394
  };
10022
10395
  __decorateClass([
10023
- (0, import_class_validator140.IsNotEmpty)({ message: "Amount is required" }),
10024
- (0, import_class_validator140.IsNumber)({}, { message: "Amount must be a number" })
10396
+ (0, import_class_validator141.IsNotEmpty)({ message: "Amount is required" }),
10397
+ (0, import_class_validator141.IsNumber)({}, { message: "Amount must be a number" })
10025
10398
  ], AddTopupEscrowAmountDto.prototype, "amount", 2);
10026
10399
 
10027
10400
  // src/modules/wallet/dto/debit-commission-fte-hiring.dto.ts
10028
- var import_class_validator141 = require("class-validator");
10401
+ var import_class_validator142 = require("class-validator");
10029
10402
  var DebitCommissionFteHiringDto = class {
10030
10403
  };
10031
10404
  __decorateClass([
10032
- (0, import_class_validator141.IsUUID)("4", { message: "Invoice UUID must be a valid UUID." }),
10033
- (0, import_class_validator141.IsNotEmpty)({ message: "Invoice UUID is required." })
10405
+ (0, import_class_validator142.IsUUID)("4", { message: "Invoice UUID must be a valid UUID." }),
10406
+ (0, import_class_validator142.IsNotEmpty)({ message: "Invoice UUID is required." })
10034
10407
  ], DebitCommissionFteHiringDto.prototype, "invoiceUuid", 2);
10035
10408
 
10036
10409
  // src/adapters/tcp/user.tcp.adapter.ts
@@ -11282,7 +11655,6 @@ RecommendationWeightageConfig = __decorateClass([
11282
11655
  ModeOfWork,
11283
11656
  NOTIFICATION_PATTERN,
11284
11657
  NatureOfWork,
11285
- NatureOfWorkDto,
11286
11658
  NewCandidateDto,
11287
11659
  NotificationRMQAdapter,
11288
11660
  NotificationTCPAdapter,
@@ -11390,6 +11762,7 @@ RecommendationWeightageConfig = __decorateClass([
11390
11762
  UpdateClientHiringModeEnum,
11391
11763
  UpdateClientHiringTypeEnum,
11392
11764
  UpdateCmsDto,
11765
+ UpdateCmsStatusDto,
11393
11766
  UpdateCompanyMemberDto,
11394
11767
  UpdateCompanyProfileDto,
11395
11768
  UpdateCompanyRoleDto,