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