@experts_hub/shared 1.0.468 → 1.0.470
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 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -2
- package/dist/index.mjs +108 -105
- package/dist/modules/job/dto/job-basic-information.dto.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1200,6 +1200,7 @@ var EmploymentType = /* @__PURE__ */ ((EmploymentType2) => {
|
|
|
1200
1200
|
EmploymentType2["PARTTIME"] = "PARTTIME";
|
|
1201
1201
|
EmploymentType2["BOTH"] = "BOTH";
|
|
1202
1202
|
EmploymentType2["HOURLY"] = "HOURLY";
|
|
1203
|
+
EmploymentType2["FREELANCE"] = "FREELANCE";
|
|
1203
1204
|
EmploymentType2["FTE"] = "FTE";
|
|
1204
1205
|
return EmploymentType2;
|
|
1205
1206
|
})(EmploymentType || {});
|
|
@@ -1563,7 +1564,8 @@ __decorateClass([
|
|
|
1563
1564
|
(0, import_class_validator40.IsNotEmpty)({ message: "Please enter Bank Name." })
|
|
1564
1565
|
], FreelancerBankDetailsDto.prototype, "bankName", 2);
|
|
1565
1566
|
__decorateClass([
|
|
1566
|
-
(0, import_class_validator40.
|
|
1567
|
+
(0, import_class_validator40.IsOptional)(),
|
|
1568
|
+
(0, import_class_validator40.IsString)()
|
|
1567
1569
|
], FreelancerBankDetailsDto.prototype, "branchName", 2);
|
|
1568
1570
|
__decorateClass([
|
|
1569
1571
|
(0, import_class_validator40.ValidateIf)((dto) => dto.accountScope === "DOMESTIC"),
|
|
@@ -4011,7 +4013,7 @@ __decorateClass([
|
|
|
4011
4013
|
(0, import_typeorm29.Column)({ name: "mobile_code", type: "varchar", nullable: true })
|
|
4012
4014
|
], BankDetail.prototype, "mobileCode", 2);
|
|
4013
4015
|
__decorateClass([
|
|
4014
|
-
(0, import_typeorm29.Column)({ name: "mobile", type: "varchar",
|
|
4016
|
+
(0, import_typeorm29.Column)({ name: "mobile", type: "varchar", nullable: true })
|
|
4015
4017
|
], BankDetail.prototype, "mobile", 2);
|
|
4016
4018
|
__decorateClass([
|
|
4017
4019
|
(0, import_typeorm29.Column)({ name: "email", type: "varchar" })
|
package/dist/index.mjs
CHANGED
|
@@ -988,6 +988,7 @@ var EmploymentType = /* @__PURE__ */ ((EmploymentType2) => {
|
|
|
988
988
|
EmploymentType2["PARTTIME"] = "PARTTIME";
|
|
989
989
|
EmploymentType2["BOTH"] = "BOTH";
|
|
990
990
|
EmploymentType2["HOURLY"] = "HOURLY";
|
|
991
|
+
EmploymentType2["FREELANCE"] = "FREELANCE";
|
|
991
992
|
EmploymentType2["FTE"] = "FTE";
|
|
992
993
|
return EmploymentType2;
|
|
993
994
|
})(EmploymentType || {});
|
|
@@ -1338,6 +1339,7 @@ import {
|
|
|
1338
1339
|
IsEnum as IsEnum13,
|
|
1339
1340
|
IsNotEmpty as IsNotEmpty34,
|
|
1340
1341
|
IsOptional as IsOptional16,
|
|
1342
|
+
IsString as IsString17,
|
|
1341
1343
|
ValidateIf as ValidateIf4
|
|
1342
1344
|
} from "class-validator";
|
|
1343
1345
|
var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
|
|
@@ -1369,7 +1371,8 @@ __decorateClass([
|
|
|
1369
1371
|
IsNotEmpty34({ message: "Please enter Bank Name." })
|
|
1370
1372
|
], FreelancerBankDetailsDto.prototype, "bankName", 2);
|
|
1371
1373
|
__decorateClass([
|
|
1372
|
-
|
|
1374
|
+
IsOptional16(),
|
|
1375
|
+
IsString17()
|
|
1373
1376
|
], FreelancerBankDetailsDto.prototype, "branchName", 2);
|
|
1374
1377
|
__decorateClass([
|
|
1375
1378
|
ValidateIf4((dto) => dto.accountScope === "DOMESTIC"),
|
|
@@ -1451,7 +1454,7 @@ import {
|
|
|
1451
1454
|
IsInt,
|
|
1452
1455
|
IsNotEmpty as IsNotEmpty35,
|
|
1453
1456
|
IsOptional as IsOptional17,
|
|
1454
|
-
IsString as
|
|
1457
|
+
IsString as IsString18,
|
|
1455
1458
|
Max as Max2,
|
|
1456
1459
|
Min as Min2
|
|
1457
1460
|
} from "class-validator";
|
|
@@ -3940,7 +3943,7 @@ __decorateClass([
|
|
|
3940
3943
|
Column29({ name: "mobile_code", type: "varchar", nullable: true })
|
|
3941
3944
|
], BankDetail.prototype, "mobileCode", 2);
|
|
3942
3945
|
__decorateClass([
|
|
3943
|
-
Column29({ name: "mobile", type: "varchar",
|
|
3946
|
+
Column29({ name: "mobile", type: "varchar", nullable: true })
|
|
3944
3947
|
], BankDetail.prototype, "mobile", 2);
|
|
3945
3948
|
__decorateClass([
|
|
3946
3949
|
Column29({ name: "email", type: "varchar" })
|
|
@@ -5490,7 +5493,7 @@ __decorateClass([
|
|
|
5490
5493
|
], CreateRatingDto.prototype, "rating", 2);
|
|
5491
5494
|
__decorateClass([
|
|
5492
5495
|
IsOptional17(),
|
|
5493
|
-
|
|
5496
|
+
IsString18({ message: "Review must be a string" })
|
|
5494
5497
|
], CreateRatingDto.prototype, "review", 2);
|
|
5495
5498
|
|
|
5496
5499
|
// src/modules/company-role/pattern/pattern.ts
|
|
@@ -5570,7 +5573,7 @@ import {
|
|
|
5570
5573
|
ArrayMinSize,
|
|
5571
5574
|
IsNotEmpty as IsNotEmpty38,
|
|
5572
5575
|
IsOptional as IsOptional20,
|
|
5573
|
-
IsString as
|
|
5576
|
+
IsString as IsString21,
|
|
5574
5577
|
MaxLength as MaxLength11,
|
|
5575
5578
|
ValidateNested
|
|
5576
5579
|
} from "class-validator";
|
|
@@ -5582,19 +5585,19 @@ __decorateClass([
|
|
|
5582
5585
|
], ExperienceDto.prototype, "uuid", 2);
|
|
5583
5586
|
__decorateClass([
|
|
5584
5587
|
IsNotEmpty38(),
|
|
5585
|
-
|
|
5588
|
+
IsString21()
|
|
5586
5589
|
], ExperienceDto.prototype, "companyName", 2);
|
|
5587
5590
|
__decorateClass([
|
|
5588
5591
|
IsNotEmpty38(),
|
|
5589
|
-
|
|
5592
|
+
IsString21()
|
|
5590
5593
|
], ExperienceDto.prototype, "designation", 2);
|
|
5591
5594
|
__decorateClass([
|
|
5592
5595
|
IsNotEmpty38(),
|
|
5593
|
-
|
|
5596
|
+
IsString21()
|
|
5594
5597
|
], ExperienceDto.prototype, "jobDuration", 2);
|
|
5595
5598
|
__decorateClass([
|
|
5596
5599
|
IsOptional20(),
|
|
5597
|
-
|
|
5600
|
+
IsString21(),
|
|
5598
5601
|
MaxLength11(5e3, { message: "Description must not exceed 5000 characters" })
|
|
5599
5602
|
], ExperienceDto.prototype, "description", 2);
|
|
5600
5603
|
var FreelancerExperienceDto = class {
|
|
@@ -5664,7 +5667,7 @@ var FREELANCER_EDUCATION_PATTERN = {
|
|
|
5664
5667
|
};
|
|
5665
5668
|
|
|
5666
5669
|
// src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
|
|
5667
|
-
import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as
|
|
5670
|
+
import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as IsString24, IsNotEmpty as IsNotEmpty41, IsOptional as IsOptional23, ArrayMinSize as ArrayMinSize2 } from "class-validator";
|
|
5668
5671
|
import { Type as Type4 } from "class-transformer";
|
|
5669
5672
|
var EducationDto = class {
|
|
5670
5673
|
};
|
|
@@ -5672,15 +5675,15 @@ __decorateClass([
|
|
|
5672
5675
|
IsOptional23()
|
|
5673
5676
|
], EducationDto.prototype, "uuid", 2);
|
|
5674
5677
|
__decorateClass([
|
|
5675
|
-
|
|
5678
|
+
IsString24(),
|
|
5676
5679
|
IsNotEmpty41({ message: "Please Enter Degree " })
|
|
5677
5680
|
], EducationDto.prototype, "degree", 2);
|
|
5678
5681
|
__decorateClass([
|
|
5679
|
-
|
|
5682
|
+
IsString24(),
|
|
5680
5683
|
IsNotEmpty41({ message: "Please Enter University " })
|
|
5681
5684
|
], EducationDto.prototype, "university", 2);
|
|
5682
5685
|
__decorateClass([
|
|
5683
|
-
|
|
5686
|
+
IsString24(),
|
|
5684
5687
|
IsNotEmpty41({ message: "Please Enter Year of Graduation " })
|
|
5685
5688
|
], EducationDto.prototype, "yearOfGraduation", 2);
|
|
5686
5689
|
var FreelancerEducationDto = class {
|
|
@@ -5699,7 +5702,7 @@ var FREELANCER_PROJECT_PATTERN = {
|
|
|
5699
5702
|
};
|
|
5700
5703
|
|
|
5701
5704
|
// src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
|
|
5702
|
-
import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as
|
|
5705
|
+
import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString25, IsNotEmpty as IsNotEmpty42, IsOptional as IsOptional24, IsDateString, MaxLength as MaxLength13, ArrayMinSize as ArrayMinSize3 } from "class-validator";
|
|
5703
5706
|
import { Type as Type5 } from "class-transformer";
|
|
5704
5707
|
var ProjectDto = class {
|
|
5705
5708
|
};
|
|
@@ -5707,7 +5710,7 @@ __decorateClass([
|
|
|
5707
5710
|
IsOptional24()
|
|
5708
5711
|
], ProjectDto.prototype, "uuid", 2);
|
|
5709
5712
|
__decorateClass([
|
|
5710
|
-
|
|
5713
|
+
IsString25(),
|
|
5711
5714
|
IsNotEmpty42({ message: "Please Enter Project Name " })
|
|
5712
5715
|
], ProjectDto.prototype, "projectName", 2);
|
|
5713
5716
|
__decorateClass([
|
|
@@ -5720,15 +5723,15 @@ __decorateClass([
|
|
|
5720
5723
|
], ProjectDto.prototype, "endDate", 2);
|
|
5721
5724
|
__decorateClass([
|
|
5722
5725
|
IsOptional24(),
|
|
5723
|
-
|
|
5726
|
+
IsString25()
|
|
5724
5727
|
], ProjectDto.prototype, "clientName", 2);
|
|
5725
5728
|
__decorateClass([
|
|
5726
5729
|
IsOptional24(),
|
|
5727
|
-
|
|
5730
|
+
IsString25()
|
|
5728
5731
|
], ProjectDto.prototype, "gitLink", 2);
|
|
5729
5732
|
__decorateClass([
|
|
5730
5733
|
IsOptional24(),
|
|
5731
|
-
|
|
5734
|
+
IsString25(),
|
|
5732
5735
|
MaxLength13(5e3, { message: "Description must not exceed 5000 characters" })
|
|
5733
5736
|
], ProjectDto.prototype, "description", 2);
|
|
5734
5737
|
var CaseStudyDto = class {
|
|
@@ -5737,16 +5740,16 @@ __decorateClass([
|
|
|
5737
5740
|
IsOptional24()
|
|
5738
5741
|
], CaseStudyDto.prototype, "uuid", 2);
|
|
5739
5742
|
__decorateClass([
|
|
5740
|
-
|
|
5743
|
+
IsString25(),
|
|
5741
5744
|
IsNotEmpty42({ message: "Please Enter Project Name " })
|
|
5742
5745
|
], CaseStudyDto.prototype, "projectName", 2);
|
|
5743
5746
|
__decorateClass([
|
|
5744
5747
|
IsOptional24(),
|
|
5745
|
-
|
|
5748
|
+
IsString25()
|
|
5746
5749
|
], CaseStudyDto.prototype, "caseStudyLink", 2);
|
|
5747
5750
|
__decorateClass([
|
|
5748
5751
|
IsOptional24(),
|
|
5749
|
-
|
|
5752
|
+
IsString25(),
|
|
5750
5753
|
MaxLength13(5e3, { message: "Description must not exceed 5000 characters" })
|
|
5751
5754
|
], CaseStudyDto.prototype, "description", 2);
|
|
5752
5755
|
var FreelancerProjectDto = class {
|
|
@@ -5775,7 +5778,7 @@ var FREELANCER_SKILL_PATTERN = {
|
|
|
5775
5778
|
};
|
|
5776
5779
|
|
|
5777
5780
|
// src/modules/user/freelancer-skill/dto/freelancer-skill.dto.ts
|
|
5778
|
-
import { IsArray as IsArray8, IsString as
|
|
5781
|
+
import { IsArray as IsArray8, IsString as IsString26, IsOptional as IsOptional25 } from "class-validator";
|
|
5779
5782
|
import { Type as Type6 } from "class-transformer";
|
|
5780
5783
|
var FreelancerSkillDto = class {
|
|
5781
5784
|
constructor() {
|
|
@@ -5788,19 +5791,19 @@ __decorateClass([
|
|
|
5788
5791
|
IsOptional25(),
|
|
5789
5792
|
IsArray8(),
|
|
5790
5793
|
Type6(() => String),
|
|
5791
|
-
|
|
5794
|
+
IsString26({ each: true })
|
|
5792
5795
|
], FreelancerSkillDto.prototype, "coreSkills", 2);
|
|
5793
5796
|
__decorateClass([
|
|
5794
5797
|
IsOptional25(),
|
|
5795
5798
|
IsArray8(),
|
|
5796
5799
|
Type6(() => String),
|
|
5797
|
-
|
|
5800
|
+
IsString26({ each: true })
|
|
5798
5801
|
], FreelancerSkillDto.prototype, "tools", 2);
|
|
5799
5802
|
__decorateClass([
|
|
5800
5803
|
IsOptional25(),
|
|
5801
5804
|
IsArray8(),
|
|
5802
5805
|
Type6(() => String),
|
|
5803
|
-
|
|
5806
|
+
IsString26({ each: true })
|
|
5804
5807
|
], FreelancerSkillDto.prototype, "frameworks", 2);
|
|
5805
5808
|
|
|
5806
5809
|
// src/modules/freelancer-admin/pattern/pattern.ts
|
|
@@ -5817,7 +5820,7 @@ var ADMIN_FREELANCER_PATTERN = {
|
|
|
5817
5820
|
|
|
5818
5821
|
// src/modules/freelancer-admin/dto/create-freelancer.dto.ts
|
|
5819
5822
|
import {
|
|
5820
|
-
IsString as
|
|
5823
|
+
IsString as IsString27,
|
|
5821
5824
|
IsEmail as IsEmail10,
|
|
5822
5825
|
IsBoolean as IsBoolean10,
|
|
5823
5826
|
IsOptional as IsOptional26,
|
|
@@ -5847,17 +5850,17 @@ var ModeOfWorkEnum = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
|
|
|
5847
5850
|
var CreateFreelancerDto = class {
|
|
5848
5851
|
};
|
|
5849
5852
|
__decorateClass([
|
|
5850
|
-
|
|
5853
|
+
IsString27({ message: "Full name must be a string" }),
|
|
5851
5854
|
MaxLength15(100, { message: "Full name must not exceed 100 characters" })
|
|
5852
5855
|
], CreateFreelancerDto.prototype, "fullName", 2);
|
|
5853
5856
|
__decorateClass([
|
|
5854
5857
|
IsEmail10({}, { message: "Invalid email address" })
|
|
5855
5858
|
], CreateFreelancerDto.prototype, "email", 2);
|
|
5856
5859
|
__decorateClass([
|
|
5857
|
-
|
|
5860
|
+
IsString27({ message: "Mobile code must be a string (e.g., +1)" })
|
|
5858
5861
|
], CreateFreelancerDto.prototype, "mobileCode", 2);
|
|
5859
5862
|
__decorateClass([
|
|
5860
|
-
|
|
5863
|
+
IsString27({ message: "Mobile must be a string (e.g., 1243253534)" })
|
|
5861
5864
|
], CreateFreelancerDto.prototype, "mobile", 2);
|
|
5862
5865
|
__decorateClass([
|
|
5863
5866
|
IsNotEmpty44({ message: "Please enter password." }),
|
|
@@ -5908,7 +5911,7 @@ __decorateClass([
|
|
|
5908
5911
|
], CreateFreelancerDto.prototype, "linkedinProfileLink", 2);
|
|
5909
5912
|
__decorateClass([
|
|
5910
5913
|
IsOptional26(),
|
|
5911
|
-
|
|
5914
|
+
IsString27({ message: "Kaggle profile link must be a string" })
|
|
5912
5915
|
], CreateFreelancerDto.prototype, "kaggleProfileLink", 2);
|
|
5913
5916
|
__decorateClass([
|
|
5914
5917
|
IsOptional26(),
|
|
@@ -5925,7 +5928,7 @@ __decorateClass([
|
|
|
5925
5928
|
|
|
5926
5929
|
// src/modules/freelancer-admin/dto/update-freelancer.dto.ts
|
|
5927
5930
|
import {
|
|
5928
|
-
IsString as
|
|
5931
|
+
IsString as IsString28,
|
|
5929
5932
|
IsEmail as IsEmail11,
|
|
5930
5933
|
IsBoolean as IsBoolean11,
|
|
5931
5934
|
IsOptional as IsOptional27,
|
|
@@ -5956,7 +5959,7 @@ var UpdateFreelancerDto = class {
|
|
|
5956
5959
|
};
|
|
5957
5960
|
__decorateClass([
|
|
5958
5961
|
IsOptional27(),
|
|
5959
|
-
|
|
5962
|
+
IsString28({ message: "Full name must be a string" }),
|
|
5960
5963
|
MaxLength16(100, { message: "Full name must not exceed 100 characters" })
|
|
5961
5964
|
], UpdateFreelancerDto.prototype, "fullName", 2);
|
|
5962
5965
|
__decorateClass([
|
|
@@ -5965,11 +5968,11 @@ __decorateClass([
|
|
|
5965
5968
|
], UpdateFreelancerDto.prototype, "email", 2);
|
|
5966
5969
|
__decorateClass([
|
|
5967
5970
|
IsOptional27(),
|
|
5968
|
-
|
|
5971
|
+
IsString28({ message: "Mobile code must be a string (e.g., +1)" })
|
|
5969
5972
|
], UpdateFreelancerDto.prototype, "mobileCode", 2);
|
|
5970
5973
|
__decorateClass([
|
|
5971
5974
|
IsOptional27(),
|
|
5972
|
-
|
|
5975
|
+
IsString28({ message: "Mobile must be a string (e.g., 1243253534)" })
|
|
5973
5976
|
], UpdateFreelancerDto.prototype, "mobile", 2);
|
|
5974
5977
|
__decorateClass([
|
|
5975
5978
|
IsOptional27(),
|
|
@@ -6022,7 +6025,7 @@ __decorateClass([
|
|
|
6022
6025
|
], UpdateFreelancerDto.prototype, "linkedinProfileLink", 2);
|
|
6023
6026
|
__decorateClass([
|
|
6024
6027
|
IsOptional27(),
|
|
6025
|
-
|
|
6028
|
+
IsString28({ message: "Kaggle profile link must be a string" })
|
|
6026
6029
|
], UpdateFreelancerDto.prototype, "kaggleProfileLink", 2);
|
|
6027
6030
|
__decorateClass([
|
|
6028
6031
|
IsOptional27(),
|
|
@@ -6055,7 +6058,7 @@ import {
|
|
|
6055
6058
|
IsNotEmpty as IsNotEmpty46,
|
|
6056
6059
|
IsEmail as IsEmail12,
|
|
6057
6060
|
IsOptional as IsOptional28,
|
|
6058
|
-
IsString as
|
|
6061
|
+
IsString as IsString29,
|
|
6059
6062
|
IsArray as IsArray9,
|
|
6060
6063
|
MinLength as MinLength14,
|
|
6061
6064
|
MaxLength as MaxLength17,
|
|
@@ -6078,11 +6081,11 @@ var CreateClientDto = class {
|
|
|
6078
6081
|
};
|
|
6079
6082
|
__decorateClass([
|
|
6080
6083
|
IsNotEmpty46({ message: "Please enter first name." }),
|
|
6081
|
-
|
|
6084
|
+
IsString29()
|
|
6082
6085
|
], CreateClientDto.prototype, "firstName", 2);
|
|
6083
6086
|
__decorateClass([
|
|
6084
6087
|
IsNotEmpty46({ message: "Please enter last name." }),
|
|
6085
|
-
|
|
6088
|
+
IsString29()
|
|
6086
6089
|
], CreateClientDto.prototype, "lastName", 2);
|
|
6087
6090
|
__decorateClass([
|
|
6088
6091
|
IsNotEmpty46({ message: "Please enter email." }),
|
|
@@ -6102,7 +6105,7 @@ __decorateClass([
|
|
|
6102
6105
|
], CreateClientDto.prototype, "confirmPassword", 2);
|
|
6103
6106
|
__decorateClass([
|
|
6104
6107
|
IsNotEmpty46({ message: "Please enter company name." }),
|
|
6105
|
-
|
|
6108
|
+
IsString29()
|
|
6106
6109
|
], CreateClientDto.prototype, "companyName", 2);
|
|
6107
6110
|
__decorateClass([
|
|
6108
6111
|
IsArray9({ message: "Skills should be an array." }),
|
|
@@ -6110,7 +6113,7 @@ __decorateClass([
|
|
|
6110
6113
|
], CreateClientDto.prototype, "skills", 2);
|
|
6111
6114
|
__decorateClass([
|
|
6112
6115
|
IsNotEmpty46({ message: "Please specify required freelancer count." }),
|
|
6113
|
-
|
|
6116
|
+
IsString29()
|
|
6114
6117
|
], CreateClientDto.prototype, "requiredFreelancer", 2);
|
|
6115
6118
|
__decorateClass([
|
|
6116
6119
|
IsNotEmpty46({ message: "Please specify the kind of hiring." }),
|
|
@@ -6122,20 +6125,20 @@ __decorateClass([
|
|
|
6122
6125
|
], CreateClientDto.prototype, "modeOfHire", 2);
|
|
6123
6126
|
__decorateClass([
|
|
6124
6127
|
IsNotEmpty46({ message: "Please let us know how you found us." }),
|
|
6125
|
-
|
|
6128
|
+
IsString29()
|
|
6126
6129
|
], CreateClientDto.prototype, "foundUsOn", 2);
|
|
6127
6130
|
__decorateClass([
|
|
6128
6131
|
IsOptional28(),
|
|
6129
|
-
|
|
6132
|
+
IsString29()
|
|
6130
6133
|
], CreateClientDto.prototype, "foundUsOnDetail", 2);
|
|
6131
6134
|
|
|
6132
6135
|
// src/modules/client-admin/dto/update-client-status.dto.ts
|
|
6133
|
-
import { IsString as
|
|
6136
|
+
import { IsString as IsString30, IsNotEmpty as IsNotEmpty47 } from "class-validator";
|
|
6134
6137
|
var UpdateClientAccountStatusDto = class {
|
|
6135
6138
|
};
|
|
6136
6139
|
__decorateClass([
|
|
6137
6140
|
IsNotEmpty47({ message: "Please enter account status." }),
|
|
6138
|
-
|
|
6141
|
+
IsString30()
|
|
6139
6142
|
], UpdateClientAccountStatusDto.prototype, "accountStatus", 2);
|
|
6140
6143
|
|
|
6141
6144
|
// src/modules/client-admin/dto/update-client.dto.ts
|
|
@@ -6144,7 +6147,7 @@ import {
|
|
|
6144
6147
|
IsNotEmpty as IsNotEmpty48,
|
|
6145
6148
|
IsEmail as IsEmail13,
|
|
6146
6149
|
IsOptional as IsOptional29,
|
|
6147
|
-
IsString as
|
|
6150
|
+
IsString as IsString31,
|
|
6148
6151
|
IsArray as IsArray10,
|
|
6149
6152
|
MinLength as MinLength15,
|
|
6150
6153
|
MaxLength as MaxLength18,
|
|
@@ -6167,11 +6170,11 @@ var UpdateClientDto = class {
|
|
|
6167
6170
|
};
|
|
6168
6171
|
__decorateClass([
|
|
6169
6172
|
IsNotEmpty48({ message: "Please enter first name." }),
|
|
6170
|
-
|
|
6173
|
+
IsString31()
|
|
6171
6174
|
], UpdateClientDto.prototype, "firstName", 2);
|
|
6172
6175
|
__decorateClass([
|
|
6173
6176
|
IsNotEmpty48({ message: "Please enter last name." }),
|
|
6174
|
-
|
|
6177
|
+
IsString31()
|
|
6175
6178
|
], UpdateClientDto.prototype, "lastName", 2);
|
|
6176
6179
|
__decorateClass([
|
|
6177
6180
|
IsNotEmpty48({ message: "Please enter email." }),
|
|
@@ -6188,7 +6191,7 @@ __decorateClass([
|
|
|
6188
6191
|
], UpdateClientDto.prototype, "password", 2);
|
|
6189
6192
|
__decorateClass([
|
|
6190
6193
|
IsNotEmpty48({ message: "Please enter company name." }),
|
|
6191
|
-
|
|
6194
|
+
IsString31()
|
|
6192
6195
|
], UpdateClientDto.prototype, "companyName", 2);
|
|
6193
6196
|
__decorateClass([
|
|
6194
6197
|
IsArray10({ message: "Skills should be an array." }),
|
|
@@ -6196,7 +6199,7 @@ __decorateClass([
|
|
|
6196
6199
|
], UpdateClientDto.prototype, "skills", 2);
|
|
6197
6200
|
__decorateClass([
|
|
6198
6201
|
IsNotEmpty48({ message: "Please specify required freelancer count." }),
|
|
6199
|
-
|
|
6202
|
+
IsString31()
|
|
6200
6203
|
], UpdateClientDto.prototype, "requiredFreelancer", 2);
|
|
6201
6204
|
__decorateClass([
|
|
6202
6205
|
IsNotEmpty48({ message: "Please specify the kind of hiring." }),
|
|
@@ -6208,11 +6211,11 @@ __decorateClass([
|
|
|
6208
6211
|
], UpdateClientDto.prototype, "modeOfHire", 2);
|
|
6209
6212
|
__decorateClass([
|
|
6210
6213
|
IsNotEmpty48({ message: "Please let us know how you found us." }),
|
|
6211
|
-
|
|
6214
|
+
IsString31()
|
|
6212
6215
|
], UpdateClientDto.prototype, "foundUsOn", 2);
|
|
6213
6216
|
__decorateClass([
|
|
6214
6217
|
IsOptional29(),
|
|
6215
|
-
|
|
6218
|
+
IsString31()
|
|
6216
6219
|
], UpdateClientDto.prototype, "foundUsOnDetail", 2);
|
|
6217
6220
|
|
|
6218
6221
|
// src/modules/user/freelancer-declaration/pattern/pattern.ts
|
|
@@ -6222,7 +6225,7 @@ var FREELANCER_DECLARATION_PATTERN = {
|
|
|
6222
6225
|
};
|
|
6223
6226
|
|
|
6224
6227
|
// src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
|
|
6225
|
-
import { IsOptional as IsOptional30, IsEnum as IsEnum20, IsString as
|
|
6228
|
+
import { IsOptional as IsOptional30, IsEnum as IsEnum20, IsString as IsString32, IsNotEmpty as IsNotEmpty49, IsIn as IsIn3 } from "class-validator";
|
|
6226
6229
|
var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
|
|
6227
6230
|
DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
|
|
6228
6231
|
DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
|
|
@@ -6234,14 +6237,14 @@ var FreelancerDeclarationDto = class {
|
|
|
6234
6237
|
};
|
|
6235
6238
|
__decorateClass([
|
|
6236
6239
|
IsOptional30(),
|
|
6237
|
-
|
|
6240
|
+
IsString32({ message: "UUID must be a string" })
|
|
6238
6241
|
], FreelancerDeclarationDto.prototype, "uuid", 2);
|
|
6239
6242
|
__decorateClass([
|
|
6240
6243
|
IsEnum20(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
|
|
6241
6244
|
], FreelancerDeclarationDto.prototype, "documentType", 2);
|
|
6242
6245
|
__decorateClass([
|
|
6243
6246
|
IsNotEmpty49({ message: "Please accept the declaration " }),
|
|
6244
|
-
|
|
6247
|
+
IsString32(),
|
|
6245
6248
|
IsIn3([
|
|
6246
6249
|
"true"
|
|
6247
6250
|
])
|
|
@@ -6315,7 +6318,7 @@ var ADMIN_JOB_PATTERN = {
|
|
|
6315
6318
|
// src/modules/job-admin/dto/admin-create-job-information.dto.ts
|
|
6316
6319
|
import { Type as Type9 } from "class-transformer";
|
|
6317
6320
|
import {
|
|
6318
|
-
IsString as
|
|
6321
|
+
IsString as IsString33,
|
|
6319
6322
|
IsEnum as IsEnum21,
|
|
6320
6323
|
IsInt as IsInt6,
|
|
6321
6324
|
IsOptional as IsOptional33,
|
|
@@ -6341,17 +6344,17 @@ var TypeOfEmploymentEnumDto = /* @__PURE__ */ ((TypeOfEmploymentEnumDto2) => {
|
|
|
6341
6344
|
var AdminCreateJobInformationDto = class {
|
|
6342
6345
|
};
|
|
6343
6346
|
__decorateClass([
|
|
6344
|
-
|
|
6347
|
+
IsString33({ message: "Job role must be a string." }),
|
|
6345
6348
|
IsNotEmpty52({ message: "Job role is required." })
|
|
6346
6349
|
], AdminCreateJobInformationDto.prototype, "jobRole", 2);
|
|
6347
6350
|
__decorateClass([
|
|
6348
6351
|
IsOptional33(),
|
|
6349
|
-
|
|
6352
|
+
IsString33({ message: "Note must be a string." })
|
|
6350
6353
|
], AdminCreateJobInformationDto.prototype, "note", 2);
|
|
6351
6354
|
__decorateClass([
|
|
6352
6355
|
IsArray11({ message: "Skills must be an array of skill names." }),
|
|
6353
6356
|
ArrayNotEmpty6({ message: "At least one skill must be provided." }),
|
|
6354
|
-
|
|
6357
|
+
IsString33({ each: true, message: "Each skill must be a valid string." })
|
|
6355
6358
|
], AdminCreateJobInformationDto.prototype, "skills", 2);
|
|
6356
6359
|
__decorateClass([
|
|
6357
6360
|
IsInt6({ message: "Openings must be a valid integer." }),
|
|
@@ -6372,15 +6375,15 @@ __decorateClass([
|
|
|
6372
6375
|
})
|
|
6373
6376
|
], AdminCreateJobInformationDto.prototype, "typeOfEmployment", 2);
|
|
6374
6377
|
__decorateClass([
|
|
6375
|
-
|
|
6378
|
+
IsString33({ message: "Onboarding Days must be a string." }),
|
|
6376
6379
|
IsNotEmpty52({ message: "Onboarding Days is required." })
|
|
6377
6380
|
], AdminCreateJobInformationDto.prototype, "onboardingTat", 2);
|
|
6378
6381
|
__decorateClass([
|
|
6379
|
-
|
|
6382
|
+
IsString33({ message: "Communication skills must be a string." }),
|
|
6380
6383
|
IsNotEmpty52({ message: "Communication skills are required." })
|
|
6381
6384
|
], AdminCreateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
|
|
6382
6385
|
__decorateClass([
|
|
6383
|
-
|
|
6386
|
+
IsString33({ message: "Currency must be a string." }),
|
|
6384
6387
|
IsNotEmpty52({ message: "Currency is required." })
|
|
6385
6388
|
], AdminCreateJobInformationDto.prototype, "currency", 2);
|
|
6386
6389
|
__decorateClass([
|
|
@@ -6405,7 +6408,7 @@ __decorateClass([
|
|
|
6405
6408
|
], AdminCreateJobInformationDto.prototype, "tentativeEndDate", 2);
|
|
6406
6409
|
__decorateClass([
|
|
6407
6410
|
IsOptional33(),
|
|
6408
|
-
|
|
6411
|
+
IsString33({ message: "Additional comment must be a string." })
|
|
6409
6412
|
], AdminCreateJobInformationDto.prototype, "additionalComment", 2);
|
|
6410
6413
|
__decorateClass([
|
|
6411
6414
|
IsInt6({ message: "Country ID must be a valid integer." })
|
|
@@ -6423,7 +6426,7 @@ __decorateClass([
|
|
|
6423
6426
|
// src/modules/job-admin/dto/admin-update-job-information.dto.ts
|
|
6424
6427
|
import { Type as Type10 } from "class-transformer";
|
|
6425
6428
|
import {
|
|
6426
|
-
IsString as
|
|
6429
|
+
IsString as IsString34,
|
|
6427
6430
|
IsEnum as IsEnum22,
|
|
6428
6431
|
IsInt as IsInt7,
|
|
6429
6432
|
IsOptional as IsOptional34,
|
|
@@ -6449,17 +6452,17 @@ var TypeOfEmploymentEnums = /* @__PURE__ */ ((TypeOfEmploymentEnums2) => {
|
|
|
6449
6452
|
var AdminUpdateJobInformationDto = class {
|
|
6450
6453
|
};
|
|
6451
6454
|
__decorateClass([
|
|
6452
|
-
|
|
6455
|
+
IsString34({ message: "Job role must be a string." }),
|
|
6453
6456
|
IsNotEmpty53({ message: "Job role is required." })
|
|
6454
6457
|
], AdminUpdateJobInformationDto.prototype, "jobRole", 2);
|
|
6455
6458
|
__decorateClass([
|
|
6456
6459
|
IsOptional34(),
|
|
6457
|
-
|
|
6460
|
+
IsString34({ message: "Note must be a string." })
|
|
6458
6461
|
], AdminUpdateJobInformationDto.prototype, "note", 2);
|
|
6459
6462
|
__decorateClass([
|
|
6460
6463
|
IsArray12({ message: "Skills must be an array of skill names." }),
|
|
6461
6464
|
ArrayNotEmpty7({ message: "At least one skill must be provided." }),
|
|
6462
|
-
|
|
6465
|
+
IsString34({ each: true, message: "Each skill must be a valid string." })
|
|
6463
6466
|
], AdminUpdateJobInformationDto.prototype, "skills", 2);
|
|
6464
6467
|
__decorateClass([
|
|
6465
6468
|
IsInt7({ message: "Openings must be a valid integer." }),
|
|
@@ -6480,15 +6483,15 @@ __decorateClass([
|
|
|
6480
6483
|
})
|
|
6481
6484
|
], AdminUpdateJobInformationDto.prototype, "typeOfEmployment", 2);
|
|
6482
6485
|
__decorateClass([
|
|
6483
|
-
|
|
6486
|
+
IsString34({ message: "Onboarding Days must be a string." }),
|
|
6484
6487
|
IsNotEmpty53({ message: "Onboarding Days is required." })
|
|
6485
6488
|
], AdminUpdateJobInformationDto.prototype, "onboardingTat", 2);
|
|
6486
6489
|
__decorateClass([
|
|
6487
|
-
|
|
6490
|
+
IsString34({ message: "Communication skills must be a string." }),
|
|
6488
6491
|
IsNotEmpty53({ message: "Communication skills are required." })
|
|
6489
6492
|
], AdminUpdateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
|
|
6490
6493
|
__decorateClass([
|
|
6491
|
-
|
|
6494
|
+
IsString34({ message: "Currency must be a string." }),
|
|
6492
6495
|
IsNotEmpty53({ message: "Currency is required." })
|
|
6493
6496
|
], AdminUpdateJobInformationDto.prototype, "currency", 2);
|
|
6494
6497
|
__decorateClass([
|
|
@@ -6513,7 +6516,7 @@ __decorateClass([
|
|
|
6513
6516
|
], AdminUpdateJobInformationDto.prototype, "tentativeEndDate", 2);
|
|
6514
6517
|
__decorateClass([
|
|
6515
6518
|
IsOptional34(),
|
|
6516
|
-
|
|
6519
|
+
IsString34({ message: "Additional comment must be a string." })
|
|
6517
6520
|
], AdminUpdateJobInformationDto.prototype, "additionalComment", 2);
|
|
6518
6521
|
__decorateClass([
|
|
6519
6522
|
IsInt7({ message: "Country ID must be a valid integer." })
|
|
@@ -6535,7 +6538,7 @@ var LEAD_PATTERN = {
|
|
|
6535
6538
|
};
|
|
6536
6539
|
|
|
6537
6540
|
// src/modules/lead/dto/create-lead.dto.ts
|
|
6538
|
-
import { IsString as
|
|
6541
|
+
import { IsString as IsString35, IsEmail as IsEmail14, IsOptional as IsOptional35, IsEnum as IsEnum23 } from "class-validator";
|
|
6539
6542
|
var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
|
|
6540
6543
|
CategoryEmumDto2["BUSINESS"] = "BUSINESS";
|
|
6541
6544
|
CategoryEmumDto2["FREELANCER"] = "FREELANCER";
|
|
@@ -6544,20 +6547,20 @@ var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
|
|
|
6544
6547
|
var CreateLeadDto = class {
|
|
6545
6548
|
};
|
|
6546
6549
|
__decorateClass([
|
|
6547
|
-
|
|
6550
|
+
IsString35({ message: "Name must be a string" })
|
|
6548
6551
|
], CreateLeadDto.prototype, "name", 2);
|
|
6549
6552
|
__decorateClass([
|
|
6550
6553
|
IsEmail14({}, { message: "Invalid email address" })
|
|
6551
6554
|
], CreateLeadDto.prototype, "email", 2);
|
|
6552
6555
|
__decorateClass([
|
|
6553
|
-
|
|
6556
|
+
IsString35({ message: "Mobile code must be a string (e.g., +1)" })
|
|
6554
6557
|
], CreateLeadDto.prototype, "mobileCode", 2);
|
|
6555
6558
|
__decorateClass([
|
|
6556
|
-
|
|
6559
|
+
IsString35({ message: "Mobile must be a string (e.g., 1243253534)" })
|
|
6557
6560
|
], CreateLeadDto.prototype, "mobile", 2);
|
|
6558
6561
|
__decorateClass([
|
|
6559
6562
|
IsOptional35(),
|
|
6560
|
-
|
|
6563
|
+
IsString35({ message: "Description must be a string" })
|
|
6561
6564
|
], CreateLeadDto.prototype, "description", 2);
|
|
6562
6565
|
__decorateClass([
|
|
6563
6566
|
IsEnum23(CategoryEmumDto, {
|
|
@@ -6580,29 +6583,29 @@ var ADMIN_ROLE_PATTERN = {
|
|
|
6580
6583
|
};
|
|
6581
6584
|
|
|
6582
6585
|
// src/modules/admin-role/dto/create-admin-role.dto.ts
|
|
6583
|
-
import { IsNotEmpty as IsNotEmpty54, IsOptional as IsOptional36, IsString as
|
|
6586
|
+
import { IsNotEmpty as IsNotEmpty54, IsOptional as IsOptional36, IsString as IsString36 } from "class-validator";
|
|
6584
6587
|
var CreateAdminRoleDto = class {
|
|
6585
6588
|
};
|
|
6586
6589
|
__decorateClass([
|
|
6587
6590
|
IsNotEmpty54({ message: "Please enter admin role name." }),
|
|
6588
|
-
|
|
6591
|
+
IsString36({ message: "Role name must be a string." })
|
|
6589
6592
|
], CreateAdminRoleDto.prototype, "roleName", 2);
|
|
6590
6593
|
__decorateClass([
|
|
6591
6594
|
IsOptional36(),
|
|
6592
|
-
|
|
6595
|
+
IsString36({ message: "Role description must be a string." })
|
|
6593
6596
|
], CreateAdminRoleDto.prototype, "roleDescription", 2);
|
|
6594
6597
|
|
|
6595
6598
|
// src/modules/admin-role/dto/update-admin-role.dto.ts
|
|
6596
|
-
import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty55, IsOptional as IsOptional37, IsString as
|
|
6599
|
+
import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty55, IsOptional as IsOptional37, IsString as IsString37 } from "class-validator";
|
|
6597
6600
|
var UpdateAdminRoleDto = class {
|
|
6598
6601
|
};
|
|
6599
6602
|
__decorateClass([
|
|
6600
6603
|
IsNotEmpty55({ message: "Please enter admin role name." }),
|
|
6601
|
-
|
|
6604
|
+
IsString37({ message: "Role name must be a string." })
|
|
6602
6605
|
], UpdateAdminRoleDto.prototype, "roleName", 2);
|
|
6603
6606
|
__decorateClass([
|
|
6604
6607
|
IsOptional37(),
|
|
6605
|
-
|
|
6608
|
+
IsString37({ message: "Role description must be a string." })
|
|
6606
6609
|
], UpdateAdminRoleDto.prototype, "roleDescription", 2);
|
|
6607
6610
|
__decorateClass([
|
|
6608
6611
|
IsOptional37(),
|
|
@@ -6610,16 +6613,16 @@ __decorateClass([
|
|
|
6610
6613
|
], UpdateAdminRoleDto.prototype, "isActive", 2);
|
|
6611
6614
|
|
|
6612
6615
|
// src/modules/admin-role/dto/attach-permissions-to-role.dto.ts
|
|
6613
|
-
import { IsNotEmpty as IsNotEmpty56, IsString as
|
|
6616
|
+
import { IsNotEmpty as IsNotEmpty56, IsString as IsString38 } from "class-validator";
|
|
6614
6617
|
var AttachPermissionsToRoleDto = class {
|
|
6615
6618
|
};
|
|
6616
6619
|
__decorateClass([
|
|
6617
6620
|
IsNotEmpty56({ message: "Please enter admin role ID." }),
|
|
6618
|
-
|
|
6621
|
+
IsString38({ message: "Role ID must be a string." })
|
|
6619
6622
|
], AttachPermissionsToRoleDto.prototype, "roleId", 2);
|
|
6620
6623
|
__decorateClass([
|
|
6621
6624
|
IsNotEmpty56({ message: "Please enter permission IDs." }),
|
|
6622
|
-
|
|
6625
|
+
IsString38({ message: "Permission IDs must be a comma-separated string." })
|
|
6623
6626
|
], AttachPermissionsToRoleDto.prototype, "permissionIds", 2);
|
|
6624
6627
|
|
|
6625
6628
|
// src/modules/admin-permission/pattern/pattern.ts
|
|
@@ -6646,7 +6649,7 @@ var CALENDLY_PATTERN = {
|
|
|
6646
6649
|
|
|
6647
6650
|
// src/modules/interview/dto/interview-invite.dto.ts
|
|
6648
6651
|
import {
|
|
6649
|
-
IsString as
|
|
6652
|
+
IsString as IsString39,
|
|
6650
6653
|
IsNotEmpty as IsNotEmpty57,
|
|
6651
6654
|
IsArray as IsArray13,
|
|
6652
6655
|
ArrayNotEmpty as ArrayNotEmpty8,
|
|
@@ -6678,7 +6681,7 @@ var NewCandidateDto = class {
|
|
|
6678
6681
|
};
|
|
6679
6682
|
__decorateClass([
|
|
6680
6683
|
IsNotEmpty57({ message: "Please enter the candidate name" }),
|
|
6681
|
-
|
|
6684
|
+
IsString39({ message: "Name must be a string" })
|
|
6682
6685
|
], NewCandidateDto.prototype, "name", 2);
|
|
6683
6686
|
__decorateClass([
|
|
6684
6687
|
IsEmail15({}, { message: "Please enter a valid email." })
|
|
@@ -6716,7 +6719,7 @@ __decorateClass([
|
|
|
6716
6719
|
|
|
6717
6720
|
// src/modules/interview/dto/create-f2f-interview.dto.ts
|
|
6718
6721
|
import {
|
|
6719
|
-
IsString as
|
|
6722
|
+
IsString as IsString40,
|
|
6720
6723
|
IsNotEmpty as IsNotEmpty58,
|
|
6721
6724
|
IsEmail as IsEmail16,
|
|
6722
6725
|
IsNumber as IsNumber7
|
|
@@ -6728,7 +6731,7 @@ __decorateClass([
|
|
|
6728
6731
|
IsNotEmpty58({ message: "Invitee email is required." })
|
|
6729
6732
|
], CreateF2FInterviewDto.prototype, "inviteeEmail", 2);
|
|
6730
6733
|
__decorateClass([
|
|
6731
|
-
|
|
6734
|
+
IsString40({ message: "Invitee name must be a string." }),
|
|
6732
6735
|
IsNotEmpty58({ message: "Invitee name is required." })
|
|
6733
6736
|
], CreateF2FInterviewDto.prototype, "inviteeName", 2);
|
|
6734
6737
|
__decorateClass([
|
|
@@ -6740,7 +6743,7 @@ __decorateClass([
|
|
|
6740
6743
|
|
|
6741
6744
|
// src/modules/interview/dto/create-f2f-interview-direct.dto.ts
|
|
6742
6745
|
import {
|
|
6743
|
-
IsString as
|
|
6746
|
+
IsString as IsString41,
|
|
6744
6747
|
IsNotEmpty as IsNotEmpty59,
|
|
6745
6748
|
IsEmail as IsEmail17,
|
|
6746
6749
|
IsNumber as IsNumber8
|
|
@@ -6752,7 +6755,7 @@ __decorateClass([
|
|
|
6752
6755
|
IsNotEmpty59({ message: "Invitee email is required." })
|
|
6753
6756
|
], CreateF2FInterviewDirectDto.prototype, "inviteeEmail", 2);
|
|
6754
6757
|
__decorateClass([
|
|
6755
|
-
|
|
6758
|
+
IsString41({ message: "Invitee name must be a string." }),
|
|
6756
6759
|
IsNotEmpty59({ message: "Invitee name is required." })
|
|
6757
6760
|
], CreateF2FInterviewDirectDto.prototype, "inviteeName", 2);
|
|
6758
6761
|
__decorateClass([
|
|
@@ -6764,7 +6767,7 @@ __decorateClass([
|
|
|
6764
6767
|
|
|
6765
6768
|
// src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
|
|
6766
6769
|
import {
|
|
6767
|
-
IsString as
|
|
6770
|
+
IsString as IsString42,
|
|
6768
6771
|
IsNotEmpty as IsNotEmpty60
|
|
6769
6772
|
} from "class-validator";
|
|
6770
6773
|
var CreateF2FInterviewRescheduleRequestDto = class {
|
|
@@ -6776,11 +6779,11 @@ __decorateClass([
|
|
|
6776
6779
|
IsNotEmpty60({ message: "Rescheduled date is required." })
|
|
6777
6780
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledDate", 2);
|
|
6778
6781
|
__decorateClass([
|
|
6779
|
-
|
|
6782
|
+
IsString42({ message: "Rescheduled slot must be a string." }),
|
|
6780
6783
|
IsNotEmpty60({ message: "Rescheduled slot is required." })
|
|
6781
6784
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledSlot", 2);
|
|
6782
6785
|
__decorateClass([
|
|
6783
|
-
|
|
6786
|
+
IsString42({ message: "Freelancer reason must be a string." })
|
|
6784
6787
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
|
|
6785
6788
|
|
|
6786
6789
|
// src/modules/contract/pattern/pattern.ts
|
|
@@ -6889,7 +6892,7 @@ import {
|
|
|
6889
6892
|
IsInt as IsInt8,
|
|
6890
6893
|
IsNotEmpty as IsNotEmpty64,
|
|
6891
6894
|
IsOptional as IsOptional40,
|
|
6892
|
-
IsString as
|
|
6895
|
+
IsString as IsString43,
|
|
6893
6896
|
Matches as Matches13,
|
|
6894
6897
|
IsNumber as IsNumber11
|
|
6895
6898
|
} from "class-validator";
|
|
@@ -6925,15 +6928,15 @@ __decorateClass([
|
|
|
6925
6928
|
], CreateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
6926
6929
|
__decorateClass([
|
|
6927
6930
|
IsOptional40(),
|
|
6928
|
-
|
|
6931
|
+
IsString43()
|
|
6929
6932
|
], CreateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
6930
6933
|
__decorateClass([
|
|
6931
6934
|
IsOptional40(),
|
|
6932
|
-
|
|
6935
|
+
IsString43()
|
|
6933
6936
|
], CreateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
6934
6937
|
__decorateClass([
|
|
6935
6938
|
IsOptional40(),
|
|
6936
|
-
|
|
6939
|
+
IsString43()
|
|
6937
6940
|
], CreateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
6938
6941
|
__decorateClass([
|
|
6939
6942
|
IsNotEmpty64({ message: "Description is required" })
|
|
@@ -6945,7 +6948,7 @@ import {
|
|
|
6945
6948
|
IsInt as IsInt9,
|
|
6946
6949
|
IsNotEmpty as IsNotEmpty65,
|
|
6947
6950
|
IsOptional as IsOptional41,
|
|
6948
|
-
IsString as
|
|
6951
|
+
IsString as IsString44,
|
|
6949
6952
|
Matches as Matches14,
|
|
6950
6953
|
IsNumber as IsNumber12
|
|
6951
6954
|
} from "class-validator";
|
|
@@ -6981,15 +6984,15 @@ __decorateClass([
|
|
|
6981
6984
|
], UpdateFreelancerTimesheetDto.prototype, "taskId", 2);
|
|
6982
6985
|
__decorateClass([
|
|
6983
6986
|
IsOptional41(),
|
|
6984
|
-
|
|
6987
|
+
IsString44()
|
|
6985
6988
|
], UpdateFreelancerTimesheetDto.prototype, "projectName", 2);
|
|
6986
6989
|
__decorateClass([
|
|
6987
6990
|
IsOptional41(),
|
|
6988
|
-
|
|
6991
|
+
IsString44()
|
|
6989
6992
|
], UpdateFreelancerTimesheetDto.prototype, "deliverable", 2);
|
|
6990
6993
|
__decorateClass([
|
|
6991
6994
|
IsOptional41(),
|
|
6992
|
-
|
|
6995
|
+
IsString44()
|
|
6993
6996
|
], UpdateFreelancerTimesheetDto.prototype, "taskName", 2);
|
|
6994
6997
|
__decorateClass([
|
|
6995
6998
|
IsNotEmpty65({ message: "Description is required" })
|
|
@@ -7019,7 +7022,7 @@ __decorateClass([
|
|
|
7019
7022
|
|
|
7020
7023
|
// src/modules/dispute/dto/create-dispute.dto.ts
|
|
7021
7024
|
import {
|
|
7022
|
-
IsString as
|
|
7025
|
+
IsString as IsString45,
|
|
7023
7026
|
IsNotEmpty as IsNotEmpty67,
|
|
7024
7027
|
IsIn as IsIn4,
|
|
7025
7028
|
IsOptional as IsOptional42,
|
|
@@ -7031,17 +7034,17 @@ var CreateDisputeDto = class {
|
|
|
7031
7034
|
};
|
|
7032
7035
|
__decorateClass([
|
|
7033
7036
|
IsNotEmpty67({ message: "Please select dispute type." }),
|
|
7034
|
-
|
|
7037
|
+
IsString45(),
|
|
7035
7038
|
IsIn4(["JOB", "INVOICE"])
|
|
7036
7039
|
], CreateDisputeDto.prototype, "disputeType", 2);
|
|
7037
7040
|
__decorateClass([
|
|
7038
7041
|
IsNotEmpty67({ message: "Please enter description." }),
|
|
7039
|
-
|
|
7042
|
+
IsString45({ message: "Description must be a string" }),
|
|
7040
7043
|
MaxLength19(500, { message: "Description must not exceed 500 characters" })
|
|
7041
7044
|
], CreateDisputeDto.prototype, "description", 2);
|
|
7042
7045
|
__decorateClass([
|
|
7043
7046
|
IsOptional42(),
|
|
7044
|
-
|
|
7047
|
+
IsString45({ message: "Comment must be a string" }),
|
|
7045
7048
|
MaxLength19(500, { message: "Comment must not exceed 500 characters" })
|
|
7046
7049
|
], CreateDisputeDto.prototype, "comment", 2);
|
|
7047
7050
|
__decorateClass([
|