@experts_hub/shared 1.0.711 → 1.0.713

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
@@ -751,9 +751,21 @@ import {
751
751
  IsUUID as IsUUID11,
752
752
  IsString as IsString11,
753
753
  IsNotEmpty as IsNotEmpty27,
754
- IsIn,
755
- IsOptional as IsOptional11
754
+ IsOptional as IsOptional11,
755
+ IsUrl,
756
+ IsEnum as IsEnum12
756
757
  } from "class-validator";
758
+ var ModeOfWorkEnum = /* @__PURE__ */ ((ModeOfWorkEnum4) => {
759
+ ModeOfWorkEnum4["ONSITE"] = "ONSITE";
760
+ ModeOfWorkEnum4["REMOTE"] = "REMOTE";
761
+ ModeOfWorkEnum4["HYBRID"] = "HYBRID";
762
+ ModeOfWorkEnum4["BOTH"] = "BOTH";
763
+ return ModeOfWorkEnum4;
764
+ })(ModeOfWorkEnum || {});
765
+ var NatureOfWorkEnum = /* @__PURE__ */ ((NatureOfWorkEnum4) => {
766
+ NatureOfWorkEnum4["FREELANCE"] = "FREELANCE";
767
+ return NatureOfWorkEnum4;
768
+ })(NatureOfWorkEnum || {});
757
769
  var FreelancerProfileQuestionDto = class {
758
770
  };
