@experts_hub/shared 1.0.711 → 1.0.712
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.d.mts +21 -5
- package/dist/index.d.ts +21 -5
- package/dist/index.js +112 -47
- package/dist/index.mjs +224 -158
- package/dist/modules/onboarding/dto/freelancer-profile-question.dto.d.ts +22 -5
- package/package.json +1 -1
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
|
-
|
|
755
|
-
|
|
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
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
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
|
|
776
|
-
|
|
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
|
-
|
|
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
|
-
|
|
785
|
-
], FreelancerProfileQuestionDto.prototype, "
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
|
1062
|
+
import { IsEnum as IsEnum14 } from "class-validator";
|
|
997
1063
|
|
|
998
1064
|
// src/entities/user.entity.ts
|
|
999
1065
|
import {
|
|
@@ -6964,14 +7030,14 @@ User = __decorateClass([
|
|
|
6964
7030
|
var UpdateSubAdminAccountStatusDto = class {
|
|
6965
7031
|
};
|
|
6966
7032
|
__decorateClass([
|
|
6967
|
-
|
|
7033
|
+
IsEnum14(AccountStatus, {
|
|
6968
7034
|
message: `accountStatus must be one of: ${Object.values(AccountStatus).join(", ")}`
|
|
6969
7035
|
})
|
|
6970
7036
|
], UpdateSubAdminAccountStatusDto.prototype, "accountStatus", 2);
|
|
6971
7037
|
|
|
6972
7038
|
// src/modules/user/subadmin/dto/update-subadmin.dto.ts
|
|
6973
7039
|
import { Transform } from "class-transformer";
|
|
6974
|
-
import { IsNotEmpty as IsNotEmpty33, IsOptional as IsOptional15, Matches as Matches5, MaxLength as MaxLength5, MinLength as MinLength6, IsEnum as
|
|
7040
|
+
import { IsNotEmpty as IsNotEmpty33, IsOptional as IsOptional15, Matches as Matches5, MaxLength as MaxLength5, MinLength as MinLength6, IsEnum as IsEnum15 } from "class-validator";
|
|
6975
7041
|
var AccountType3 = /* @__PURE__ */ ((AccountType4) => {
|
|
6976
7042
|
AccountType4["ADMIN"] = "ADMIN";
|
|
6977
7043
|
AccountType4["SUB_ADMIN"] = "SUB_ADMIN";
|
|
@@ -6990,7 +7056,7 @@ __decorateClass([
|
|
|
6990
7056
|
], UpdateSubAdminDto.prototype, "lastName", 2);
|
|
6991
7057
|
__decorateClass([
|
|
6992
7058
|
IsNotEmpty33({ message: "Please enter account type." }),
|
|
6993
|
-
|
|
7059
|
+
IsEnum15(AccountType3, {
|
|
6994
7060
|
message: `Account type must be one of: ${Object.values(AccountType3).join(", ")}`
|
|
6995
7061
|
})
|
|
6996
7062
|
], UpdateSubAdminDto.prototype, "accountType", 2);
|
|
@@ -7049,7 +7115,7 @@ import {
|
|
|
7049
7115
|
IsNotEmpty as IsNotEmpty34,
|
|
7050
7116
|
IsEmail as IsEmail6,
|
|
7051
7117
|
Length as Length2,
|
|
7052
|
-
IsUrl as
|
|
7118
|
+
IsUrl as IsUrl3,
|
|
7053
7119
|
IsOptional as IsOptional16,
|
|
7054
7120
|
ValidateIf as ValidateIf2,
|
|
7055
7121
|
IsNumber
|
|
@@ -7066,7 +7132,7 @@ __decorateClass([
|
|
|
7066
7132
|
__decorateClass([
|
|
7067
7133
|
IsOptional16(),
|
|
7068
7134
|
ValidateIf2((o) => o.webSite !== ""),
|
|
7069
|
-
|
|
7135
|
+
IsUrl3({}, { message: "Invalid website URL format" })
|
|
7070
7136
|
], UpdateCompanyProfileDto.prototype, "webSite", 2);
|
|
7071
7137
|
__decorateClass([
|
|
7072
7138
|
IsOptional16(),
|
|
@@ -7347,7 +7413,7 @@ import {
|
|
|
7347
7413
|
ArrayNotEmpty,
|
|
7348
7414
|
IsNumber as IsNumber3,
|
|
7349
7415
|
IsOptional as IsOptional21,
|
|
7350
|
-
IsEnum as
|
|
7416
|
+
IsEnum as IsEnum16,
|
|
7351
7417
|
Min,
|
|
7352
7418
|
ValidateIf as ValidateIf3,
|
|
7353
7419
|
MaxLength as MaxLength6,
|
|
@@ -7416,7 +7482,7 @@ __decorateClass([
|
|
|
7416
7482
|
], JobBasicInformationDto.prototype, "openings", 2);
|
|
7417
7483
|
__decorateClass([
|
|
7418
7484
|
ValidateIf3((o) => !o.isDraft),
|
|
7419
|
-
|
|
7485
|
+
IsEnum16(JobLocationEnum2, {
|
|
7420
7486
|
message: `Location must be one of: ${Object.values(JobLocationEnum2).join(
|
|
7421
7487
|
", "
|
|
7422
7488
|
)}`
|
|
@@ -7439,7 +7505,7 @@ __decorateClass([
|
|
|
7439
7505
|
], JobBasicInformationDto.prototype, "cityId", 2);
|
|
7440
7506
|
__decorateClass([
|
|
7441
7507
|
ValidateIf3((o) => !o.isDraft),
|
|
7442
|
-
|
|
7508
|
+
IsEnum16(EmploymentType, {
|
|
7443
7509
|
message: `Type of employment must be one of: ${Object.values(
|
|
7444
7510
|
EmploymentType
|
|
7445
7511
|
).join(", ")}`
|
|
@@ -7546,7 +7612,7 @@ import {
|
|
|
7546
7612
|
ArrayNotEmpty as ArrayNotEmpty2,
|
|
7547
7613
|
IsNumber as IsNumber4,
|
|
7548
7614
|
IsOptional as IsOptional24,
|
|
7549
|
-
IsEnum as
|
|
7615
|
+
IsEnum as IsEnum17,
|
|
7550
7616
|
Min as Min2,
|
|
7551
7617
|
ValidateIf as ValidateIf4,
|
|
7552
7618
|
MaxLength as MaxLength9,
|
|
@@ -7658,7 +7724,7 @@ __decorateClass([
|
|
|
7658
7724
|
], CreateJobViaAIDto.prototype, "openings", 2);
|
|
7659
7725
|
__decorateClass([
|
|
7660
7726
|
ValidateIf4((o) => !o.isDraft),
|
|
7661
|
-
|
|
7727
|
+
IsEnum17(JobLocationEnumV2, {
|
|
7662
7728
|
message: `Location must be one of: ${Object.values(JobLocationEnumV2).join(
|
|
7663
7729
|
", "
|
|
7664
7730
|
)}`
|
|
@@ -7670,7 +7736,7 @@ __decorateClass([
|
|
|
7670
7736
|
], CreateJobViaAIDto.prototype, "locations", 2);
|
|
7671
7737
|
__decorateClass([
|
|
7672
7738
|
ValidateIf4((o) => !o.isDraft),
|
|
7673
|
-
|
|
7739
|
+
IsEnum17(EmploymentTypeV2, {
|
|
7674
7740
|
message: `Type of employment must be one of: ${Object.values(
|
|
7675
7741
|
EmploymentTypeV2
|
|
7676
7742
|
).join(", ")}`
|
|
@@ -7678,7 +7744,7 @@ __decorateClass([
|
|
|
7678
7744
|
], CreateJobViaAIDto.prototype, "typeOfEmployment", 2);
|
|
7679
7745
|
__decorateClass([
|
|
7680
7746
|
IsOptional24(),
|
|
7681
|
-
|
|
7747
|
+
IsEnum17(BillingCycleEnumV2, {
|
|
7682
7748
|
message: `Billing cycle must be one of: ${Object.values(BillingCycleEnumV2).join(", ")}`
|
|
7683
7749
|
})
|
|
7684
7750
|
], CreateJobViaAIDto.prototype, "billingCycle", 2);
|
|
@@ -7766,7 +7832,7 @@ __decorateClass([
|
|
|
7766
7832
|
], CreateJobViaAIDto.prototype, "businessIndustry", 2);
|
|
7767
7833
|
__decorateClass([
|
|
7768
7834
|
IsOptional24(),
|
|
7769
|
-
|
|
7835
|
+
IsEnum17(StepCompletedEnumV2, {
|
|
7770
7836
|
message: `Type of stepCompleted must be one of: ${Object.values(
|
|
7771
7837
|
StepCompletedEnumV2
|
|
7772
7838
|
).join(", ")}`
|
|
@@ -7787,7 +7853,7 @@ __decorateClass([
|
|
|
7787
7853
|
], CreateJobViaAIDto.prototype, "dealBreakers", 2);
|
|
7788
7854
|
|
|
7789
7855
|
// src/modules/job/dto/job-status.dto.ts
|
|
7790
|
-
import { IsEnum as
|
|
7856
|
+
import { IsEnum as IsEnum18, IsNotEmpty as IsNotEmpty46 } from "class-validator";
|
|
7791
7857
|
var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
|
|
7792
7858
|
JobStatus2["ACTIVE"] = "ACTIVE";
|
|
7793
7859
|
JobStatus2["OPEN"] = "OPEN";
|
|
@@ -7801,7 +7867,7 @@ var JobStatusDto = class {
|
|
|
7801
7867
|
};
|
|
7802
7868
|
__decorateClass([
|
|
7803
7869
|
IsNotEmpty46({ message: "Please provide a job status" }),
|
|
7804
|
-
|
|
7870
|
+
IsEnum18(JobStatus, {
|
|
7805
7871
|
message: `Status must be one of: ${Object.values(JobStatus).join(", ")}`
|
|
7806
7872
|
})
|
|
7807
7873
|
], JobStatusDto.prototype, "status", 2);
|
|
@@ -7824,7 +7890,7 @@ import {
|
|
|
7824
7890
|
ArrayNotEmpty as ArrayNotEmpty3,
|
|
7825
7891
|
IsNumber as IsNumber5,
|
|
7826
7892
|
IsOptional as IsOptional25,
|
|
7827
|
-
IsEnum as
|
|
7893
|
+
IsEnum as IsEnum19,
|
|
7828
7894
|
Min as Min3,
|
|
7829
7895
|
ValidateIf as ValidateIf5,
|
|
7830
7896
|
MaxLength as MaxLength10,
|
|
@@ -7932,7 +7998,7 @@ __decorateClass([
|
|
|
7932
7998
|
], JobBasicInformationV2Dto.prototype, "openings", 2);
|
|
7933
7999
|
__decorateClass([
|
|
7934
8000
|
ValidateIf5((o) => !o.isDraft),
|
|
7935
|
-
|
|
8001
|
+
IsEnum19(JobLocationEnumV22, {
|
|
7936
8002
|
message: `Location must be one of: ${Object.values(JobLocationEnumV22).join(
|
|
7937
8003
|
", "
|
|
7938
8004
|
)}`
|
|
@@ -7944,7 +8010,7 @@ __decorateClass([
|
|
|
7944
8010
|
], JobBasicInformationV2Dto.prototype, "locations", 2);
|
|
7945
8011
|
__decorateClass([
|
|
7946
8012
|
ValidateIf5((o) => !o.isDraft),
|
|
7947
|
-
|
|
8013
|
+
IsEnum19(EmploymentTypeV22, {
|
|
7948
8014
|
message: `Type of employment must be one of: ${Object.values(
|
|
7949
8015
|
EmploymentTypeV22
|
|
7950
8016
|
).join(", ")}`
|
|
@@ -7952,7 +8018,7 @@ __decorateClass([
|
|
|
7952
8018
|
], JobBasicInformationV2Dto.prototype, "typeOfEmployment", 2);
|
|
7953
8019
|
__decorateClass([
|
|
7954
8020
|
IsOptional25(),
|
|
7955
|
-
|
|
8021
|
+
IsEnum19(BillingCycleEnumV22, {
|
|
7956
8022
|
message: `Billing cycle must be one of: ${Object.values(BillingCycleEnumV22).join(", ")}`
|
|
7957
8023
|
})
|
|
7958
8024
|
], JobBasicInformationV2Dto.prototype, "billingCycle", 2);
|
|
@@ -8040,7 +8106,7 @@ __decorateClass([
|
|
|
8040
8106
|
], JobBasicInformationV2Dto.prototype, "businessIndustry", 2);
|
|
8041
8107
|
__decorateClass([
|
|
8042
8108
|
IsOptional25(),
|
|
8043
|
-
|
|
8109
|
+
IsEnum19(StepCompletedEnumV22, {
|
|
8044
8110
|
message: `Type of stepCompleted must be one of: ${Object.values(
|
|
8045
8111
|
StepCompletedEnumV22
|
|
8046
8112
|
).join(", ")}`
|
|
@@ -8078,7 +8144,7 @@ __decorateClass([
|
|
|
8078
8144
|
], CreateJobApplicationDto.prototype, "isCta", 2);
|
|
8079
8145
|
|
|
8080
8146
|
// src/modules/job/dto/change-job-application-status.dto.ts
|
|
8081
|
-
import { IsEnum as
|
|
8147
|
+
import { IsEnum as IsEnum20, IsNotEmpty as IsNotEmpty49 } from "class-validator";
|
|
8082
8148
|
var JobApplicationStatus = /* @__PURE__ */ ((JobApplicationStatus2) => {
|
|
8083
8149
|
JobApplicationStatus2["PENDING"] = "PENDING";
|
|
8084
8150
|
JobApplicationStatus2["SHORTLISTED"] = "SHORTLISTED";
|
|
@@ -8091,13 +8157,13 @@ var ChangeJobApplicationStatusDto = class {
|
|
|
8091
8157
|
};
|
|
8092
8158
|
__decorateClass([
|
|
8093
8159
|
IsNotEmpty49({ message: "Status is required" }),
|
|
8094
|
-
|
|
8160
|
+
IsEnum20(JobApplicationStatus, {
|
|
8095
8161
|
message: `Status must be one of: ${Object.values(JobApplicationStatus).join(", ")}`
|
|
8096
8162
|
})
|
|
8097
8163
|
], ChangeJobApplicationStatusDto.prototype, "status", 2);
|
|
8098
8164
|
|
|
8099
8165
|
// src/modules/job/dto/change-job-application-status-bulk.dto.ts
|
|
8100
|
-
import { ArrayNotEmpty as ArrayNotEmpty4, IsArray as IsArray5, IsEnum as
|
|
8166
|
+
import { ArrayNotEmpty as ArrayNotEmpty4, IsArray as IsArray5, IsEnum as IsEnum21, IsNotEmpty as IsNotEmpty50, IsNumber as IsNumber6 } from "class-validator";
|
|
8101
8167
|
var ChangeJobApplicationStatusBulkDto = class {
|
|
8102
8168
|
};
|
|
8103
8169
|
__decorateClass([
|
|
@@ -8107,7 +8173,7 @@ __decorateClass([
|
|
|
8107
8173
|
], ChangeJobApplicationStatusBulkDto.prototype, "jobApplicationIds", 2);
|
|
8108
8174
|
__decorateClass([
|
|
8109
8175
|
IsNotEmpty50({ message: "Status is required" }),
|
|
8110
|
-
|
|
8176
|
+
IsEnum21(JobApplicationStatus, {
|
|
8111
8177
|
message: `Status must be one of: ${Object.values(JobApplicationStatus).join(", ")}`
|
|
8112
8178
|
})
|
|
8113
8179
|
], ChangeJobApplicationStatusBulkDto.prototype, "status", 2);
|
|
@@ -8186,7 +8252,7 @@ import {
|
|
|
8186
8252
|
IsString as IsString30,
|
|
8187
8253
|
IsEmail as IsEmail7,
|
|
8188
8254
|
IsNumber as IsNumber7,
|
|
8189
|
-
IsEnum as
|
|
8255
|
+
IsEnum as IsEnum22,
|
|
8190
8256
|
IsNotEmpty as IsNotEmpty52,
|
|
8191
8257
|
ValidateIf as ValidateIf6,
|
|
8192
8258
|
IsInt
|
|
@@ -8262,7 +8328,7 @@ __decorateClass([
|
|
|
8262
8328
|
], UpdateFreelancerProfileDto.prototype, "numberOfHours", 2);
|
|
8263
8329
|
__decorateClass([
|
|
8264
8330
|
IsNotEmpty52({ message: "Please select engagement type." }),
|
|
8265
|
-
|
|
8331
|
+
IsEnum22(NatureOfWorkDto, {
|
|
8266
8332
|
message: `Engagement Type must be one of: ${Object.values(
|
|
8267
8333
|
NatureOfWorkDto
|
|
8268
8334
|
).join(", ")}`
|
|
@@ -8270,7 +8336,7 @@ __decorateClass([
|
|
|
8270
8336
|
], UpdateFreelancerProfileDto.prototype, "natureOfWork", 2);
|
|
8271
8337
|
__decorateClass([
|
|
8272
8338
|
IsNotEmpty52({ message: "Please select mode of work." }),
|
|
8273
|
-
|
|
8339
|
+
IsEnum22(ModeOfWorkDto, {
|
|
8274
8340
|
message: `Mode of work must be one of: ${Object.values(ModeOfWorkDto).join(
|
|
8275
8341
|
", "
|
|
8276
8342
|
)}`
|
|
@@ -8409,7 +8475,7 @@ var BANK_PATTERN = {
|
|
|
8409
8475
|
|
|
8410
8476
|
// src/modules/bank/dto/freelancer-bank-details.dto.ts
|
|
8411
8477
|
import {
|
|
8412
|
-
IsEnum as
|
|
8478
|
+
IsEnum as IsEnum23,
|
|
8413
8479
|
IsNotEmpty as IsNotEmpty58,
|
|
8414
8480
|
IsOptional as IsOptional30,
|
|
8415
8481
|
IsString as IsString34,
|
|
@@ -8467,7 +8533,7 @@ __decorateClass([
|
|
|
8467
8533
|
IsOptional30()
|
|
8468
8534
|
], FreelancerBankDetailsDto.prototype, "accountType", 2);
|
|
8469
8535
|
__decorateClass([
|
|
8470
|
-
|
|
8536
|
+
IsEnum23(BankAccountScope, {
|
|
8471
8537
|
message: `Type of Account Scope must be one of: ${Object.values(
|
|
8472
8538
|
BankAccountScope
|
|
8473
8539
|
).join(", ")}`
|
|
@@ -8489,7 +8555,7 @@ var SYSTEM_PREFERENCES_PATTERN = {
|
|
|
8489
8555
|
// src/modules/system-preference/dto/system-preference.dto.ts
|
|
8490
8556
|
import {
|
|
8491
8557
|
IsBoolean as IsBoolean4,
|
|
8492
|
-
IsEnum as
|
|
8558
|
+
IsEnum as IsEnum24
|
|
8493
8559
|
} from "class-validator";
|
|
8494
8560
|
var SystemPreferenceKey = /* @__PURE__ */ ((SystemPreferenceKey2) => {
|
|
8495
8561
|
SystemPreferenceKey2["EMAIL_NOTIFICATION"] = "EMAIL_NOTIFICATION";
|
|
@@ -8502,7 +8568,7 @@ __decorateClass([
|
|
|
8502
8568
|
IsBoolean4()
|
|
8503
8569
|
], SystemPreferenceDto.prototype, "value", 2);
|
|
8504
8570
|
__decorateClass([
|
|
8505
|
-
|
|
8571
|
+
IsEnum24(SystemPreferenceKey, {
|
|
8506
8572
|
message: `key must be one of: ${Object.values(
|
|
8507
8573
|
SystemPreferenceKey
|
|
8508
8574
|
).join(", ")}`
|
|
@@ -8629,7 +8695,7 @@ var RATING_PATTERN = {
|
|
|
8629
8695
|
|
|
8630
8696
|
// src/modules/rating/dto/add.rating.dto.ts
|
|
8631
8697
|
import {
|
|
8632
|
-
IsEnum as
|
|
8698
|
+
IsEnum as IsEnum25,
|
|
8633
8699
|
IsInt as IsInt2,
|
|
8634
8700
|
IsNotEmpty as IsNotEmpty61,
|
|
8635
8701
|
IsOptional as IsOptional32,
|
|
@@ -8653,7 +8719,7 @@ __decorateClass([
|
|
|
8653
8719
|
IsNotEmpty61({ message: "Job ID is required" })
|
|
8654
8720
|
], CreateRatingDto.prototype, "jobId", 2);
|
|
8655
8721
|
__decorateClass([
|
|
8656
|
-
|
|
8722
|
+
IsEnum25(RatingTypeEnum, {
|
|
8657
8723
|
message: `Rating type must be one of: ${Object.values(RatingTypeEnum).join(", ")}`
|
|
8658
8724
|
})
|
|
8659
8725
|
], CreateRatingDto.prototype, "ratingType", 2);
|
|
@@ -9082,9 +9148,9 @@ import {
|
|
|
9082
9148
|
IsEmail as IsEmail13,
|
|
9083
9149
|
IsBoolean as IsBoolean11,
|
|
9084
9150
|
IsOptional as IsOptional41,
|
|
9085
|
-
IsEnum as
|
|
9151
|
+
IsEnum as IsEnum26,
|
|
9086
9152
|
IsNumber as IsNumber10,
|
|
9087
|
-
IsUrl as
|
|
9153
|
+
IsUrl as IsUrl4,
|
|
9088
9154
|
MaxLength as MaxLength18,
|
|
9089
9155
|
MinLength as MinLength17,
|
|
9090
9156
|
Matches as Matches13,
|
|
@@ -9093,18 +9159,18 @@ import {
|
|
|
9093
9159
|
IsInt as IsInt7
|
|
9094
9160
|
} from "class-validator";
|
|
9095
9161
|
import { Transform as Transform2 } from "class-transformer";
|
|
9096
|
-
var
|
|
9097
|
-
|
|
9098
|
-
|
|
9099
|
-
|
|
9100
|
-
return
|
|
9101
|
-
})(
|
|
9102
|
-
var
|
|
9103
|
-
|
|
9104
|
-
|
|
9105
|
-
|
|
9106
|
-
return
|
|
9107
|
-
})(
|
|
9162
|
+
var NatureOfWorkEnum2 = /* @__PURE__ */ ((NatureOfWorkEnum4) => {
|
|
9163
|
+
NatureOfWorkEnum4["FTE"] = "FTE";
|
|
9164
|
+
NatureOfWorkEnum4["FREELANCE"] = "FREELANCE";
|
|
9165
|
+
NatureOfWorkEnum4["BOTH"] = "BOTH";
|
|
9166
|
+
return NatureOfWorkEnum4;
|
|
9167
|
+
})(NatureOfWorkEnum2 || {});
|
|
9168
|
+
var ModeOfWorkEnum2 = /* @__PURE__ */ ((ModeOfWorkEnum4) => {
|
|
9169
|
+
ModeOfWorkEnum4["REMOTE"] = "REMOTE";
|
|
9170
|
+
ModeOfWorkEnum4["ONSITE"] = "ONSITE";
|
|
9171
|
+
ModeOfWorkEnum4["HYBRID"] = "HYBRID";
|
|
9172
|
+
return ModeOfWorkEnum4;
|
|
9173
|
+
})(ModeOfWorkEnum2 || {});
|
|
9108
9174
|
var CreateFreelancerDto = class {
|
|
9109
9175
|
};
|
|
9110
9176
|
__decorateClass([
|
|
@@ -9274,9 +9340,9 @@ __decorateClass([
|
|
|
9274
9340
|
], CreateFreelancerDto.prototype, "developer", 2);
|
|
9275
9341
|
__decorateClass([
|
|
9276
9342
|
IsOptional41(),
|
|
9277
|
-
|
|
9343
|
+
IsEnum26(NatureOfWorkEnum2, {
|
|
9278
9344
|
message: `Nature of work must be one of: ${Object.values(
|
|
9279
|
-
|
|
9345
|
+
NatureOfWorkEnum2
|
|
9280
9346
|
).join(", ")}`
|
|
9281
9347
|
})
|
|
9282
9348
|
], CreateFreelancerDto.prototype, "natureOfWork", 2);
|
|
@@ -9318,8 +9384,8 @@ __decorateClass([
|
|
|
9318
9384
|
], CreateFreelancerDto.prototype, "numberOfHours", 2);
|
|
9319
9385
|
__decorateClass([
|
|
9320
9386
|
IsOptional41(),
|
|
9321
|
-
|
|
9322
|
-
message: `Mode of work must be one of: ${Object.values(
|
|
9387
|
+
IsEnum26(ModeOfWorkEnum2, {
|
|
9388
|
+
message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum2).join(
|
|
9323
9389
|
", "
|
|
9324
9390
|
)}`
|
|
9325
9391
|
})
|
|
@@ -9350,7 +9416,7 @@ __decorateClass([
|
|
|
9350
9416
|
], CreateFreelancerDto.prototype, "availabilityToJoin", 2);
|
|
9351
9417
|
__decorateClass([
|
|
9352
9418
|
IsOptional41(),
|
|
9353
|
-
|
|
9419
|
+
IsUrl4({}, { message: "LinkedIn profile link must be a valid URL" }),
|
|
9354
9420
|
Transform2(({ value }) => {
|
|
9355
9421
|
if (Array.isArray(value)) {
|
|
9356
9422
|
const val = value[0];
|
|
@@ -9376,7 +9442,7 @@ __decorateClass([
|
|
|
9376
9442
|
], CreateFreelancerDto.prototype, "kaggleProfileLink", 2);
|
|
9377
9443
|
__decorateClass([
|
|
9378
9444
|
IsOptional41(),
|
|
9379
|
-
|
|
9445
|
+
IsUrl4({}, { message: "GitHub profile link must be a valid URL" }),
|
|
9380
9446
|
Transform2(({ value }) => {
|
|
9381
9447
|
if (Array.isArray(value)) {
|
|
9382
9448
|
const val = value[0];
|
|
@@ -9389,7 +9455,7 @@ __decorateClass([
|
|
|
9389
9455
|
], CreateFreelancerDto.prototype, "githubProfileLink", 2);
|
|
9390
9456
|
__decorateClass([
|
|
9391
9457
|
IsOptional41(),
|
|
9392
|
-
|
|
9458
|
+
IsUrl4({}, { message: "StackOverflow profile link must be a valid URL" }),
|
|
9393
9459
|
Transform2(({ value }) => {
|
|
9394
9460
|
if (Array.isArray(value)) {
|
|
9395
9461
|
const val = value[0];
|
|
@@ -9402,7 +9468,7 @@ __decorateClass([
|
|
|
9402
9468
|
], CreateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
|
|
9403
9469
|
__decorateClass([
|
|
9404
9470
|
IsOptional41(),
|
|
9405
|
-
|
|
9471
|
+
IsUrl4({}, { message: "Portfolio link must be a valid URL" }),
|
|
9406
9472
|
Transform2(({ value }) => {
|
|
9407
9473
|
if (Array.isArray(value)) {
|
|
9408
9474
|
const val = value[0];
|
|
@@ -9423,9 +9489,9 @@ import {
|
|
|
9423
9489
|
IsEmail as IsEmail14,
|
|
9424
9490
|
IsBoolean as IsBoolean12,
|
|
9425
9491
|
IsOptional as IsOptional42,
|
|
9426
|
-
IsEnum as
|
|
9492
|
+
IsEnum as IsEnum27,
|
|
9427
9493
|
IsNumber as IsNumber11,
|
|
9428
|
-
IsUrl as
|
|
9494
|
+
IsUrl as IsUrl5,
|
|
9429
9495
|
MaxLength as MaxLength19,
|
|
9430
9496
|
MinLength as MinLength18,
|
|
9431
9497
|
Matches as Matches14,
|
|
@@ -9434,18 +9500,18 @@ import {
|
|
|
9434
9500
|
IsInt as IsInt8
|
|
9435
9501
|
} from "class-validator";
|
|
9436
9502
|
import { Transform as Transform3 } from "class-transformer";
|
|
9437
|
-
var
|
|
9438
|
-
|
|
9439
|
-
|
|
9440
|
-
|
|
9441
|
-
return
|
|
9442
|
-
})(
|
|
9443
|
-
var
|
|
9444
|
-
|
|
9445
|
-
|
|
9446
|
-
|
|
9447
|
-
return
|
|
9448
|
-
})(
|
|
9503
|
+
var NatureOfWorkEnum3 = /* @__PURE__ */ ((NatureOfWorkEnum4) => {
|
|
9504
|
+
NatureOfWorkEnum4["FTE"] = "FTE";
|
|
9505
|
+
NatureOfWorkEnum4["FREELANCE"] = "FREELANCE";
|
|
9506
|
+
NatureOfWorkEnum4["BOTH"] = "BOTH";
|
|
9507
|
+
return NatureOfWorkEnum4;
|
|
9508
|
+
})(NatureOfWorkEnum3 || {});
|
|
9509
|
+
var ModeOfWorkEnum3 = /* @__PURE__ */ ((ModeOfWorkEnum4) => {
|
|
9510
|
+
ModeOfWorkEnum4["REMOTE"] = "REMOTE";
|
|
9511
|
+
ModeOfWorkEnum4["ONSITE"] = "ONSITE";
|
|
9512
|
+
ModeOfWorkEnum4["HYBRID"] = "HYBRID";
|
|
9513
|
+
return ModeOfWorkEnum4;
|
|
9514
|
+
})(ModeOfWorkEnum3 || {});
|
|
9449
9515
|
var UpdateFreelancerDto = class {
|
|
9450
9516
|
};
|
|
9451
9517
|
__decorateClass([
|
|
@@ -9604,9 +9670,9 @@ __decorateClass([
|
|
|
9604
9670
|
], UpdateFreelancerDto.prototype, "developer", 2);
|
|
9605
9671
|
__decorateClass([
|
|
9606
9672
|
IsOptional42(),
|
|
9607
|
-
|
|
9673
|
+
IsEnum27(NatureOfWorkEnum3, {
|
|
9608
9674
|
message: `Nature of work must be one of: ${Object.values(
|
|
9609
|
-
|
|
9675
|
+
NatureOfWorkEnum3
|
|
9610
9676
|
).join(", ")}`
|
|
9611
9677
|
})
|
|
9612
9678
|
], UpdateFreelancerDto.prototype, "natureOfWork", 2);
|
|
@@ -9648,8 +9714,8 @@ __decorateClass([
|
|
|
9648
9714
|
], UpdateFreelancerDto.prototype, "numberOfHours", 2);
|
|
9649
9715
|
__decorateClass([
|
|
9650
9716
|
IsOptional42(),
|
|
9651
|
-
|
|
9652
|
-
message: `Mode of work must be one of: ${Object.values(
|
|
9717
|
+
IsEnum27(ModeOfWorkEnum3, {
|
|
9718
|
+
message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum3).join(
|
|
9653
9719
|
", "
|
|
9654
9720
|
)}`
|
|
9655
9721
|
})
|
|
@@ -9680,7 +9746,7 @@ __decorateClass([
|
|
|
9680
9746
|
], UpdateFreelancerDto.prototype, "availabilityToJoin", 2);
|
|
9681
9747
|
__decorateClass([
|
|
9682
9748
|
IsOptional42(),
|
|
9683
|
-
|
|
9749
|
+
IsUrl5({}, { message: "LinkedIn profile link must be a valid URL" }),
|
|
9684
9750
|
Transform3(({ value }) => {
|
|
9685
9751
|
if (Array.isArray(value)) {
|
|
9686
9752
|
const val = value[0];
|
|
@@ -9706,7 +9772,7 @@ __decorateClass([
|
|
|
9706
9772
|
], UpdateFreelancerDto.prototype, "kaggleProfileLink", 2);
|
|
9707
9773
|
__decorateClass([
|
|
9708
9774
|
IsOptional42(),
|
|
9709
|
-
|
|
9775
|
+
IsUrl5({}, { message: "GitHub profile link must be a valid URL" }),
|
|
9710
9776
|
Transform3(({ value }) => {
|
|
9711
9777
|
if (Array.isArray(value)) {
|
|
9712
9778
|
const val = value[0];
|
|
@@ -9719,7 +9785,7 @@ __decorateClass([
|
|
|
9719
9785
|
], UpdateFreelancerDto.prototype, "githubProfileLink", 2);
|
|
9720
9786
|
__decorateClass([
|
|
9721
9787
|
IsOptional42(),
|
|
9722
|
-
|
|
9788
|
+
IsUrl5({}, { message: "StackOverflow profile link must be a valid URL" }),
|
|
9723
9789
|
Transform3(({ value }) => {
|
|
9724
9790
|
if (Array.isArray(value)) {
|
|
9725
9791
|
const val = value[0];
|
|
@@ -9732,7 +9798,7 @@ __decorateClass([
|
|
|
9732
9798
|
], UpdateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
|
|
9733
9799
|
__decorateClass([
|
|
9734
9800
|
IsOptional42(),
|
|
9735
|
-
|
|
9801
|
+
IsUrl5({}, { message: "Portfolio link must be a valid URL" }),
|
|
9736
9802
|
Transform3(({ value }) => {
|
|
9737
9803
|
if (Array.isArray(value)) {
|
|
9738
9804
|
const val = value[0];
|
|
@@ -9757,7 +9823,7 @@ __decorateClass([
|
|
|
9757
9823
|
], SendAiAssessmentLinkDto.prototype, "uuid", 2);
|
|
9758
9824
|
|
|
9759
9825
|
// src/modules/freelancer-admin/dto/update-assessment-request-status.dto.ts
|
|
9760
|
-
import { IsEnum as
|
|
9826
|
+
import { IsEnum as IsEnum28, IsOptional as IsOptional43, IsString as IsString49 } from "class-validator";
|
|
9761
9827
|
var AssessmentRequestStatus = /* @__PURE__ */ ((AssessmentRequestStatus2) => {
|
|
9762
9828
|
AssessmentRequestStatus2["PENDING"] = "PENDING";
|
|
9763
9829
|
AssessmentRequestStatus2["APPROVED"] = "APPROVED";
|
|
@@ -9768,7 +9834,7 @@ var AssessmentRequestStatus = /* @__PURE__ */ ((AssessmentRequestStatus2) => {
|
|
|
9768
9834
|
var UpdateAssessmentRequestStatusDto = class {
|
|
9769
9835
|
};
|
|
9770
9836
|
__decorateClass([
|
|
9771
|
-
|
|
9837
|
+
IsEnum28(AssessmentRequestStatus, {
|
|
9772
9838
|
message: `Status must be one of: ${Object.values(AssessmentRequestStatus).join(", ")}`
|
|
9773
9839
|
})
|
|
9774
9840
|
], UpdateAssessmentRequestStatusDto.prototype, "status", 2);
|
|
@@ -9792,11 +9858,11 @@ __decorateClass([
|
|
|
9792
9858
|
], AdminExportFreelancerV2OptimisedDto.prototype, "customEmails", 2);
|
|
9793
9859
|
|
|
9794
9860
|
// src/modules/freelancer-admin/dto/update-admin-freelancer-account-status.dto.ts
|
|
9795
|
-
import { IsEnum as
|
|
9861
|
+
import { IsEnum as IsEnum29 } from "class-validator";
|
|
9796
9862
|
var UpdateAdminFreelancerAccountStatusDto = class {
|
|
9797
9863
|
};
|
|
9798
9864
|
__decorateClass([
|
|
9799
|
-
|
|
9865
|
+
IsEnum29(AccountStatus, {
|
|
9800
9866
|
message: `accountStatus must be one of: ${Object.values(AccountStatus).join(", ")}`
|
|
9801
9867
|
})
|
|
9802
9868
|
], UpdateAdminFreelancerAccountStatusDto.prototype, "accountStatus", 2);
|
|
@@ -9856,7 +9922,7 @@ import {
|
|
|
9856
9922
|
MaxLength as MaxLength20,
|
|
9857
9923
|
Matches as Matches16,
|
|
9858
9924
|
IsInt as IsInt9,
|
|
9859
|
-
IsUrl as
|
|
9925
|
+
IsUrl as IsUrl6
|
|
9860
9926
|
} from "class-validator";
|
|
9861
9927
|
import { Type as Type9 } from "class-transformer";
|
|
9862
9928
|
var CreateClientDto = class {
|
|
@@ -9911,7 +9977,7 @@ __decorateClass([
|
|
|
9911
9977
|
], CreateClientDto.prototype, "about", 2);
|
|
9912
9978
|
__decorateClass([
|
|
9913
9979
|
IsOptional45(),
|
|
9914
|
-
|
|
9980
|
+
IsUrl6({}, { message: "Website must be a valid URL." })
|
|
9915
9981
|
], CreateClientDto.prototype, "webSite", 2);
|
|
9916
9982
|
__decorateClass([
|
|
9917
9983
|
IsOptional45(),
|
|
@@ -9947,11 +10013,11 @@ __decorateClass([
|
|
|
9947
10013
|
], CreateClientDto.prototype, "markupPercentage", 2);
|
|
9948
10014
|
|
|
9949
10015
|
// src/modules/client-admin/dto/update-client-status.dto.ts
|
|
9950
|
-
import { IsEnum as
|
|
10016
|
+
import { IsEnum as IsEnum31 } from "class-validator";
|
|
9951
10017
|
var UpdateClientAccountStatusDto = class {
|
|
9952
10018
|
};
|
|
9953
10019
|
__decorateClass([
|
|
9954
|
-
|
|
10020
|
+
IsEnum31(AccountStatus, {
|
|
9955
10021
|
message: `accountStatus must be one of: ${Object.values(AccountStatus).join(", ")}`
|
|
9956
10022
|
})
|
|
9957
10023
|
], UpdateClientAccountStatusDto.prototype, "accountStatus", 2);
|
|
@@ -10062,11 +10128,11 @@ __decorateClass([
|
|
|
10062
10128
|
], AdminExportClientV2OptimisedDto.prototype, "customEmails", 2);
|
|
10063
10129
|
|
|
10064
10130
|
// src/modules/client-admin/dto/update-admin-client-account-status.dto.ts
|
|
10065
|
-
import { IsEnum as
|
|
10131
|
+
import { IsEnum as IsEnum33 } from "class-validator";
|
|
10066
10132
|
var UpdateAdminClientAccountStatusDto = class {
|
|
10067
10133
|
};
|
|
10068
10134
|
__decorateClass([
|
|
10069
|
-
|
|
10135
|
+
IsEnum33(AccountStatus, {
|
|
10070
10136
|
message: `accountStatus must be one of: ${Object.values(AccountStatus).join(", ")}`
|
|
10071
10137
|
})
|
|
10072
10138
|
], UpdateAdminClientAccountStatusDto.prototype, "accountStatus", 2);
|
|
@@ -10096,7 +10162,7 @@ var FREELANCER_DECLARATION_PATTERN = {
|
|
|
10096
10162
|
};
|
|
10097
10163
|
|
|
10098
10164
|
// src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
|
|
10099
|
-
import { IsOptional as IsOptional48, IsEnum as
|
|
10165
|
+
import { IsOptional as IsOptional48, IsEnum as IsEnum34, IsString as IsString53, IsNotEmpty as IsNotEmpty78, IsIn as IsIn2 } from "class-validator";
|
|
10100
10166
|
var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
|
|
10101
10167
|
DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
|
|
10102
10168
|
DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
|
|
@@ -10111,12 +10177,12 @@ __decorateClass([
|
|
|
10111
10177
|
IsString53({ message: "UUID must be a string" })
|
|
10112
10178
|
], FreelancerDeclarationDto.prototype, "uuid", 2);
|
|
10113
10179
|
__decorateClass([
|
|
10114
|
-
|
|
10180
|
+
IsEnum34(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
|
|
10115
10181
|
], FreelancerDeclarationDto.prototype, "documentType", 2);
|
|
10116
10182
|
__decorateClass([
|
|
10117
10183
|
IsNotEmpty78({ message: "Please accept the declaration " }),
|
|
10118
10184
|
IsString53(),
|
|
10119
|
-
|
|
10185
|
+
IsIn2([
|
|
10120
10186
|
"true"
|
|
10121
10187
|
])
|
|
10122
10188
|
], FreelancerDeclarationDto.prototype, "declarationAccepted", 2);
|
|
@@ -10250,7 +10316,7 @@ var ADMIN_JOB_PATTERN = {
|
|
|
10250
10316
|
import { Type as Type13 } from "class-transformer";
|
|
10251
10317
|
import {
|
|
10252
10318
|
IsString as IsString54,
|
|
10253
|
-
IsEnum as
|
|
10319
|
+
IsEnum as IsEnum35,
|
|
10254
10320
|
IsInt as IsInt10,
|
|
10255
10321
|
IsOptional as IsOptional53,
|
|
10256
10322
|
IsArray as IsArray18,
|
|
@@ -10292,14 +10358,14 @@ __decorateClass([
|
|
|
10292
10358
|
Min7(1, { message: "There must be at least one opening." })
|
|
10293
10359
|
], AdminCreateJobInformationDto.prototype, "openings", 2);
|
|
10294
10360
|
__decorateClass([
|
|
10295
|
-
|
|
10361
|
+
IsEnum35(JobLocationEnumDto, {
|
|
10296
10362
|
message: `Location must be one of: ${Object.values(JobLocationEnumDto).join(
|
|
10297
10363
|
", "
|
|
10298
10364
|
)}.`
|
|
10299
10365
|
})
|
|
10300
10366
|
], AdminCreateJobInformationDto.prototype, "location", 2);
|
|
10301
10367
|
__decorateClass([
|
|
10302
|
-
|
|
10368
|
+
IsEnum35(TypeOfEmploymentEnumDto, {
|
|
10303
10369
|
message: `Type of employment must be one of: ${Object.values(
|
|
10304
10370
|
TypeOfEmploymentEnumDto
|
|
10305
10371
|
).join(", ")}.`
|
|
@@ -10361,7 +10427,7 @@ __decorateClass([
|
|
|
10361
10427
|
import { Type as Type14 } from "class-transformer";
|
|
10362
10428
|
import {
|
|
10363
10429
|
IsString as IsString55,
|
|
10364
|
-
IsEnum as
|
|
10430
|
+
IsEnum as IsEnum36,
|
|
10365
10431
|
IsInt as IsInt11,
|
|
10366
10432
|
IsOptional as IsOptional54,
|
|
10367
10433
|
IsArray as IsArray19,
|
|
@@ -10403,14 +10469,14 @@ __decorateClass([
|
|
|
10403
10469
|
Min8(1, { message: "There must be at least one opening." })
|
|
10404
10470
|
], AdminUpdateJobInformationDto.prototype, "openings", 2);
|
|
10405
10471
|
__decorateClass([
|
|
10406
|
-
|
|
10472
|
+
IsEnum36(JobLocationEnums, {
|
|
10407
10473
|
message: `Location must be one of: ${Object.values(JobLocationEnums).join(
|
|
10408
10474
|
", "
|
|
10409
10475
|
)}.`
|
|
10410
10476
|
})
|
|
10411
10477
|
], AdminUpdateJobInformationDto.prototype, "location", 2);
|
|
10412
10478
|
__decorateClass([
|
|
10413
|
-
|
|
10479
|
+
IsEnum36(TypeOfEmploymentEnums, {
|
|
10414
10480
|
message: `Type of employment must be one of: ${Object.values(
|
|
10415
10481
|
TypeOfEmploymentEnums
|
|
10416
10482
|
).join(", ")}.`
|
|
@@ -10476,7 +10542,7 @@ import {
|
|
|
10476
10542
|
ArrayNotEmpty as ArrayNotEmpty12,
|
|
10477
10543
|
IsNumber as IsNumber16,
|
|
10478
10544
|
IsOptional as IsOptional55,
|
|
10479
|
-
IsEnum as
|
|
10545
|
+
IsEnum as IsEnum37,
|
|
10480
10546
|
Min as Min9,
|
|
10481
10547
|
ValidateIf as ValidateIf11,
|
|
10482
10548
|
MaxLength as MaxLength22,
|
|
@@ -10564,7 +10630,7 @@ __decorateClass([
|
|
|
10564
10630
|
], AdminJobBasicInformationV2Dto.prototype, "openings", 2);
|
|
10565
10631
|
__decorateClass([
|
|
10566
10632
|
ValidateIf11((o) => !o.isDraft),
|
|
10567
|
-
|
|
10633
|
+
IsEnum37(JobLocationAdminEnumDto, {
|
|
10568
10634
|
message: `Location must be one of: ${Object.values(JobLocationAdminEnumDto).join(
|
|
10569
10635
|
", "
|
|
10570
10636
|
)}`
|
|
@@ -10572,7 +10638,7 @@ __decorateClass([
|
|
|
10572
10638
|
], AdminJobBasicInformationV2Dto.prototype, "location", 2);
|
|
10573
10639
|
__decorateClass([
|
|
10574
10640
|
ValidateIf11((o) => !o.isDraft),
|
|
10575
|
-
|
|
10641
|
+
IsEnum37(EmploymentTypeAdminEnumDto, {
|
|
10576
10642
|
message: `Type of employment must be one of: ${Object.values(
|
|
10577
10643
|
EmploymentTypeAdminEnumDto
|
|
10578
10644
|
).join(", ")}`
|
|
@@ -10580,7 +10646,7 @@ __decorateClass([
|
|
|
10580
10646
|
], AdminJobBasicInformationV2Dto.prototype, "typeOfEmployment", 2);
|
|
10581
10647
|
__decorateClass([
|
|
10582
10648
|
IsOptional55(),
|
|
10583
|
-
|
|
10649
|
+
IsEnum37(BillingCycleEnumV23, {
|
|
10584
10650
|
message: `Billing cycle must be one of: ${Object.values(BillingCycleEnumV23).join(", ")}`
|
|
10585
10651
|
})
|
|
10586
10652
|
], AdminJobBasicInformationV2Dto.prototype, "billingCycle", 2);
|
|
@@ -10606,7 +10672,7 @@ __decorateClass([
|
|
|
10606
10672
|
], AdminJobBasicInformationV2Dto.prototype, "academicQualification", 2);
|
|
10607
10673
|
__decorateClass([
|
|
10608
10674
|
ValidateIf11((o) => !o.isDraft),
|
|
10609
|
-
|
|
10675
|
+
IsEnum37(typeOfExperienceAdminEnumDto, {
|
|
10610
10676
|
message: `Type of experience must be one of: ${Object.values(
|
|
10611
10677
|
typeOfExperienceAdminEnumDto
|
|
10612
10678
|
).join(", ")}`
|
|
@@ -10690,7 +10756,7 @@ __decorateClass([
|
|
|
10690
10756
|
], AdminJobBasicInformationV2Dto.prototype, "jobRoleCanonicalName", 2);
|
|
10691
10757
|
__decorateClass([
|
|
10692
10758
|
IsOptional55(),
|
|
10693
|
-
|
|
10759
|
+
IsEnum37(AdminStepCompletedEnumV2, {
|
|
10694
10760
|
message: `Type of stepCompleted must be one of: ${Object.values(
|
|
10695
10761
|
AdminStepCompletedEnumV2
|
|
10696
10762
|
).join(", ")}`
|
|
@@ -10704,7 +10770,7 @@ var LEAD_PATTERN = {
|
|
|
10704
10770
|
};
|
|
10705
10771
|
|
|
10706
10772
|
// src/modules/lead/dto/create-lead.dto.ts
|
|
10707
|
-
import { IsString as IsString57, IsEmail as IsEmail20, IsOptional as IsOptional56, IsEnum as
|
|
10773
|
+
import { IsString as IsString57, IsEmail as IsEmail20, IsOptional as IsOptional56, IsEnum as IsEnum38 } from "class-validator";
|
|
10708
10774
|
var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
|
|
10709
10775
|
CategoryEmumDto2["BUSINESS"] = "BUSINESS";
|
|
10710
10776
|
CategoryEmumDto2["FREELANCER"] = "FREELANCER";
|
|
@@ -10729,7 +10795,7 @@ __decorateClass([
|
|
|
10729
10795
|
IsString57({ message: "Description must be a string" })
|
|
10730
10796
|
], CreateLeadDto.prototype, "description", 2);
|
|
10731
10797
|
__decorateClass([
|
|
10732
|
-
|
|
10798
|
+
IsEnum38(CategoryEmumDto, {
|
|
10733
10799
|
message: `Type of category must be one of: ${Object.values(
|
|
10734
10800
|
CategoryEmumDto
|
|
10735
10801
|
).join(", ")}`
|
|
@@ -10891,7 +10957,7 @@ import {
|
|
|
10891
10957
|
ArrayNotEmpty as ArrayNotEmpty13,
|
|
10892
10958
|
IsEmail as IsEmail21,
|
|
10893
10959
|
IsUUID as IsUUID20,
|
|
10894
|
-
IsEnum as
|
|
10960
|
+
IsEnum as IsEnum39,
|
|
10895
10961
|
ValidateIf as ValidateIf12,
|
|
10896
10962
|
ValidateNested as ValidateNested8
|
|
10897
10963
|
} from "class-validator";
|
|
@@ -10909,7 +10975,7 @@ __decorateClass([
|
|
|
10909
10975
|
IsUUID20()
|
|
10910
10976
|
], ExistingCandidateDto.prototype, "id", 2);
|
|
10911
10977
|
__decorateClass([
|
|
10912
|
-
|
|
10978
|
+
IsEnum39(CandidateType, {
|
|
10913
10979
|
message: "type must be one of SHORTLISTED, APPLICATNTS, or RECOMMENDED"
|
|
10914
10980
|
})
|
|
10915
10981
|
], ExistingCandidateDto.prototype, "type", 2);
|
|
@@ -10923,7 +10989,7 @@ __decorateClass([
|
|
|
10923
10989
|
IsEmail21({}, { message: "Please enter a valid email." })
|
|
10924
10990
|
], NewCandidateDto.prototype, "email", 2);
|
|
10925
10991
|
__decorateClass([
|
|
10926
|
-
|
|
10992
|
+
IsEnum39(CandidateType, {
|
|
10927
10993
|
message: "type must be NEW"
|
|
10928
10994
|
})
|
|
10929
10995
|
], NewCandidateDto.prototype, "type", 2);
|
|
@@ -10959,7 +11025,7 @@ import {
|
|
|
10959
11025
|
IsNotEmpty as IsNotEmpty91,
|
|
10960
11026
|
IsArray as IsArray22,
|
|
10961
11027
|
IsUUID as IsUUID21,
|
|
10962
|
-
IsEnum as
|
|
11028
|
+
IsEnum as IsEnum40,
|
|
10963
11029
|
IsEmail as IsEmail22,
|
|
10964
11030
|
ValidateNested as ValidateNested9,
|
|
10965
11031
|
IsOptional as IsOptional60
|
|
@@ -10979,7 +11045,7 @@ __decorateClass([
|
|
|
10979
11045
|
IsNotEmpty91({ message: "Candidate ID is required." })
|
|
10980
11046
|
], ExistingCandidateDto2.prototype, "id", 2);
|
|
10981
11047
|
__decorateClass([
|
|
10982
|
-
|
|
11048
|
+
IsEnum40(InterviewInviteCandidateType, {
|
|
10983
11049
|
message: "Type must be one of SHORTLISTED, APPLICANTS, or RECOMMENDED."
|
|
10984
11050
|
}),
|
|
10985
11051
|
IsNotEmpty91({ message: "Candidate type is required." })
|
|
@@ -10995,7 +11061,7 @@ __decorateClass([
|
|
|
10995
11061
|
IsNotEmpty91({ message: "Email is required." })
|
|
10996
11062
|
], NewCandidateDto2.prototype, "email", 2);
|
|
10997
11063
|
__decorateClass([
|
|
10998
|
-
|
|
11064
|
+
IsEnum40(InterviewInviteCandidateType, {
|
|
10999
11065
|
message: "Type must be NEW for new candidates."
|
|
11000
11066
|
}),
|
|
11001
11067
|
IsNotEmpty91({ message: "Candidate type is required." })
|
|
@@ -11351,7 +11417,7 @@ var CONTRACT_PATTERN = {
|
|
|
11351
11417
|
};
|
|
11352
11418
|
|
|
11353
11419
|
// src/modules/contract/dto/sign-contract-for-client.dto.ts
|
|
11354
|
-
import { IsEnum as
|
|
11420
|
+
import { IsEnum as IsEnum41, IsNotEmpty as IsNotEmpty100, IsNumber as IsNumber21 } from "class-validator";
|
|
11355
11421
|
import { Type as Type21 } from "class-transformer";
|
|
11356
11422
|
var SignContractForClientDto = class {
|
|
11357
11423
|
};
|
|
@@ -11367,11 +11433,11 @@ __decorateClass([
|
|
|
11367
11433
|
], SignContractForClientDto.prototype, "freelancerId", 2);
|
|
11368
11434
|
__decorateClass([
|
|
11369
11435
|
IsNotEmpty100({ message: "Contract type is required." }),
|
|
11370
|
-
|
|
11436
|
+
IsEnum41(ContractTypeEnum)
|
|
11371
11437
|
], SignContractForClientDto.prototype, "contractType", 2);
|
|
11372
11438
|
|
|
11373
11439
|
// src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
|
|
11374
|
-
import { IsEnum as
|
|
11440
|
+
import { IsEnum as IsEnum42, IsNotEmpty as IsNotEmpty101, IsNumber as IsNumber22 } from "class-validator";
|
|
11375
11441
|
import { Type as Type22 } from "class-transformer";
|
|
11376
11442
|
var SignContractForFreelancerDto = class {
|
|
11377
11443
|
};
|
|
@@ -11387,7 +11453,7 @@ __decorateClass([
|
|
|
11387
11453
|
], SignContractForFreelancerDto.prototype, "clientId", 2);
|
|
11388
11454
|
__decorateClass([
|
|
11389
11455
|
IsNotEmpty101({ message: "Contract type is required." }),
|
|
11390
|
-
|
|
11456
|
+
IsEnum42(ContractTypeEnum)
|
|
11391
11457
|
], SignContractForFreelancerDto.prototype, "contractType", 2);
|
|
11392
11458
|
|
|
11393
11459
|
// src/modules/contract/dto/generate-contract.dto.ts
|
|
@@ -11397,7 +11463,7 @@ import {
|
|
|
11397
11463
|
IsOptional as IsOptional71,
|
|
11398
11464
|
IsString as IsString76,
|
|
11399
11465
|
IsUUID as IsUUID25,
|
|
11400
|
-
IsEnum as
|
|
11466
|
+
IsEnum as IsEnum43
|
|
11401
11467
|
} from "class-validator";
|
|
11402
11468
|
var ContractSourceEnum = /* @__PURE__ */ ((ContractSourceEnum3) => {
|
|
11403
11469
|
ContractSourceEnum3["AI_INTERVIEW"] = "AI_INTERVIEW";
|
|
@@ -11428,7 +11494,7 @@ __decorateClass([
|
|
|
11428
11494
|
], GenerateContractDto.prototype, "freelancerId", 2);
|
|
11429
11495
|
__decorateClass([
|
|
11430
11496
|
IsOptional71(),
|
|
11431
|
-
|
|
11497
|
+
IsEnum43(ContractTypeEnumDto, {
|
|
11432
11498
|
message: "Contract type must be one of NDA, MSA, SOW, or WORK."
|
|
11433
11499
|
})
|
|
11434
11500
|
], GenerateContractDto.prototype, "contractType", 2);
|
|
@@ -11446,13 +11512,13 @@ __decorateClass([
|
|
|
11446
11512
|
], GenerateContractDto.prototype, "contractInvoicingCycle", 2);
|
|
11447
11513
|
__decorateClass([
|
|
11448
11514
|
IsNotEmpty102({ message: "Preferred engagement type is required" }),
|
|
11449
|
-
|
|
11515
|
+
IsEnum43(PreferredEngagementTypeEnum, {
|
|
11450
11516
|
message: "Preferred engagement type must be FREELANCE."
|
|
11451
11517
|
})
|
|
11452
11518
|
], GenerateContractDto.prototype, "preferredEngagementType", 2);
|
|
11453
11519
|
__decorateClass([
|
|
11454
11520
|
IsOptional71(),
|
|
11455
|
-
|
|
11521
|
+
IsEnum43(ContractSourceEnum, {
|
|
11456
11522
|
message: "Source must be one of AI_INTERVIEW, F2F_INTERVIEW, or JOB."
|
|
11457
11523
|
})
|
|
11458
11524
|
], GenerateContractDto.prototype, "source", 2);
|
|
@@ -11489,7 +11555,7 @@ __decorateClass([
|
|
|
11489
11555
|
], EscrowFundContractDto.prototype, "contractId", 2);
|
|
11490
11556
|
|
|
11491
11557
|
// src/modules/contract/dto/send-nda-contract-to-freelancer.dto.ts
|
|
11492
|
-
import { IsNotEmpty as IsNotEmpty106, IsOptional as IsOptional72, IsUUID as IsUUID29, IsEnum as
|
|
11558
|
+
import { IsNotEmpty as IsNotEmpty106, IsOptional as IsOptional72, IsUUID as IsUUID29, IsEnum as IsEnum44 } from "class-validator";
|
|
11493
11559
|
var ContractSourceEnum2 = /* @__PURE__ */ ((ContractSourceEnum3) => {
|
|
11494
11560
|
ContractSourceEnum3["AI_INTERVIEW"] = "AI_INTERVIEW";
|
|
11495
11561
|
ContractSourceEnum3["F2F_INTERVIEW"] = "F2F_INTERVIEW";
|
|
@@ -11504,7 +11570,7 @@ __decorateClass([
|
|
|
11504
11570
|
], SendNdaContractToFreelancerDto.prototype, "contractUuid", 2);
|
|
11505
11571
|
__decorateClass([
|
|
11506
11572
|
IsOptional72(),
|
|
11507
|
-
|
|
11573
|
+
IsEnum44(ContractSourceEnum2, {
|
|
11508
11574
|
message: "Source must be one of AI_INTERVIEW, F2F_INTERVIEW, or JOB."
|
|
11509
11575
|
})
|
|
11510
11576
|
], SendNdaContractToFreelancerDto.prototype, "source", 2);
|
|
@@ -11832,12 +11898,12 @@ var INVOICE_PATTERN = {
|
|
|
11832
11898
|
};
|
|
11833
11899
|
|
|
11834
11900
|
// src/modules/invoice/dto/update-invoice-status.dto.ts
|
|
11835
|
-
import { IsEnum as
|
|
11901
|
+
import { IsEnum as IsEnum46, IsNotEmpty as IsNotEmpty118 } from "class-validator";
|
|
11836
11902
|
var UpdateInvoiceStatusDto = class {
|
|
11837
11903
|
};
|
|
11838
11904
|
__decorateClass([
|
|
11839
11905
|
IsNotEmpty118({ message: "Please provide invoice status." }),
|
|
11840
|
-
|
|
11906
|
+
IsEnum46(InvoiceStatusEnum, {
|
|
11841
11907
|
message: "Status must be one of: APPROVED, REJECTED"
|
|
11842
11908
|
})
|
|
11843
11909
|
], UpdateInvoiceStatusDto.prototype, "status", 2);
|
|
@@ -11862,7 +11928,7 @@ var DISPUTE_PATTERN = {
|
|
|
11862
11928
|
import {
|
|
11863
11929
|
IsString as IsString84,
|
|
11864
11930
|
IsNotEmpty as IsNotEmpty120,
|
|
11865
|
-
IsIn as
|
|
11931
|
+
IsIn as IsIn3,
|
|
11866
11932
|
IsOptional as IsOptional79,
|
|
11867
11933
|
MaxLength as MaxLength23,
|
|
11868
11934
|
IsObject as IsObject7,
|
|
@@ -11885,7 +11951,7 @@ __decorateClass([
|
|
|
11885
11951
|
__decorateClass([
|
|
11886
11952
|
IsNotEmpty120({ message: "Please select dispute type." }),
|
|
11887
11953
|
IsString84(),
|
|
11888
|
-
|
|
11954
|
+
IsIn3(["JOB", "INVOICE"])
|
|
11889
11955
|
], CreateDisputeDto.prototype, "disputeType", 2);
|
|
11890
11956
|
__decorateClass([
|
|
11891
11957
|
IsNotEmpty120({ message: "Please provide initiator type." }),
|
|
@@ -12060,7 +12126,7 @@ var HIRING_PATTERN = {
|
|
|
12060
12126
|
};
|
|
12061
12127
|
|
|
12062
12128
|
// src/modules/hiring/dto/create-hiring.dto.ts
|
|
12063
|
-
import { IsEnum as
|
|
12129
|
+
import { IsEnum as IsEnum47, IsNotEmpty as IsNotEmpty128, IsNumber as IsNumber38 } from "class-validator";
|
|
12064
12130
|
var PreferredEngagementTypeEnum2 = /* @__PURE__ */ ((PreferredEngagementTypeEnum3) => {
|
|
12065
12131
|
PreferredEngagementTypeEnum3["FTE"] = "FTE";
|
|
12066
12132
|
PreferredEngagementTypeEnum3["FREELANCE"] = "FREELANCE";
|
|
@@ -12078,7 +12144,7 @@ __decorateClass([
|
|
|
12078
12144
|
], CreateHiringDto.prototype, "jobId", 2);
|
|
12079
12145
|
__decorateClass([
|
|
12080
12146
|
IsNotEmpty128({ message: "Preferred engagement type is required" }),
|
|
12081
|
-
|
|
12147
|
+
IsEnum47(PreferredEngagementTypeEnum2, {
|
|
12082
12148
|
message: "Preferred engagement type must be one of FTE or FREELANCE."
|
|
12083
12149
|
})
|
|
12084
12150
|
], CreateHiringDto.prototype, "preferredEngagementType", 2);
|
|
@@ -13328,7 +13394,7 @@ import {
|
|
|
13328
13394
|
IsArray as IsArray30,
|
|
13329
13395
|
IsBoolean as IsBoolean24,
|
|
13330
13396
|
IsEmail as IsEmail25,
|
|
13331
|
-
IsEnum as
|
|
13397
|
+
IsEnum as IsEnum48,
|
|
13332
13398
|
IsNotEmpty as IsNotEmpty133,
|
|
13333
13399
|
IsNumber as IsNumber42,
|
|
13334
13400
|
IsOptional as IsOptional89,
|
|
@@ -13381,7 +13447,7 @@ __decorateClass([
|
|
|
13381
13447
|
], CreateUserSigningDto.prototype, "sendEmail", 2);
|
|
13382
13448
|
__decorateClass([
|
|
13383
13449
|
IsOptional89(),
|
|
13384
|
-
|
|
13450
|
+
IsEnum48(DocuSealOrderEnum, {
|
|
13385
13451
|
message: "Order must be one of preserved or random."
|
|
13386
13452
|
})
|
|
13387
13453
|
], CreateUserSigningDto.prototype, "order", 2);
|
|
@@ -13751,11 +13817,11 @@ __decorateClass([
|
|
|
13751
13817
|
], UpdateEstimateTimeDto.prototype, "additionalWorkNote", 2);
|
|
13752
13818
|
|
|
13753
13819
|
// src/modules/task/dto/create-task-query.dto.ts
|
|
13754
|
-
import { IsEnum as
|
|
13820
|
+
import { IsEnum as IsEnum49, IsOptional as IsOptional92, IsString as IsString100 } from "class-validator";
|
|
13755
13821
|
var CreateTaskQueryDto = class {
|
|
13756
13822
|
};
|
|
13757
13823
|
__decorateClass([
|
|
13758
|
-
|
|
13824
|
+
IsEnum49(TaskQueryCategoryEnum)
|
|
13759
13825
|
], CreateTaskQueryDto.prototype, "queryCategory", 2);
|
|
13760
13826
|
__decorateClass([
|
|
13761
13827
|
IsOptional92(),
|