@experts_hub/shared 1.0.231 → 1.0.237

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.mjs CHANGED
@@ -312,70 +312,79 @@ __decorateClass([
312
312
  IsUUID2()
313
313
  ], FreelancerParseResumeDto.prototype, "uuid", 2);
314
314
 
315
- // src/modules/onboarding/dto/freelancer-skip-ai-assessment.dto.ts
315
+ // src/modules/onboarding/dto/freelancer-initiate-mcq-assessment.dto.ts
316
316
  import { IsUUID as IsUUID3, IsNotEmpty as IsNotEmpty12 } from "class-validator";
317
- var FreelancerSkipAiAssessmentDto = class {
317
+ var FreelancerInitiateMcqAssessmentDto = class {
318
318
  };
319
319
  __decorateClass([
320
320
  IsNotEmpty12({ message: "Please enter uuid." }),
321
321
  IsUUID3()
322
- ], FreelancerSkipAiAssessmentDto.prototype, "uuid", 2);
322
+ ], FreelancerInitiateMcqAssessmentDto.prototype, "uuid", 2);
323
323
 
324
- // src/modules/onboarding/dto/freelancer-initiate-ai-assessment.dto.ts
324
+ // src/modules/onboarding/dto/freelancer-skip-ai-assessment.dto.ts
325
325
  import { IsUUID as IsUUID4, IsNotEmpty as IsNotEmpty13 } from "class-validator";