759
771
  __decorateClass([
@@ -761,34 +773,88 @@ __decorateClass([
761
773
  IsUUID11()
762
774
  ], FreelancerProfileQuestionDto.prototype, "uuid", 2);
763
775
  __decorateClass([
764
- IsNotEmpty27({ message: "Please enter question slug." }),
765
- IsString11(),
766
- IsIn([
767
- "natureOfWork",
768
- "expectedHourlyCompensation",
769
- "modeOfWork",
770
- "availabilityToJoin",
771
- "isImmediateJoiner"
772
- ])
773
- ], FreelancerProfileQuestionDto.prototype, "question_slug", 2);
776
+ IsNotEmpty27({ message: "Please enter mode of work." }),
777
+ IsEnum12(ModeOfWorkEnum, {
778
+ message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum).join(
779
+ ", "
780
+ )}`
781
+ })
782
+ ], FreelancerProfileQuestionDto.prototype, "modeOfWork", 2);
774
783
  __decorateClass([
775
- IsNotEmpty27({ message: "Please enter answer." })
776
- ], FreelancerProfileQuestionDto.prototype, "answer", 2);
784
+ IsNotEmpty27({ message: "Please enter nature of work." }),
785
+ IsEnum12(NatureOfWorkEnum, {
786
+ message: `Nature of work must be one of: ${Object.values(NatureOfWorkEnum).join(
787
+ ", "
788
+ )}`
789
+ })
790
+ ], FreelancerProfileQuestionDto.prototype, "natureOfWork", 2);
777
791
  __decorateClass([
778
- IsOptional11()
792
+ IsNotEmpty27({ message: "Please enter number of hours." })
779
793
  ], FreelancerProfileQuestionDto.prototype, "numberOfHours", 2);
794
+ __decorateClass([
795
+ IsNotEmpty27({ message: "Please enter is immediate joiner." })
796
+ ], FreelancerProfileQuestionDto.prototype, "isImmediateJoiner", 2);
780
797
  __decorateClass([
781
798
  IsOptional11()
799
+ ], FreelancerProfileQuestionDto.prototype, "availabilityToJoin", 2);
800
+ __decorateClass([
801
+ IsNotEmpty27({ message: "Please enter currency." })
782
802
  ], FreelancerProfileQuestionDto.prototype, "currency", 2);
783
803
  __decorateClass([
784
- IsOptional11()
785
- ], FreelancerProfileQuestionDto.prototype, "ctc", 2);
804
+ IsNotEmpty27({ message: "Please enter expected hourly compensation." })
805
+ ], FreelancerProfileQuestionDto.prototype, "expectedHourlyCompensation", 2);
806
+ __decorateClass([
807
+ IsNotEmpty27({ message: "Please enter likedin profile url." }),
808
+ IsString11(),
809
+ IsUrl(
810
+ { require_protocol: false },
811
+ {
812
+ message: "linkedinProfileLink must be a valid URL with protocol (e.g. https://)"
813
+ }
814
+ )
815
+ ], FreelancerProfileQuestionDto.prototype, "linkedinProfileLink", 2);
816
+ __decorateClass([
817
+ IsOptional11(),
818
+ IsUrl(
819
+ { require_protocol: false },
820
+ {
821
+ message: "kaggleProfileLink must be a valid URL with protocol (e.g. https://)"
822
+ }
823
+ )
824
+ ], FreelancerProfileQuestionDto.prototype, "kaggleProfileLink", 2);
825
+ __decorateClass([
826
+ IsOptional11(),
827
+ IsUrl(
828
+ { require_protocol: false },
829
+ {
830
+ message: "githubProfileLink must be a valid URL with protocol (e.g. https://)"
831
+ }
832
+ )
833
+ ], FreelancerProfileQuestionDto.prototype, "githubProfileLink", 2);
834
+ __decorateClass([
835
+ IsOptional11(),
836
+ IsUrl(
837
+ { require_protocol: false },
838
+ {
839
+ message: "stackOverflowProfileLink must be a valid URL with protocol (e.g. https://)"
840
+ }
841
+ )
842
+ ], FreelancerProfileQuestionDto.prototype, "stackOverflowProfileLink", 2);
843
+ __decorateClass([
844
+ IsOptional11(),
845
+ IsUrl(
846
+ { require_protocol: false },
847
+ {
848
+ message: "portfolioLink must be a valid URL with protocol (e.g. https://)"
849
+ }
850
+ )
851
+ ], FreelancerProfileQuestionDto.prototype, "portfolioLink", 2);
786
852
 
787
853
  // src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
788
854
  import {
789
855
  IsNotEmpty as IsNotEmpty28,
790
856
  IsOptional as IsOptional12,
791
- IsUrl,
857
+ IsUrl as IsUrl2,
792
858
  IsString as IsString12,
793
859
  IsUUID as IsUUID12
794
860
  } from "class-validator";
@@ -801,7 +867,7 @@ __decorateClass([
801
867
  __decorateClass([
802
868
  IsNotEmpty28({ message: "Please enter likedin profile url." }),
803
869
  IsString12(),
804
- IsUrl(
870
+ IsUrl2(
805
871
  { require_protocol: false },
806
872
  {
807
873
  message: "linkedinProfileLink must be a valid URL with protocol (e.g. https://)"
@@ -810,7 +876,7 @@ __decorateClass([
810
876
  ], FreelancerWorkShowcaseDto.prototype, "linkedinProfileLink", 2);
811
877
  __decorateClass([
812
878
  IsOptional12(),
813
- IsUrl(
879
+ IsUrl2(
814
880
  { require_protocol: false },
815
881
  {
816
882
  message: "kaggleProfileLink must be a valid URL with protocol (e.g. https://)"
@@ -819,7 +885,7 @@ __decorateClass([
819
885
  ], FreelancerWorkShowcaseDto.prototype, "kaggleProfileLink", 2);
820
886
  __decorateClass([
821
887
  IsOptional12(),
822
- IsUrl(
888
+ IsUrl2(
823
889
  { require_protocol: false },
824
890
  {
825
891
  message: "githubProfileLink must be a valid URL with protocol (e.g. https://)"
@@ -828,7 +894,7 @@ __decorateClass([
828
894
  ], FreelancerWorkShowcaseDto.prototype, "githubProfileLink", 2);
829
895
  __decorateClass([
830
896
  IsOptional12(),
831
- IsUrl(
897
+ IsUrl2(
832
898
  { require_protocol: false },
833
899
  {
834
900
  message: "stackOverflowProfileLink must be a valid URL with protocol (e.g. https://)"
@@ -837,7 +903,7 @@ __decorateClass([
837
903
  ], FreelancerWorkShowcaseDto.prototype, "stackOverflowProfileLink", 2);
838
904
  __decorateClass([
839
905
  IsOptional12(),
840
- IsUrl(
906
+ IsUrl2(
841
907
  { require_protocol: false },
842
908
  {
843
909
  message: "portfolioLink must be a valid URL with protocol (e.g. https://)"
@@ -850,7 +916,7 @@ import {
850
916
  IsUUID as IsUUID13,
851
917
  IsString as IsString13,
852
918
  IsNotEmpty as IsNotEmpty29,
853
- IsIn as IsIn2,
919
+ IsIn,
854
920
  ValidateIf,
855
921
  IsOptional as IsOptional13
856
922
  } from "class-validator";
@@ -863,7 +929,7 @@ __decorateClass([
863
929
  __decorateClass([
864
930
  IsNotEmpty29({ message: "Please enter question slug." }),
865
931
  IsString13(),
866
- IsIn2([
932
+ IsIn([
867
933
  "skills",
868
934
  "requiredFreelancer",
869
935
  "kindOfHiring",
@@ -952,7 +1018,7 @@ var SUBADMIN_PATTERN = {
952
1018
  // src/modules/user/subadmin/dto/create-subadmin.dto.ts
953
1019
  import {
954
1020
  IsNotEmpty as IsNotEmpty32,
955
- IsEnum as IsEnum12
1021
+ IsEnum as IsEnum13
956
1022
  } from "class-validator";
957
1023
  var AccountType = /* @__PURE__ */ ((AccountType4) => {
958
1024
  AccountType4["ADMIN"] = "ADMIN";
@@ -972,7 +1038,7 @@ __decorateClass([
972
1038
  ], CreateSubAdminDto.prototype, "lastName", 2);
973
1039
  __decorateClass([
974
1040
  IsNotEmpty32({ message: "Please enter account type." }),
975
- IsEnum12(AccountType, {
1041
+ IsEnum13(AccountType, {
976
1042
  message: `Account type must be one of: ${Object.values(AccountType).join(", ")}`
977
1043
  })
978
1044
  ], CreateSubAdminDto.prototype, "accountType", 2);
@@ -993,7 +1059,7 @@ __decorateClass([
993
1059
  ], CreateSubAdminDto.prototype, "roleIds", 2);
994
1060
 
995
1061
  // src/modules/user/subadmin/dto/update-subadmin-account-status.dto.ts
996
- import { IsEnum as IsEnum13 } from "class-validator";
1062
+ import { IsEnum as IsEnum14 } from "class-validator";
997
1063
 
998
1064
  // src/entities/user.entity.ts
999
1065
  import {
@@ -4849,6 +4915,9 @@ __decorateClass([
4849
4915
  __decorateClass([
4850
4916
  Column43({ name: "is_contract_signed", type: "boolean", default: false })
4851
4917
  ], Job.prototype, "isContractSigned", 2);
4918
+ __decorateClass([
4919
+ Column43({ name: "is_job_created_as_is", type: "boolean", default: false })
4920
+ ], Job.prototype, "isJobCreatedAsIs", 2);
4852
4921
  __decorateClass([
4853
4922
  Column43({ name: "is_interview_created", type: "boolean", default: false })
4854
4923
  ], Job.prototype, "isInterviewCreated", 2);
@@ -6964,14 +7033,14 @@ User = __decorateClass([
6964
7033
  var UpdateSubAdminAccountStatusDto = class {
6965
7034
  };
6966
7035
  __decorateClass([
6967
- IsEnum13(AccountStatus, {
7036
+ IsEnum14(AccountStatus, {
6968
7037
  message: `accountStatus must be one of: ${Object.values(AccountStatus).join(", ")}`
6969
7038
  })
6970
7039
  ], UpdateSubAdminAccountStatusDto.prototype, "accountStatus", 2);
6971
7040
 
6972
7041
  // src/modules/user/subadmin/dto/update-subadmin.dto.ts
6973
7042
  import { Transform } from "class-transformer";
6974
- import { IsNotEmpty as IsNotEmpty33, IsOptional as IsOptional15, Matches as Matches5, MaxLength as MaxLength5, MinLength as MinLength6, IsEnum as IsEnum14 } from "class-validator";
7043
+ import { IsNotEmpty as IsNotEmpty33, IsOptional as IsOptional15, Matches as Matches5, MaxLength as MaxLength5, MinLength as MinLength6, IsEnum as IsEnum15 } from "class-validator";
6975
7044
  var AccountType3 = /* @__PURE__ */ ((AccountType4) => {
6976
7045
  AccountType4["ADMIN"] = "ADMIN";
6977
7046
  AccountType4["SUB_ADMIN"] = "SUB_ADMIN";
@@ -6990,7 +7059,7 @@ __decorateClass([
6990
7059
  ], UpdateSubAdminDto.prototype, "lastName", 2);
6991
7060
  __decorateClass([
6992
7061
  IsNotEmpty33({ message: "Please enter account type." }),
6993
- IsEnum14(AccountType3, {
7062
+ IsEnum15(AccountType3, {
6994
7063
  message: `Account type must be one of: ${Object.values(AccountType3).join(", ")}`
6995
7064
  })
6996
7065
  ], UpdateSubAdminDto.prototype, "accountType", 2);
@@ -7049,7 +7118,7 @@ import {
7049
7118
  IsNotEmpty as IsNotEmpty34,
7050
7119
  IsEmail as IsEmail6,
7051
7120
  Length as Length2,
7052
- IsUrl as IsUrl2,
7121
+ IsUrl as IsUrl3,
7053
7122
  IsOptional as IsOptional16,
7054
7123
  ValidateIf as ValidateIf2,
7055
7124
  IsNumber
@@ -7066,7 +7135,7 @@ __decorateClass([
7066
7135
  __decorateClass([
7067
7136
  IsOptional16(),
7068
7137
  ValidateIf2((o) => o.webSite !== ""),
7069
- IsUrl2({}, { message: "Invalid website URL format" })
7138
+ IsUrl3({}, { message: "Invalid website URL format" })
7070
7139
  ], UpdateCompanyProfileDto.prototype, "webSite", 2);
7071
7140
  __decorateClass([
7072
7141
  IsOptional16(),
@@ -7347,7 +7416,7 @@ import {
7347
7416
  ArrayNotEmpty,
7348
7417
  IsNumber as IsNumber3,
7349
7418
  IsOptional as IsOptional21,
7350
- IsEnum as IsEnum15,
7419
+ IsEnum as IsEnum16,
7351
7420
  Min,
7352
7421
  ValidateIf as ValidateIf3,
7353
7422
  MaxLength as MaxLength6,
@@ -7416,7 +7485,7 @@ __decorateClass([
7416
7485
  ], JobBasicInformationDto.prototype, "openings", 2);
7417
7486
  __decorateClass([
7418
7487
  ValidateIf3((o) => !o.isDraft),
7419
- IsEnum15(JobLocationEnum2, {
7488
+ IsEnum16(JobLocationEnum2, {
7420
7489
  message: `Location must be one of: ${Object.values(JobLocationEnum2).join(
7421
7490
  ", "
7422
7491
  )}`
@@ -7439,7 +7508,7 @@ __decorateClass([
7439
7508
  ], JobBasicInformationDto.prototype, "cityId", 2);
7440
7509
  __decorateClass([
7441
7510
  ValidateIf3((o) => !o.isDraft),
7442
- IsEnum15(EmploymentType, {
7511
+ IsEnum16(EmploymentType, {
7443
7512
  message: `Type of employment must be one of: ${Object.values(
7444
7513
  EmploymentType
7445
7514
  ).join(", ")}`
@@ -7546,7 +7615,7 @@ import {
7546
7615
  ArrayNotEmpty as ArrayNotEmpty2,
7547
7616
  IsNumber as IsNumber4,
7548
7617
  IsOptional as IsOptional24,
7549
- IsEnum as IsEnum16,
7618
+ IsEnum as IsEnum17,
7550
7619
  Min as Min2,
7551
7620
  ValidateIf as ValidateIf4,
7552
7621
  MaxLength as MaxLength9,
@@ -7658,7 +7727,7 @@ __decorateClass([
7658
7727
  ], CreateJobViaAIDto.prototype, "openings", 2);
7659
7728
  __decorateClass([
7660
7729
  ValidateIf4((o) => !o.isDraft),
7661
- IsEnum16(JobLocationEnumV2, {
7730
+ IsEnum17(JobLocationEnumV2, {
7662
7731
  message: `Location must be one of: ${Object.values(JobLocationEnumV2).join(
7663
7732
  ", "
7664
7733
  )}`
@@ -7670,7 +7739,7 @@ __decorateClass([
7670
7739
  ], CreateJobViaAIDto.prototype, "locations", 2);
7671
7740
  __decorateClass([
7672
7741
  ValidateIf4((o) => !o.isDraft),
7673
- IsEnum16(EmploymentTypeV2, {
7742
+ IsEnum17(EmploymentTypeV2, {
7674
7743
  message: `Type of employment must be one of: ${Object.values(
7675
7744
  EmploymentTypeV2
7676
7745
  ).join(", ")}`
@@ -7678,7 +7747,7 @@ __decorateClass([
7678
7747
  ], CreateJobViaAIDto.prototype, "typeOfEmployment", 2);
7679
7748
  __decorateClass([
7680
7749
  IsOptional24(),
7681
- IsEnum16(BillingCycleEnumV2, {
7750
+ IsEnum17(BillingCycleEnumV2, {
7682
7751
  message: `Billing cycle must be one of: ${Object.values(BillingCycleEnumV2).join(", ")}`
7683
7752
  })
7684
7753
  ], CreateJobViaAIDto.prototype, "billingCycle", 2);
@@ -7766,7 +7835,7 @@ __decorateClass([
7766
7835
  ], CreateJobViaAIDto.prototype, "businessIndustry", 2);
7767
7836
  __decorateClass([
7768
7837
  IsOptional24(),
7769
- IsEnum16(StepCompletedEnumV2, {
7838
+ IsEnum17(StepCompletedEnumV2, {
7770
7839
  message: `Type of stepCompleted must be one of: ${Object.values(
7771
7840
  StepCompletedEnumV2
7772
7841
  ).join(", ")}`
@@ -7787,7 +7856,7 @@ __decorateClass([
7787
7856
  ], CreateJobViaAIDto.prototype, "dealBreakers", 2);
7788
7857
 
7789
7858
  // src/modules/job/dto/job-status.dto.ts
7790
- import { IsEnum as IsEnum17, IsNotEmpty as IsNotEmpty46 } from "class-validator";
7859
+ import { IsEnum as IsEnum18, IsNotEmpty as IsNotEmpty46 } from "class-validator";
7791
7860
  var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
7792
7861
  JobStatus2["ACTIVE"] = "ACTIVE";
7793
7862
  JobStatus2["OPEN"] = "OPEN";
@@ -7801,7 +7870,7 @@ var JobStatusDto = class {
7801
7870
  };
7802
7871
  __decorateClass([
7803
7872
  IsNotEmpty46({ message: "Please provide a job status" }),
7804
- IsEnum17(JobStatus, {
7873
+ IsEnum18(JobStatus, {
7805
7874
  message: `Status must be one of: ${Object.values(JobStatus).join(", ")}`
7806
7875
  })
7807
7876
  ], JobStatusDto.prototype, "status", 2);
@@ -7824,7 +7893,7 @@ import {
7824
7893
  ArrayNotEmpty as ArrayNotEmpty3,
7825
7894
  IsNumber as IsNumber5,
7826
7895
  IsOptional as IsOptional25,
7827
- IsEnum as IsEnum18,
7896
+ IsEnum as IsEnum19,
7828
7897
  Min as Min3,
7829
7898
  ValidateIf as ValidateIf5,
7830
7899
  MaxLength as MaxLength10,
@@ -7932,7 +8001,7 @@ __decorateClass([
7932
8001
  ], JobBasicInformationV2Dto.prototype, "openings", 2);
7933
8002
  __decorateClass([
7934
8003
  ValidateIf5((o) => !o.isDraft),
7935
- IsEnum18(JobLocationEnumV22, {
8004
+ IsEnum19(JobLocationEnumV22, {
7936
8005
  message: `Location must be one of: ${Object.values(JobLocationEnumV22).join(
7937
8006
  ", "
7938
8007
  )}`
@@ -7944,7 +8013,7 @@ __decorateClass([
7944
8013
  ], JobBasicInformationV2Dto.prototype, "locations", 2);
7945
8014
  __decorateClass([
7946
8015
  ValidateIf5((o) => !o.isDraft),
7947
- IsEnum18(EmploymentTypeV22, {
8016
+ IsEnum19(EmploymentTypeV22, {
7948
8017
  message: `Type of employment must be one of: ${Object.values(
7949
8018
  EmploymentTypeV22
7950
8019
  ).join(", ")}`
@@ -7952,7 +8021,7 @@ __decorateClass([
7952
8021
  ], JobBasicInformationV2Dto.prototype, "typeOfEmployment", 2);
7953
8022
  __decorateClass([
7954
8023
  IsOptional25(),
7955
- IsEnum18(BillingCycleEnumV22, {
8024
+ IsEnum19(BillingCycleEnumV22, {
7956
8025
  message: `Billing cycle must be one of: ${Object.values(BillingCycleEnumV22).join(", ")}`
7957
8026
  })
7958
8027
  ], JobBasicInformationV2Dto.prototype, "billingCycle", 2);
@@ -8040,7 +8109,7 @@ __decorateClass([
8040
8109
  ], JobBasicInformationV2Dto.prototype, "businessIndustry", 2);
8041
8110
  __decorateClass([
8042
8111
  IsOptional25(),
8043
- IsEnum18(StepCompletedEnumV22, {
8112
+ IsEnum19(StepCompletedEnumV22, {
8044
8113
  message: `Type of stepCompleted must be one of: ${Object.values(
8045
8114
  StepCompletedEnumV22
8046
8115
  ).join(", ")}`
@@ -8078,7 +8147,7 @@ __decorateClass([
8078
8147
  ], CreateJobApplicationDto.prototype, "isCta", 2);
8079
8148
 
8080
8149
  // src/modules/job/dto/change-job-application-status.dto.ts
8081
- import { IsEnum as IsEnum19, IsNotEmpty as IsNotEmpty49 } from "class-validator";
8150
+ import { IsEnum as IsEnum20, IsNotEmpty as IsNotEmpty49 } from "class-validator";
8082
8151
  var JobApplicationStatus = /* @__PURE__ */ ((JobApplicationStatus2) => {
8083
8152
  JobApplicationStatus2["PENDING"] = "PENDING";
8084
8153
  JobApplicationStatus2["SHORTLISTED"] = "SHORTLISTED";
@@ -8091,13 +8160,13 @@ var ChangeJobApplicationStatusDto = class {
8091
8160
  };
8092
8161
  __decorateClass([
8093
8162
  IsNotEmpty49({ message: "Status is required" }),
8094
- IsEnum19(JobApplicationStatus, {
8163
+ IsEnum20(JobApplicationStatus, {
8095
8164
  message: `Status must be one of: ${Object.values(JobApplicationStatus).join(", ")}`
8096
8165
  })
8097
8166
  ], ChangeJobApplicationStatusDto.prototype, "status", 2);
8098
8167
 
8099
8168
  // src/modules/job/dto/change-job-application-status-bulk.dto.ts
8100
- import { ArrayNotEmpty as ArrayNotEmpty4, IsArray as IsArray5, IsEnum as IsEnum20, IsNotEmpty as IsNotEmpty50, IsNumber as IsNumber6 } from "class-validator";
8169
+ import { ArrayNotEmpty as ArrayNotEmpty4, IsArray as IsArray5, IsEnum as IsEnum21, IsNotEmpty as IsNotEmpty50, IsNumber as IsNumber6 } from "class-validator";
8101
8170
  var ChangeJobApplicationStatusBulkDto = class {
8102
8171
  };
8103
8172
  __decorateClass([
@@ -8107,7 +8176,7 @@ __decorateClass([
8107
8176
  ], ChangeJobApplicationStatusBulkDto.prototype, "jobApplicationIds", 2);
8108
8177
  __decorateClass([
8109
8178
  IsNotEmpty50({ message: "Status is required" }),
8110
- IsEnum20(JobApplicationStatus, {
8179
+ IsEnum21(JobApplicationStatus, {
8111
8180
  message: `Status must be one of: ${Object.values(JobApplicationStatus).join(", ")}`
8112
8181
  })
8113
8182
  ], ChangeJobApplicationStatusBulkDto.prototype, "status", 2);
@@ -8186,7 +8255,7 @@ import {
8186
8255
  IsString as IsString30,
8187
8256
  IsEmail as IsEmail7,
8188
8257
  IsNumber as IsNumber7,
8189
- IsEnum as IsEnum21,
8258
+ IsEnum as IsEnum22,
8190
8259
  IsNotEmpty as IsNotEmpty52,
8191
8260
  ValidateIf as ValidateIf6,
8192
8261
  IsInt
@@ -8262,7 +8331,7 @@ __decorateClass([
8262
8331
  ], UpdateFreelancerProfileDto.prototype, "numberOfHours", 2);
8263
8332
  __decorateClass([
8264
8333
  IsNotEmpty52({ message: "Please select engagement type." }),
8265
- IsEnum21(NatureOfWorkDto, {
8334
+ IsEnum22(NatureOfWorkDto, {
8266
8335
  message: `Engagement Type must be one of: ${Object.values(
8267
8336
  NatureOfWorkDto
8268
8337
  ).join(", ")}`
@@ -8270,7 +8339,7 @@ __decorateClass([
8270
8339
  ], UpdateFreelancerProfileDto.prototype, "natureOfWork", 2);
8271
8340
  __decorateClass([
8272
8341
  IsNotEmpty52({ message: "Please select mode of work." }),
8273
- IsEnum21(ModeOfWorkDto, {
8342
+ IsEnum22(ModeOfWorkDto, {
8274
8343
  message: `Mode of work must be one of: ${Object.values(ModeOfWorkDto).join(
8275
8344
  ", "
8276
8345
  )}`
@@ -8409,7 +8478,7 @@ var BANK_PATTERN = {
8409
8478
 
8410
8479
  // src/modules/bank/dto/freelancer-bank-details.dto.ts
8411
8480
  import {
8412
- IsEnum as IsEnum22,
8481
+ IsEnum as IsEnum23,
8413
8482
  IsNotEmpty as IsNotEmpty58,
8414
8483
  IsOptional as IsOptional30,
8415
8484
  IsString as IsString34,
@@ -8467,7 +8536,7 @@ __decorateClass([
8467
8536
  IsOptional30()
8468
8537
  ], FreelancerBankDetailsDto.prototype, "accountType", 2);
8469
8538
  __decorateClass([
8470
- IsEnum22(BankAccountScope, {
8539
+ IsEnum23(BankAccountScope, {
8471
8540
  message: `Type of Account Scope must be one of: ${Object.values(
8472
8541
  BankAccountScope
8473
8542
  ).join(", ")}`
@@ -8489,7 +8558,7 @@ var SYSTEM_PREFERENCES_PATTERN = {
8489
8558
  // src/modules/system-preference/dto/system-preference.dto.ts
8490
8559
  import {
8491
8560
  IsBoolean as IsBoolean4,
8492
- IsEnum as IsEnum23
8561
+ IsEnum as IsEnum24
8493
8562
  } from "class-validator";
8494
8563
  var SystemPreferenceKey = /* @__PURE__ */ ((SystemPreferenceKey2) => {
8495
8564
  SystemPreferenceKey2["EMAIL_NOTIFICATION"] = "EMAIL_NOTIFICATION";
@@ -8502,7 +8571,7 @@ __decorateClass([
8502
8571
  IsBoolean4()
8503
8572
  ], SystemPreferenceDto.prototype, "value", 2);
8504
8573
  __decorateClass([
8505
- IsEnum23(SystemPreferenceKey, {
8574
+ IsEnum24(SystemPreferenceKey, {
8506
8575
  message: `key must be one of: ${Object.values(
8507
8576
  SystemPreferenceKey
8508
8577
  ).join(", ")}`
@@ -8629,7 +8698,7 @@ var RATING_PATTERN = {
8629
8698
 
8630
8699
  // src/modules/rating/dto/add.rating.dto.ts
8631
8700
  import {
8632
- IsEnum as IsEnum24,
8701
+ IsEnum as IsEnum25,
8633
8702
  IsInt as IsInt2,
8634
8703
  IsNotEmpty as IsNotEmpty61,
8635
8704
  IsOptional as IsOptional32,
@@ -8653,7 +8722,7 @@ __decorateClass([
8653
8722
  IsNotEmpty61({ message: "Job ID is required" })
8654
8723
  ], CreateRatingDto.prototype, "jobId", 2);
8655
8724
  __decorateClass([
8656
- IsEnum24(RatingTypeEnum, {
8725
+ IsEnum25(RatingTypeEnum, {
8657
8726
  message: `Rating type must be one of: ${Object.values(RatingTypeEnum).join(", ")}`
8658
8727
  })
8659
8728
  ], CreateRatingDto.prototype, "ratingType", 2);
@@ -9082,9 +9151,9 @@ import {
9082
9151
  IsEmail as IsEmail13,
9083
9152
  IsBoolean as IsBoolean11,
9084
9153
  IsOptional as IsOptional41,
9085
- IsEnum as IsEnum25,
9154
+ IsEnum as IsEnum26,
9086
9155
  IsNumber as IsNumber10,
9087
- IsUrl as IsUrl3,
9156
+ IsUrl as IsUrl4,
9088
9157
  MaxLength as MaxLength18,
9089
9158
  MinLength as MinLength17,
9090
9159
  Matches as Matches13,
@@ -9093,18 +9162,18 @@ import {
9093
9162
  IsInt as IsInt7
9094
9163
  } from "class-validator";
9095
9164
  import { Transform as Transform2 } from "class-transformer";
9096
- var NatureOfWorkEnum = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
9097
- NatureOfWorkEnum3["FTE"] = "FTE";
9098
- NatureOfWorkEnum3["FREELANCE"] = "FREELANCE";
9099
- NatureOfWorkEnum3["BOTH"] = "BOTH";
9100
- return NatureOfWorkEnum3;
9101
- })(NatureOfWorkEnum || {});
9102
- var ModeOfWorkEnum = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
9103
- ModeOfWorkEnum3["REMOTE"] = "REMOTE";
9104
- ModeOfWorkEnum3["ONSITE"] = "ONSITE";
9105
- ModeOfWorkEnum3["HYBRID"] = "HYBRID";
9106
- return ModeOfWorkEnum3;
9107
- })(ModeOfWorkEnum || {});
9165
+ var NatureOfWorkEnum2 = /* @__PURE__ */ ((NatureOfWorkEnum4) => {
9166
+ NatureOfWorkEnum4["FTE"] = "FTE";
9167
+ NatureOfWorkEnum4["FREELANCE"] = "FREELANCE";
9168
+ NatureOfWorkEnum4["BOTH"] = "BOTH";
9169
+ return NatureOfWorkEnum4;
9170
+ })(NatureOfWorkEnum2 || {});
9171
+ var ModeOfWorkEnum2 = /* @__PURE__ */ ((ModeOfWorkEnum4) => {
9172
+ ModeOfWorkEnum4["REMOTE"] = "REMOTE";
9173
+ ModeOfWorkEnum4["ONSITE"] = "ONSITE";
9174
+ ModeOfWorkEnum4["HYBRID"] = "HYBRID";
9175
+ return ModeOfWorkEnum4;
9176
+ })(ModeOfWorkEnum2 || {});
9108
9177
  var CreateFreelancerDto = class {
9109
9178
  };
9110
9179
  __decorateClass([
@@ -9274,9 +9343,9 @@ __decorateClass([
9274
9343
  ], CreateFreelancerDto.prototype, "developer", 2);
9275
9344
  __decorateClass([
9276
9345
  IsOptional41(),
9277
- IsEnum25(NatureOfWorkEnum, {
9346
+ IsEnum26(NatureOfWorkEnum2, {
9278
9347
  message: `Nature of work must be one of: ${Object.values(
9279
- NatureOfWorkEnum
9348
+ NatureOfWorkEnum2
9280
9349
  ).join(", ")}`
9281
9350
  })
9282
9351
  ], CreateFreelancerDto.prototype, "natureOfWork", 2);
@@ -9318,8 +9387,8 @@ __decorateClass([
9318
9387
  ], CreateFreelancerDto.prototype, "numberOfHours", 2);
9319
9388
  __decorateClass([
9320
9389
  IsOptional41(),
9321
- IsEnum25(ModeOfWorkEnum, {
9322
- message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum).join(
9390
+ IsEnum26(ModeOfWorkEnum2, {
9391
+ message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum2).join(
9323
9392
  ", "
9324
9393
  )}`
9325
9394
  })
