@experts_hub/shared 1.0.569 → 1.0.570
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +207 -207
- package/dist/modules/job/dto/create-job-application.dto.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1523,12 +1523,12 @@ __decorateClass([
|
|
|
1523
1523
|
], CloseJobDto.prototype, "reason", 2);
|
|
1524
1524
|
|
|
1525
1525
|
// src/modules/job/dto/create-job-application.dto.ts
|
|
1526
|
-
import { IsBoolean as IsBoolean3, IsNotEmpty as IsNotEmpty33,
|
|
1526
|
+
import { IsBoolean as IsBoolean3, IsNotEmpty as IsNotEmpty33, IsOptional as IsOptional17, IsString as IsString17 } from "class-validator";
|
|
1527
1527
|
var CreateJobApplicationDto = class {
|
|
1528
1528
|
};
|
|
1529
1529
|
__decorateClass([
|
|
1530
1530
|
IsNotEmpty33({ message: "Job ID is required" }),
|
|
1531
|
-
|
|
1531
|
+
IsString17({ message: "Job ID must be a string" })
|
|
1532
1532
|
], CreateJobApplicationDto.prototype, "jobId", 2);
|
|
1533
1533
|
__decorateClass([
|
|
1534
1534
|
IsOptional17(),
|
|
@@ -1555,13 +1555,13 @@ __decorateClass([
|
|
|
1555
1555
|
], ChangeJobApplicationStatusDto.prototype, "status", 2);
|
|
1556
1556
|
|
|
1557
1557
|
// src/modules/job/dto/change-job-application-status-bulk.dto.ts
|
|
1558
|
-
import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray3, IsEnum as IsEnum14, IsNotEmpty as IsNotEmpty35, IsNumber as
|
|
1558
|
+
import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray3, IsEnum as IsEnum14, IsNotEmpty as IsNotEmpty35, IsNumber as IsNumber4 } from "class-validator";
|
|
1559
1559
|
var ChangeJobApplicationStatusBulkDto = class {
|
|
1560
1560
|
};
|
|
1561
1561
|
__decorateClass([
|
|
1562
1562
|
IsArray3({ message: "Job application IDs must be an array" }),
|
|
1563
1563
|
ArrayNotEmpty3({ message: "At least one job application ID is required" }),
|
|
1564
|
-
|
|
1564
|
+
IsNumber4({}, { each: true, message: "Each job application ID must be a number" })
|
|
1565
1565
|
], ChangeJobApplicationStatusBulkDto.prototype, "jobApplicationIds", 2);
|
|
1566
1566
|
__decorateClass([
|
|
1567
1567
|
IsNotEmpty35({ message: "Status is required" }),
|
|
@@ -1613,7 +1613,7 @@ var FREELANCER_ASSESSMENT_REQUEST_PATTERN = {
|
|
|
1613
1613
|
|
|
1614
1614
|
// src/modules/user/freelancer-profile/dto/freelancer-change-password.dto.ts
|
|
1615
1615
|
import {
|
|
1616
|
-
IsString as
|
|
1616
|
+
IsString as IsString18,
|
|
1617
1617
|
IsNotEmpty as IsNotEmpty36,
|
|
1618
1618
|
MaxLength as MaxLength10,
|
|
1619
1619
|
MinLength as MinLength7,
|
|
@@ -1623,11 +1623,11 @@ var FreelancerChangePasswordDto = class {
|
|
|
1623
1623
|
};
|
|
1624
1624
|
__decorateClass([
|
|
1625
1625
|
IsNotEmpty36({ message: "Please enter Old Password." }),
|
|
1626
|
-
|
|
1626
|
+
IsString18()
|
|
1627
1627
|
], FreelancerChangePasswordDto.prototype, "oldPassword", 2);
|
|
1628
1628
|
__decorateClass([
|
|
1629
1629
|
IsNotEmpty36({ message: "Please enter New Password." }),
|
|
1630
|
-
|
|
1630
|
+
IsString18(),
|
|
1631
1631
|
MinLength7(6),
|
|
1632
1632
|
MaxLength10(32),
|
|
1633
1633
|
Matches8(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
@@ -1638,9 +1638,9 @@ __decorateClass([
|
|
|
1638
1638
|
// src/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.ts
|
|
1639
1639
|
import {
|
|
1640
1640
|
IsOptional as IsOptional18,
|
|
1641
|
-
IsString as
|
|
1641
|
+
IsString as IsString19,
|
|
1642
1642
|
IsEmail as IsEmail5,
|
|
1643
|
-
IsNumber as
|
|
1643
|
+
IsNumber as IsNumber5,
|
|
1644
1644
|
IsEnum as IsEnum15,
|
|
1645
1645
|
IsNotEmpty as IsNotEmpty37,
|
|
1646
1646
|
ValidateIf as ValidateIf5,
|
|
@@ -1662,20 +1662,20 @@ var UpdateFreelancerProfileDto = class {
|
|
|
1662
1662
|
};
|
|
1663
1663
|
__decorateClass([
|
|
1664
1664
|
IsNotEmpty37({ message: "Please enter first name." }),
|
|
1665
|
-
|
|
1665
|
+
IsString19({ message: "Please enter valid first name." })
|
|
1666
1666
|
], UpdateFreelancerProfileDto.prototype, "firstName", 2);
|
|
1667
1667
|
__decorateClass([
|
|
1668
1668
|
IsOptional18(),
|
|
1669
1669
|
IsNotEmpty37({ message: "Please enter last name." }),
|
|
1670
|
-
|
|
1670
|
+
IsString19({ message: "Please enter valid last name." })
|
|
1671
1671
|
], UpdateFreelancerProfileDto.prototype, "lastName", 2);
|
|
1672
1672
|
__decorateClass([
|
|
1673
1673
|
IsNotEmpty37({ message: "Please enter designation." }),
|
|
1674
|
-
|
|
1674
|
+
IsString19({ message: "Please enter valid designation." })
|
|
1675
1675
|
], UpdateFreelancerProfileDto.prototype, "designation", 2);
|
|
1676
1676
|
__decorateClass([
|
|
1677
1677
|
IsNotEmpty37({ message: "Please enter experience." }),
|
|
1678
|
-
|
|
1678
|
+
IsString19({ message: "Please enter valid experience." })
|
|
1679
1679
|
], UpdateFreelancerProfileDto.prototype, "experience", 2);
|
|
1680
1680
|
__decorateClass([
|
|
1681
1681
|
IsNotEmpty37({ message: "Please enter email id." }),
|
|
@@ -1683,23 +1683,23 @@ __decorateClass([
|
|
|
1683
1683
|
], UpdateFreelancerProfileDto.prototype, "email", 2);
|
|
1684
1684
|
__decorateClass([
|
|
1685
1685
|
IsNotEmpty37({ message: "Please enter mobile code." }),
|
|
1686
|
-
|
|
1686
|
+
IsString19({ message: "Please enter valid mobile code." })
|
|
1687
1687
|
], UpdateFreelancerProfileDto.prototype, "mobileCode", 2);
|
|
1688
1688
|
__decorateClass([
|
|
1689
1689
|
IsNotEmpty37({ message: "Please enter mobile number." }),
|
|
1690
|
-
|
|
1690
|
+
IsString19({ message: "Please enter valid mobile number." })
|
|
1691
1691
|
], UpdateFreelancerProfileDto.prototype, "mobile", 2);
|
|
1692
1692
|
__decorateClass([
|
|
1693
1693
|
IsOptional18(),
|
|
1694
|
-
|
|
1694
|
+
IsNumber5()
|
|
1695
1695
|
], UpdateFreelancerProfileDto.prototype, "countryId", 2);
|
|
1696
1696
|
__decorateClass([
|
|
1697
1697
|
IsOptional18(),
|
|
1698
|
-
|
|
1698
|
+
IsNumber5()
|
|
1699
1699
|
], UpdateFreelancerProfileDto.prototype, "stateId", 2);
|
|
1700
1700
|
__decorateClass([
|
|
1701
1701
|
IsOptional18(),
|
|
1702
|
-
|
|
1702
|
+
IsNumber5()
|
|
1703
1703
|
], UpdateFreelancerProfileDto.prototype, "cityId", 2);
|
|
1704
1704
|
//@IsString({ message: "Please enter valid expected hourly compensation." })
|
|
1705
1705
|
__decorateClass([
|
|
@@ -1732,43 +1732,43 @@ __decorateClass([
|
|
|
1732
1732
|
], UpdateFreelancerProfileDto.prototype, "modeOfWork", 2);
|
|
1733
1733
|
__decorateClass([
|
|
1734
1734
|
IsOptional18(),
|
|
1735
|
-
|
|
1735
|
+
IsString19()
|
|
1736
1736
|
], UpdateFreelancerProfileDto.prototype, "portfolioLink", 2);
|
|
1737
1737
|
__decorateClass([
|
|
1738
1738
|
IsNotEmpty37({ message: "Please enter address." }),
|
|
1739
|
-
|
|
1739
|
+
IsString19()
|
|
1740
1740
|
], UpdateFreelancerProfileDto.prototype, "address", 2);
|
|
1741
1741
|
__decorateClass([
|
|
1742
1742
|
IsOptional18(),
|
|
1743
|
-
|
|
1743
|
+
IsString19()
|
|
1744
1744
|
], UpdateFreelancerProfileDto.prototype, "addressLine", 2);
|
|
1745
1745
|
__decorateClass([
|
|
1746
1746
|
IsNotEmpty37({ message: "Please enter postalCode." }),
|
|
1747
|
-
|
|
1747
|
+
IsString19()
|
|
1748
1748
|
], UpdateFreelancerProfileDto.prototype, "postalCode", 2);
|
|
1749
1749
|
__decorateClass([
|
|
1750
1750
|
IsOptional18(),
|
|
1751
|
-
|
|
1751
|
+
IsString19()
|
|
1752
1752
|
], UpdateFreelancerProfileDto.prototype, "about", 2);
|
|
1753
1753
|
__decorateClass([
|
|
1754
1754
|
IsOptional18(),
|
|
1755
|
-
|
|
1755
|
+
IsString19()
|
|
1756
1756
|
], UpdateFreelancerProfileDto.prototype, "linkedinProfileLink", 2);
|
|
1757
1757
|
__decorateClass([
|
|
1758
1758
|
IsOptional18(),
|
|
1759
|
-
|
|
1759
|
+
IsString19()
|
|
1760
1760
|
], UpdateFreelancerProfileDto.prototype, "kaggleProfileLink", 2);
|
|
1761
1761
|
__decorateClass([
|
|
1762
1762
|
IsOptional18(),
|
|
1763
|
-
|
|
1763
|
+
IsString19()
|
|
1764
1764
|
], UpdateFreelancerProfileDto.prototype, "githubProfileLink", 2);
|
|
1765
1765
|
__decorateClass([
|
|
1766
1766
|
IsOptional18(),
|
|
1767
|
-
|
|
1767
|
+
IsString19()
|
|
1768
1768
|
], UpdateFreelancerProfileDto.prototype, "stackOverflowProfileLink", 2);
|
|
1769
1769
|
__decorateClass([
|
|
1770
1770
|
IsOptional18(),
|
|
1771
|
-
|
|
1771
|
+
IsString19()
|
|
1772
1772
|
], UpdateFreelancerProfileDto.prototype, "resumeUrl", 2);
|
|
1773
1773
|
|
|
1774
1774
|
// src/modules/bank/pattern/pattern.ts
|
|
@@ -1786,7 +1786,7 @@ import {
|
|
|
1786
1786
|
IsEnum as IsEnum16,
|
|
1787
1787
|
IsNotEmpty as IsNotEmpty38,
|
|
1788
1788
|
IsOptional as IsOptional19,
|
|
1789
|
-
IsString as
|
|
1789
|
+
IsString as IsString20,
|
|
1790
1790
|
ValidateIf as ValidateIf6
|
|
1791
1791
|
} from "class-validator";
|
|
1792
1792
|
var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
|
|
@@ -1819,7 +1819,7 @@ __decorateClass([
|
|
|
1819
1819
|
], FreelancerBankDetailsDto.prototype, "bankName", 2);
|
|
1820
1820
|
__decorateClass([
|
|
1821
1821
|
IsOptional19(),
|
|
1822
|
-
|
|
1822
|
+
IsString20()
|
|
1823
1823
|
], FreelancerBankDetailsDto.prototype, "branchName", 2);
|
|
1824
1824
|
__decorateClass([
|
|
1825
1825
|
ValidateIf6((dto) => dto.accountScope === "DOMESTIC"),
|
|
@@ -1926,7 +1926,7 @@ import {
|
|
|
1926
1926
|
IsInt as IsInt2,
|
|
1927
1927
|
IsNotEmpty as IsNotEmpty39,
|
|
1928
1928
|
IsOptional as IsOptional20,
|
|
1929
|
-
IsString as
|
|
1929
|
+
IsString as IsString21,
|
|
1930
1930
|
Max as Max3,
|
|
1931
1931
|
Min as Min3
|
|
1932
1932
|
} from "class-validator";
|
|
@@ -6741,7 +6741,7 @@ __decorateClass([
|
|
|
6741
6741
|
], CreateRatingDto.prototype, "rating", 2);
|
|
6742
6742
|
__decorateClass([
|
|
6743
6743
|
IsOptional20(),
|
|
6744
|
-
|
|
6744
|
+
IsString21({ message: "Review must be a string" })
|
|
6745
6745
|
], CreateRatingDto.prototype, "review", 2);
|
|
6746
6746
|
|
|
6747
6747
|
// src/modules/company-role/pattern/pattern.ts
|
|
@@ -6821,7 +6821,7 @@ import {
|
|
|
6821
6821
|
ArrayMinSize,
|
|
6822
6822
|
IsNotEmpty as IsNotEmpty42,
|
|
6823
6823
|
IsOptional as IsOptional23,
|
|
6824
|
-
IsString as
|
|
6824
|
+
IsString as IsString24,
|
|
6825
6825
|
MaxLength as MaxLength12,
|
|
6826
6826
|
ValidateNested as ValidateNested2
|
|
6827
6827
|
} from "class-validator";
|
|
@@ -6833,19 +6833,19 @@ __decorateClass([
|
|
|
6833
6833
|
], ExperienceDto.prototype, "uuid", 2);
|
|
6834
6834
|
__decorateClass([
|
|
6835
6835
|
IsNotEmpty42(),
|
|
6836
|
-
|
|
6836
|
+
IsString24()
|
|
6837
6837
|
], ExperienceDto.prototype, "companyName", 2);
|
|
6838
6838
|
__decorateClass([
|
|
6839
6839
|
IsNotEmpty42(),
|
|
6840
|
-
|
|
6840
|
+
IsString24()
|
|
6841
6841
|
], ExperienceDto.prototype, "designation", 2);
|
|
6842
6842
|
__decorateClass([
|
|
6843
6843
|
IsNotEmpty42(),
|
|
6844
|
-
|
|
6844
|
+
IsString24()
|
|
6845
6845
|
], ExperienceDto.prototype, "jobDuration", 2);
|
|
6846
6846
|
__decorateClass([
|
|
6847
6847
|
IsOptional23(),
|
|
6848
|
-
|
|
6848
|
+
IsString24(),
|
|
6849
6849
|
MaxLength12(5e3, { message: "Description must not exceed 5000 characters" })
|
|
6850
6850
|
], ExperienceDto.prototype, "description", 2);
|
|
6851
6851
|
var FreelancerExperienceDto = class {
|
|
@@ -6915,7 +6915,7 @@ var FREELANCER_EDUCATION_PATTERN = {
|
|
|
6915
6915
|
};
|
|
6916
6916
|
|
|
6917
6917
|
// src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
|
|
6918
|
-
import { IsArray as IsArray8, ValidateNested as ValidateNested3, IsString as
|
|
6918
|
+
import { IsArray as IsArray8, ValidateNested as ValidateNested3, IsString as IsString27, IsNotEmpty as IsNotEmpty45, IsOptional as IsOptional26, ArrayMinSize as ArrayMinSize2 } from "class-validator";
|
|
6919
6919
|
import { Type as Type5 } from "class-transformer";
|
|
6920
6920
|
var EducationDto = class {
|
|
6921
6921
|
};
|
|
@@ -6923,15 +6923,15 @@ __decorateClass([
|
|
|
6923
6923
|
IsOptional26()
|
|
6924
6924
|
], EducationDto.prototype, "uuid", 2);
|
|
6925
6925
|
__decorateClass([
|
|
6926
|
-
|
|
6926
|
+
IsString27(),
|
|
6927
6927
|
IsNotEmpty45({ message: "Please Enter Degree " })
|
|
6928
6928
|
], EducationDto.prototype, "degree", 2);
|
|
6929
6929
|
__decorateClass([
|
|
6930
|
-
|
|
6930
|
+
IsString27(),
|
|
6931
6931
|
IsNotEmpty45({ message: "Please Enter University " })
|
|
6932
6932
|
], EducationDto.prototype, "university", 2);
|
|
6933
6933
|
__decorateClass([
|
|
6934
|
-
|
|
6934
|
+
IsString27(),
|
|
6935
6935
|
IsNotEmpty45({ message: "Please Enter Year of Graduation " })
|
|
6936
6936
|
], EducationDto.prototype, "yearOfGraduation", 2);
|
|
6937
6937
|
var FreelancerEducationDto = class {
|
|
@@ -6950,7 +6950,7 @@ var FREELANCER_PROJECT_PATTERN = {
|
|
|
6950
6950
|
};
|
|
6951
6951
|
|
|
6952
6952
|
// src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
|
|
6953
|
-
import { IsArray as IsArray9, ValidateNested as ValidateNested4, IsString as
|
|
6953
|
+
import { IsArray as IsArray9, ValidateNested as ValidateNested4, IsString as IsString28, IsNotEmpty as IsNotEmpty46, IsOptional as IsOptional27, IsDateString, MaxLength as MaxLength14, ArrayMinSize as ArrayMinSize3 } from "class-validator";
|
|
6954
6954
|
import { Type as Type6 } from "class-transformer";
|
|
6955
6955
|
var ProjectDto = class {
|
|
6956
6956
|
};
|
|
@@ -6958,7 +6958,7 @@ __decorateClass([
|
|
|
6958
6958
|
IsOptional27()
|
|
6959
6959
|
], ProjectDto.prototype, "uuid", 2);
|
|
6960
6960
|
__decorateClass([
|
|
6961
|
-
|
|
6961
|
+
IsString28(),
|
|
6962
6962
|
IsNotEmpty46({ message: "Please Enter Project Name " })
|
|
6963
6963
|
], ProjectDto.prototype, "projectName", 2);
|
|
6964
6964
|
__decorateClass([
|
|
@@ -6971,15 +6971,15 @@ __decorateClass([
|
|
|
6971
6971
|
], ProjectDto.prototype, "endDate", 2);
|
|
6972
6972
|
__decorateClass([
|
|
6973
6973
|
IsOptional27(),
|
|
6974
|
-
|
|
6974
|
+
IsString28()
|
|
6975
6975
|
], ProjectDto.prototype, "clientName", 2);
|
|
6976
6976
|
__decorateClass([
|
|
6977
6977
|
IsOptional27(),
|
|
6978
|
-
|
|
6978
|
+
IsString28()
|
|
6979
6979
|
], ProjectDto.prototype, "gitLink", 2);
|
|
6980
6980
|
__decorateClass([
|
|
6981
6981
|
IsOptional27(),
|
|
6982
|
-
|
|
6982
|
+
IsString28(),
|
|
6983
6983
|
MaxLength14(5e3, { message: "Description must not exceed 5000 characters" })
|
|
6984
6984
|
], ProjectDto.prototype, "description", 2);
|
|
6985
6985
|
var CaseStudyDto = class {
|
|
@@ -6988,16 +6988,16 @@ __decorateClass([
|
|
|
6988
6988
|
IsOptional27()
|
|
6989
6989
|
], CaseStudyDto.prototype, "uuid", 2);
|
|
6990
6990
|
__decorateClass([
|
|
6991
|
-
|
|
6991
|
+
IsString28(),
|
|
6992
6992
|
IsNotEmpty46({ message: "Please Enter Project Name " })
|
|
6993
6993
|
], CaseStudyDto.prototype, "projectName", 2);
|
|
6994
6994
|
__decorateClass([
|
|
6995
6995
|
IsOptional27(),
|
|
6996
|
-
|
|
6996
|
+
IsString28()
|
|
6997
6997
|
], CaseStudyDto.prototype, "caseStudyLink", 2);
|
|
6998
6998
|
__decorateClass([
|
|
6999
6999
|
IsOptional27(),
|
|
7000
|
-
|
|
7000
|
+
IsString28(),
|
|
7001
7001
|
MaxLength14(5e3, { message: "Description must not exceed 5000 characters" })
|
|
7002
7002
|
], CaseStudyDto.prototype, "description", 2);
|
|
7003
7003
|
var FreelancerProjectDto = class {
|
|
@@ -7027,7 +7027,7 @@ var FREELANCER_SKILL_PATTERN = {
|
|
|
7027
7027
|
};
|
|
7028
7028
|
|
|
7029
7029
|
// src/modules/user/freelancer-skill/dto/freelancer-skill.dto.ts
|
|
7030
|
-
import { IsArray as IsArray10, IsString as
|
|
7030
|
+
import { IsArray as IsArray10, IsString as IsString29, IsOptional as IsOptional28 } from "class-validator";
|
|
7031
7031
|
import { Type as Type7 } from "class-transformer";
|
|
7032
7032
|
var FreelancerSkillDto = class {
|
|
7033
7033
|
constructor() {
|
|
@@ -7041,25 +7041,25 @@ __decorateClass([
|
|
|
7041
7041
|
IsOptional28(),
|
|
7042
7042
|
IsArray10(),
|
|
7043
7043
|
Type7(() => String),
|
|
7044
|
-
|
|
7044
|
+
IsString29({ each: true })
|
|
7045
7045
|
], FreelancerSkillDto.prototype, "coreSkills", 2);
|
|
7046
7046
|
__decorateClass([
|
|
7047
7047
|
IsOptional28(),
|
|
7048
7048
|
IsArray10(),
|
|
7049
7049
|
Type7(() => String),
|
|
7050
|
-
|
|
7050
|
+
IsString29({ each: true })
|
|
7051
7051
|
], FreelancerSkillDto.prototype, "secondarySkills", 2);
|
|
7052
7052
|
__decorateClass([
|
|
7053
7053
|
IsOptional28(),
|
|
7054
7054
|
IsArray10(),
|
|
7055
7055
|
Type7(() => String),
|
|
7056
|
-
|
|
7056
|
+
IsString29({ each: true })
|
|
7057
7057
|
], FreelancerSkillDto.prototype, "tools", 2);
|
|
7058
7058
|
__decorateClass([
|
|
7059
7059
|
IsOptional28(),
|
|
7060
7060
|
IsArray10(),
|
|
7061
7061
|
Type7(() => String),
|
|
7062
|
-
|
|
7062
|
+
IsString29({ each: true })
|
|
7063
7063
|
], FreelancerSkillDto.prototype, "frameworks", 2);
|
|
7064
7064
|
|
|
7065
7065
|
// src/modules/freelancer-admin/pattern/pattern.ts
|
|
@@ -7086,12 +7086,12 @@ var ADMIN_FREELANCER_PATTERN = {
|
|
|
7086
7086
|
|
|
7087
7087
|
// src/modules/freelancer-admin/dto/create-freelancer.dto.ts
|
|
7088
7088
|
import {
|
|
7089
|
-
IsString as
|
|
7089
|
+
IsString as IsString30,
|
|
7090
7090
|
IsEmail as IsEmail10,
|
|
7091
7091
|
IsBoolean as IsBoolean11,
|
|
7092
7092
|
IsOptional as IsOptional29,
|
|
7093
7093
|
IsEnum as IsEnum19,
|
|
7094
|
-
IsNumber as
|
|
7094
|
+
IsNumber as IsNumber6,
|
|
7095
7095
|
IsUrl as IsUrl3,
|
|
7096
7096
|
Min as Min4,
|
|
7097
7097
|
MaxLength as MaxLength16,
|
|
@@ -7123,17 +7123,17 @@ var ModeOfWorkEnum = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
|
|
|
7123
7123
|
var CreateFreelancerDto = class {
|
|
7124
7124
|
};
|
|
7125
7125
|
__decorateClass([
|
|
7126
|
-
|
|
7126
|
+
IsString30({ message: "Full name must be a string" }),
|
|
7127
7127
|
MaxLength16(100, { message: "Full name must not exceed 100 characters" })
|
|
7128
7128
|
], CreateFreelancerDto.prototype, "fullName", 2);
|
|
7129
7129
|
__decorateClass([
|
|
7130
7130
|
IsEmail10({}, { message: "Invalid email address" })
|
|
7131
7131
|
], CreateFreelancerDto.prototype, "email", 2);
|
|
7132
7132
|
__decorateClass([
|
|
7133
|
-
|
|
7133
|
+
IsString30({ message: "Mobile code must be a string (e.g., +1)" })
|
|
7134
7134
|
], CreateFreelancerDto.prototype, "mobileCode", 2);
|
|
7135
7135
|
__decorateClass([
|
|
7136
|
-
|
|
7136
|
+
IsString30({ message: "Mobile must be a string (e.g., 1243253534)" })
|
|
7137
7137
|
], CreateFreelancerDto.prototype, "mobile", 2);
|
|
7138
7138
|
__decorateClass([
|
|
7139
7139
|
IsNotEmpty48({ message: "Please enter password." }),
|
|
@@ -7159,7 +7159,7 @@ __decorateClass([
|
|
|
7159
7159
|
})
|
|
7160
7160
|
], CreateFreelancerDto.prototype, "natureOfWork", 2);
|
|
7161
7161
|
__decorateClass([
|
|
7162
|
-
|
|
7162
|
+
IsNumber6({}, { message: "Expected hourly compensation must be a number" }),
|
|
7163
7163
|
Min4(0, { message: "Expected hourly compensation must be 0 or more" }),
|
|
7164
7164
|
Type8(() => Number)
|
|
7165
7165
|
], CreateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
|
|
@@ -7193,7 +7193,7 @@ __decorateClass([
|
|
|
7193
7193
|
], CreateFreelancerDto.prototype, "linkedinProfileLink", 2);
|
|
7194
7194
|
__decorateClass([
|
|
7195
7195
|
IsOptional29(),
|
|
7196
|
-
|
|
7196
|
+
IsString30({ message: "Kaggle profile link must be a string" })
|
|
7197
7197
|
], CreateFreelancerDto.prototype, "kaggleProfileLink", 2);
|
|
7198
7198
|
__decorateClass([
|
|
7199
7199
|
IsOptional29(),
|
|
@@ -7210,12 +7210,12 @@ __decorateClass([
|
|
|
7210
7210
|
|
|
7211
7211
|
// src/modules/freelancer-admin/dto/update-freelancer.dto.ts
|
|
7212
7212
|
import {
|
|
7213
|
-
IsString as
|
|
7213
|
+
IsString as IsString31,
|
|
7214
7214
|
IsEmail as IsEmail11,
|
|
7215
7215
|
IsBoolean as IsBoolean12,
|
|
7216
7216
|
IsOptional as IsOptional30,
|
|
7217
7217
|
IsEnum as IsEnum20,
|
|
7218
|
-
IsNumber as
|
|
7218
|
+
IsNumber as IsNumber7,
|
|
7219
7219
|
IsUrl as IsUrl4,
|
|
7220
7220
|
Min as Min5,
|
|
7221
7221
|
MaxLength as MaxLength17,
|
|
@@ -7242,7 +7242,7 @@ var UpdateFreelancerDto = class {
|
|
|
7242
7242
|
};
|
|
7243
7243
|
__decorateClass([
|
|
7244
7244
|
IsOptional30(),
|
|
7245
|
-
|
|
7245
|
+
IsString31({ message: "Full name must be a string" }),
|
|
7246
7246
|
MaxLength17(100, { message: "Full name must not exceed 100 characters" })
|
|
7247
7247
|
], UpdateFreelancerDto.prototype, "fullName", 2);
|
|
7248
7248
|
__decorateClass([
|
|
@@ -7251,11 +7251,11 @@ __decorateClass([
|
|
|
7251
7251
|
], UpdateFreelancerDto.prototype, "email", 2);
|
|
7252
7252
|
__decorateClass([
|
|
7253
7253
|
IsOptional30(),
|
|
7254
|
-
|
|
7254
|
+
IsString31({ message: "Mobile code must be a string (e.g., +1)" })
|
|
7255
7255
|
], UpdateFreelancerDto.prototype, "mobileCode", 2);
|
|
7256
7256
|
__decorateClass([
|
|
7257
7257
|
IsOptional30(),
|
|
7258
|
-
|
|
7258
|
+
IsString31({ message: "Mobile must be a string (e.g., 1243253534)" })
|
|
7259
7259
|
], UpdateFreelancerDto.prototype, "mobile", 2);
|
|
7260
7260
|
__decorateClass([
|
|
7261
7261
|
IsOptional30(),
|
|
@@ -7281,7 +7281,7 @@ __decorateClass([
|
|
|
7281
7281
|
], UpdateFreelancerDto.prototype, "natureOfWork", 2);
|
|
7282
7282
|
__decorateClass([
|
|
7283
7283
|
IsOptional30(),
|
|
7284
|
-
|
|
7284
|
+
IsNumber7({}, { message: "Expected hourly compensation must be a number" }),
|
|
7285
7285
|
Min5(0, { message: "Expected hourly compensation must be 0 or more" }),
|
|
7286
7286
|
Type9(() => Number)
|
|
7287
7287
|
], UpdateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
|
|
@@ -7319,7 +7319,7 @@ __decorateClass([
|
|
|
7319
7319
|
], UpdateFreelancerDto.prototype, "linkedinProfileLink", 2);
|
|
7320
7320
|
__decorateClass([
|
|
7321
7321
|
IsOptional30(),
|
|
7322
|
-
|
|
7322
|
+
IsString31({ message: "Kaggle profile link must be a string" })
|
|
7323
7323
|
], UpdateFreelancerDto.prototype, "kaggleProfileLink", 2);
|
|
7324
7324
|
__decorateClass([
|
|
7325
7325
|
IsOptional30(),
|
|
@@ -7352,7 +7352,7 @@ import {
|
|
|
7352
7352
|
IsNotEmpty as IsNotEmpty50,
|
|
7353
7353
|
IsEmail as IsEmail12,
|
|
7354
7354
|
IsOptional as IsOptional31,
|
|
7355
|
-
IsString as
|
|
7355
|
+
IsString as IsString32,
|
|
7356
7356
|
IsArray as IsArray11,
|
|
7357
7357
|
MinLength as MinLength14,
|
|
7358
7358
|
MaxLength as MaxLength18,
|
|
@@ -7375,11 +7375,11 @@ var CreateClientDto = class {
|
|
|
7375
7375
|
};
|
|
7376
7376
|
__decorateClass([
|
|
7377
7377
|
IsNotEmpty50({ message: "Please enter first name." }),
|
|
7378
|
-
|
|
7378
|
+
IsString32()
|
|
7379
7379
|
], CreateClientDto.prototype, "firstName", 2);
|
|
7380
7380
|
__decorateClass([
|
|
7381
7381
|
IsNotEmpty50({ message: "Please enter last name." }),
|
|
7382
|
-
|
|
7382
|
+
IsString32()
|
|
7383
7383
|
], CreateClientDto.prototype, "lastName", 2);
|
|
7384
7384
|
__decorateClass([
|
|
7385
7385
|
IsNotEmpty50({ message: "Please enter email." }),
|
|
@@ -7399,7 +7399,7 @@ __decorateClass([
|
|
|
7399
7399
|
], CreateClientDto.prototype, "confirmPassword", 2);
|
|
7400
7400
|
__decorateClass([
|
|
7401
7401
|
IsNotEmpty50({ message: "Please enter company name." }),
|
|
7402
|
-
|
|
7402
|
+
IsString32()
|
|
7403
7403
|
], CreateClientDto.prototype, "companyName", 2);
|
|
7404
7404
|
__decorateClass([
|
|
7405
7405
|
IsArray11({ message: "Skills should be an array." }),
|
|
@@ -7407,7 +7407,7 @@ __decorateClass([
|
|
|
7407
7407
|
], CreateClientDto.prototype, "skills", 2);
|
|
7408
7408
|
__decorateClass([
|
|
7409
7409
|
IsNotEmpty50({ message: "Please specify required freelancer count." }),
|
|
7410
|
-
|
|
7410
|
+
IsString32()
|
|
7411
7411
|
], CreateClientDto.prototype, "requiredFreelancer", 2);
|
|
7412
7412
|
__decorateClass([
|
|
7413
7413
|
IsNotEmpty50({ message: "Please specify the kind of hiring." }),
|
|
@@ -7419,28 +7419,28 @@ __decorateClass([
|
|
|
7419
7419
|
], CreateClientDto.prototype, "modeOfHire", 2);
|
|
7420
7420
|
__decorateClass([
|
|
7421
7421
|
IsNotEmpty50({ message: "Please let us know how you found us." }),
|
|
7422
|
-
|
|
7422
|
+
IsString32()
|
|
7423
7423
|
], CreateClientDto.prototype, "foundUsOn", 2);
|
|
7424
7424
|
__decorateClass([
|
|
7425
7425
|
IsOptional31(),
|
|
7426
|
-
|
|
7426
|
+
IsString32()
|
|
7427
7427
|
], CreateClientDto.prototype, "foundUsOnDetail", 2);
|
|
7428
7428
|
__decorateClass([
|
|
7429
7429
|
IsOptional31(),
|
|
7430
|
-
|
|
7430
|
+
IsString32()
|
|
7431
7431
|
], CreateClientDto.prototype, "hiringCommisionTypeForFte", 2);
|
|
7432
7432
|
__decorateClass([
|
|
7433
7433
|
IsOptional31(),
|
|
7434
|
-
|
|
7434
|
+
IsString32()
|
|
7435
7435
|
], CreateClientDto.prototype, "hiringCommissionValueForFte", 2);
|
|
7436
7436
|
|
|
7437
7437
|
// src/modules/client-admin/dto/update-client-status.dto.ts
|
|
7438
|
-
import { IsString as
|
|
7438
|
+
import { IsString as IsString33, IsNotEmpty as IsNotEmpty51 } from "class-validator";
|
|
7439
7439
|
var UpdateClientAccountStatusDto = class {
|
|
7440
7440
|
};
|
|
7441
7441
|
__decorateClass([
|
|
7442
7442
|
IsNotEmpty51({ message: "Please enter account status." }),
|
|
7443
|
-
|
|
7443
|
+
IsString33()
|
|
7444
7444
|
], UpdateClientAccountStatusDto.prototype, "accountStatus", 2);
|
|
7445
7445
|
|
|
7446
7446
|
// src/modules/client-admin/dto/update-client.dto.ts
|
|
@@ -7449,7 +7449,7 @@ import {
|
|
|
7449
7449
|
IsNotEmpty as IsNotEmpty52,
|
|
7450
7450
|
IsEmail as IsEmail13,
|
|
7451
7451
|
IsOptional as IsOptional32,
|
|
7452
|
-
IsString as
|
|
7452
|
+
IsString as IsString34,
|
|
7453
7453
|
IsArray as IsArray12,
|
|
7454
7454
|
MinLength as MinLength15,
|
|
7455
7455
|
MaxLength as MaxLength19,
|
|
@@ -7472,11 +7472,11 @@ var UpdateClientDto = class {
|
|
|
7472
7472
|
};
|
|
7473
7473
|
__decorateClass([
|
|
7474
7474
|
IsNotEmpty52({ message: "Please enter first name." }),
|
|
7475
|
-
|
|
7475
|
+
IsString34()
|
|
7476
7476
|
], UpdateClientDto.prototype, "firstName", 2);
|
|
7477
7477
|
__decorateClass([
|
|
7478
7478
|
IsNotEmpty52({ message: "Please enter last name." }),
|
|
7479
|
-
|
|
7479
|
+
IsString34()
|
|
7480
7480
|
], UpdateClientDto.prototype, "lastName", 2);
|
|
7481
7481
|
__decorateClass([
|
|
7482
7482
|
IsNotEmpty52({ message: "Please enter email." }),
|
|
@@ -7493,7 +7493,7 @@ __decorateClass([
|
|
|
7493
7493
|
], UpdateClientDto.prototype, "password", 2);
|
|
7494
7494
|
__decorateClass([
|
|
7495
7495
|
IsNotEmpty52({ message: "Please enter company name." }),
|
|
7496
|
-
|
|
7496
|
+
IsString34()
|
|
7497
7497
|
], UpdateClientDto.prototype, "companyName", 2);
|
|
7498
7498
|
__decorateClass([
|
|
7499
7499
|
IsArray12({ message: "Skills should be an array." }),
|
|
@@ -7501,7 +7501,7 @@ __decorateClass([
|
|
|
7501
7501
|
], UpdateClientDto.prototype, "skills", 2);
|
|
7502
7502
|
__decorateClass([
|
|
7503
7503
|
IsNotEmpty52({ message: "Please specify required freelancer count." }),
|
|
7504
|
-
|
|
7504
|
+
IsString34()
|
|
7505
7505
|
], UpdateClientDto.prototype, "requiredFreelancer", 2);
|
|
7506
7506
|
__decorateClass([
|
|
7507
7507
|
IsNotEmpty52({ message: "Please specify the kind of hiring." }),
|
|
@@ -7513,19 +7513,19 @@ __decorateClass([
|
|
|
7513
7513
|
], UpdateClientDto.prototype, "modeOfHire", 2);
|
|
7514
7514
|
__decorateClass([
|
|
7515
7515
|
IsNotEmpty52({ message: "Please let us know how you found us." }),
|
|
7516
|
-
|
|
7516
|
+
IsString34()
|
|
7517
7517
|
], UpdateClientDto.prototype, "foundUsOn", 2);
|
|
7518
7518
|
__decorateClass([
|
|
7519
7519
|
IsOptional32(),
|
|
7520
|
-
|
|
7520
|
+
IsString34()
|
|
7521
7521
|
], UpdateClientDto.prototype, "foundUsOnDetail", 2);
|
|
7522
7522
|
__decorateClass([
|
|
7523
7523
|
IsOptional32(),
|
|
7524
|
-
|
|
7524
|
+
IsString34()
|
|
7525
7525
|
], UpdateClientDto.prototype, "hiringCommisionTypeForFte", 2);
|
|
7526
7526
|
__decorateClass([
|
|
7527
7527
|
IsOptional32(),
|
|
7528
|
-
|
|
7528
|
+
IsString34()
|
|
7529
7529
|
], UpdateClientDto.prototype, "hiringCommissionValueForFte", 2);
|
|
7530
7530
|
|
|
7531
7531
|
// src/modules/user/freelancer-declaration/pattern/pattern.ts
|
|
@@ -7535,7 +7535,7 @@ var FREELANCER_DECLARATION_PATTERN = {
|
|
|
7535
7535
|
};
|
|
7536
7536
|
|
|
7537
7537
|
// src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
|
|
7538
|
-
import { IsOptional as IsOptional33, IsEnum as IsEnum23, IsString as
|
|
7538
|
+
import { IsOptional as IsOptional33, IsEnum as IsEnum23, IsString as IsString35, IsNotEmpty as IsNotEmpty53, IsIn as IsIn3 } from "class-validator";
|
|
7539
7539
|
var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
|
|
7540
7540
|
DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
|
|
7541
7541
|
DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
|
|
@@ -7547,14 +7547,14 @@ var FreelancerDeclarationDto = class {
|
|
|
7547
7547
|
};
|
|
7548
7548
|
__decorateClass([
|
|
7549
7549
|
IsOptional33(),
|
|
7550
|
-
|
|
7550
|
+
IsString35({ message: "UUID must be a string" })
|
|
7551
7551
|
], FreelancerDeclarationDto.prototype, "uuid", 2);
|
|
7552
7552
|
__decorateClass([
|
|
7553
7553
|
IsEnum23(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
|
|
7554
7554
|
], FreelancerDeclarationDto.prototype, "documentType", 2);
|
|
7555
7555
|
__decorateClass([
|
|
7556
7556
|
IsNotEmpty53({ message: "Please accept the declaration " }),
|
|
7557
|
-
|
|
7557
|
+
IsString35(),
|
|
7558
7558
|
IsIn3([
|
|
7559
7559
|
"true"
|
|
7560
7560
|
])
|
|
@@ -7643,7 +7643,7 @@ var ADMIN_JOB_PATTERN = {
|
|
|
7643
7643
|
// src/modules/job-admin/dto/admin-create-job-information.dto.ts
|
|
7644
7644
|
import { Type as Type10 } from "class-transformer";
|
|
7645
7645
|
import {
|
|
7646
|
-
IsString as
|
|
7646
|
+
IsString as IsString36,
|
|
7647
7647
|
IsEnum as IsEnum24,
|
|
7648
7648
|
IsInt as IsInt9,
|
|
7649
7649
|
IsOptional as IsOptional36,
|
|
@@ -7652,7 +7652,7 @@ import {
|
|
|
7652
7652
|
IsNotEmpty as IsNotEmpty56,
|
|
7653
7653
|
ArrayNotEmpty as ArrayNotEmpty8,
|
|
7654
7654
|
Min as Min6,
|
|
7655
|
-
IsNumber as
|
|
7655
|
+
IsNumber as IsNumber8
|
|
7656
7656
|
} from "class-validator";
|
|
7657
7657
|
var JobLocationEnumDto = /* @__PURE__ */ ((JobLocationEnumDto2) => {
|
|
7658
7658
|
JobLocationEnumDto2["ONSITE"] = "ONSITE";
|
|
@@ -7669,17 +7669,17 @@ var TypeOfEmploymentEnumDto = /* @__PURE__ */ ((TypeOfEmploymentEnumDto2) => {
|
|
|
7669
7669
|
var AdminCreateJobInformationDto = class {
|
|
7670
7670
|
};
|
|
7671
7671
|
__decorateClass([
|
|
7672
|
-
|
|
7672
|
+
IsString36({ message: "Job role must be a string." }),
|
|
7673
7673
|
IsNotEmpty56({ message: "Job role is required." })
|
|
7674
7674
|
], AdminCreateJobInformationDto.prototype, "jobRole", 2);
|
|
7675
7675
|
__decorateClass([
|
|
7676
7676
|
IsOptional36(),
|
|
7677
|
-
|
|
7677
|
+
IsString36({ message: "Note must be a string." })
|
|
7678
7678
|
], AdminCreateJobInformationDto.prototype, "note", 2);
|
|
7679
7679
|
__decorateClass([
|
|
7680
7680
|
IsArray13({ message: "Skills must be an array of skill names." }),
|
|
7681
7681
|
ArrayNotEmpty8({ message: "At least one skill must be provided." }),
|
|
7682
|
-
|
|
7682
|
+
IsString36({ each: true, message: "Each skill must be a valid string." })
|
|
7683
7683
|
], AdminCreateJobInformationDto.prototype, "skills", 2);
|
|
7684
7684
|
__decorateClass([
|
|
7685
7685
|
IsInt9({ message: "Openings must be a valid integer." }),
|
|
@@ -7700,24 +7700,24 @@ __decorateClass([
|
|
|
7700
7700
|
})
|
|
7701
7701
|
], AdminCreateJobInformationDto.prototype, "typeOfEmployment", 2);
|
|
7702
7702
|
__decorateClass([
|
|
7703
|
-
|
|
7703
|
+
IsString36({ message: "Onboarding Days must be a string." }),
|
|
7704
7704
|
IsNotEmpty56({ message: "Onboarding Days is required." })
|
|
7705
7705
|
], AdminCreateJobInformationDto.prototype, "onboardingTat", 2);
|
|
7706
7706
|
__decorateClass([
|
|
7707
|
-
|
|
7707
|
+
IsString36({ message: "Communication skills must be a string." }),
|
|
7708
7708
|
IsNotEmpty56({ message: "Communication skills are required." })
|
|
7709
7709
|
], AdminCreateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
|
|
7710
7710
|
__decorateClass([
|
|
7711
|
-
|
|
7711
|
+
IsString36({ message: "Currency must be a string." }),
|
|
7712
7712
|
IsNotEmpty56({ message: "Currency is required." })
|
|
7713
7713
|
], AdminCreateJobInformationDto.prototype, "currency", 2);
|
|
7714
7714
|
__decorateClass([
|
|
7715
7715
|
Type10(() => Number),
|
|
7716
|
-
|
|
7716
|
+
IsNumber8({}, { message: "Expected salary from must be a number." })
|
|
7717
7717
|
], AdminCreateJobInformationDto.prototype, "expectedSalaryFrom", 2);
|
|
7718
7718
|
__decorateClass([
|
|
7719
7719
|
Type10(() => Number),
|
|
7720
|
-
|
|
7720
|
+
IsNumber8({}, { message: "Expected salary to must be a number." })
|
|
7721
7721
|
], AdminCreateJobInformationDto.prototype, "expectedSalaryTo", 2);
|
|
7722
7722
|
__decorateClass([
|
|
7723
7723
|
IsDateString4(
|
|
@@ -7733,7 +7733,7 @@ __decorateClass([
|
|
|
7733
7733
|
], AdminCreateJobInformationDto.prototype, "tentativeEndDate", 2);
|
|
7734
7734
|
__decorateClass([
|
|
7735
7735
|
IsOptional36(),
|
|
7736
|
-
|
|
7736
|
+
IsString36({ message: "Additional comment must be a string." })
|
|
7737
7737
|
], AdminCreateJobInformationDto.prototype, "additionalComment", 2);
|
|
7738
7738
|
__decorateClass([
|
|
7739
7739
|
IsOptional36(),
|
|
@@ -7754,7 +7754,7 @@ __decorateClass([
|
|
|
7754
7754
|
// src/modules/job-admin/dto/admin-update-job-information.dto.ts
|
|
7755
7755
|
import { Type as Type11 } from "class-transformer";
|
|
7756
7756
|
import {
|
|
7757
|
-
IsString as
|
|
7757
|
+
IsString as IsString37,
|
|
7758
7758
|
IsEnum as IsEnum25,
|
|
7759
7759
|
IsInt as IsInt10,
|
|
7760
7760
|
IsOptional as IsOptional37,
|
|
@@ -7763,7 +7763,7 @@ import {
|
|
|
7763
7763
|
IsNotEmpty as IsNotEmpty57,
|
|
7764
7764
|
ArrayNotEmpty as ArrayNotEmpty9,
|
|
7765
7765
|
Min as Min7,
|
|
7766
|
-
IsNumber as
|
|
7766
|
+
IsNumber as IsNumber9
|
|
7767
7767
|
} from "class-validator";
|
|
7768
7768
|
var JobLocationEnums = /* @__PURE__ */ ((JobLocationEnums2) => {
|
|
7769
7769
|
JobLocationEnums2["ONSITE"] = "ONSITE";
|
|
@@ -7780,17 +7780,17 @@ var TypeOfEmploymentEnums = /* @__PURE__ */ ((TypeOfEmploymentEnums2) => {
|
|
|
7780
7780
|
var AdminUpdateJobInformationDto = class {
|
|
7781
7781
|
};
|
|
7782
7782
|
__decorateClass([
|
|
7783
|
-
|
|
7783
|
+
IsString37({ message: "Job role must be a string." }),
|
|
7784
7784
|
IsNotEmpty57({ message: "Job role is required." })
|
|
7785
7785
|
], AdminUpdateJobInformationDto.prototype, "jobRole", 2);
|
|
7786
7786
|
__decorateClass([
|
|
7787
7787
|
IsOptional37(),
|
|
7788
|
-
|
|
7788
|
+
IsString37({ message: "Note must be a string." })
|
|
7789
7789
|
], AdminUpdateJobInformationDto.prototype, "note", 2);
|
|
7790
7790
|
__decorateClass([
|
|
7791
7791
|
IsArray14({ message: "Skills must be an array of skill names." }),
|
|
7792
7792
|
ArrayNotEmpty9({ message: "At least one skill must be provided." }),
|
|
7793
|
-
|
|
7793
|
+
IsString37({ each: true, message: "Each skill must be a valid string." })
|
|
7794
7794
|
], AdminUpdateJobInformationDto.prototype, "skills", 2);
|
|
7795
7795
|
__decorateClass([
|
|
7796
7796
|
IsInt10({ message: "Openings must be a valid integer." }),
|
|
@@ -7811,24 +7811,24 @@ __decorateClass([
|
|
|
7811
7811
|
})
|
|
7812
7812
|
], AdminUpdateJobInformationDto.prototype, "typeOfEmployment", 2);
|
|
7813
7813
|
__decorateClass([
|
|
7814
|
-
|
|
7814
|
+
IsString37({ message: "Onboarding Days must be a string." }),
|
|
7815
7815
|
IsNotEmpty57({ message: "Onboarding Days is required." })
|
|
7816
7816
|
], AdminUpdateJobInformationDto.prototype, "onboardingTat", 2);
|
|
7817
7817
|
__decorateClass([
|
|
7818
|
-
|
|
7818
|
+
IsString37({ message: "Communication skills must be a string." }),
|
|
7819
7819
|
IsNotEmpty57({ message: "Communication skills are required." })
|
|
7820
7820
|
], AdminUpdateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
|
|
7821
7821
|
__decorateClass([
|
|
7822
|
-
|
|
7822
|
+
IsString37({ message: "Currency must be a string." }),
|
|
7823
7823
|
IsNotEmpty57({ message: "Currency is required." })
|
|
7824
7824
|
], AdminUpdateJobInformationDto.prototype, "currency", 2);
|
|
7825
7825
|
__decorateClass([
|
|
7826
7826
|
Type11(() => Number),
|
|
7827
|
-
|
|
7827
|
+
IsNumber9({}, { message: "Expected salary from must be a number." })
|
|
7828
7828
|
], AdminUpdateJobInformationDto.prototype, "expectedSalaryFrom", 2);
|
|
7829
7829
|
__decorateClass([
|
|
7830
7830
|
Type11(() => Number),
|
|
7831
|
-
|
|
7831
|
+
IsNumber9({}, { message: "Expected salary to must be a number." })
|
|
7832
7832
|
], AdminUpdateJobInformationDto.prototype, "expectedSalaryTo", 2);
|
|
7833
7833
|
__decorateClass([
|
|
7834
7834
|
IsDateString5(
|
|
@@ -7844,7 +7844,7 @@ __decorateClass([
|
|
|
7844
7844
|
], AdminUpdateJobInformationDto.prototype, "tentativeEndDate", 2);
|
|
7845
7845
|
__decorateClass([
|
|
7846
7846
|
IsOptional37(),
|
|
7847
|
-
|
|
7847
|
+
IsString37({ message: "Additional comment must be a string." })
|
|
7848
7848
|
], AdminUpdateJobInformationDto.prototype, "additionalComment", 2);
|
|
7849
7849
|
__decorateClass([
|
|
7850
7850
|
IsOptional37(),
|
|
@@ -7864,11 +7864,11 @@ __decorateClass([
|
|
|
7864
7864
|
|
|
7865
7865
|
// src/modules/job-admin/dto/admin-job-basic-information-v2.dto.ts
|
|
7866
7866
|
import {
|
|
7867
|
-
IsString as
|
|
7867
|
+
IsString as IsString38,
|
|
7868
7868
|
IsNotEmpty as IsNotEmpty58,
|
|
7869
7869
|
IsArray as IsArray15,
|
|
7870
7870
|
ArrayNotEmpty as ArrayNotEmpty10,
|
|
7871
|
-
IsNumber as
|
|
7871
|
+
IsNumber as IsNumber10,
|
|
7872
7872
|
IsOptional as IsOptional38,
|
|
7873
7873
|
IsEnum as IsEnum26,
|
|
7874
7874
|
Min as Min8,
|
|
@@ -7907,15 +7907,15 @@ var JobLocationAdminDto = class {
|
|
|
7907
7907
|
};
|
|
7908
7908
|
__decorateClass([
|
|
7909
7909
|
IsOptional38(),
|
|
7910
|
-
|
|
7910
|
+
IsNumber10()
|
|
7911
7911
|
], JobLocationAdminDto.prototype, "countryId", 2);
|
|
7912
7912
|
__decorateClass([
|
|
7913
7913
|
IsOptional38(),
|
|
7914
|
-
|
|
7914
|
+
IsNumber10()
|
|
7915
7915
|
], JobLocationAdminDto.prototype, "stateId", 2);
|
|
7916
7916
|
__decorateClass([
|
|
7917
7917
|
IsOptional38(),
|
|
7918
|
-
|
|
7918
|
+
IsNumber10()
|
|
7919
7919
|
], JobLocationAdminDto.prototype, "cityId", 2);
|
|
7920
7920
|
var AdminJobBasicInformationV2Dto = class {
|
|
7921
7921
|
constructor() {
|
|
@@ -7931,23 +7931,23 @@ __decorateClass([
|
|
|
7931
7931
|
], AdminJobBasicInformationV2Dto.prototype, "clientId", 2);
|
|
7932
7932
|
__decorateClass([
|
|
7933
7933
|
IsNotEmpty58({ message: "Please enter job role" }),
|
|
7934
|
-
|
|
7934
|
+
IsString38({ message: "Job role must be a string" })
|
|
7935
7935
|
], AdminJobBasicInformationV2Dto.prototype, "jobRole", 2);
|
|
7936
7936
|
__decorateClass([
|
|
7937
7937
|
IsOptional38(),
|
|
7938
|
-
|
|
7938
|
+
IsString38({ message: "Note must be a string" })
|
|
7939
7939
|
], AdminJobBasicInformationV2Dto.prototype, "note", 2);
|
|
7940
7940
|
__decorateClass([
|
|
7941
7941
|
ValidateIf9((o) => !o.isDraft),
|
|
7942
7942
|
IsOptional38(),
|
|
7943
7943
|
IsArray15({ message: "Skills must be an array" }),
|
|
7944
7944
|
ArrayNotEmpty10({ message: "Please select at least one skill" }),
|
|
7945
|
-
|
|
7945
|
+
IsString38({ each: true, message: "Each skill must be a string" }),
|
|
7946
7946
|
Type12(() => String)
|
|
7947
7947
|
], AdminJobBasicInformationV2Dto.prototype, "skills", 2);
|
|
7948
7948
|
__decorateClass([
|
|
7949
7949
|
ValidateIf9((o) => !o.isDraft),
|
|
7950
|
-
|
|
7950
|
+
IsNumber10({}, { message: "Openings must be a number" }),
|
|
7951
7951
|
Min8(1, { message: "There must be at least 1 opening" }),
|
|
7952
7952
|
Type12(() => Number)
|
|
7953
7953
|
], AdminJobBasicInformationV2Dto.prototype, "openings", 2);
|
|
@@ -7969,13 +7969,13 @@ __decorateClass([
|
|
|
7969
7969
|
], AdminJobBasicInformationV2Dto.prototype, "typeOfEmployment", 2);
|
|
7970
7970
|
__decorateClass([
|
|
7971
7971
|
IsOptional38(),
|
|
7972
|
-
|
|
7972
|
+
IsNumber10({}, { message: "Expected salary (from) must be a number" }),
|
|
7973
7973
|
Min8(0, { message: "Expected salary (from) cannot be negative" }),
|
|
7974
7974
|
Type12(() => Number)
|
|
7975
7975
|
], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryFrom", 2);
|
|
7976
7976
|
__decorateClass([
|
|
7977
7977
|
IsOptional38(),
|
|
7978
|
-
|
|
7978
|
+
IsNumber10({}, { message: "Expected salary (to) must be a number" }),
|
|
7979
7979
|
Min8(0, { message: "Expected salary (to) cannot be negative" }),
|
|
7980
7980
|
Type12(() => Number)
|
|
7981
7981
|
], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryTo", 2);
|
|
@@ -7986,7 +7986,7 @@ __decorateClass([
|
|
|
7986
7986
|
__decorateClass([
|
|
7987
7987
|
ValidateIf9((o) => !o.isDraft),
|
|
7988
7988
|
IsNotEmpty58({ message: "Please enter the academic qualification" }),
|
|
7989
|
-
|
|
7989
|
+
IsString38({ message: "Academic qualification must be a string" })
|
|
7990
7990
|
], AdminJobBasicInformationV2Dto.prototype, "academicQualification", 2);
|
|
7991
7991
|
__decorateClass([
|
|
7992
7992
|
ValidateIf9((o) => !o.isDraft),
|
|
@@ -7999,20 +7999,20 @@ __decorateClass([
|
|
|
7999
7999
|
__decorateClass([
|
|
8000
8000
|
ValidateIf9((o) => !o.isDraft),
|
|
8001
8001
|
IsNotEmpty58({ message: "Please enter the years of experience" }),
|
|
8002
|
-
|
|
8002
|
+
IsString38({ message: "Years of experience must be a string" })
|
|
8003
8003
|
], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceFrom", 2);
|
|
8004
8004
|
__decorateClass([
|
|
8005
8005
|
ValidateIf9((o) => !o.isDraft),
|
|
8006
8006
|
IsNotEmpty58({ message: "Please enter the years of experience upto" }),
|
|
8007
|
-
|
|
8007
|
+
IsString38({ message: "Years of experience must be a string" })
|
|
8008
8008
|
], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceTo", 2);
|
|
8009
8009
|
__decorateClass([
|
|
8010
8010
|
IsOptional38(),
|
|
8011
|
-
|
|
8011
|
+
IsString38({ message: "Business industry must be a string" })
|
|
8012
8012
|
], AdminJobBasicInformationV2Dto.prototype, "businessIndustry", 2);
|
|
8013
8013
|
__decorateClass([
|
|
8014
8014
|
IsOptional38(),
|
|
8015
|
-
|
|
8015
|
+
IsString38({ message: "Project name must be a string" })
|
|
8016
8016
|
], AdminJobBasicInformationV2Dto.prototype, "projectName", 2);
|
|
8017
8017
|
__decorateClass([
|
|
8018
8018
|
IsOptional38()
|
|
@@ -8022,7 +8022,7 @@ __decorateClass([
|
|
|
8022
8022
|
], AdminJobBasicInformationV2Dto.prototype, "hideExpectedSalaryTo", 2);
|
|
8023
8023
|
__decorateClass([
|
|
8024
8024
|
IsOptional38(),
|
|
8025
|
-
|
|
8025
|
+
IsNumber10({}, { message: "Expected annual budget (from) must be a number" }),
|
|
8026
8026
|
Min8(0, { message: "Expected annual budget (from) cannot be negative" }),
|
|
8027
8027
|
Type12(() => Number)
|
|
8028
8028
|
], AdminJobBasicInformationV2Dto.prototype, "expectedAnnualBudgetFrom", 2);
|
|
@@ -8031,7 +8031,7 @@ __decorateClass([
|
|
|
8031
8031
|
], AdminJobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetFrom", 2);
|
|
8032
8032
|
__decorateClass([
|
|
8033
8033
|
IsOptional38(),
|
|
8034
|
-
|
|
8034
|
+
IsNumber10({}, { message: "Expected annual budget (to) must be a number" }),
|
|
8035
8035
|
Min8(0, { message: "Expected annual budget (to) cannot be negative" }),
|
|
8036
8036
|
Type12(() => Number)
|
|
8037
8037
|
], AdminJobBasicInformationV2Dto.prototype, "expectedAnnualBudgetTo", 2);
|
|
@@ -8040,7 +8040,7 @@ __decorateClass([
|
|
|
8040
8040
|
], AdminJobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetTo", 2);
|
|
8041
8041
|
__decorateClass([
|
|
8042
8042
|
IsOptional38(),
|
|
8043
|
-
|
|
8043
|
+
IsNumber10({}, { message: "Number of hours must be a number" }),
|
|
8044
8044
|
Min8(0, { message: "Number of hours cannot be negative" }),
|
|
8045
8045
|
Max4(40, { message: "Number of hours cannot exceed 40" }),
|
|
8046
8046
|
Type12(() => Number)
|
|
@@ -8059,13 +8059,13 @@ __decorateClass([
|
|
|
8059
8059
|
], AdminJobBasicInformationV2Dto.prototype, "days", 2);
|
|
8060
8060
|
__decorateClass([
|
|
8061
8061
|
IsOptional38(),
|
|
8062
|
-
|
|
8062
|
+
IsString38({ message: "Additional comment must be a string" }),
|
|
8063
8063
|
MaxLength20(500, { message: "Additional comment must not exceed 500 characters" })
|
|
8064
8064
|
], AdminJobBasicInformationV2Dto.prototype, "additionalComment", 2);
|
|
8065
8065
|
__decorateClass([
|
|
8066
8066
|
ValidateIf9((o) => !o.isDraft),
|
|
8067
8067
|
IsArray15({ message: "Good to have skills must be an array" }),
|
|
8068
|
-
|
|
8068
|
+
IsString38({ each: true, message: "Each skill must be a string" }),
|
|
8069
8069
|
IsOptional38(),
|
|
8070
8070
|
Type12(() => String)
|
|
8071
8071
|
], AdminJobBasicInformationV2Dto.prototype, "goodToHaveSkills", 2);
|
|
@@ -8088,7 +8088,7 @@ var LEAD_PATTERN = {
|
|
|
8088
8088
|
};
|
|
8089
8089
|
|
|
8090
8090
|
// src/modules/lead/dto/create-lead.dto.ts
|
|
8091
|
-
import { IsString as
|
|
8091
|
+
import { IsString as IsString39, IsEmail as IsEmail14, IsOptional as IsOptional39, IsEnum as IsEnum27 } from "class-validator";
|
|
8092
8092
|
var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
|
|
8093
8093
|
CategoryEmumDto2["BUSINESS"] = "BUSINESS";
|
|
8094
8094
|
CategoryEmumDto2["FREELANCER"] = "FREELANCER";
|
|
@@ -8097,20 +8097,20 @@ var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
|
|
|
8097
8097
|
var CreateLeadDto = class {
|
|
8098
8098
|
};
|
|
8099
8099
|
__decorateClass([
|
|
8100
|
-
|
|
8100
|
+
IsString39({ message: "Name must be a string" })
|
|
8101
8101
|
], CreateLeadDto.prototype, "name", 2);
|
|
8102
8102
|
__decorateClass([
|
|
8103
8103
|
IsEmail14({}, { message: "Invalid email address" })
|
|
8104
8104
|
], CreateLeadDto.prototype, "email", 2);
|
|
8105
8105
|
__decorateClass([
|
|
8106
|
-
|
|
8106
|
+
IsString39({ message: "Mobile code must be a string (e.g., +1)" })
|
|
8107
8107
|
], CreateLeadDto.prototype, "mobileCode", 2);
|
|
8108
8108
|
__decorateClass([
|
|
8109
|
-
|
|
8109
|
+
IsString39({ message: "Mobile must be a string (e.g., 1243253534)" })
|
|
8110
8110
|
], CreateLeadDto.prototype, "mobile", 2);
|
|
8111
8111
|
__decorateClass([
|
|
8112
8112
|
IsOptional39(),
|
|
8113
|
-
|
|
8113
|
+
IsString39({ message: "Description must be a string" })
|
|
8114
8114
|
], CreateLeadDto.prototype, "description", 2);
|
|
8115
8115
|
__decorateClass([
|
|
8116
8116
|
IsEnum27(CategoryEmumDto, {
|
|
@@ -8134,29 +8134,29 @@ var ADMIN_ROLE_PATTERN = {
|
|
|
8134
8134
|
};
|
|
8135
8135
|
|
|
8136
8136
|
// src/modules/admin-role/dto/create-admin-role.dto.ts
|
|
8137
|
-
import { IsNotEmpty as IsNotEmpty59, IsOptional as IsOptional40, IsString as
|
|
8137
|
+
import { IsNotEmpty as IsNotEmpty59, IsOptional as IsOptional40, IsString as IsString40 } from "class-validator";
|
|
8138
8138
|
var CreateAdminRoleDto = class {
|
|
8139
8139
|
};
|
|
8140
8140
|
__decorateClass([
|
|
8141
8141
|
IsNotEmpty59({ message: "Please enter admin role name." }),
|
|
8142
|
-
|
|
8142
|
+
IsString40({ message: "Role name must be a string." })
|
|
8143
8143
|
], CreateAdminRoleDto.prototype, "roleName", 2);
|
|
8144
8144
|
__decorateClass([
|
|
8145
8145
|
IsOptional40(),
|
|
8146
|
-
|
|
8146
|
+
IsString40({ message: "Role description must be a string." })
|
|
8147
8147
|
], CreateAdminRoleDto.prototype, "roleDescription", 2);
|
|
8148
8148
|
|
|
8149
8149
|
// src/modules/admin-role/dto/update-admin-role.dto.ts
|
|
8150
|
-
import { IsBoolean as IsBoolean16, IsNotEmpty as IsNotEmpty60, IsOptional as IsOptional41, IsString as
|
|
8150
|
+
import { IsBoolean as IsBoolean16, IsNotEmpty as IsNotEmpty60, IsOptional as IsOptional41, IsString as IsString41 } from "class-validator";
|
|
8151
8151
|
var UpdateAdminRoleDto = class {
|
|
8152
8152
|
};
|
|
8153
8153
|
__decorateClass([
|
|
8154
8154
|
IsNotEmpty60({ message: "Please enter admin role name." }),
|
|
8155
|
-
|
|
8155
|
+
IsString41({ message: "Role name must be a string." })
|
|
8156
8156
|
], UpdateAdminRoleDto.prototype, "roleName", 2);
|
|
8157
8157
|
__decorateClass([
|
|
8158
8158
|
IsOptional41(),
|
|
8159
|
-
|
|
8159
|
+
IsString41({ message: "Role description must be a string." })
|
|
8160
8160
|
], UpdateAdminRoleDto.prototype, "roleDescription", 2);
|
|
8161
8161
|
__decorateClass([
|
|
8162
8162
|
IsOptional41(),
|
|
@@ -8164,16 +8164,16 @@ __decorateClass([
|
|
|
8164
8164
|
], UpdateAdminRoleDto.prototype, "isActive", 2);
|
|
8165
8165
|
|
|
8166
8166
|
// src/modules/admin-role/dto/attach-permissions-to-role.dto.ts
|
|
8167
|
-
import { IsNotEmpty as IsNotEmpty61, IsString as
|
|
8167
|
+
import { IsNotEmpty as IsNotEmpty61, IsString as IsString42 } from "class-validator";
|
|
8168
8168
|
var AttachPermissionsToRoleDto = class {
|
|
8169
8169
|
};
|
|
8170
8170
|
__decorateClass([
|
|
8171
8171
|
IsNotEmpty61({ message: "Please enter admin role ID." }),
|
|
8172
|
-
|
|
8172
|
+
IsString42({ message: "Role ID must be a string." })
|
|
8173
8173
|
], AttachPermissionsToRoleDto.prototype, "roleId", 2);
|
|
8174
8174
|
__decorateClass([
|
|
8175
8175
|
IsNotEmpty61({ message: "Please enter permission IDs." }),
|
|
8176
|
-
|
|
8176
|
+
IsString42({ message: "Permission IDs must be a comma-separated string." })
|
|
8177
8177
|
], AttachPermissionsToRoleDto.prototype, "permissionIds", 2);
|
|
8178
8178
|
|
|
8179
8179
|
// src/modules/admin-permission/pattern/pattern.ts
|
|
@@ -8254,7 +8254,7 @@ var INTERVIEW_PATTERN = {
|
|
|
8254
8254
|
|
|
8255
8255
|
// src/modules/interview/dto/interview-invite.dto.ts
|
|
8256
8256
|
import {
|
|
8257
|
-
IsString as
|
|
8257
|
+
IsString as IsString43,
|
|
8258
8258
|
IsNotEmpty as IsNotEmpty62,
|
|
8259
8259
|
IsArray as IsArray16,
|
|
8260
8260
|
ArrayNotEmpty as ArrayNotEmpty11,
|
|
@@ -8286,7 +8286,7 @@ var NewCandidateDto = class {
|
|
|
8286
8286
|
};
|
|
8287
8287
|
__decorateClass([
|
|
8288
8288
|
IsNotEmpty62({ message: "Please enter the candidate name" }),
|
|
8289
|
-
|
|
8289
|
+
IsString43({ message: "Name must be a string" })
|
|
8290
8290
|
], NewCandidateDto.prototype, "name", 2);
|
|
8291
8291
|
__decorateClass([
|
|
8292
8292
|
IsEmail15({}, { message: "Please enter a valid email." })
|
|
@@ -8324,10 +8324,10 @@ __decorateClass([
|
|
|
8324
8324
|
|
|
8325
8325
|
// src/modules/interview/dto/create-f2f-interview.dto.ts
|
|
8326
8326
|
import {
|
|
8327
|
-
IsString as
|
|
8327
|
+
IsString as IsString44,
|
|
8328
8328
|
IsNotEmpty as IsNotEmpty63,
|
|
8329
8329
|
IsEmail as IsEmail16,
|
|
8330
|
-
IsNumber as
|
|
8330
|
+
IsNumber as IsNumber11
|
|
8331
8331
|
} from "class-validator";
|
|
8332
8332
|
var CreateF2FInterviewDto = class {
|
|
8333
8333
|
};
|
|
@@ -8336,22 +8336,22 @@ __decorateClass([
|
|
|
8336
8336
|
IsNotEmpty63({ message: "Invitee email is required." })
|
|
8337
8337
|
], CreateF2FInterviewDto.prototype, "inviteeEmail", 2);
|
|
8338
8338
|
__decorateClass([
|
|
8339
|
-
|
|
8339
|
+
IsString44({ message: "Invitee name must be a string." }),
|
|
8340
8340
|
IsNotEmpty63({ message: "Invitee name is required." })
|
|
8341
8341
|
], CreateF2FInterviewDto.prototype, "inviteeName", 2);
|
|
8342
8342
|
__decorateClass([
|
|
8343
|
-
|
|
8343
|
+
IsNumber11({}, { message: "Interview ID must be a number." })
|
|
8344
8344
|
], CreateF2FInterviewDto.prototype, "interviewId", 2);
|
|
8345
8345
|
__decorateClass([
|
|
8346
|
-
|
|
8346
|
+
IsNumber11({}, { message: "Candidate ID must be a number." })
|
|
8347
8347
|
], CreateF2FInterviewDto.prototype, "candidateId", 2);
|
|
8348
8348
|
|
|
8349
8349
|
// src/modules/interview/dto/create-f2f-interview-direct.dto.ts
|
|
8350
8350
|
import {
|
|
8351
|
-
IsString as
|
|
8351
|
+
IsString as IsString45,
|
|
8352
8352
|
IsNotEmpty as IsNotEmpty64,
|
|
8353
8353
|
IsEmail as IsEmail17,
|
|
8354
|
-
IsNumber as
|
|
8354
|
+
IsNumber as IsNumber12
|
|
8355
8355
|
} from "class-validator";
|
|
8356
8356
|
var CreateF2FInterviewDirectDto = class {
|
|
8357
8357
|
};
|
|
@@ -8360,19 +8360,19 @@ __decorateClass([
|
|
|
8360
8360
|
IsNotEmpty64({ message: "Invitee email is required." })
|
|
8361
8361
|
], CreateF2FInterviewDirectDto.prototype, "inviteeEmail", 2);
|
|
8362
8362
|
__decorateClass([
|
|
8363
|
-
|
|
8363
|
+
IsString45({ message: "Invitee name must be a string." }),
|
|
8364
8364
|
IsNotEmpty64({ message: "Invitee name is required." })
|
|
8365
8365
|
], CreateF2FInterviewDirectDto.prototype, "inviteeName", 2);
|
|
8366
8366
|
__decorateClass([
|
|
8367
|
-
|
|
8367
|
+
IsNumber12({}, { message: "Job ID must be a number." })
|
|
8368
8368
|
], CreateF2FInterviewDirectDto.prototype, "jobId", 2);
|
|
8369
8369
|
__decorateClass([
|
|
8370
|
-
|
|
8370
|
+
IsNumber12({}, { message: "Candidate ID must be a number." })
|
|
8371
8371
|
], CreateF2FInterviewDirectDto.prototype, "candidateId", 2);
|
|
8372
8372
|
|
|
8373
8373
|
// src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
|
|
8374
8374
|
import {
|
|
8375
|
-
IsString as
|
|
8375
|
+
IsString as IsString46,
|
|
8376
8376
|
IsNotEmpty as IsNotEmpty65
|
|
8377
8377
|
} from "class-validator";
|
|
8378
8378
|
var CreateF2FInterviewRescheduleRequestDto = class {
|
|
@@ -8384,16 +8384,16 @@ __decorateClass([
|
|
|
8384
8384
|
IsNotEmpty65({ message: "Rescheduled date is required." })
|
|
8385
8385
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledDate", 2);
|
|
8386
8386
|
__decorateClass([
|
|
8387
|
-
|
|
8387
|
+
IsString46({ message: "Rescheduled slot must be a string." }),
|
|
8388
8388
|
IsNotEmpty65({ message: "Rescheduled slot is required." })
|
|
8389
8389
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledSlot", 2);
|
|
8390
8390
|
__decorateClass([
|
|
8391
|
-
|
|
8391
|
+
IsString46({ message: "Freelancer reason must be a string." })
|
|
8392
8392
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
|
|
8393
8393
|
|
|
8394
8394
|
// src/modules/interview/dto/create-ai-interview-reschedule-request.dto.ts
|
|
8395
8395
|
import {
|
|
8396
|
-
IsString as
|
|
8396
|
+
IsString as IsString47,
|
|
8397
8397
|
IsNotEmpty as IsNotEmpty66
|
|
8398
8398
|
} from "class-validator";
|
|
8399
8399
|
var CreateAIInterviewRescheduleRequestDto = class {
|
|
@@ -8402,17 +8402,17 @@ __decorateClass([
|
|
|
8402
8402
|
IsNotEmpty66({ message: "AI Interview ID is required." })
|
|
8403
8403
|
], CreateAIInterviewRescheduleRequestDto.prototype, "aiInterviewId", 2);
|
|
8404
8404
|
__decorateClass([
|
|
8405
|
-
|
|
8405
|
+
IsString47({ message: "Freelancer reason must be a string." })
|
|
8406
8406
|
], CreateAIInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
|
|
8407
8407
|
|
|
8408
8408
|
// src/modules/interview/dto/reject-ai-interview-reschedule-request.dto.ts
|
|
8409
8409
|
import {
|
|
8410
|
-
IsString as
|
|
8410
|
+
IsString as IsString48
|
|
8411
8411
|
} from "class-validator";
|
|
8412
8412
|
var RejectAIInterviewRescheduleRequestDto = class {
|
|
8413
8413
|
};
|
|
8414
8414
|
__decorateClass([
|
|
8415
|
-
|
|
8415
|
+
IsString48({ message: "Client reject reason must be a string." })
|
|
8416
8416
|
], RejectAIInterviewRescheduleRequestDto.prototype, "clientRejectReason", 2);
|
|
8417
8417
|
|
|
8418
8418
|
// src/modules/contract/pattern/pattern.ts
|
|
@@ -8450,19 +8450,19 @@ var CONTRACT_PATTERN = {
|
|
|
8450
8450
|
};
|
|
8451
8451
|
|
|
8452
8452
|
// src/modules/contract/dto/sign-contract-for-client.dto.ts
|
|
8453
|
-
import { IsEnum as IsEnum29, IsNotEmpty as IsNotEmpty67, IsNumber as
|
|
8453
|
+
import { IsEnum as IsEnum29, IsNotEmpty as IsNotEmpty67, IsNumber as IsNumber13 } from "class-validator";
|
|
8454
8454
|
import { Type as Type14 } from "class-transformer";
|
|
8455
8455
|
var SignContractForClientDto = class {
|
|
8456
8456
|
};
|
|
8457
8457
|
__decorateClass([
|
|
8458
8458
|
IsNotEmpty67({ message: "Job Id is required." }),
|
|
8459
8459
|
Type14(() => Number),
|
|
8460
|
-
|
|
8460
|
+
IsNumber13({}, { message: "Job ID must be a number." })
|
|
8461
8461
|
], SignContractForClientDto.prototype, "jobId", 2);
|
|
8462
8462
|
__decorateClass([
|
|
8463
8463
|
IsNotEmpty67({ message: "Freelancer ID is required." }),
|
|
8464
8464
|
Type14(() => Number),
|
|
8465
|
-
|
|
8465
|
+
IsNumber13({}, { message: "Freelancer ID must be a number." })
|
|
8466
8466
|
], SignContractForClientDto.prototype, "freelancerId", 2);
|
|
8467
8467
|
__decorateClass([
|
|
8468
8468
|
IsNotEmpty67({ message: "Contract type is required." }),
|
|
@@ -8470,19 +8470,19 @@ __decorateClass([
|
|
|
8470
8470
|
], SignContractForClientDto.prototype, "contractType", 2);
|
|
8471
8471
|
|
|
8472
8472
|
// src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
|
|
8473
|
-
import { IsEnum as IsEnum30, IsNotEmpty as IsNotEmpty68, IsNumber as
|
|
8473
|
+
import { IsEnum as IsEnum30, IsNotEmpty as IsNotEmpty68, IsNumber as IsNumber14 } from "class-validator";
|
|
8474
8474
|
import { Type as Type15 } from "class-transformer";
|
|
8475
8475
|
var SignContractForFreelancerDto = class {
|
|
8476
8476
|
};
|
|
8477
8477
|
__decorateClass([
|
|
8478
8478
|
IsNotEmpty68({ message: "Job Id is required." }),
|
|
8479
8479
|
Type15(() => Number),
|
|
8480
|
-
|
|
8480
|
+
IsNumber14({}, { message: "Job ID must be a number." })
|
|
8481
8481
|
], SignContractForFreelancerDto.prototype, "jobId", 2);
|
|
8482
8482
|
__decorateClass([
|
|
8483
8483
|
IsNotEmpty68({ message: "Client ID is required." }),
|
|
8484
8484
|
Type15(() => Number),
|
|
8485
|
-
|
|
8485
|
+
IsNumber14({}, { message: "Client ID must be a number." })
|
|
8486
8486
|
], SignContractForFreelancerDto.prototype, "clientId", 2);
|
|
8487
8487
|
__decorateClass([
|
|
8488
8488
|
IsNotEmpty68({ message: "Contract type is required." }),
|
|
@@ -8565,15 +8565,15 @@ import {
|
|
|
8565
8565
|
IsInt as IsInt12,
|
|
8566
8566
|
IsNotEmpty as IsNotEmpty70,
|
|
8567
8567
|
IsOptional as IsOptional45,
|
|
8568
|
-
IsString as
|
|
8568
|
+
IsString as IsString49,
|
|
8569
8569
|
Matches as Matches13,
|
|
8570
|
-
IsNumber as
|
|
8570
|
+
IsNumber as IsNumber15
|
|
8571
8571
|
} from "class-validator";
|
|
8572
8572
|
var CreateFreelancerTimesheetDto = class {
|
|
8573
8573
|
};
|
|
8574
8574
|
__decorateClass([
|
|
8575
8575
|
IsNotEmpty70({ message: "Job id is required" }),
|
|
8576
|
-
|
|
8576
|
+
IsNumber15({}, { message: "Job id must be a number" })
|
|
8577
8577
|
], CreateFreelancerTimesheetDto.prototype, "jobId", 2);
|
|
8578
8578
|
__decorateClass([
|
|
8579
8579
|
IsNotEmpty70({ message: "start date is required" }),
|
|
@@ -8601,15 +8601,15 @@ __decorateClass([
|
|
|
8601
8601
|
], CreateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
8602
8602
|
__decorateClass([
|
|
8603
8603
|
IsOptional45(),
|
|
8604
|
-
|
|
8604
|
+
IsString49()
|
|
8605
8605
|
], CreateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
8606
8606
|
__decorateClass([
|
|
8607
8607
|
IsOptional45(),
|
|
8608
|
-
|
|
8608
|
+
IsString49()
|
|
8609
8609
|
], CreateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
8610
8610
|
__decorateClass([
|
|
8611
8611
|
IsOptional45(),
|
|
8612
|
-
|
|
8612
|
+
IsString49()
|
|
8613
8613
|
], CreateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
8614
8614
|
__decorateClass([
|
|
8615
8615
|
IsNotEmpty70({ message: "Description is required" })
|
|
@@ -8621,15 +8621,15 @@ import {
|
|
|
8621
8621
|
IsInt as IsInt13,
|
|
8622
8622
|
IsNotEmpty as IsNotEmpty71,
|
|
8623
8623
|
IsOptional as IsOptional46,
|
|
8624
|
-
IsString as
|
|
8624
|
+
IsString as IsString50,
|
|
8625
8625
|
Matches as Matches14,
|
|
8626
|
-
IsNumber as
|
|
8626
|
+
IsNumber as IsNumber16
|
|
8627
8627
|
} from "class-validator";
|
|
8628
8628
|
var UpdateFreelancerTimesheetDto = class {
|
|
8629
8629
|
};
|
|
8630
8630
|
__decorateClass([
|
|
8631
8631
|
IsNotEmpty71({ message: "Job id is required" }),
|
|
8632
|
-
|
|
8632
|
+
IsNumber16({}, { message: "Job id must be a number" })
|
|
8633
8633
|
], UpdateFreelancerTimesheetDto.prototype, "jobId", 2);
|
|
8634
8634
|
__decorateClass([
|
|
8635
8635
|
IsNotEmpty71({ message: "start date is required" }),
|
|
@@ -8657,60 +8657,60 @@ __decorateClass([
|
|
|
8657
8657
|
], UpdateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
8658
8658
|
__decorateClass([
|
|
8659
8659
|
IsOptional46(),
|
|
8660
|
-
|
|
8660
|
+
IsString50()
|
|
8661
8661
|
], UpdateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
8662
8662
|
__decorateClass([
|
|
8663
8663
|
IsOptional46(),
|
|
8664
|
-
|
|
8664
|
+
IsString50()
|
|
8665
8665
|
], UpdateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
8666
8666
|
__decorateClass([
|
|
8667
8667
|
IsOptional46(),
|
|
8668
|
-
|
|
8668
|
+
IsString50()
|
|
8669
8669
|
], UpdateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
8670
8670
|
__decorateClass([
|
|
8671
8671
|
IsNotEmpty71({ message: "Description is required" })
|
|
8672
8672
|
], UpdateFreelancerTimesheetDto.prototype, "description", 2);
|
|
8673
8673
|
|
|
8674
8674
|
// src/modules/timesheet/dto/submit-timesheet.dto.ts
|
|
8675
|
-
import { IsNotEmpty as IsNotEmpty72, IsNumber as
|
|
8675
|
+
import { IsNotEmpty as IsNotEmpty72, IsNumber as IsNumber17 } from "class-validator";
|
|
8676
8676
|
var SubmitTimesheetDto = class {
|
|
8677
8677
|
};
|
|
8678
8678
|
__decorateClass([
|
|
8679
8679
|
IsNotEmpty72({ message: "Timesheet line ID is required" }),
|
|
8680
|
-
|
|
8680
|
+
IsNumber17({}, { message: "Timesheet line ID must be a number" })
|
|
8681
8681
|
], SubmitTimesheetDto.prototype, "timesheetLineId", 2);
|
|
8682
8682
|
|
|
8683
8683
|
// src/modules/timesheet/dto/resubmit-timesheet.dto.ts
|
|
8684
|
-
import { IsNotEmpty as IsNotEmpty73, IsNumber as
|
|
8684
|
+
import { IsNotEmpty as IsNotEmpty73, IsNumber as IsNumber18 } from "class-validator";
|
|
8685
8685
|
var ResubmitTimesheetDto = class {
|
|
8686
8686
|
};
|
|
8687
8687
|
__decorateClass([
|
|
8688
8688
|
IsNotEmpty73({ message: "Timesheet line ID is required" }),
|
|
8689
|
-
|
|
8689
|
+
IsNumber18({}, { message: "Timesheet line ID must be a number" })
|
|
8690
8690
|
], ResubmitTimesheetDto.prototype, "timesheetLineId", 2);
|
|
8691
8691
|
|
|
8692
8692
|
// src/modules/timesheet/dto/approve-timesheets.dto.ts
|
|
8693
|
-
import { ArrayNotEmpty as ArrayNotEmpty12, IsArray as IsArray17, IsNumber as
|
|
8693
|
+
import { ArrayNotEmpty as ArrayNotEmpty12, IsArray as IsArray17, IsNumber as IsNumber19 } from "class-validator";
|
|
8694
8694
|
var ApproveTimesheetsDto = class {
|
|
8695
8695
|
};
|
|
8696
8696
|
__decorateClass([
|
|
8697
8697
|
IsArray17({ message: "Timesheet line IDs must be an array" }),
|
|
8698
8698
|
ArrayNotEmpty12({ message: "At least one timesheet line ID is required" }),
|
|
8699
|
-
|
|
8699
|
+
IsNumber19({}, { each: true, message: "Each timesheet line ID must be a number" })
|
|
8700
8700
|
], ApproveTimesheetsDto.prototype, "timesheetLineIds", 2);
|
|
8701
8701
|
|
|
8702
8702
|
// src/modules/timesheet/dto/send-back-timesheets.dto.ts
|
|
8703
|
-
import { ArrayNotEmpty as ArrayNotEmpty13, IsArray as IsArray18, IsNumber as
|
|
8703
|
+
import { ArrayNotEmpty as ArrayNotEmpty13, IsArray as IsArray18, IsNumber as IsNumber20, IsOptional as IsOptional47, IsString as IsString51 } from "class-validator";
|
|
8704
8704
|
var SendBackTimesheetsDto = class {
|
|
8705
8705
|
};
|
|
8706
8706
|
__decorateClass([
|
|
8707
8707
|
IsArray18({ message: "Timesheet line IDs must be an array" }),
|
|
8708
8708
|
ArrayNotEmpty13({ message: "At least one timesheet line ID is required" }),
|
|
8709
|
-
|
|
8709
|
+
IsNumber20({}, { each: true, message: "Each timesheet line ID must be a number" })
|
|
8710
8710
|
], SendBackTimesheetsDto.prototype, "timesheetLineIds", 2);
|
|
8711
8711
|
__decorateClass([
|
|
8712
8712
|
IsOptional47(),
|
|
8713
|
-
|
|
8713
|
+
IsString51()
|
|
8714
8714
|
], SendBackTimesheetsDto.prototype, "reason", 2);
|
|
8715
8715
|
|
|
8716
8716
|
// src/modules/invoice/pattern/pattern.ts
|
|
@@ -8743,12 +8743,12 @@ __decorateClass([
|
|
|
8743
8743
|
], UpdateInvoiceStatusDto.prototype, "status", 2);
|
|
8744
8744
|
|
|
8745
8745
|
// src/modules/invoice/dto/create-invoice.dto.ts
|
|
8746
|
-
import { IsNotEmpty as IsNotEmpty75, IsNumber as
|
|
8746
|
+
import { IsNotEmpty as IsNotEmpty75, IsNumber as IsNumber21 } from "class-validator";
|
|
8747
8747
|
var CreateInvoiceDto = class {
|
|
8748
8748
|
};
|
|
8749
8749
|
__decorateClass([
|
|
8750
8750
|
IsNotEmpty75({ message: "Timesheet line ID is required" }),
|
|
8751
|
-
|
|
8751
|
+
IsNumber21({}, { message: "Timesheet line ID must be a number" })
|
|
8752
8752
|
], CreateInvoiceDto.prototype, "timeSheetLineId", 2);
|
|
8753
8753
|
|
|
8754
8754
|
// src/modules/dispute/pattern/pattern.ts
|
|
@@ -8760,13 +8760,13 @@ var DISPUTE_PATTERN = {
|
|
|
8760
8760
|
|
|
8761
8761
|
// src/modules/dispute/dto/create-dispute.dto.ts
|
|
8762
8762
|
import {
|
|
8763
|
-
IsString as
|
|
8763
|
+
IsString as IsString52,
|
|
8764
8764
|
IsNotEmpty as IsNotEmpty76,
|
|
8765
8765
|
IsIn as IsIn4,
|
|
8766
8766
|
IsOptional as IsOptional48,
|
|
8767
8767
|
MaxLength as MaxLength21,
|
|
8768
8768
|
IsObject,
|
|
8769
|
-
IsNumber as
|
|
8769
|
+
IsNumber as IsNumber22,
|
|
8770
8770
|
ValidateIf as ValidateIf11
|
|
8771
8771
|
} from "class-validator";
|
|
8772
8772
|
import { Transform as Transform4, Type as Type16 } from "class-transformer";
|
|
@@ -8774,31 +8774,31 @@ var CreateDisputeDto = class {
|
|
|
8774
8774
|
};
|
|
8775
8775
|
__decorateClass([
|
|
8776
8776
|
ValidateIf11((o) => o.initiatorType === "FREELANCER" /* FREELANCER */),
|
|
8777
|
-
|
|
8777
|
+
IsNumber22({}, { message: "Client id must be a number" }),
|
|
8778
8778
|
Type16(() => Number)
|
|
8779
8779
|
], CreateDisputeDto.prototype, "clientId", 2);
|
|
8780
8780
|
__decorateClass([
|
|
8781
8781
|
ValidateIf11((o) => o.initiatorType === "CLIENT" /* CLIENT */),
|
|
8782
|
-
|
|
8782
|
+
IsNumber22({}, { message: "Freelancer id must be a number" }),
|
|
8783
8783
|
Type16(() => Number)
|
|
8784
8784
|
], CreateDisputeDto.prototype, "freelancerId", 2);
|
|
8785
8785
|
__decorateClass([
|
|
8786
8786
|
IsNotEmpty76({ message: "Please select dispute type." }),
|
|
8787
|
-
|
|
8787
|
+
IsString52(),
|
|
8788
8788
|
IsIn4(["JOB", "INVOICE"])
|
|
8789
8789
|
], CreateDisputeDto.prototype, "disputeType", 2);
|
|
8790
8790
|
__decorateClass([
|
|
8791
8791
|
IsNotEmpty76({ message: "Please provide initiator type." }),
|
|
8792
|
-
|
|
8792
|
+
IsString52()
|
|
8793
8793
|
], CreateDisputeDto.prototype, "initiatorType", 2);
|
|
8794
8794
|
__decorateClass([
|
|
8795
8795
|
IsNotEmpty76({ message: "Please enter description." }),
|
|
8796
|
-
|
|
8796
|
+
IsString52({ message: "Description must be a string" }),
|
|
8797
8797
|
MaxLength21(500, { message: "Description must not exceed 500 characters" })
|
|
8798
8798
|
], CreateDisputeDto.prototype, "description", 2);
|
|
8799
8799
|
__decorateClass([
|
|
8800
8800
|
IsOptional48(),
|
|
8801
|
-
|
|
8801
|
+
IsString52({ message: "Comment must be a string" }),
|
|
8802
8802
|
MaxLength21(500, { message: "Comment must not exceed 500 characters" })
|
|
8803
8803
|
], CreateDisputeDto.prototype, "comment", 2);
|
|
8804
8804
|
__decorateClass([
|
|
@@ -8849,16 +8849,16 @@ var HIRING_PATTERN = {
|
|
|
8849
8849
|
};
|
|
8850
8850
|
|
|
8851
8851
|
// src/modules/hiring/dto/create-hiring.dto.ts
|
|
8852
|
-
import { IsNotEmpty as IsNotEmpty78, IsNumber as
|
|
8852
|
+
import { IsNotEmpty as IsNotEmpty78, IsNumber as IsNumber23 } from "class-validator";
|
|
8853
8853
|
var CreateHiringDto = class {
|
|
8854
8854
|
};
|
|
8855
8855
|
__decorateClass([
|
|
8856
8856
|
IsNotEmpty78({ message: "Freelancer ID is required" }),
|
|
8857
|
-
|
|
8857
|
+
IsNumber23({}, { message: "Freelancer ID must be a number" })
|
|
8858
8858
|
], CreateHiringDto.prototype, "freelancerId", 2);
|
|
8859
8859
|
__decorateClass([
|
|
8860
8860
|
IsNotEmpty78({ message: "Job ID is required" }),
|
|
8861
|
-
|
|
8861
|
+
IsNumber23({}, { message: "Job ID must be a number" })
|
|
8862
8862
|
], CreateHiringDto.prototype, "jobId", 2);
|
|
8863
8863
|
|
|
8864
8864
|
// src/modules/llm/pattern/pattern.ts
|