326
- var FreelancerInitiateAiAssessmentDto = class {
326
+ var FreelancerSkipAiAssessmentDto = class {
327
327
  };
328
328
  __decorateClass([
329
329
  IsNotEmpty13({ message: "Please enter uuid." }),
330
330
  IsUUID4()
331
+ ], FreelancerSkipAiAssessmentDto.prototype, "uuid", 2);
332
+
333
+ // src/modules/onboarding/dto/freelancer-initiate-ai-assessment.dto.ts
334
+ import { IsUUID as IsUUID5, IsNotEmpty as IsNotEmpty14 } from "class-validator";
335
+ var FreelancerInitiateAiAssessmentDto = class {
336
+ };
337
+ __decorateClass([
338
+ IsNotEmpty14({ message: "Please enter uuid." }),
339
+ IsUUID5()
331
340
  ], FreelancerInitiateAiAssessmentDto.prototype, "uuid", 2);
332
341
 
333
342
  // src/modules/onboarding/dto/freelancer-capture-ai-assessment-status.dto.ts
334
- import { IsUUID as IsUUID5, IsNotEmpty as IsNotEmpty14, IsOptional } from "class-validator";
343
+ import { IsUUID as IsUUID6, IsNotEmpty as IsNotEmpty15, IsOptional } from "class-validator";
335
344
  var FreelancerCaptureAiAssessmentStatusDto = class {
336
345
  };
337
346
  __decorateClass([
338
- IsNotEmpty14({ message: "Please enter uuid." }),
339
- IsUUID5()
347
+ IsNotEmpty15({ message: "Please enter uuid." }),
348
+ IsUUID6()
340
349
  ], FreelancerCaptureAiAssessmentStatusDto.prototype, "uuid", 2);
341
350
  __decorateClass([
342
- IsNotEmpty14({ message: "Please enter assessment id." })
351
+ IsNotEmpty15({ message: "Please enter assessment id." })
343
352
  ], FreelancerCaptureAiAssessmentStatusDto.prototype, "assessmentId", 2);
344
353
  __decorateClass([
345
- IsNotEmpty14({ message: "Please enter assessment status." })
354
+ IsNotEmpty15({ message: "Please enter assessment status." })
346
355
  ], FreelancerCaptureAiAssessmentStatusDto.prototype, "assessmentStatus", 2);
347
356
  __decorateClass([
348
357
  IsOptional()
349
358
  ], FreelancerCaptureAiAssessmentStatusDto.prototype, "iframeEventData", 2);
350
359
 
351
360
  // src/modules/onboarding/dto/freelancer-development-preference.dto.ts
352
- import { IsUUID as IsUUID6, IsNotEmpty as IsNotEmpty15, IsBoolean } from "class-validator";
361
+ import { IsUUID as IsUUID7, IsNotEmpty as IsNotEmpty16, IsBoolean } from "class-validator";
353
362
  var FreelancerDevelopmentPreferenceDto = class {
354
363
  };
355
364
  __decorateClass([
356
- IsNotEmpty15({ message: "Please enter uuid." }),
357
- IsUUID6()
365
+ IsNotEmpty16({ message: "Please enter uuid." }),
366
+ IsUUID7()
358
367
  ], FreelancerDevelopmentPreferenceDto.prototype, "uuid", 2);
359
368
  __decorateClass([
360
- IsNotEmpty15({ message: "Please select development flag." }),
369
+ IsNotEmpty16({ message: "Please select development flag." }),
361
370
  IsBoolean()
362
371
  ], FreelancerDevelopmentPreferenceDto.prototype, "developer", 2);
363
372
 
364
373
  // src/modules/onboarding/dto/freelancer-profile-question.dto.ts
365
374
  import {
366
- IsUUID as IsUUID7,
375
+ IsUUID as IsUUID8,
367
376
  IsString as IsString4,
368
- IsNotEmpty as IsNotEmpty16,
377
+ IsNotEmpty as IsNotEmpty17,
369
378
  IsIn
370
379
  } from "class-validator";
371
380
  var FreelancerProfileQuestionDto = class {
372
381
  };
373
382
  __decorateClass([
374
- IsNotEmpty16({ message: "Please enter uuid." }),
375
- IsUUID7()
383
+ IsNotEmpty17({ message: "Please enter uuid." }),
384
+ IsUUID8()
376
385
  ], FreelancerProfileQuestionDto.prototype, "uuid", 2);
377
386
  __decorateClass([
378
- IsNotEmpty16({ message: "Please enter question slug." }),
387
+ IsNotEmpty17({ message: "Please enter question slug." }),
379
388
  IsString4(),
380
389
  IsIn([
381
390
  "natureOfWork",
@@ -386,25 +395,25 @@ __decorateClass([
386
395
  ])
387
396
  ], FreelancerProfileQuestionDto.prototype, "question_slug", 2);
388
397
  __decorateClass([
389
- IsNotEmpty16({ message: "Please enter answer." })
398
+ IsNotEmpty17({ message: "Please enter answer." })
390
399
  ], FreelancerProfileQuestionDto.prototype, "answer", 2);
391
400
 
392
401
  // src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
393
402
  import {
394
- IsNotEmpty as IsNotEmpty17,
403
+ IsNotEmpty as IsNotEmpty18,
395
404
  IsOptional as IsOptional2,
396
405
  IsUrl,
397
406
  IsString as IsString5,
398
- IsUUID as IsUUID8
407
+ IsUUID as IsUUID9
399
408
  } from "class-validator";
400
409
  var FreelancerWorkShowcaseDto = class {
401
410
  };
402
411
  __decorateClass([
403
- IsNotEmpty17({ message: "Please enter uuid." }),
404
- IsUUID8()
412
+ IsNotEmpty18({ message: "Please enter uuid." }),
413
+ IsUUID9()
405
414
  ], FreelancerWorkShowcaseDto.prototype, "uuid", 2);
406
415
  __decorateClass([
407
- IsNotEmpty17({ message: "Please enter likedin profile url." }),
416
+ IsNotEmpty18({ message: "Please enter likedin profile url." }),
408
417
  IsString5(),
409
418
  IsUrl({ require_protocol: true }, { message: "linkedinProfileLink must be a valid URL with protocol (e.g. https://)" })
410
419
  ], FreelancerWorkShowcaseDto.prototype, "linkedinProfileLink", 2);
@@ -427,20 +436,20 @@ __decorateClass([
427
436
 
428
437
  // src/modules/onboarding/dto/client-profile-question.dto.ts
429
438
  import {
430
- IsUUID as IsUUID9,
439
+ IsUUID as IsUUID10,
431
440
  IsString as IsString6,
432
- IsNotEmpty as IsNotEmpty18,
441
+ IsNotEmpty as IsNotEmpty19,
433
442
  IsIn as IsIn2,
434
443
  ValidateIf
435
444
  } from "class-validator";
436
445
  var ClientProfileQuestionDto = class {
437
446
  };
438
447
  __decorateClass([
439
- IsNotEmpty18({ message: "Please enter uuid." }),
440
- IsUUID9()
448
+ IsNotEmpty19({ message: "Please enter uuid." }),
449
+ IsUUID10()
441
450
  ], ClientProfileQuestionDto.prototype, "uuid", 2);
442
451
  __decorateClass([
443
- IsNotEmpty18({ message: "Please enter question slug." }),
452
+ IsNotEmpty19({ message: "Please enter question slug." }),
444
453
  IsString6(),
445
454
  IsIn2([
446
455
  "skills",
@@ -451,17 +460,17 @@ __decorateClass([
451
460
  ])
452
461
  ], ClientProfileQuestionDto.prototype, "question_slug", 2);
453
462
  __decorateClass([
454
- IsNotEmpty18({ message: "Please enter answer." })
463
+ IsNotEmpty19({ message: "Please enter answer." })
455
464
  ], ClientProfileQuestionDto.prototype, "answer", 2);
456
465
  __decorateClass([
457
466
  ValidateIf((o) => o.questionSlug === "foundUsOn" && o.answer === "OTHER"),
458
- IsNotEmpty18({ message: "Please enter foundUsOnDetail if answer is OTHER." }),
467
+ IsNotEmpty19({ message: "Please enter foundUsOnDetail if answer is OTHER." }),
459
468
  IsString6()
460
469
  ], ClientProfileQuestionDto.prototype, "foundUsOnDetail", 2);
461
470
 
462
471
  // src/modules/onboarding/dto/client-create-account.dto.ts
463
472
  import {
464
- IsNotEmpty as IsNotEmpty19,
473
+ IsNotEmpty as IsNotEmpty20,
465
474
  IsEmail as IsEmail3,
466
475
  Matches as Matches4,
467
476
  MinLength as MinLength4,
@@ -471,23 +480,23 @@ import {
471
480
  var ClientCreateAccountDto = class {
472
481
  };
473
482
  __decorateClass([
474
- IsNotEmpty19({ message: "Please enter first name." }),
483
+ IsNotEmpty20({ message: "Please enter first name." }),
475
484
  IsString7({ message: "Please enter valid first name." })
476
485
  ], ClientCreateAccountDto.prototype, "firstName", 2);
477
486
  __decorateClass([
478
- IsNotEmpty19({ message: "Please enter last name." }),
487
+ IsNotEmpty20({ message: "Please enter last name." }),
479
488
  IsString7({ message: "Please enter valid last name." })
480
489
  ], ClientCreateAccountDto.prototype, "lastName", 2);
481
490
  __decorateClass([
482
- IsNotEmpty19({ message: "Please enter email." }),
491
+ IsNotEmpty20({ message: "Please enter email." }),
483
492
  IsEmail3()
484
493
  ], ClientCreateAccountDto.prototype, "email", 2);
485
494
  __decorateClass([
486
- IsNotEmpty19({ message: "Please enter company name." }),
495
+ IsNotEmpty20({ message: "Please enter company name." }),
487
496
  IsString7({ message: "Please enter valid company name." })
488
497
  ], ClientCreateAccountDto.prototype, "companyName", 2);
489
498
  __decorateClass([
490
- IsNotEmpty19({ message: "Please enter password." }),
499
+ IsNotEmpty20({ message: "Please enter password." }),
491
500
  MinLength4(6),
492
501
  MaxLength4(32),
493
502
  Matches4(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
@@ -495,7 +504,7 @@ __decorateClass([
495
504
  })
496
505
  ], ClientCreateAccountDto.prototype, "password", 2);
497
506
  __decorateClass([
498
- IsNotEmpty19({ message: "Please enter confirm password." }),
507
+ IsNotEmpty20({ message: "Please enter confirm password." }),
499
508
  Match("password", { message: "Passwords do not match" })
500
509
  ], ClientCreateAccountDto.prototype, "confirmPassword", 2);
501
510
 
@@ -518,36 +527,36 @@ var SUBADMIN_PATTERN = {
518
527
 
519
528
  // src/modules/user/subadmin/dto/create-subadmin.dto.ts
520
529
  import {
521
- IsNotEmpty as IsNotEmpty20
530
+ IsNotEmpty as IsNotEmpty21
522
531
  } from "class-validator";
523
532
  var CreateSubAdminDto = class {
524
533
  };
525
534
  __decorateClass([
526
- IsNotEmpty20({ message: "Please enter unique id." })
535
+ IsNotEmpty21({ message: "Please enter unique id." })
527
536
  ], CreateSubAdminDto.prototype, "uniqueId", 2);
528
537
  __decorateClass([
529
- IsNotEmpty20({ message: "Please enter username." })
538
+ IsNotEmpty21({ message: "Please enter username." })
530
539
  ], CreateSubAdminDto.prototype, "userName", 2);
531
540
  __decorateClass([
532
- IsNotEmpty20({ message: "Please enter first name." })
541
+ IsNotEmpty21({ message: "Please enter first name." })
533
542
  ], CreateSubAdminDto.prototype, "firstName", 2);
534
543
  __decorateClass([
535
- IsNotEmpty20({ message: "Please enter last name." })
544
+ IsNotEmpty21({ message: "Please enter last name." })
536
545
  ], CreateSubAdminDto.prototype, "lastName", 2);
537
546
  __decorateClass([
538
- IsNotEmpty20({ message: "Please enter email." })
547
+ IsNotEmpty21({ message: "Please enter email." })
539
548
  ], CreateSubAdminDto.prototype, "email", 2);
540
549
  __decorateClass([
541
- IsNotEmpty20({ message: "Please enter mobile number." })
550
+ IsNotEmpty21({ message: "Please enter mobile number." })
542
551
  ], CreateSubAdminDto.prototype, "mobile", 2);
543
552
  __decorateClass([
544
- IsNotEmpty20({ message: "Please enter the password." })
553
+ IsNotEmpty21({ message: "Please enter the password." })
545
554
  ], CreateSubAdminDto.prototype, "password", 2);
546
555
  __decorateClass([
547
- IsNotEmpty20({ message: "Please enter account type." })
556
+ IsNotEmpty21({ message: "Please enter account type." })
548
557
  ], CreateSubAdminDto.prototype, "accountType", 2);
549
558
  __decorateClass([
550
- IsNotEmpty20({ message: "Please enter account status." })
559
+ IsNotEmpty21({ message: "Please enter account status." })
551
560
  ], CreateSubAdminDto.prototype, "accountStatus", 2);
552
561
 
553
562
  // src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
@@ -559,35 +568,35 @@ __decorateClass([
559
568
  ], UpdateSubAdminAccountStatusDto.prototype, "accountStatus", 2);
560
569
 
561
570
  // src/modules/user/subadmin/dto/update-subadmin.dto.ts
562
- import { IsNotEmpty as IsNotEmpty21 } from "class-validator";
571
+ import { IsNotEmpty as IsNotEmpty22 } from "class-validator";
563
572
  var UpdateSubAdminDto = class {
564
573
  };
565
574
  __decorateClass([
566
- IsNotEmpty21({ message: "Please enter unique id." })
575
+ IsNotEmpty22({ message: "Please enter unique id." })
567
576
  ], UpdateSubAdminDto.prototype, "uniqueId", 2);
568
577
  __decorateClass([
569
- IsNotEmpty21({ message: "Please enter username." })
578
+ IsNotEmpty22({ message: "Please enter username." })
570
579
  ], UpdateSubAdminDto.prototype, "userName", 2);
571
580
  __decorateClass([
572
- IsNotEmpty21({ message: "Please enter first name." })
581
+ IsNotEmpty22({ message: "Please enter first name." })
573
582
  ], UpdateSubAdminDto.prototype, "firstName", 2);
574
583
  __decorateClass([
575
- IsNotEmpty21({ message: "Please enter last name." })
584
+ IsNotEmpty22({ message: "Please enter last name." })
576
585
  ], UpdateSubAdminDto.prototype, "lastName", 2);
577
586
  __decorateClass([
578
- IsNotEmpty21({ message: "Please enter email." })
587
+ IsNotEmpty22({ message: "Please enter email." })
579
588
  ], UpdateSubAdminDto.prototype, "email", 2);
580
589
  __decorateClass([
581
- IsNotEmpty21({ message: "Please enter mobile number." })
590
+ IsNotEmpty22({ message: "Please enter mobile number." })
582
591
  ], UpdateSubAdminDto.prototype, "mobile", 2);
583
592
  __decorateClass([
584
- IsNotEmpty21({ message: "Please enter the password." })
593
+ IsNotEmpty22({ message: "Please enter the password." })
585
594
  ], UpdateSubAdminDto.prototype, "password", 2);
586
595
  __decorateClass([
587
- IsNotEmpty21({ message: "Please enter account type." })
596
+ IsNotEmpty22({ message: "Please enter account type." })
588
597
  ], UpdateSubAdminDto.prototype, "accountType", 2);
589
598
  __decorateClass([
590
- IsNotEmpty21({ message: "Please enter account status." })
599
+ IsNotEmpty22({ message: "Please enter account status." })
591
600
  ], UpdateSubAdminDto.prototype, "accountStatus", 2);
592
601
 
593
602
  // src/modules/user/client-profile/pattern/pattern.ts
@@ -602,7 +611,7 @@ var CLIENT_PROFILE_PATTERN = {
602
611
  // src/modules/user/client-profile/dto/update-client-profile.dto.ts
603
612
  import {
604
613
  IsString as IsString10,
605
- IsNotEmpty as IsNotEmpty22,
614
+ IsNotEmpty as IsNotEmpty23,
606
615
  IsEmail as IsEmail5,
607
616
  Length as Length2,
608
617
  IsUrl as IsUrl2,
@@ -611,33 +620,33 @@ import {
611
620
  var UpdateCompanyProfileDto = class {
612
621
  };
613
622
  __decorateClass([
614
- IsNotEmpty22({ message: "Please enter company name." }),
623
+ IsNotEmpty23({ message: "Please enter company name." }),
615
624
  IsString10({ message: "Company name must be a string." }),
616
625
  Length2(2, 255, {
617
626
  message: "Company name must be between 2 and 255 characters"
618
627
  })
619
628
  ], UpdateCompanyProfileDto.prototype, "companyName", 2);
620
629
  __decorateClass([
621
- IsNotEmpty22({ message: "Please enter company website url." }),
630
+ IsNotEmpty23({ message: "Please enter company website url." }),
622
631
  IsUrl2({}, { message: "Invalid website URL format" })
623
632
  ], UpdateCompanyProfileDto.prototype, "webSite", 2);
624
633
  __decorateClass([
625
- IsNotEmpty22({ message: "Please enter company address." }),
634
+ IsNotEmpty23({ message: "Please enter company address." }),
626
635
  IsString10({ message: "Company address must be a string" }),
627
636
  Length2(5, 1e3, { message: "Address must be between 5 and 1000 characters" })
628
637
  ], UpdateCompanyProfileDto.prototype, "companyAddress", 2);
629
638
  __decorateClass([
630
- IsNotEmpty22({ message: "Please enter phone number." }),
639
+ IsNotEmpty23({ message: "Please enter phone number." }),
631
640
  Matches5(/^(\+1\s?)?(\(?\d{3}\)?[\s.-]?)?\d{3}[\s.-]?\d{4}$/, {
632
641
  message: "Please enter a valid US phone number"
633
642
  })
634
643
  ], UpdateCompanyProfileDto.prototype, "phoneNumber", 2);
635
644
  __decorateClass([
636
- IsNotEmpty22({ message: "Please enter email." }),
645
+ IsNotEmpty23({ message: "Please enter email." }),
637
646
  IsEmail5()
638
647
  ], UpdateCompanyProfileDto.prototype, "email", 2);
639
648
  __decorateClass([
640
- IsNotEmpty22({ message: "Please enter something about company." }),
649
+ IsNotEmpty23({ message: "Please enter something about company." }),
641
650
  IsString10({ message: "About company must be a string." })
642
651
  ], UpdateCompanyProfileDto.prototype, "aboutCompany", 2);
643
652
 
@@ -646,7 +655,7 @@ import {
646
655
  IsString as IsString11,
647
656
  MinLength as MinLength6,
648
657
  Matches as Matches6,
649
- IsNotEmpty as IsNotEmpty23
658
+ IsNotEmpty as IsNotEmpty24
650
659
  } from "class-validator";
651
660
  var ClientChangePasswordDto = class {
652
661
  };
@@ -658,7 +667,7 @@ __decorateClass([
658
667
  })
659
668
  ], ClientChangePasswordDto.prototype, "newPassword", 2);
660
669
  __decorateClass([
661
- IsNotEmpty23({ message: "Please enter confirm password." }),
670
+ IsNotEmpty24({ message: "Please enter confirm password." }),
662
671
  Match("newPassword", { message: "Passwords do not match" })
663
672
  ], ClientChangePasswordDto.prototype, "confirmPassword", 2);
664
673
 
@@ -672,23 +681,23 @@ var ASSESSMENT_QUESTION_PATTERN = {
672
681
 
673
682
  // src/modules/question/dto/create-question.dto.ts
674
683
  import {
675
- IsNotEmpty as IsNotEmpty24,
684
+ IsNotEmpty as IsNotEmpty25,
676
685
  IsOptional as IsOptional5,
677
686
  IsBoolean as IsBoolean4
678
687
  } from "class-validator";
679
688
  var CreateQuestionDto = class {
680
689
  };
681
690
  __decorateClass([
682
- IsNotEmpty24({ message: "Please enter unique id." })
691
+ IsNotEmpty25({ message: "Please enter unique id." })
683
692
  ], CreateQuestionDto.prototype, "questionId", 2);
684
693
  __decorateClass([
685
- IsNotEmpty24({ message: "Please enter question." })
694
+ IsNotEmpty25({ message: "Please enter question." })
686
695
  ], CreateQuestionDto.prototype, "question", 2);
687
696
  __decorateClass([
688
- IsNotEmpty24({ message: "Please enter for whom the question is." })
697
+ IsNotEmpty25({ message: "Please enter for whom the question is." })
689
698
  ], CreateQuestionDto.prototype, "questionFor", 2);
690
699
  __decorateClass([
691
- IsNotEmpty24({ message: "Please enter options." })
700
+ IsNotEmpty25({ message: "Please enter options." })
692
701
  ], CreateQuestionDto.prototype, "options", 2);
693
702
  __decorateClass([
694
703
  IsOptional5(),
@@ -719,7 +728,7 @@ var JOB_PATTERN = {
719
728
  // src/modules/job/dto/job-basic-information.dto.ts
720
729
  import {
721
730
  IsString as IsString12,
722
- IsNotEmpty as IsNotEmpty25,
731
+ IsNotEmpty as IsNotEmpty26,
723
732
  IsArray,
724
733
  ArrayNotEmpty,
725
734
  IsNumber,
@@ -743,7 +752,7 @@ var EmploymentType = /* @__PURE__ */ ((EmploymentType2) => {
743
752
  var JobBasicInformationDto = class {
744
753
  };
745
754
  __decorateClass([
746
- IsNotEmpty25({ message: "Please enter job role" }),
755
+ IsNotEmpty26({ message: "Please enter job role" }),
747
756
  IsString12({ message: "Job role must be a string" })
748
757
  ], JobBasicInformationDto.prototype, "jobRole", 2);
749
758
  __decorateClass([
@@ -768,6 +777,18 @@ __decorateClass([
768
777
  )}`
769
778
  })
770
779
  ], JobBasicInformationDto.prototype, "location", 2);
780
+ __decorateClass([
781
+ IsNumber({}, { message: "Country id must be a number" }),
782
+ Type(() => Number)
783
+ ], JobBasicInformationDto.prototype, "countryId", 2);
784
+ __decorateClass([
785
+ IsNumber({}, { message: "State id must be a number" }),
786
+ Type(() => Number)
787
+ ], JobBasicInformationDto.prototype, "stateId", 2);
788
+ __decorateClass([
789
+ IsNumber({}, { message: "City id must be a number" }),
790
+ Type(() => Number)
791
+ ], JobBasicInformationDto.prototype, "cityId", 2);
771
792
  __decorateClass([
772
793
  IsEnum7(EmploymentType, {
773
794
  message: `Type of employment must be one of: ${Object.values(
@@ -775,6 +796,9 @@ __decorateClass([
775
796
  ).join(", ")}`
776
797
  })
777
798
  ], JobBasicInformationDto.prototype, "typeOfEmployment", 2);
799
+ __decorateClass([
800
+ IsString12({ message: "Currency must be a string" })
801
+ ], JobBasicInformationDto.prototype, "currency", 2);
778
802
  __decorateClass([
779
803
  IsNumber({}, { message: "Expected salary (from) must be a number" }),
780
804
  Min(0, { message: "Expected salary (from) cannot be negative" }),
@@ -785,6 +809,14 @@ __decorateClass([
785
809
  Min(0, { message: "Expected salary (to) cannot be negative" }),
786
810
  Type(() => Number)
787
811
  ], JobBasicInformationDto.prototype, "expectedSalaryTo", 2);
812
+ __decorateClass([
813
+ IsNotEmpty26({ message: "Please enter start date" }),
814
+ IsString12({ message: "Start date must be valid" })
815
+ ], JobBasicInformationDto.prototype, "tentativeStartDate", 2);
816
+ __decorateClass([
817
+ IsNotEmpty26({ message: "Please enter end date" }),
818
+ IsString12({ message: "End date must be valid" })
819
+ ], JobBasicInformationDto.prototype, "tentativeEndDate", 2);
788
820
  __decorateClass([
789
821
  IsString12({ message: "Onboarding TAT must be a string" }),
790
822
  IsOptional6()
@@ -805,17 +837,17 @@ __decorateClass([
805
837
  ], JobAdditionalCommentDto.prototype, "additionalComment", 2);
806
838
 
807
839
  // src/modules/job/dto/job-description.dto.ts
808
- import { IsString as IsString14, IsNotEmpty as IsNotEmpty26, MaxLength as MaxLength7 } from "class-validator";
840
+ import { IsString as IsString14, IsNotEmpty as IsNotEmpty27, MaxLength as MaxLength7 } from "class-validator";
809
841
  var JobDescriptionDto = class {
810
842
  };
811
843
  __decorateClass([
812
- IsNotEmpty26({ message: "Please enter job description" }),
844
+ IsNotEmpty27({ message: "Please enter job description" }),
813
845
  IsString14({ message: "Description must be a string" }),
814
846
  MaxLength7(5e3, { message: "Description must not exceed 5000 characters" })
815
847
  ], JobDescriptionDto.prototype, "description", 2);
816
848
 
817
849
  // src/modules/job/dto/job-status.dto.ts
818
- import { IsEnum as IsEnum8, IsNotEmpty as IsNotEmpty27 } from "class-validator";
850
+ import { IsEnum as IsEnum8, IsNotEmpty as IsNotEmpty28 } from "class-validator";
819
851
  var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
820
852
  JobStatus2["ACTIVE"] = "ACTIVE";
821
853
  JobStatus2["OPEN"] = "OPEN";
@@ -827,18 +859,18 @@ var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
827
859
  var JobStatusDto = class {
828
860
  };
829
861
  __decorateClass([
830
- IsNotEmpty27({ message: "Please provide a job status" }),
862
+ IsNotEmpty28({ message: "Please provide a job status" }),
831
863
  IsEnum8(JobStatus, {
832
864
  message: `Status must be one of: ${Object.values(JobStatus).join(", ")}`
833
865
  })
834
866
  ], JobStatusDto.prototype, "status", 2);
835
867
 
836
868
  // src/modules/job/dto/job-id-param.dto.ts
837
- import { IsUUID as IsUUID10 } from "class-validator";
869
+ import { IsUUID as IsUUID11 } from "class-validator";
838
870
  var JobIdParamDto = class {
839
871
  };
840
872
  __decorateClass([
841
- IsUUID10("4", {
873
+ IsUUID11("4", {
842
874
  message: "Invalid job ID. It must be a valid UUID version 4."
843
875
  })
844
876
  ], JobIdParamDto.prototype, "id", 2);
@@ -856,7 +888,7 @@ var PROFILE_PATTERN = {
856
888
  // src/modules/user/freelancer-profile/dto/freelancer-change-password.dto.ts
857
889
  import {
858
890
  IsString as IsString15,
859
- IsNotEmpty as IsNotEmpty28,
891
+ IsNotEmpty as IsNotEmpty29,
860
892
  MaxLength as MaxLength8,
861
893
  MinLength as MinLength7,
862
894
  Matches as Matches7
@@ -864,11 +896,11 @@ import {
864
896
  var FreelancerChangePasswordDto = class {
865
897
  };
866
898
  __decorateClass([
867
- IsNotEmpty28({ message: "Please enter Old Password." }),
899
+ IsNotEmpty29({ message: "Please enter Old Password." }),
868
900
  IsString15()
869
901
  ], FreelancerChangePasswordDto.prototype, "oldPassword", 2);
870
902
  __decorateClass([
871
- IsNotEmpty28({ message: "Please enter New Password." }),
903
+ IsNotEmpty29({ message: "Please enter New Password." }),
872
904
  IsString15(),
873
905
  MinLength7(6),
874
906
  MaxLength8(32),
@@ -960,7 +992,7 @@ var BANK_PATTERN = {
960
992
  // src/modules/bank/dto/freelancer-bank-details.dto.ts
961
993
  import {
962
994
  IsEnum as IsEnum10,
963
- IsNotEmpty as IsNotEmpty29,
995
+ IsNotEmpty as IsNotEmpty30,
964
996
  IsOptional as IsOptional9,
965
997
  ValidateIf as ValidateIf2
966
998
  } from "class-validator";
@@ -972,41 +1004,41 @@ var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
972
1004
  var FreelancerBankDetailsDto = class {
973
1005
  };
974
1006
  __decorateClass([
975
- IsNotEmpty29({ message: "Please enter Account Holder Name." })
1007
+ IsNotEmpty30({ message: "Please enter Account Holder Name." })
976
1008
  ], FreelancerBankDetailsDto.prototype, "name", 2);
977
1009
  __decorateClass([
978
- IsNotEmpty29({ message: "Please enter Mobile Number." })
1010
+ IsNotEmpty30({ message: "Please enter Mobile Number." })
979
1011
  ], FreelancerBankDetailsDto.prototype, "mobile", 2);
980
1012
  __decorateClass([
981
- IsNotEmpty29({ message: "Please enter Email." })
1013
+ IsNotEmpty30({ message: "Please enter Email." })
982
1014
  ], FreelancerBankDetailsDto.prototype, "email", 2);
983
1015
  __decorateClass([
984
1016
  IsOptional9()
985
1017
  ], FreelancerBankDetailsDto.prototype, "address", 2);
986
1018
  __decorateClass([
987
- IsNotEmpty29({ message: "Please enter Account Number." })
1019
+ IsNotEmpty30({ message: "Please enter Account Number." })
988
1020
  ], FreelancerBankDetailsDto.prototype, "accountNumber", 2);
989
1021
  __decorateClass([
990
- IsNotEmpty29({ message: "Please enter Bank Name." })
1022
+ IsNotEmpty30({ message: "Please enter Bank Name." })
991
1023
  ], FreelancerBankDetailsDto.prototype, "bankName", 2);
992
1024
  __decorateClass([
993
- IsNotEmpty29({ message: "Please enter Branch Name." })
1025
+ IsNotEmpty30({ message: "Please enter Branch Name." })
994
1026
  ], FreelancerBankDetailsDto.prototype, "branchName", 2);
995
1027
  __decorateClass([
996
1028
  ValidateIf2((dto) => dto.accountScope === "DOMESTIC"),
997
- IsNotEmpty29({ message: "IFSC Code is required for DOMESTIC accounts." })
1029
+ IsNotEmpty30({ message: "IFSC Code is required for DOMESTIC accounts." })
998
1030
  ], FreelancerBankDetailsDto.prototype, "ifscCode", 2);
999
1031
  __decorateClass([
1000
1032
  ValidateIf2((dto) => dto.accountScope === "INTERNATIONAL"),
1001
- IsNotEmpty29({ message: "Routing Number/Sort Code is required for INTERNATIONAL accounts." })
1033
+ IsNotEmpty30({ message: "Routing Number/Sort Code is required for INTERNATIONAL accounts." })
1002
1034
  ], FreelancerBankDetailsDto.prototype, "routingNo", 2);
1003
1035
  __decorateClass([
1004
1036
  ValidateIf2((dto) => dto.accountScope === "INTERNATIONAL"),
1005
- IsNotEmpty29({ message: "ABA Number is required for INTERNATIONAL accounts." })
1037
+ IsNotEmpty30({ message: "ABA Number is required for INTERNATIONAL accounts." })
1006
1038
  ], FreelancerBankDetailsDto.prototype, "abaNumber", 2);
1007
1039
  __decorateClass([
1008
1040
  ValidateIf2((dto) => dto.accountScope === "INTERNATIONAL"),
1009
- IsNotEmpty29({ message: "IBAN is required for INTERNATIONAL accounts." })
1041
+ IsNotEmpty30({ message: "IBAN is required for INTERNATIONAL accounts." })
1010
1042
  ], FreelancerBankDetailsDto.prototype, "iban", 2);
1011
1043
  __decorateClass([
1012
1044
  IsOptional9()
@@ -1070,7 +1102,7 @@ var RATING_PATTERN = {
1070
1102
  import {
1071
1103
  IsEnum as IsEnum12,
1072
1104
  IsInt,
1073
- IsNotEmpty as IsNotEmpty30,
1105
+ IsNotEmpty as IsNotEmpty31,
1074
1106
  IsOptional as IsOptional10,
1075
1107
  IsString as IsString17,
1076
1108
  Max,
@@ -3230,7 +3262,7 @@ var CreateRatingDto = class {
3230
3262
  };
3231
3263
  __decorateClass([
3232
3264
  IsInt({ message: "Reviewee ID must be a valid integer" }),
3233
- IsNotEmpty30({ message: "Reviewee ID is required" })
3265
+ IsNotEmpty31({ message: "Reviewee ID is required" })
3234
3266
  ], CreateRatingDto.prototype, "revieweeId", 2);
3235
3267
  __decorateClass([
3236
3268
  IsEnum12(RatingTypeEnum, {
@@ -3260,17 +3292,17 @@ var COMPANY_ROLES_PATTERNS = {
3260
3292
  };
3261
3293
 
3262
3294
  // src/modules/company-role/dto/create-company-role.dto.ts
3263
- import { ArrayNotEmpty as ArrayNotEmpty2, IsArray as IsArray2, IsBoolean as IsBoolean6, IsInt as IsInt2, IsNotEmpty as IsNotEmpty31, IsOptional as IsOptional11 } from "class-validator";
3295
+ import { ArrayNotEmpty as ArrayNotEmpty2, IsArray as IsArray2, IsBoolean as IsBoolean6, IsInt as IsInt2, IsNotEmpty as IsNotEmpty32, IsOptional as IsOptional11 } from "class-validator";
3264
3296
  var CreateCompanyRoleDto = class {
3265
3297
  };
3266
3298
  __decorateClass([
3267
- IsNotEmpty31({ message: "Please enter company role name." })
3299
+ IsNotEmpty32({ message: "Please enter company role name." })
3268
3300
  ], CreateCompanyRoleDto.prototype, "name", 2);
3269
3301
  __decorateClass([
3270
- IsNotEmpty31({ message: "Please enter company role slug" })
3302
+ IsNotEmpty32({ message: "Please enter company role slug" })
3271
3303
  ], CreateCompanyRoleDto.prototype, "slug", 2);
3272
3304
  __decorateClass([
3273
- IsNotEmpty31({ message: "Please enter description" })
3305
+ IsNotEmpty32({ message: "Please enter description" })
3274
3306
  ], CreateCompanyRoleDto.prototype, "description", 2);
3275
3307
  __decorateClass([
3276
3308
  IsArray2({ message: "Permission IDs must be an array." }),
@@ -3283,17 +3315,17 @@ __decorateClass([
3283
3315
  ], CreateCompanyRoleDto.prototype, "isActive", 2);
3284
3316
 
3285
3317
  // src/modules/company-role/dto/update-company-role.dto.ts
3286
- import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray3, IsBoolean as IsBoolean7, IsInt as IsInt3, IsNotEmpty as IsNotEmpty32, IsOptional as IsOptional12 } from "class-validator";
3318
+ import { ArrayNotEmpty as ArrayNotEmpty3, IsArray as IsArray3, IsBoolean as IsBoolean7, IsInt as IsInt3, IsNotEmpty as IsNotEmpty33, IsOptional as IsOptional12 } from "class-validator";
3287
3319
  var UpdateCompanyRoleDto = class {
3288
3320
  };
3289
3321
  __decorateClass([
3290
- IsNotEmpty32({ message: "Please enter company name." })
3322
+ IsNotEmpty33({ message: "Please enter company name." })
3291
3323
  ], UpdateCompanyRoleDto.prototype, "name", 2);
3292
3324
  __decorateClass([
3293
- IsNotEmpty32({ message: "Please enter slug" })
3325
+ IsNotEmpty33({ message: "Please enter slug" })
3294
3326
  ], UpdateCompanyRoleDto.prototype, "slug", 2);
3295
3327
  __decorateClass([
3296
- IsNotEmpty32({ message: "Please enter description" })
3328
+ IsNotEmpty33({ message: "Please enter description" })
3297
3329
  ], UpdateCompanyRoleDto.prototype, "description", 2);
3298
3330
  __decorateClass([
3299
3331
  IsArray3({ message: "Permission IDs must be an array." }),
@@ -3322,7 +3354,7 @@ var FREELANCER_EXPERIENCE_PATTERN = {
3322
3354
  // src/modules/user/freelancer-experience/dto/freelancer-experience.dto.ts
3323
3355
  import {
3324
3356
  ArrayMinSize,
3325
- IsNotEmpty as IsNotEmpty33,
3357
+ IsNotEmpty as IsNotEmpty34,
3326
3358
  IsOptional as IsOptional13,
3327
3359
  IsString as IsString20,
3328
3360
  MaxLength as MaxLength10,
@@ -3335,19 +3367,19 @@ __decorateClass([
3335
3367
  IsOptional13()
3336
3368
  ], ExperienceDto.prototype, "uuid", 2);
3337
3369
  __decorateClass([
3338
- IsNotEmpty33(),
3370
+ IsNotEmpty34(),
3339
3371
  IsString20()
3340
3372
  ], ExperienceDto.prototype, "companyName", 2);
3341
3373
  __decorateClass([
3342
- IsNotEmpty33(),
3374
+ IsNotEmpty34(),
3343
3375
  IsString20()
3344
3376
  ], ExperienceDto.prototype, "designation", 2);
3345
3377
  __decorateClass([
3346
- IsNotEmpty33(),
3378
+ IsNotEmpty34(),
3347
3379
  IsString20()
3348
3380
  ], ExperienceDto.prototype, "jobDuration", 2);
3349
3381
  __decorateClass([
3350
- IsNotEmpty33(),
3382
+ IsNotEmpty34(),
3351
3383
  IsString20(),
3352
3384
  MaxLength10(500, { message: "Description must not exceed 500 characters" })
3353
3385
  ], ExperienceDto.prototype, "description", 2);
@@ -3372,14 +3404,14 @@ var COMPANY_MEMBERS_PATTERNS = {
3372
3404
  };
3373
3405
 
3374
3406
  // src/modules/company-member/dto/create-company-member.dto.ts
3375
- import { ArrayNotEmpty as ArrayNotEmpty4, IsArray as IsArray4, IsInt as IsInt4, IsNotEmpty as IsNotEmpty34 } from "class-validator";
3407
+ import { ArrayNotEmpty as ArrayNotEmpty4, IsArray as IsArray4, IsInt as IsInt4, IsNotEmpty as IsNotEmpty35 } from "class-validator";
3376
3408
  var CreateCompanyMemberDto = class {
3377
3409
  };
3378
3410
  __decorateClass([
3379
- IsNotEmpty34({ message: "Please enter name." })
3411
+ IsNotEmpty35({ message: "Please enter name." })
3380
3412
  ], CreateCompanyMemberDto.prototype, "name", 2);
3381
3413
  __decorateClass([
3382
- IsNotEmpty34({ message: "Please enter email" })
3414
+ IsNotEmpty35({ message: "Please enter email" })
3383
3415
  ], CreateCompanyMemberDto.prototype, "email", 2);
3384
3416
  __decorateClass([
3385
3417
  IsArray4({ message: "Role IDs must be an array." }),
@@ -3388,14 +3420,14 @@ __decorateClass([
3388
3420
  ], CreateCompanyMemberDto.prototype, "roleIds", 2);
3389
3421
 
3390
3422
  // src/modules/company-member/dto/update-company-member.dto.ts
3391
- import { ArrayNotEmpty as ArrayNotEmpty5, IsArray as IsArray5, IsInt as IsInt5, IsNotEmpty as IsNotEmpty35 } from "class-validator";
3423
+ import { ArrayNotEmpty as ArrayNotEmpty5, IsArray as IsArray5, IsInt as IsInt5, IsNotEmpty as IsNotEmpty36 } from "class-validator";
3392
3424
  var UpdateCompanyMemberDto = class {
3393
3425
  };
3394
3426
  __decorateClass([
3395
- IsNotEmpty35({ message: "Please enter name." })
3427
+ IsNotEmpty36({ message: "Please enter name." })
3396
3428
  ], UpdateCompanyMemberDto.prototype, "name", 2);
3397
3429
  __decorateClass([
3398
- IsNotEmpty35({ message: "Please enter email" })
3430
+ IsNotEmpty36({ message: "Please enter email" })
3399
3431
  ], UpdateCompanyMemberDto.prototype, "email", 2);
3400
3432
  __decorateClass([
3401
3433
  IsArray5({ message: "Role IDs must be an array." }),
@@ -3418,7 +3450,7 @@ var FREELANCER_EDUCATION_PATTERN = {
3418
3450
  };
3419
3451
 
3420
3452
  // src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
3421
- import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as IsString23, IsNotEmpty as IsNotEmpty36, IsOptional as IsOptional16, ArrayMinSize as ArrayMinSize2 } from "class-validator";
3453
+ import { IsArray as IsArray6, ValidateNested as ValidateNested2, IsString as IsString23, IsNotEmpty as IsNotEmpty37, IsOptional as IsOptional16, ArrayMinSize as ArrayMinSize2 } from "class-validator";
3422
3454
  import { Type as Type3 } from "class-transformer";
3423
3455
  var EducationDto = class {
3424
3456
  };
@@ -3427,15 +3459,15 @@ __decorateClass([
3427
3459
  ], EducationDto.prototype, "uuid", 2);
3428
3460
  __decorateClass([
3429
3461
  IsString23(),
3430
- IsNotEmpty36({ message: "Please Enter Degree " })
3462
+ IsNotEmpty37({ message: "Please Enter Degree " })
3431
3463
  ], EducationDto.prototype, "degree", 2);
3432
3464
  __decorateClass([
3433
3465
  IsString23(),
3434
- IsNotEmpty36({ message: "Please Enter University " })
3466
+ IsNotEmpty37({ message: "Please Enter University " })
3435
3467
  ], EducationDto.prototype, "university", 2);
3436
3468
  __decorateClass([
3437
3469
  IsString23(),
3438
- IsNotEmpty36({ message: "Please Enter Year of Graduation " })
3470
+ IsNotEmpty37({ message: "Please Enter Year of Graduation " })
3439
3471
  ], EducationDto.prototype, "yearOfGraduation", 2);
3440
3472
  var FreelancerEducationDto = class {
3441
3473
  };
@@ -3453,7 +3485,7 @@ var FREELANCER_PROJECT_PATTERN = {
3453
3485
  };
3454
3486
 
3455
3487
  // src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
3456
- import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString24, IsNotEmpty as IsNotEmpty37, IsOptional as IsOptional17, IsDateString, MaxLength as MaxLength12, ArrayMinSize as ArrayMinSize3 } from "class-validator";
3488
+ import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString24, IsNotEmpty as IsNotEmpty38, IsOptional as IsOptional17, IsDateString, MaxLength as MaxLength12, ArrayMinSize as ArrayMinSize3 } from "class-validator";
3457
3489
  import { Type as Type4 } from "class-transformer";
3458
3490
  var ProjectDto = class {
3459
3491
  };
@@ -3462,15 +3494,15 @@ __decorateClass([
3462
3494
  ], ProjectDto.prototype, "uuid", 2);
3463
3495
  __decorateClass([
3464
3496
  IsString24(),
3465
- IsNotEmpty37({ message: "Please Enter Project Name " })
3497
+ IsNotEmpty38({ message: "Please Enter Project Name " })
3466
3498
  ], ProjectDto.prototype, "projectName", 2);
3467
3499
  __decorateClass([
3468
3500
  IsDateString(),
3469
- IsNotEmpty37({ message: "Please Enter Start Date " })
3501
+ IsNotEmpty38({ message: "Please Enter Start Date " })
3470
3502
  ], ProjectDto.prototype, "startDate", 2);
3471
3503
  __decorateClass([
3472
3504
  IsDateString(),
3473
- IsNotEmpty37({ message: "Please Enter End Date " })
3505
+ IsNotEmpty38({ message: "Please Enter End Date " })
3474
3506
  ], ProjectDto.prototype, "endDate", 2);
3475
3507
  __decorateClass([
3476
3508
  IsOptional17(),
@@ -3492,11 +3524,11 @@ __decorateClass([
3492
3524
  ], CaseStudyDto.prototype, "uuid", 2);
3493
3525
  __decorateClass([
3494
3526
  IsString24(),
3495
- IsNotEmpty37({ message: "Please Enter Project Name " })
3527
+ IsNotEmpty38({ message: "Please Enter Project Name " })
3496
3528
  ], CaseStudyDto.prototype, "projectName", 2);
3497
3529
  __decorateClass([
3498
3530
  IsString24(),
3499
- IsNotEmpty37({ message: "Please Enter Case Study Link " })
3531
+ IsNotEmpty38({ message: "Please Enter Case Study Link " })
3500
3532
  ], CaseStudyDto.prototype, "caseStudyLink", 2);
3501
3533
  __decorateClass([
3502
3534
  IsOptional17(),
@@ -3580,7 +3612,7 @@ import {
3580
3612
  IsUrl as IsUrl3,
3581
3613
  Min as Min3,
3582
3614
  MaxLength as MaxLength14,
3583
- IsNotEmpty as IsNotEmpty39,
3615
+ IsNotEmpty as IsNotEmpty40,
3584
3616
  MinLength as MinLength12,
3585
3617
  Matches as Matches8,
3586
3618
  ValidateIf as ValidateIf3
@@ -3614,7 +3646,7 @@ __decorateClass([
3614
3646
  IsString26({ message: "Mobile must be a string (e.g., 1243253534)" })
3615
3647
  ], CreateFreelancerDto.prototype, "mobile", 2);
3616
3648
  __decorateClass([
3617
- IsNotEmpty39({ message: "Please enter password." }),
3649
+ IsNotEmpty40({ message: "Please enter password." }),
3618
3650
  MinLength12(6),
3619
3651
  MaxLength14(32),
3620
3652
  Matches8(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
@@ -3622,7 +3654,7 @@ __decorateClass([
3622
3654
  })
3623
3655
  ], CreateFreelancerDto.prototype, "password", 2);
3624
3656
  __decorateClass([
3625
- IsNotEmpty39({ message: "Please enter confirm password." }),
3657
+ IsNotEmpty40({ message: "Please enter confirm password." }),
3626
3658
  Match("confirmPassword", { message: "Passwords do not match" })
3627
3659
  ], CreateFreelancerDto.prototype, "confirmPassword", 2);
3628
3660
  __decorateClass([
@@ -3654,7 +3686,7 @@ __decorateClass([
3654
3686
  ], CreateFreelancerDto.prototype, "isImmediateJoiner", 2);
3655
3687
  __decorateClass([
3656
3688
  ValidateIf3((o) => o.isImmediateJoiner === false),
3657
- IsNotEmpty39({ message: "Please enter availability to join." })
3689
+ IsNotEmpty40({ message: "Please enter availability to join." })
3658
3690
  ], CreateFreelancerDto.prototype, "availabilityToJoin", 2);
3659
3691
  __decorateClass([
3660
3692
  IsOptional19(),
@@ -3690,7 +3722,7 @@ import {
3690
3722
  MaxLength as MaxLength15,
3691
3723
  MinLength as MinLength13,
3692
3724
  Matches as Matches9,
3693
- IsNotEmpty as IsNotEmpty40,
3725
+ IsNotEmpty as IsNotEmpty41,
3694
3726
  ValidateIf as ValidateIf4
3695
3727
  } from "class-validator";
3696
3728
  import { Type as Type7 } from "class-transformer";
@@ -3767,7 +3799,7 @@ __decorateClass([
3767
3799
  ], UpdateFreelancerDto.prototype, "isImmediateJoiner", 2);
3768
3800
  __decorateClass([
3769
3801
  ValidateIf4((o) => o.isImmediateJoiner === false),
3770
- IsNotEmpty40({ message: "Please enter availability to join." })
3802
+ IsNotEmpty41({ message: "Please enter availability to join." })
3771
3803
  ], UpdateFreelancerDto.prototype, "availabilityToJoin", 2);
3772
3804
  __decorateClass([
3773
3805
  IsOptional20(),
@@ -3805,7 +3837,7 @@ var CLIENT_ADMIN_PATTERNS = {
3805
3837
 
3806
3838
  // src/modules/client-admin/dto/create-client.dto.ts
3807
3839
  import {
3808
- IsNotEmpty as IsNotEmpty41,
3840
+ IsNotEmpty as IsNotEmpty42,
3809
3841
  IsEmail as IsEmail13,
3810
3842
  IsOptional as IsOptional21,
3811
3843
  IsString as IsString28,
@@ -3830,19 +3862,19 @@ var CreateClientHiringTypeEnum = /* @__PURE__ */ ((CreateClientHiringTypeEnum2)
3830
3862
  var CreateClientDto = class {
3831
3863
  };
3832
3864
  __decorateClass([
3833
- IsNotEmpty41({ message: "Please enter first name." }),
3865
+ IsNotEmpty42({ message: "Please enter first name." }),
3834
3866
  IsString28()
3835
3867
  ], CreateClientDto.prototype, "firstName", 2);
3836
3868
  __decorateClass([
3837
- IsNotEmpty41({ message: "Please enter last name." }),
3869
+ IsNotEmpty42({ message: "Please enter last name." }),
3838
3870
  IsString28()
3839
3871
  ], CreateClientDto.prototype, "lastName", 2);
3840
3872
  __decorateClass([
3841
- IsNotEmpty41({ message: "Please enter email." }),
3873
+ IsNotEmpty42({ message: "Please enter email." }),
3842
3874
  IsEmail13()
3843
3875
  ], CreateClientDto.prototype, "email", 2);
3844
3876
  __decorateClass([
3845
- IsNotEmpty41({ message: "Please enter password." }),
3877
+ IsNotEmpty42({ message: "Please enter password." }),
3846
3878
  MinLength14(6),
3847
3879
  MaxLength16(32),
3848
3880
  Matches10(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
@@ -3850,31 +3882,31 @@ __decorateClass([
3850
3882
  })
3851
3883
  ], CreateClientDto.prototype, "password", 2);
3852
3884
  __decorateClass([
3853
- IsNotEmpty41({ message: "Please enter confirm password." }),
3885
+ IsNotEmpty42({ message: "Please enter confirm password." }),
3854
3886
  Match("confirmPassword", { message: "Passwords do not match" })
3855
3887
  ], CreateClientDto.prototype, "confirmPassword", 2);
3856
3888
  __decorateClass([
3857
- IsNotEmpty41({ message: "Please enter company name." }),
3889
+ IsNotEmpty42({ message: "Please enter company name." }),
3858
3890
  IsString28()
3859
3891
  ], CreateClientDto.prototype, "companyName", 2);
3860
3892
  __decorateClass([
3861
3893
  IsArray9({ message: "Skills should be an array." }),
3862
- IsNotEmpty41({ message: "Please enter skills." })
3894
+ IsNotEmpty42({ message: "Please enter skills." })
3863
3895
  ], CreateClientDto.prototype, "skills", 2);
3864
3896
  __decorateClass([
3865
- IsNotEmpty41({ message: "Please specify required freelancer count." }),
3897
+ IsNotEmpty42({ message: "Please specify required freelancer count." }),
3866
3898
  IsString28()
3867
3899
  ], CreateClientDto.prototype, "requiredFreelancer", 2);
3868
3900
  __decorateClass([
3869
- IsNotEmpty41({ message: "Please specify the kind of hiring." }),
3901
+ IsNotEmpty42({ message: "Please specify the kind of hiring." }),
3870
3902
  IsEnum15(CreateClientHiringTypeEnum)
3871
3903
  ], CreateClientDto.prototype, "kindOfHiring", 2);
3872
3904
  __decorateClass([
3873
- IsNotEmpty41({ message: "Please specify the mode of hire." }),
3905
+ IsNotEmpty42({ message: "Please specify the mode of hire." }),
3874
3906
  IsEnum15(CreateClientHiringModeEnum)
3875
3907
  ], CreateClientDto.prototype, "modeOfHire", 2);
3876
3908
  __decorateClass([
3877
- IsNotEmpty41({ message: "Please let us know how you found us." }),
3909
+ IsNotEmpty42({ message: "Please let us know how you found us." }),
3878
3910
  IsString28()
3879
3911
  ], CreateClientDto.prototype, "foundUsOn", 2);
3880
3912
  __decorateClass([
@@ -3887,17 +3919,17 @@ __decorateClass([
3887
3919
  ], CreateClientDto.prototype, "foundUsOnDetail", 2);
3888
3920
 
3889
3921
  // src/modules/client-admin/dto/update-client-status.dto.ts
3890
- import { IsString as IsString29, IsNotEmpty as IsNotEmpty42 } from "class-validator";
3922
+ import { IsString as IsString29, IsNotEmpty as IsNotEmpty43 } from "class-validator";
3891
3923
  var UpdateClientAccountStatusDto = class {
3892
3924
  };
3893
3925
  __decorateClass([
3894
- IsNotEmpty42({ message: "Please enter account status." }),
3926
+ IsNotEmpty43({ message: "Please enter account status." }),
3895
3927
  IsString29()
3896
3928
  ], UpdateClientAccountStatusDto.prototype, "accountStatus", 2);
3897
3929
 
3898
3930
  // src/modules/client-admin/dto/update-client.dto.ts
3899
3931
  import {
3900
- IsNotEmpty as IsNotEmpty43,
3932
+ IsNotEmpty as IsNotEmpty44,
3901
3933
  IsEmail as IsEmail14,
3902
3934
  IsOptional as IsOptional22,
3903
3935
  IsString as IsString30,
@@ -3922,15 +3954,15 @@ var UpdateClientHiringTypeEnum = /* @__PURE__ */ ((UpdateClientHiringTypeEnum2)
3922
3954
  var UpdateClientDto = class {
3923
3955
  };
3924
3956
  __decorateClass([
3925
- IsNotEmpty43({ message: "Please enter first name." }),
3957
+ IsNotEmpty44({ message: "Please enter first name." }),
3926
3958
  IsString30()
3927
3959
  ], UpdateClientDto.prototype, "firstName", 2);
3928
3960
  __decorateClass([
3929
- IsNotEmpty43({ message: "Please enter last name." }),
3961
+ IsNotEmpty44({ message: "Please enter last name." }),
3930
3962
  IsString30()
3931
3963
  ], UpdateClientDto.prototype, "lastName", 2);
3932
3964
  __decorateClass([
3933
- IsNotEmpty43({ message: "Please enter email." }),
3965
+ IsNotEmpty44({ message: "Please enter email." }),
3934
3966
  IsEmail14()
3935
3967
  ], UpdateClientDto.prototype, "email", 2);
3936
3968
  __decorateClass([
@@ -3942,27 +3974,27 @@ __decorateClass([
3942
3974
  })
3943
3975
  ], UpdateClientDto.prototype, "password", 2);
3944
3976
  __decorateClass([
3945
- IsNotEmpty43({ message: "Please enter company name." }),
3977
+ IsNotEmpty44({ message: "Please enter company name." }),
3946
3978
  IsString30()
3947
3979
  ], UpdateClientDto.prototype, "companyName", 2);
3948
3980
  __decorateClass([
3949
3981
  IsArray10({ message: "Skills should be an array." }),
3950
- IsNotEmpty43({ message: "Please enter skills." })
3982
+ IsNotEmpty44({ message: "Please enter skills." })
3951
3983
  ], UpdateClientDto.prototype, "skills", 2);
3952
3984
  __decorateClass([
3953
- IsNotEmpty43({ message: "Please specify required freelancer count." }),
3985
+ IsNotEmpty44({ message: "Please specify required freelancer count." }),
3954
3986
  IsString30()
3955
3987
  ], UpdateClientDto.prototype, "requiredFreelancer", 2);
3956
3988
  __decorateClass([
3957
- IsNotEmpty43({ message: "Please specify the kind of hiring." }),
3989
+ IsNotEmpty44({ message: "Please specify the kind of hiring." }),
3958
3990
  IsEnum16(UpdateClientHiringTypeEnum)
3959
3991
  ], UpdateClientDto.prototype, "kindOfHiring", 2);
3960
3992
  __decorateClass([
3961
- IsNotEmpty43({ message: "Please specify the mode of hire." }),
3993
+ IsNotEmpty44({ message: "Please specify the mode of hire." }),
3962
3994
  IsEnum16(UpdateClientHiringModeEnum)
3963
3995
  ], UpdateClientDto.prototype, "modeOfHire", 2);
3964
3996
  __decorateClass([
3965
- IsNotEmpty43({ message: "Please let us know how you found us." }),
3997
+ IsNotEmpty44({ message: "Please let us know how you found us." }),
3966
3998
  IsString30()
3967
3999
  ], UpdateClientDto.prototype, "foundUsOn", 2);
3968
4000
  __decorateClass([
@@ -3981,7 +4013,7 @@ var FREELANCER_DECLARATION_PATTERN = {
3981
4013
  };
3982
4014
 
3983
4015
  // src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
3984
- import { IsOptional as IsOptional23, IsEnum as IsEnum17, IsString as IsString31, IsNotEmpty as IsNotEmpty44, IsIn as IsIn3 } from "class-validator";
4016
+ import { IsOptional as IsOptional23, IsEnum as IsEnum17, IsString as IsString31, IsNotEmpty as IsNotEmpty45, IsIn as IsIn3 } from "class-validator";
3985
4017
  var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
3986
4018
  DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
3987
4019
  DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
@@ -3999,7 +4031,7 @@ __decorateClass([
3999
4031
  IsEnum17(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
4000
4032
  ], FreelancerDeclarationDto.prototype, "documentType", 2);
4001
4033
  __decorateClass([
4002
- IsNotEmpty44({ message: "Please accept the declaration " }),
4034
+ IsNotEmpty45({ message: "Please accept the declaration " }),
4003
4035
  IsString31(),
4004
4036
  IsIn3([
4005
4037
  "true"
@@ -4016,11 +4048,11 @@ var CMS_PATTERNS = {
4016
4048
  };
4017
4049
 
4018
4050
  // src/modules/cms/dto/create-cms.dto.ts
4019
- import { IsBoolean as IsBoolean14, IsNotEmpty as IsNotEmpty45, IsOptional as IsOptional24 } from "class-validator";
4051
+ import { IsBoolean as IsBoolean14, IsNotEmpty as IsNotEmpty46, IsOptional as IsOptional24 } from "class-validator";
4020
4052
  var CreateCmsDto = class {
4021
4053
  };
4022
4054
  __decorateClass([
4023
- IsNotEmpty45({ message: "Please enter name." })
4055
+ IsNotEmpty46({ message: "Please enter name." })
4024
4056
  ], CreateCmsDto.prototype, "title", 2);
4025
4057
  __decorateClass([
4026
4058
  IsOptional24()
@@ -4031,14 +4063,14 @@ __decorateClass([
4031
4063
  ], CreateCmsDto.prototype, "isActive", 2);
4032
4064
 
4033
4065
  // src/modules/cms/dto/update-cms.dto.ts
4034
- import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty46, IsOptional as IsOptional25 } from "class-validator";
4066
+ import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty47, IsOptional as IsOptional25 } from "class-validator";
4035
4067
  var UpdateCmsDto = class {
4036
4068
  };
4037
4069
  __decorateClass([
4038
4070
  IsOptional25()
4039
4071
  ], UpdateCmsDto.prototype, "uuid", 2);
4040
4072
  __decorateClass([
4041
- IsNotEmpty46({ message: "Please enter name." })
4073
+ IsNotEmpty47({ message: "Please enter name." })
4042
4074
  ], UpdateCmsDto.prototype, "title", 2);
4043
4075
  __decorateClass([
4044
4076
  IsOptional25()
@@ -4079,7 +4111,7 @@ import {
4079
4111
  IsOptional as IsOptional26,
4080
4112
  IsArray as IsArray11,
4081
4113
  IsDateString as IsDateString4,
4082
- IsNotEmpty as IsNotEmpty47,
4114
+ IsNotEmpty as IsNotEmpty48,
4083
4115
  ArrayNotEmpty as ArrayNotEmpty6,
4084
4116
  Min as Min5,
4085
4117
  IsNumber as IsNumber5
@@ -4100,7 +4132,7 @@ var AdminCreateJobInformationDto = class {
4100
4132
  };
4101
4133
  __decorateClass([
4102
4134
  IsString32({ message: "Job role must be a string." }),
4103
- IsNotEmpty47({ message: "Job role is required." })
4135
+ IsNotEmpty48({ message: "Job role is required." })
4104
4136
  ], AdminCreateJobInformationDto.prototype, "jobRole", 2);
4105
4137
  __decorateClass([
4106
4138
  IsOptional26(),
@@ -4128,15 +4160,15 @@ __decorateClass([
4128
4160
  ], AdminCreateJobInformationDto.prototype, "typeOfEmployment", 2);
4129
4161
  __decorateClass([
4130
4162
  IsString32({ message: "Onboarding Days must be a string." }),
4131
- IsNotEmpty47({ message: "Onboarding Days is required." })
4163
+ IsNotEmpty48({ message: "Onboarding Days is required." })
4132
4164
  ], AdminCreateJobInformationDto.prototype, "onboardingTat", 2);
4133
4165
  __decorateClass([
4134
4166
  IsString32({ message: "Communication skills must be a string." }),
4135
- IsNotEmpty47({ message: "Communication skills are required." })
4167
+ IsNotEmpty48({ message: "Communication skills are required." })
4136
4168
  ], AdminCreateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
4137
4169
  __decorateClass([
4138
4170
  IsString32({ message: "Currency must be a string." }),
4139
- IsNotEmpty47({ message: "Currency is required." })
4171
+ IsNotEmpty48({ message: "Currency is required." })
4140
4172
  ], AdminCreateJobInformationDto.prototype, "currency", 2);
4141
4173
  __decorateClass([
4142
4174
  Type8(() => Number),
@@ -4178,7 +4210,7 @@ import {
4178
4210
  IsOptional as IsOptional27,
4179
4211
  IsArray as IsArray12,
4180
4212
  IsDateString as IsDateString5,
4181
- IsNotEmpty as IsNotEmpty48,
4213
+ IsNotEmpty as IsNotEmpty49,
4182
4214
  ArrayNotEmpty as ArrayNotEmpty7,
4183
4215
  Min as Min6,
4184
4216
  IsNumber as IsNumber6
@@ -4199,7 +4231,7 @@ var AdminUpdateJobInformationDto = class {
4199
4231
  };
4200
4232
  __decorateClass([
4201
4233
  IsString33({ message: "Job role must be a string." }),
4202
- IsNotEmpty48({ message: "Job role is required." })
4234
+ IsNotEmpty49({ message: "Job role is required." })
4203
4235
  ], AdminUpdateJobInformationDto.prototype, "jobRole", 2);
4204
4236
  __decorateClass([
4205
4237
  IsOptional27(),
@@ -4227,15 +4259,15 @@ __decorateClass([
4227
4259
  ], AdminUpdateJobInformationDto.prototype, "typeOfEmployment", 2);
4228
4260
  __decorateClass([
4229
4261
  IsString33({ message: "Onboarding Days must be a string." }),
4230
- IsNotEmpty48({ message: "Onboarding Days is required." })
4262
+ IsNotEmpty49({ message: "Onboarding Days is required." })
4231
4263
  ], AdminUpdateJobInformationDto.prototype, "onboardingTat", 2);
4232
4264
  __decorateClass([
4233
4265
  IsString33({ message: "Communication skills must be a string." }),
4234
- IsNotEmpty48({ message: "Communication skills are required." })
4266
+ IsNotEmpty49({ message: "Communication skills are required." })
4235
4267
  ], AdminUpdateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
4236
4268
  __decorateClass([
4237
4269
  IsString33({ message: "Currency must be a string." }),
4238
- IsNotEmpty48({ message: "Currency is required." })
4270
+ IsNotEmpty49({ message: "Currency is required." })
4239
4271
  ], AdminUpdateJobInformationDto.prototype, "currency", 2);
4240
4272
  __decorateClass([
4241
4273
  Type9(() => Number),
@@ -4763,6 +4795,7 @@ export {
4763
4795
  FreelancerExperienceDto,
4764
4796
  FreelancerFramework,
4765
4797
  FreelancerInitiateAiAssessmentDto,
4798
+ FreelancerInitiateMcqAssessmentDto,
4766
4799
  FreelancerParseResumeDto,
4767
4800
  FreelancerProfile,
4768
4801
  FreelancerProfileQuestionDto,