@experts_hub/shared 1.0.218 → 1.0.219

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 CHANGED
@@ -119,6 +119,7 @@ declare class FreelancerCaptureAiAssessmentStatusDto {
119
119
  uuid: string;
120
120
  assessmentId: string;
121
121
  assessmentStatus: string;
122
+ iframeEventData: object;
122
123
  }
123
124
 
124
125
  declare class FreelancerDevelopmentPreferenceDto {
package/dist/index.d.ts CHANGED
@@ -119,6 +119,7 @@ declare class FreelancerCaptureAiAssessmentStatusDto {
119
119
  uuid: string;
120
120
  assessmentId: string;
121
121
  assessmentStatus: string;
122
+ iframeEventData: object;
122
123
  }
123
124
 
124
125
  declare class FreelancerDevelopmentPreferenceDto {
package/dist/index.js CHANGED
@@ -515,6 +515,9 @@ __decorateClass([
515
515
  __decorateClass([
516
516
  (0, import_class_validator14.IsNotEmpty)({ message: "Please enter assessment status." })
517
517
  ], FreelancerCaptureAiAssessmentStatusDto.prototype, "assessmentStatus", 2);
518
+ __decorateClass([
519
+ (0, import_class_validator14.IsOptional)()
520
+ ], FreelancerCaptureAiAssessmentStatusDto.prototype, "iframeEventData", 2);
518
521
 
519
522
  // src/modules/onboarding/dto/freelancer-development-preference.dto.ts
520
523
  var import_class_validator15 = require("class-validator");
package/dist/index.mjs CHANGED
@@ -322,7 +322,7 @@ __decorateClass([
322
322
  ], FreelancerInitiateAiAssessmentDto.prototype, "uuid", 2);
323
323
 
324
324
  // src/modules/onboarding/dto/freelancer-capture-ai-assessment-status.dto.ts
325
- import { IsUUID as IsUUID4, IsNotEmpty as IsNotEmpty13 } from "class-validator";
325
+ import { IsUUID as IsUUID4, IsNotEmpty as IsNotEmpty13, IsOptional } from "class-validator";
326
326
  var FreelancerCaptureAiAssessmentStatusDto = class {
327
327
  };
328
328
  __decorateClass([
@@ -335,6 +335,9 @@ __decorateClass([
335
335
  __decorateClass([
336
336
  IsNotEmpty13({ message: "Please enter assessment status." })
337
337
  ], FreelancerCaptureAiAssessmentStatusDto.prototype, "assessmentStatus", 2);
338
+ __decorateClass([
339
+ IsOptional()
340
+ ], FreelancerCaptureAiAssessmentStatusDto.prototype, "iframeEventData", 2);
338
341
 
339
342
  // src/modules/onboarding/dto/freelancer-development-preference.dto.ts
340
343
  import { IsUUID as IsUUID5, IsNotEmpty as IsNotEmpty14, IsBoolean } from "class-validator";
@@ -380,7 +383,7 @@ __decorateClass([
380
383
  // src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
381
384
  import {
382
385
  IsNotEmpty as IsNotEmpty16,
383
- IsOptional,
386
+ IsOptional as IsOptional2,
384
387
  IsUrl,
385
388
  IsString as IsString5,
386
389
  IsUUID as IsUUID7
@@ -397,19 +400,19 @@ __decorateClass([
397
400
  IsUrl({ require_protocol: true }, { message: "linkedinProfileLink must be a valid URL with protocol (e.g. https://)" })
398
401
  ], FreelancerWorkShowcaseDto.prototype, "linkedinProfileLink", 2);
399
402
  __decorateClass([
400
- IsOptional(),
403
+ IsOptional2(),
401
404
  IsUrl({ require_protocol: true }, { message: "kaggleProfileLink must be a valid URL with protocol (e.g. https://)" })
402
405
  ], FreelancerWorkShowcaseDto.prototype, "kaggleProfileLink", 2);
403
406
  __decorateClass([
404
- IsOptional(),
407
+ IsOptional2(),
405
408
  IsUrl({ require_protocol: true }, { message: "githubProfileLink must be a valid URL with protocol (e.g. https://)" })
406
409
  ], FreelancerWorkShowcaseDto.prototype, "githubProfileLink", 2);
407
410
  __decorateClass([
408
- IsOptional(),
411
+ IsOptional2(),
409
412
  IsUrl({ require_protocol: true }, { message: "stackOverflowProfileLink must be a valid URL with protocol (e.g. https://)" })
410
413
  ], FreelancerWorkShowcaseDto.prototype, "stackOverflowProfileLink", 2);
411
414
  __decorateClass([
412
- IsOptional(),
415
+ IsOptional2(),
413
416
  IsUrl({ require_protocol: true }, { message: "portfolioLink must be a valid URL with protocol (e.g. https://)" })
414
417
  ], FreelancerWorkShowcaseDto.prototype, "portfolioLink", 2);
415
418
 
@@ -660,7 +663,7 @@ var ASSESSMENT_QUESTION_PATTERN = {
660
663
  // src/modules/question/dto/create-question.dto.ts
661
664
  import {
662
665
  IsNotEmpty as IsNotEmpty23,
663
- IsOptional as IsOptional4,
666
+ IsOptional as IsOptional5,
664
667
  IsBoolean as IsBoolean4
665
668
  } from "class-validator";
666
669
  var CreateQuestionDto = class {
@@ -678,7 +681,7 @@ __decorateClass([
678
681
  IsNotEmpty23({ message: "Please enter options." })
679
682
  ], CreateQuestionDto.prototype, "options", 2);
680
683
  __decorateClass([
681
- IsOptional4(),
684
+ IsOptional5(),
682
685
  IsBoolean4({ message: "Whether the question status active" })
683
686
  ], CreateQuestionDto.prototype, "isActive", 2);
684
687
 
@@ -710,7 +713,7 @@ import {
710
713
  IsArray,
711
714
  ArrayNotEmpty,
712
715
  IsNumber,
713
- IsOptional as IsOptional5,
716
+ IsOptional as IsOptional6,
714
717
  IsEnum as IsEnum7,
715
718
  Min
716
719
  } from "class-validator";
@@ -734,7 +737,7 @@ __decorateClass([
734
737
  IsString12({ message: "Job role must be a string" })
735
738
  ], JobBasicInformationDto.prototype, "jobRole", 2);
736
739
  __decorateClass([
737
- IsOptional5(),
740
+ IsOptional6(),
738
741
  IsString12({ message: "Note must be a string" })
739
742
  ], JobBasicInformationDto.prototype, "note", 2);
740
743
  __decorateClass([
@@ -774,19 +777,19 @@ __decorateClass([
774
777
  ], JobBasicInformationDto.prototype, "expectedSalaryTo", 2);
775
778
  __decorateClass([
776
779
  IsString12({ message: "Onboarding TAT must be a string" }),
777
- IsOptional5()
780
+ IsOptional6()
778
781
  ], JobBasicInformationDto.prototype, "onboardingTat", 2);
779
782
  __decorateClass([
780
783
  IsString12({ message: "Candidate communication skills must be a string" }),
781
- IsOptional5()
784
+ IsOptional6()
782
785
  ], JobBasicInformationDto.prototype, "candidateCommunicationSkills", 2);
783
786
 
784
787
  // src/modules/job/dto/job-additional-comment.dto.ts
785
- import { IsOptional as IsOptional6, IsString as IsString13, MaxLength as MaxLength6 } from "class-validator";
788
+ import { IsOptional as IsOptional7, IsString as IsString13, MaxLength as MaxLength6 } from "class-validator";
786
789
  var JobAdditionalCommentDto = class {
787
790
  };
788
791
  __decorateClass([
789
- IsOptional6(),
792
+ IsOptional7(),
790
793
  IsString13({ message: "Additional comment must be a string" }),
791
794
  MaxLength6(500, { message: "Additional comment must not exceed 500 characters" })
792
795
  ], JobAdditionalCommentDto.prototype, "additionalComment", 2);
@@ -864,7 +867,7 @@ __decorateClass([
864
867
  ], FreelancerChangePasswordDto.prototype, "newPassword", 2);
865
868
 
866
869
  // src/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.ts
867
- import { IsOptional as IsOptional7, IsString as IsString16, IsEmail as IsEmail6, IsNumber as IsNumber2, IsEnum as IsEnum9 } from "class-validator";
870
+ import { IsOptional as IsOptional8, IsString as IsString16, IsEmail as IsEmail6, IsNumber as IsNumber2, IsEnum as IsEnum9 } from "class-validator";
868
871
  var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
869
872
  NatureOfWorkDto2["FULLTIME"] = "FULLTIME";
870
873
  NatureOfWorkDto2["PARTTIME"] = "PARTTIME";
@@ -874,65 +877,65 @@ var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
874
877
  var UpdateFreelancerProfileDto = class {
875
878
  };
876
879
  __decorateClass([
877
- IsOptional7(),
880
+ IsOptional8(),
878
881
  IsString16()
879
882
  ], UpdateFreelancerProfileDto.prototype, "firstName", 2);
880
883
  __decorateClass([
881
- IsOptional7(),
884
+ IsOptional8(),
882
885
  IsString16()
883
886
  ], UpdateFreelancerProfileDto.prototype, "lastName", 2);
884
887
  __decorateClass([
885
- IsOptional7(),
888
+ IsOptional8(),
886
889
  IsEmail6()
887
890
  ], UpdateFreelancerProfileDto.prototype, "email", 2);
888
891
  __decorateClass([
889
- IsOptional7(),
892
+ IsOptional8(),
890
893
  IsString16()
891
894
  ], UpdateFreelancerProfileDto.prototype, "mobile", 2);
892
895
  __decorateClass([
893
- IsOptional7(),
896
+ IsOptional8(),
894
897
  IsNumber2()
895
898
  ], UpdateFreelancerProfileDto.prototype, "countryId", 2);
896
899
  __decorateClass([
897
- IsOptional7(),
900
+ IsOptional8(),
898
901
  IsString16()
899
902
  ], UpdateFreelancerProfileDto.prototype, "currency", 2);
900
903
  __decorateClass([
901
- IsOptional7(),
904
+ IsOptional8(),
902
905
  IsString16()
903
906
  ], UpdateFreelancerProfileDto.prototype, "expectedHourlyCompensation", 2);
904
907
  __decorateClass([
905
- IsOptional7(),
908
+ IsOptional8(),
906
909
  IsEnum9(NatureOfWorkDto, {
907
910
  message: `Engagement Type must be one of: ${Object.values(NatureOfWorkDto).join(", ")}`
908
911
  })
909
912
  ], UpdateFreelancerProfileDto.prototype, "natureOfWork", 2);
910
913
  __decorateClass([
911
- IsOptional7(),
914
+ IsOptional8(),
912
915
  IsString16()
913
916
  ], UpdateFreelancerProfileDto.prototype, "portfolioLink", 2);
914
917
  __decorateClass([
915
- IsOptional7(),
918
+ IsOptional8(),
916
919
  IsString16()
917
920
  ], UpdateFreelancerProfileDto.prototype, "address", 2);
918
921
  __decorateClass([
919
- IsOptional7(),
922
+ IsOptional8(),
920
923
  IsString16()
921
924
  ], UpdateFreelancerProfileDto.prototype, "about", 2);
922
925
  __decorateClass([
923
- IsOptional7(),
926
+ IsOptional8(),
924
927
  IsString16()
925
928
  ], UpdateFreelancerProfileDto.prototype, "linkedinProfileLink", 2);
926
929
  __decorateClass([
927
- IsOptional7(),
930
+ IsOptional8(),
928
931
  IsString16()
929
932
  ], UpdateFreelancerProfileDto.prototype, "kaggleProfileLink", 2);
930
933
  __decorateClass([
931
- IsOptional7(),
934
+ IsOptional8(),
932
935
  IsString16()
933
936
  ], UpdateFreelancerProfileDto.prototype, "githubProfileLink", 2);
934
937
  __decorateClass([
935
- IsOptional7(),
938
+ IsOptional8(),
936
939
  IsString16()
937
940
  ], UpdateFreelancerProfileDto.prototype, "stackOverflowProfileLink", 2);
938
941
 
@@ -947,7 +950,7 @@ var BANK_PATTERN = {
947
950
  import {
948
951
  IsEnum as IsEnum10,
949
952
  IsNotEmpty as IsNotEmpty28,
950
- IsOptional as IsOptional8,
953
+ IsOptional as IsOptional9,
951
954
  ValidateIf as ValidateIf2
952
955
  } from "class-validator";
953
956
  var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
@@ -967,7 +970,7 @@ __decorateClass([
967
970
  IsNotEmpty28({ message: "Please enter Email." })
968
971
  ], FreelancerBankDetailsDto.prototype, "email", 2);
969
972
  __decorateClass([
970
- IsOptional8()
973
+ IsOptional9()
971
974
  ], FreelancerBankDetailsDto.prototype, "address", 2);
972
975
  __decorateClass([
973
976
  IsNotEmpty28({ message: "Please enter Account Number." })
@@ -995,7 +998,7 @@ __decorateClass([
995
998
  IsNotEmpty28({ message: "IBAN is required for INTERNATIONAL accounts." })
996
999
  ], FreelancerBankDetailsDto.prototype, "iban", 2);
997
1000
  __decorateClass([
998
- IsOptional8()
1001
+ IsOptional9()
999
1002
  ], FreelancerBankDetailsDto.prototype, "accountType", 2);
1000
1003
  __decorateClass([
1001
1004
  IsEnum10(BankAccountScope, {
@@ -1057,7 +1060,7 @@ import {
1057
1060
  IsEnum as IsEnum12,
1058
1061
  IsInt,
1059
1062
  IsNotEmpty as IsNotEmpty29,
1060
- IsOptional as IsOptional9,
1063
+ IsOptional as IsOptional10,
1061
1064
  IsString as IsString17,
1062
1065
  Max,
1063
1066
  Min as Min2
@@ -3169,7 +3172,7 @@ __decorateClass([
3169
3172
  Max(5, { message: "Rating must be at most 5" })
3170
3173
  ], CreateRatingDto.prototype, "rating", 2);
3171
3174
  __decorateClass([
3172
- IsOptional9(),
3175
+ IsOptional10(),
3173
3176
  IsString17({ message: "Review must be a string" })
3174
3177
  ], CreateRatingDto.prototype, "review", 2);
3175
3178
 
@@ -3186,7 +3189,7 @@ var COMPANY_ROLES_PATTERNS = {
3186
3189
  };
3187
3190
 
3188
3191
  // src/modules/company-role/dto/create-company-role.dto.ts
3189
- import { ArrayNotEmpty as ArrayNotEmpty2, IsArray as IsArray2, IsBoolean as IsBoolean6, IsInt as IsInt2, IsNotEmpty as IsNotEmpty30, IsOptional as IsOptional10 } from "class-validator";
3192
+ import { ArrayNotEmpty as ArrayNotEmpty2, IsArray as IsArray2, IsBoolean as IsBoolean6, IsInt as IsInt2, IsNotEmpty as IsNotEmpty30, IsOptional as IsOptional11 } from "class-validator";
3190
3193
  var CreateCompanyRoleDto = class {
3191
3194
  };
3192
3195
  __decorateClass([
@@ -3204,12 +3207,12 @@ __decorateClass([
3204
3207
  IsInt2({ each: true, message: "Each permission ID must be an integer." })
3205
3208
  ], CreateCompanyRoleDto.prototype, "permissionIds", 2);
3206
3209
  __decorateClass([
3207
- IsOptional10(),
3210
+ IsOptional11(),
3208
3211
  IsBoolean6({ message: "Is active must be a boolean value" })
3209
3212
  ], CreateCompanyRoleDto.prototype, "isActive", 2);
3210
3213
 
3211
3214
  // src/modules/company-role/dto/update-company-role.dto.ts
3212
- import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray3, IsBoolean as IsBoolean7, IsInt as IsInt3, IsNotEmpty as IsNotEmpty31, IsOptional as IsOptional11 } from "class-validator";
3215
+ import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray3, IsBoolean as IsBoolean7, IsInt as IsInt3, IsNotEmpty as IsNotEmpty31, IsOptional as IsOptional12 } from "class-validator";
3213
3216
  var UpdateCompanyRoleDto = class {
3214
3217
  };
3215
3218
  __decorateClass([
@@ -3227,7 +3230,7 @@ __decorateClass([
3227
3230
  IsInt3({ each: true, message: "Each permission ID must be an integer." })
3228
3231
  ], UpdateCompanyRoleDto.prototype, "permissionIds", 2);
3229
3232
  __decorateClass([
3230
- IsOptional11(),
3233
+ IsOptional12(),
3231
3234
  IsBoolean7({ message: "Is active must be a boolean value" })
3232
3235
  ], UpdateCompanyRoleDto.prototype, "isActive", 2);
3233
3236
 
@@ -3249,7 +3252,7 @@ var FREELANCER_EXPERIENCE_PATTERN = {
3249
3252
  import {
3250
3253
  ArrayMinSize,
3251
3254
  IsNotEmpty as IsNotEmpty32,
3252
- IsOptional as IsOptional12,
3255
+ IsOptional as IsOptional13,
3253
3256
  IsString as IsString20,
3254
3257
  MaxLength as MaxLength10,
3255
3258
  ValidateNested
@@ -3258,7 +3261,7 @@ import { Type as Type2 } from "class-transformer";
3258
3261
  var ExperienceDto = class {
3259
3262
  };
3260
3263
  __decorateClass([
3261
- IsOptional12()
3264
+ IsOptional13()
3262
3265
  ], ExperienceDto.prototype, "uuid", 2);
3263
3266
  __decorateClass([
3264
3267
  IsNotEmpty32(),
@@ -3344,12 +3347,12 @@ var FREELANCER_EDUCATION_PATTERN = {
3344
3347
  };
3345
3348
 
3346
3349
  // src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
3347
- import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as IsString23, IsNotEmpty as IsNotEmpty35, IsOptional as IsOptional15, ArrayMinSize as ArrayMinSize2 } from "class-validator";
3350
+ import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as IsString23, IsNotEmpty as IsNotEmpty35, IsOptional as IsOptional16, ArrayMinSize as ArrayMinSize2 } from "class-validator";
3348
3351
  import { Type as Type3 } from "class-transformer";
3349
3352
  var EducationDto = class {
3350
3353
  };
3351
3354
  __decorateClass([
3352
- IsOptional15()
3355
+ IsOptional16()
3353
3356
  ], EducationDto.prototype, "uuid", 2);
3354
3357
  __decorateClass([
3355
3358
  IsString23(),
@@ -3379,12 +3382,12 @@ var FREELANCER_PROJECT_PATTERN = {
3379
3382
  };
3380
3383
 
3381
3384
  // src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
3382
- import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString24, IsNotEmpty as IsNotEmpty36, IsOptional as IsOptional16, IsDateString, MaxLength as MaxLength12, ArrayMinSize as ArrayMinSize3 } from "class-validator";
3385
+ import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString24, IsNotEmpty as IsNotEmpty36, IsOptional as IsOptional17, IsDateString, MaxLength as MaxLength12, ArrayMinSize as ArrayMinSize3 } from "class-validator";
3383
3386
  import { Type as Type4 } from "class-transformer";
3384
3387
  var ProjectDto = class {
3385
3388
  };
3386
3389
  __decorateClass([
3387
- IsOptional16()
3390
+ IsOptional17()
3388
3391
  ], ProjectDto.prototype, "uuid", 2);
3389
3392
  __decorateClass([
3390
3393
  IsString24(),
@@ -3399,22 +3402,22 @@ __decorateClass([
3399
3402
  IsNotEmpty36({ message: "Please Enter End Date " })
3400
3403
  ], ProjectDto.prototype, "endDate", 2);
3401
3404
  __decorateClass([
3402
- IsOptional16(),
3405
+ IsOptional17(),
3403
3406
  IsString24()
3404
3407
  ], ProjectDto.prototype, "clientName", 2);
3405
3408
  __decorateClass([
3406
- IsOptional16(),
3409
+ IsOptional17(),
3407
3410
  IsString24()
3408
3411
  ], ProjectDto.prototype, "gitLink", 2);
3409
3412
  __decorateClass([
3410
- IsOptional16(),
3413
+ IsOptional17(),
3411
3414
  IsString24(),
3412
3415
  MaxLength12(500, { message: "Description must not exceed 500 characters" })
3413
3416
  ], ProjectDto.prototype, "description", 2);
3414
3417
  var CaseStudyDto = class {
3415
3418
  };
3416
3419
  __decorateClass([
3417
- IsOptional16()
3420
+ IsOptional17()
3418
3421
  ], CaseStudyDto.prototype, "uuid", 2);
3419
3422
  __decorateClass([
3420
3423
  IsString24(),
@@ -3425,7 +3428,7 @@ __decorateClass([
3425
3428
  IsNotEmpty36({ message: "Please Enter Case Study Link " })
3426
3429
  ], CaseStudyDto.prototype, "caseStudyLink", 2);
3427
3430
  __decorateClass([
3428
- IsOptional16(),
3431
+ IsOptional17(),
3429
3432
  IsString24(),
3430
3433
  MaxLength12(500, { message: "Description must not exceed 500 characters" })
3431
3434
  ], CaseStudyDto.prototype, "description", 2);
@@ -3455,7 +3458,7 @@ var FREELANCER_SKILL_PATTERN = {
3455
3458
  };
3456
3459
 
3457
3460
  // src/modules/user/freelancer-skill/dto/freelancer-skill.dto.ts
3458
- import { IsArray as IsArray8, IsString as IsString25, IsOptional as IsOptional17 } from "class-validator";
3461
+ import { IsArray as IsArray8, IsString as IsString25, IsOptional as IsOptional18 } from "class-validator";
3459
3462
  import { Type as Type5 } from "class-transformer";
3460
3463
  var FreelancerSkillDto = class {
3461
3464
  constructor() {
@@ -3465,19 +3468,19 @@ var FreelancerSkillDto = class {
3465
3468
  }
3466
3469
  };
3467
3470
  __decorateClass([
3468
- IsOptional17(),
3471
+ IsOptional18(),
3469
3472
  IsArray8(),
3470
3473
  Type5(() => String),
3471
3474
  IsString25({ each: true })
3472
3475
  ], FreelancerSkillDto.prototype, "coreSkills", 2);
3473
3476
  __decorateClass([
3474
- IsOptional17(),
3477
+ IsOptional18(),
3475
3478
  IsArray8(),
3476
3479
  Type5(() => String),
3477
3480
  IsString25({ each: true })
3478
3481
  ], FreelancerSkillDto.prototype, "tools", 2);
3479
3482
  __decorateClass([
3480
- IsOptional17(),
3483
+ IsOptional18(),
3481
3484
  IsArray8(),
3482
3485
  Type5(() => String),
3483
3486
  IsString25({ each: true })
@@ -3499,7 +3502,7 @@ import {
3499
3502
  IsString as IsString26,
3500
3503
  IsEmail as IsEmail11,
3501
3504
  IsBoolean as IsBoolean12,
3502
- IsOptional as IsOptional18,
3505
+ IsOptional as IsOptional19,
3503
3506
  IsEnum as IsEnum13,
3504
3507
  IsNumber as IsNumber3,
3505
3508
  IsUrl as IsUrl3,
@@ -3582,23 +3585,23 @@ __decorateClass([
3582
3585
  IsNotEmpty38({ message: "Please enter availability to join." })
3583
3586
  ], CreateFreelancerDto.prototype, "availabilityToJoin", 2);
3584
3587
  __decorateClass([
3585
- IsOptional18(),
3588
+ IsOptional19(),
3586
3589
  IsUrl3({}, { message: "LinkedIn profile link must be a valid URL" })
3587
3590
  ], CreateFreelancerDto.prototype, "linkedinProfileLink", 2);
3588
3591
  __decorateClass([
3589
- IsOptional18(),
3592
+ IsOptional19(),
3590
3593
  IsString26({ message: "Kaggle profile link must be a string" })
3591
3594
  ], CreateFreelancerDto.prototype, "kaggleProfileLink", 2);
3592
3595
  __decorateClass([
3593
- IsOptional18(),
3596
+ IsOptional19(),
3594
3597
  IsUrl3({}, { message: "GitHub profile link must be a valid URL" })
3595
3598
  ], CreateFreelancerDto.prototype, "githubProfileLink", 2);
3596
3599
  __decorateClass([
3597
- IsOptional18(),
3600
+ IsOptional19(),
3598
3601
  IsUrl3({}, { message: "StackOverflow profile link must be a valid URL" })
3599
3602
  ], CreateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
3600
3603
  __decorateClass([
3601
- IsOptional18(),
3604
+ IsOptional19(),
3602
3605
  IsUrl3({}, { message: "Portfolio link must be a valid URL" })
3603
3606
  ], CreateFreelancerDto.prototype, "portfolioLink", 2);
3604
3607
 
@@ -3607,7 +3610,7 @@ import {
3607
3610
  IsString as IsString27,
3608
3611
  IsEmail as IsEmail12,
3609
3612
  IsBoolean as IsBoolean13,
3610
- IsOptional as IsOptional19,
3613
+ IsOptional as IsOptional20,
3611
3614
  IsEnum as IsEnum14,
3612
3615
  IsNumber as IsNumber4,
3613
3616
  IsUrl as IsUrl4,
@@ -3634,24 +3637,24 @@ var ModeOfWorkEnum2 = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
3634
3637
  var UpdateFreelancerDto = class {
3635
3638
  };
3636
3639
  __decorateClass([
3637
- IsOptional19(),
3640
+ IsOptional20(),
3638
3641
  IsString27({ message: "Full name must be a string" }),
3639
3642
  MaxLength15(100, { message: "Full name must not exceed 100 characters" })
3640
3643
  ], UpdateFreelancerDto.prototype, "fullName", 2);
3641
3644
  __decorateClass([
3642
- IsOptional19(),
3645
+ IsOptional20(),
3643
3646
  IsEmail12({}, { message: "Invalid email address" })
3644
3647
  ], UpdateFreelancerDto.prototype, "email", 2);
3645
3648
  __decorateClass([
3646
- IsOptional19(),
3649
+ IsOptional20(),
3647
3650
  IsString27({ message: "Mobile code must be a string (e.g., +1)" })
3648
3651
  ], UpdateFreelancerDto.prototype, "mobileCode", 2);
3649
3652
  __decorateClass([
3650
- IsOptional19(),
3653
+ IsOptional20(),
3651
3654
  IsString27({ message: "Mobile must be a string (e.g., 1243253534)" })
3652
3655
  ], UpdateFreelancerDto.prototype, "mobile", 2);
3653
3656
  __decorateClass([
3654
- IsOptional19(),
3657
+ IsOptional20(),
3655
3658
  MinLength13(6, { message: "Password must be at least 6 characters." }),
3656
3659
  MaxLength15(32, { message: "Password must not exceed 32 characters." }),
3657
3660
  Matches9(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
@@ -3659,12 +3662,12 @@ __decorateClass([
3659
3662
  })
3660
3663
  ], UpdateFreelancerDto.prototype, "password", 2);
3661
3664
  __decorateClass([
3662
- IsOptional19(),
3665
+ IsOptional20(),
3663
3666
  IsBoolean13({ message: "Developer flag must be true or false" }),
3664
3667
  Type7(() => Boolean)
3665
3668
  ], UpdateFreelancerDto.prototype, "developer", 2);
3666
3669
  __decorateClass([
3667
- IsOptional19(),
3670
+ IsOptional20(),
3668
3671
  IsEnum14(NatureOfWorkEnum2, {
3669
3672
  message: `Nature of work must be one of: ${Object.values(
3670
3673
  NatureOfWorkEnum2
@@ -3672,13 +3675,13 @@ __decorateClass([
3672
3675
  })
3673
3676
  ], UpdateFreelancerDto.prototype, "natureOfWork", 2);
3674
3677
  __decorateClass([
3675
- IsOptional19(),
3678
+ IsOptional20(),
3676
3679
  IsNumber4({}, { message: "Expected hourly compensation must be a number" }),
3677
3680
  Min4(0, { message: "Expected hourly compensation must be 0 or more" }),
3678
3681
  Type7(() => Number)
3679
3682
  ], UpdateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
3680
3683
  __decorateClass([
3681
- IsOptional19(),
3684
+ IsOptional20(),
3682
3685
  IsEnum14(ModeOfWorkEnum2, {
3683
3686
  message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum2).join(
3684
3687
  ", "
@@ -3686,7 +3689,7 @@ __decorateClass([
3686
3689
  })
3687
3690
  ], UpdateFreelancerDto.prototype, "modeOfWork", 2);
3688
3691
  __decorateClass([
3689
- IsOptional19(),
3692
+ IsOptional20(),
3690
3693
  IsBoolean13({ message: "isImmediateJoiner must be true or false" }),
3691
3694
  Type7(() => Boolean)
3692
3695
  ], UpdateFreelancerDto.prototype, "isImmediateJoiner", 2);
@@ -3695,23 +3698,23 @@ __decorateClass([
3695
3698
  IsNotEmpty39({ message: "Please enter availability to join." })
3696
3699
  ], UpdateFreelancerDto.prototype, "availabilityToJoin", 2);
3697
3700
  __decorateClass([
3698
- IsOptional19(),
3701
+ IsOptional20(),
3699
3702
  IsUrl4({}, { message: "LinkedIn profile link must be a valid URL" })
3700
3703
  ], UpdateFreelancerDto.prototype, "linkedinProfileLink", 2);
3701
3704
  __decorateClass([
3702
- IsOptional19(),
3705
+ IsOptional20(),
3703
3706
  IsString27({ message: "Kaggle profile link must be a string" })
3704
3707
  ], UpdateFreelancerDto.prototype, "kaggleProfileLink", 2);
3705
3708
  __decorateClass([
3706
- IsOptional19(),
3709
+ IsOptional20(),
3707
3710
  IsUrl4({}, { message: "GitHub profile link must be a valid URL" })
3708
3711
  ], UpdateFreelancerDto.prototype, "githubProfileLink", 2);
3709
3712
  __decorateClass([
3710
- IsOptional19(),
3713
+ IsOptional20(),
3711
3714
  IsUrl4({}, { message: "StackOverflow profile link must be a valid URL" })
3712
3715
  ], UpdateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
3713
3716
  __decorateClass([
3714
- IsOptional19(),
3717
+ IsOptional20(),
3715
3718
  IsUrl4({}, { message: "Portfolio link must be a valid URL" })
3716
3719
  ], UpdateFreelancerDto.prototype, "portfolioLink", 2);
3717
3720
 
@@ -3731,7 +3734,7 @@ var CLIENT_ADMIN_PATTERNS = {
3731
3734
  import {
3732
3735
  IsNotEmpty as IsNotEmpty40,
3733
3736
  IsEmail as IsEmail13,
3734
- IsOptional as IsOptional20,
3737
+ IsOptional as IsOptional21,
3735
3738
  IsString as IsString28,
3736
3739
  IsArray as IsArray9,
3737
3740
  MinLength as MinLength14,
@@ -3802,11 +3805,11 @@ __decorateClass([
3802
3805
  IsString28()
3803
3806
  ], CreateClientDto.prototype, "foundUsOn", 2);
3804
3807
  __decorateClass([
3805
- IsOptional20(),
3808
+ IsOptional21(),
3806
3809
  IsString28()
3807
3810
  ], CreateClientDto.prototype, "OTHER", 2);
3808
3811
  __decorateClass([
3809
- IsOptional20(),
3812
+ IsOptional21(),
3810
3813
  IsString28()
3811
3814
  ], CreateClientDto.prototype, "foundUsOnDetail", 2);
3812
3815
 
@@ -3823,7 +3826,7 @@ __decorateClass([
3823
3826
  import {
3824
3827
  IsNotEmpty as IsNotEmpty42,
3825
3828
  IsEmail as IsEmail14,
3826
- IsOptional as IsOptional21,
3829
+ IsOptional as IsOptional22,
3827
3830
  IsString as IsString30,
3828
3831
  IsArray as IsArray10,
3829
3832
  MinLength as MinLength15,
@@ -3858,7 +3861,7 @@ __decorateClass([
3858
3861
  IsEmail14()
3859
3862
  ], UpdateClientDto.prototype, "email", 2);
3860
3863
  __decorateClass([
3861
- IsOptional21(),
3864
+ IsOptional22(),
3862
3865
  MinLength15(6, { message: "Password must be at least 6 characters." }),
3863
3866
  MaxLength17(32, { message: "Password must not exceed 32 characters." }),
3864
3867
  Matches11(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
@@ -3890,11 +3893,11 @@ __decorateClass([
3890
3893
  IsString30()
3891
3894
  ], UpdateClientDto.prototype, "foundUsOn", 2);
3892
3895
  __decorateClass([
3893
- IsOptional21(),
3896
+ IsOptional22(),
3894
3897
  IsString30()
3895
3898
  ], UpdateClientDto.prototype, "OTHER", 2);
3896
3899
  __decorateClass([
3897
- IsOptional21(),
3900
+ IsOptional22(),
3898
3901
  IsString30()
3899
3902
  ], UpdateClientDto.prototype, "foundUsOnDetail", 2);
3900
3903
 
@@ -3905,7 +3908,7 @@ var FREELANCER_DECLARATION_PATTERN = {
3905
3908
  };
3906
3909
 
3907
3910
  // src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
3908
- import { IsOptional as IsOptional22, IsEnum as IsEnum17, IsString as IsString31, IsNotEmpty as IsNotEmpty43, IsIn as IsIn3 } from "class-validator";
3911
+ import { IsOptional as IsOptional23, IsEnum as IsEnum17, IsString as IsString31, IsNotEmpty as IsNotEmpty43, IsIn as IsIn3 } from "class-validator";
3909
3912
  var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
3910
3913
  DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
3911
3914
  DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
@@ -3916,7 +3919,7 @@ var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
3916
3919
  var FreelancerDeclarationDto = class {
3917
3920
  };
3918
3921
  __decorateClass([
3919
- IsOptional22(),
3922
+ IsOptional23(),
3920
3923
  IsString31({ message: "UUID must be a string" })
3921
3924
  ], FreelancerDeclarationDto.prototype, "uuid", 2);
3922
3925
  __decorateClass([
@@ -3940,35 +3943,35 @@ var CMS_PATTERNS = {
3940
3943
  };
3941
3944
 
3942
3945
  // src/modules/cms/dto/create-cms.dto.ts
3943
- import { IsBoolean as IsBoolean14, IsNotEmpty as IsNotEmpty44, IsOptional as IsOptional23 } from "class-validator";
3946
+ import { IsBoolean as IsBoolean14, IsNotEmpty as IsNotEmpty44, IsOptional as IsOptional24 } from "class-validator";
3944
3947
  var CreateCmsDto = class {
3945
3948
  };
3946
3949
  __decorateClass([
3947
3950
  IsNotEmpty44({ message: "Please enter name." })
3948
3951
  ], CreateCmsDto.prototype, "title", 2);
3949
3952
  __decorateClass([
3950
- IsOptional23()
3953
+ IsOptional24()
3951
3954
  ], CreateCmsDto.prototype, "content", 2);
3952
3955
  __decorateClass([
3953
- IsOptional23(),
3956
+ IsOptional24(),
3954
3957
  IsBoolean14({ message: "Is active must be a boolean value" })
3955
3958
  ], CreateCmsDto.prototype, "isActive", 2);
3956
3959
 
3957
3960
  // src/modules/cms/dto/update-cms.dto.ts
3958
- import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty45, IsOptional as IsOptional24 } from "class-validator";
3961
+ import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty45, IsOptional as IsOptional25 } from "class-validator";
3959
3962
  var UpdateCmsDto = class {
3960
3963
  };
3961
3964
  __decorateClass([
3962
- IsOptional24()
3965
+ IsOptional25()
3963
3966
  ], UpdateCmsDto.prototype, "uuid", 2);
3964
3967
  __decorateClass([
3965
3968
  IsNotEmpty45({ message: "Please enter name." })
3966
3969
  ], UpdateCmsDto.prototype, "title", 2);
3967
3970
  __decorateClass([
3968
- IsOptional24()
3971
+ IsOptional25()
3969
3972
  ], UpdateCmsDto.prototype, "content", 2);
3970
3973
  __decorateClass([
3971
- IsOptional24(),
3974
+ IsOptional25(),
3972
3975
  IsBoolean15({ message: "Is active must be a boolean value" })
3973
3976
  ], UpdateCmsDto.prototype, "isActive", 2);
3974
3977
 
@@ -3998,7 +4001,7 @@ import {
3998
4001
  IsString as IsString32,
3999
4002
  IsEnum as IsEnum18,
4000
4003
  IsInt as IsInt6,
4001
- IsOptional as IsOptional25,
4004
+ IsOptional as IsOptional26,
4002
4005
  IsArray as IsArray11,
4003
4006
  IsDateString as IsDateString4,
4004
4007
  IsNotEmpty as IsNotEmpty46,
@@ -4025,7 +4028,7 @@ __decorateClass([
4025
4028
  IsNotEmpty46({ message: "Job role is required." })
4026
4029
  ], AdminCreateJobInformationDto.prototype, "jobRole", 2);
4027
4030
  __decorateClass([
4028
- IsOptional25(),
4031
+ IsOptional26(),
4029
4032
  IsString32({ message: "Note must be a string." })
4030
4033
  ], AdminCreateJobInformationDto.prototype, "note", 2);
4031
4034
  __decorateClass([
@@ -4075,7 +4078,7 @@ __decorateClass([
4075
4078
  IsDateString4({ strict: true }, { message: "End date must be in YYYY-MM-DD format." })
4076
4079
  ], AdminCreateJobInformationDto.prototype, "tentativeEndDate", 2);
4077
4080
  __decorateClass([
4078
- IsOptional25(),
4081
+ IsOptional26(),
4079
4082
  IsString32({ message: "Additional comment must be a string." })
4080
4083
  ], AdminCreateJobInformationDto.prototype, "additionalComment", 2);
4081
4084
  __decorateClass([
@@ -4097,7 +4100,7 @@ import {
4097
4100
  IsString as IsString33,
4098
4101
  IsEnum as IsEnum19,
4099
4102
  IsInt as IsInt7,
4100
- IsOptional as IsOptional26,
4103
+ IsOptional as IsOptional27,
4101
4104
  IsArray as IsArray12,
4102
4105
  IsDateString as IsDateString5,
4103
4106
  IsNotEmpty as IsNotEmpty47,
@@ -4124,7 +4127,7 @@ __decorateClass([
4124
4127
  IsNotEmpty47({ message: "Job role is required." })
4125
4128
  ], AdminUpdateJobInformationDto.prototype, "jobRole", 2);
4126
4129
  __decorateClass([
4127
- IsOptional26(),
4130
+ IsOptional27(),
4128
4131
  IsString33({ message: "Note must be a string." })
4129
4132
  ], AdminUpdateJobInformationDto.prototype, "note", 2);
4130
4133
  __decorateClass([
@@ -4174,7 +4177,7 @@ __decorateClass([
4174
4177
  IsDateString5({ strict: true }, { message: "End date must be in YYYY-MM-DD format." })
4175
4178
  ], AdminUpdateJobInformationDto.prototype, "tentativeEndDate", 2);
4176
4179
  __decorateClass([
4177
- IsOptional26(),
4180
+ IsOptional27(),
4178
4181
  IsString33({ message: "Additional comment must be a string." })
4179
4182
  ], AdminUpdateJobInformationDto.prototype, "additionalComment", 2);
4180
4183
  __decorateClass([
@@ -4197,7 +4200,7 @@ var LEAD_PATTERN = {
4197
4200
  };
4198
4201
 
4199
4202
  // src/modules/lead/dto/create-lead.dto.ts
4200
- import { IsString as IsString34, IsEmail as IsEmail15, IsOptional as IsOptional27, IsEnum as IsEnum20 } from "class-validator";
4203
+ import { IsString as IsString34, IsEmail as IsEmail15, IsOptional as IsOptional28, IsEnum as IsEnum20 } from "class-validator";
4201
4204
  var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
4202
4205
  CategoryEmumDto2["BUSINESS"] = "BUSINESS";
4203
4206
  CategoryEmumDto2["FREELANCER"] = "FREELANCER";
@@ -4218,7 +4221,7 @@ __decorateClass([
4218
4221
  IsString34({ message: "Mobile must be a string (e.g., 1243253534)" })
4219
4222
  ], CreateLeadDto.prototype, "mobile", 2);
4220
4223
  __decorateClass([
4221
- IsOptional27(),
4224
+ IsOptional28(),
4222
4225
  IsString34({ message: "Description must be a string" })
4223
4226
  ], CreateLeadDto.prototype, "description", 2);
4224
4227
  __decorateClass([
@@ -2,4 +2,5 @@ export declare class FreelancerCaptureAiAssessmentStatusDto {
2
2
  uuid: string;
3
3
  assessmentId: string;
4
4
  assessmentStatus: string;
5
+ iframeEventData: object;
5
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.218",
3
+ "version": "1.0.219",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",