@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.mjs CHANGED
@@ -1871,11 +1871,11 @@ import {
1871
1871
  ValidateIf as ValidateIf5,
1872
1872
  IsInt
1873
1873
  } from "class-validator";
1874
- var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto3) => {
1875
- NatureOfWorkDto3["FREELANCE"] = "FREELANCE";
1876
- NatureOfWorkDto3["FTE"] = "FTE";
1877
- NatureOfWorkDto3["BOTH"] = "BOTH";
1878
- return NatureOfWorkDto3;
1874
+ var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
1875
+ NatureOfWorkDto2["FREELANCE"] = "FREELANCE";
1876
+ NatureOfWorkDto2["FTE"] = "FTE";
1877
+ NatureOfWorkDto2["BOTH"] = "BOTH";
1878
+ return NatureOfWorkDto2;
1879
1879
  })(NatureOfWorkDto || {});
1880
1880
  var ModeOfWorkDto = /* @__PURE__ */ ((ModeOfWorkDto2) => {
1881
1881
  ModeOfWorkDto2["ONSITE"] = "ONSITE";
@@ -2164,7 +2164,8 @@ var NOTIFICATION_PATTERN = {
2164
2164
  handleAiInterviewResultErrorNotification: "handle.ai.interview.result.error.notification",
2165
2165
  handleAiInterviewRecordingErrorNotification: "handle.ai.interview.recording.error.notification",
2166
2166
  handleAiAssessmentInterviewResultErrorNotification: "handle.ai.assessment.interview.result.error.notification",
2167
- handleAiAssessmentInterviewRecordingErrorNotification: "handle.ai.assessment.interview.recording.error.notification"
2167
+ handleAiAssessmentInterviewRecordingErrorNotification: "handle.ai.assessment.interview.recording.error.notification",
2168
+ handleSubAdminAccountCreatedNotification: "handle.subadmin.account.created.notification"
2168
2169
  };
2169
2170
  var SMS_PATTERN = {
2170
2171
  sendTest: "sms.send.test",
@@ -7564,19 +7565,13 @@ import {
7564
7565
  IsNumber as IsNumber9,
7565
7566
  IsUrl as IsUrl3,
7566
7567
  MaxLength as MaxLength16,
7567
- IsNotEmpty as IsNotEmpty61,
7568
7568
  MinLength as MinLength12,
7569
7569
  Matches as Matches9,
7570
+ IsNotEmpty as IsNotEmpty61,
7570
7571
  ValidateIf as ValidateIf7,
7571
7572
  IsInt as IsInt7
7572
7573
  } from "class-validator";
7573
- import { Type as Type8 } from "class-transformer";
7574
- var NatureOfWorkDto2 = /* @__PURE__ */ ((NatureOfWorkDto3) => {
7575
- NatureOfWorkDto3["FREELANCE"] = "FREELANCE";
7576
- NatureOfWorkDto3["FTE"] = "FTE";
7577
- NatureOfWorkDto3["BOTH"] = "BOTH";
7578
- return NatureOfWorkDto3;
7579
- })(NatureOfWorkDto2 || {});
7574
+ import { Transform as Transform2 } from "class-transformer";
7580
7575
  var NatureOfWorkEnum = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
7581
7576
  NatureOfWorkEnum3["FTE"] = "FTE";
7582
7577
  NatureOfWorkEnum3["FREELANCE"] = "FREELANCE";
@@ -7592,35 +7587,172 @@ var ModeOfWorkEnum = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
7592
7587
  var CreateFreelancerDto = class {
7593
7588
  };
7594
7589
  __decorateClass([
7590
+ IsOptional38(),
7595
7591
  IsString39({ message: "Full name must be a string" }),
7596
- MaxLength16(100, { message: "Full name must not exceed 100 characters" })
7592
+ MaxLength16(100, { message: "Full name must not exceed 100 characters" }),
7593
+ Transform2(({ value }) => {
7594
+ if (Array.isArray(value)) return value[0]?.trim();
7595
+ return typeof value === "string" ? value.trim() : value;
7596
+ })
7597
7597
  ], CreateFreelancerDto.prototype, "fullName", 2);
7598
7598
  __decorateClass([
7599
- IsEmail13({}, { message: "Invalid email address" })
7599
+ IsOptional38(),
7600
+ IsEmail13({}, { message: "Invalid email address" }),
7601
+ Transform2(({ value }) => {
7602
+ if (Array.isArray(value)) return value[0]?.trim();
7603
+ return typeof value === "string" ? value.trim() : value;
7604
+ })
7600
7605
  ], CreateFreelancerDto.prototype, "email", 2);
7601
7606
  __decorateClass([
7602
- IsString39({ message: "Mobile code must be a string (e.g., +1)" })
7607
+ IsOptional38(),
7608
+ IsString39({ message: "Mobile code must be a string (e.g., +1)" }),
7609
+ Transform2(({ value }) => {
7610
+ if (Array.isArray(value)) return value[0]?.trim();
7611
+ return typeof value === "string" ? value.trim() : value;
7612
+ })
7603
7613
  ], CreateFreelancerDto.prototype, "mobileCode", 2);
7604
7614
  __decorateClass([
7605
- IsString39({ message: "Mobile must be a string (e.g., 1243253534)" })
7615
+ IsOptional38(),
7616
+ IsString39({ message: "Mobile must be a string (e.g., 1243253534)" }),
7617
+ Transform2(({ value }) => {
7618
+ if (Array.isArray(value)) return value[0]?.trim();
7619
+ return typeof value === "string" ? value.trim() : value;
7620
+ })
7606
7621
  ], CreateFreelancerDto.prototype, "mobile", 2);
7607
7622
  __decorateClass([
7608
- IsNotEmpty61({ message: "Please enter password." }),
7609
- MinLength12(6),
7610
- MaxLength16(32),
7623
+ IsNotEmpty61({ message: "Please enter address." }),
7624
+ IsString39({ message: "address must be a string" }),
7625
+ Transform2(({ value }) => {
7626
+ if (Array.isArray(value)) {
7627
+ const val = value[0];
7628
+ return val && typeof val === "string" ? val.trim() : val;
7629
+ }
7630
+ return typeof value === "string" ? value.trim() : value;
7631
+ })
7632
+ ], CreateFreelancerDto.prototype, "address", 2);
7633
+ __decorateClass([
7634
+ IsOptional38(),
7635
+ IsString39({ message: "addressLine must be a string" }),
7636
+ Transform2(({ value }) => {
7637
+ if (Array.isArray(value)) {
7638
+ const val = value[0];
7639
+ if (!val || val === "") return void 0;
7640
+ return typeof val === "string" ? val.trim() : val;
7641
+ }
7642
+ if (value === null || value === void 0 || value === "") return void 0;
7643
+ return typeof value === "string" ? value.trim() : value;
7644
+ })
7645
+ ], CreateFreelancerDto.prototype, "addressLine", 2);
7646
+ __decorateClass([
7647
+ IsOptional38(),
7648
+ IsInt7({ message: "countryId must be an integer" }),
7649
+ Transform2(({ value }) => {
7650
+ if (Array.isArray(value)) value = value[0];
7651
+ const num = Number(value);
7652
+ return isNaN(num) ? void 0 : num;
7653
+ })
7654
+ ], CreateFreelancerDto.prototype, "countryId", 2);
7655
+ __decorateClass([
7656
+ IsOptional38(),
7657
+ IsInt7({ message: "stateId must be an integer" }),
7658
+ Transform2(({ value }) => {
7659
+ if (Array.isArray(value)) value = value[0];
7660
+ const num = Number(value);
7661
+ return isNaN(num) ? void 0 : num;
7662
+ })
7663
+ ], CreateFreelancerDto.prototype, "stateId", 2);
7664
+ __decorateClass([
7665
+ IsOptional38(),
7666
+ IsInt7({ message: "cityId must be an integer" }),
7667
+ Transform2(({ value }) => {
7668
+ if (Array.isArray(value)) value = value[0];
7669
+ const num = Number(value);
7670
+ return isNaN(num) ? void 0 : num;
7671
+ })
7672
+ ], CreateFreelancerDto.prototype, "cityId", 2);
7673
+ __decorateClass([
7674
+ IsOptional38(),
7675
+ IsString39({ message: "postalCode must be a string" }),
7676
+ Transform2(({ value }) => {
7677
+ if (Array.isArray(value)) {
7678
+ const val = value[0];
7679
+ if (!val || val === "") return void 0;
7680
+ return typeof val === "string" ? val.trim() : val;
7681
+ }
7682
+ if (value === null || value === void 0 || value === "") return void 0;
7683
+ return typeof value === "string" ? value.trim() : value;
7684
+ })
7685
+ ], CreateFreelancerDto.prototype, "postalCode", 2);
7686
+ __decorateClass([
7687
+ IsOptional38(),
7688
+ IsString39({ message: "about must be a string" }),
7689
+ Transform2(({ value }) => {
7690
+ if (Array.isArray(value)) {
7691
+ const val = value[0];
7692
+ if (!val || val === "") return void 0;
7693
+ return typeof val === "string" ? val.trim() : val;
7694
+ }
7695
+ if (value === null || value === void 0 || value === "") return void 0;
7696
+ return typeof value === "string" ? value.trim() : value;
7697
+ })
7698
+ ], CreateFreelancerDto.prototype, "about", 2);
7699
+ __decorateClass([
7700
+ IsOptional38(),
7701
+ IsString39({ message: "designation must be a string" }),
7702
+ Transform2(({ value }) => {
7703
+ if (Array.isArray(value)) {
7704
+ const val = value[0];
7705
+ if (!val || val === "") return void 0;
7706
+ return typeof val === "string" ? val.trim() : val;
7707
+ }
7708
+ if (value === null || value === void 0 || value === "") return void 0;
7709
+ return typeof value === "string" ? value.trim() : value;
7710
+ })
7711
+ ], CreateFreelancerDto.prototype, "designation", 2);
7712
+ __decorateClass([
7713
+ IsOptional38(),
7714
+ IsNumber9({}, { message: "experience must be a number" }),
7715
+ Transform2(({ value }) => {
7716
+ if (Array.isArray(value)) value = value[0];
7717
+ const num = Number(value);
7718
+ return isNaN(num) ? void 0 : num;
7719
+ })
7720
+ ], CreateFreelancerDto.prototype, "experience", 2);
7721
+ __decorateClass([
7722
+ IsOptional38(),
7723
+ Transform2(({ value }) => {
7724
+ if (Array.isArray(value)) value = value[0];
7725
+ return value === null || value === "" ? void 0 : value;
7726
+ }),
7727
+ MinLength12(6, { message: "Password must be at least 6 characters." }),
7728
+ MaxLength16(32, { message: "Password must not exceed 32 characters." }),
7611
7729
  Matches9(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
7612
7730
  message: "Password must include letters, numbers and symbols."
7613
7731
  })
7614
7732
  ], CreateFreelancerDto.prototype, "password", 2);
7615
7733
  __decorateClass([
7616
7734
  IsNotEmpty61({ message: "Please enter confirm password." }),
7617
- Match("confirmPassword", { message: "Passwords do not match" })
7735
+ Match("confirmPassword", { message: "Passwords do not match" }),
7736
+ Transform2(({ value }) => {
7737
+ if (Array.isArray(value)) {
7738
+ const val = value[0];
7739
+ return val && typeof val === "string" ? val.trim() : val;
7740
+ }
7741
+ return typeof value === "string" ? value.trim() : value;
7742
+ })
7618
7743
  ], CreateFreelancerDto.prototype, "confirmPassword", 2);
7619
7744
  __decorateClass([
7620
- IsBoolean11({ message: "Developer flag must be true or false" }),
7621
- Type8(() => Boolean)
7745
+ IsOptional38(),
7746
+ Transform2(({ value }) => {
7747
+ if (Array.isArray(value)) value = value[0];
7748
+ if (value === "true" || value === true) return true;
7749
+ if (value === "false" || value === false) return false;
7750
+ return void 0;
7751
+ }),
7752
+ IsBoolean11({ message: "Developer flag must be true or false" })
7622
7753
  ], CreateFreelancerDto.prototype, "developer", 2);
7623
7754
  __decorateClass([
7755
+ IsOptional38(),
7624
7756
  IsEnum23(NatureOfWorkEnum, {
7625
7757
  message: `Nature of work must be one of: ${Object.values(
7626
7758
  NatureOfWorkEnum
@@ -7628,19 +7760,43 @@ __decorateClass([
7628
7760
  })
7629
7761
  ], CreateFreelancerDto.prototype, "natureOfWork", 2);
7630
7762
  __decorateClass([
7631
- ValidateIf7((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */ || dto.NatureOfWorkDto === "BOTH" /* BOTH */),
7632
- IsNotEmpty61({ message: "Please enter expected hourly compensation." })
7763
+ ValidateIf7(
7764
+ (dto) => dto.natureOfWork === "FREELANCE" /* FREELANCE */ || dto.natureOfWork === "BOTH" /* BOTH */
7765
+ ),
7766
+ IsOptional38(),
7767
+ IsNumber9({}, { message: "Expected hourly compensation must be a number" }),
7768
+ Transform2(({ value }) => {
7769
+ if (Array.isArray(value)) value = value[0];
7770
+ const num = Number(value);
7771
+ return isNaN(num) ? void 0 : num;
7772
+ })
7633
7773
  ], CreateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
7634
7774
  __decorateClass([
7635
- ValidateIf7((dto) => dto.NatureOfWorkDto === "BOTH" /* BOTH */),
7636
- IsNotEmpty61({ message: "Please enter expected annual compensation." })
7775
+ ValidateIf7(
7776
+ (dto) => dto.natureOfWork === "FTE" /* FTE */ || dto.natureOfWork === "BOTH" /* BOTH */
7777
+ ),
7778
+ IsOptional38(),
7779
+ IsNumber9({}, { message: "Expected annual compensation must be a number" }),
7780
+ Transform2(({ value }) => {
7781
+ if (Array.isArray(value)) value = value[0];
7782
+ const num = Number(value);
7783
+ return isNaN(num) ? void 0 : num;
7784
+ })
7637
7785
  ], CreateFreelancerDto.prototype, "expectedAnnualCompensation", 2);
7638
7786
  __decorateClass([
7639
- ValidateIf7((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */),
7787
+ ValidateIf7(
7788
+ (dto) => dto.natureOfWork === "FREELANCE" /* FREELANCE */ || dto.natureOfWork === "BOTH" /* BOTH */
7789
+ ),
7790
+ IsOptional38(),
7640
7791
  IsInt7({ message: "Please enter valid weekly availability hours (integer)." }),
7641
- IsNotEmpty61({ message: "Please enter weekly availability hours" })
7792
+ Transform2(({ value }) => {
7793
+ if (Array.isArray(value)) value = value[0];
7794
+ const num = Number(value);
7795
+ return isNaN(num) ? void 0 : num;
7796
+ })
7642
7797
  ], CreateFreelancerDto.prototype, "numberOfHours", 2);
7643
7798
  __decorateClass([
7799
+ IsOptional38(),
7644
7800
  IsEnum23(ModeOfWorkEnum, {
7645
7801
  message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum).join(
7646
7802
  ", "
@@ -7648,76 +7804,97 @@ __decorateClass([
7648
7804
  })
7649
7805
  ], CreateFreelancerDto.prototype, "modeOfWork", 2);
7650
7806
  __decorateClass([
7651
- IsBoolean11({ message: "isImmediateJoiner must be true or false" }),
7652
- Type8(() => Boolean)
7807
+ IsOptional38(),
7808
+ Transform2(({ value }) => {
7809
+ if (Array.isArray(value)) value = value[0];
7810
+ if (value === "true" || value === true) return true;
7811
+ if (value === "false" || value === false) return false;
7812
+ return void 0;
7813
+ }),
7814
+ IsBoolean11({ message: "isImmediateJoiner must be true or false" })
7653
7815
  ], CreateFreelancerDto.prototype, "isImmediateJoiner", 2);
7654
7816
  __decorateClass([
7655
7817
  ValidateIf7((o) => o.isImmediateJoiner === false),
7656
- IsNotEmpty61({ message: "Please enter availability to join." })
7818
+ IsOptional38(),
7819
+ IsString39({ message: "availabilityToJoin must be a string" }),
7820
+ Transform2(({ value }) => {
7821
+ if (Array.isArray(value)) {
7822
+ const val = value[0];
7823
+ if (!val || val === "") return void 0;
7824
+ return typeof val === "string" ? val.trim() : val;
7825
+ }
7826
+ if (value === null || value === void 0 || value === "") return void 0;
7827
+ return typeof value === "string" ? value.trim() : value;
7828
+ })
7657
7829
  ], CreateFreelancerDto.prototype, "availabilityToJoin", 2);
7658
7830
  __decorateClass([
7659
7831
  IsOptional38(),
7660
- IsUrl3({}, { message: "LinkedIn profile link must be a valid URL" })
7832
+ IsUrl3({}, { message: "LinkedIn profile link must be a valid URL" }),
7833
+ Transform2(({ value }) => {
7834
+ if (Array.isArray(value)) {
7835
+ const val = value[0];
7836
+ if (!val || val === "") return void 0;
7837
+ return typeof val === "string" ? val.trim() : val;
7838
+ }
7839
+ if (value === null || value === void 0 || value === "") return void 0;
7840
+ return typeof value === "string" ? value.trim() : value;
7841
+ })
7661
7842
  ], CreateFreelancerDto.prototype, "linkedinProfileLink", 2);
7662
7843
  __decorateClass([
7663
7844
  IsOptional38(),
7664
- IsString39({ message: "Kaggle profile link must be a string" })
7845
+ IsString39({ message: "Kaggle profile link must be a string" }),
7846
+ Transform2(({ value }) => {
7847
+ if (Array.isArray(value)) {
7848
+ const val = value[0];
7849
+ if (!val || val === "") return void 0;
7850
+ return typeof val === "string" ? val.trim() : val;
7851
+ }
7852
+ if (value === null || value === void 0 || value === "") return void 0;
7853
+ return typeof value === "string" ? value.trim() : value;
7854
+ })
7665
7855
  ], CreateFreelancerDto.prototype, "kaggleProfileLink", 2);
7666
7856
  __decorateClass([
7667
7857
  IsOptional38(),
7668
- IsUrl3({}, { message: "GitHub profile link must be a valid URL" })
7858
+ IsUrl3({}, { message: "GitHub profile link must be a valid URL" }),
7859
+ Transform2(({ value }) => {
7860
+ if (Array.isArray(value)) {
7861
+ const val = value[0];
7862
+ if (!val || val === "") return void 0;
7863
+ return typeof val === "string" ? val.trim() : val;
7864
+ }
7865
+ if (value === null || value === void 0 || value === "") return void 0;
7866
+ return typeof value === "string" ? value.trim() : value;
7867
+ })
7669
7868
  ], CreateFreelancerDto.prototype, "githubProfileLink", 2);
7670
7869
  __decorateClass([
7671
7870
  IsOptional38(),
7672
- IsUrl3({}, { message: "StackOverflow profile link must be a valid URL" })
7871
+ IsUrl3({}, { message: "StackOverflow profile link must be a valid URL" }),
7872
+ Transform2(({ value }) => {
7873
+ if (Array.isArray(value)) {
7874
+ const val = value[0];
7875
+ if (!val || val === "") return void 0;
7876
+ return typeof val === "string" ? val.trim() : val;
7877
+ }
7878
+ if (value === null || value === void 0 || value === "") return void 0;
7879
+ return typeof value === "string" ? value.trim() : value;
7880
+ })
7673
7881
  ], CreateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
7674
7882
  __decorateClass([
7675
7883
  IsOptional38(),
7676
- IsUrl3({}, { message: "Portfolio link must be a valid URL" })
7884
+ IsUrl3({}, { message: "Portfolio link must be a valid URL" }),
7885
+ Transform2(({ value }) => {
7886
+ if (Array.isArray(value)) {
7887
+ const val = value[0];
7888
+ if (!val || val === "") return void 0;
7889
+ return typeof val === "string" ? val.trim() : val;
7890
+ }
7891
+ if (value === null || value === void 0 || value === "") return void 0;
7892
+ return typeof value === "string" ? value.trim() : value;
7893
+ })
7677
7894
  ], CreateFreelancerDto.prototype, "portfolioLink", 2);
7678
7895
  __decorateClass([
7679
7896
  IsOptional38()
7680
7897
  ], CreateFreelancerDto.prototype, "file", 2);
7681
- __decorateClass([
7682
- IsOptional38(),
7683
- IsString39({ message: "Designation must be a string" })
7684
- ], CreateFreelancerDto.prototype, "designation", 2);
7685
- __decorateClass([
7686
- IsOptional38(),
7687
- IsNumber9({}, { message: "Experience must be a number" }),
7688
- Type8(() => Number)
7689
- ], CreateFreelancerDto.prototype, "experience", 2);
7690
- __decorateClass([
7691
- IsOptional38(),
7692
- IsString39({ message: "Address must be a string" })
7693
- ], CreateFreelancerDto.prototype, "address", 2);
7694
- __decorateClass([
7695
- IsOptional38(),
7696
- IsString39({ message: "Address line must be a string" })
7697
- ], CreateFreelancerDto.prototype, "addressLine", 2);
7698
- __decorateClass([
7699
- IsOptional38(),
7700
- IsString39({ message: "Postal code must be a string" })
7701
- ], CreateFreelancerDto.prototype, "postalCode", 2);
7702
- __decorateClass([
7703
- IsOptional38(),
7704
- IsString39({ message: "About must be a string" })
7705
- ], CreateFreelancerDto.prototype, "about", 2);
7706
- __decorateClass([
7707
- IsOptional38(),
7708
- IsInt7({ message: "Country ID must be an integer" }),
7709
- Type8(() => Number)
7710
- ], CreateFreelancerDto.prototype, "countryId", 2);
7711
- __decorateClass([
7712
- IsOptional38(),
7713
- IsInt7({ message: "State ID must be an integer" }),
7714
- Type8(() => Number)
7715
- ], CreateFreelancerDto.prototype, "stateId", 2);
7716
- __decorateClass([
7717
- IsOptional38(),
7718
- IsInt7({ message: "City ID must be an integer" }),
7719
- Type8(() => Number)
7720
- ], CreateFreelancerDto.prototype, "cityId", 2);
7721
7898
 
7722
7899
  // src/modules/freelancer-admin/dto/update-freelancer.dto.ts
7723
7900
  import {
@@ -7735,7 +7912,7 @@ import {
7735
7912
  ValidateIf as ValidateIf8,
7736
7913
  IsInt as IsInt8
7737
7914
  } from "class-validator";
7738
- import { Transform as Transform2, Type as Type9 } from "class-transformer";
7915
+ import { Transform as Transform3 } from "class-transformer";
7739
7916
  var NatureOfWorkEnum2 = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
7740
7917
  NatureOfWorkEnum3["FTE"] = "FTE";
7741
7918
  NatureOfWorkEnum3["FREELANCE"] = "FREELANCE";
@@ -7753,43 +7930,141 @@ var UpdateFreelancerDto = class {
7753
7930
  __decorateClass([
7754
7931
  IsOptional39(),
7755
7932
  IsString40({ message: "Full name must be a string" }),
7756
- MaxLength17(100, { message: "Full name must not exceed 100 characters" })
7933
+ MaxLength17(100, { message: "Full name must not exceed 100 characters" }),
7934
+ Transform3(({ value }) => {
7935
+ if (Array.isArray(value)) return value[0]?.trim();
7936
+ return typeof value === "string" ? value.trim() : value;
7937
+ })
7757
7938
  ], UpdateFreelancerDto.prototype, "fullName", 2);
7758
7939
  __decorateClass([
7759
7940
  IsOptional39(),
7760
- IsEmail14({}, { message: "Invalid email address" })
7941
+ IsEmail14({}, { message: "Invalid email address" }),
7942
+ Transform3(({ value }) => {
7943
+ if (Array.isArray(value)) return value[0]?.trim();
7944
+ return typeof value === "string" ? value.trim() : value;
7945
+ })
7761
7946
  ], UpdateFreelancerDto.prototype, "email", 2);
7762
7947
  __decorateClass([
7763
7948
  IsOptional39(),
7764
- IsString40({ message: "Mobile code must be a string (e.g., +1)" })
7949
+ IsString40({ message: "Mobile code must be a string (e.g., +1)" }),
7950
+ Transform3(({ value }) => {
7951
+ if (Array.isArray(value)) return value[0]?.trim();
7952
+ return typeof value === "string" ? value.trim() : value;
7953
+ })
7765
7954
  ], UpdateFreelancerDto.prototype, "mobileCode", 2);
7766
7955
  __decorateClass([
7767
7956
  IsOptional39(),
7768
- IsString40({ message: "Mobile must be a string (e.g., 1243253534)" })
7957
+ IsString40({ message: "Mobile must be a string (e.g., 1243253534)" }),
7958
+ Transform3(({ value }) => {
7959
+ if (Array.isArray(value)) return value[0]?.trim();
7960
+ return typeof value === "string" ? value.trim() : value;
7961
+ })
7769
7962
  ], UpdateFreelancerDto.prototype, "mobile", 2);
7770
7963
  __decorateClass([
7771
7964
  IsNotEmpty62({ message: "Please enter address." }),
7772
- IsString40()
7965
+ IsString40({ message: "address must be a string" }),
7966
+ Transform3(({ value }) => {
7967
+ if (Array.isArray(value)) {
7968
+ const val = value[0];
7969
+ return val && typeof val === "string" ? val.trim() : val;
7970
+ }
7971
+ return typeof value === "string" ? value.trim() : value;
7972
+ })
7773
7973
  ], UpdateFreelancerDto.prototype, "address", 2);
7774
7974
  __decorateClass([
7775
7975
  IsOptional39(),
7776
- IsString40()
7976
+ IsString40({ message: "addressLine must be a string" }),
7977
+ Transform3(({ value }) => {
7978
+ if (Array.isArray(value)) {
7979
+ const val = value[0];
7980
+ if (!val || val === "") return void 0;
7981
+ return typeof val === "string" ? val.trim() : val;
7982
+ }
7983
+ if (value === null || value === void 0 || value === "") return void 0;
7984
+ return typeof value === "string" ? value.trim() : value;
7985
+ })
7777
7986
  ], UpdateFreelancerDto.prototype, "addressLine", 2);
7778
7987
  __decorateClass([
7779
7988
  IsOptional39(),
7780
- IsNumber10()
7989
+ IsInt8({ message: "countryId must be an integer" }),
7990
+ Transform3(({ value }) => {
7991
+ if (Array.isArray(value)) value = value[0];
7992
+ const num = Number(value);
7993
+ return isNaN(num) ? void 0 : num;
7994
+ })
7781
7995
  ], UpdateFreelancerDto.prototype, "countryId", 2);
7782
7996
  __decorateClass([
7783
7997
  IsOptional39(),
7784
- IsNumber10()
7998
+ IsInt8({ message: "stateId must be an integer" }),
7999
+ Transform3(({ value }) => {
8000
+ if (Array.isArray(value)) value = value[0];
8001
+ const num = Number(value);
8002
+ return isNaN(num) ? void 0 : num;
8003
+ })
7785
8004
  ], UpdateFreelancerDto.prototype, "stateId", 2);
7786
8005
  __decorateClass([
7787
8006
  IsOptional39(),
7788
- IsNumber10()
8007
+ IsInt8({ message: "cityId must be an integer" }),
8008
+ Transform3(({ value }) => {
8009
+ if (Array.isArray(value)) value = value[0];
8010
+ const num = Number(value);
8011
+ return isNaN(num) ? void 0 : num;
8012
+ })
7789
8013
  ], UpdateFreelancerDto.prototype, "cityId", 2);
7790
8014
  __decorateClass([
7791
8015
  IsOptional39(),
7792
- Transform2(({ value }) => value === null || value === "" ? void 0 : value),
8016
+ IsString40({ message: "postalCode must be a string" }),
8017
+ Transform3(({ value }) => {
8018
+ if (Array.isArray(value)) {
8019
+ const val = value[0];
8020
+ if (!val || val === "") return void 0;
8021
+ return typeof val === "string" ? val.trim() : val;
8022
+ }
8023
+ if (value === null || value === void 0 || value === "") return void 0;
8024
+ return typeof value === "string" ? value.trim() : value;
8025
+ })
8026
+ ], UpdateFreelancerDto.prototype, "postalCode", 2);
8027
+ __decorateClass([
8028
+ IsOptional39(),
8029
+ IsString40({ message: "about must be a string" }),
8030
+ Transform3(({ value }) => {
8031
+ if (Array.isArray(value)) {
8032
+ const val = value[0];
8033
+ if (!val || val === "") return void 0;
8034
+ return typeof val === "string" ? val.trim() : val;
8035
+ }
8036
+ if (value === null || value === void 0 || value === "") return void 0;
8037
+ return typeof value === "string" ? value.trim() : value;
8038
+ })
8039
+ ], UpdateFreelancerDto.prototype, "about", 2);
8040
+ __decorateClass([
8041
+ IsOptional39(),
8042
+ IsString40({ message: "designation must be a string" }),
8043
+ Transform3(({ value }) => {
8044
+ if (Array.isArray(value)) {
8045
+ const val = value[0];
8046
+ if (!val || val === "") return void 0;
8047
+ return typeof val === "string" ? val.trim() : val;
8048
+ }
8049
+ if (value === null || value === void 0 || value === "") return void 0;
8050
+ return typeof value === "string" ? value.trim() : value;
8051
+ })
8052
+ ], UpdateFreelancerDto.prototype, "designation", 2);
8053
+ __decorateClass([
8054
+ IsOptional39(),
8055
+ IsNumber10({}, { message: "experience must be a number" }),
8056
+ Transform3(({ value }) => {
8057
+ if (Array.isArray(value)) value = value[0];
8058
+ const num = Number(value);
8059
+ return isNaN(num) ? void 0 : num;
8060
+ })
8061
+ ], UpdateFreelancerDto.prototype, "experience", 2);
8062
+ __decorateClass([
8063
+ IsOptional39(),
8064
+ Transform3(({ value }) => {
8065
+ if (Array.isArray(value)) value = value[0];
8066
+ return value === null || value === "" ? void 0 : value;
8067
+ }),
7793
8068
  MinLength13(6, { message: "Password must be at least 6 characters." }),
7794
8069
  MaxLength17(32, { message: "Password must not exceed 32 characters." }),
7795
8070
  Matches10(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
@@ -7798,8 +8073,13 @@ __decorateClass([
7798
8073
  ], UpdateFreelancerDto.prototype, "password", 2);
7799
8074
  __decorateClass([
7800
8075
  IsOptional39(),
7801
- IsBoolean12({ message: "Developer flag must be true or false" }),
7802
- Type9(() => Boolean)
8076
+ Transform3(({ value }) => {
8077
+ if (Array.isArray(value)) value = value[0];
8078
+ if (value === "true" || value === true) return true;
8079
+ if (value === "false" || value === false) return false;
8080
+ return void 0;
8081
+ }),
8082
+ IsBoolean12({ message: "Developer flag must be true or false" })
7803
8083
  ], UpdateFreelancerDto.prototype, "developer", 2);
7804
8084
  __decorateClass([
7805
8085
  IsOptional39(),
@@ -7810,17 +8090,40 @@ __decorateClass([
7810
8090
  })
7811
8091
  ], UpdateFreelancerDto.prototype, "natureOfWork", 2);
7812
8092
  __decorateClass([
7813
- ValidateIf8((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */ || dto.NatureOfWorkDto === "BOTH" /* BOTH */),
7814
- IsNotEmpty62({ message: "Please enter expected hourly compensation." })
8093
+ ValidateIf8(
8094
+ (dto) => dto.natureOfWork === "FREELANCE" /* FREELANCE */ || dto.natureOfWork === "BOTH" /* BOTH */
8095
+ ),
8096
+ IsOptional39(),
8097
+ IsNumber10({}, { message: "Expected hourly compensation must be a number" }),
8098
+ Transform3(({ value }) => {
8099
+ if (Array.isArray(value)) value = value[0];
8100
+ const num = Number(value);
8101
+ return isNaN(num) ? void 0 : num;
8102
+ })
7815
8103
  ], UpdateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
7816
8104
  __decorateClass([
7817
- ValidateIf8((dto) => dto.NatureOfWorkDto === "BOTH" /* BOTH */),
7818
- IsNotEmpty62({ message: "Please enter expected annual compensation." })
8105
+ ValidateIf8(
8106
+ (dto) => dto.natureOfWork === "FTE" /* FTE */ || dto.natureOfWork === "BOTH" /* BOTH */
8107
+ ),
8108
+ IsOptional39(),
8109
+ IsNumber10({}, { message: "Expected annual compensation must be a number" }),
8110
+ Transform3(({ value }) => {
8111
+ if (Array.isArray(value)) value = value[0];
8112
+ const num = Number(value);
8113
+ return isNaN(num) ? void 0 : num;
8114
+ })
7819
8115
  ], UpdateFreelancerDto.prototype, "expectedAnnualCompensation", 2);
7820
8116
  __decorateClass([
7821
- ValidateIf8((dto) => dto.NatureOfWorkDto === "FREELANCE" /* FREELANCE */),
8117
+ ValidateIf8(
8118
+ (dto) => dto.natureOfWork === "FREELANCE" /* FREELANCE */ || dto.natureOfWork === "BOTH" /* BOTH */
8119
+ ),
8120
+ IsOptional39(),
7822
8121
  IsInt8({ message: "Please enter valid weekly availability hours (integer)." }),
7823
- IsNotEmpty62({ message: "Please enter weekly availability hours" })
8122
+ Transform3(({ value }) => {
8123
+ if (Array.isArray(value)) value = value[0];
8124
+ const num = Number(value);
8125
+ return isNaN(num) ? void 0 : num;
8126
+ })
7824
8127
  ], UpdateFreelancerDto.prototype, "numberOfHours", 2);
7825
8128
  __decorateClass([
7826
8129
  IsOptional39(),
@@ -7832,32 +8135,92 @@ __decorateClass([
7832
8135
  ], UpdateFreelancerDto.prototype, "modeOfWork", 2);
7833
8136
  __decorateClass([
7834
8137
  IsOptional39(),
7835
- IsBoolean12({ message: "isImmediateJoiner must be true or false" }),
7836
- Type9(() => Boolean)
8138
+ Transform3(({ value }) => {
8139
+ if (Array.isArray(value)) value = value[0];
8140
+ if (value === "true" || value === true) return true;
8141
+ if (value === "false" || value === false) return false;
8142
+ return void 0;
8143
+ }),
8144
+ IsBoolean12({ message: "isImmediateJoiner must be true or false" })
7837
8145
  ], UpdateFreelancerDto.prototype, "isImmediateJoiner", 2);
7838
8146
  __decorateClass([
7839
8147
  ValidateIf8((o) => o.isImmediateJoiner === false),
7840
- IsNotEmpty62({ message: "Please enter availability to join." })
8148
+ IsOptional39(),
8149
+ IsString40({ message: "availabilityToJoin must be a string" }),
8150
+ Transform3(({ value }) => {
8151
+ if (Array.isArray(value)) {
8152
+ const val = value[0];
8153
+ if (!val || val === "") return void 0;
8154
+ return typeof val === "string" ? val.trim() : val;
8155
+ }
8156
+ if (value === null || value === void 0 || value === "") return void 0;
8157
+ return typeof value === "string" ? value.trim() : value;
8158
+ })
7841
8159
  ], UpdateFreelancerDto.prototype, "availabilityToJoin", 2);
7842
8160
  __decorateClass([
7843
8161
  IsOptional39(),
7844
- IsUrl4({}, { message: "LinkedIn profile link must be a valid URL" })
8162
+ IsUrl4({}, { message: "LinkedIn profile link must be a valid URL" }),
8163
+ Transform3(({ value }) => {
8164
+ if (Array.isArray(value)) {
8165
+ const val = value[0];
8166
+ if (!val || val === "") return void 0;
8167
+ return typeof val === "string" ? val.trim() : val;
8168
+ }
8169
+ if (value === null || value === void 0 || value === "") return void 0;
8170
+ return typeof value === "string" ? value.trim() : value;
8171
+ })
7845
8172
  ], UpdateFreelancerDto.prototype, "linkedinProfileLink", 2);
7846
8173
  __decorateClass([
7847
8174
  IsOptional39(),
7848
- IsString40({ message: "Kaggle profile link must be a string" })
8175
+ IsString40({ message: "Kaggle profile link must be a string" }),
8176
+ Transform3(({ value }) => {
8177
+ if (Array.isArray(value)) {
8178
+ const val = value[0];
8179
+ if (!val || val === "") return void 0;
8180
+ return typeof val === "string" ? val.trim() : val;
8181
+ }
8182
+ if (value === null || value === void 0 || value === "") return void 0;
8183
+ return typeof value === "string" ? value.trim() : value;
8184
+ })
7849
8185
  ], UpdateFreelancerDto.prototype, "kaggleProfileLink", 2);
7850
8186
  __decorateClass([
7851
8187
  IsOptional39(),
7852
- IsUrl4({}, { message: "GitHub profile link must be a valid URL" })
8188
+ IsUrl4({}, { message: "GitHub profile link must be a valid URL" }),
8189
+ Transform3(({ value }) => {
8190
+ if (Array.isArray(value)) {
8191
+ const val = value[0];
8192
+ if (!val || val === "") return void 0;
8193
+ return typeof val === "string" ? val.trim() : val;
8194
+ }
8195
+ if (value === null || value === void 0 || value === "") return void 0;
8196
+ return typeof value === "string" ? value.trim() : value;
8197
+ })
7853
8198
  ], UpdateFreelancerDto.prototype, "githubProfileLink", 2);
7854
8199
  __decorateClass([
7855
8200
  IsOptional39(),
7856
- IsUrl4({}, { message: "StackOverflow profile link must be a valid URL" })
8201
+ IsUrl4({}, { message: "StackOverflow profile link must be a valid URL" }),
8202
+ Transform3(({ value }) => {
8203
+ if (Array.isArray(value)) {
8204
+ const val = value[0];
8205
+ if (!val || val === "") return void 0;
8206
+ return typeof val === "string" ? val.trim() : val;
8207
+ }
8208
+ if (value === null || value === void 0 || value === "") return void 0;
8209
+ return typeof value === "string" ? value.trim() : value;
8210
+ })
7857
8211
  ], UpdateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
7858
8212
  __decorateClass([
7859
8213
  IsOptional39(),
7860
- IsUrl4({}, { message: "Portfolio link must be a valid URL" })
8214
+ IsUrl4({}, { message: "Portfolio link must be a valid URL" }),
8215
+ Transform3(({ value }) => {
8216
+ if (Array.isArray(value)) {
8217
+ const val = value[0];
8218
+ if (!val || val === "") return void 0;
8219
+ return typeof val === "string" ? val.trim() : val;
8220
+ }
8221
+ if (value === null || value === void 0 || value === "") return void 0;
8222
+ return typeof value === "string" ? value.trim() : value;
8223
+ })
7861
8224
  ], UpdateFreelancerDto.prototype, "portfolioLink", 2);
7862
8225
  __decorateClass([
7863
8226
  IsOptional39()
@@ -7920,7 +8283,7 @@ import {
7920
8283
  IsInt as IsInt9,
7921
8284
  IsUrl as IsUrl5
7922
8285
  } from "class-validator";
7923
- import { Type as Type10 } from "class-transformer";
8286
+ import { Type as Type8 } from "class-transformer";
7924
8287
  var CreateClientHiringModeEnum = /* @__PURE__ */ ((CreateClientHiringModeEnum2) => {
7925
8288
  CreateClientHiringModeEnum2["REMOTE"] = "REMOTE";
7926
8289
  CreateClientHiringModeEnum2["ONSITE"] = "ONSITE";
@@ -8026,17 +8389,17 @@ __decorateClass([
8026
8389
  __decorateClass([
8027
8390
  IsOptional41(),
8028
8391
  IsInt9({ message: "Country ID must be an integer." }),
8029
- Type10(() => Number)
8392
+ Type8(() => Number)
8030
8393
  ], CreateClientDto.prototype, "countryId", 2);
8031
8394
  __decorateClass([
8032
8395
  IsOptional41(),
8033
8396
  IsInt9({ message: "State ID must be an integer." }),
8034
- Type10(() => Number)
8397
+ Type8(() => Number)
8035
8398
  ], CreateClientDto.prototype, "stateId", 2);
8036
8399
  __decorateClass([
8037
8400
  IsOptional41(),
8038
8401
  IsInt9({ message: "City ID must be an integer." }),
8039
- Type10(() => Number)
8402
+ Type8(() => Number)
8040
8403
  ], CreateClientDto.prototype, "cityId", 2);
8041
8404
 
8042
8405
  // src/modules/client-admin/dto/update-client-status.dto.ts
@@ -8049,7 +8412,7 @@ __decorateClass([
8049
8412
  ], UpdateClientAccountStatusDto.prototype, "accountStatus", 2);
8050
8413
 
8051
8414
  // src/modules/client-admin/dto/update-client.dto.ts
8052
- import { Transform as Transform3, Type as Type11 } from "class-transformer";
8415
+ import { Transform as Transform4, Type as Type9 } from "class-transformer";
8053
8416
  import {
8054
8417
  IsNotEmpty as IsNotEmpty66,
8055
8418
  IsEmail as IsEmail16,
@@ -8097,7 +8460,7 @@ __decorateClass([
8097
8460
  ], UpdateClientDto.prototype, "phoneNumber", 2);
8098
8461
  __decorateClass([
8099
8462
  IsOptional42(),
8100
- Transform3(({ value }) => value === null || value === "" ? void 0 : value),
8463
+ Transform4(({ value }) => value === null || value === "" ? void 0 : value),
8101
8464
  MinLength15(6, { message: "Password must be at least 6 characters." }),
8102
8465
  MaxLength19(32, { message: "Password must not exceed 32 characters." }),
8103
8466
  Matches12(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
@@ -8162,15 +8525,15 @@ __decorateClass([
8162
8525
  ], UpdateClientDto.prototype, "postalCode", 2);
8163
8526
  __decorateClass([
8164
8527
  IsOptional42(),
8165
- Type11(() => Number)
8528
+ Type9(() => Number)
8166
8529
  ], UpdateClientDto.prototype, "countryId", 2);
8167
8530
  __decorateClass([
8168
8531
  IsOptional42(),
8169
- Type11(() => Number)
8532
+ Type9(() => Number)
8170
8533
  ], UpdateClientDto.prototype, "stateId", 2);
8171
8534
  __decorateClass([
8172
8535
  IsOptional42(),
8173
- Type11(() => Number)
8536
+ Type9(() => Number)
8174
8537
  ], UpdateClientDto.prototype, "cityId", 2);
8175
8538
 
8176
8539
  // src/modules/user/freelancer-declaration/pattern/pattern.ts
@@ -8216,35 +8579,35 @@ var CLIENT_CANDIDATE_PREFERENCE_PATTERN = {
8216
8579
 
8217
8580
  // src/modules/user/client-candidate-preference/dto/mark-candidate-status.dto.ts
8218
8581
  import { IsNotEmpty as IsNotEmpty68, IsNumber as IsNumber11, IsOptional as IsOptional44 } from "class-validator";
8219
- import { Type as Type12 } from "class-transformer";
8582
+ import { Type as Type10 } from "class-transformer";
8220
8583
  var MarkCandidateStatusDto = class {
8221
8584
  };
8222
8585
  __decorateClass([
8223
8586
  IsNotEmpty68({ message: "Candidate ID is required." }),
8224
8587
  IsNumber11({}, { message: "Candidate ID must be a number." }),
8225
- Type12(() => Number)
8588
+ Type10(() => Number)
8226
8589
  ], MarkCandidateStatusDto.prototype, "candidateId", 2);
8227
8590
  __decorateClass([
8228
8591
  IsOptional44(),
8229
8592
  IsNumber11({}, { message: "Job ID must be a number." }),
8230
- Type12(() => Number)
8593
+ Type10(() => Number)
8231
8594
  ], MarkCandidateStatusDto.prototype, "jobId", 2);
8232
8595
 
8233
8596
  // src/modules/user/client-candidate-preference/dto/mark-candidate-status-bulk.dto.ts
8234
8597
  import { ArrayNotEmpty as ArrayNotEmpty8, IsArray as IsArray14, IsNumber as IsNumber12, IsOptional as IsOptional45 } from "class-validator";
8235
- import { Type as Type13 } from "class-transformer";
8598
+ import { Type as Type11 } from "class-transformer";
8236
8599
  var MarkCandidateStatusBulkDto = class {
8237
8600
  };
8238
8601
  __decorateClass([
8239
8602
  IsArray14({ message: "Candidate IDs must be an array." }),
8240
8603
  ArrayNotEmpty8({ message: "At least one candidate ID is required." }),
8241
8604
  IsNumber12({}, { each: true, message: "Each candidate ID must be a number." }),
8242
- Type13(() => Number)
8605
+ Type11(() => Number)
8243
8606
  ], MarkCandidateStatusBulkDto.prototype, "candidateIds", 2);
8244
8607
  __decorateClass([
8245
8608
  IsOptional45(),
8246
8609
  IsNumber12({}, { message: "Job ID must be a number." }),
8247
- Type13(() => Number)
8610
+ Type11(() => Number)
8248
8611
  ], MarkCandidateStatusBulkDto.prototype, "jobId", 2);
8249
8612
 
8250
8613
  // src/modules/cms/pattern/pattern.ts
@@ -8253,7 +8616,8 @@ var CMS_PATTERNS = {
8253
8616
  createCms: "cms.create",
8254
8617
  updateCms: "cms.update",
8255
8618
  deleteCms: "cms.delete",
8256
- findCmsById: "cms.fetchById"
8619
+ findCmsById: "cms.fetchById",
8620
+ updateCmsStatus: "cms.update.status"
8257
8621
  };
8258
8622
 
8259
8623
  // src/modules/cms/dto/create-cms.dto.ts
@@ -8271,22 +8635,31 @@ __decorateClass([
8271
8635
  IsBoolean13({ message: "Is active must be a boolean value" })
8272
8636
  ], CreateCmsDto.prototype, "isActive", 2);
8273
8637
 
8638
+ // src/modules/cms/dto/update-cms-status.dto.ts
8639
+ import { IsBoolean as IsBoolean14, IsNotEmpty as IsNotEmpty70 } from "class-validator";
8640
+ var UpdateCmsStatusDto = class {
8641
+ };
8642
+ __decorateClass([
8643
+ IsNotEmpty70({ message: "Please specify cms status." }),
8644
+ IsBoolean14({ message: "Is active must be a boolean value" })
8645
+ ], UpdateCmsStatusDto.prototype, "isActive", 2);
8646
+
8274
8647
  // src/modules/cms/dto/update-cms.dto.ts
8275
- import { IsBoolean as IsBoolean14, IsNotEmpty as IsNotEmpty70, IsOptional as IsOptional47 } from "class-validator";
8648
+ import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty71, IsOptional as IsOptional47 } from "class-validator";
8276
8649
  var UpdateCmsDto = class {
8277
8650
  };
8278
8651
  __decorateClass([
8279
8652
  IsOptional47()
8280
8653
  ], UpdateCmsDto.prototype, "uuid", 2);
8281
8654
  __decorateClass([
8282
- IsNotEmpty70({ message: "Please enter name." })
8655
+ IsNotEmpty71({ message: "Please enter name." })
8283
8656
  ], UpdateCmsDto.prototype, "title", 2);
8284
8657
  __decorateClass([
8285
8658
  IsOptional47()
8286
8659
  ], UpdateCmsDto.prototype, "content", 2);
8287
8660
  __decorateClass([
8288
8661
  IsOptional47(),
8289
- IsBoolean14({ message: "Is active must be a boolean value" })
8662
+ IsBoolean15({ message: "Is active must be a boolean value" })
8290
8663
  ], UpdateCmsDto.prototype, "isActive", 2);
8291
8664
 
8292
8665
  // src/modules/geographic/pattern/pattern.ts
@@ -8319,15 +8692,15 @@ var ADMIN_JOB_PATTERN = {
8319
8692
  };
8320
8693
 
8321
8694
  // src/modules/job-admin/dto/admin-create-job-information.dto.ts
8322
- import { Type as Type14 } from "class-transformer";
8695
+ import { Type as Type12 } from "class-transformer";
8323
8696
  import {
8324
8697
  IsString as IsString46,
8325
8698
  IsEnum as IsEnum29,
8326
8699
  IsInt as IsInt10,
8327
8700
  IsOptional as IsOptional48,
8328
8701
  IsArray as IsArray15,
8329
- IsDateString as IsDateString4,
8330
- IsNotEmpty as IsNotEmpty71,
8702
+ IsDateString as IsDateString3,
8703
+ IsNotEmpty as IsNotEmpty72,
8331
8704
  ArrayNotEmpty as ArrayNotEmpty9,
8332
8705
  Min as Min6,
8333
8706
  IsNumber as IsNumber13
@@ -8348,7 +8721,7 @@ var AdminCreateJobInformationDto = class {
8348
8721
  };
8349
8722
  __decorateClass([
8350
8723
  IsString46({ message: "Job role must be a string." }),
8351
- IsNotEmpty71({ message: "Job role is required." })
8724
+ IsNotEmpty72({ message: "Job role is required." })
8352
8725
  ], AdminCreateJobInformationDto.prototype, "jobRole", 2);
8353
8726
  __decorateClass([
8354
8727
  IsOptional48(),
@@ -8379,32 +8752,32 @@ __decorateClass([
8379
8752
  ], AdminCreateJobInformationDto.prototype, "typeOfEmployment", 2);
8380
8753
  __decorateClass([
8381
8754
  IsString46({ message: "Onboarding Days must be a string." }),
8382
- IsNotEmpty71({ message: "Onboarding Days is required." })
8755
+ IsNotEmpty72({ message: "Onboarding Days is required." })
8383
8756
  ], AdminCreateJobInformationDto.prototype, "onboardingTat", 2);
8384
8757
  __decorateClass([
8385
8758
  IsString46({ message: "Communication skills must be a string." }),
8386
- IsNotEmpty71({ message: "Communication skills are required." })
8759
+ IsNotEmpty72({ message: "Communication skills are required." })
8387
8760
  ], AdminCreateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
8388
8761
  __decorateClass([
8389
8762
  IsString46({ message: "Currency must be a string." }),
8390
- IsNotEmpty71({ message: "Currency is required." })
8763
+ IsNotEmpty72({ message: "Currency is required." })
8391
8764
  ], AdminCreateJobInformationDto.prototype, "currency", 2);
8392
8765
  __decorateClass([
8393
- Type14(() => Number),
8766
+ Type12(() => Number),
8394
8767
  IsNumber13({}, { message: "Expected salary from must be a number." })
8395
8768
  ], AdminCreateJobInformationDto.prototype, "expectedSalaryFrom", 2);
8396
8769
  __decorateClass([
8397
- Type14(() => Number),
8770
+ Type12(() => Number),
8398
8771
  IsNumber13({}, { message: "Expected salary to must be a number." })
8399
8772
  ], AdminCreateJobInformationDto.prototype, "expectedSalaryTo", 2);
8400
8773
  __decorateClass([
8401
- IsDateString4(
8774
+ IsDateString3(
8402
8775
  { strict: true },
8403
8776
  { message: "Start date must be in YYYY-MM-DD format." }
8404
8777
  )
8405
8778
  ], AdminCreateJobInformationDto.prototype, "tentativeStartDate", 2);
8406
8779
  __decorateClass([
8407
- IsDateString4(
8780
+ IsDateString3(
8408
8781
  { strict: true },
8409
8782
  { message: "End date must be in YYYY-MM-DD format." }
8410
8783
  )
@@ -8430,15 +8803,15 @@ __decorateClass([
8430
8803
  ], AdminCreateJobInformationDto.prototype, "clientId", 2);
8431
8804
 
8432
8805
  // src/modules/job-admin/dto/admin-update-job-information.dto.ts
8433
- import { Type as Type15 } from "class-transformer";
8806
+ import { Type as Type13 } from "class-transformer";
8434
8807
  import {
8435
8808
  IsString as IsString47,
8436
8809
  IsEnum as IsEnum30,
8437
8810
  IsInt as IsInt11,
8438
8811
  IsOptional as IsOptional49,
8439
8812
  IsArray as IsArray16,
8440
- IsDateString as IsDateString5,
8441
- IsNotEmpty as IsNotEmpty72,
8813
+ IsDateString as IsDateString4,
8814
+ IsNotEmpty as IsNotEmpty73,
8442
8815
  ArrayNotEmpty as ArrayNotEmpty10,
8443
8816
  Min as Min7,
8444
8817
  IsNumber as IsNumber14
@@ -8459,7 +8832,7 @@ var AdminUpdateJobInformationDto = class {
8459
8832
  };
8460
8833
  __decorateClass([
8461
8834
  IsString47({ message: "Job role must be a string." }),
8462
- IsNotEmpty72({ message: "Job role is required." })
8835
+ IsNotEmpty73({ message: "Job role is required." })
8463
8836
  ], AdminUpdateJobInformationDto.prototype, "jobRole", 2);
8464
8837
  __decorateClass([
8465
8838
  IsOptional49(),
@@ -8490,32 +8863,32 @@ __decorateClass([
8490
8863
  ], AdminUpdateJobInformationDto.prototype, "typeOfEmployment", 2);
8491
8864
  __decorateClass([
8492
8865
  IsString47({ message: "Onboarding Days must be a string." }),
8493
- IsNotEmpty72({ message: "Onboarding Days is required." })
8866
+ IsNotEmpty73({ message: "Onboarding Days is required." })
8494
8867
  ], AdminUpdateJobInformationDto.prototype, "onboardingTat", 2);
8495
8868
  __decorateClass([
8496
8869
  IsString47({ message: "Communication skills must be a string." }),
8497
- IsNotEmpty72({ message: "Communication skills are required." })
8870
+ IsNotEmpty73({ message: "Communication skills are required." })
8498
8871
  ], AdminUpdateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
8499
8872
  __decorateClass([
8500
8873
  IsString47({ message: "Currency must be a string." }),
8501
- IsNotEmpty72({ message: "Currency is required." })
8874
+ IsNotEmpty73({ message: "Currency is required." })
8502
8875
  ], AdminUpdateJobInformationDto.prototype, "currency", 2);
8503
8876
  __decorateClass([
8504
- Type15(() => Number),
8877
+ Type13(() => Number),
8505
8878
  IsNumber14({}, { message: "Expected salary from must be a number." })
8506
8879
  ], AdminUpdateJobInformationDto.prototype, "expectedSalaryFrom", 2);
8507
8880
  __decorateClass([
8508
- Type15(() => Number),
8881
+ Type13(() => Number),
8509
8882
  IsNumber14({}, { message: "Expected salary to must be a number." })
8510
8883
  ], AdminUpdateJobInformationDto.prototype, "expectedSalaryTo", 2);
8511
8884
  __decorateClass([
8512
- IsDateString5(
8885
+ IsDateString4(
8513
8886
  { strict: true },
8514
8887
  { message: "Start date must be in YYYY-MM-DD format." }
8515
8888
  )
8516
8889
  ], AdminUpdateJobInformationDto.prototype, "tentativeStartDate", 2);
8517
8890
  __decorateClass([
8518
- IsDateString5(
8891
+ IsDateString4(
8519
8892
  { strict: true },
8520
8893
  { message: "End date must be in YYYY-MM-DD format." }
8521
8894
  )
@@ -8543,7 +8916,7 @@ __decorateClass([
8543
8916
  // src/modules/job-admin/dto/admin-job-basic-information-v2.dto.ts
8544
8917
  import {
8545
8918
  IsString as IsString48,
8546
- IsNotEmpty as IsNotEmpty73,
8919
+ IsNotEmpty as IsNotEmpty74,
8547
8920
  IsArray as IsArray17,
8548
8921
  ArrayNotEmpty as ArrayNotEmpty11,
8549
8922
  IsNumber as IsNumber15,
@@ -8555,7 +8928,7 @@ import {
8555
8928
  Max as Max4,
8556
8929
  IsInt as IsInt12
8557
8930
  } from "class-validator";
8558
- import { Type as Type16 } from "class-transformer";
8931
+ import { Type as Type14 } from "class-transformer";
8559
8932
  var JobLocationAdminEnumDto = /* @__PURE__ */ ((JobLocationAdminEnumDto2) => {
8560
8933
  JobLocationAdminEnumDto2["ONSITE"] = "ONSITE";
8561
8934
  JobLocationAdminEnumDto2["REMOTE"] = "REMOTE";
@@ -8602,13 +8975,13 @@ var AdminJobBasicInformationV2Dto = class {
8602
8975
  };
8603
8976
  __decorateClass([
8604
8977
  IsOptional50(),
8605
- Type16(() => Boolean)
8978
+ Type14(() => Boolean)
8606
8979
  ], AdminJobBasicInformationV2Dto.prototype, "isDraft", 2);
8607
8980
  __decorateClass([
8608
8981
  IsInt12({ message: "Client ID must be a valid integer." })
8609
8982
  ], AdminJobBasicInformationV2Dto.prototype, "clientId", 2);
8610
8983
  __decorateClass([
8611
- IsNotEmpty73({ message: "Please enter job role" }),
8984
+ IsNotEmpty74({ message: "Please enter job role" }),
8612
8985
  IsString48({ message: "Job role must be a string" })
8613
8986
  ], AdminJobBasicInformationV2Dto.prototype, "jobRole", 2);
8614
8987
  __decorateClass([
@@ -8621,13 +8994,13 @@ __decorateClass([
8621
8994
  IsArray17({ message: "Skills must be an array" }),
8622
8995
  ArrayNotEmpty11({ message: "Please select at least one skill" }),
8623
8996
  IsString48({ each: true, message: "Each skill must be a string" }),
8624
- Type16(() => String)
8997
+ Type14(() => String)
8625
8998
  ], AdminJobBasicInformationV2Dto.prototype, "skills", 2);
8626
8999
  __decorateClass([
8627
9000
  ValidateIf9((o) => !o.isDraft),
8628
9001
  IsNumber15({}, { message: "Openings must be a number" }),
8629
9002
  Min8(1, { message: "There must be at least 1 opening" }),
8630
- Type16(() => Number)
9003
+ Type14(() => Number)
8631
9004
  ], AdminJobBasicInformationV2Dto.prototype, "openings", 2);
8632
9005
  __decorateClass([
8633
9006
  ValidateIf9((o) => !o.isDraft),
@@ -8649,21 +9022,21 @@ __decorateClass([
8649
9022
  IsOptional50(),
8650
9023
  IsNumber15({}, { message: "Expected salary (from) must be a number" }),
8651
9024
  Min8(0, { message: "Expected salary (from) cannot be negative" }),
8652
- Type16(() => Number)
9025
+ Type14(() => Number)
8653
9026
  ], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryFrom", 2);
8654
9027
  __decorateClass([
8655
9028
  IsOptional50(),
8656
9029
  IsNumber15({}, { message: "Expected salary (to) must be a number" }),
8657
9030
  Min8(0, { message: "Expected salary (to) cannot be negative" }),
8658
- Type16(() => Number)
9031
+ Type14(() => Number)
8659
9032
  ], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryTo", 2);
8660
9033
  __decorateClass([
8661
9034
  IsOptional50(),
8662
- Type16(() => JobLocationAdminDto)
9035
+ Type14(() => JobLocationAdminDto)
8663
9036
  ], AdminJobBasicInformationV2Dto.prototype, "locations", 2);
8664
9037
  __decorateClass([
8665
9038
  ValidateIf9((o) => !o.isDraft),
8666
- IsNotEmpty73({ message: "Please enter the academic qualification" }),
9039
+ IsNotEmpty74({ message: "Please enter the academic qualification" }),
8667
9040
  IsString48({ message: "Academic qualification must be a string" })
8668
9041
  ], AdminJobBasicInformationV2Dto.prototype, "academicQualification", 2);
8669
9042
  __decorateClass([
@@ -8676,12 +9049,12 @@ __decorateClass([
8676
9049
  ], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceType", 2);
8677
9050
  __decorateClass([
8678
9051
  ValidateIf9((o) => !o.isDraft),
8679
- IsNotEmpty73({ message: "Please enter the years of experience" }),
9052
+ IsNotEmpty74({ message: "Please enter the years of experience" }),
8680
9053
  IsString48({ message: "Years of experience must be a string" })
8681
9054
  ], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceFrom", 2);
8682
9055
  __decorateClass([
8683
9056
  ValidateIf9((o) => !o.isDraft),
8684
- IsNotEmpty73({ message: "Please enter the years of experience upto" }),
9057
+ IsNotEmpty74({ message: "Please enter the years of experience upto" }),
8685
9058
  IsString48({ message: "Years of experience must be a string" })
8686
9059
  ], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceTo", 2);
8687
9060
  __decorateClass([
@@ -8702,7 +9075,7 @@ __decorateClass([
8702
9075
  IsOptional50(),
8703
9076
  IsNumber15({}, { message: "Expected annual budget (from) must be a number" }),
8704
9077
  Min8(0, { message: "Expected annual budget (from) cannot be negative" }),
8705
- Type16(() => Number)
9078
+ Type14(() => Number)
8706
9079
  ], AdminJobBasicInformationV2Dto.prototype, "expectedAnnualBudgetFrom", 2);
8707
9080
  __decorateClass([
8708
9081
  IsOptional50()
@@ -8711,7 +9084,7 @@ __decorateClass([
8711
9084
  IsOptional50(),
8712
9085
  IsNumber15({}, { message: "Expected annual budget (to) must be a number" }),
8713
9086
  Min8(0, { message: "Expected annual budget (to) cannot be negative" }),
8714
- Type16(() => Number)
9087
+ Type14(() => Number)
8715
9088
  ], AdminJobBasicInformationV2Dto.prototype, "expectedAnnualBudgetTo", 2);
8716
9089
  __decorateClass([
8717
9090
  IsOptional50()
@@ -8721,7 +9094,7 @@ __decorateClass([
8721
9094
  IsNumber15({}, { message: "Number of hours must be a number" }),
8722
9095
  Min8(0, { message: "Number of hours cannot be negative" }),
8723
9096
  Max4(40, { message: "Number of hours cannot exceed 40" }),
8724
- Type16(() => Number)
9097
+ Type14(() => Number)
8725
9098
  ], AdminJobBasicInformationV2Dto.prototype, "numberOfHours", 2);
8726
9099
  __decorateClass([
8727
9100
  IsOptional50()
@@ -8745,7 +9118,7 @@ __decorateClass([
8745
9118
  IsArray17({ message: "Good to have skills must be an array" }),
8746
9119
  IsString48({ each: true, message: "Each skill must be a string" }),
8747
9120
  IsOptional50(),
8748
- Type16(() => String)
9121
+ Type14(() => String)
8749
9122
  ], AdminJobBasicInformationV2Dto.prototype, "goodToHaveSkills", 2);
8750
9123
  __decorateClass([
8751
9124
  IsOptional50()
@@ -8813,11 +9186,11 @@ var ADMIN_ROLE_PATTERN = {
8813
9186
  };
8814
9187
 
8815
9188
  // src/modules/admin-role/dto/create-admin-role.dto.ts
8816
- import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty74, IsOptional as IsOptional52, IsString as IsString50 } from "class-validator";
9189
+ import { IsBoolean as IsBoolean16, IsNotEmpty as IsNotEmpty75, IsOptional as IsOptional52, IsString as IsString50 } from "class-validator";
8817
9190
  var CreateAdminRoleDto = class {
8818
9191
  };
8819
9192
  __decorateClass([
8820
- IsNotEmpty74({ message: "Please enter admin role name." }),
9193
+ IsNotEmpty75({ message: "Please enter admin role name." }),
8821
9194
  IsString50({ message: "Role name must be a string." })
8822
9195
  ], CreateAdminRoleDto.prototype, "roleName", 2);
8823
9196
  __decorateClass([
@@ -8826,15 +9199,15 @@ __decorateClass([
8826
9199
  ], CreateAdminRoleDto.prototype, "roleDescription", 2);
8827
9200
  __decorateClass([
8828
9201
  IsOptional52(),
8829
- IsBoolean15({ message: "Is active must be a boolean value" })
9202
+ IsBoolean16({ message: "Is active must be a boolean value" })
8830
9203
  ], CreateAdminRoleDto.prototype, "isActive", 2);
8831
9204
 
8832
9205
  // src/modules/admin-role/dto/update-admin-role.dto.ts
8833
- import { IsBoolean as IsBoolean16, IsNotEmpty as IsNotEmpty75, IsOptional as IsOptional53, IsString as IsString51 } from "class-validator";
9206
+ import { IsBoolean as IsBoolean17, IsNotEmpty as IsNotEmpty76, IsOptional as IsOptional53, IsString as IsString51 } from "class-validator";
8834
9207
  var UpdateAdminRoleDto = class {
8835
9208
  };
8836
9209
  __decorateClass([
8837
- IsNotEmpty75({ message: "Please enter admin role name." }),
9210
+ IsNotEmpty76({ message: "Please enter admin role name." }),
8838
9211
  IsString51({ message: "Role name must be a string." })
8839
9212
  ], UpdateAdminRoleDto.prototype, "roleName", 2);
8840
9213
  __decorateClass([
@@ -8843,29 +9216,29 @@ __decorateClass([
8843
9216
  ], UpdateAdminRoleDto.prototype, "roleDescription", 2);
8844
9217
  __decorateClass([
8845
9218
  IsOptional53(),
8846
- IsBoolean16({ message: "Is active must be a boolean value." })
9219
+ IsBoolean17({ message: "Is active must be a boolean value." })
8847
9220
  ], UpdateAdminRoleDto.prototype, "isActive", 2);
8848
9221
 
8849
9222
  // src/modules/admin-role/dto/attach-permissions-to-role.dto.ts
8850
- import { IsNotEmpty as IsNotEmpty76, IsString as IsString52 } from "class-validator";
9223
+ import { IsNotEmpty as IsNotEmpty77, IsString as IsString52 } from "class-validator";
8851
9224
  var AttachPermissionsToRoleDto = class {
8852
9225
  };
8853
9226
  __decorateClass([
8854
- IsNotEmpty76({ message: "Please enter admin role ID." }),
9227
+ IsNotEmpty77({ message: "Please enter admin role ID." }),
8855
9228
  IsString52({ message: "Role ID must be a string." })
8856
9229
  ], AttachPermissionsToRoleDto.prototype, "roleId", 2);
8857
9230
  __decorateClass([
8858
- IsNotEmpty76({ message: "Please enter permission IDs." }),
9231
+ IsNotEmpty77({ message: "Please enter permission IDs." }),
8859
9232
  IsString52({ message: "Permission IDs must be a comma-separated string." })
8860
9233
  ], AttachPermissionsToRoleDto.prototype, "permissionIds", 2);
8861
9234
 
8862
9235
  // src/modules/admin-role/dto/update-admin-role-status.dto.ts
8863
- import { IsBoolean as IsBoolean17, IsNotEmpty as IsNotEmpty77 } from "class-validator";
9236
+ import { IsBoolean as IsBoolean18, IsNotEmpty as IsNotEmpty78 } from "class-validator";
8864
9237
  var UpdateAdminRoleStatusDto = class {
8865
9238
  };
8866
9239
  __decorateClass([
8867
- IsNotEmpty77({ message: "Please specify admin role status." }),
8868
- IsBoolean17({ message: "Is active must be a boolean value" })
9240
+ IsNotEmpty78({ message: "Please specify admin role status." }),
9241
+ IsBoolean18({ message: "Is active must be a boolean value" })
8869
9242
  ], UpdateAdminRoleStatusDto.prototype, "isActive", 2);
8870
9243
 
8871
9244
  // src/modules/admin-permission/pattern/pattern.ts
@@ -8947,7 +9320,7 @@ var INTERVIEW_PATTERN = {
8947
9320
  // src/modules/interview/dto/interview-invite.dto.ts
8948
9321
  import {
8949
9322
  IsString as IsString53,
8950
- IsNotEmpty as IsNotEmpty78,
9323
+ IsNotEmpty as IsNotEmpty79,
8951
9324
  IsArray as IsArray18,
8952
9325
  ArrayNotEmpty as ArrayNotEmpty12,
8953
9326
  IsEmail as IsEmail18,
@@ -8956,7 +9329,7 @@ import {
8956
9329
  ValidateIf as ValidateIf10,
8957
9330
  ValidateNested as ValidateNested7
8958
9331
  } from "class-validator";
8959
- import { Type as Type17 } from "class-transformer";
9332
+ import { Type as Type15 } from "class-transformer";
8960
9333
  var CandidateType = /* @__PURE__ */ ((CandidateType2) => {
8961
9334
  CandidateType2["SHORTLISTED"] = "SHORTLISTED";
8962
9335
  CandidateType2["APPLICATNTS"] = "APPLICATNTS";
@@ -8977,7 +9350,7 @@ __decorateClass([
8977
9350
  var NewCandidateDto = class {
8978
9351
  };
8979
9352
  __decorateClass([
8980
- IsNotEmpty78({ message: "Please enter the candidate name" }),
9353
+ IsNotEmpty79({ message: "Please enter the candidate name" }),
8981
9354
  IsString53({ message: "Name must be a string" })
8982
9355
  ], NewCandidateDto.prototype, "name", 2);
8983
9356
  __decorateClass([
@@ -8995,14 +9368,14 @@ __decorateClass([
8995
9368
  IsArray18({ message: "Existing candidates should be an array." }),
8996
9369
  ArrayNotEmpty12({ message: "Please select at least one candidate." }),
8997
9370
  ValidateNested7({ each: true }),
8998
- Type17(() => ExistingCandidateDto)
9371
+ Type15(() => ExistingCandidateDto)
8999
9372
  ], CandidatesDto.prototype, "exixtingCandidates", 2);
9000
9373
  __decorateClass([
9001
9374
  ValidateIf10((o) => o.newCandidates?.length > 0),
9002
9375
  IsArray18({ message: "New candidates should be an array." }),
9003
9376
  ArrayNotEmpty12({ message: "Please add at least one candidate." }),
9004
9377
  ValidateNested7({ each: true }),
9005
- Type17(() => NewCandidateDto)
9378
+ Type15(() => NewCandidateDto)
9006
9379
  ], CandidatesDto.prototype, "newCandidates", 2);
9007
9380
  var InterviewInviteDto = class {
9008
9381
  };
@@ -9011,13 +9384,13 @@ __decorateClass([
9011
9384
  ], InterviewInviteDto.prototype, "jobId", 2);
9012
9385
  __decorateClass([
9013
9386
  ValidateNested7({ each: true }),
9014
- Type17(() => CandidatesDto)
9387
+ Type15(() => CandidatesDto)
9015
9388
  ], InterviewInviteDto.prototype, "candidates", 2);
9016
9389
 
9017
9390
  // src/modules/interview/dto/send-interview-invite.dto.ts
9018
9391
  import {
9019
9392
  IsString as IsString54,
9020
- IsNotEmpty as IsNotEmpty79,
9393
+ IsNotEmpty as IsNotEmpty80,
9021
9394
  IsArray as IsArray19,
9022
9395
  IsUUID as IsUUID19,
9023
9396
  IsEnum as IsEnum34,
@@ -9025,7 +9398,7 @@ import {
9025
9398
  ValidateNested as ValidateNested8,
9026
9399
  IsOptional as IsOptional55
9027
9400
  } from "class-validator";
9028
- import { Type as Type18 } from "class-transformer";
9401
+ import { Type as Type16 } from "class-transformer";
9029
9402
  var InterviewInviteCandidateType = /* @__PURE__ */ ((InterviewInviteCandidateType2) => {
9030
9403
  InterviewInviteCandidateType2["SHORTLISTED"] = "SHORTLISTED";
9031
9404
  InterviewInviteCandidateType2["APPLICANTS"] = "APPLICANTS";
@@ -9037,53 +9410,53 @@ var ExistingCandidateDto2 = class {
9037
9410
  };
9038
9411
  __decorateClass([
9039
9412
  IsUUID19("4", { message: "Candidate ID must be a valid UUID." }),
9040
- IsNotEmpty79({ message: "Candidate ID is required." })
9413
+ IsNotEmpty80({ message: "Candidate ID is required." })
9041
9414
  ], ExistingCandidateDto2.prototype, "id", 2);
9042
9415
  __decorateClass([
9043
9416
  IsEnum34(InterviewInviteCandidateType, {
9044
9417
  message: "Type must be one of SHORTLISTED, APPLICANTS, or RECOMMENDED."
9045
9418
  }),
9046
- IsNotEmpty79({ message: "Candidate type is required." })
9419
+ IsNotEmpty80({ message: "Candidate type is required." })
9047
9420
  ], ExistingCandidateDto2.prototype, "type", 2);
9048
9421
  var NewCandidateDto2 = class {
9049
9422
  };
9050
9423
  __decorateClass([
9051
9424
  IsString54({ message: "Name must be a string." }),
9052
- IsNotEmpty79({ message: "Candidate name is required." })
9425
+ IsNotEmpty80({ message: "Candidate name is required." })
9053
9426
  ], NewCandidateDto2.prototype, "name", 2);
9054
9427
  __decorateClass([
9055
9428
  IsEmail19({}, { message: "Please enter a valid email address." }),
9056
- IsNotEmpty79({ message: "Email is required." })
9429
+ IsNotEmpty80({ message: "Email is required." })
9057
9430
  ], NewCandidateDto2.prototype, "email", 2);
9058
9431
  __decorateClass([
9059
9432
  IsEnum34(InterviewInviteCandidateType, {
9060
9433
  message: "Type must be NEW for new candidates."
9061
9434
  }),
9062
- IsNotEmpty79({ message: "Candidate type is required." })
9435
+ IsNotEmpty80({ message: "Candidate type is required." })
9063
9436
  ], NewCandidateDto2.prototype, "type", 2);
9064
9437
  var SendInterviewInviteDto = class {
9065
9438
  };
9066
9439
  __decorateClass([
9067
9440
  IsUUID19("4", { message: "Job ID must be a valid UUID." }),
9068
- IsNotEmpty79({ message: "Job ID is required." })
9441
+ IsNotEmpty80({ message: "Job ID is required." })
9069
9442
  ], SendInterviewInviteDto.prototype, "jobId", 2);
9070
9443
  __decorateClass([
9071
9444
  IsArray19({ message: "Existing candidates must be an array." }),
9072
9445
  ValidateNested8({ each: true }),
9073
- Type18(() => ExistingCandidateDto2),
9446
+ Type16(() => ExistingCandidateDto2),
9074
9447
  IsOptional55()
9075
9448
  ], SendInterviewInviteDto.prototype, "existingCandidates", 2);
9076
9449
  __decorateClass([
9077
9450
  IsArray19({ message: "New candidates must be an array." }),
9078
9451
  ValidateNested8({ each: true }),
9079
- Type18(() => NewCandidateDto2),
9452
+ Type16(() => NewCandidateDto2),
9080
9453
  IsOptional55()
9081
9454
  ], SendInterviewInviteDto.prototype, "newCandidates", 2);
9082
9455
 
9083
9456
  // src/modules/interview/dto/create-f2f-interview.dto.ts
9084
9457
  import {
9085
9458
  IsString as IsString55,
9086
- IsNotEmpty as IsNotEmpty80,
9459
+ IsNotEmpty as IsNotEmpty81,
9087
9460
  IsEmail as IsEmail20,
9088
9461
  IsNumber as IsNumber16
9089
9462
  } from "class-validator";
@@ -9091,11 +9464,11 @@ var CreateF2FInterviewDto = class {
9091
9464
  };
9092
9465
  __decorateClass([
9093
9466
  IsEmail20({}, { message: "Please enter a valid email address." }),
9094
- IsNotEmpty80({ message: "Invitee email is required." })
9467
+ IsNotEmpty81({ message: "Invitee email is required." })
9095
9468
  ], CreateF2FInterviewDto.prototype, "inviteeEmail", 2);
9096
9469
  __decorateClass([
9097
9470
  IsString55({ message: "Invitee name must be a string." }),
9098
- IsNotEmpty80({ message: "Invitee name is required." })
9471
+ IsNotEmpty81({ message: "Invitee name is required." })
9099
9472
  ], CreateF2FInterviewDto.prototype, "inviteeName", 2);
9100
9473
  __decorateClass([
9101
9474
  IsNumber16({}, { message: "Interview ID must be a number." })
@@ -9107,7 +9480,7 @@ __decorateClass([
9107
9480
  // src/modules/interview/dto/create-f2f-interview-direct.dto.ts
9108
9481
  import {
9109
9482
  IsString as IsString56,
9110
- IsNotEmpty as IsNotEmpty81,
9483
+ IsNotEmpty as IsNotEmpty82,
9111
9484
  IsEmail as IsEmail21,
9112
9485
  IsNumber as IsNumber17
9113
9486
  } from "class-validator";
@@ -9115,11 +9488,11 @@ var CreateF2FInterviewDirectDto = class {
9115
9488
  };
9116
9489
  __decorateClass([
9117
9490
  IsEmail21({}, { message: "Please enter a valid email address." }),
9118
- IsNotEmpty81({ message: "Invitee email is required." })
9491
+ IsNotEmpty82({ message: "Invitee email is required." })
9119
9492
  ], CreateF2FInterviewDirectDto.prototype, "inviteeEmail", 2);
9120
9493
  __decorateClass([
9121
9494
  IsString56({ message: "Invitee name must be a string." }),
9122
- IsNotEmpty81({ message: "Invitee name is required." })
9495
+ IsNotEmpty82({ message: "Invitee name is required." })
9123
9496
  ], CreateF2FInterviewDirectDto.prototype, "inviteeName", 2);
9124
9497
  __decorateClass([
9125
9498
  IsNumber17({}, { message: "Job ID must be a number." })
@@ -9131,7 +9504,7 @@ __decorateClass([
9131
9504
  // src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
9132
9505
  import {
9133
9506
  IsString as IsString57,
9134
- IsNotEmpty as IsNotEmpty82,
9507
+ IsNotEmpty as IsNotEmpty83,
9135
9508
  IsOptional as IsOptional56,
9136
9509
  IsUUID as IsUUID20
9137
9510
  } from "class-validator";
@@ -9139,14 +9512,14 @@ var CreateF2FInterviewRescheduleRequestDto = class {
9139
9512
  };
9140
9513
  __decorateClass([
9141
9514
  IsUUID20("4", { message: "F2F Interview ID must be a valid UUID." }),
9142
- IsNotEmpty82({ message: "F2F Interview ID is required." })
9515
+ IsNotEmpty83({ message: "F2F Interview ID is required." })
9143
9516
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "f2FInterviewId", 2);
9144
9517
  __decorateClass([
9145
- IsNotEmpty82({ message: "Rescheduled date is required." })
9518
+ IsNotEmpty83({ message: "Rescheduled date is required." })
9146
9519
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledDate", 2);
9147
9520
  __decorateClass([
9148
9521
  IsString57({ message: "Rescheduled slot must be a string." }),
9149
- IsNotEmpty82({ message: "Rescheduled slot is required." })
9522
+ IsNotEmpty83({ message: "Rescheduled slot is required." })
9150
9523
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledSlot", 2);
9151
9524
  __decorateClass([
9152
9525
  IsOptional56(),
@@ -9156,12 +9529,12 @@ __decorateClass([
9156
9529
  // src/modules/interview/dto/create-ai-interview-reschedule-request.dto.ts
9157
9530
  import {
9158
9531
  IsString as IsString58,
9159
- IsNotEmpty as IsNotEmpty83
9532
+ IsNotEmpty as IsNotEmpty84
9160
9533
  } from "class-validator";
9161
9534
  var CreateAIInterviewRescheduleRequestDto = class {
9162
9535
  };
9163
9536
  __decorateClass([
9164
- IsNotEmpty83({ message: "AI Interview ID is required." })
9537
+ IsNotEmpty84({ message: "AI Interview ID is required." })
9165
9538
  ], CreateAIInterviewRescheduleRequestDto.prototype, "aiInterviewId", 2);
9166
9539
  __decorateClass([
9167
9540
  IsString58({ message: "Freelancer reason must be a string." })
@@ -9187,11 +9560,11 @@ __decorateClass([
9187
9560
  ], RejectF2FInterviewRescheduleRequestDto.prototype, "reason", 2);
9188
9561
 
9189
9562
  // src/modules/interview/dto/capture-ai-interview-result-public.dto.ts
9190
- import { IsNotEmpty as IsNotEmpty84, IsString as IsString61, IsOptional as IsOptional59, IsObject as IsObject6 } from "class-validator";
9563
+ import { IsNotEmpty as IsNotEmpty85, IsString as IsString61, IsOptional as IsOptional59, IsObject as IsObject6 } from "class-validator";
9191
9564
  var CaptureAiInterviewResultPublicDto = class {
9192
9565
  };
9193
9566
  __decorateClass([
9194
- IsNotEmpty84({ message: "AI Interview UUID is required" }),
9567
+ IsNotEmpty85({ message: "AI Interview UUID is required" }),
9195
9568
  IsString61({ message: "AI Interview UUID must be a string" })
9196
9569
  ], CaptureAiInterviewResultPublicDto.prototype, "aiInterviewUuid", 2);
9197
9570
  __decorateClass([
@@ -9204,20 +9577,20 @@ __decorateClass([
9204
9577
  ], CaptureAiInterviewResultPublicDto.prototype, "status", 2);
9205
9578
 
9206
9579
  // src/modules/interview/dto/create-interview-basic-information.dto.ts
9207
- import { IsNotEmpty as IsNotEmpty85, IsString as IsString62, IsNumber as IsNumber18 } from "class-validator";
9580
+ import { IsNotEmpty as IsNotEmpty86, IsString as IsString62, IsNumber as IsNumber18 } from "class-validator";
9208
9581
  var CreateInterviewBasicInformationDto = class {
9209
9582
  };
9210
9583
  __decorateClass([
9211
- IsNotEmpty85({ message: "Job ID is required" }),
9584
+ IsNotEmpty86({ message: "Job ID is required" }),
9212
9585
  IsNumber18({}, { message: "Job ID must be a number" })
9213
9586
  ], CreateInterviewBasicInformationDto.prototype, "jobId", 2);
9214
9587
  __decorateClass([
9215
- IsNotEmpty85({ message: "Interview name is required" }),
9588
+ IsNotEmpty86({ message: "Interview name is required" }),
9216
9589
  IsString62({ message: "Interview name must be a string" })
9217
9590
  ], CreateInterviewBasicInformationDto.prototype, "interviewName", 2);
9218
9591
 
9219
9592
  // src/modules/interview/dto/update-interview-basic-information.dto.ts
9220
- import { IsOptional as IsOptional61, IsString as IsString63, IsNumber as IsNumber19, IsArray as IsArray21, IsDateString as IsDateString9 } from "class-validator";
9593
+ import { IsOptional as IsOptional61, IsString as IsString63, IsNumber as IsNumber19, IsArray as IsArray21, IsDateString as IsDateString8 } from "class-validator";
9221
9594
  var UpdateInterviewBasicInformationDto = class {
9222
9595
  };
9223
9596
  __decorateClass([
@@ -9230,7 +9603,7 @@ __decorateClass([
9230
9603
  ], UpdateInterviewBasicInformationDto.prototype, "description", 2);
9231
9604
  __decorateClass([
9232
9605
  IsOptional61(),
9233
- IsDateString9()
9606
+ IsDateString8()
9234
9607
  ], UpdateInterviewBasicInformationDto.prototype, "scheduledAt", 2);
9235
9608
  __decorateClass([
9236
9609
  IsOptional61(),
@@ -9249,12 +9622,12 @@ __decorateClass([
9249
9622
  // src/modules/interview/dto/create-interview-skills.dto.ts
9250
9623
  import {
9251
9624
  IsArray as IsArray22,
9252
- IsNotEmpty as IsNotEmpty86,
9625
+ IsNotEmpty as IsNotEmpty87,
9253
9626
  IsOptional as IsOptional62,
9254
9627
  IsString as IsString64,
9255
9628
  ValidateNested as ValidateNested9
9256
9629
  } from "class-validator";
9257
- import { Type as Type19 } from "class-transformer";
9630
+ import { Type as Type17 } from "class-transformer";
9258
9631
  var InterviewSkillItemDto = class {
9259
9632
  };
9260
9633
  __decorateClass([
@@ -9262,7 +9635,7 @@ __decorateClass([
9262
9635
  ], InterviewSkillItemDto.prototype, "uuid", 2);
9263
9636
  __decorateClass([
9264
9637
  IsString64({ message: "Skill name must be a string." }),
9265
- IsNotEmpty86({ message: "Skill name is required." })
9638
+ IsNotEmpty87({ message: "Skill name is required." })
9266
9639
  ], InterviewSkillItemDto.prototype, "skill", 2);
9267
9640
  __decorateClass([
9268
9641
  IsOptional62(),
@@ -9272,21 +9645,21 @@ var CreateInterviewSkillsDto = class {
9272
9645
  };
9273
9646
  __decorateClass([
9274
9647
  IsArray22({ message: "Skills must be an array." }),
9275
- IsNotEmpty86({ message: "At least one skill is required." }),
9648
+ IsNotEmpty87({ message: "At least one skill is required." }),
9276
9649
  ValidateNested9({ each: true }),
9277
- Type19(() => InterviewSkillItemDto)
9650
+ Type17(() => InterviewSkillItemDto)
9278
9651
  ], CreateInterviewSkillsDto.prototype, "skills", 2);
9279
9652
 
9280
9653
  // src/modules/interview/dto/create-interview-questions.dto.ts
9281
9654
  import {
9282
9655
  IsArray as IsArray23,
9283
- IsNotEmpty as IsNotEmpty87,
9656
+ IsNotEmpty as IsNotEmpty88,
9284
9657
  IsOptional as IsOptional63,
9285
9658
  IsString as IsString65,
9286
9659
  IsUUID as IsUUID22,
9287
9660
  ValidateNested as ValidateNested10
9288
9661
  } from "class-validator";
9289
- import { Type as Type20 } from "class-transformer";
9662
+ import { Type as Type18 } from "class-transformer";
9290
9663
  var CustomQuestionItemDto = class {
9291
9664
  };
9292
9665
  __decorateClass([
@@ -9295,7 +9668,7 @@ __decorateClass([
9295
9668
  ], CustomQuestionItemDto.prototype, "uuid", 2);
9296
9669
  __decorateClass([
9297
9670
  IsString65({ message: "Question must be a string." }),
9298
- IsNotEmpty87({ message: "Question is required." })
9671
+ IsNotEmpty88({ message: "Question is required." })
9299
9672
  ], CustomQuestionItemDto.prototype, "question", 2);
9300
9673
  var AiQuestionItemDto = class {
9301
9674
  };
@@ -9305,7 +9678,7 @@ __decorateClass([
9305
9678
  ], AiQuestionItemDto.prototype, "uuid", 2);
9306
9679
  __decorateClass([
9307
9680
  IsString65({ message: "Question must be a string." }),
9308
- IsNotEmpty87({ message: "Question is required." })
9681
+ IsNotEmpty88({ message: "Question is required." })
9309
9682
  ], AiQuestionItemDto.prototype, "question", 2);
9310
9683
  __decorateClass([
9311
9684
  IsOptional63(),
@@ -9318,22 +9691,22 @@ __decorateClass([
9318
9691
  IsOptional63(),
9319
9692
  IsArray23({ message: "Questions must be an array." }),
9320
9693
  ValidateNested10({ each: true }),
9321
- Type20(() => CustomQuestionItemDto)
9694
+ Type18(() => CustomQuestionItemDto)
9322
9695
  ], CreateInterviewQuestionsDto.prototype, "questions", 2);
9323
9696
  __decorateClass([
9324
9697
  IsOptional63(),
9325
9698
  IsArray23({ message: "AI questions must be an array." }),
9326
9699
  ValidateNested10({ each: true }),
9327
- Type20(() => AiQuestionItemDto)
9700
+ Type18(() => AiQuestionItemDto)
9328
9701
  ], CreateInterviewQuestionsDto.prototype, "aiQuestions", 2);
9329
9702
 
9330
9703
  // src/modules/interview/dto/update-interview-setting.dto.ts
9331
9704
  import {
9332
- IsBoolean as IsBoolean18,
9705
+ IsBoolean as IsBoolean19,
9333
9706
  IsOptional as IsOptional64,
9334
9707
  IsString as IsString66
9335
9708
  } from "class-validator";
9336
- import { Type as Type21 } from "class-transformer";
9709
+ import { Type as Type19 } from "class-transformer";
9337
9710
  var UpdateInterviewSettingDto = class {
9338
9711
  };
9339
9712
  __decorateClass([
@@ -9342,8 +9715,8 @@ __decorateClass([
9342
9715
  ], UpdateInterviewSettingDto.prototype, "interviewLanguage", 2);
9343
9716
  __decorateClass([
9344
9717
  IsOptional64(),
9345
- IsBoolean18({ message: "Allow proctoring must be a boolean." }),
9346
- Type21(() => Boolean)
9718
+ IsBoolean19({ message: "Allow proctoring must be a boolean." }),
9719
+ Type19(() => Boolean)
9347
9720
  ], UpdateInterviewSettingDto.prototype, "allowProctoring", 2);
9348
9721
  __decorateClass([
9349
9722
  IsOptional64(),
@@ -9410,54 +9783,53 @@ var CONTRACT_PATTERN = {
9410
9783
  };
9411
9784
 
9412
9785
  // src/modules/contract/dto/sign-contract-for-client.dto.ts
9413
- import { IsEnum as IsEnum35, IsNotEmpty as IsNotEmpty88, IsNumber as IsNumber20 } from "class-validator";
9414
- import { Type as Type22 } from "class-transformer";
9786
+ import { IsEnum as IsEnum35, IsNotEmpty as IsNotEmpty89, IsNumber as IsNumber20 } from "class-validator";
9787
+ import { Type as Type20 } from "class-transformer";
9415
9788
  var SignContractForClientDto = class {
9416
9789
  };
9417
9790
  __decorateClass([
9418
- IsNotEmpty88({ message: "Job Id is required." }),
9419
- Type22(() => Number),
9791
+ IsNotEmpty89({ message: "Job Id is required." }),
9792
+ Type20(() => Number),
9420
9793
  IsNumber20({}, { message: "Job ID must be a number." })
9421
9794
  ], SignContractForClientDto.prototype, "jobId", 2);
9422
9795
  __decorateClass([
9423
- IsNotEmpty88({ message: "Freelancer ID is required." }),
9424
- Type22(() => Number),
9796
+ IsNotEmpty89({ message: "Freelancer ID is required." }),
9797
+ Type20(() => Number),
9425
9798
  IsNumber20({}, { message: "Freelancer ID must be a number." })
9426
9799
  ], SignContractForClientDto.prototype, "freelancerId", 2);
9427
9800
  __decorateClass([
9428
- IsNotEmpty88({ message: "Contract type is required." }),
9801
+ IsNotEmpty89({ message: "Contract type is required." }),
9429
9802
  IsEnum35(ContractTypeEnum)
9430
9803
  ], SignContractForClientDto.prototype, "contractType", 2);
9431
9804
 
9432
9805
  // src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
9433
- import { IsEnum as IsEnum36, IsNotEmpty as IsNotEmpty89, IsNumber as IsNumber21 } from "class-validator";
9434
- import { Type as Type23 } from "class-transformer";
9806
+ import { IsEnum as IsEnum36, IsNotEmpty as IsNotEmpty90, IsNumber as IsNumber21 } from "class-validator";
9807
+ import { Type as Type21 } from "class-transformer";
9435
9808
  var SignContractForFreelancerDto = class {
9436
9809
  };
9437
9810
  __decorateClass([
9438
- IsNotEmpty89({ message: "Job Id is required." }),
9439
- Type23(() => Number),
9811
+ IsNotEmpty90({ message: "Job Id is required." }),
9812
+ Type21(() => Number),
9440
9813
  IsNumber21({}, { message: "Job ID must be a number." })
9441
9814
  ], SignContractForFreelancerDto.prototype, "jobId", 2);
9442
9815
  __decorateClass([
9443
- IsNotEmpty89({ message: "Client ID is required." }),
9444
- Type23(() => Number),
9816
+ IsNotEmpty90({ message: "Client ID is required." }),
9817
+ Type21(() => Number),
9445
9818
  IsNumber21({}, { message: "Client ID must be a number." })
9446
9819
  ], SignContractForFreelancerDto.prototype, "clientId", 2);
9447
9820
  __decorateClass([
9448
- IsNotEmpty89({ message: "Contract type is required." }),
9821
+ IsNotEmpty90({ message: "Contract type is required." }),
9449
9822
  IsEnum36(ContractTypeEnum)
9450
9823
  ], SignContractForFreelancerDto.prototype, "contractType", 2);
9451
9824
 
9452
9825
  // src/modules/contract/dto/generate-contract.dto.ts
9453
9826
  import {
9454
- IsNotEmpty as IsNotEmpty90,
9827
+ IsNotEmpty as IsNotEmpty91,
9455
9828
  IsNumber as IsNumber22,
9456
9829
  IsOptional as IsOptional66,
9457
9830
  IsString as IsString68,
9458
9831
  IsUUID as IsUUID23,
9459
- IsEnum as IsEnum37,
9460
- IsDateString as IsDateString10
9832
+ IsEnum as IsEnum37
9461
9833
  } from "class-validator";
9462
9834
  var ContractSourceEnum = /* @__PURE__ */ ((ContractSourceEnum2) => {
9463
9835
  ContractSourceEnum2["AI_INTERVIEW"] = "AI_INTERVIEW";
@@ -9476,11 +9848,11 @@ var GenerateContractDto = class {
9476
9848
  };
9477
9849
  __decorateClass([
9478
9850
  IsNumber22({}, { message: "Job ID must be a number." }),
9479
- IsNotEmpty90({ message: "Job ID is required." })
9851
+ IsNotEmpty91({ message: "Job ID is required." })
9480
9852
  ], GenerateContractDto.prototype, "jobId", 2);
9481
9853
  __decorateClass([
9482
9854
  IsNumber22({}, { message: "Freelancer ID must be a number." }),
9483
- IsNotEmpty90({ message: "Freelancer ID is required." })
9855
+ IsNotEmpty91({ message: "Freelancer ID is required." })
9484
9856
  ], GenerateContractDto.prototype, "freelancerId", 2);
9485
9857
  __decorateClass([
9486
9858
  IsOptional66(),
@@ -9490,7 +9862,7 @@ __decorateClass([
9490
9862
  ], GenerateContractDto.prototype, "contractType", 2);
9491
9863
  __decorateClass([
9492
9864
  IsOptional66(),
9493
- IsDateString10({}, { message: "Contract start date must be a valid date string." })
9865
+ IsString68({ message: "Contract start date must be a string." })
9494
9866
  ], GenerateContractDto.prototype, "contractStartDate", 2);
9495
9867
  __decorateClass([
9496
9868
  IsOptional66(),
@@ -9508,39 +9880,39 @@ __decorateClass([
9508
9880
  ], GenerateContractDto.prototype, "sourceUuid", 2);
9509
9881
 
9510
9882
  // src/modules/contract/dto/esign-contract-client.dto.ts
9511
- import { IsNotEmpty as IsNotEmpty91, IsUUID as IsUUID24 } from "class-validator";
9883
+ import { IsNotEmpty as IsNotEmpty92, IsUUID as IsUUID24 } from "class-validator";
9512
9884
  var EsignContractClientDto = class {
9513
9885
  };
9514
9886
  __decorateClass([
9515
9887
  IsUUID24("4", { message: "Contract UUID must be a valid UUID." }),
9516
- IsNotEmpty91({ message: "Contract UUID is required." })
9888
+ IsNotEmpty92({ message: "Contract UUID is required." })
9517
9889
  ], EsignContractClientDto.prototype, "contractUuid", 2);
9518
9890
 
9519
9891
  // src/modules/contract/dto/esign-contract-freelancer.dto.ts
9520
- import { IsNotEmpty as IsNotEmpty92, IsUUID as IsUUID25 } from "class-validator";
9892
+ import { IsNotEmpty as IsNotEmpty93, IsUUID as IsUUID25 } from "class-validator";
9521
9893
  var EsignContractFreelancerDto = class {
9522
9894
  };
9523
9895
  __decorateClass([
9524
9896
  IsUUID25("4", { message: "Contract UUID must be a valid UUID." }),
9525
- IsNotEmpty92({ message: "Contract UUID is required." })
9897
+ IsNotEmpty93({ message: "Contract UUID is required." })
9526
9898
  ], EsignContractFreelancerDto.prototype, "contractUuid", 2);
9527
9899
 
9528
9900
  // src/modules/contract/dto/escrow-fund-contract.dto.ts
9529
- import { IsNotEmpty as IsNotEmpty93, IsUUID as IsUUID26 } from "class-validator";
9901
+ import { IsNotEmpty as IsNotEmpty94, IsUUID as IsUUID26 } from "class-validator";
9530
9902
  var EscrowFundContractDto = class {
9531
9903
  };
9532
9904
  __decorateClass([
9533
9905
  IsUUID26("4", { message: "Contract ID must be a valid UUID." }),
9534
- IsNotEmpty93({ message: "Contract ID is required." })
9906
+ IsNotEmpty94({ message: "Contract ID is required." })
9535
9907
  ], EscrowFundContractDto.prototype, "contractId", 2);
9536
9908
 
9537
9909
  // src/modules/contract/dto/send-nda-contract-to-freelancer.dto.ts
9538
- import { IsNotEmpty as IsNotEmpty94, IsUUID as IsUUID27 } from "class-validator";
9910
+ import { IsNotEmpty as IsNotEmpty95, IsUUID as IsUUID27 } from "class-validator";
9539
9911
  var SendNdaContractToFreelancerDto = class {
9540
9912
  };
9541
9913
  __decorateClass([
9542
9914
  IsUUID27("4", { message: "Contract UUID must be a valid UUID." }),
9543
- IsNotEmpty94({ message: "Contract UUID is required." })
9915
+ IsNotEmpty95({ message: "Contract UUID is required." })
9544
9916
  ], SendNdaContractToFreelancerDto.prototype, "contractUuid", 2);
9545
9917
 
9546
9918
  // src/modules/contract/dto/reject-contract.dto.ts
@@ -9574,20 +9946,20 @@ var STRIPE_PATTERN = {
9574
9946
 
9575
9947
  // src/modules/stripe/dto/create-checkout-session.dto.ts
9576
9948
  import {
9577
- IsNotEmpty as IsNotEmpty95
9949
+ IsNotEmpty as IsNotEmpty96
9578
9950
  } from "class-validator";
9579
9951
  var CreateCheckoutSessionDto = class {
9580
9952
  };
9581
9953
  __decorateClass([
9582
- IsNotEmpty95({ message: "Amount is required" })
9954
+ IsNotEmpty96({ message: "Amount is required" })
9583
9955
  ], CreateCheckoutSessionDto.prototype, "amount", 2);
9584
9956
 
9585
9957
  // src/modules/stripe/dto/pre-checkout-calculation.dto.ts
9586
- import { IsNotEmpty as IsNotEmpty96, IsNumber as IsNumber23, IsOptional as IsOptional68, IsString as IsString71 } from "class-validator";
9958
+ import { IsNotEmpty as IsNotEmpty97, IsNumber as IsNumber23, IsOptional as IsOptional68, IsString as IsString71 } from "class-validator";
9587
9959
  var PreCheckoutCalculationDto = class {
9588
9960
  };
9589
9961
  __decorateClass([
9590
- IsNotEmpty96({ message: "Amount is required" }),
9962
+ IsNotEmpty97({ message: "Amount is required" }),
9591
9963
  IsNumber23({}, { message: "Amount must be a number" })
9592
9964
  ], PreCheckoutCalculationDto.prototype, "amount", 2);
9593
9965
  __decorateClass([
@@ -9600,11 +9972,11 @@ __decorateClass([
9600
9972
  ], PreCheckoutCalculationDto.prototype, "description", 2);
9601
9973
 
9602
9974
  // src/modules/stripe/dto/client-add-fund.dto.ts
9603
- import { IsNotEmpty as IsNotEmpty97, IsNumber as IsNumber24, IsOptional as IsOptional69, IsString as IsString72 } from "class-validator";
9975
+ import { IsNotEmpty as IsNotEmpty98, IsNumber as IsNumber24, IsOptional as IsOptional69, IsString as IsString72 } from "class-validator";
9604
9976
  var ClientAddFundDto = class {
9605
9977
  };
9606
9978
  __decorateClass([
9607
- IsNotEmpty97({ message: "Amount is required" }),
9979
+ IsNotEmpty98({ message: "Amount is required" }),
9608
9980
  IsNumber24({}, { message: "Amount must be a number" })
9609
9981
  ], ClientAddFundDto.prototype, "amount", 2);
9610
9982
  __decorateClass([
@@ -9617,12 +9989,12 @@ __decorateClass([
9617
9989
  ], ClientAddFundDto.prototype, "description", 2);
9618
9990
 
9619
9991
  // src/modules/stripe/dto/transfer-funds.dto.ts
9620
- import { IsNotEmpty as IsNotEmpty98, IsUUID as IsUUID28 } from "class-validator";
9992
+ import { IsNotEmpty as IsNotEmpty99, IsUUID as IsUUID28 } from "class-validator";
9621
9993
  var TransferFundsDto = class {
9622
9994
  };
9623
9995
  __decorateClass([
9624
9996
  IsUUID28("4", { message: "Invoice UUID must be a valid UUID." }),
9625
- IsNotEmpty98({ message: "Invoice UUID is required." })
9997
+ IsNotEmpty99({ message: "Invoice UUID is required." })
9626
9998
  ], TransferFundsDto.prototype, "invoiceUuid", 2);
9627
9999
 
9628
10000
  // src/modules/timesheet/pattern/pattern.ts
@@ -9667,9 +10039,9 @@ var TIMESHEET_CLIENT_PATTERN = {
9667
10039
 
9668
10040
  // src/modules/timesheet/dto/create-freelancer-timesheet.dto.ts
9669
10041
  import {
9670
- IsDateString as IsDateString11,
10042
+ IsDateString as IsDateString10,
9671
10043
  IsInt as IsInt13,
9672
- IsNotEmpty as IsNotEmpty99,
10044
+ IsNotEmpty as IsNotEmpty100,
9673
10045
  IsOptional as IsOptional70,
9674
10046
  IsString as IsString73,
9675
10047
  Matches as Matches13,
@@ -9678,25 +10050,25 @@ import {
9678
10050
  var CreateFreelancerTimesheetDto = class {
9679
10051
  };
9680
10052
  __decorateClass([
9681
- IsNotEmpty99({ message: "Job id is required" }),
10053
+ IsNotEmpty100({ message: "Job id is required" }),
9682
10054
  IsNumber25({}, { message: "Job id must be a number" })
9683
10055
  ], CreateFreelancerTimesheetDto.prototype, "jobId", 2);
9684
10056
  __decorateClass([
9685
- IsNotEmpty99({ message: "start date is required" }),
9686
- IsDateString11()
10057
+ IsNotEmpty100({ message: "start date is required" }),
10058
+ IsDateString10()
9687
10059
  ], CreateFreelancerTimesheetDto.prototype, "startDate", 2);
9688
10060
  __decorateClass([
9689
- IsNotEmpty99({ message: "end date is required" }),
9690
- IsDateString11()
10061
+ IsNotEmpty100({ message: "end date is required" }),
10062
+ IsDateString10()
9691
10063
  ], CreateFreelancerTimesheetDto.prototype, "endDate", 2);
9692
10064
  __decorateClass([
9693
- IsNotEmpty99({ message: "start time is required" }),
10065
+ IsNotEmpty100({ message: "start time is required" }),
9694
10066
  Matches13(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
9695
10067
  message: "startTime must be in HH:mm:ss format"
9696
10068
  })
9697
10069
  ], CreateFreelancerTimesheetDto.prototype, "startTime", 2);
9698
10070
  __decorateClass([
9699
- IsNotEmpty99({ message: "end time is required" }),
10071
+ IsNotEmpty100({ message: "end time is required" }),
9700
10072
  Matches13(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
9701
10073
  message: "endTime must be in HH:mm:ss format"
9702
10074
  })
@@ -9718,14 +10090,14 @@ __decorateClass([
9718
10090
  IsString73()
9719
10091
  ], CreateFreelancerTimesheetDto.prototype, "taskName", 2);
9720
10092
  __decorateClass([
9721
- IsNotEmpty99({ message: "Description is required" })
10093
+ IsNotEmpty100({ message: "Description is required" })
9722
10094
  ], CreateFreelancerTimesheetDto.prototype, "description", 2);
9723
10095
 
9724
10096
  // src/modules/timesheet/dto/update-freelancer-timesheet.dto.ts
9725
10097
  import {
9726
- IsDateString as IsDateString12,
10098
+ IsDateString as IsDateString11,
9727
10099
  IsInt as IsInt14,
9728
- IsNotEmpty as IsNotEmpty100,
10100
+ IsNotEmpty as IsNotEmpty101,
9729
10101
  IsOptional as IsOptional71,
9730
10102
  IsString as IsString74,
9731
10103
  Matches as Matches14,
@@ -9734,25 +10106,25 @@ import {
9734
10106
  var UpdateFreelancerTimesheetDto = class {
9735
10107
  };
9736
10108
  __decorateClass([
9737
- IsNotEmpty100({ message: "Job id is required" }),
10109
+ IsNotEmpty101({ message: "Job id is required" }),
9738
10110
  IsNumber26({}, { message: "Job id must be a number" })
9739
10111
  ], UpdateFreelancerTimesheetDto.prototype, "jobId", 2);
9740
10112
  __decorateClass([
9741
- IsNotEmpty100({ message: "start date is required" }),
9742
- IsDateString12()
10113
+ IsNotEmpty101({ message: "start date is required" }),
10114
+ IsDateString11()
9743
10115
  ], UpdateFreelancerTimesheetDto.prototype, "startDate", 2);
9744
10116
  __decorateClass([
9745
- IsNotEmpty100({ message: "end date is required" }),
9746
- IsDateString12()
10117
+ IsNotEmpty101({ message: "end date is required" }),
10118
+ IsDateString11()
9747
10119
  ], UpdateFreelancerTimesheetDto.prototype, "endDate", 2);
9748
10120
  __decorateClass([
9749
- IsNotEmpty100({ message: "start time is required" }),
10121
+ IsNotEmpty101({ message: "start time is required" }),
9750
10122
  Matches14(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
9751
10123
  message: "startTime must be in HH:mm:ss format"
9752
10124
  })
9753
10125
  ], UpdateFreelancerTimesheetDto.prototype, "startTime", 2);
9754
10126
  __decorateClass([
9755
- IsNotEmpty100({ message: "end time is required" }),
10127
+ IsNotEmpty101({ message: "end time is required" }),
9756
10128
  Matches14(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
9757
10129
  message: "endTime must be in HH:mm:ss format"
9758
10130
  })
@@ -9774,47 +10146,47 @@ __decorateClass([
9774
10146
  IsString74()
9775
10147
  ], UpdateFreelancerTimesheetDto.prototype, "taskName", 2);
9776
10148
  __decorateClass([
9777
- IsNotEmpty100({ message: "Description is required" })
10149
+ IsNotEmpty101({ message: "Description is required" })
9778
10150
  ], UpdateFreelancerTimesheetDto.prototype, "description", 2);
9779
10151
 
9780
10152
  // src/modules/timesheet/dto/submit-timesheet.dto.ts
9781
- import { IsNotEmpty as IsNotEmpty101, IsNumber as IsNumber27 } from "class-validator";
10153
+ import { IsNotEmpty as IsNotEmpty102, IsNumber as IsNumber27 } from "class-validator";
9782
10154
  var SubmitTimesheetDto = class {
9783
10155
  };
9784
10156
  __decorateClass([
9785
- IsNotEmpty101({ message: "Timesheet line ID is required" }),
10157
+ IsNotEmpty102({ message: "Timesheet line ID is required" }),
9786
10158
  IsNumber27({}, { message: "Timesheet line ID must be a number" })
9787
10159
  ], SubmitTimesheetDto.prototype, "timesheetLineId", 2);
9788
10160
 
9789
10161
  // src/modules/timesheet/dto/resubmit-timesheet.dto.ts
9790
- import { IsNotEmpty as IsNotEmpty102, IsNumber as IsNumber28 } from "class-validator";
10162
+ import { IsNotEmpty as IsNotEmpty103, IsNumber as IsNumber28 } from "class-validator";
9791
10163
  var ResubmitTimesheetDto = class {
9792
10164
  };
9793
10165
  __decorateClass([
9794
- IsNotEmpty102({ message: "Timesheet line ID is required" }),
10166
+ IsNotEmpty103({ message: "Timesheet line ID is required" }),
9795
10167
  IsNumber28({}, { message: "Timesheet line ID must be a number" })
9796
10168
  ], ResubmitTimesheetDto.prototype, "timesheetLineId", 2);
9797
10169
 
9798
10170
  // src/modules/timesheet/dto/approve-timesheets.dto.ts
9799
- import { IsNotEmpty as IsNotEmpty103, IsNumber as IsNumber29 } from "class-validator";
9800
- import { Type as Type24 } from "class-transformer";
10171
+ import { IsNotEmpty as IsNotEmpty104, IsNumber as IsNumber29 } from "class-validator";
10172
+ import { Type as Type22 } from "class-transformer";
9801
10173
  var ApproveTimesheetsDto = class {
9802
10174
  };
9803
10175
  __decorateClass([
9804
10176
  IsNumber29({}, { message: "Timesheet line ID must be a number." }),
9805
- IsNotEmpty103({ message: "Timesheet line ID is required." }),
9806
- Type24(() => Number)
10177
+ IsNotEmpty104({ message: "Timesheet line ID is required." }),
10178
+ Type22(() => Number)
9807
10179
  ], ApproveTimesheetsDto.prototype, "timesheetLineId", 2);
9808
10180
 
9809
10181
  // src/modules/timesheet/dto/send-back-timesheets.dto.ts
9810
- import { IsNotEmpty as IsNotEmpty104, IsNumber as IsNumber30, IsOptional as IsOptional72, IsString as IsString75 } from "class-validator";
9811
- import { Type as Type25 } from "class-transformer";
10182
+ import { IsNotEmpty as IsNotEmpty105, IsNumber as IsNumber30, IsOptional as IsOptional72, IsString as IsString75 } from "class-validator";
10183
+ import { Type as Type23 } from "class-transformer";
9812
10184
  var SendBackTimesheetsDto = class {
9813
10185
  };
9814
10186
  __decorateClass([
9815
10187
  IsNumber30({}, { message: "Timesheet line ID must be a number." }),
9816
- IsNotEmpty104({ message: "Timesheet line ID is required." }),
9817
- Type25(() => Number)
10188
+ IsNotEmpty105({ message: "Timesheet line ID is required." }),
10189
+ Type23(() => Number)
9818
10190
  ], SendBackTimesheetsDto.prototype, "timesheetLineId", 2);
9819
10191
  __decorateClass([
9820
10192
  IsOptional72(),
@@ -9822,19 +10194,19 @@ __decorateClass([
9822
10194
  ], SendBackTimesheetsDto.prototype, "clientSendBackReason", 2);
9823
10195
 
9824
10196
  // src/modules/timesheet/dto/create-default-timesheet-line.dto.ts
9825
- import { IsNotEmpty as IsNotEmpty105, IsNumber as IsNumber31 } from "class-validator";
10197
+ import { IsNotEmpty as IsNotEmpty106, IsNumber as IsNumber31 } from "class-validator";
9826
10198
  var CreateDefaultTimesheetLineDto = class {
9827
10199
  };
9828
10200
  __decorateClass([
9829
- IsNotEmpty105({ message: "Contract ID is required" }),
10201
+ IsNotEmpty106({ message: "Contract ID is required" }),
9830
10202
  IsNumber31({}, { message: "Contract ID must be a number" })
9831
10203
  ], CreateDefaultTimesheetLineDto.prototype, "contractId", 2);
9832
10204
  __decorateClass([
9833
- IsNotEmpty105({ message: "Freelancer ID is required" }),
10205
+ IsNotEmpty106({ message: "Freelancer ID is required" }),
9834
10206
  IsNumber31({}, { message: "Freelancer ID must be a number" })
9835
10207
  ], CreateDefaultTimesheetLineDto.prototype, "freelancerId", 2);
9836
10208
  __decorateClass([
9837
- IsNotEmpty105({ message: "Client ID is required" }),
10209
+ IsNotEmpty106({ message: "Client ID is required" }),
9838
10210
  IsNumber31({}, { message: "Client ID must be a number" })
9839
10211
  ], CreateDefaultTimesheetLineDto.prototype, "clientId", 2);
9840
10212
 
@@ -9857,22 +10229,22 @@ var INVOICE_PATTERN = {
9857
10229
  };
9858
10230
 
9859
10231
  // src/modules/invoice/dto/update-invoice-status.dto.ts
9860
- import { IsEnum as IsEnum40, IsNotEmpty as IsNotEmpty106 } from "class-validator";
10232
+ import { IsEnum as IsEnum40, IsNotEmpty as IsNotEmpty107 } from "class-validator";
9861
10233
  var UpdateInvoiceStatusDto = class {
9862
10234
  };
9863
10235
  __decorateClass([
9864
- IsNotEmpty106({ message: "Please provide invoice status." }),
10236
+ IsNotEmpty107({ message: "Please provide invoice status." }),
9865
10237
  IsEnum40(InvoiceStatusEnum, {
9866
10238
  message: "Status must be one of: APPROVED, REJECTED"
9867
10239
  })
9868
10240
  ], UpdateInvoiceStatusDto.prototype, "status", 2);
9869
10241
 
9870
10242
  // src/modules/invoice/dto/create-invoice.dto.ts
9871
- import { IsNotEmpty as IsNotEmpty107, IsNumber as IsNumber32 } from "class-validator";
10243
+ import { IsNotEmpty as IsNotEmpty108, IsNumber as IsNumber32 } from "class-validator";
9872
10244
  var CreateInvoiceDto = class {
9873
10245
  };
9874
10246
  __decorateClass([
9875
- IsNotEmpty107({ message: "Timesheet line ID is required" }),
10247
+ IsNotEmpty108({ message: "Timesheet line ID is required" }),
9876
10248
  IsNumber32({}, { message: "Timesheet line ID must be a number" })
9877
10249
  ], CreateInvoiceDto.prototype, "timeSheetLineId", 2);
9878
10250
 
@@ -9886,7 +10258,7 @@ var DISPUTE_PATTERN = {
9886
10258
  // src/modules/dispute/dto/create-dispute.dto.ts
9887
10259
  import {
9888
10260
  IsString as IsString76,
9889
- IsNotEmpty as IsNotEmpty108,
10261
+ IsNotEmpty as IsNotEmpty109,
9890
10262
  IsIn as IsIn4,
9891
10263
  IsOptional as IsOptional73,
9892
10264
  MaxLength as MaxLength21,
@@ -9894,30 +10266,30 @@ import {
9894
10266
  IsNumber as IsNumber33,
9895
10267
  ValidateIf as ValidateIf11
9896
10268
  } from "class-validator";
9897
- import { Transform as Transform4, Type as Type26 } from "class-transformer";
10269
+ import { Transform as Transform5, Type as Type24 } from "class-transformer";
9898
10270
  var CreateDisputeDto = class {
9899
10271
  };
9900
10272
  __decorateClass([
9901
10273
  ValidateIf11((o) => o.initiatorType === "FREELANCER" /* FREELANCER */),
9902
10274
  IsNumber33({}, { message: "Client id must be a number" }),
9903
- Type26(() => Number)
10275
+ Type24(() => Number)
9904
10276
  ], CreateDisputeDto.prototype, "clientId", 2);
9905
10277
  __decorateClass([
9906
10278
  ValidateIf11((o) => o.initiatorType === "CLIENT" /* CLIENT */),
9907
10279
  IsNumber33({}, { message: "Freelancer id must be a number" }),
9908
- Type26(() => Number)
10280
+ Type24(() => Number)
9909
10281
  ], CreateDisputeDto.prototype, "freelancerId", 2);
9910
10282
  __decorateClass([
9911
- IsNotEmpty108({ message: "Please select dispute type." }),
10283
+ IsNotEmpty109({ message: "Please select dispute type." }),
9912
10284
  IsString76(),
9913
10285
  IsIn4(["JOB", "INVOICE"])
9914
10286
  ], CreateDisputeDto.prototype, "disputeType", 2);
9915
10287
  __decorateClass([
9916
- IsNotEmpty108({ message: "Please provide initiator type." }),
10288
+ IsNotEmpty109({ message: "Please provide initiator type." }),
9917
10289
  IsString76()
9918
10290
  ], CreateDisputeDto.prototype, "initiatorType", 2);
9919
10291
  __decorateClass([
9920
- IsNotEmpty108({ message: "Please enter description." }),
10292
+ IsNotEmpty109({ message: "Please enter description." }),
9921
10293
  IsString76({ message: "Description must be a string" }),
9922
10294
  MaxLength21(500, { message: "Description must not exceed 500 characters" })
9923
10295
  ], CreateDisputeDto.prototype, "description", 2);
@@ -9929,7 +10301,7 @@ __decorateClass([
9929
10301
  __decorateClass([
9930
10302
  IsOptional73(),
9931
10303
  IsObject7({ message: "Dynamic fields must be a valid object" }),
9932
- Transform4(({ value }) => {
10304
+ Transform5(({ value }) => {
9933
10305
  if (typeof value === "string") {
9934
10306
  try {
9935
10307
  return JSON.parse(value);
@@ -9950,23 +10322,23 @@ var SENSELOAF_PATTERN = {
9950
10322
 
9951
10323
  // src/modules/senseloaf/dto/ai-interview-question-generate.dto.ts
9952
10324
  import {
9953
- IsNotEmpty as IsNotEmpty109
10325
+ IsNotEmpty as IsNotEmpty110
9954
10326
  } from "class-validator";
9955
10327
  var AiInterviewQuestionGenerateDto = class {
9956
10328
  };
9957
10329
  __decorateClass([
9958
- IsNotEmpty109({ message: "Please enter job description." })
10330
+ IsNotEmpty110({ message: "Please enter job description." })
9959
10331
  ], AiInterviewQuestionGenerateDto.prototype, "jobDescription", 2);
9960
10332
  __decorateClass([
9961
- IsNotEmpty109({ message: "Please enter number of questions." })
10333
+ IsNotEmpty110({ message: "Please enter number of questions." })
9962
10334
  ], AiInterviewQuestionGenerateDto.prototype, "numQuestions", 2);
9963
10335
 
9964
10336
  // src/modules/senseloaf/dto/resume-parsing-by-url.dto.ts
9965
- import { IsNotEmpty as IsNotEmpty110, IsString as IsString77, IsOptional as IsOptional74 } from "class-validator";
10337
+ import { IsNotEmpty as IsNotEmpty111, IsString as IsString77, IsOptional as IsOptional74 } from "class-validator";
9966
10338
  var ResumeParsingByUrlDto = class {
9967
10339
  };
9968
10340
  __decorateClass([
9969
- IsNotEmpty110({ message: "Resume URL is required" }),
10341
+ IsNotEmpty111({ message: "Resume URL is required" }),
9970
10342
  IsString77({ message: "Resume URL must be a string" })
9971
10343
  ], ResumeParsingByUrlDto.prototype, "resumeUrl", 2);
9972
10344
  __decorateClass([
@@ -9975,11 +10347,11 @@ __decorateClass([
9975
10347
  ], ResumeParsingByUrlDto.prototype, "fileName", 2);
9976
10348
 
9977
10349
  // src/modules/senseloaf/dto/resume-data-processing.dto.ts
9978
- import { IsNotEmpty as IsNotEmpty111, IsString as IsString78, IsOptional as IsOptional75, IsObject as IsObject8 } from "class-validator";
10350
+ import { IsNotEmpty as IsNotEmpty112, IsString as IsString78, IsOptional as IsOptional75, IsObject as IsObject8 } from "class-validator";
9979
10351
  var ResumeDataProcessingDto = class {
9980
10352
  };
9981
10353
  __decorateClass([
9982
- IsNotEmpty111({ message: "Resume data is required" }),
10354
+ IsNotEmpty112({ message: "Resume data is required" }),
9983
10355
  IsObject8()
9984
10356
  ], ResumeDataProcessingDto.prototype, "resumeData", 2);
9985
10357
  __decorateClass([
@@ -9992,11 +10364,11 @@ __decorateClass([
9992
10364
  ], ResumeDataProcessingDto.prototype, "processingType", 2);
9993
10365
 
9994
10366
  // src/modules/senseloaf/dto/check-resume-eligibility.dto.ts
9995
- import { IsNotEmpty as IsNotEmpty112, IsString as IsString79, IsOptional as IsOptional76, IsObject as IsObject9 } from "class-validator";
10367
+ import { IsNotEmpty as IsNotEmpty113, IsString as IsString79, IsOptional as IsOptional76, IsObject as IsObject9 } from "class-validator";
9996
10368
  var CheckResumeEligibilityDto = class {
9997
10369
  };
9998
10370
  __decorateClass([
9999
- IsNotEmpty112({ message: "Resume data is required" }),
10371
+ IsNotEmpty113({ message: "Resume data is required" }),
10000
10372
  IsObject9()
10001
10373
  ], CheckResumeEligibilityDto.prototype, "resumeData", 2);
10002
10374
  __decorateClass([
@@ -10009,11 +10381,11 @@ __decorateClass([
10009
10381
  ], CheckResumeEligibilityDto.prototype, "userId", 2);
10010
10382
 
10011
10383
  // src/modules/senseloaf/dto/ai-interview-template-generation.dto.ts
10012
- import { IsNotEmpty as IsNotEmpty113, IsString as IsString80, IsOptional as IsOptional77, IsArray as IsArray24, IsNumber as IsNumber34 } from "class-validator";
10384
+ import { IsNotEmpty as IsNotEmpty114, IsString as IsString80, IsOptional as IsOptional77, IsArray as IsArray24, IsNumber as IsNumber34 } from "class-validator";
10013
10385
  var AiInterviewTemplateGenerationDto = class {
10014
10386
  };
10015
10387
  __decorateClass([
10016
- IsNotEmpty113({ message: "Job ID is required" }),
10388
+ IsNotEmpty114({ message: "Job ID is required" }),
10017
10389
  IsString80({ message: "Job ID must be a string" })
10018
10390
  ], AiInterviewTemplateGenerationDto.prototype, "jobId", 2);
10019
10391
  __decorateClass([
@@ -10031,15 +10403,15 @@ __decorateClass([
10031
10403
  ], AiInterviewTemplateGenerationDto.prototype, "difficulty", 2);
10032
10404
 
10033
10405
  // src/modules/senseloaf/dto/ai-interview-link-generation.dto.ts
10034
- import { IsNotEmpty as IsNotEmpty114, IsString as IsString81, IsOptional as IsOptional78, IsNumber as IsNumber35 } from "class-validator";
10406
+ import { IsNotEmpty as IsNotEmpty115, IsString as IsString81, IsOptional as IsOptional78, IsNumber as IsNumber35 } from "class-validator";
10035
10407
  var AiInterviewLinkGenerationDto = class {
10036
10408
  };
10037
10409
  __decorateClass([
10038
- IsNotEmpty114({ message: "Template ID is required" }),
10410
+ IsNotEmpty115({ message: "Template ID is required" }),
10039
10411
  IsString81({ message: "Template ID must be a string" })
10040
10412
  ], AiInterviewLinkGenerationDto.prototype, "templateId", 2);
10041
10413
  __decorateClass([
10042
- IsNotEmpty114({ message: "Freelancer ID is required" }),
10414
+ IsNotEmpty115({ message: "Freelancer ID is required" }),
10043
10415
  IsString81({ message: "Freelancer ID must be a string" })
10044
10416
  ], AiInterviewLinkGenerationDto.prototype, "freelancerId", 2);
10045
10417
  __decorateClass([
@@ -10052,11 +10424,11 @@ __decorateClass([
10052
10424
  ], AiInterviewLinkGenerationDto.prototype, "expiryHours", 2);
10053
10425
 
10054
10426
  // src/modules/senseloaf/dto/ai-assessment-creation.dto.ts
10055
- import { IsNotEmpty as IsNotEmpty115, IsString as IsString82, IsOptional as IsOptional79, IsNumber as IsNumber36 } from "class-validator";
10427
+ import { IsNotEmpty as IsNotEmpty116, IsString as IsString82, IsOptional as IsOptional79, IsNumber as IsNumber36 } from "class-validator";
10056
10428
  var AiAssessmentCreationDto = class {
10057
10429
  };
10058
10430
  __decorateClass([
10059
- IsNotEmpty115({ message: "User ID is required" }),
10431
+ IsNotEmpty116({ message: "User ID is required" }),
10060
10432
  IsString82({ message: "User ID must be a string" })
10061
10433
  ], AiAssessmentCreationDto.prototype, "userId", 2);
10062
10434
  __decorateClass([
@@ -10085,15 +10457,15 @@ var HIRING_PATTERN = {
10085
10457
  };
10086
10458
 
10087
10459
  // src/modules/hiring/dto/create-hiring.dto.ts
10088
- import { IsNotEmpty as IsNotEmpty116, IsNumber as IsNumber37 } from "class-validator";
10460
+ import { IsNotEmpty as IsNotEmpty117, IsNumber as IsNumber37 } from "class-validator";
10089
10461
  var CreateHiringDto = class {
10090
10462
  };
10091
10463
  __decorateClass([
10092
- IsNotEmpty116({ message: "Freelancer ID is required" }),
10464
+ IsNotEmpty117({ message: "Freelancer ID is required" }),
10093
10465
  IsNumber37({}, { message: "Freelancer ID must be a number" })
10094
10466
  ], CreateHiringDto.prototype, "freelancerId", 2);
10095
10467
  __decorateClass([
10096
- IsNotEmpty116({ message: "Job ID is required" }),
10468
+ IsNotEmpty117({ message: "Job ID is required" }),
10097
10469
  IsNumber37({}, { message: "Job ID must be a number" })
10098
10470
  ], CreateHiringDto.prototype, "jobId", 2);
10099
10471
 
@@ -10142,21 +10514,21 @@ var WALLET_ADMIN_PATTERN = {
10142
10514
  };
10143
10515
 
10144
10516
  // src/modules/wallet/dto/add-topup-escrow-amount.dto.ts
10145
- import { IsNotEmpty as IsNotEmpty117, IsNumber as IsNumber38 } from "class-validator";
10517
+ import { IsNotEmpty as IsNotEmpty118, IsNumber as IsNumber38 } from "class-validator";
10146
10518
  var AddTopupEscrowAmountDto = class {
10147
10519
  };
10148
10520
  __decorateClass([
10149
- IsNotEmpty117({ message: "Amount is required" }),
10521
+ IsNotEmpty118({ message: "Amount is required" }),
10150
10522
  IsNumber38({}, { message: "Amount must be a number" })
10151
10523
  ], AddTopupEscrowAmountDto.prototype, "amount", 2);
10152
10524
 
10153
10525
  // src/modules/wallet/dto/debit-commission-fte-hiring.dto.ts
10154
- import { IsNotEmpty as IsNotEmpty118, IsUUID as IsUUID29 } from "class-validator";
10526
+ import { IsNotEmpty as IsNotEmpty119, IsUUID as IsUUID29 } from "class-validator";
10155
10527
  var DebitCommissionFteHiringDto = class {
10156
10528
  };
10157
10529
  __decorateClass([
10158
10530
  IsUUID29("4", { message: "Invoice UUID must be a valid UUID." }),
10159
- IsNotEmpty118({ message: "Invoice UUID is required." })
10531
+ IsNotEmpty119({ message: "Invoice UUID is required." })
10160
10532
  ], DebitCommissionFteHiringDto.prototype, "invoiceUuid", 2);
10161
10533
 
10162
10534
  // src/adapters/tcp/user.tcp.adapter.ts
@@ -11426,7 +11798,6 @@ export {
11426
11798
  ModeOfWork,
11427
11799
  NOTIFICATION_PATTERN,
11428
11800
  NatureOfWork,
11429
- NatureOfWorkDto2 as NatureOfWorkDto,
11430
11801
  NewCandidateDto2 as NewCandidateDto,
11431
11802
  NotificationRMQAdapter,
11432
11803
  NotificationTCPAdapter,
@@ -11534,6 +11905,7 @@ export {
11534
11905
  UpdateClientHiringModeEnum,
11535
11906
  UpdateClientHiringTypeEnum,
11536
11907
  UpdateCmsDto,
11908
+ UpdateCmsStatusDto,
11537
11909
  UpdateCompanyMemberDto,
11538
11910
  UpdateCompanyProfileDto,
11539
11911
  UpdateCompanyRoleDto,