@experts_hub/shared 1.0.261 → 1.0.262

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
@@ -368,7 +368,7 @@ __decorateClass([
368
368
  (0, import_class_validator7.IsString)({ message: "Please enter valid target." })
369
369
  ], SendGuestOtpDto.prototype, "target", 2);
370
370
  __decorateClass([
371
- (0, import_class_validator7.IsNotEmpty)({ message: "Please enter fallback target." }),
371
+ (0, import_class_validator7.IsOptional)(),
372
372
  (0, import_class_validator7.IsString)({ message: "Please enter valid fallback target." })
373
373
  ], SendGuestOtpDto.prototype, "fallbackTarget", 2);
374
374
  __decorateClass([
package/dist/index.mjs CHANGED
@@ -148,7 +148,7 @@ var OTP_PATTERN = {
148
148
  };
149
149
 
150
150
  // src/modules/otp/dto/send-guest-otp.dto.ts
151
- import { IsEnum as IsEnum5, IsNotEmpty as IsNotEmpty7, IsString } from "class-validator";
151
+ import { IsEnum as IsEnum5, IsNotEmpty as IsNotEmpty7, IsOptional, IsString } from "class-validator";
152
152
  var SendGuestOtpPurposeEnum = /* @__PURE__ */ ((SendGuestOtpPurposeEnum2) => {
153
153
  SendGuestOtpPurposeEnum2["ACCOUNT_VERIFICATION"] = "ACCOUNT_VERIFICATION";
154
154
  return SendGuestOtpPurposeEnum2;
@@ -169,7 +169,7 @@ __decorateClass([
169
169
  IsString({ message: "Please enter valid target." })
170
170
  ], SendGuestOtpDto.prototype, "target", 2);
171
171
  __decorateClass([
172
- IsNotEmpty7({ message: "Please enter fallback target." }),
172
+ IsOptional(),
173
173
  IsString({ message: "Please enter valid fallback target." })
174
174
  ], SendGuestOtpDto.prototype, "fallbackTarget", 2);
175
175
  __decorateClass([
@@ -390,7 +390,7 @@ __decorateClass([
390
390
  ], FreelancerInitiateAiAssessmentDto.prototype, "uuid", 2);
391
391
 
392
392
  // src/modules/onboarding/dto/freelancer-capture-ai-assessment-status.dto.ts
393
- import { IsUUID as IsUUID6, IsNotEmpty as IsNotEmpty15, IsOptional } from "class-validator";
393
+ import { IsUUID as IsUUID6, IsNotEmpty as IsNotEmpty15, IsOptional as IsOptional2 } from "class-validator";
394
394
  var FreelancerCaptureAiAssessmentStatusDto = class {
395
395
  };
396
396
  __decorateClass([
@@ -404,7 +404,7 @@ __decorateClass([
404
404
  IsNotEmpty15({ message: "Please enter assessment status." })
405
405
  ], FreelancerCaptureAiAssessmentStatusDto.prototype, "assessmentStatus", 2);
406
406
  __decorateClass([
407
- IsOptional()
407
+ IsOptional2()
408
408
  ], FreelancerCaptureAiAssessmentStatusDto.prototype, "iframeEventData", 2);
409
409
 
410
410
  // src/modules/onboarding/dto/freelancer-development-preference.dto.ts
@@ -451,7 +451,7 @@ __decorateClass([
451
451
  // src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
452
452
  import {
453
453
  IsNotEmpty as IsNotEmpty18,
454
- IsOptional as IsOptional2,
454
+ IsOptional as IsOptional3,
455
455
  IsUrl,
456
456
  IsString as IsString5,
457
457
  IsUUID as IsUUID9
@@ -468,19 +468,19 @@ __decorateClass([
468
468
  IsUrl({ require_protocol: true }, { message: "linkedinProfileLink must be a valid URL with protocol (e.g. https://)" })
469
469
  ], FreelancerWorkShowcaseDto.prototype, "linkedinProfileLink", 2);
470
470
  __decorateClass([
471
- IsOptional2(),
471
+ IsOptional3(),
472
472
  IsUrl({ require_protocol: true }, { message: "kaggleProfileLink must be a valid URL with protocol (e.g. https://)" })
473
473
  ], FreelancerWorkShowcaseDto.prototype, "kaggleProfileLink", 2);
474
474
  __decorateClass([
475
- IsOptional2(),
475
+ IsOptional3(),
476
476
  IsUrl({ require_protocol: true }, { message: "githubProfileLink must be a valid URL with protocol (e.g. https://)" })
477
477
  ], FreelancerWorkShowcaseDto.prototype, "githubProfileLink", 2);
478
478
  __decorateClass([
479
- IsOptional2(),
479
+ IsOptional3(),
480
480
  IsUrl({ require_protocol: true }, { message: "stackOverflowProfileLink must be a valid URL with protocol (e.g. https://)" })
481
481
  ], FreelancerWorkShowcaseDto.prototype, "stackOverflowProfileLink", 2);
482
482
  __decorateClass([
483
- IsOptional2(),
483
+ IsOptional3(),
484
484
  IsUrl({ require_protocol: true }, { message: "portfolioLink must be a valid URL with protocol (e.g. https://)" })
485
485
  ], FreelancerWorkShowcaseDto.prototype, "portfolioLink", 2);
486
486
 
@@ -725,7 +725,7 @@ var ASSESSMENT_QUESTION_PATTERN = {
725
725
  // src/modules/question/dto/create-question.dto.ts
726
726
  import {
727
727
  IsNotEmpty as IsNotEmpty25,
728
- IsOptional as IsOptional3,
728
+ IsOptional as IsOptional4,
729
729
  IsBoolean as IsBoolean2
730
730
  } from "class-validator";
731
731
  var CreateQuestionDto = class {
@@ -743,7 +743,7 @@ __decorateClass([
743
743
  IsNotEmpty25({ message: "Please enter options." })
744
744
  ], CreateQuestionDto.prototype, "options", 2);
745
745
  __decorateClass([
746
- IsOptional3(),
746
+ IsOptional4(),
747
747
  IsBoolean2({ message: "Whether the question status active" })
748
748
  ], CreateQuestionDto.prototype, "isActive", 2);
749
749
 
@@ -778,7 +778,7 @@ import {
778
778
  IsArray,
779
779
  ArrayNotEmpty,
780
780
  IsNumber,
781
- IsOptional as IsOptional4,
781
+ IsOptional as IsOptional5,
782
782
  IsEnum as IsEnum7,
783
783
  Min
784
784
  } from "class-validator";
@@ -802,7 +802,7 @@ __decorateClass([
802
802
  IsString11({ message: "Job role must be a string" })
803
803
  ], JobBasicInformationDto.prototype, "jobRole", 2);
804
804
  __decorateClass([
805
- IsOptional4(),
805
+ IsOptional5(),
806
806
  IsString11({ message: "Note must be a string" })
807
807
  ], JobBasicInformationDto.prototype, "note", 2);
808
808
  __decorateClass([
@@ -865,19 +865,19 @@ __decorateClass([
865
865
  ], JobBasicInformationDto.prototype, "tentativeEndDate", 2);
866
866
  __decorateClass([
867
867
  IsString11({ message: "Onboarding TAT must be a string" }),
868
- IsOptional4()
868
+ IsOptional5()
869
869
  ], JobBasicInformationDto.prototype, "onboardingTat", 2);
870
870
  __decorateClass([
871
871
  IsString11({ message: "Candidate communication skills must be a string" }),
872
- IsOptional4()
872
+ IsOptional5()
873
873
  ], JobBasicInformationDto.prototype, "candidateCommunicationSkills", 2);
874
874
 
875
875
  // src/modules/job/dto/job-additional-comment.dto.ts
876
- import { IsOptional as IsOptional5, IsString as IsString12, MaxLength as MaxLength5 } from "class-validator";
876
+ import { IsOptional as IsOptional6, IsString as IsString12, MaxLength as MaxLength5 } from "class-validator";
877
877
  var JobAdditionalCommentDto = class {
878
878
  };
879
879
  __decorateClass([
880
- IsOptional5(),
880
+ IsOptional6(),
881
881
  IsString12({ message: "Additional comment must be a string" }),
882
882
  MaxLength5(500, { message: "Additional comment must not exceed 500 characters" })
883
883
  ], JobAdditionalCommentDto.prototype, "additionalComment", 2);
@@ -959,7 +959,7 @@ __decorateClass([
959
959
 
960
960
  // src/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.ts
961
961
  import {
962
- IsOptional as IsOptional6,
962
+ IsOptional as IsOptional7,
963
963
  IsString as IsString15,
964
964
  IsEmail as IsEmail5,
965
965
  IsNumber as IsNumber2,
@@ -1037,35 +1037,35 @@ __decorateClass([
1037
1037
  })
1038
1038
  ], UpdateFreelancerProfileDto.prototype, "modeOfWork", 2);
1039
1039
  __decorateClass([
1040
- IsOptional6(),
1040
+ IsOptional7(),
1041
1041
  IsString15()
1042
1042
  ], UpdateFreelancerProfileDto.prototype, "portfolioLink", 2);
1043
1043
  __decorateClass([
1044
- IsOptional6(),
1044
+ IsOptional7(),
1045
1045
  IsString15()
1046
1046
  ], UpdateFreelancerProfileDto.prototype, "address", 2);
1047
1047
  __decorateClass([
1048
- IsOptional6(),
1048
+ IsOptional7(),
1049
1049
  IsString15()
1050
1050
  ], UpdateFreelancerProfileDto.prototype, "about", 2);
1051
1051
  __decorateClass([
1052
- IsOptional6(),
1052
+ IsOptional7(),
1053
1053
  IsString15()
1054
1054
  ], UpdateFreelancerProfileDto.prototype, "linkedinProfileLink", 2);
1055
1055
  __decorateClass([
1056
- IsOptional6(),
1056
+ IsOptional7(),
1057
1057
  IsString15()
1058
1058
  ], UpdateFreelancerProfileDto.prototype, "kaggleProfileLink", 2);
1059
1059
  __decorateClass([
1060
- IsOptional6(),
1060
+ IsOptional7(),
1061
1061
  IsString15()
1062
1062
  ], UpdateFreelancerProfileDto.prototype, "githubProfileLink", 2);
1063
1063
  __decorateClass([
1064
- IsOptional6(),
1064
+ IsOptional7(),
1065
1065
  IsString15()
1066
1066
  ], UpdateFreelancerProfileDto.prototype, "stackOverflowProfileLink", 2);
1067
1067
  __decorateClass([
1068
- IsOptional6(),
1068
+ IsOptional7(),
1069
1069
  IsString15()
1070
1070
  ], UpdateFreelancerProfileDto.prototype, "resumeUrl", 2);
1071
1071
 
@@ -1080,7 +1080,7 @@ var BANK_PATTERN = {
1080
1080
  import {
1081
1081
  IsEnum as IsEnum10,
1082
1082
  IsNotEmpty as IsNotEmpty31,
1083
- IsOptional as IsOptional7,
1083
+ IsOptional as IsOptional8,
1084
1084
  ValidateIf as ValidateIf2
1085
1085
  } from "class-validator";
1086
1086
  var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
@@ -1100,7 +1100,7 @@ __decorateClass([
1100
1100
  IsNotEmpty31({ message: "Please enter Email." })
1101
1101
  ], FreelancerBankDetailsDto.prototype, "email", 2);
1102
1102
  __decorateClass([
1103
- IsOptional7()
1103
+ IsOptional8()
1104
1104
  ], FreelancerBankDetailsDto.prototype, "address", 2);
1105
1105
  __decorateClass([
1106
1106
  IsNotEmpty31({ message: "Please enter Account Number." })
@@ -1128,7 +1128,7 @@ __decorateClass([
1128
1128
  IsNotEmpty31({ message: "IBAN is required for INTERNATIONAL accounts." })
1129
1129
  ], FreelancerBankDetailsDto.prototype, "iban", 2);
1130
1130
  __decorateClass([
1131
- IsOptional7()
1131
+ IsOptional8()
1132
1132
  ], FreelancerBankDetailsDto.prototype, "accountType", 2);
1133
1133
  __decorateClass([
1134
1134
  IsEnum10(BankAccountScope, {
@@ -1190,7 +1190,7 @@ import {
1190
1190
  IsEnum as IsEnum12,
1191
1191
  IsInt,
1192
1192
  IsNotEmpty as IsNotEmpty32,
1193
- IsOptional as IsOptional8,
1193
+ IsOptional as IsOptional9,
1194
1194
  IsString as IsString16,
1195
1195
  Max,
1196
1196
  Min as Min2
@@ -3375,7 +3375,7 @@ __decorateClass([
3375
3375
  Max(5, { message: "Rating must be at most 5" })
3376
3376
  ], CreateRatingDto.prototype, "rating", 2);
3377
3377
  __decorateClass([
3378
- IsOptional8(),
3378
+ IsOptional9(),
3379
3379
  IsString16({ message: "Review must be a string" })
3380
3380
  ], CreateRatingDto.prototype, "review", 2);
3381
3381
 
@@ -3392,7 +3392,7 @@ var COMPANY_ROLES_PATTERNS = {
3392
3392
  };
3393
3393
 
3394
3394
  // src/modules/company-role/dto/create-company-role.dto.ts
3395
- import { ArrayNotEmpty as ArrayNotEmpty2, IsArray as IsArray2, IsBoolean as IsBoolean4, IsInt as IsInt2, IsNotEmpty as IsNotEmpty33, IsOptional as IsOptional9 } from "class-validator";
3395
+ import { ArrayNotEmpty as ArrayNotEmpty2, IsArray as IsArray2, IsBoolean as IsBoolean4, IsInt as IsInt2, IsNotEmpty as IsNotEmpty33, IsOptional as IsOptional10 } from "class-validator";
3396
3396
  var CreateCompanyRoleDto = class {
3397
3397
  };
3398
3398
  __decorateClass([
@@ -3410,12 +3410,12 @@ __decorateClass([
3410
3410
  IsInt2({ each: true, message: "Each permission ID must be an integer." })
3411
3411
  ], CreateCompanyRoleDto.prototype, "permissionIds", 2);
3412
3412
  __decorateClass([
3413
- IsOptional9(),
3413
+ IsOptional10(),
3414
3414
  IsBoolean4({ message: "Is active must be a boolean value" })
3415
3415
  ], CreateCompanyRoleDto.prototype, "isActive", 2);
3416
3416
 
3417
3417
  // src/modules/company-role/dto/update-company-role.dto.ts
3418
- import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray3, IsBoolean as IsBoolean5, IsInt as IsInt3, IsNotEmpty as IsNotEmpty34, IsOptional as IsOptional10 } from "class-validator";
3418
+ import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray3, IsBoolean as IsBoolean5, IsInt as IsInt3, IsNotEmpty as IsNotEmpty34, IsOptional as IsOptional11 } from "class-validator";
3419
3419
  var UpdateCompanyRoleDto = class {
3420
3420
  };
3421
3421
  __decorateClass([
@@ -3433,7 +3433,7 @@ __decorateClass([
3433
3433
  IsInt3({ each: true, message: "Each permission ID must be an integer." })
3434
3434
  ], UpdateCompanyRoleDto.prototype, "permissionIds", 2);
3435
3435
  __decorateClass([
3436
- IsOptional10(),
3436
+ IsOptional11(),
3437
3437
  IsBoolean5({ message: "Is active must be a boolean value" })
3438
3438
  ], UpdateCompanyRoleDto.prototype, "isActive", 2);
3439
3439
 
@@ -3455,7 +3455,7 @@ var FREELANCER_EXPERIENCE_PATTERN = {
3455
3455
  import {
3456
3456
  ArrayMinSize,
3457
3457
  IsNotEmpty as IsNotEmpty35,
3458
- IsOptional as IsOptional11,
3458
+ IsOptional as IsOptional12,
3459
3459
  IsString as IsString19,
3460
3460
  MaxLength as MaxLength9,
3461
3461
  ValidateNested
@@ -3464,7 +3464,7 @@ import { Type as Type2 } from "class-transformer";
3464
3464
  var ExperienceDto = class {
3465
3465
  };
3466
3466
  __decorateClass([
3467
- IsOptional11()
3467
+ IsOptional12()
3468
3468
  ], ExperienceDto.prototype, "uuid", 2);
3469
3469
  __decorateClass([
3470
3470
  IsNotEmpty35(),
@@ -3550,12 +3550,12 @@ var FREELANCER_EDUCATION_PATTERN = {
3550
3550
  };
3551
3551
 
3552
3552
  // src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
3553
- import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as IsString22, IsNotEmpty as IsNotEmpty38, IsOptional as IsOptional14, ArrayMinSize as ArrayMinSize2 } from "class-validator";
3553
+ import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as IsString22, IsNotEmpty as IsNotEmpty38, IsOptional as IsOptional15, ArrayMinSize as ArrayMinSize2 } from "class-validator";
3554
3554
  import { Type as Type3 } from "class-transformer";
3555
3555
  var EducationDto = class {
3556
3556
  };
3557
3557
  __decorateClass([
3558
- IsOptional14()
3558
+ IsOptional15()
3559
3559
  ], EducationDto.prototype, "uuid", 2);
3560
3560
  __decorateClass([
3561
3561
  IsString22(),
@@ -3585,12 +3585,12 @@ var FREELANCER_PROJECT_PATTERN = {
3585
3585
  };
3586
3586
 
3587
3587
  // src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
3588
- import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString23, IsNotEmpty as IsNotEmpty39, IsOptional as IsOptional15, IsDateString, MaxLength as MaxLength11, ArrayMinSize as ArrayMinSize3 } from "class-validator";
3588
+ import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString23, IsNotEmpty as IsNotEmpty39, IsOptional as IsOptional16, IsDateString, MaxLength as MaxLength11, ArrayMinSize as ArrayMinSize3 } from "class-validator";
3589
3589
  import { Type as Type4 } from "class-transformer";
3590
3590
  var ProjectDto = class {
3591
3591
  };
3592
3592
  __decorateClass([
3593
- IsOptional15()
3593
+ IsOptional16()
3594
3594
  ], ProjectDto.prototype, "uuid", 2);
3595
3595
  __decorateClass([
3596
3596
  IsString23(),
@@ -3605,22 +3605,22 @@ __decorateClass([
3605
3605
  IsNotEmpty39({ message: "Please Enter End Date " })
3606
3606
  ], ProjectDto.prototype, "endDate", 2);
3607
3607
  __decorateClass([
3608
- IsOptional15(),
3608
+ IsOptional16(),
3609
3609
  IsString23()
3610
3610
  ], ProjectDto.prototype, "clientName", 2);
3611
3611
  __decorateClass([
3612
- IsOptional15(),
3612
+ IsOptional16(),
3613
3613
  IsString23()
3614
3614
  ], ProjectDto.prototype, "gitLink", 2);
3615
3615
  __decorateClass([
3616
- IsOptional15(),
3616
+ IsOptional16(),
3617
3617
  IsString23(),
3618
3618
  MaxLength11(500, { message: "Description must not exceed 500 characters" })
3619
3619
  ], ProjectDto.prototype, "description", 2);
3620
3620
  var CaseStudyDto = class {
3621
3621
  };
3622
3622
  __decorateClass([
3623
- IsOptional15()
3623
+ IsOptional16()
3624
3624
  ], CaseStudyDto.prototype, "uuid", 2);
3625
3625
  __decorateClass([
3626
3626
  IsString23(),
@@ -3631,7 +3631,7 @@ __decorateClass([
3631
3631
  IsNotEmpty39({ message: "Please Enter Case Study Link " })
3632
3632
  ], CaseStudyDto.prototype, "caseStudyLink", 2);
3633
3633
  __decorateClass([
3634
- IsOptional15(),
3634
+ IsOptional16(),
3635
3635
  IsString23(),
3636
3636
  MaxLength11(500, { message: "Description must not exceed 500 characters" })
3637
3637
  ], CaseStudyDto.prototype, "description", 2);
@@ -3661,7 +3661,7 @@ var FREELANCER_SKILL_PATTERN = {
3661
3661
  };
3662
3662
 
3663
3663
  // src/modules/user/freelancer-skill/dto/freelancer-skill.dto.ts
3664
- import { IsArray as IsArray8, IsString as IsString24, IsOptional as IsOptional16 } from "class-validator";
3664
+ import { IsArray as IsArray8, IsString as IsString24, IsOptional as IsOptional17 } from "class-validator";
3665
3665
  import { Type as Type5 } from "class-transformer";
3666
3666
  var FreelancerSkillDto = class {
3667
3667
  constructor() {
@@ -3671,19 +3671,19 @@ var FreelancerSkillDto = class {
3671
3671
  }
3672
3672
  };
3673
3673
  __decorateClass([
3674
- IsOptional16(),
3674
+ IsOptional17(),
3675
3675
  IsArray8(),
3676
3676
  Type5(() => String),
3677
3677
  IsString24({ each: true })
3678
3678
  ], FreelancerSkillDto.prototype, "coreSkills", 2);
3679
3679
  __decorateClass([
3680
- IsOptional16(),
3680
+ IsOptional17(),
3681
3681
  IsArray8(),
3682
3682
  Type5(() => String),
3683
3683
  IsString24({ each: true })
3684
3684
  ], FreelancerSkillDto.prototype, "tools", 2);
3685
3685
  __decorateClass([
3686
- IsOptional16(),
3686
+ IsOptional17(),
3687
3687
  IsArray8(),
3688
3688
  Type5(() => String),
3689
3689
  IsString24({ each: true })
@@ -3706,7 +3706,7 @@ import {
3706
3706
  IsString as IsString25,
3707
3707
  IsEmail as IsEmail10,
3708
3708
  IsBoolean as IsBoolean10,
3709
- IsOptional as IsOptional17,
3709
+ IsOptional as IsOptional18,
3710
3710
  IsEnum as IsEnum13,
3711
3711
  IsNumber as IsNumber3,
3712
3712
  IsUrl as IsUrl3,
@@ -3789,23 +3789,23 @@ __decorateClass([
3789
3789
  IsNotEmpty41({ message: "Please enter availability to join." })
3790
3790
  ], CreateFreelancerDto.prototype, "availabilityToJoin", 2);
3791
3791
  __decorateClass([
3792
- IsOptional17(),
3792
+ IsOptional18(),
3793
3793
  IsUrl3({}, { message: "LinkedIn profile link must be a valid URL" })
3794
3794
  ], CreateFreelancerDto.prototype, "linkedinProfileLink", 2);
3795
3795
  __decorateClass([
3796
- IsOptional17(),
3796
+ IsOptional18(),
3797
3797
  IsString25({ message: "Kaggle profile link must be a string" })
3798
3798
  ], CreateFreelancerDto.prototype, "kaggleProfileLink", 2);
3799
3799
  __decorateClass([
3800
- IsOptional17(),
3800
+ IsOptional18(),
3801
3801
  IsUrl3({}, { message: "GitHub profile link must be a valid URL" })
3802
3802
  ], CreateFreelancerDto.prototype, "githubProfileLink", 2);
3803
3803
  __decorateClass([
3804
- IsOptional17(),
3804
+ IsOptional18(),
3805
3805
  IsUrl3({}, { message: "StackOverflow profile link must be a valid URL" })
3806
3806
  ], CreateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
3807
3807
  __decorateClass([
3808
- IsOptional17(),
3808
+ IsOptional18(),
3809
3809
  IsUrl3({}, { message: "Portfolio link must be a valid URL" })
3810
3810
  ], CreateFreelancerDto.prototype, "portfolioLink", 2);
3811
3811
 
@@ -3814,7 +3814,7 @@ import {
3814
3814
  IsString as IsString26,
3815
3815
  IsEmail as IsEmail11,
3816
3816
  IsBoolean as IsBoolean11,
3817
- IsOptional as IsOptional18,
3817
+ IsOptional as IsOptional19,
3818
3818
  IsEnum as IsEnum14,
3819
3819
  IsNumber as IsNumber4,
3820
3820
  IsUrl as IsUrl4,
@@ -3841,24 +3841,24 @@ var ModeOfWorkEnum2 = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
3841
3841
  var UpdateFreelancerDto = class {
3842
3842
  };
3843
3843
  __decorateClass([
3844
- IsOptional18(),
3844
+ IsOptional19(),
3845
3845
  IsString26({ message: "Full name must be a string" }),
3846
3846
  MaxLength14(100, { message: "Full name must not exceed 100 characters" })
3847
3847
  ], UpdateFreelancerDto.prototype, "fullName", 2);
3848
3848
  __decorateClass([
3849
- IsOptional18(),
3849
+ IsOptional19(),
3850
3850
  IsEmail11({}, { message: "Invalid email address" })
3851
3851
  ], UpdateFreelancerDto.prototype, "email", 2);
3852
3852
  __decorateClass([
3853
- IsOptional18(),
3853
+ IsOptional19(),
3854
3854
  IsString26({ message: "Mobile code must be a string (e.g., +1)" })
3855
3855
  ], UpdateFreelancerDto.prototype, "mobileCode", 2);
3856
3856
  __decorateClass([
3857
- IsOptional18(),
3857
+ IsOptional19(),
3858
3858
  IsString26({ message: "Mobile must be a string (e.g., 1243253534)" })
3859
3859
  ], UpdateFreelancerDto.prototype, "mobile", 2);
3860
3860
  __decorateClass([
3861
- IsOptional18(),
3861
+ IsOptional19(),
3862
3862
  MinLength12(6, { message: "Password must be at least 6 characters." }),
3863
3863
  MaxLength14(32, { message: "Password must not exceed 32 characters." }),
3864
3864
  Matches9(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
@@ -3866,12 +3866,12 @@ __decorateClass([
3866
3866
  })
3867
3867
  ], UpdateFreelancerDto.prototype, "password", 2);
3868
3868
  __decorateClass([
3869
- IsOptional18(),
3869
+ IsOptional19(),
3870
3870
  IsBoolean11({ message: "Developer flag must be true or false" }),
3871
3871
  Type7(() => Boolean)
3872
3872
  ], UpdateFreelancerDto.prototype, "developer", 2);
3873
3873
  __decorateClass([
3874
- IsOptional18(),
3874
+ IsOptional19(),
3875
3875
  IsEnum14(NatureOfWorkEnum2, {
3876
3876
  message: `Nature of work must be one of: ${Object.values(
3877
3877
  NatureOfWorkEnum2
@@ -3879,13 +3879,13 @@ __decorateClass([
3879
3879
  })
3880
3880
  ], UpdateFreelancerDto.prototype, "natureOfWork", 2);
3881
3881
  __decorateClass([
3882
- IsOptional18(),
3882
+ IsOptional19(),
3883
3883
  IsNumber4({}, { message: "Expected hourly compensation must be a number" }),
3884
3884
  Min4(0, { message: "Expected hourly compensation must be 0 or more" }),
3885
3885
  Type7(() => Number)
3886
3886
  ], UpdateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
3887
3887
  __decorateClass([
3888
- IsOptional18(),
3888
+ IsOptional19(),
3889
3889
  IsEnum14(ModeOfWorkEnum2, {
3890
3890
  message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum2).join(
3891
3891
  ", "
@@ -3893,7 +3893,7 @@ __decorateClass([
3893
3893
  })
3894
3894
  ], UpdateFreelancerDto.prototype, "modeOfWork", 2);
3895
3895
  __decorateClass([
3896
- IsOptional18(),
3896
+ IsOptional19(),
3897
3897
  IsBoolean11({ message: "isImmediateJoiner must be true or false" }),
3898
3898
  Type7(() => Boolean)
3899
3899
  ], UpdateFreelancerDto.prototype, "isImmediateJoiner", 2);
@@ -3902,23 +3902,23 @@ __decorateClass([
3902
3902
  IsNotEmpty42({ message: "Please enter availability to join." })
3903
3903
  ], UpdateFreelancerDto.prototype, "availabilityToJoin", 2);
3904
3904
  __decorateClass([
3905
- IsOptional18(),
3905
+ IsOptional19(),
3906
3906
  IsUrl4({}, { message: "LinkedIn profile link must be a valid URL" })
3907
3907
  ], UpdateFreelancerDto.prototype, "linkedinProfileLink", 2);
3908
3908
  __decorateClass([
3909
- IsOptional18(),
3909
+ IsOptional19(),
3910
3910
  IsString26({ message: "Kaggle profile link must be a string" })
3911
3911
  ], UpdateFreelancerDto.prototype, "kaggleProfileLink", 2);
3912
3912
  __decorateClass([
3913
- IsOptional18(),
3913
+ IsOptional19(),
3914
3914
  IsUrl4({}, { message: "GitHub profile link must be a valid URL" })
3915
3915
  ], UpdateFreelancerDto.prototype, "githubProfileLink", 2);
3916
3916
  __decorateClass([
3917
- IsOptional18(),
3917
+ IsOptional19(),
3918
3918
  IsUrl4({}, { message: "StackOverflow profile link must be a valid URL" })
3919
3919
  ], UpdateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
3920
3920
  __decorateClass([
3921
- IsOptional18(),
3921
+ IsOptional19(),
3922
3922
  IsUrl4({}, { message: "Portfolio link must be a valid URL" })
3923
3923
  ], UpdateFreelancerDto.prototype, "portfolioLink", 2);
3924
3924
 
@@ -3939,7 +3939,7 @@ var CLIENT_ADMIN_PATTERNS = {
3939
3939
  import {
3940
3940
  IsNotEmpty as IsNotEmpty43,
3941
3941
  IsEmail as IsEmail12,
3942
- IsOptional as IsOptional19,
3942
+ IsOptional as IsOptional20,
3943
3943
  IsString as IsString27,
3944
3944
  IsArray as IsArray9,
3945
3945
  MinLength as MinLength13,
@@ -4010,7 +4010,7 @@ __decorateClass([
4010
4010
  IsString27()
4011
4011
  ], CreateClientDto.prototype, "foundUsOn", 2);
4012
4012
  __decorateClass([
4013
- IsOptional19(),
4013
+ IsOptional20(),
4014
4014
  IsString27()
4015
4015
  ], CreateClientDto.prototype, "foundUsOnDetail", 2);
4016
4016
 
@@ -4027,7 +4027,7 @@ __decorateClass([
4027
4027
  import {
4028
4028
  IsNotEmpty as IsNotEmpty45,
4029
4029
  IsEmail as IsEmail13,
4030
- IsOptional as IsOptional20,
4030
+ IsOptional as IsOptional21,
4031
4031
  IsString as IsString29,
4032
4032
  IsArray as IsArray10,
4033
4033
  MinLength as MinLength14,
@@ -4062,7 +4062,7 @@ __decorateClass([
4062
4062
  IsEmail13()
4063
4063
  ], UpdateClientDto.prototype, "email", 2);
4064
4064
  __decorateClass([
4065
- IsOptional20(),
4065
+ IsOptional21(),
4066
4066
  MinLength14(6, { message: "Password must be at least 6 characters." }),
4067
4067
  MaxLength16(32, { message: "Password must not exceed 32 characters." }),
4068
4068
  Matches11(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
@@ -4094,7 +4094,7 @@ __decorateClass([
4094
4094
  IsString29()
4095
4095
  ], UpdateClientDto.prototype, "foundUsOn", 2);
4096
4096
  __decorateClass([
4097
- IsOptional20(),
4097
+ IsOptional21(),
4098
4098
  IsString29()
4099
4099
  ], UpdateClientDto.prototype, "foundUsOnDetail", 2);
4100
4100
 
@@ -4105,7 +4105,7 @@ var FREELANCER_DECLARATION_PATTERN = {
4105
4105
  };
4106
4106
 
4107
4107
  // src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
4108
- import { IsOptional as IsOptional21, IsEnum as IsEnum17, IsString as IsString30, IsNotEmpty as IsNotEmpty46, IsIn as IsIn3 } from "class-validator";
4108
+ import { IsOptional as IsOptional22, IsEnum as IsEnum17, IsString as IsString30, IsNotEmpty as IsNotEmpty46, IsIn as IsIn3 } from "class-validator";
4109
4109
  var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
4110
4110
  DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
4111
4111
  DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
@@ -4116,7 +4116,7 @@ var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
4116
4116
  var FreelancerDeclarationDto = class {
4117
4117
  };
4118
4118
  __decorateClass([
4119
- IsOptional21(),
4119
+ IsOptional22(),
4120
4120
  IsString30({ message: "UUID must be a string" })
4121
4121
  ], FreelancerDeclarationDto.prototype, "uuid", 2);
4122
4122
  __decorateClass([
@@ -4140,35 +4140,35 @@ var CMS_PATTERNS = {
4140
4140
  };
4141
4141
 
4142
4142
  // src/modules/cms/dto/create-cms.dto.ts
4143
- import { IsBoolean as IsBoolean12, IsNotEmpty as IsNotEmpty47, IsOptional as IsOptional22 } from "class-validator";
4143
+ import { IsBoolean as IsBoolean12, IsNotEmpty as IsNotEmpty47, IsOptional as IsOptional23 } from "class-validator";
4144
4144
  var CreateCmsDto = class {
4145
4145
  };
4146
4146
  __decorateClass([
4147
4147
  IsNotEmpty47({ message: "Please enter name." })
4148
4148
  ], CreateCmsDto.prototype, "title", 2);
4149
4149
  __decorateClass([
4150
- IsOptional22()
4150
+ IsOptional23()
4151
4151
  ], CreateCmsDto.prototype, "content", 2);
4152
4152
  __decorateClass([
4153
- IsOptional22(),
4153
+ IsOptional23(),
4154
4154
  IsBoolean12({ message: "Is active must be a boolean value" })
4155
4155
  ], CreateCmsDto.prototype, "isActive", 2);
4156
4156
 
4157
4157
  // src/modules/cms/dto/update-cms.dto.ts
4158
- import { IsBoolean as IsBoolean13, IsNotEmpty as IsNotEmpty48, IsOptional as IsOptional23 } from "class-validator";
4158
+ import { IsBoolean as IsBoolean13, IsNotEmpty as IsNotEmpty48, IsOptional as IsOptional24 } from "class-validator";
4159
4159
  var UpdateCmsDto = class {
4160
4160
  };
4161
4161
  __decorateClass([
4162
- IsOptional23()
4162
+ IsOptional24()
4163
4163
  ], UpdateCmsDto.prototype, "uuid", 2);
4164
4164
  __decorateClass([
4165
4165
  IsNotEmpty48({ message: "Please enter name." })
4166
4166
  ], UpdateCmsDto.prototype, "title", 2);
4167
4167
  __decorateClass([
4168
- IsOptional23()
4168
+ IsOptional24()
4169
4169
  ], UpdateCmsDto.prototype, "content", 2);
4170
4170
  __decorateClass([
4171
- IsOptional23(),
4171
+ IsOptional24(),
4172
4172
  IsBoolean13({ message: "Is active must be a boolean value" })
4173
4173
  ], UpdateCmsDto.prototype, "isActive", 2);
4174
4174
 
@@ -4201,7 +4201,7 @@ import {
4201
4201
  IsString as IsString31,
4202
4202
  IsEnum as IsEnum18,
4203
4203
  IsInt as IsInt6,
4204
- IsOptional as IsOptional24,
4204
+ IsOptional as IsOptional25,
4205
4205
  IsArray as IsArray11,
4206
4206
  IsDateString as IsDateString4,
4207
4207
  IsNotEmpty as IsNotEmpty49,
@@ -4228,7 +4228,7 @@ __decorateClass([
4228
4228
  IsNotEmpty49({ message: "Job role is required." })
4229
4229
  ], AdminCreateJobInformationDto.prototype, "jobRole", 2);
4230
4230
  __decorateClass([
4231
- IsOptional24(),
4231
+ IsOptional25(),
4232
4232
  IsString31({ message: "Note must be a string." })
4233
4233
  ], AdminCreateJobInformationDto.prototype, "note", 2);
4234
4234
  __decorateClass([
@@ -4278,7 +4278,7 @@ __decorateClass([
4278
4278
  IsDateString4({ strict: true }, { message: "End date must be in YYYY-MM-DD format." })
4279
4279
  ], AdminCreateJobInformationDto.prototype, "tentativeEndDate", 2);
4280
4280
  __decorateClass([
4281
- IsOptional24(),
4281
+ IsOptional25(),
4282
4282
  IsString31({ message: "Additional comment must be a string." })
4283
4283
  ], AdminCreateJobInformationDto.prototype, "additionalComment", 2);
4284
4284
  __decorateClass([
@@ -4300,7 +4300,7 @@ import {
4300
4300
  IsString as IsString32,
4301
4301
  IsEnum as IsEnum19,
4302
4302
  IsInt as IsInt7,
4303
- IsOptional as IsOptional25,
4303
+ IsOptional as IsOptional26,
4304
4304
  IsArray as IsArray12,
4305
4305
  IsDateString as IsDateString5,
4306
4306
  IsNotEmpty as IsNotEmpty50,
@@ -4327,7 +4327,7 @@ __decorateClass([
4327
4327
  IsNotEmpty50({ message: "Job role is required." })
4328
4328
  ], AdminUpdateJobInformationDto.prototype, "jobRole", 2);
4329
4329
  __decorateClass([
4330
- IsOptional25(),
4330
+ IsOptional26(),
4331
4331
  IsString32({ message: "Note must be a string." })
4332
4332
  ], AdminUpdateJobInformationDto.prototype, "note", 2);
4333
4333
  __decorateClass([
@@ -4377,7 +4377,7 @@ __decorateClass([
4377
4377
  IsDateString5({ strict: true }, { message: "End date must be in YYYY-MM-DD format." })
4378
4378
  ], AdminUpdateJobInformationDto.prototype, "tentativeEndDate", 2);
4379
4379
  __decorateClass([
4380
- IsOptional25(),
4380
+ IsOptional26(),
4381
4381
  IsString32({ message: "Additional comment must be a string." })
4382
4382
  ], AdminUpdateJobInformationDto.prototype, "additionalComment", 2);
4383
4383
  __decorateClass([
@@ -4400,7 +4400,7 @@ var LEAD_PATTERN = {
4400
4400
  };
4401
4401
 
4402
4402
  // src/modules/lead/dto/create-lead.dto.ts
4403
- import { IsString as IsString33, IsEmail as IsEmail14, IsOptional as IsOptional26, IsEnum as IsEnum20 } from "class-validator";
4403
+ import { IsString as IsString33, IsEmail as IsEmail14, IsOptional as IsOptional27, IsEnum as IsEnum20 } from "class-validator";
4404
4404
  var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
4405
4405
  CategoryEmumDto2["BUSINESS"] = "BUSINESS";
4406
4406
  CategoryEmumDto2["FREELANCER"] = "FREELANCER";
@@ -4421,7 +4421,7 @@ __decorateClass([
4421
4421
  IsString33({ message: "Mobile must be a string (e.g., 1243253534)" })
4422
4422
  ], CreateLeadDto.prototype, "mobile", 2);
4423
4423
  __decorateClass([
4424
- IsOptional26(),
4424
+ IsOptional27(),
4425
4425
  IsString33({ message: "Description must be a string" })
4426
4426
  ], CreateLeadDto.prototype, "description", 2);
4427
4427
  __decorateClass([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.261",
3
+ "version": "1.0.262",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",