@@ -9350,7 +9419,7 @@ __decorateClass([
9350
9419
  ], CreateFreelancerDto.prototype, "availabilityToJoin", 2);
9351
9420
  __decorateClass([
9352
9421
  IsOptional41(),
9353
- IsUrl3({}, { message: "LinkedIn profile link must be a valid URL" }),
9422
+ IsUrl4({}, { message: "LinkedIn profile link must be a valid URL" }),
9354
9423
  Transform2(({ value }) => {
9355
9424
  if (Array.isArray(value)) {
9356
9425
  const val = value[0];
@@ -9376,7 +9445,7 @@ __decorateClass([
9376
9445
  ], CreateFreelancerDto.prototype, "kaggleProfileLink", 2);
9377
9446
  __decorateClass([
9378
9447
  IsOptional41(),
9379
- IsUrl3({}, { message: "GitHub profile link must be a valid URL" }),
9448
+ IsUrl4({}, { message: "GitHub profile link must be a valid URL" }),
9380
9449
  Transform2(({ value }) => {
9381
9450
  if (Array.isArray(value)) {
9382
9451
  const val = value[0];
@@ -9389,7 +9458,7 @@ __decorateClass([
9389
9458
  ], CreateFreelancerDto.prototype, "githubProfileLink", 2);
9390
9459
  __decorateClass([
9391
9460
  IsOptional41(),
9392
- IsUrl3({}, { message: "StackOverflow profile link must be a valid URL" }),
9461
+ IsUrl4({}, { message: "StackOverflow profile link must be a valid URL" }),
9393
9462
  Transform2(({ value }) => {
9394
9463
  if (Array.isArray(value)) {
9395
9464
  const val = value[0];
@@ -9402,7 +9471,7 @@ __decorateClass([
9402
9471
  ], CreateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
9403
9472
  __decorateClass([
9404
9473
  IsOptional41(),
9405
- IsUrl3({}, { message: "Portfolio link must be a valid URL" }),
9474
+ IsUrl4({}, { message: "Portfolio link must be a valid URL" }),
9406
9475
  Transform2(({ value }) => {
9407
9476
  if (Array.isArray(value)) {
9408
9477
  const val = value[0];
@@ -9423,9 +9492,9 @@ import {
9423
9492
  IsEmail as IsEmail14,
9424
9493
  IsBoolean as IsBoolean12,
9425
9494
  IsOptional as IsOptional42,
9426
- IsEnum as IsEnum26,
9495
+ IsEnum as IsEnum27,
9427
9496
  IsNumber as IsNumber11,
9428
- IsUrl as IsUrl4,
9497
+ IsUrl as IsUrl5,
9429
9498
  MaxLength as MaxLength19,
9430
9499
  MinLength as MinLength18,
9431
9500
  Matches as Matches14,
@@ -9434,18 +9503,18 @@ import {
9434
9503
  IsInt as IsInt8
9435
9504
  } from "class-validator";
9436
9505
  import { Transform as Transform3 } from "class-transformer";
9437
- var NatureOfWorkEnum2 = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
9438
- NatureOfWorkEnum3["FTE"] = "FTE";
9439
- NatureOfWorkEnum3["FREELANCE"] = "FREELANCE";
9440
- NatureOfWorkEnum3["BOTH"] = "BOTH";
9441
- return NatureOfWorkEnum3;
9442
- })(NatureOfWorkEnum2 || {});
9443
- var ModeOfWorkEnum2 = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
9444
- ModeOfWorkEnum3["REMOTE"] = "REMOTE";
9445
- ModeOfWorkEnum3["ONSITE"] = "ONSITE";
9446
- ModeOfWorkEnum3["HYBRID"] = "HYBRID";
9447
- return ModeOfWorkEnum3;
9448
- })(ModeOfWorkEnum2 || {});
9506
+ var NatureOfWorkEnum3 = /* @__PURE__ */ ((NatureOfWorkEnum4) => {
9507
+ NatureOfWorkEnum4["FTE"] = "FTE";
9508
+ NatureOfWorkEnum4["FREELANCE"] = "FREELANCE";
9509
+ NatureOfWorkEnum4["BOTH"] = "BOTH";
9510
+ return NatureOfWorkEnum4;
9511
+ })(NatureOfWorkEnum3 || {});
9512
+ var ModeOfWorkEnum3 = /* @__PURE__ */ ((ModeOfWorkEnum4) => {
9513
+ ModeOfWorkEnum4["REMOTE"] = "REMOTE";
9514
+ ModeOfWorkEnum4["ONSITE"] = "ONSITE";
9515
+ ModeOfWorkEnum4["HYBRID"] = "HYBRID";
9516
+ return ModeOfWorkEnum4;
9517
+ })(ModeOfWorkEnum3 || {});
9449
9518
  var UpdateFreelancerDto = class {
9450
9519
  };
9451
9520
  __decorateClass([
@@ -9604,9 +9673,9 @@ __decorateClass([
9604
9673
  ], UpdateFreelancerDto.prototype, "developer", 2);
9605
9674
  __decorateClass([
9606
9675
  IsOptional42(),
9607
- IsEnum26(NatureOfWorkEnum2, {
9676
+ IsEnum27(NatureOfWorkEnum3, {
9608
9677
  message: `Nature of work must be one of: ${Object.values(
9609
- NatureOfWorkEnum2
9678
+ NatureOfWorkEnum3
9610
9679
  ).join(", ")}`
9611
9680
  })
9612
9681
  ], UpdateFreelancerDto.prototype, "natureOfWork", 2);
@@ -9648,8 +9717,8 @@ __decorateClass([
9648
9717
  ], UpdateFreelancerDto.prototype, "numberOfHours", 2);
9649
9718
  __decorateClass([
9650
9719
  IsOptional42(),
9651
- IsEnum26(ModeOfWorkEnum2, {
9652
- message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum2).join(
9720
+ IsEnum27(ModeOfWorkEnum3, {
9721
+ message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum3).join(
9653
9722
  ", "
9654
9723
  )}`
9655
9724
  })
@@ -9680,7 +9749,7 @@ __decorateClass([
9680
9749
  ], UpdateFreelancerDto.prototype, "availabilityToJoin", 2);
9681
9750
  __decorateClass([
9682
9751
  IsOptional42(),
9683
- IsUrl4({}, { message: "LinkedIn profile link must be a valid URL" }),
9752
+ IsUrl5({}, { message: "LinkedIn profile link must be a valid URL" }),
9684
9753
  Transform3(({ value }) => {
9685
9754
  if (Array.isArray(value)) {
9686
9755
  const val = value[0];
@@ -9706,7 +9775,7 @@ __decorateClass([
9706
9775
  ], UpdateFreelancerDto.prototype, "kaggleProfileLink", 2);
9707
9776
  __decorateClass([
9708
9777
  IsOptional42(),
9709
- IsUrl4({}, { message: "GitHub profile link must be a valid URL" }),
9778
+ IsUrl5({}, { message: "GitHub profile link must be a valid URL" }),
9710
9779
  Transform3(({ value }) => {
9711
9780
  if (Array.isArray(value)) {
9712
9781
  const val = value[0];
@@ -9719,7 +9788,7 @@ __decorateClass([
9719
9788
  ], UpdateFreelancerDto.prototype, "githubProfileLink", 2);
9720
9789
  __decorateClass([
9721
9790
  IsOptional42(),
9722
- IsUrl4({}, { message: "StackOverflow profile link must be a valid URL" }),
9791
+ IsUrl5({}, { message: "StackOverflow profile link must be a valid URL" }),
9723
9792
  Transform3(({ value }) => {
9724
9793
  if (Array.isArray(value)) {
9725
9794
  const val = value[0];
@@ -9732,7 +9801,7 @@ __decorateClass([
9732
9801
  ], UpdateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
9733
9802
  __decorateClass([
9734
9803
  IsOptional42(),
9735
- IsUrl4({}, { message: "Portfolio link must be a valid URL" }),
9804
+ IsUrl5({}, { message: "Portfolio link must be a valid URL" }),
9736
9805
  Transform3(({ value }) => {
9737
9806
  if (Array.isArray(value)) {
9738
9807
  const val = value[0];
@@ -9757,7 +9826,7 @@ __decorateClass([
9757
9826
  ], SendAiAssessmentLinkDto.prototype, "uuid", 2);
9758
9827
 
9759
9828
  // src/modules/freelancer-admin/dto/update-assessment-request-status.dto.ts
9760
- import { IsEnum as IsEnum27, IsOptional as IsOptional43, IsString as IsString49 } from "class-validator";
9829
+ import { IsEnum as IsEnum28, IsOptional as IsOptional43, IsString as IsString49 } from "class-validator";
9761
9830
  var AssessmentRequestStatus = /* @__PURE__ */ ((AssessmentRequestStatus2) => {
9762
9831
  AssessmentRequestStatus2["PENDING"] = "PENDING";
9763
9832
  AssessmentRequestStatus2["APPROVED"] = "APPROVED";
@@ -9768,7 +9837,7 @@ var AssessmentRequestStatus = /* @__PURE__ */ ((AssessmentRequestStatus2) => {
9768
9837
  var UpdateAssessmentRequestStatusDto = class {
9769
9838
  };
9770
9839
  __decorateClass([
9771
- IsEnum27(AssessmentRequestStatus, {
9840
+ IsEnum28(AssessmentRequestStatus, {
9772
9841
  message: `Status must be one of: ${Object.values(AssessmentRequestStatus).join(", ")}`
9773
9842
  })
9774
9843
  ], UpdateAssessmentRequestStatusDto.prototype, "status", 2);
@@ -9792,11 +9861,11 @@ __decorateClass([
9792
9861
  ], AdminExportFreelancerV2OptimisedDto.prototype, "customEmails", 2);
9793
9862
 
9794
9863
  // src/modules/freelancer-admin/dto/update-admin-freelancer-account-status.dto.ts
9795
- import { IsEnum as IsEnum28 } from "class-validator";
9864
+ import { IsEnum as IsEnum29 } from "class-validator";
9796
9865
  var UpdateAdminFreelancerAccountStatusDto = class {
9797
9866
  };
9798
9867
  __decorateClass([
9799
- IsEnum28(AccountStatus, {
9868
+ IsEnum29(AccountStatus, {
9800
9869
  message: `accountStatus must be one of: ${Object.values(AccountStatus).join(", ")}`
9801
9870
  })
9802
9871
  ], UpdateAdminFreelancerAccountStatusDto.prototype, "accountStatus", 2);
@@ -9856,7 +9925,7 @@ import {
9856
9925
  MaxLength as MaxLength20,
9857
9926
  Matches as Matches16,
9858
9927
  IsInt as IsInt9,
9859
- IsUrl as IsUrl5
9928
+ IsUrl as IsUrl6
9860
9929
  } from "class-validator";
9861
9930
  import { Type as Type9 } from "class-transformer";
9862
9931
  var CreateClientDto = class {
@@ -9911,7 +9980,7 @@ __decorateClass([
9911
9980
  ], CreateClientDto.prototype, "about", 2);
9912
9981
  __decorateClass([
9913
9982
  IsOptional45(),
9914
- IsUrl5({}, { message: "Website must be a valid URL." })
9983
+ IsUrl6({}, { message: "Website must be a valid URL." })
9915
9984
  ], CreateClientDto.prototype, "webSite", 2);
9916
9985
  __decorateClass([
9917
9986
  IsOptional45(),
@@ -9947,11 +10016,11 @@ __decorateClass([
9947
10016
  ], CreateClientDto.prototype, "markupPercentage", 2);
9948
10017
 
9949
10018
  // src/modules/client-admin/dto/update-client-status.dto.ts
9950
- import { IsEnum as IsEnum30 } from "class-validator";
10019
+ import { IsEnum as IsEnum31 } from "class-validator";
9951
10020
  var UpdateClientAccountStatusDto = class {
9952
10021
  };
9953
10022
  __decorateClass([
9954
- IsEnum30(AccountStatus, {
10023
+ IsEnum31(AccountStatus, {
9955
10024
  message: `accountStatus must be one of: ${Object.values(AccountStatus).join(", ")}`
9956
10025
  })
9957
10026
  ], UpdateClientAccountStatusDto.prototype, "accountStatus", 2);
@@ -10062,11 +10131,11 @@ __decorateClass([
10062
10131
  ], AdminExportClientV2OptimisedDto.prototype, "customEmails", 2);
10063
10132
 
10064
10133
  // src/modules/client-admin/dto/update-admin-client-account-status.dto.ts
10065
- import { IsEnum as IsEnum32 } from "class-validator";
10134
+ import { IsEnum as IsEnum33 } from "class-validator";
10066
10135
  var UpdateAdminClientAccountStatusDto = class {
10067
10136
  };
10068
10137
  __decorateClass([
10069
- IsEnum32(AccountStatus, {
10138
+ IsEnum33(AccountStatus, {
10070
10139
  message: `accountStatus must be one of: ${Object.values(AccountStatus).join(", ")}`
10071
10140
  })
10072
10141
  ], UpdateAdminClientAccountStatusDto.prototype, "accountStatus", 2);
@@ -10096,7 +10165,7 @@ var FREELANCER_DECLARATION_PATTERN = {
10096
10165
  };
10097
10166
 
10098
10167
  // src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
10099
- import { IsOptional as IsOptional48, IsEnum as IsEnum33, IsString as IsString53, IsNotEmpty as IsNotEmpty78, IsIn as IsIn3 } from "class-validator";
10168
+ import { IsOptional as IsOptional48, IsEnum as IsEnum34, IsString as IsString53, IsNotEmpty as IsNotEmpty78, IsIn as IsIn2 } from "class-validator";
10100
10169
  var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
10101
10170
  DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
10102
10171
  DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
@@ -10111,12 +10180,12 @@ __decorateClass([
10111
10180
  IsString53({ message: "UUID must be a string" })
10112
10181
  ], FreelancerDeclarationDto.prototype, "uuid", 2);
10113
10182
  __decorateClass([
10114
- IsEnum33(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
10183
+ IsEnum34(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
10115
10184
  ], FreelancerDeclarationDto.prototype, "documentType", 2);
10116
10185
  __decorateClass([
10117
10186
  IsNotEmpty78({ message: "Please accept the declaration " }),
10118
10187
  IsString53(),
10119
- IsIn3([
10188
+ IsIn2([
10120
10189
  "true"
10121
10190
  ])
10122
10191
  ], FreelancerDeclarationDto.prototype, "declarationAccepted", 2);
@@ -10250,7 +10319,7 @@ var ADMIN_JOB_PATTERN = {
10250
10319
  import { Type as Type13 } from "class-transformer";
10251
10320
  import {
10252
10321
  IsString as IsString54,
10253
- IsEnum as IsEnum34,
10322
+ IsEnum as IsEnum35,
10254
10323
  IsInt as IsInt10,
10255
10324
  IsOptional as IsOptional53,
10256
10325
  IsArray as IsArray18,
@@ -10292,14 +10361,14 @@ __decorateClass([
10292
10361
  Min7(1, { message: "There must be at least one opening." })
10293
10362
  ], AdminCreateJobInformationDto.prototype, "openings", 2);
10294
10363
  __decorateClass([
10295
- IsEnum34(JobLocationEnumDto, {
10364
+ IsEnum35(JobLocationEnumDto, {
10296
10365
  message: `Location must be one of: ${Object.values(JobLocationEnumDto).join(
10297
10366
  ", "
10298
10367
  )}.`
10299
10368
  })
10300
10369
  ], AdminCreateJobInformationDto.prototype, "location", 2);
10301
10370
  __decorateClass([
10302
- IsEnum34(TypeOfEmploymentEnumDto, {
10371
+ IsEnum35(TypeOfEmploymentEnumDto, {
10303
10372
  message: `Type of employment must be one of: ${Object.values(
10304
10373
  TypeOfEmploymentEnumDto
10305
10374
  ).join(", ")}.`
@@ -10361,7 +10430,7 @@ __decorateClass([
10361
10430
  import { Type as Type14 } from "class-transformer";
10362
10431
  import {
10363
10432
  IsString as IsString55,
10364
- IsEnum as IsEnum35,
10433
+ IsEnum as IsEnum36,
10365
10434
  IsInt as IsInt11,
10366
10435
  IsOptional as IsOptional54,
10367
10436
  IsArray as IsArray19,
@@ -10403,14 +10472,14 @@ __decorateClass([
10403
10472
  Min8(1, { message: "There must be at least one opening." })
10404
10473
  ], AdminUpdateJobInformationDto.prototype, "openings", 2);
10405
10474
  __decorateClass([
10406
- IsEnum35(JobLocationEnums, {
10475
+ IsEnum36(JobLocationEnums, {
10407
10476
  message: `Location must be one of: ${Object.values(JobLocationEnums).join(
10408
10477
  ", "
10409
10478
  )}.`
10410
10479
  })
10411
10480
  ], AdminUpdateJobInformationDto.prototype, "location", 2);
10412
10481
  __decorateClass([
10413
- IsEnum35(TypeOfEmploymentEnums, {
10482
+ IsEnum36(TypeOfEmploymentEnums, {
10414
10483
  message: `Type of employment must be one of: ${Object.values(
10415
10484
  TypeOfEmploymentEnums
10416
10485
  ).join(", ")}.`
@@ -10476,7 +10545,7 @@ import {
10476
10545
  ArrayNotEmpty as ArrayNotEmpty12,
10477
10546
  IsNumber as IsNumber16,
10478
10547
  IsOptional as IsOptional55,
10479
- IsEnum as IsEnum36,
10548
+ IsEnum as IsEnum37,
10480
10549
  Min as Min9,
10481
10550
  ValidateIf as ValidateIf11,
10482
10551
  MaxLength as MaxLength22,
@@ -10564,7 +10633,7 @@ __decorateClass([
10564
10633
  ], AdminJobBasicInformationV2Dto.prototype, "openings", 2);
10565
10634
  __decorateClass([
10566
10635
  ValidateIf11((o) => !o.isDraft),
10567
- IsEnum36(JobLocationAdminEnumDto, {
10636
+ IsEnum37(JobLocationAdminEnumDto, {
10568
10637
  message: `Location must be one of: ${Object.values(JobLocationAdminEnumDto).join(
10569
10638
  ", "
10570
10639
  )}`
@@ -10572,7 +10641,7 @@ __decorateClass([
10572
10641
  ], AdminJobBasicInformationV2Dto.prototype, "location", 2);
10573
10642
  __decorateClass([
10574
10643
  ValidateIf11((o) => !o.isDraft),
10575
- IsEnum36(EmploymentTypeAdminEnumDto, {
10644
+ IsEnum37(EmploymentTypeAdminEnumDto, {
10576
10645
  message: `Type of employment must be one of: ${Object.values(
10577
10646
  EmploymentTypeAdminEnumDto
10578
10647
  ).join(", ")}`
@@ -10580,7 +10649,7 @@ __decorateClass([
10580
10649
  ], AdminJobBasicInformationV2Dto.prototype, "typeOfEmployment", 2);
10581
10650
  __decorateClass([
10582
10651
  IsOptional55(),
10583
- IsEnum36(BillingCycleEnumV23, {
10652
+ IsEnum37(BillingCycleEnumV23, {
10584
10653
  message: `Billing cycle must be one of: ${Object.values(BillingCycleEnumV23).join(", ")}`
10585
10654
  })
10586
10655
  ], AdminJobBasicInformationV2Dto.prototype, "billingCycle", 2);
@@ -10606,7 +10675,7 @@ __decorateClass([
10606
10675
  ], AdminJobBasicInformationV2Dto.prototype, "academicQualification", 2);
10607
10676
  __decorateClass([
10608
10677
  ValidateIf11((o) => !o.isDraft),
10609
- IsEnum36(typeOfExperienceAdminEnumDto, {
10678
+ IsEnum37(typeOfExperienceAdminEnumDto, {
10610
10679
  message: `Type of experience must be one of: ${Object.values(
10611
10680
  typeOfExperienceAdminEnumDto
10612
10681
  ).join(", ")}`
@@ -10690,7 +10759,7 @@ __decorateClass([
10690
10759
  ], AdminJobBasicInformationV2Dto.prototype, "jobRoleCanonicalName", 2);
10691
10760
  __decorateClass([
10692
10761
  IsOptional55(),
10693
- IsEnum36(AdminStepCompletedEnumV2, {
10762
+ IsEnum37(AdminStepCompletedEnumV2, {
10694
10763
  message: `Type of stepCompleted must be one of: ${Object.values(
10695
10764
  AdminStepCompletedEnumV2
10696
10765
  ).join(", ")}`
@@ -10704,7 +10773,7 @@ var LEAD_PATTERN = {
10704
10773
  };
10705
10774
 
10706
10775
  // src/modules/lead/dto/create-lead.dto.ts
10707
- import { IsString as IsString57, IsEmail as IsEmail20, IsOptional as IsOptional56, IsEnum as IsEnum37 } from "class-validator";
10776
+ import { IsString as IsString57, IsEmail as IsEmail20, IsOptional as IsOptional56, IsEnum as IsEnum38 } from "class-validator";
10708
10777
  var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
10709
10778
  CategoryEmumDto2["BUSINESS"] = "BUSINESS";
10710
10779
  CategoryEmumDto2["FREELANCER"] = "FREELANCER";
@@ -10729,7 +10798,7 @@ __decorateClass([
10729
10798
  IsString57({ message: "Description must be a string" })
10730
10799
  ], CreateLeadDto.prototype, "description", 2);
10731
10800
  __decorateClass([
10732
- IsEnum37(CategoryEmumDto, {
10801
+ IsEnum38(CategoryEmumDto, {
10733
10802
  message: `Type of category must be one of: ${Object.values(
10734
10803
  CategoryEmumDto
10735
10804
  ).join(", ")}`
@@ -10891,7 +10960,7 @@ import {
10891
10960
  ArrayNotEmpty as ArrayNotEmpty13,
10892
10961
  IsEmail as IsEmail21,
10893
10962
  IsUUID as IsUUID20,
10894
- IsEnum as IsEnum38,
10963
+ IsEnum as IsEnum39,
10895
10964
  ValidateIf as ValidateIf12,
10896
10965
  ValidateNested as ValidateNested8
10897
10966
  } from "class-validator";
@@ -10909,7 +10978,7 @@ __decorateClass([
10909
10978
  IsUUID20()
10910
10979
  ], ExistingCandidateDto.prototype, "id", 2);
10911
10980
  __decorateClass([
10912
- IsEnum38(CandidateType, {
10981
+ IsEnum39(CandidateType, {
10913
10982
  message: "type must be one of SHORTLISTED, APPLICATNTS, or RECOMMENDED"
10914
10983
  })
10915
10984
  ], ExistingCandidateDto.prototype, "type", 2);
@@ -10923,7 +10992,7 @@ __decorateClass([
10923
10992
  IsEmail21({}, { message: "Please enter a valid email." })
10924
10993
  ], NewCandidateDto.prototype, "email", 2);
10925
10994
  __decorateClass([
10926
- IsEnum38(CandidateType, {
10995
+ IsEnum39(CandidateType, {
10927
10996
  message: "type must be NEW"
10928
10997
  })
10929
10998
  ], NewCandidateDto.prototype, "type", 2);
@@ -10959,7 +11028,7 @@ import {
10959
11028
  IsNotEmpty as IsNotEmpty91,
10960
11029
  IsArray as IsArray22,
10961
11030
  IsUUID as IsUUID21,
10962
- IsEnum as IsEnum39,
11031
+ IsEnum as IsEnum40,
10963
11032
  IsEmail as IsEmail22,
10964
11033
  ValidateNested as ValidateNested9,
10965
11034
  IsOptional as IsOptional60
@@ -10979,7 +11048,7 @@ __decorateClass([
10979
11048
  IsNotEmpty91({ message: "Candidate ID is required." })
10980
11049
  ], ExistingCandidateDto2.prototype, "id", 2);
10981
11050
  __decorateClass([
10982
- IsEnum39(InterviewInviteCandidateType, {
11051
+ IsEnum40(InterviewInviteCandidateType, {
10983
11052
  message: "Type must be one of SHORTLISTED, APPLICANTS, or RECOMMENDED."
10984
11053
  }),
10985
11054
  IsNotEmpty91({ message: "Candidate type is required." })
@@ -10995,7 +11064,7 @@ __decorateClass([
10995
11064
  IsNotEmpty91({ message: "Email is required." })
10996
11065
  ], NewCandidateDto2.prototype, "email", 2);
10997
11066
  __decorateClass([
10998
- IsEnum39(InterviewInviteCandidateType, {
11067
+ IsEnum40(InterviewInviteCandidateType, {
10999
11068
  message: "Type must be NEW for new candidates."
11000
11069
  }),
11001
11070
  IsNotEmpty91({ message: "Candidate type is required." })
@@ -11351,7 +11420,7 @@ var CONTRACT_PATTERN = {
11351
11420
  };
11352
11421
 
11353
11422
  // src/modules/contract/dto/sign-contract-for-client.dto.ts
11354
- import { IsEnum as IsEnum40, IsNotEmpty as IsNotEmpty100, IsNumber as IsNumber21 } from "class-validator";
11423
+ import { IsEnum as IsEnum41, IsNotEmpty as IsNotEmpty100, IsNumber as IsNumber21 } from "class-validator";
11355
11424
  import { Type as Type21 } from "class-transformer";
11356
11425
  var SignContractForClientDto = class {
11357
11426
  };
@@ -11367,11 +11436,11 @@ __decorateClass([
11367
11436
  ], SignContractForClientDto.prototype, "freelancerId", 2);
11368
11437
  __decorateClass([
11369
11438
  IsNotEmpty100({ message: "Contract type is required." }),
11370
- IsEnum40(ContractTypeEnum)
11439
+ IsEnum41(ContractTypeEnum)
11371
11440
  ], SignContractForClientDto.prototype, "contractType", 2);
11372
11441
 
11373
11442
  // src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
11374
- import { IsEnum as IsEnum41, IsNotEmpty as IsNotEmpty101, IsNumber as IsNumber22 } from "class-validator";
11443
+ import { IsEnum as IsEnum42, IsNotEmpty as IsNotEmpty101, IsNumber as IsNumber22 } from "class-validator";
11375
11444
  import { Type as Type22 } from "class-transformer";
11376
11445
  var SignContractForFreelancerDto = class {
11377
11446
  };
@@ -11387,7 +11456,7 @@ __decorateClass([
11387
11456
  ], SignContractForFreelancerDto.prototype, "clientId", 2);
11388
11457
  __decorateClass([
11389
11458
  IsNotEmpty101({ message: "Contract type is required." }),
11390
- IsEnum41(ContractTypeEnum)
11459
+ IsEnum42(ContractTypeEnum)
11391
11460
  ], SignContractForFreelancerDto.prototype, "contractType", 2);
11392
11461
 
11393
11462
  // src/modules/contract/dto/generate-contract.dto.ts
@@ -11397,7 +11466,7 @@ import {
11397
11466
  IsOptional as IsOptional71,
11398
11467
  IsString as IsString76,
11399
11468
  IsUUID as IsUUID25,
11400
- IsEnum as IsEnum42
11469
+ IsEnum as IsEnum43
11401
11470
  } from "class-validator";
11402
11471
  var ContractSourceEnum = /* @__PURE__ */ ((ContractSourceEnum3) => {
11403
11472
  ContractSourceEnum3["AI_INTERVIEW"] = "AI_INTERVIEW";
@@ -11428,7 +11497,7 @@ __decorateClass([
11428
11497
  ], GenerateContractDto.prototype, "freelancerId", 2);
11429
11498
  __decorateClass([
11430
11499
  IsOptional71(),
11431
- IsEnum42(ContractTypeEnumDto, {
11500
+ IsEnum43(ContractTypeEnumDto, {
11432
11501
  message: "Contract type must be one of NDA, MSA, SOW, or WORK."
11433
11502
  })
11434
11503
  ], GenerateContractDto.prototype, "contractType", 2);
@@ -11446,13 +11515,13 @@ __decorateClass([
11446
11515
  ], GenerateContractDto.prototype, "contractInvoicingCycle", 2);
11447
11516
  __decorateClass([
11448
11517
  IsNotEmpty102({ message: "Preferred engagement type is required" }),
11449
- IsEnum42(PreferredEngagementTypeEnum, {
11518
+ IsEnum43(PreferredEngagementTypeEnum, {
11450
11519
  message: "Preferred engagement type must be FREELANCE."
11451
11520
  })
11452
11521
  ], GenerateContractDto.prototype, "preferredEngagementType", 2);
11453
11522
  __decorateClass([
11454
11523
  IsOptional71(),
11455
- IsEnum42(ContractSourceEnum, {
11524
+ IsEnum43(ContractSourceEnum, {
11456
11525
  message: "Source must be one of AI_INTERVIEW, F2F_INTERVIEW, or JOB."
11457
11526
  })
11458
11527
  ], GenerateContractDto.prototype, "source", 2);
@@ -11489,7 +11558,7 @@ __decorateClass([
11489
11558
  ], EscrowFundContractDto.prototype, "contractId", 2);
11490
11559
 
11491
11560
  // src/modules/contract/dto/send-nda-contract-to-freelancer.dto.ts
11492
- import { IsNotEmpty as IsNotEmpty106, IsOptional as IsOptional72, IsUUID as IsUUID29, IsEnum as IsEnum43 } from "class-validator";
11561
+ import { IsNotEmpty as IsNotEmpty106, IsOptional as IsOptional72, IsUUID as IsUUID29, IsEnum as IsEnum44 } from "class-validator";
11493
11562
  var ContractSourceEnum2 = /* @__PURE__ */ ((ContractSourceEnum3) => {
11494
11563
  ContractSourceEnum3["AI_INTERVIEW"] = "AI_INTERVIEW";
11495
11564
  ContractSourceEnum3["F2F_INTERVIEW"] = "F2F_INTERVIEW";
@@ -11504,7 +11573,7 @@ __decorateClass([
11504
11573
  ], SendNdaContractToFreelancerDto.prototype, "contractUuid", 2);
11505
11574
  __decorateClass([
11506
11575
  IsOptional72(),
11507
- IsEnum43(ContractSourceEnum2, {
11576
+ IsEnum44(ContractSourceEnum2, {
11508
11577
  message: "Source must be one of AI_INTERVIEW, F2F_INTERVIEW, or JOB."
11509
11578
  })
11510
11579
  ], SendNdaContractToFreelancerDto.prototype, "source", 2);
@@ -11832,12 +11901,12 @@ var INVOICE_PATTERN = {
11832
11901
  };
11833
11902
 
11834
11903
  // src/modules/invoice/dto/update-invoice-status.dto.ts
11835
- import { IsEnum as IsEnum45, IsNotEmpty as IsNotEmpty118 } from "class-validator";
11904
+ import { IsEnum as IsEnum46, IsNotEmpty as IsNotEmpty118 } from "class-validator";
11836
11905
  var UpdateInvoiceStatusDto = class {
11837
11906
  };
11838
11907
  __decorateClass([
11839
11908
  IsNotEmpty118({ message: "Please provide invoice status." }),
11840
- IsEnum45(InvoiceStatusEnum, {
11909
+ IsEnum46(InvoiceStatusEnum, {
11841
11910
  message: "Status must be one of: APPROVED, REJECTED"
11842
11911
  })
11843
11912
  ], UpdateInvoiceStatusDto.prototype, "status", 2);
@@ -11862,7 +11931,7 @@ var DISPUTE_PATTERN = {
11862
11931
  import {
11863
11932
  IsString as IsString84,
11864
11933
  IsNotEmpty as IsNotEmpty120,
11865
- IsIn as IsIn4,
11934
+ IsIn as IsIn3,
11866
11935
  IsOptional as IsOptional79,
11867
11936
  MaxLength as MaxLength23,
11868
11937
  IsObject as IsObject7,
@@ -11885,7 +11954,7 @@ __decorateClass([
11885
11954
  __decorateClass([
11886
11955
  IsNotEmpty120({ message: "Please select dispute type." }),
11887
11956
  IsString84(),
11888
- IsIn4(["JOB", "INVOICE"])
11957
+ IsIn3(["JOB", "INVOICE"])
11889
11958
  ], CreateDisputeDto.prototype, "disputeType", 2);
11890
11959
  __decorateClass([
11891
11960
  IsNotEmpty120({ message: "Please provide initiator type." }),
@@ -12060,7 +12129,7 @@ var HIRING_PATTERN = {
12060
12129
  };
12061
12130
 
12062
12131
  // src/modules/hiring/dto/create-hiring.dto.ts
12063
- import { IsEnum as IsEnum46, IsNotEmpty as IsNotEmpty128, IsNumber as IsNumber38 } from "class-validator";
12132
+ import { IsEnum as IsEnum47, IsNotEmpty as IsNotEmpty128, IsNumber as IsNumber38 } from "class-validator";
12064
12133
  var PreferredEngagementTypeEnum2 = /* @__PURE__ */ ((PreferredEngagementTypeEnum3) => {
12065
12134
  PreferredEngagementTypeEnum3["FTE"] = "FTE";
12066
12135
  PreferredEngagementTypeEnum3["FREELANCE"] = "FREELANCE";
@@ -12078,7 +12147,7 @@ __decorateClass([
12078
12147
  ], CreateHiringDto.prototype, "jobId", 2);
12079
12148
  __decorateClass([
12080
12149
  IsNotEmpty128({ message: "Preferred engagement type is required" }),
12081
- IsEnum46(PreferredEngagementTypeEnum2, {
12150
+ IsEnum47(PreferredEngagementTypeEnum2, {
12082
12151
  message: "Preferred engagement type must be one of FTE or FREELANCE."
12083
12152
  })
12084
12153
  ], CreateHiringDto.prototype, "preferredEngagementType", 2);
@@ -13328,7 +13397,7 @@ import {
13328
13397
  IsArray as IsArray30,
13329
13398
  IsBoolean as IsBoolean24,
13330
13399
  IsEmail as IsEmail25,
13331
- IsEnum as IsEnum47,
13400
+ IsEnum as IsEnum48,
13332
13401
  IsNotEmpty as IsNotEmpty133,
13333
13402
  IsNumber as IsNumber42,
13334
13403
  IsOptional as IsOptional89,
@@ -13381,7 +13450,7 @@ __decorateClass([
13381
13450
  ], CreateUserSigningDto.prototype, "sendEmail", 2);
13382
13451
  __decorateClass([
13383
13452
  IsOptional89(),
13384
- IsEnum47(DocuSealOrderEnum, {
13453
+ IsEnum48(DocuSealOrderEnum, {
13385
13454
  message: "Order must be one of preserved or random."
13386
13455
  })
13387
13456
  ], CreateUserSigningDto.prototype, "order", 2);
@@ -13751,11 +13820,11 @@ __decorateClass([
13751
13820
  ], UpdateEstimateTimeDto.prototype, "additionalWorkNote", 2);
13752
13821
 
13753
13822
  // src/modules/task/dto/create-task-query.dto.ts
13754
- import { IsEnum as IsEnum48, IsOptional as IsOptional92, IsString as IsString100 } from "class-validator";
13823
+ import { IsEnum as IsEnum49, IsOptional as IsOptional92, IsString as IsString100 } from "class-validator";
13755
13824
  var CreateTaskQueryDto = class {
13756
13825
  };
13757
13826
  __decorateClass([
13758
- IsEnum48(TaskQueryCategoryEnum)
13827
+ IsEnum49(TaskQueryCategoryEnum)
13759
13828
  ], CreateTaskQueryDto.prototype, "queryCategory", 2);
13760
13829
  __decorateClass([
13761
13830
  IsOptional92(),