@experts_hub/shared 1.0.359 → 1.0.360
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 +15 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.js +669 -636
- package/dist/index.mjs +508 -478
- package/dist/modules/otp/dto/index.d.ts +1 -0
- package/dist/modules/otp/dto/send-login-otp.dto.d.ts +12 -0
- package/dist/modules/otp/pattern/pattern.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -225,6 +225,9 @@ __export(index_exports, {
|
|
|
225
225
|
SendGuestOtpDto: () => SendGuestOtpDto,
|
|
226
226
|
SendGuestOtpPurposeEnum: () => SendGuestOtpPurposeEnum,
|
|
227
227
|
SendGuestOtpScopeEnum: () => SendGuestOtpScopeEnum,
|
|
228
|
+
SendLoginOtpDto: () => SendLoginOtpDto,
|
|
229
|
+
SendLoginOtpPurposeEnum: () => SendLoginOtpPurposeEnum,
|
|
230
|
+
SendLoginOtpScopeEnum: () => SendLoginOtpScopeEnum,
|
|
228
231
|
SenseloafLog: () => SenseloafLog,
|
|
229
232
|
SequenceGenerator: () => SequenceGenerator,
|
|
230
233
|
SetPasswordDto: () => SetPasswordDto,
|
|
@@ -425,6 +428,7 @@ __decorateClass([
|
|
|
425
428
|
var OTP_PATTERN = {
|
|
426
429
|
handleSendGuestOtp: "handle.send.guest.otp",
|
|
427
430
|
handleSendOtp: "handle.send.otp",
|
|
431
|
+
handleSendOtpForLogin: "handle.send.otp.for.login",
|
|
428
432
|
handleVerifyGuestOtp: "handle.verify.guest.otp",
|
|
429
433
|
handleVerifyOtp: "handle.verify.otp"
|
|
430
434
|
};
|
|
@@ -463,8 +467,34 @@ __decorateClass([
|
|
|
463
467
|
(0, import_class_validator9.IsEnum)(SendGuestOtpScopeEnum, { message: "scope must be a valid" })
|
|
464
468
|
], SendGuestOtpDto.prototype, "scope", 2);
|
|
465
469
|
|
|
466
|
-
// src/modules/otp/dto/
|
|
470
|
+
// src/modules/otp/dto/send-login-otp.dto.ts
|
|
467
471
|
var import_class_validator10 = require("class-validator");
|
|
472
|
+
var SendLoginOtpPurposeEnum = /* @__PURE__ */ ((SendLoginOtpPurposeEnum2) => {
|
|
473
|
+
SendLoginOtpPurposeEnum2["ACCOUNT_VERIFICATION"] = "ACCOUNT_VERIFICATION";
|
|
474
|
+
return SendLoginOtpPurposeEnum2;
|
|
475
|
+
})(SendLoginOtpPurposeEnum || {});
|
|
476
|
+
var SendLoginOtpScopeEnum = /* @__PURE__ */ ((SendLoginOtpScopeEnum2) => {
|
|
477
|
+
SendLoginOtpScopeEnum2["CLIENT"] = "CLIENT";
|
|
478
|
+
SendLoginOtpScopeEnum2["FREELANCER"] = "FREELANCER";
|
|
479
|
+
return SendLoginOtpScopeEnum2;
|
|
480
|
+
})(SendLoginOtpScopeEnum || {});
|
|
481
|
+
var SendLoginOtpDto = class {
|
|
482
|
+
};
|
|
483
|
+
__decorateClass([
|
|
484
|
+
(0, import_class_validator10.IsNotEmpty)({ message: "Please enter target." }),
|
|
485
|
+
(0, import_class_validator10.IsString)({ message: "Please enter valid target." })
|
|
486
|
+
], SendLoginOtpDto.prototype, "target", 2);
|
|
487
|
+
__decorateClass([
|
|
488
|
+
(0, import_class_validator10.IsNotEmpty)({ message: "Please enter OTP purpose." }),
|
|
489
|
+
(0, import_class_validator10.IsEnum)(SendLoginOtpPurposeEnum, { message: "Purpose must be a valid OTP purpose" })
|
|
490
|
+
], SendLoginOtpDto.prototype, "purpose", 2);
|
|
491
|
+
__decorateClass([
|
|
492
|
+
(0, import_class_validator10.IsNotEmpty)({ message: "Please enter scope." }),
|
|
493
|
+
(0, import_class_validator10.IsEnum)(SendLoginOtpScopeEnum, { message: "scope must be a valid" })
|
|
494
|
+
], SendLoginOtpDto.prototype, "scope", 2);
|
|
495
|
+
|
|
496
|
+
// src/modules/otp/dto/verify-guest-otp.dto.ts
|
|
497
|
+
var import_class_validator11 = require("class-validator");
|
|
468
498
|
var VerifyGuestOtpPurposeEnum = /* @__PURE__ */ ((VerifyGuestOtpPurposeEnum2) => {
|
|
469
499
|
VerifyGuestOtpPurposeEnum2["ACCOUNT_VERIFICATION"] = "ACCOUNT_VERIFICATION";
|
|
470
500
|
return VerifyGuestOtpPurposeEnum2;
|
|
@@ -472,17 +502,17 @@ var VerifyGuestOtpPurposeEnum = /* @__PURE__ */ ((VerifyGuestOtpPurposeEnum2) =>
|
|
|
472
502
|
var VerifyGuestOtpDto = class {
|
|
473
503
|
};
|
|
474
504
|
__decorateClass([
|
|
475
|
-
(0,
|
|
476
|
-
(0,
|
|
505
|
+
(0, import_class_validator11.IsNotEmpty)({ message: "Please enter target." }),
|
|
506
|
+
(0, import_class_validator11.IsString)({ message: "Please enter valid target." })
|
|
477
507
|
], VerifyGuestOtpDto.prototype, "target", 2);
|
|
478
508
|
__decorateClass([
|
|
479
|
-
(0,
|
|
480
|
-
(0,
|
|
481
|
-
(0,
|
|
509
|
+
(0, import_class_validator11.IsNotEmpty)({ message: "Please enter otp." }),
|
|
510
|
+
(0, import_class_validator11.IsString)({ message: "Please enter valid otp." }),
|
|
511
|
+
(0, import_class_validator11.Length)(4, 6, { message: "OTP must be between 4 and 6 characters" })
|
|
482
512
|
], VerifyGuestOtpDto.prototype, "otp", 2);
|
|
483
513
|
__decorateClass([
|
|
484
|
-
(0,
|
|
485
|
-
(0,
|
|
514
|
+
(0, import_class_validator11.IsNotEmpty)({ message: "Please enter OTP purpose." }),
|
|
515
|
+
(0, import_class_validator11.IsEnum)(VerifyGuestOtpPurposeEnum, {
|
|
486
516
|
message: "Purpose must be a valid OTP purpose"
|
|
487
517
|
})
|
|
488
518
|
], VerifyGuestOtpDto.prototype, "purpose", 2);
|
|
@@ -500,13 +530,13 @@ var ONBOARDING_PATTERN = {
|
|
|
500
530
|
};
|
|
501
531
|
|
|
502
532
|
// src/modules/onboarding/dto/freelancer-create-account.dto.ts
|
|
503
|
-
var
|
|
533
|
+
var import_class_validator15 = require("class-validator");
|
|
504
534
|
|
|
505
535
|
// src/decorators/match.decorator.ts
|
|
506
|
-
var
|
|
536
|
+
var import_class_validator12 = require("class-validator");
|
|
507
537
|
function Match(property, validationOptions) {
|
|
508
538
|
return function(object, propertyName) {
|
|
509
|
-
(0,
|
|
539
|
+
(0, import_class_validator12.registerDecorator)({
|
|
510
540
|
name: "Match",
|
|
511
541
|
target: object.constructor,
|
|
512
542
|
propertyName,
|
|
@@ -542,11 +572,11 @@ var IfscOrOtherFieldsConstraint = class {
|
|
|
542
572
|
}
|
|
543
573
|
};
|
|
544
574
|
IfscOrOtherFieldsConstraint = __decorateClass([
|
|
545
|
-
(0,
|
|
575
|
+
(0, import_class_validator12.ValidatorConstraint)({ async: false })
|
|
546
576
|
], IfscOrOtherFieldsConstraint);
|
|
547
577
|
|
|
548
578
|
// src/decorators/is-valid-mobile-number.decorator.ts
|
|
549
|
-
var
|
|
579
|
+
var import_class_validator13 = require("class-validator");
|
|
550
580
|
var import_libphonenumber_js = require("libphonenumber-js");
|
|
551
581
|
var IsValidMobileNumberConstraint = class {
|
|
552
582
|
validate(mobile, args) {
|
|
@@ -565,11 +595,11 @@ var IsValidMobileNumberConstraint = class {
|
|
|
565
595
|
}
|
|
566
596
|
};
|
|
567
597
|
IsValidMobileNumberConstraint = __decorateClass([
|
|
568
|
-
(0,
|
|
598
|
+
(0, import_class_validator13.ValidatorConstraint)({ name: "isValidMobileNumber", async: false })
|
|
569
599
|
], IsValidMobileNumberConstraint);
|
|
570
600
|
function IsValidMobileNumber(validationOptions) {
|
|
571
601
|
return function(object, propertyName) {
|
|
572
|
-
(0,
|
|
602
|
+
(0, import_class_validator13.registerDecorator)({
|
|
573
603
|
name: "isValidMobileNumber",
|
|
574
604
|
target: object.constructor,
|
|
575
605
|
propertyName,
|
|
@@ -580,7 +610,7 @@ function IsValidMobileNumber(validationOptions) {
|
|
|
580
610
|
}
|
|
581
611
|
|
|
582
612
|
// src/decorators/is-business-email.decorator.ts
|
|
583
|
-
var
|
|
613
|
+
var import_class_validator14 = require("class-validator");
|
|
584
614
|
var IsBusinessEmailConstraint = class {
|
|
585
615
|
constructor() {
|
|
586
616
|
this.blockedDomains = [
|
|
@@ -648,11 +678,11 @@ var IsBusinessEmailConstraint = class {
|
|
|
648
678
|
}
|
|
649
679
|
};
|
|
650
680
|
IsBusinessEmailConstraint = __decorateClass([
|
|
651
|
-
(0,
|
|
681
|
+
(0, import_class_validator14.ValidatorConstraint)({ async: false })
|
|
652
682
|
], IsBusinessEmailConstraint);
|
|
653
683
|
function IsBusinessEmail(validationOptions) {
|
|
654
684
|
return function(object, propertyName) {
|
|
655
|
-
(0,
|
|
685
|
+
(0, import_class_validator14.registerDecorator)({
|
|
656
686
|
target: object.constructor,
|
|
657
687
|
propertyName,
|
|
658
688
|
options: validationOptions,
|
|
@@ -666,115 +696,115 @@ function IsBusinessEmail(validationOptions) {
|
|
|
666
696
|
var FreelancerCreateAccountDto = class {
|
|
667
697
|
};
|
|
668
698
|
__decorateClass([
|
|
669
|
-
(0,
|
|
670
|
-
(0,
|
|
699
|
+
(0, import_class_validator15.IsNotEmpty)({ message: "Please enter full name." }),
|
|
700
|
+
(0, import_class_validator15.IsString)({ message: "Please enter valid full name." })
|
|
671
701
|
], FreelancerCreateAccountDto.prototype, "fullName", 2);
|
|
672
702
|
__decorateClass([
|
|
673
|
-
(0,
|
|
674
|
-
(0,
|
|
703
|
+
(0, import_class_validator15.IsNotEmpty)({ message: "Please enter email." }),
|
|
704
|
+
(0, import_class_validator15.IsEmail)()
|
|
675
705
|
], FreelancerCreateAccountDto.prototype, "email", 2);
|
|
676
706
|
__decorateClass([
|
|
677
|
-
(0,
|
|
678
|
-
(0,
|
|
707
|
+
(0, import_class_validator15.IsNotEmpty)({ message: "Please enter mobile code." }),
|
|
708
|
+
(0, import_class_validator15.Matches)(/^\+\d{1,4}$/, {
|
|
679
709
|
message: "Please enter a valid country mobile code (e.g., +91, +1, +44)."
|
|
680
710
|
})
|
|
681
711
|
], FreelancerCreateAccountDto.prototype, "mobileCode", 2);
|
|
682
712
|
__decorateClass([
|
|
683
|
-
(0,
|
|
713
|
+
(0, import_class_validator15.IsNotEmpty)({ message: "Please enter mobile number." }),
|
|
684
714
|
IsValidMobileNumber({ message: "Mobile number is not valid for the selected country code." })
|
|
685
715
|
], FreelancerCreateAccountDto.prototype, "mobile", 2);
|
|
686
716
|
__decorateClass([
|
|
687
|
-
(0,
|
|
717
|
+
(0, import_class_validator15.IsOptional)()
|
|
688
718
|
], FreelancerCreateAccountDto.prototype, "onBoardedBy", 2);
|
|
689
719
|
|
|
690
720
|
// src/modules/onboarding/dto/freelancer-upload-resume.dto.ts
|
|
691
|
-
var
|
|
721
|
+
var import_class_validator16 = require("class-validator");
|
|
692
722
|
var FreelancerUploadResumeDto = class {
|
|
693
723
|
};
|
|
694
724
|
__decorateClass([
|
|
695
|
-
(0,
|
|
696
|
-
(0,
|
|
725
|
+
(0, import_class_validator16.IsNotEmpty)({ message: "Please enter uuid." }),
|
|
726
|
+
(0, import_class_validator16.IsUUID)()
|
|
697
727
|
], FreelancerUploadResumeDto.prototype, "uuid", 2);
|
|
698
728
|
|
|
699
729
|
// src/modules/onboarding/dto/freelancer-parse-resume.dto.ts
|
|
700
|
-
var
|
|
730
|
+
var import_class_validator17 = require("class-validator");
|
|
701
731
|
var FreelancerParseResumeDto = class {
|
|
702
732
|
};
|
|
703
733
|
__decorateClass([
|
|
704
|
-
(0,
|
|
705
|
-
(0,
|
|
734
|
+
(0, import_class_validator17.IsNotEmpty)({ message: "Please enter uuid." }),
|
|
735
|
+
(0, import_class_validator17.IsUUID)()
|
|
706
736
|
], FreelancerParseResumeDto.prototype, "uuid", 2);
|
|
707
737
|
|
|
708
738
|
// src/modules/onboarding/dto/freelancer-initiate-mcq-assessment.dto.ts
|
|
709
|
-
var
|
|
739
|
+
var import_class_validator18 = require("class-validator");
|
|
710
740
|
var FreelancerInitiateMcqAssessmentDto = class {
|
|
711
741
|
};
|
|
712
742
|
__decorateClass([
|
|
713
|
-
(0,
|
|
714
|
-
(0,
|
|
743
|
+
(0, import_class_validator18.IsNotEmpty)({ message: "Please enter uuid." }),
|
|
744
|
+
(0, import_class_validator18.IsUUID)()
|
|
715
745
|
], FreelancerInitiateMcqAssessmentDto.prototype, "uuid", 2);
|
|
716
746
|
|
|
717
747
|
// src/modules/onboarding/dto/freelancer-skip-ai-assessment.dto.ts
|
|
718
|
-
var
|
|
748
|
+
var import_class_validator19 = require("class-validator");
|
|
719
749
|
var FreelancerSkipAiAssessmentDto = class {
|
|
720
750
|
};
|
|
721
751
|
__decorateClass([
|
|
722
|
-
(0,
|
|
723
|
-
(0,
|
|
752
|
+
(0, import_class_validator19.IsNotEmpty)({ message: "Please enter uuid." }),
|
|
753
|
+
(0, import_class_validator19.IsUUID)()
|
|
724
754
|
], FreelancerSkipAiAssessmentDto.prototype, "uuid", 2);
|
|
725
755
|
|
|
726
756
|
// src/modules/onboarding/dto/freelancer-initiate-ai-assessment.dto.ts
|
|
727
|
-
var
|
|
757
|
+
var import_class_validator20 = require("class-validator");
|
|
728
758
|
var FreelancerInitiateAiAssessmentDto = class {
|
|
729
759
|
};
|
|
730
760
|
__decorateClass([
|
|
731
|
-
(0,
|
|
732
|
-
(0,
|
|
761
|
+
(0, import_class_validator20.IsNotEmpty)({ message: "Please enter uuid." }),
|
|
762
|
+
(0, import_class_validator20.IsUUID)()
|
|
733
763
|
], FreelancerInitiateAiAssessmentDto.prototype, "uuid", 2);
|
|
734
764
|
|
|
735
765
|
// src/modules/onboarding/dto/freelancer-capture-ai-assessment-status.dto.ts
|
|
736
|
-
var
|
|
766
|
+
var import_class_validator21 = require("class-validator");
|
|
737
767
|
var FreelancerCaptureAiAssessmentStatusDto = class {
|
|
738
768
|
};
|
|
739
769
|
__decorateClass([
|
|
740
|
-
(0,
|
|
741
|
-
(0,
|
|
770
|
+
(0, import_class_validator21.IsNotEmpty)({ message: "Please enter uuid." }),
|
|
771
|
+
(0, import_class_validator21.IsUUID)()
|
|
742
772
|
], FreelancerCaptureAiAssessmentStatusDto.prototype, "uuid", 2);
|
|
743
773
|
__decorateClass([
|
|
744
|
-
(0,
|
|
774
|
+
(0, import_class_validator21.IsNotEmpty)({ message: "Please enter assessment id." })
|
|
745
775
|
], FreelancerCaptureAiAssessmentStatusDto.prototype, "assessmentId", 2);
|
|
746
776
|
__decorateClass([
|
|
747
|
-
(0,
|
|
777
|
+
(0, import_class_validator21.IsNotEmpty)({ message: "Please enter assessment status." })
|
|
748
778
|
], FreelancerCaptureAiAssessmentStatusDto.prototype, "assessmentStatus", 2);
|
|
749
779
|
__decorateClass([
|
|
750
|
-
(0,
|
|
780
|
+
(0, import_class_validator21.IsOptional)()
|
|
751
781
|
], FreelancerCaptureAiAssessmentStatusDto.prototype, "iframeEventData", 2);
|
|
752
782
|
|
|
753
783
|
// src/modules/onboarding/dto/freelancer-development-preference.dto.ts
|
|
754
|
-
var
|
|
784
|
+
var import_class_validator22 = require("class-validator");
|
|
755
785
|
var FreelancerDevelopmentPreferenceDto = class {
|
|
756
786
|
};
|
|
757
787
|
__decorateClass([
|
|
758
|
-
(0,
|
|
759
|
-
(0,
|
|
788
|
+
(0, import_class_validator22.IsNotEmpty)({ message: "Please enter uuid." }),
|
|
789
|
+
(0, import_class_validator22.IsUUID)()
|
|
760
790
|
], FreelancerDevelopmentPreferenceDto.prototype, "uuid", 2);
|
|
761
791
|
__decorateClass([
|
|
762
|
-
(0,
|
|
763
|
-
(0,
|
|
792
|
+
(0, import_class_validator22.IsNotEmpty)({ message: "Please select development flag." }),
|
|
793
|
+
(0, import_class_validator22.IsBoolean)()
|
|
764
794
|
], FreelancerDevelopmentPreferenceDto.prototype, "developer", 2);
|
|
765
795
|
|
|
766
796
|
// src/modules/onboarding/dto/freelancer-profile-question.dto.ts
|
|
767
|
-
var
|
|
797
|
+
var import_class_validator23 = require("class-validator");
|
|
768
798
|
var FreelancerProfileQuestionDto = class {
|
|
769
799
|
};
|
|
770
800
|
__decorateClass([
|
|
771
|
-
(0,
|
|
772
|
-
(0,
|
|
801
|
+
(0, import_class_validator23.IsNotEmpty)({ message: "Please enter uuid." }),
|
|
802
|
+
(0, import_class_validator23.IsUUID)()
|
|
773
803
|
], FreelancerProfileQuestionDto.prototype, "uuid", 2);
|
|
774
804
|
__decorateClass([
|
|
775
|
-
(0,
|
|
776
|
-
(0,
|
|
777
|
-
(0,
|
|
805
|
+
(0, import_class_validator23.IsNotEmpty)({ message: "Please enter question slug." }),
|
|
806
|
+
(0, import_class_validator23.IsString)(),
|
|
807
|
+
(0, import_class_validator23.IsIn)([
|
|
778
808
|
"natureOfWork",
|
|
779
809
|
"expectedHourlyCompensation",
|
|
780
810
|
"modeOfWork",
|
|
@@ -783,24 +813,24 @@ __decorateClass([
|
|
|
783
813
|
])
|
|
784
814
|
], FreelancerProfileQuestionDto.prototype, "question_slug", 2);
|
|
785
815
|
__decorateClass([
|
|
786
|
-
(0,
|
|
816
|
+
(0, import_class_validator23.IsNotEmpty)({ message: "Please enter answer." })
|
|
787
817
|
], FreelancerProfileQuestionDto.prototype, "answer", 2);
|
|
788
818
|
__decorateClass([
|
|
789
|
-
(0,
|
|
819
|
+
(0, import_class_validator23.IsOptional)()
|
|
790
820
|
], FreelancerProfileQuestionDto.prototype, "currency", 2);
|
|
791
821
|
|
|
792
822
|
// src/modules/onboarding/dto/freelancer-work-showcase.dto.ts
|
|
793
|
-
var
|
|
823
|
+
var import_class_validator24 = require("class-validator");
|
|
794
824
|
var FreelancerWorkShowcaseDto = class {
|
|
795
825
|
};
|
|
796
826
|
__decorateClass([
|
|
797
|
-
(0,
|
|
798
|
-
(0,
|
|
827
|
+
(0, import_class_validator24.IsNotEmpty)({ message: "Please enter uuid." }),
|
|
828
|
+
(0, import_class_validator24.IsUUID)()
|
|
799
829
|
], FreelancerWorkShowcaseDto.prototype, "uuid", 2);
|
|
800
830
|
__decorateClass([
|
|
801
|
-
(0,
|
|
802
|
-
(0,
|
|
803
|
-
(0,
|
|
831
|
+
(0, import_class_validator24.IsNotEmpty)({ message: "Please enter likedin profile url." }),
|
|
832
|
+
(0, import_class_validator24.IsString)(),
|
|
833
|
+
(0, import_class_validator24.IsUrl)(
|
|
804
834
|
{ require_protocol: false },
|
|
805
835
|
{
|
|
806
836
|
message: "linkedinProfileLink must be a valid URL with protocol (e.g. https://)"
|
|
@@ -808,8 +838,8 @@ __decorateClass([
|
|
|
808
838
|
)
|
|
809
839
|
], FreelancerWorkShowcaseDto.prototype, "linkedinProfileLink", 2);
|
|
810
840
|
__decorateClass([
|
|
811
|
-
(0,
|
|
812
|
-
(0,
|
|
841
|
+
(0, import_class_validator24.IsOptional)(),
|
|
842
|
+
(0, import_class_validator24.IsUrl)(
|
|
813
843
|
{ require_protocol: false },
|
|
814
844
|
{
|
|
815
845
|
message: "kaggleProfileLink must be a valid URL with protocol (e.g. https://)"
|
|
@@ -817,8 +847,8 @@ __decorateClass([
|
|
|
817
847
|
)
|
|
818
848
|
], FreelancerWorkShowcaseDto.prototype, "kaggleProfileLink", 2);
|
|
819
849
|
__decorateClass([
|
|
820
|
-
(0,
|
|
821
|
-
(0,
|
|
850
|
+
(0, import_class_validator24.IsOptional)(),
|
|
851
|
+
(0, import_class_validator24.IsUrl)(
|
|
822
852
|
{ require_protocol: false },
|
|
823
853
|
{
|
|
824
854
|
message: "githubProfileLink must be a valid URL with protocol (e.g. https://)"
|
|
@@ -826,8 +856,8 @@ __decorateClass([
|
|
|
826
856
|
)
|
|
827
857
|
], FreelancerWorkShowcaseDto.prototype, "githubProfileLink", 2);
|
|
828
858
|
__decorateClass([
|
|
829
|
-
(0,
|
|
830
|
-
(0,
|
|
859
|
+
(0, import_class_validator24.IsOptional)(),
|
|
860
|
+
(0, import_class_validator24.IsUrl)(
|
|
831
861
|
{ require_protocol: false },
|
|
832
862
|
{
|
|
833
863
|
message: "stackOverflowProfileLink must be a valid URL with protocol (e.g. https://)"
|
|
@@ -835,8 +865,8 @@ __decorateClass([
|
|
|
835
865
|
)
|
|
836
866
|
], FreelancerWorkShowcaseDto.prototype, "stackOverflowProfileLink", 2);
|
|
837
867
|
__decorateClass([
|
|
838
|
-
(0,
|
|
839
|
-
(0,
|
|
868
|
+
(0, import_class_validator24.IsOptional)(),
|
|
869
|
+
(0, import_class_validator24.IsUrl)(
|
|
840
870
|
{ require_protocol: false },
|
|
841
871
|
{
|
|
842
872
|
message: "portfolioLink must be a valid URL with protocol (e.g. https://)"
|
|
@@ -845,17 +875,17 @@ __decorateClass([
|
|
|
845
875
|
], FreelancerWorkShowcaseDto.prototype, "portfolioLink", 2);
|
|
846
876
|
|
|
847
877
|
// src/modules/onboarding/dto/client-profile-question.dto.ts
|
|
848
|
-
var
|
|
878
|
+
var import_class_validator25 = require("class-validator");
|
|
849
879
|
var ClientProfileQuestionDto = class {
|
|
850
880
|
};
|
|
851
881
|
__decorateClass([
|
|
852
|
-
(0,
|
|
853
|
-
(0,
|
|
882
|
+
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter uuid." }),
|
|
883
|
+
(0, import_class_validator25.IsUUID)()
|
|
854
884
|
], ClientProfileQuestionDto.prototype, "uuid", 2);
|
|
855
885
|
__decorateClass([
|
|
856
|
-
(0,
|
|
857
|
-
(0,
|
|
858
|
-
(0,
|
|
886
|
+
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter question slug." }),
|
|
887
|
+
(0, import_class_validator25.IsString)(),
|
|
888
|
+
(0, import_class_validator25.IsIn)([
|
|
859
889
|
"skills",
|
|
860
890
|
"requiredFreelancer",
|
|
861
891
|
"kindOfHiring",
|
|
@@ -864,37 +894,37 @@ __decorateClass([
|
|
|
864
894
|
])
|
|
865
895
|
], ClientProfileQuestionDto.prototype, "question_slug", 2);
|
|
866
896
|
__decorateClass([
|
|
867
|
-
(0,
|
|
897
|
+
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter answer." })
|
|
868
898
|
], ClientProfileQuestionDto.prototype, "answer", 2);
|
|
869
899
|
__decorateClass([
|
|
870
|
-
(0,
|
|
871
|
-
(0,
|
|
872
|
-
(0,
|
|
900
|
+
(0, import_class_validator25.ValidateIf)((o) => o.questionSlug === "foundUsOn" && o.answer === "OTHER"),
|
|
901
|
+
(0, import_class_validator25.IsNotEmpty)({ message: "Please enter foundUsOnDetail if answer is OTHER." }),
|
|
902
|
+
(0, import_class_validator25.IsString)()
|
|
873
903
|
], ClientProfileQuestionDto.prototype, "foundUsOnDetail", 2);
|
|
874
904
|
|
|
875
905
|
// src/modules/onboarding/dto/client-create-account.dto.ts
|
|
876
|
-
var
|
|
906
|
+
var import_class_validator26 = require("class-validator");
|
|
877
907
|
var ClientCreateAccountDto = class {
|
|
878
908
|
};
|
|
879
909
|
__decorateClass([
|
|
880
|
-
(0,
|
|
881
|
-
(0,
|
|
910
|
+
(0, import_class_validator26.IsNotEmpty)({ message: "Please enter first name." }),
|
|
911
|
+
(0, import_class_validator26.IsString)({ message: "Please enter valid first name." })
|
|
882
912
|
], ClientCreateAccountDto.prototype, "firstName", 2);
|
|
883
913
|
__decorateClass([
|
|
884
|
-
(0,
|
|
885
|
-
(0,
|
|
914
|
+
(0, import_class_validator26.IsNotEmpty)({ message: "Please enter last name." }),
|
|
915
|
+
(0, import_class_validator26.IsString)({ message: "Please enter valid last name." })
|
|
886
916
|
], ClientCreateAccountDto.prototype, "lastName", 2);
|
|
887
917
|
__decorateClass([
|
|
888
|
-
(0,
|
|
889
|
-
(0,
|
|
918
|
+
(0, import_class_validator26.IsNotEmpty)({ message: "Please enter email." }),
|
|
919
|
+
(0, import_class_validator26.IsEmail)(),
|
|
890
920
|
IsBusinessEmail()
|
|
891
921
|
], ClientCreateAccountDto.prototype, "email", 2);
|
|
892
922
|
__decorateClass([
|
|
893
|
-
(0,
|
|
894
|
-
(0,
|
|
923
|
+
(0, import_class_validator26.IsNotEmpty)({ message: "Please enter company name." }),
|
|
924
|
+
(0, import_class_validator26.IsString)({ message: "Please enter valid company name." })
|
|
895
925
|
], ClientCreateAccountDto.prototype, "companyName", 2);
|
|
896
926
|
__decorateClass([
|
|
897
|
-
(0,
|
|
927
|
+
(0, import_class_validator26.IsOptional)()
|
|
898
928
|
], ClientCreateAccountDto.prototype, "onBoardedBy", 2);
|
|
899
929
|
|
|
900
930
|
// src/modules/resume-parser/pattern/pattern.ts
|
|
@@ -915,76 +945,76 @@ var SUBADMIN_PATTERN = {
|
|
|
915
945
|
};
|
|
916
946
|
|
|
917
947
|
// src/modules/user/subadmin/dto/create-subadmin.dto.ts
|
|
918
|
-
var
|
|
948
|
+
var import_class_validator27 = require("class-validator");
|
|
919
949
|
var CreateSubAdminDto = class {
|
|
920
950
|
};
|
|
921
951
|
__decorateClass([
|
|
922
|
-
(0,
|
|
952
|
+
(0, import_class_validator27.IsNotEmpty)({ message: "Please enter username." })
|
|
923
953
|
], CreateSubAdminDto.prototype, "userName", 2);
|
|
924
954
|
__decorateClass([
|
|
925
|
-
(0,
|
|
955
|
+
(0, import_class_validator27.IsNotEmpty)({ message: "Please enter first name." })
|
|
926
956
|
], CreateSubAdminDto.prototype, "firstName", 2);
|
|
927
957
|
__decorateClass([
|
|
928
|
-
(0,
|
|
958
|
+
(0, import_class_validator27.IsNotEmpty)({ message: "Please enter last name." })
|
|
929
959
|
], CreateSubAdminDto.prototype, "lastName", 2);
|
|
930
960
|
__decorateClass([
|
|
931
|
-
(0,
|
|
961
|
+
(0, import_class_validator27.IsNotEmpty)({ message: "Please enter email." })
|
|
932
962
|
], CreateSubAdminDto.prototype, "email", 2);
|
|
933
963
|
__decorateClass([
|
|
934
|
-
(0,
|
|
964
|
+
(0, import_class_validator27.IsNotEmpty)({ message: "Please enter mobile Code." })
|
|
935
965
|
], CreateSubAdminDto.prototype, "mobileCode", 2);
|
|
936
966
|
__decorateClass([
|
|
937
|
-
(0,
|
|
967
|
+
(0, import_class_validator27.IsNotEmpty)({ message: "Please enter mobile number." })
|
|
938
968
|
], CreateSubAdminDto.prototype, "mobile", 2);
|
|
939
969
|
__decorateClass([
|
|
940
|
-
(0,
|
|
970
|
+
(0, import_class_validator27.IsNotEmpty)({ message: "Please enter the password." })
|
|
941
971
|
], CreateSubAdminDto.prototype, "password", 2);
|
|
942
972
|
__decorateClass([
|
|
943
|
-
(0,
|
|
973
|
+
(0, import_class_validator27.IsNotEmpty)({ message: "Please Select Roles." })
|
|
944
974
|
], CreateSubAdminDto.prototype, "roleIds", 2);
|
|
945
975
|
|
|
946
976
|
// src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
|
|
947
|
-
var
|
|
977
|
+
var import_class_validator28 = require("class-validator");
|
|
948
978
|
var UpdateSubAdminAccountStatusDto = class {
|
|
949
979
|
};
|
|
950
980
|
__decorateClass([
|
|
951
|
-
(0,
|
|
981
|
+
(0, import_class_validator28.IsString)()
|
|
952
982
|
], UpdateSubAdminAccountStatusDto.prototype, "accountStatus", 2);
|
|
953
983
|
|
|
954
984
|
// src/modules/user/subadmin/dto/update-subadmin.dto.ts
|
|
955
985
|
var import_class_transformer = require("class-transformer");
|
|
956
|
-
var
|
|
986
|
+
var import_class_validator29 = require("class-validator");
|
|
957
987
|
var UpdateSubAdminDto = class {
|
|
958
988
|
};
|
|
959
989
|
__decorateClass([
|
|
960
|
-
(0,
|
|
990
|
+
(0, import_class_validator29.IsNotEmpty)({ message: "Please enter username." })
|
|
961
991
|
], UpdateSubAdminDto.prototype, "userName", 2);
|
|
962
992
|
__decorateClass([
|
|
963
|
-
(0,
|
|
993
|
+
(0, import_class_validator29.IsNotEmpty)({ message: "Please enter first name." })
|
|
964
994
|
], UpdateSubAdminDto.prototype, "firstName", 2);
|
|
965
995
|
__decorateClass([
|
|
966
|
-
(0,
|
|
996
|
+
(0, import_class_validator29.IsNotEmpty)({ message: "Please enter last name." })
|
|
967
997
|
], UpdateSubAdminDto.prototype, "lastName", 2);
|
|
968
998
|
__decorateClass([
|
|
969
|
-
(0,
|
|
999
|
+
(0, import_class_validator29.IsNotEmpty)({ message: "Please enter email." })
|
|
970
1000
|
], UpdateSubAdminDto.prototype, "email", 2);
|
|
971
1001
|
__decorateClass([
|
|
972
|
-
(0,
|
|
1002
|
+
(0, import_class_validator29.IsNotEmpty)({ message: "Please enter mobile Code." })
|
|
973
1003
|
], UpdateSubAdminDto.prototype, "mobileCode", 2);
|
|
974
1004
|
__decorateClass([
|
|
975
|
-
(0,
|
|
1005
|
+
(0, import_class_validator29.IsNotEmpty)({ message: "Please enter mobile number." })
|
|
976
1006
|
], UpdateSubAdminDto.prototype, "mobile", 2);
|
|
977
1007
|
__decorateClass([
|
|
978
|
-
(0,
|
|
1008
|
+
(0, import_class_validator29.IsOptional)(),
|
|
979
1009
|
(0, import_class_transformer.Transform)(({ value }) => value === null || value === "" ? void 0 : value),
|
|
980
|
-
(0,
|
|
981
|
-
(0,
|
|
982
|
-
(0,
|
|
1010
|
+
(0, import_class_validator29.MinLength)(6, { message: "Password must be at least 6 characters." }),
|
|
1011
|
+
(0, import_class_validator29.MaxLength)(32, { message: "Password must not exceed 32 characters." }),
|
|
1012
|
+
(0, import_class_validator29.Matches)(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
983
1013
|
message: "Password must include letters, numbers and symbols."
|
|
984
1014
|
})
|
|
985
1015
|
], UpdateSubAdminDto.prototype, "password", 2);
|
|
986
1016
|
__decorateClass([
|
|
987
|
-
(0,
|
|
1017
|
+
(0, import_class_validator29.IsNotEmpty)({ message: "Please Select Roles." })
|
|
988
1018
|
], UpdateSubAdminDto.prototype, "roleIds", 2);
|
|
989
1019
|
|
|
990
1020
|
// src/modules/user/client-profile/pattern/pattern.ts
|
|
@@ -998,59 +1028,59 @@ var CLIENT_PROFILE_PATTERN = {
|
|
|
998
1028
|
};
|
|
999
1029
|
|
|
1000
1030
|
// src/modules/user/client-profile/dto/update-client-profile.dto.ts
|
|
1001
|
-
var
|
|
1031
|
+
var import_class_validator30 = require("class-validator");
|
|
1002
1032
|
var UpdateCompanyProfileDto = class {
|
|
1003
1033
|
};
|
|
1004
1034
|
__decorateClass([
|
|
1005
|
-
(0,
|
|
1006
|
-
(0,
|
|
1007
|
-
(0,
|
|
1035
|
+
(0, import_class_validator30.IsNotEmpty)({ message: "Please enter company name." }),
|
|
1036
|
+
(0, import_class_validator30.IsString)({ message: "Company name must be a string." }),
|
|
1037
|
+
(0, import_class_validator30.Length)(2, 255, {
|
|
1008
1038
|
message: "Company name must be between 2 and 255 characters"
|
|
1009
1039
|
})
|
|
1010
1040
|
], UpdateCompanyProfileDto.prototype, "companyName", 2);
|
|
1011
1041
|
__decorateClass([
|
|
1012
|
-
(0,
|
|
1013
|
-
(0,
|
|
1014
|
-
(0,
|
|
1042
|
+
(0, import_class_validator30.IsOptional)(),
|
|
1043
|
+
(0, import_class_validator30.ValidateIf)((o) => o.webSite !== ""),
|
|
1044
|
+
(0, import_class_validator30.IsUrl)({}, { message: "Invalid website URL format" })
|
|
1015
1045
|
], UpdateCompanyProfileDto.prototype, "webSite", 2);
|
|
1016
1046
|
__decorateClass([
|
|
1017
|
-
(0,
|
|
1018
|
-
(0,
|
|
1019
|
-
(0,
|
|
1047
|
+
(0, import_class_validator30.IsNotEmpty)({ message: "Please enter company address." }),
|
|
1048
|
+
(0, import_class_validator30.IsString)({ message: "Company address must be a string" }),
|
|
1049
|
+
(0, import_class_validator30.Length)(5, 1e3, { message: "Address must be between 5 and 1000 characters" })
|
|
1020
1050
|
], UpdateCompanyProfileDto.prototype, "companyAddress", 2);
|
|
1021
1051
|
__decorateClass([
|
|
1022
|
-
(0,
|
|
1023
|
-
(0,
|
|
1052
|
+
(0, import_class_validator30.IsNotEmpty)({ message: "Please enter mobile code." }),
|
|
1053
|
+
(0, import_class_validator30.IsString)({ message: "Mobile Code must be a string" })
|
|
1024
1054
|
], UpdateCompanyProfileDto.prototype, "mobileCode", 2);
|
|
1025
1055
|
// @Matches(/^(\+1\s?)?(\(?\d{3}\)?[\s.-]?)?\d{3}[\s.-]?\d{4}$/, {
|
|
1026
1056
|
// message: "Please enter a valid US phone number",
|
|
1027
1057
|
// })
|
|
1028
1058
|
__decorateClass([
|
|
1029
|
-
(0,
|
|
1030
|
-
(0,
|
|
1059
|
+
(0, import_class_validator30.IsNotEmpty)({ message: "Please enter phone number." }),
|
|
1060
|
+
(0, import_class_validator30.IsString)({ message: "Please enter valid phone number." })
|
|
1031
1061
|
], UpdateCompanyProfileDto.prototype, "phoneNumber", 2);
|
|
1032
1062
|
__decorateClass([
|
|
1033
|
-
(0,
|
|
1034
|
-
(0,
|
|
1063
|
+
(0, import_class_validator30.IsNotEmpty)({ message: "Please enter email." }),
|
|
1064
|
+
(0, import_class_validator30.IsEmail)()
|
|
1035
1065
|
], UpdateCompanyProfileDto.prototype, "email", 2);
|
|
1036
1066
|
__decorateClass([
|
|
1037
|
-
(0,
|
|
1038
|
-
(0,
|
|
1067
|
+
(0, import_class_validator30.IsOptional)(),
|
|
1068
|
+
(0, import_class_validator30.IsString)({ message: "About company must be a string." })
|
|
1039
1069
|
], UpdateCompanyProfileDto.prototype, "aboutCompany", 2);
|
|
1040
1070
|
|
|
1041
1071
|
// src/modules/user/client-profile/dto/client-change-password.dto.ts
|
|
1042
|
-
var
|
|
1072
|
+
var import_class_validator31 = require("class-validator");
|
|
1043
1073
|
var ClientChangePasswordDto = class {
|
|
1044
1074
|
};
|
|
1045
1075
|
__decorateClass([
|
|
1046
|
-
(0,
|
|
1047
|
-
(0,
|
|
1048
|
-
(0,
|
|
1076
|
+
(0, import_class_validator31.IsString)(),
|
|
1077
|
+
(0, import_class_validator31.MinLength)(8, { message: "Password must be at least 8 characters long." }),
|
|
1078
|
+
(0, import_class_validator31.Matches)(/^(?=.*[A-Z])(?=.*\d).+$/, {
|
|
1049
1079
|
message: "Password must contain at least one uppercase letter and one number."
|
|
1050
1080
|
})
|
|
1051
1081
|
], ClientChangePasswordDto.prototype, "newPassword", 2);
|
|
1052
1082
|
__decorateClass([
|
|
1053
|
-
(0,
|
|
1083
|
+
(0, import_class_validator31.IsNotEmpty)({ message: "Please enter confirm password." }),
|
|
1054
1084
|
Match("newPassword", { message: "Passwords do not match" })
|
|
1055
1085
|
], ClientChangePasswordDto.prototype, "confirmPassword", 2);
|
|
1056
1086
|
|
|
@@ -1063,24 +1093,24 @@ var ASSESSMENT_QUESTION_PATTERN = {
|
|
|
1063
1093
|
};
|
|
1064
1094
|
|
|
1065
1095
|
// src/modules/question/dto/create-question.dto.ts
|
|
1066
|
-
var
|
|
1096
|
+
var import_class_validator32 = require("class-validator");
|
|
1067
1097
|
var CreateQuestionDto = class {
|
|
1068
1098
|
};
|
|
1069
1099
|
__decorateClass([
|
|
1070
|
-
(0,
|
|
1100
|
+
(0, import_class_validator32.IsNotEmpty)({ message: "Please enter unique id." })
|
|
1071
1101
|
], CreateQuestionDto.prototype, "questionId", 2);
|
|
1072
1102
|
__decorateClass([
|
|
1073
|
-
(0,
|
|
1103
|
+
(0, import_class_validator32.IsNotEmpty)({ message: "Please enter question." })
|
|
1074
1104
|
], CreateQuestionDto.prototype, "question", 2);
|
|
1075
1105
|
__decorateClass([
|
|
1076
|
-
(0,
|
|
1106
|
+
(0, import_class_validator32.IsNotEmpty)({ message: "Please enter for whom the question is." })
|
|
1077
1107
|
], CreateQuestionDto.prototype, "questionFor", 2);
|
|
1078
1108
|
__decorateClass([
|
|
1079
|
-
(0,
|
|
1109
|
+
(0, import_class_validator32.IsNotEmpty)({ message: "Please enter options." })
|
|
1080
1110
|
], CreateQuestionDto.prototype, "options", 2);
|
|
1081
1111
|
__decorateClass([
|
|
1082
|
-
(0,
|
|
1083
|
-
(0,
|
|
1112
|
+
(0, import_class_validator32.IsOptional)(),
|
|
1113
|
+
(0, import_class_validator32.IsBoolean)({ message: "Whether the question status active" })
|
|
1084
1114
|
], CreateQuestionDto.prototype, "isActive", 2);
|
|
1085
1115
|
|
|
1086
1116
|
// src/modules/job/pattern/pattern.ts
|
|
@@ -1109,7 +1139,7 @@ var JOB_PATTERN = {
|
|
|
1109
1139
|
};
|
|
1110
1140
|
|
|
1111
1141
|
// src/modules/job/dto/job-basic-information.dto.ts
|
|
1112
|
-
var
|
|
1142
|
+
var import_class_validator33 = require("class-validator");
|
|
1113
1143
|
var import_class_transformer2 = require("class-transformer");
|
|
1114
1144
|
var JobLocation = /* @__PURE__ */ ((JobLocation2) => {
|
|
1115
1145
|
JobLocation2["ONSITE"] = "ONSITE";
|
|
@@ -1129,135 +1159,135 @@ var JobBasicInformationDto = class {
|
|
|
1129
1159
|
}
|
|
1130
1160
|
};
|
|
1131
1161
|
__decorateClass([
|
|
1132
|
-
(0,
|
|
1162
|
+
(0, import_class_validator33.IsOptional)(),
|
|
1133
1163
|
(0, import_class_transformer2.Type)(() => Boolean)
|
|
1134
1164
|
], JobBasicInformationDto.prototype, "isDraft", 2);
|
|
1135
1165
|
__decorateClass([
|
|
1136
|
-
(0,
|
|
1137
|
-
(0,
|
|
1166
|
+
(0, import_class_validator33.IsNotEmpty)({ message: "Please enter job role" }),
|
|
1167
|
+
(0, import_class_validator33.IsString)({ message: "Job role must be a string" })
|
|
1138
1168
|
], JobBasicInformationDto.prototype, "jobRole", 2);
|
|
1139
1169
|
__decorateClass([
|
|
1140
|
-
(0,
|
|
1141
|
-
(0,
|
|
1170
|
+
(0, import_class_validator33.IsOptional)(),
|
|
1171
|
+
(0, import_class_validator33.IsString)({ message: "Note must be a string" })
|
|
1142
1172
|
], JobBasicInformationDto.prototype, "note", 2);
|
|
1143
1173
|
__decorateClass([
|
|
1144
|
-
(0,
|
|
1145
|
-
(0,
|
|
1146
|
-
(0,
|
|
1147
|
-
(0,
|
|
1174
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1175
|
+
(0, import_class_validator33.IsArray)({ message: "Skills must be an array" }),
|
|
1176
|
+
(0, import_class_validator33.ArrayNotEmpty)({ message: "Please select at least one skill" }),
|
|
1177
|
+
(0, import_class_validator33.IsString)({ each: true, message: "Each skill must be a string" }),
|
|
1148
1178
|
(0, import_class_transformer2.Type)(() => String)
|
|
1149
1179
|
], JobBasicInformationDto.prototype, "skills", 2);
|
|
1150
1180
|
__decorateClass([
|
|
1151
|
-
(0,
|
|
1152
|
-
(0,
|
|
1153
|
-
(0,
|
|
1181
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1182
|
+
(0, import_class_validator33.IsNumber)({}, { message: "Openings must be a number" }),
|
|
1183
|
+
(0, import_class_validator33.Min)(1, { message: "There must be at least 1 opening" }),
|
|
1154
1184
|
(0, import_class_transformer2.Type)(() => Number)
|
|
1155
1185
|
], JobBasicInformationDto.prototype, "openings", 2);
|
|
1156
1186
|
__decorateClass([
|
|
1157
|
-
(0,
|
|
1158
|
-
(0,
|
|
1187
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1188
|
+
(0, import_class_validator33.IsEnum)(JobLocation, {
|
|
1159
1189
|
message: `Location must be one of: ${Object.values(JobLocation).join(
|
|
1160
1190
|
", "
|
|
1161
1191
|
)}`
|
|
1162
1192
|
})
|
|
1163
1193
|
], JobBasicInformationDto.prototype, "location", 2);
|
|
1164
1194
|
__decorateClass([
|
|
1165
|
-
(0,
|
|
1166
|
-
(0,
|
|
1195
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1196
|
+
(0, import_class_validator33.IsNumber)({}, { message: "Country id must be a number" }),
|
|
1167
1197
|
(0, import_class_transformer2.Type)(() => Number)
|
|
1168
1198
|
], JobBasicInformationDto.prototype, "countryId", 2);
|
|
1169
1199
|
__decorateClass([
|
|
1170
|
-
(0,
|
|
1171
|
-
(0,
|
|
1200
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1201
|
+
(0, import_class_validator33.IsNumber)({}, { message: "State id must be a number" }),
|
|
1172
1202
|
(0, import_class_transformer2.Type)(() => Number)
|
|
1173
1203
|
], JobBasicInformationDto.prototype, "stateId", 2);
|
|
1174
1204
|
__decorateClass([
|
|
1175
|
-
(0,
|
|
1176
|
-
(0,
|
|
1205
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1206
|
+
(0, import_class_validator33.IsNumber)({}, { message: "City id must be a number" }),
|
|
1177
1207
|
(0, import_class_transformer2.Type)(() => Number)
|
|
1178
1208
|
], JobBasicInformationDto.prototype, "cityId", 2);
|
|
1179
1209
|
__decorateClass([
|
|
1180
|
-
(0,
|
|
1181
|
-
(0,
|
|
1210
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1211
|
+
(0, import_class_validator33.IsEnum)(EmploymentType, {
|
|
1182
1212
|
message: `Type of employment must be one of: ${Object.values(
|
|
1183
1213
|
EmploymentType
|
|
1184
1214
|
).join(", ")}`
|
|
1185
1215
|
})
|
|
1186
1216
|
], JobBasicInformationDto.prototype, "typeOfEmployment", 2);
|
|
1187
1217
|
__decorateClass([
|
|
1188
|
-
(0,
|
|
1189
|
-
(0,
|
|
1218
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1219
|
+
(0, import_class_validator33.IsString)({ message: "Currency must be a string" })
|
|
1190
1220
|
], JobBasicInformationDto.prototype, "currency", 2);
|
|
1191
1221
|
__decorateClass([
|
|
1192
|
-
(0,
|
|
1193
|
-
(0,
|
|
1194
|
-
(0,
|
|
1222
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1223
|
+
(0, import_class_validator33.IsNumber)({}, { message: "Expected salary (from) must be a number" }),
|
|
1224
|
+
(0, import_class_validator33.Min)(0, { message: "Expected salary (from) cannot be negative" }),
|
|
1195
1225
|
(0, import_class_transformer2.Type)(() => Number)
|
|
1196
1226
|
], JobBasicInformationDto.prototype, "expectedSalaryFrom", 2);
|
|
1197
1227
|
__decorateClass([
|
|
1198
|
-
(0,
|
|
1199
|
-
(0,
|
|
1200
|
-
(0,
|
|
1228
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1229
|
+
(0, import_class_validator33.IsNumber)({}, { message: "Expected salary (to) must be a number" }),
|
|
1230
|
+
(0, import_class_validator33.Min)(0, { message: "Expected salary (to) cannot be negative" }),
|
|
1201
1231
|
(0, import_class_transformer2.Type)(() => Number)
|
|
1202
1232
|
], JobBasicInformationDto.prototype, "expectedSalaryTo", 2);
|
|
1203
1233
|
__decorateClass([
|
|
1204
|
-
(0,
|
|
1205
|
-
(0,
|
|
1206
|
-
(0,
|
|
1234
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1235
|
+
(0, import_class_validator33.IsNotEmpty)({ message: "Please enter start date" }),
|
|
1236
|
+
(0, import_class_validator33.IsString)({ message: "Start date must be valid" })
|
|
1207
1237
|
], JobBasicInformationDto.prototype, "tentativeStartDate", 2);
|
|
1208
1238
|
__decorateClass([
|
|
1209
|
-
(0,
|
|
1210
|
-
(0,
|
|
1211
|
-
(0,
|
|
1239
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1240
|
+
(0, import_class_validator33.IsNotEmpty)({ message: "Please enter end date" }),
|
|
1241
|
+
(0, import_class_validator33.IsString)({ message: "End date must be valid" })
|
|
1212
1242
|
], JobBasicInformationDto.prototype, "tentativeEndDate", 2);
|
|
1213
1243
|
__decorateClass([
|
|
1214
|
-
(0,
|
|
1215
|
-
(0,
|
|
1216
|
-
(0,
|
|
1244
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1245
|
+
(0, import_class_validator33.IsString)({ message: "Onboarding TAT must be a string" }),
|
|
1246
|
+
(0, import_class_validator33.IsOptional)()
|
|
1217
1247
|
], JobBasicInformationDto.prototype, "onboardingTat", 2);
|
|
1218
1248
|
__decorateClass([
|
|
1219
|
-
(0,
|
|
1220
|
-
(0,
|
|
1221
|
-
(0,
|
|
1249
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1250
|
+
(0, import_class_validator33.IsString)({ message: "Candidate communication skills must be a string" }),
|
|
1251
|
+
(0, import_class_validator33.IsOptional)()
|
|
1222
1252
|
], JobBasicInformationDto.prototype, "candidateCommunicationSkills", 2);
|
|
1223
1253
|
__decorateClass([
|
|
1224
|
-
(0,
|
|
1225
|
-
(0,
|
|
1226
|
-
(0,
|
|
1254
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1255
|
+
(0, import_class_validator33.IsNotEmpty)({ message: "Please enter the academic qualification" }),
|
|
1256
|
+
(0, import_class_validator33.IsString)({ message: "Academic qualification must be a string" })
|
|
1227
1257
|
], JobBasicInformationDto.prototype, "academicQualification", 2);
|
|
1228
1258
|
__decorateClass([
|
|
1229
|
-
(0,
|
|
1230
|
-
(0,
|
|
1231
|
-
(0,
|
|
1259
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1260
|
+
(0, import_class_validator33.IsNotEmpty)({ message: "Please enter the years of experience" }),
|
|
1261
|
+
(0, import_class_validator33.IsString)({ message: "Years of experience must be a string" })
|
|
1232
1262
|
], JobBasicInformationDto.prototype, "yearsOfExperience", 2);
|
|
1233
1263
|
__decorateClass([
|
|
1234
|
-
(0,
|
|
1235
|
-
(0,
|
|
1236
|
-
(0,
|
|
1264
|
+
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1265
|
+
(0, import_class_validator33.IsNotEmpty)({ message: "Please enter the business industry" }),
|
|
1266
|
+
(0, import_class_validator33.IsString)({ message: "Business industry must be a string" })
|
|
1237
1267
|
], JobBasicInformationDto.prototype, "businessIndustry", 2);
|
|
1238
1268
|
|
|
1239
1269
|
// src/modules/job/dto/job-additional-comment.dto.ts
|
|
1240
|
-
var
|
|
1270
|
+
var import_class_validator34 = require("class-validator");
|
|
1241
1271
|
var JobAdditionalCommentDto = class {
|
|
1242
1272
|
};
|
|
1243
1273
|
__decorateClass([
|
|
1244
|
-
(0,
|
|
1245
|
-
(0,
|
|
1246
|
-
(0,
|
|
1274
|
+
(0, import_class_validator34.IsOptional)(),
|
|
1275
|
+
(0, import_class_validator34.IsString)({ message: "Additional comment must be a string" }),
|
|
1276
|
+
(0, import_class_validator34.MaxLength)(500, { message: "Additional comment must not exceed 500 characters" })
|
|
1247
1277
|
], JobAdditionalCommentDto.prototype, "additionalComment", 2);
|
|
1248
1278
|
|
|
1249
1279
|
// src/modules/job/dto/job-description.dto.ts
|
|
1250
|
-
var
|
|
1280
|
+
var import_class_validator35 = require("class-validator");
|
|
1251
1281
|
var JobDescriptionDto = class {
|
|
1252
1282
|
};
|
|
1253
1283
|
__decorateClass([
|
|
1254
|
-
(0,
|
|
1255
|
-
(0,
|
|
1256
|
-
(0,
|
|
1284
|
+
(0, import_class_validator35.IsNotEmpty)({ message: "Please enter job description" }),
|
|
1285
|
+
(0, import_class_validator35.IsString)({ message: "Description must be a string" }),
|
|
1286
|
+
(0, import_class_validator35.MaxLength)(5e3, { message: "Description must not exceed 5000 characters" })
|
|
1257
1287
|
], JobDescriptionDto.prototype, "description", 2);
|
|
1258
1288
|
|
|
1259
1289
|
// src/modules/job/dto/job-status.dto.ts
|
|
1260
|
-
var
|
|
1290
|
+
var import_class_validator36 = require("class-validator");
|
|
1261
1291
|
var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
|
|
1262
1292
|
JobStatus2["ACTIVE"] = "ACTIVE";
|
|
1263
1293
|
JobStatus2["OPEN"] = "OPEN";
|
|
@@ -1269,18 +1299,18 @@ var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
|
|
|
1269
1299
|
var JobStatusDto = class {
|
|
1270
1300
|
};
|
|
1271
1301
|
__decorateClass([
|
|
1272
|
-
(0,
|
|
1273
|
-
(0,
|
|
1302
|
+
(0, import_class_validator36.IsNotEmpty)({ message: "Please provide a job status" }),
|
|
1303
|
+
(0, import_class_validator36.IsEnum)(JobStatus, {
|
|
1274
1304
|
message: `Status must be one of: ${Object.values(JobStatus).join(", ")}`
|
|
1275
1305
|
})
|
|
1276
1306
|
], JobStatusDto.prototype, "status", 2);
|
|
1277
1307
|
|
|
1278
1308
|
// src/modules/job/dto/job-id-param.dto.ts
|
|
1279
|
-
var
|
|
1309
|
+
var import_class_validator37 = require("class-validator");
|
|
1280
1310
|
var JobIdParamDto = class {
|
|
1281
1311
|
};
|
|
1282
1312
|
__decorateClass([
|
|
1283
|
-
(0,
|
|
1313
|
+
(0, import_class_validator37.IsUUID)("4", {
|
|
1284
1314
|
message: "Invalid job ID. It must be a valid UUID version 4."
|
|
1285
1315
|
})
|
|
1286
1316
|
], JobIdParamDto.prototype, "id", 2);
|
|
@@ -1298,25 +1328,25 @@ var PROFILE_PATTERN = {
|
|
|
1298
1328
|
};
|
|
1299
1329
|
|
|
1300
1330
|
// src/modules/user/freelancer-profile/dto/freelancer-change-password.dto.ts
|
|
1301
|
-
var
|
|
1331
|
+
var import_class_validator38 = require("class-validator");
|
|
1302
1332
|
var FreelancerChangePasswordDto = class {
|
|
1303
1333
|
};
|
|
1304
1334
|
__decorateClass([
|
|
1305
|
-
(0,
|
|
1306
|
-
(0,
|
|
1335
|
+
(0, import_class_validator38.IsNotEmpty)({ message: "Please enter Old Password." }),
|
|
1336
|
+
(0, import_class_validator38.IsString)()
|
|
1307
1337
|
], FreelancerChangePasswordDto.prototype, "oldPassword", 2);
|
|
1308
1338
|
__decorateClass([
|
|
1309
|
-
(0,
|
|
1310
|
-
(0,
|
|
1311
|
-
(0,
|
|
1312
|
-
(0,
|
|
1313
|
-
(0,
|
|
1339
|
+
(0, import_class_validator38.IsNotEmpty)({ message: "Please enter New Password." }),
|
|
1340
|
+
(0, import_class_validator38.IsString)(),
|
|
1341
|
+
(0, import_class_validator38.MinLength)(6),
|
|
1342
|
+
(0, import_class_validator38.MaxLength)(32),
|
|
1343
|
+
(0, import_class_validator38.Matches)(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
1314
1344
|
message: "New Password must include letters, numbers and symbols."
|
|
1315
1345
|
})
|
|
1316
1346
|
], FreelancerChangePasswordDto.prototype, "newPassword", 2);
|
|
1317
1347
|
|
|
1318
1348
|
// src/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.ts
|
|
1319
|
-
var
|
|
1349
|
+
var import_class_validator39 = require("class-validator");
|
|
1320
1350
|
var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
|
|
1321
1351
|
NatureOfWorkDto2["FULLTIME"] = "FULLTIME";
|
|
1322
1352
|
NatureOfWorkDto2["PARTTIME"] = "PARTTIME";
|
|
@@ -1332,92 +1362,92 @@ var ModeOfWorkDto = /* @__PURE__ */ ((ModeOfWorkDto2) => {
|
|
|
1332
1362
|
var UpdateFreelancerProfileDto = class {
|
|
1333
1363
|
};
|
|
1334
1364
|
__decorateClass([
|
|
1335
|
-
(0,
|
|
1336
|
-
(0,
|
|
1365
|
+
(0, import_class_validator39.IsNotEmpty)({ message: "Please enter first name." }),
|
|
1366
|
+
(0, import_class_validator39.IsString)({ message: "Please enter valid first name." })
|
|
1337
1367
|
], UpdateFreelancerProfileDto.prototype, "firstName", 2);
|
|
1338
1368
|
__decorateClass([
|
|
1339
|
-
(0,
|
|
1340
|
-
(0,
|
|
1369
|
+
(0, import_class_validator39.IsNotEmpty)({ message: "Please enter last name." }),
|
|
1370
|
+
(0, import_class_validator39.IsString)({ message: "Please enter valid last name." })
|
|
1341
1371
|
], UpdateFreelancerProfileDto.prototype, "lastName", 2);
|
|
1342
1372
|
__decorateClass([
|
|
1343
|
-
(0,
|
|
1344
|
-
(0,
|
|
1373
|
+
(0, import_class_validator39.IsNotEmpty)({ message: "Please enter designation." }),
|
|
1374
|
+
(0, import_class_validator39.IsString)({ message: "Please enter valid designation." })
|
|
1345
1375
|
], UpdateFreelancerProfileDto.prototype, "designation", 2);
|
|
1346
1376
|
__decorateClass([
|
|
1347
|
-
(0,
|
|
1348
|
-
(0,
|
|
1377
|
+
(0, import_class_validator39.IsNotEmpty)({ message: "Please enter experience." }),
|
|
1378
|
+
(0, import_class_validator39.IsString)({ message: "Please enter valid experience." })
|
|
1349
1379
|
], UpdateFreelancerProfileDto.prototype, "experience", 2);
|
|
1350
1380
|
__decorateClass([
|
|
1351
|
-
(0,
|
|
1352
|
-
(0,
|
|
1381
|
+
(0, import_class_validator39.IsNotEmpty)({ message: "Please enter email id." }),
|
|
1382
|
+
(0, import_class_validator39.IsEmail)()
|
|
1353
1383
|
], UpdateFreelancerProfileDto.prototype, "email", 2);
|
|
1354
1384
|
__decorateClass([
|
|
1355
|
-
(0,
|
|
1356
|
-
(0,
|
|
1385
|
+
(0, import_class_validator39.IsNotEmpty)({ message: "Please enter mobile code." }),
|
|
1386
|
+
(0, import_class_validator39.IsString)({ message: "Please enter valid mobile code." })
|
|
1357
1387
|
], UpdateFreelancerProfileDto.prototype, "mobileCode", 2);
|
|
1358
1388
|
__decorateClass([
|
|
1359
|
-
(0,
|
|
1360
|
-
(0,
|
|
1389
|
+
(0, import_class_validator39.IsNotEmpty)({ message: "Please enter mobile number." }),
|
|
1390
|
+
(0, import_class_validator39.IsString)({ message: "Please enter valid mobile number." })
|
|
1361
1391
|
], UpdateFreelancerProfileDto.prototype, "mobile", 2);
|
|
1362
1392
|
__decorateClass([
|
|
1363
|
-
(0,
|
|
1364
|
-
(0,
|
|
1393
|
+
(0, import_class_validator39.IsOptional)(),
|
|
1394
|
+
(0, import_class_validator39.IsNumber)()
|
|
1365
1395
|
], UpdateFreelancerProfileDto.prototype, "countryId", 2);
|
|
1366
1396
|
__decorateClass([
|
|
1367
|
-
(0,
|
|
1368
|
-
(0,
|
|
1397
|
+
(0, import_class_validator39.IsNotEmpty)({ message: "Please select currency." }),
|
|
1398
|
+
(0, import_class_validator39.IsString)({ message: "Please enter valid currency." })
|
|
1369
1399
|
], UpdateFreelancerProfileDto.prototype, "currency", 2);
|
|
1370
1400
|
__decorateClass([
|
|
1371
|
-
(0,
|
|
1372
|
-
(0,
|
|
1401
|
+
(0, import_class_validator39.IsNotEmpty)({ message: "Please enter expected hourly compensation." }),
|
|
1402
|
+
(0, import_class_validator39.IsString)({ message: "Please enter valid expected hourly compensation." })
|
|
1373
1403
|
], UpdateFreelancerProfileDto.prototype, "expectedHourlyCompensation", 2);
|
|
1374
1404
|
__decorateClass([
|
|
1375
|
-
(0,
|
|
1376
|
-
(0,
|
|
1405
|
+
(0, import_class_validator39.IsNotEmpty)({ message: "Please select engagement type." }),
|
|
1406
|
+
(0, import_class_validator39.IsEnum)(NatureOfWorkDto, {
|
|
1377
1407
|
message: `Engagement Type must be one of: ${Object.values(
|
|
1378
1408
|
NatureOfWorkDto
|
|
1379
1409
|
).join(", ")}`
|
|
1380
1410
|
})
|
|
1381
1411
|
], UpdateFreelancerProfileDto.prototype, "natureOfWork", 2);
|
|
1382
1412
|
__decorateClass([
|
|
1383
|
-
(0,
|
|
1384
|
-
(0,
|
|
1413
|
+
(0, import_class_validator39.IsNotEmpty)({ message: "Please select mode of work." }),
|
|
1414
|
+
(0, import_class_validator39.IsEnum)(ModeOfWorkDto, {
|
|
1385
1415
|
message: `Mode of work must be one of: ${Object.values(ModeOfWorkDto).join(
|
|
1386
1416
|
", "
|
|
1387
1417
|
)}`
|
|
1388
1418
|
})
|
|
1389
1419
|
], UpdateFreelancerProfileDto.prototype, "modeOfWork", 2);
|
|
1390
1420
|
__decorateClass([
|
|
1391
|
-
(0,
|
|
1392
|
-
(0,
|
|
1421
|
+
(0, import_class_validator39.IsOptional)(),
|
|
1422
|
+
(0, import_class_validator39.IsString)()
|
|
1393
1423
|
], UpdateFreelancerProfileDto.prototype, "portfolioLink", 2);
|
|
1394
1424
|
__decorateClass([
|
|
1395
|
-
(0,
|
|
1396
|
-
(0,
|
|
1425
|
+
(0, import_class_validator39.IsOptional)(),
|
|
1426
|
+
(0, import_class_validator39.IsString)()
|
|
1397
1427
|
], UpdateFreelancerProfileDto.prototype, "address", 2);
|
|
1398
1428
|
__decorateClass([
|
|
1399
|
-
(0,
|
|
1400
|
-
(0,
|
|
1429
|
+
(0, import_class_validator39.IsOptional)(),
|
|
1430
|
+
(0, import_class_validator39.IsString)()
|
|
1401
1431
|
], UpdateFreelancerProfileDto.prototype, "about", 2);
|
|
1402
1432
|
__decorateClass([
|
|
1403
|
-
(0,
|
|
1404
|
-
(0,
|
|
1433
|
+
(0, import_class_validator39.IsOptional)(),
|
|
1434
|
+
(0, import_class_validator39.IsString)()
|
|
1405
1435
|
], UpdateFreelancerProfileDto.prototype, "linkedinProfileLink", 2);
|
|
1406
1436
|
__decorateClass([
|
|
1407
|
-
(0,
|
|
1408
|
-
(0,
|
|
1437
|
+
(0, import_class_validator39.IsOptional)(),
|
|
1438
|
+
(0, import_class_validator39.IsString)()
|
|
1409
1439
|
], UpdateFreelancerProfileDto.prototype, "kaggleProfileLink", 2);
|
|
1410
1440
|
__decorateClass([
|
|
1411
|
-
(0,
|
|
1412
|
-
(0,
|
|
1441
|
+
(0, import_class_validator39.IsOptional)(),
|
|
1442
|
+
(0, import_class_validator39.IsString)()
|
|
1413
1443
|
], UpdateFreelancerProfileDto.prototype, "githubProfileLink", 2);
|
|
1414
1444
|
__decorateClass([
|
|
1415
|
-
(0,
|
|
1416
|
-
(0,
|
|
1445
|
+
(0, import_class_validator39.IsOptional)(),
|
|
1446
|
+
(0, import_class_validator39.IsString)()
|
|
1417
1447
|
], UpdateFreelancerProfileDto.prototype, "stackOverflowProfileLink", 2);
|
|
1418
1448
|
__decorateClass([
|
|
1419
|
-
(0,
|
|
1420
|
-
(0,
|
|
1449
|
+
(0, import_class_validator39.IsOptional)(),
|
|
1450
|
+
(0, import_class_validator39.IsString)()
|
|
1421
1451
|
], UpdateFreelancerProfileDto.prototype, "resumeUrl", 2);
|
|
1422
1452
|
|
|
1423
1453
|
// src/modules/bank/pattern/pattern.ts
|
|
@@ -1428,7 +1458,7 @@ var BANK_PATTERN = {
|
|
|
1428
1458
|
};
|
|
1429
1459
|
|
|
1430
1460
|
// src/modules/bank/dto/freelancer-bank-details.dto.ts
|
|
1431
|
-
var
|
|
1461
|
+
var import_class_validator40 = require("class-validator");
|
|
1432
1462
|
var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
|
|
1433
1463
|
BankAccountScope2["DOMESTIC"] = "DOMESTIC";
|
|
1434
1464
|
BankAccountScope2["INTERNATIONAL"] = "INTERNATIONAL";
|
|
@@ -1437,47 +1467,47 @@ var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
|
|
|
1437
1467
|
var FreelancerBankDetailsDto = class {
|
|
1438
1468
|
};
|
|
1439
1469
|
__decorateClass([
|
|
1440
|
-
(0,
|
|
1470
|
+
(0, import_class_validator40.IsNotEmpty)({ message: "Please enter Account Holder Name." })
|
|
1441
1471
|
], FreelancerBankDetailsDto.prototype, "name", 2);
|
|
1442
1472
|
__decorateClass([
|
|
1443
|
-
(0,
|
|
1473
|
+
(0, import_class_validator40.IsNotEmpty)({ message: "Please enter Mobile Number." })
|
|
1444
1474
|
], FreelancerBankDetailsDto.prototype, "mobile", 2);
|
|
1445
1475
|
__decorateClass([
|
|
1446
|
-
(0,
|
|
1476
|
+
(0, import_class_validator40.IsNotEmpty)({ message: "Please enter Email." })
|
|
1447
1477
|
], FreelancerBankDetailsDto.prototype, "email", 2);
|
|
1448
1478
|
__decorateClass([
|
|
1449
|
-
(0,
|
|
1479
|
+
(0, import_class_validator40.IsOptional)()
|
|
1450
1480
|
], FreelancerBankDetailsDto.prototype, "address", 2);
|
|
1451
1481
|
__decorateClass([
|
|
1452
|
-
(0,
|
|
1482
|
+
(0, import_class_validator40.IsNotEmpty)({ message: "Please enter Account Number." })
|
|
1453
1483
|
], FreelancerBankDetailsDto.prototype, "accountNumber", 2);
|
|
1454
1484
|
__decorateClass([
|
|
1455
|
-
(0,
|
|
1485
|
+
(0, import_class_validator40.IsNotEmpty)({ message: "Please enter Bank Name." })
|
|
1456
1486
|
], FreelancerBankDetailsDto.prototype, "bankName", 2);
|
|
1457
1487
|
__decorateClass([
|
|
1458
|
-
(0,
|
|
1488
|
+
(0, import_class_validator40.IsNotEmpty)({ message: "Please enter Branch Name." })
|
|
1459
1489
|
], FreelancerBankDetailsDto.prototype, "branchName", 2);
|
|
1460
1490
|
__decorateClass([
|
|
1461
|
-
(0,
|
|
1462
|
-
(0,
|
|
1491
|
+
(0, import_class_validator40.ValidateIf)((dto) => dto.accountScope === "DOMESTIC"),
|
|
1492
|
+
(0, import_class_validator40.IsNotEmpty)({ message: "IFSC Code is required for DOMESTIC accounts." })
|
|
1463
1493
|
], FreelancerBankDetailsDto.prototype, "ifscCode", 2);
|
|
1464
1494
|
__decorateClass([
|
|
1465
|
-
(0,
|
|
1466
|
-
(0,
|
|
1495
|
+
(0, import_class_validator40.ValidateIf)((dto) => dto.accountScope === "INTERNATIONAL"),
|
|
1496
|
+
(0, import_class_validator40.IsNotEmpty)({ message: "Routing Number/Sort Code is required for INTERNATIONAL accounts." })
|
|
1467
1497
|
], FreelancerBankDetailsDto.prototype, "routingNo", 2);
|
|
1468
1498
|
__decorateClass([
|
|
1469
|
-
(0,
|
|
1470
|
-
(0,
|
|
1499
|
+
(0, import_class_validator40.ValidateIf)((dto) => dto.accountScope === "INTERNATIONAL"),
|
|
1500
|
+
(0, import_class_validator40.IsNotEmpty)({ message: "ABA Number is required for INTERNATIONAL accounts." })
|
|
1471
1501
|
], FreelancerBankDetailsDto.prototype, "abaNumber", 2);
|
|
1472
1502
|
__decorateClass([
|
|
1473
|
-
(0,
|
|
1474
|
-
(0,
|
|
1503
|
+
(0, import_class_validator40.ValidateIf)((dto) => dto.accountScope === "INTERNATIONAL"),
|
|
1504
|
+
(0, import_class_validator40.IsNotEmpty)({ message: "IBAN is required for INTERNATIONAL accounts." })
|
|
1475
1505
|
], FreelancerBankDetailsDto.prototype, "iban", 2);
|
|
1476
1506
|
__decorateClass([
|
|
1477
|
-
(0,
|
|
1507
|
+
(0, import_class_validator40.IsOptional)()
|
|
1478
1508
|
], FreelancerBankDetailsDto.prototype, "accountType", 2);
|
|
1479
1509
|
__decorateClass([
|
|
1480
|
-
(0,
|
|
1510
|
+
(0, import_class_validator40.IsEnum)(BankAccountScope, {
|
|
1481
1511
|
message: `Type of Account Scope must be one of: ${Object.values(
|
|
1482
1512
|
BankAccountScope
|
|
1483
1513
|
).join(", ")}`
|
|
@@ -1497,7 +1527,7 @@ var SYSTEM_PREFERENCES_PATTERN = {
|
|
|
1497
1527
|
};
|
|
1498
1528
|
|
|
1499
1529
|
// src/modules/system-preference/dto/system-preference.dto.ts
|
|
1500
|
-
var
|
|
1530
|
+
var import_class_validator41 = require("class-validator");
|
|
1501
1531
|
var SystemPreferenceKey = /* @__PURE__ */ ((SystemPreferenceKey2) => {
|
|
1502
1532
|
SystemPreferenceKey2["EMAIL_NOTIFICATION"] = "EMAIL_NOTIFICATION";
|
|
1503
1533
|
SystemPreferenceKey2["DARK_MODE"] = "DARK_MODE";
|
|
@@ -1506,10 +1536,10 @@ var SystemPreferenceKey = /* @__PURE__ */ ((SystemPreferenceKey2) => {
|
|
|
1506
1536
|
var SystemPreferenceDto = class {
|
|
1507
1537
|
};
|
|
1508
1538
|
__decorateClass([
|
|
1509
|
-
(0,
|
|
1539
|
+
(0, import_class_validator41.IsBoolean)()
|
|
1510
1540
|
], SystemPreferenceDto.prototype, "value", 2);
|
|
1511
1541
|
__decorateClass([
|
|
1512
|
-
(0,
|
|
1542
|
+
(0, import_class_validator41.IsEnum)(SystemPreferenceKey, {
|
|
1513
1543
|
message: `key must be one of: ${Object.values(
|
|
1514
1544
|
SystemPreferenceKey
|
|
1515
1545
|
).join(", ")}`
|
|
@@ -1529,7 +1559,7 @@ var RATING_PATTERN = {
|
|
|
1529
1559
|
};
|
|
1530
1560
|
|
|
1531
1561
|
// src/modules/rating/dto/add.rating.dto.ts
|
|
1532
|
-
var
|
|
1562
|
+
var import_class_validator42 = require("class-validator");
|
|
1533
1563
|
|
|
1534
1564
|
// src/entities/rating.entity.ts
|
|
1535
1565
|
var import_typeorm47 = require("typeorm");
|
|
@@ -4192,22 +4222,22 @@ Rating = __decorateClass([
|
|
|
4192
4222
|
var CreateRatingDto = class {
|
|
4193
4223
|
};
|
|
4194
4224
|
__decorateClass([
|
|
4195
|
-
(0,
|
|
4196
|
-
(0,
|
|
4225
|
+
(0, import_class_validator42.IsInt)({ message: "Reviewee ID must be a valid integer" }),
|
|
4226
|
+
(0, import_class_validator42.IsNotEmpty)({ message: "Reviewee ID is required" })
|
|
4197
4227
|
], CreateRatingDto.prototype, "revieweeId", 2);
|
|
4198
4228
|
__decorateClass([
|
|
4199
|
-
(0,
|
|
4229
|
+
(0, import_class_validator42.IsEnum)(RatingTypeEnum, {
|
|
4200
4230
|
message: `Rating type must be one of: ${Object.values(RatingTypeEnum).join(", ")}`
|
|
4201
4231
|
})
|
|
4202
4232
|
], CreateRatingDto.prototype, "ratingType", 2);
|
|
4203
4233
|
__decorateClass([
|
|
4204
|
-
(0,
|
|
4205
|
-
(0,
|
|
4206
|
-
(0,
|
|
4234
|
+
(0, import_class_validator42.IsInt)({ message: "Rating must be an integer value" }),
|
|
4235
|
+
(0, import_class_validator42.Min)(1, { message: "Rating must be at least 1" }),
|
|
4236
|
+
(0, import_class_validator42.Max)(5, { message: "Rating must be at most 5" })
|
|
4207
4237
|
], CreateRatingDto.prototype, "rating", 2);
|
|
4208
4238
|
__decorateClass([
|
|
4209
|
-
(0,
|
|
4210
|
-
(0,
|
|
4239
|
+
(0, import_class_validator42.IsOptional)(),
|
|
4240
|
+
(0, import_class_validator42.IsString)({ message: "Review must be a string" })
|
|
4211
4241
|
], CreateRatingDto.prototype, "review", 2);
|
|
4212
4242
|
|
|
4213
4243
|
// src/modules/company-role/pattern/pattern.ts
|
|
@@ -4223,57 +4253,57 @@ var COMPANY_ROLES_PATTERNS = {
|
|
|
4223
4253
|
};
|
|
4224
4254
|
|
|
4225
4255
|
// src/modules/company-role/dto/create-company-role.dto.ts
|
|
4226
|
-
var
|
|
4256
|
+
var import_class_validator43 = require("class-validator");
|
|
4227
4257
|
var CreateCompanyRoleDto = class {
|
|
4228
4258
|
};
|
|
4229
4259
|
__decorateClass([
|
|
4230
|
-
(0,
|
|
4260
|
+
(0, import_class_validator43.IsNotEmpty)({ message: "Please enter company role name." })
|
|
4231
4261
|
], CreateCompanyRoleDto.prototype, "name", 2);
|
|
4232
4262
|
__decorateClass([
|
|
4233
|
-
(0,
|
|
4263
|
+
(0, import_class_validator43.IsNotEmpty)({ message: "Please enter company role slug" })
|
|
4234
4264
|
], CreateCompanyRoleDto.prototype, "slug", 2);
|
|
4235
4265
|
__decorateClass([
|
|
4236
|
-
(0,
|
|
4266
|
+
(0, import_class_validator43.IsNotEmpty)({ message: "Please enter description" })
|
|
4237
4267
|
], CreateCompanyRoleDto.prototype, "description", 2);
|
|
4238
4268
|
__decorateClass([
|
|
4239
|
-
(0,
|
|
4240
|
-
(0,
|
|
4241
|
-
(0,
|
|
4269
|
+
(0, import_class_validator43.IsArray)({ message: "Permission IDs must be an array." }),
|
|
4270
|
+
(0, import_class_validator43.ArrayNotEmpty)({ message: "Please select at least one permission." }),
|
|
4271
|
+
(0, import_class_validator43.IsInt)({ each: true, message: "Each permission ID must be an integer." })
|
|
4242
4272
|
], CreateCompanyRoleDto.prototype, "permissionIds", 2);
|
|
4243
4273
|
__decorateClass([
|
|
4244
|
-
(0,
|
|
4245
|
-
(0,
|
|
4274
|
+
(0, import_class_validator43.IsOptional)(),
|
|
4275
|
+
(0, import_class_validator43.IsBoolean)({ message: "Is active must be a boolean value" })
|
|
4246
4276
|
], CreateCompanyRoleDto.prototype, "isActive", 2);
|
|
4247
4277
|
|
|
4248
4278
|
// src/modules/company-role/dto/update-company-role.dto.ts
|
|
4249
|
-
var
|
|
4279
|
+
var import_class_validator44 = require("class-validator");
|
|
4250
4280
|
var UpdateCompanyRoleDto = class {
|
|
4251
4281
|
};
|
|
4252
4282
|
__decorateClass([
|
|
4253
|
-
(0,
|
|
4283
|
+
(0, import_class_validator44.IsNotEmpty)({ message: "Please enter company name." })
|
|
4254
4284
|
], UpdateCompanyRoleDto.prototype, "name", 2);
|
|
4255
4285
|
__decorateClass([
|
|
4256
|
-
(0,
|
|
4286
|
+
(0, import_class_validator44.IsNotEmpty)({ message: "Please enter slug" })
|
|
4257
4287
|
], UpdateCompanyRoleDto.prototype, "slug", 2);
|
|
4258
4288
|
__decorateClass([
|
|
4259
|
-
(0,
|
|
4289
|
+
(0, import_class_validator44.IsNotEmpty)({ message: "Please enter description" })
|
|
4260
4290
|
], UpdateCompanyRoleDto.prototype, "description", 2);
|
|
4261
4291
|
__decorateClass([
|
|
4262
|
-
(0,
|
|
4263
|
-
(0,
|
|
4264
|
-
(0,
|
|
4292
|
+
(0, import_class_validator44.IsArray)({ message: "Permission IDs must be an array." }),
|
|
4293
|
+
(0, import_class_validator44.ArrayNotEmpty)({ message: "Please select at least one permission." }),
|
|
4294
|
+
(0, import_class_validator44.IsInt)({ each: true, message: "Each permission ID must be an integer." })
|
|
4265
4295
|
], UpdateCompanyRoleDto.prototype, "permissionIds", 2);
|
|
4266
4296
|
__decorateClass([
|
|
4267
|
-
(0,
|
|
4268
|
-
(0,
|
|
4297
|
+
(0, import_class_validator44.IsOptional)(),
|
|
4298
|
+
(0, import_class_validator44.IsBoolean)({ message: "Is active must be a boolean value" })
|
|
4269
4299
|
], UpdateCompanyRoleDto.prototype, "isActive", 2);
|
|
4270
4300
|
|
|
4271
4301
|
// src/modules/company-role/dto/toggle-company-role-visibility.dto.ts
|
|
4272
|
-
var
|
|
4302
|
+
var import_class_validator45 = require("class-validator");
|
|
4273
4303
|
var ToggleCompanyRoleVisibilityDto = class {
|
|
4274
4304
|
};
|
|
4275
4305
|
__decorateClass([
|
|
4276
|
-
(0,
|
|
4306
|
+
(0, import_class_validator45.IsBoolean)()
|
|
4277
4307
|
], ToggleCompanyRoleVisibilityDto.prototype, "isActive", 2);
|
|
4278
4308
|
|
|
4279
4309
|
// src/modules/user/freelancer-experience/pattern/pattern.ts
|
|
@@ -4283,35 +4313,35 @@ var FREELANCER_EXPERIENCE_PATTERN = {
|
|
|
4283
4313
|
};
|
|
4284
4314
|
|
|
4285
4315
|
// src/modules/user/freelancer-experience/dto/freelancer-experience.dto.ts
|
|
4286
|
-
var
|
|
4316
|
+
var import_class_validator46 = require("class-validator");
|
|
4287
4317
|
var import_class_transformer3 = require("class-transformer");
|
|
4288
4318
|
var ExperienceDto = class {
|
|
4289
4319
|
};
|
|
4290
4320
|
__decorateClass([
|
|
4291
|
-
(0,
|
|
4321
|
+
(0, import_class_validator46.IsOptional)()
|
|
4292
4322
|
], ExperienceDto.prototype, "uuid", 2);
|
|
4293
4323
|
__decorateClass([
|
|
4294
|
-
(0,
|
|
4295
|
-
(0,
|
|
4324
|
+
(0, import_class_validator46.IsNotEmpty)(),
|
|
4325
|
+
(0, import_class_validator46.IsString)()
|
|
4296
4326
|
], ExperienceDto.prototype, "companyName", 2);
|
|
4297
4327
|
__decorateClass([
|
|
4298
|
-
(0,
|
|
4299
|
-
(0,
|
|
4328
|
+
(0, import_class_validator46.IsNotEmpty)(),
|
|
4329
|
+
(0, import_class_validator46.IsString)()
|
|
4300
4330
|
], ExperienceDto.prototype, "designation", 2);
|
|
4301
4331
|
__decorateClass([
|
|
4302
|
-
(0,
|
|
4303
|
-
(0,
|
|
4332
|
+
(0, import_class_validator46.IsNotEmpty)(),
|
|
4333
|
+
(0, import_class_validator46.IsString)()
|
|
4304
4334
|
], ExperienceDto.prototype, "jobDuration", 2);
|
|
4305
4335
|
__decorateClass([
|
|
4306
|
-
(0,
|
|
4307
|
-
(0,
|
|
4308
|
-
(0,
|
|
4336
|
+
(0, import_class_validator46.IsOptional)(),
|
|
4337
|
+
(0, import_class_validator46.IsString)(),
|
|
4338
|
+
(0, import_class_validator46.MaxLength)(5e3, { message: "Description must not exceed 5000 characters" })
|
|
4309
4339
|
], ExperienceDto.prototype, "description", 2);
|
|
4310
4340
|
var FreelancerExperienceDto = class {
|
|
4311
4341
|
};
|
|
4312
4342
|
__decorateClass([
|
|
4313
|
-
(0,
|
|
4314
|
-
(0,
|
|
4343
|
+
(0, import_class_validator46.ValidateNested)({ each: true }),
|
|
4344
|
+
(0, import_class_validator46.ArrayMinSize)(1, { message: "At least one experience is required." }),
|
|
4315
4345
|
(0, import_class_transformer3.Type)(() => ExperienceDto)
|
|
4316
4346
|
], FreelancerExperienceDto.prototype, "experiences", 2);
|
|
4317
4347
|
|
|
@@ -4328,43 +4358,43 @@ var COMPANY_MEMBERS_PATTERNS = {
|
|
|
4328
4358
|
};
|
|
4329
4359
|
|
|
4330
4360
|
// src/modules/company-member/dto/create-company-member.dto.ts
|
|
4331
|
-
var
|
|
4361
|
+
var import_class_validator47 = require("class-validator");
|
|
4332
4362
|
var CreateCompanyMemberDto = class {
|
|
4333
4363
|
};
|
|
4334
4364
|
__decorateClass([
|
|
4335
|
-
(0,
|
|
4365
|
+
(0, import_class_validator47.IsNotEmpty)({ message: "Please enter name." })
|
|
4336
4366
|
], CreateCompanyMemberDto.prototype, "name", 2);
|
|
4337
4367
|
__decorateClass([
|
|
4338
|
-
(0,
|
|
4368
|
+
(0, import_class_validator47.IsNotEmpty)({ message: "Please enter email" })
|
|
4339
4369
|
], CreateCompanyMemberDto.prototype, "email", 2);
|
|
4340
4370
|
__decorateClass([
|
|
4341
|
-
(0,
|
|
4342
|
-
(0,
|
|
4343
|
-
(0,
|
|
4371
|
+
(0, import_class_validator47.IsArray)({ message: "Role IDs must be an array." }),
|
|
4372
|
+
(0, import_class_validator47.ArrayNotEmpty)({ message: "Please select at least one role." }),
|
|
4373
|
+
(0, import_class_validator47.IsInt)({ each: true, message: "Each role ID must be an integer." })
|
|
4344
4374
|
], CreateCompanyMemberDto.prototype, "roleIds", 2);
|
|
4345
4375
|
|
|
4346
4376
|
// src/modules/company-member/dto/update-company-member.dto.ts
|
|
4347
|
-
var
|
|
4377
|
+
var import_class_validator48 = require("class-validator");
|
|
4348
4378
|
var UpdateCompanyMemberDto = class {
|
|
4349
4379
|
};
|
|
4350
4380
|
__decorateClass([
|
|
4351
|
-
(0,
|
|
4381
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter name." })
|
|
4352
4382
|
], UpdateCompanyMemberDto.prototype, "name", 2);
|
|
4353
4383
|
__decorateClass([
|
|
4354
|
-
(0,
|
|
4384
|
+
(0, import_class_validator48.IsNotEmpty)({ message: "Please enter email" })
|
|
4355
4385
|
], UpdateCompanyMemberDto.prototype, "email", 2);
|
|
4356
4386
|
__decorateClass([
|
|
4357
|
-
(0,
|
|
4358
|
-
(0,
|
|
4359
|
-
(0,
|
|
4387
|
+
(0, import_class_validator48.IsArray)({ message: "Role IDs must be an array." }),
|
|
4388
|
+
(0, import_class_validator48.ArrayNotEmpty)({ message: "Please select at least one role." }),
|
|
4389
|
+
(0, import_class_validator48.IsInt)({ each: true, message: "Each role ID must be an integer." })
|
|
4360
4390
|
], UpdateCompanyMemberDto.prototype, "roleIds", 2);
|
|
4361
4391
|
|
|
4362
4392
|
// src/modules/company-member/dto/toggle-company-member-visibility.dto.ts
|
|
4363
|
-
var
|
|
4393
|
+
var import_class_validator49 = require("class-validator");
|
|
4364
4394
|
var ToggleCompanyMemberVisibilityDto = class {
|
|
4365
4395
|
};
|
|
4366
4396
|
__decorateClass([
|
|
4367
|
-
(0,
|
|
4397
|
+
(0, import_class_validator49.IsBoolean)()
|
|
4368
4398
|
], ToggleCompanyMemberVisibilityDto.prototype, "isActive", 2);
|
|
4369
4399
|
|
|
4370
4400
|
// src/modules/user/freelancer-education/pattern/pattern.ts
|
|
@@ -4374,31 +4404,31 @@ var FREELANCER_EDUCATION_PATTERN = {
|
|
|
4374
4404
|
};
|
|
4375
4405
|
|
|
4376
4406
|
// src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
|
|
4377
|
-
var
|
|
4407
|
+
var import_class_validator50 = require("class-validator");
|
|
4378
4408
|
var import_class_transformer4 = require("class-transformer");
|
|
4379
4409
|
var EducationDto = class {
|
|
4380
4410
|
};
|
|
4381
4411
|
__decorateClass([
|
|
4382
|
-
(0,
|
|
4412
|
+
(0, import_class_validator50.IsOptional)()
|
|
4383
4413
|
], EducationDto.prototype, "uuid", 2);
|
|
4384
4414
|
__decorateClass([
|
|
4385
|
-
(0,
|
|
4386
|
-
(0,
|
|
4415
|
+
(0, import_class_validator50.IsString)(),
|
|
4416
|
+
(0, import_class_validator50.IsNotEmpty)({ message: "Please Enter Degree " })
|
|
4387
4417
|
], EducationDto.prototype, "degree", 2);
|
|
4388
4418
|
__decorateClass([
|
|
4389
|
-
(0,
|
|
4390
|
-
(0,
|
|
4419
|
+
(0, import_class_validator50.IsString)(),
|
|
4420
|
+
(0, import_class_validator50.IsNotEmpty)({ message: "Please Enter University " })
|
|
4391
4421
|
], EducationDto.prototype, "university", 2);
|
|
4392
4422
|
__decorateClass([
|
|
4393
|
-
(0,
|
|
4394
|
-
(0,
|
|
4423
|
+
(0, import_class_validator50.IsString)(),
|
|
4424
|
+
(0, import_class_validator50.IsNotEmpty)({ message: "Please Enter Year of Graduation " })
|
|
4395
4425
|
], EducationDto.prototype, "yearOfGraduation", 2);
|
|
4396
4426
|
var FreelancerEducationDto = class {
|
|
4397
4427
|
};
|
|
4398
4428
|
__decorateClass([
|
|
4399
|
-
(0,
|
|
4400
|
-
(0,
|
|
4401
|
-
(0,
|
|
4429
|
+
(0, import_class_validator50.IsArray)(),
|
|
4430
|
+
(0, import_class_validator50.ArrayMinSize)(1, { message: "At least one education is required." }),
|
|
4431
|
+
(0, import_class_validator50.ValidateNested)({ each: true }),
|
|
4402
4432
|
(0, import_class_transformer4.Type)(() => EducationDto)
|
|
4403
4433
|
], FreelancerEducationDto.prototype, "educations", 2);
|
|
4404
4434
|
|
|
@@ -4409,67 +4439,67 @@ var FREELANCER_PROJECT_PATTERN = {
|
|
|
4409
4439
|
};
|
|
4410
4440
|
|
|
4411
4441
|
// src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
|
|
4412
|
-
var
|
|
4442
|
+
var import_class_validator51 = require("class-validator");
|
|
4413
4443
|
var import_class_transformer5 = require("class-transformer");
|
|
4414
4444
|
var ProjectDto = class {
|
|
4415
4445
|
};
|
|
4416
4446
|
__decorateClass([
|
|
4417
|
-
(0,
|
|
4447
|
+
(0, import_class_validator51.IsOptional)()
|
|
4418
4448
|
], ProjectDto.prototype, "uuid", 2);
|
|
4419
4449
|
__decorateClass([
|
|
4420
|
-
(0,
|
|
4421
|
-
(0,
|
|
4450
|
+
(0, import_class_validator51.IsString)(),
|
|
4451
|
+
(0, import_class_validator51.IsNotEmpty)({ message: "Please Enter Project Name " })
|
|
4422
4452
|
], ProjectDto.prototype, "projectName", 2);
|
|
4423
4453
|
__decorateClass([
|
|
4424
|
-
(0,
|
|
4425
|
-
(0,
|
|
4454
|
+
(0, import_class_validator51.IsDateString)(),
|
|
4455
|
+
(0, import_class_validator51.IsNotEmpty)({ message: "Please Enter Start Date " })
|
|
4426
4456
|
], ProjectDto.prototype, "startDate", 2);
|
|
4427
4457
|
__decorateClass([
|
|
4428
|
-
(0,
|
|
4429
|
-
(0,
|
|
4458
|
+
(0, import_class_validator51.IsDateString)(),
|
|
4459
|
+
(0, import_class_validator51.IsNotEmpty)({ message: "Please Enter End Date " })
|
|
4430
4460
|
], ProjectDto.prototype, "endDate", 2);
|
|
4431
4461
|
__decorateClass([
|
|
4432
|
-
(0,
|
|
4433
|
-
(0,
|
|
4462
|
+
(0, import_class_validator51.IsOptional)(),
|
|
4463
|
+
(0, import_class_validator51.IsString)()
|
|
4434
4464
|
], ProjectDto.prototype, "clientName", 2);
|
|
4435
4465
|
__decorateClass([
|
|
4436
|
-
(0,
|
|
4437
|
-
(0,
|
|
4466
|
+
(0, import_class_validator51.IsOptional)(),
|
|
4467
|
+
(0, import_class_validator51.IsString)()
|
|
4438
4468
|
], ProjectDto.prototype, "gitLink", 2);
|
|
4439
4469
|
__decorateClass([
|
|
4440
|
-
(0,
|
|
4441
|
-
(0,
|
|
4442
|
-
(0,
|
|
4470
|
+
(0, import_class_validator51.IsOptional)(),
|
|
4471
|
+
(0, import_class_validator51.IsString)(),
|
|
4472
|
+
(0, import_class_validator51.MaxLength)(5e3, { message: "Description must not exceed 5000 characters" })
|
|
4443
4473
|
], ProjectDto.prototype, "description", 2);
|
|
4444
4474
|
var CaseStudyDto = class {
|
|
4445
4475
|
};
|
|
4446
4476
|
__decorateClass([
|
|
4447
|
-
(0,
|
|
4477
|
+
(0, import_class_validator51.IsOptional)()
|
|
4448
4478
|
], CaseStudyDto.prototype, "uuid", 2);
|
|
4449
4479
|
__decorateClass([
|
|
4450
|
-
(0,
|
|
4451
|
-
(0,
|
|
4480
|
+
(0, import_class_validator51.IsString)(),
|
|
4481
|
+
(0, import_class_validator51.IsNotEmpty)({ message: "Please Enter Project Name " })
|
|
4452
4482
|
], CaseStudyDto.prototype, "projectName", 2);
|
|
4453
4483
|
__decorateClass([
|
|
4454
|
-
(0,
|
|
4455
|
-
(0,
|
|
4484
|
+
(0, import_class_validator51.IsOptional)(),
|
|
4485
|
+
(0, import_class_validator51.IsString)()
|
|
4456
4486
|
], CaseStudyDto.prototype, "caseStudyLink", 2);
|
|
4457
4487
|
__decorateClass([
|
|
4458
|
-
(0,
|
|
4459
|
-
(0,
|
|
4460
|
-
(0,
|
|
4488
|
+
(0, import_class_validator51.IsOptional)(),
|
|
4489
|
+
(0, import_class_validator51.IsString)(),
|
|
4490
|
+
(0, import_class_validator51.MaxLength)(5e3, { message: "Description must not exceed 5000 characters" })
|
|
4461
4491
|
], CaseStudyDto.prototype, "description", 2);
|
|
4462
4492
|
var FreelancerProjectDto = class {
|
|
4463
4493
|
};
|
|
4464
4494
|
__decorateClass([
|
|
4465
|
-
(0,
|
|
4466
|
-
(0,
|
|
4467
|
-
(0,
|
|
4495
|
+
(0, import_class_validator51.IsArray)(),
|
|
4496
|
+
(0, import_class_validator51.ArrayMinSize)(1, { message: "At least one project is required." }),
|
|
4497
|
+
(0, import_class_validator51.ValidateNested)({ each: true }),
|
|
4468
4498
|
(0, import_class_transformer5.Type)(() => ProjectDto)
|
|
4469
4499
|
], FreelancerProjectDto.prototype, "projects", 2);
|
|
4470
4500
|
__decorateClass([
|
|
4471
|
-
(0,
|
|
4472
|
-
(0,
|
|
4501
|
+
(0, import_class_validator51.IsArray)(),
|
|
4502
|
+
(0, import_class_validator51.ValidateNested)({ each: true }),
|
|
4473
4503
|
(0, import_class_transformer5.Type)(() => CaseStudyDto)
|
|
4474
4504
|
], FreelancerProjectDto.prototype, "casestudies", 2);
|
|
4475
4505
|
|
|
@@ -4485,7 +4515,7 @@ var FREELANCER_SKILL_PATTERN = {
|
|
|
4485
4515
|
};
|
|
4486
4516
|
|
|
4487
4517
|
// src/modules/user/freelancer-skill/dto/freelancer-skill.dto.ts
|
|
4488
|
-
var
|
|
4518
|
+
var import_class_validator52 = require("class-validator");
|
|
4489
4519
|
var import_class_transformer6 = require("class-transformer");
|
|
4490
4520
|
var FreelancerSkillDto = class {
|
|
4491
4521
|
constructor() {
|
|
@@ -4495,22 +4525,22 @@ var FreelancerSkillDto = class {
|
|
|
4495
4525
|
}
|
|
4496
4526
|
};
|
|
4497
4527
|
__decorateClass([
|
|
4498
|
-
(0,
|
|
4499
|
-
(0,
|
|
4528
|
+
(0, import_class_validator52.IsOptional)(),
|
|
4529
|
+
(0, import_class_validator52.IsArray)(),
|
|
4500
4530
|
(0, import_class_transformer6.Type)(() => String),
|
|
4501
|
-
(0,
|
|
4531
|
+
(0, import_class_validator52.IsString)({ each: true })
|
|
4502
4532
|
], FreelancerSkillDto.prototype, "coreSkills", 2);
|
|
4503
4533
|
__decorateClass([
|
|
4504
|
-
(0,
|
|
4505
|
-
(0,
|
|
4534
|
+
(0, import_class_validator52.IsOptional)(),
|
|
4535
|
+
(0, import_class_validator52.IsArray)(),
|
|
4506
4536
|
(0, import_class_transformer6.Type)(() => String),
|
|
4507
|
-
(0,
|
|
4537
|
+
(0, import_class_validator52.IsString)({ each: true })
|
|
4508
4538
|
], FreelancerSkillDto.prototype, "tools", 2);
|
|
4509
4539
|
__decorateClass([
|
|
4510
|
-
(0,
|
|
4511
|
-
(0,
|
|
4540
|
+
(0, import_class_validator52.IsOptional)(),
|
|
4541
|
+
(0, import_class_validator52.IsArray)(),
|
|
4512
4542
|
(0, import_class_transformer6.Type)(() => String),
|
|
4513
|
-
(0,
|
|
4543
|
+
(0, import_class_validator52.IsString)({ each: true })
|
|
4514
4544
|
], FreelancerSkillDto.prototype, "frameworks", 2);
|
|
4515
4545
|
|
|
4516
4546
|
// src/modules/freelancer-admin/pattern/pattern.ts
|
|
@@ -4526,7 +4556,7 @@ var ADMIN_FREELANCER_PATTERN = {
|
|
|
4526
4556
|
};
|
|
4527
4557
|
|
|
4528
4558
|
// src/modules/freelancer-admin/dto/create-freelancer.dto.ts
|
|
4529
|
-
var
|
|
4559
|
+
var import_class_validator53 = require("class-validator");
|
|
4530
4560
|
var import_class_transformer7 = require("class-transformer");
|
|
4531
4561
|
var NatureOfWorkEnum = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
|
|
4532
4562
|
NatureOfWorkEnum3["FULLTIME"] = "FULLTIME";
|
|
@@ -4543,84 +4573,84 @@ var ModeOfWorkEnum = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
|
|
|
4543
4573
|
var CreateFreelancerDto = class {
|
|
4544
4574
|
};
|
|
4545
4575
|
__decorateClass([
|
|
4546
|
-
(0,
|
|
4547
|
-
(0,
|
|
4576
|
+
(0, import_class_validator53.IsString)({ message: "Full name must be a string" }),
|
|
4577
|
+
(0, import_class_validator53.MaxLength)(100, { message: "Full name must not exceed 100 characters" })
|
|
4548
4578
|
], CreateFreelancerDto.prototype, "fullName", 2);
|
|
4549
4579
|
__decorateClass([
|
|
4550
|
-
(0,
|
|
4580
|
+
(0, import_class_validator53.IsEmail)({}, { message: "Invalid email address" })
|
|
4551
4581
|
], CreateFreelancerDto.prototype, "email", 2);
|
|
4552
4582
|
__decorateClass([
|
|
4553
|
-
(0,
|
|
4583
|
+
(0, import_class_validator53.IsString)({ message: "Mobile code must be a string (e.g., +1)" })
|
|
4554
4584
|
], CreateFreelancerDto.prototype, "mobileCode", 2);
|
|
4555
4585
|
__decorateClass([
|
|
4556
|
-
(0,
|
|
4586
|
+
(0, import_class_validator53.IsString)({ message: "Mobile must be a string (e.g., 1243253534)" })
|
|
4557
4587
|
], CreateFreelancerDto.prototype, "mobile", 2);
|
|
4558
4588
|
__decorateClass([
|
|
4559
|
-
(0,
|
|
4560
|
-
(0,
|
|
4561
|
-
(0,
|
|
4562
|
-
(0,
|
|
4589
|
+
(0, import_class_validator53.IsNotEmpty)({ message: "Please enter password." }),
|
|
4590
|
+
(0, import_class_validator53.MinLength)(6),
|
|
4591
|
+
(0, import_class_validator53.MaxLength)(32),
|
|
4592
|
+
(0, import_class_validator53.Matches)(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
4563
4593
|
message: "Password must include letters, numbers and symbols."
|
|
4564
4594
|
})
|
|
4565
4595
|
], CreateFreelancerDto.prototype, "password", 2);
|
|
4566
4596
|
__decorateClass([
|
|
4567
|
-
(0,
|
|
4597
|
+
(0, import_class_validator53.IsNotEmpty)({ message: "Please enter confirm password." }),
|
|
4568
4598
|
Match("confirmPassword", { message: "Passwords do not match" })
|
|
4569
4599
|
], CreateFreelancerDto.prototype, "confirmPassword", 2);
|
|
4570
4600
|
__decorateClass([
|
|
4571
|
-
(0,
|
|
4601
|
+
(0, import_class_validator53.IsBoolean)({ message: "Developer flag must be true or false" }),
|
|
4572
4602
|
(0, import_class_transformer7.Type)(() => Boolean)
|
|
4573
4603
|
], CreateFreelancerDto.prototype, "developer", 2);
|
|
4574
4604
|
__decorateClass([
|
|
4575
|
-
(0,
|
|
4605
|
+
(0, import_class_validator53.IsEnum)(NatureOfWorkEnum, {
|
|
4576
4606
|
message: `Nature of work must be one of: ${Object.values(
|
|
4577
4607
|
NatureOfWorkEnum
|
|
4578
4608
|
).join(", ")}`
|
|
4579
4609
|
})
|
|
4580
4610
|
], CreateFreelancerDto.prototype, "natureOfWork", 2);
|
|
4581
4611
|
__decorateClass([
|
|
4582
|
-
(0,
|
|
4583
|
-
(0,
|
|
4612
|
+
(0, import_class_validator53.IsNumber)({}, { message: "Expected hourly compensation must be a number" }),
|
|
4613
|
+
(0, import_class_validator53.Min)(0, { message: "Expected hourly compensation must be 0 or more" }),
|
|
4584
4614
|
(0, import_class_transformer7.Type)(() => Number)
|
|
4585
4615
|
], CreateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
|
|
4586
4616
|
__decorateClass([
|
|
4587
|
-
(0,
|
|
4617
|
+
(0, import_class_validator53.IsEnum)(ModeOfWorkEnum, {
|
|
4588
4618
|
message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum).join(
|
|
4589
4619
|
", "
|
|
4590
4620
|
)}`
|
|
4591
4621
|
})
|
|
4592
4622
|
], CreateFreelancerDto.prototype, "modeOfWork", 2);
|
|
4593
4623
|
__decorateClass([
|
|
4594
|
-
(0,
|
|
4624
|
+
(0, import_class_validator53.IsBoolean)({ message: "isImmediateJoiner must be true or false" }),
|
|
4595
4625
|
(0, import_class_transformer7.Type)(() => Boolean)
|
|
4596
4626
|
], CreateFreelancerDto.prototype, "isImmediateJoiner", 2);
|
|
4597
4627
|
__decorateClass([
|
|
4598
|
-
(0,
|
|
4599
|
-
(0,
|
|
4628
|
+
(0, import_class_validator53.ValidateIf)((o) => o.isImmediateJoiner === false),
|
|
4629
|
+
(0, import_class_validator53.IsNotEmpty)({ message: "Please enter availability to join." })
|
|
4600
4630
|
], CreateFreelancerDto.prototype, "availabilityToJoin", 2);
|
|
4601
4631
|
__decorateClass([
|
|
4602
|
-
(0,
|
|
4603
|
-
(0,
|
|
4632
|
+
(0, import_class_validator53.IsOptional)(),
|
|
4633
|
+
(0, import_class_validator53.IsUrl)({}, { message: "LinkedIn profile link must be a valid URL" })
|
|
4604
4634
|
], CreateFreelancerDto.prototype, "linkedinProfileLink", 2);
|
|
4605
4635
|
__decorateClass([
|
|
4606
|
-
(0,
|
|
4607
|
-
(0,
|
|
4636
|
+
(0, import_class_validator53.IsOptional)(),
|
|
4637
|
+
(0, import_class_validator53.IsString)({ message: "Kaggle profile link must be a string" })
|
|
4608
4638
|
], CreateFreelancerDto.prototype, "kaggleProfileLink", 2);
|
|
4609
4639
|
__decorateClass([
|
|
4610
|
-
(0,
|
|
4611
|
-
(0,
|
|
4640
|
+
(0, import_class_validator53.IsOptional)(),
|
|
4641
|
+
(0, import_class_validator53.IsUrl)({}, { message: "GitHub profile link must be a valid URL" })
|
|
4612
4642
|
], CreateFreelancerDto.prototype, "githubProfileLink", 2);
|
|
4613
4643
|
__decorateClass([
|
|
4614
|
-
(0,
|
|
4615
|
-
(0,
|
|
4644
|
+
(0, import_class_validator53.IsOptional)(),
|
|
4645
|
+
(0, import_class_validator53.IsUrl)({}, { message: "StackOverflow profile link must be a valid URL" })
|
|
4616
4646
|
], CreateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
|
|
4617
4647
|
__decorateClass([
|
|
4618
|
-
(0,
|
|
4619
|
-
(0,
|
|
4648
|
+
(0, import_class_validator53.IsOptional)(),
|
|
4649
|
+
(0, import_class_validator53.IsUrl)({}, { message: "Portfolio link must be a valid URL" })
|
|
4620
4650
|
], CreateFreelancerDto.prototype, "portfolioLink", 2);
|
|
4621
4651
|
|
|
4622
4652
|
// src/modules/freelancer-admin/dto/update-freelancer.dto.ts
|
|
4623
|
-
var
|
|
4653
|
+
var import_class_validator54 = require("class-validator");
|
|
4624
4654
|
var import_class_transformer8 = require("class-transformer");
|
|
4625
4655
|
var NatureOfWorkEnum2 = /* @__PURE__ */ ((NatureOfWorkEnum3) => {
|
|
4626
4656
|
NatureOfWorkEnum3["FULLTIME"] = "FULLTIME";
|
|
@@ -4637,86 +4667,86 @@ var ModeOfWorkEnum2 = /* @__PURE__ */ ((ModeOfWorkEnum3) => {
|
|
|
4637
4667
|
var UpdateFreelancerDto = class {
|
|
4638
4668
|
};
|
|
4639
4669
|
__decorateClass([
|
|
4640
|
-
(0,
|
|
4641
|
-
(0,
|
|
4642
|
-
(0,
|
|
4670
|
+
(0, import_class_validator54.IsOptional)(),
|
|
4671
|
+
(0, import_class_validator54.IsString)({ message: "Full name must be a string" }),
|
|
4672
|
+
(0, import_class_validator54.MaxLength)(100, { message: "Full name must not exceed 100 characters" })
|
|
4643
4673
|
], UpdateFreelancerDto.prototype, "fullName", 2);
|
|
4644
4674
|
__decorateClass([
|
|
4645
|
-
(0,
|
|
4646
|
-
(0,
|
|
4675
|
+
(0, import_class_validator54.IsOptional)(),
|
|
4676
|
+
(0, import_class_validator54.IsEmail)({}, { message: "Invalid email address" })
|
|
4647
4677
|
], UpdateFreelancerDto.prototype, "email", 2);
|
|
4648
4678
|
__decorateClass([
|
|
4649
|
-
(0,
|
|
4650
|
-
(0,
|
|
4679
|
+
(0, import_class_validator54.IsOptional)(),
|
|
4680
|
+
(0, import_class_validator54.IsString)({ message: "Mobile code must be a string (e.g., +1)" })
|
|
4651
4681
|
], UpdateFreelancerDto.prototype, "mobileCode", 2);
|
|
4652
4682
|
__decorateClass([
|
|
4653
|
-
(0,
|
|
4654
|
-
(0,
|
|
4683
|
+
(0, import_class_validator54.IsOptional)(),
|
|
4684
|
+
(0, import_class_validator54.IsString)({ message: "Mobile must be a string (e.g., 1243253534)" })
|
|
4655
4685
|
], UpdateFreelancerDto.prototype, "mobile", 2);
|
|
4656
4686
|
__decorateClass([
|
|
4657
|
-
(0,
|
|
4687
|
+
(0, import_class_validator54.IsOptional)(),
|
|
4658
4688
|
(0, import_class_transformer8.Transform)(({ value }) => value === null || value === "" ? void 0 : value),
|
|
4659
|
-
(0,
|
|
4660
|
-
(0,
|
|
4661
|
-
(0,
|
|
4689
|
+
(0, import_class_validator54.MinLength)(6, { message: "Password must be at least 6 characters." }),
|
|
4690
|
+
(0, import_class_validator54.MaxLength)(32, { message: "Password must not exceed 32 characters." }),
|
|
4691
|
+
(0, import_class_validator54.Matches)(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
4662
4692
|
message: "Password must include letters, numbers and symbols."
|
|
4663
4693
|
})
|
|
4664
4694
|
], UpdateFreelancerDto.prototype, "password", 2);
|
|
4665
4695
|
__decorateClass([
|
|
4666
|
-
(0,
|
|
4667
|
-
(0,
|
|
4696
|
+
(0, import_class_validator54.IsOptional)(),
|
|
4697
|
+
(0, import_class_validator54.IsBoolean)({ message: "Developer flag must be true or false" }),
|
|
4668
4698
|
(0, import_class_transformer8.Type)(() => Boolean)
|
|
4669
4699
|
], UpdateFreelancerDto.prototype, "developer", 2);
|
|
4670
4700
|
__decorateClass([
|
|
4671
|
-
(0,
|
|
4672
|
-
(0,
|
|
4701
|
+
(0, import_class_validator54.IsOptional)(),
|
|
4702
|
+
(0, import_class_validator54.IsEnum)(NatureOfWorkEnum2, {
|
|
4673
4703
|
message: `Nature of work must be one of: ${Object.values(
|
|
4674
4704
|
NatureOfWorkEnum2
|
|
4675
4705
|
).join(", ")}`
|
|
4676
4706
|
})
|
|
4677
4707
|
], UpdateFreelancerDto.prototype, "natureOfWork", 2);
|
|
4678
4708
|
__decorateClass([
|
|
4679
|
-
(0,
|
|
4680
|
-
(0,
|
|
4681
|
-
(0,
|
|
4709
|
+
(0, import_class_validator54.IsOptional)(),
|
|
4710
|
+
(0, import_class_validator54.IsNumber)({}, { message: "Expected hourly compensation must be a number" }),
|
|
4711
|
+
(0, import_class_validator54.Min)(0, { message: "Expected hourly compensation must be 0 or more" }),
|
|
4682
4712
|
(0, import_class_transformer8.Type)(() => Number)
|
|
4683
4713
|
], UpdateFreelancerDto.prototype, "expectedHourlyCompensation", 2);
|
|
4684
4714
|
__decorateClass([
|
|
4685
|
-
(0,
|
|
4686
|
-
(0,
|
|
4715
|
+
(0, import_class_validator54.IsOptional)(),
|
|
4716
|
+
(0, import_class_validator54.IsEnum)(ModeOfWorkEnum2, {
|
|
4687
4717
|
message: `Mode of work must be one of: ${Object.values(ModeOfWorkEnum2).join(
|
|
4688
4718
|
", "
|
|
4689
4719
|
)}`
|
|
4690
4720
|
})
|
|
4691
4721
|
], UpdateFreelancerDto.prototype, "modeOfWork", 2);
|
|
4692
4722
|
__decorateClass([
|
|
4693
|
-
(0,
|
|
4694
|
-
(0,
|
|
4723
|
+
(0, import_class_validator54.IsOptional)(),
|
|
4724
|
+
(0, import_class_validator54.IsBoolean)({ message: "isImmediateJoiner must be true or false" }),
|
|
4695
4725
|
(0, import_class_transformer8.Type)(() => Boolean)
|
|
4696
4726
|
], UpdateFreelancerDto.prototype, "isImmediateJoiner", 2);
|
|
4697
4727
|
__decorateClass([
|
|
4698
|
-
(0,
|
|
4699
|
-
(0,
|
|
4728
|
+
(0, import_class_validator54.ValidateIf)((o) => o.isImmediateJoiner === false),
|
|
4729
|
+
(0, import_class_validator54.IsNotEmpty)({ message: "Please enter availability to join." })
|
|
4700
4730
|
], UpdateFreelancerDto.prototype, "availabilityToJoin", 2);
|
|
4701
4731
|
__decorateClass([
|
|
4702
|
-
(0,
|
|
4703
|
-
(0,
|
|
4732
|
+
(0, import_class_validator54.IsOptional)(),
|
|
4733
|
+
(0, import_class_validator54.IsUrl)({}, { message: "LinkedIn profile link must be a valid URL" })
|
|
4704
4734
|
], UpdateFreelancerDto.prototype, "linkedinProfileLink", 2);
|
|
4705
4735
|
__decorateClass([
|
|
4706
|
-
(0,
|
|
4707
|
-
(0,
|
|
4736
|
+
(0, import_class_validator54.IsOptional)(),
|
|
4737
|
+
(0, import_class_validator54.IsString)({ message: "Kaggle profile link must be a string" })
|
|
4708
4738
|
], UpdateFreelancerDto.prototype, "kaggleProfileLink", 2);
|
|
4709
4739
|
__decorateClass([
|
|
4710
|
-
(0,
|
|
4711
|
-
(0,
|
|
4740
|
+
(0, import_class_validator54.IsOptional)(),
|
|
4741
|
+
(0, import_class_validator54.IsUrl)({}, { message: "GitHub profile link must be a valid URL" })
|
|
4712
4742
|
], UpdateFreelancerDto.prototype, "githubProfileLink", 2);
|
|
4713
4743
|
__decorateClass([
|
|
4714
|
-
(0,
|
|
4715
|
-
(0,
|
|
4744
|
+
(0, import_class_validator54.IsOptional)(),
|
|
4745
|
+
(0, import_class_validator54.IsUrl)({}, { message: "StackOverflow profile link must be a valid URL" })
|
|
4716
4746
|
], UpdateFreelancerDto.prototype, "stackOverflowProfileLink", 2);
|
|
4717
4747
|
__decorateClass([
|
|
4718
|
-
(0,
|
|
4719
|
-
(0,
|
|
4748
|
+
(0, import_class_validator54.IsOptional)(),
|
|
4749
|
+
(0, import_class_validator54.IsUrl)({}, { message: "Portfolio link must be a valid URL" })
|
|
4720
4750
|
], UpdateFreelancerDto.prototype, "portfolioLink", 2);
|
|
4721
4751
|
|
|
4722
4752
|
// src/modules/client-admin/pattern/pattern.ts
|
|
@@ -4733,7 +4763,7 @@ var CLIENT_ADMIN_PATTERNS = {
|
|
|
4733
4763
|
};
|
|
4734
4764
|
|
|
4735
4765
|
// src/modules/client-admin/dto/create-client.dto.ts
|
|
4736
|
-
var
|
|
4766
|
+
var import_class_validator55 = require("class-validator");
|
|
4737
4767
|
var CreateClientHiringModeEnum = /* @__PURE__ */ ((CreateClientHiringModeEnum2) => {
|
|
4738
4768
|
CreateClientHiringModeEnum2["REMOTE"] = "REMOTE";
|
|
4739
4769
|
CreateClientHiringModeEnum2["ONSITE"] = "ONSITE";
|
|
@@ -4749,70 +4779,70 @@ var CreateClientHiringTypeEnum = /* @__PURE__ */ ((CreateClientHiringTypeEnum2)
|
|
|
4749
4779
|
var CreateClientDto = class {
|
|
4750
4780
|
};
|
|
4751
4781
|
__decorateClass([
|
|
4752
|
-
(0,
|
|
4753
|
-
(0,
|
|
4782
|
+
(0, import_class_validator55.IsNotEmpty)({ message: "Please enter first name." }),
|
|
4783
|
+
(0, import_class_validator55.IsString)()
|
|
4754
4784
|
], CreateClientDto.prototype, "firstName", 2);
|
|
4755
4785
|
__decorateClass([
|
|
4756
|
-
(0,
|
|
4757
|
-
(0,
|
|
4786
|
+
(0, import_class_validator55.IsNotEmpty)({ message: "Please enter last name." }),
|
|
4787
|
+
(0, import_class_validator55.IsString)()
|
|
4758
4788
|
], CreateClientDto.prototype, "lastName", 2);
|
|
4759
4789
|
__decorateClass([
|
|
4760
|
-
(0,
|
|
4761
|
-
(0,
|
|
4790
|
+
(0, import_class_validator55.IsNotEmpty)({ message: "Please enter email." }),
|
|
4791
|
+
(0, import_class_validator55.IsEmail)()
|
|
4762
4792
|
], CreateClientDto.prototype, "email", 2);
|
|
4763
4793
|
__decorateClass([
|
|
4764
|
-
(0,
|
|
4765
|
-
(0,
|
|
4766
|
-
(0,
|
|
4767
|
-
(0,
|
|
4794
|
+
(0, import_class_validator55.IsNotEmpty)({ message: "Please enter password." }),
|
|
4795
|
+
(0, import_class_validator55.MinLength)(6),
|
|
4796
|
+
(0, import_class_validator55.MaxLength)(32),
|
|
4797
|
+
(0, import_class_validator55.Matches)(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
4768
4798
|
message: "Password must include letters, numbers and symbols."
|
|
4769
4799
|
})
|
|
4770
4800
|
], CreateClientDto.prototype, "password", 2);
|
|
4771
4801
|
__decorateClass([
|
|
4772
|
-
(0,
|
|
4802
|
+
(0, import_class_validator55.IsNotEmpty)({ message: "Please enter confirm password." }),
|
|
4773
4803
|
Match("confirmPassword", { message: "Passwords do not match" })
|
|
4774
4804
|
], CreateClientDto.prototype, "confirmPassword", 2);
|
|
4775
4805
|
__decorateClass([
|
|
4776
|
-
(0,
|
|
4777
|
-
(0,
|
|
4806
|
+
(0, import_class_validator55.IsNotEmpty)({ message: "Please enter company name." }),
|
|
4807
|
+
(0, import_class_validator55.IsString)()
|
|
4778
4808
|
], CreateClientDto.prototype, "companyName", 2);
|
|
4779
4809
|
__decorateClass([
|
|
4780
|
-
(0,
|
|
4781
|
-
(0,
|
|
4810
|
+
(0, import_class_validator55.IsArray)({ message: "Skills should be an array." }),
|
|
4811
|
+
(0, import_class_validator55.IsNotEmpty)({ message: "Please enter skills." })
|
|
4782
4812
|
], CreateClientDto.prototype, "skills", 2);
|
|
4783
4813
|
__decorateClass([
|
|
4784
|
-
(0,
|
|
4785
|
-
(0,
|
|
4814
|
+
(0, import_class_validator55.IsNotEmpty)({ message: "Please specify required freelancer count." }),
|
|
4815
|
+
(0, import_class_validator55.IsString)()
|
|
4786
4816
|
], CreateClientDto.prototype, "requiredFreelancer", 2);
|
|
4787
4817
|
__decorateClass([
|
|
4788
|
-
(0,
|
|
4789
|
-
(0,
|
|
4818
|
+
(0, import_class_validator55.IsNotEmpty)({ message: "Please specify the kind of hiring." }),
|
|
4819
|
+
(0, import_class_validator55.IsEnum)(CreateClientHiringTypeEnum)
|
|
4790
4820
|
], CreateClientDto.prototype, "kindOfHiring", 2);
|
|
4791
4821
|
__decorateClass([
|
|
4792
|
-
(0,
|
|
4793
|
-
(0,
|
|
4822
|
+
(0, import_class_validator55.IsNotEmpty)({ message: "Please specify the mode of hire." }),
|
|
4823
|
+
(0, import_class_validator55.IsEnum)(CreateClientHiringModeEnum)
|
|
4794
4824
|
], CreateClientDto.prototype, "modeOfHire", 2);
|
|
4795
4825
|
__decorateClass([
|
|
4796
|
-
(0,
|
|
4797
|
-
(0,
|
|
4826
|
+
(0, import_class_validator55.IsNotEmpty)({ message: "Please let us know how you found us." }),
|
|
4827
|
+
(0, import_class_validator55.IsString)()
|
|
4798
4828
|
], CreateClientDto.prototype, "foundUsOn", 2);
|
|
4799
4829
|
__decorateClass([
|
|
4800
|
-
(0,
|
|
4801
|
-
(0,
|
|
4830
|
+
(0, import_class_validator55.IsOptional)(),
|
|
4831
|
+
(0, import_class_validator55.IsString)()
|
|
4802
4832
|
], CreateClientDto.prototype, "foundUsOnDetail", 2);
|
|
4803
4833
|
|
|
4804
4834
|
// src/modules/client-admin/dto/update-client-status.dto.ts
|
|
4805
|
-
var
|
|
4835
|
+
var import_class_validator56 = require("class-validator");
|
|
4806
4836
|
var UpdateClientAccountStatusDto = class {
|
|
4807
4837
|
};
|
|
4808
4838
|
__decorateClass([
|
|
4809
|
-
(0,
|
|
4810
|
-
(0,
|
|
4839
|
+
(0, import_class_validator56.IsNotEmpty)({ message: "Please enter account status." }),
|
|
4840
|
+
(0, import_class_validator56.IsString)()
|
|
4811
4841
|
], UpdateClientAccountStatusDto.prototype, "accountStatus", 2);
|
|
4812
4842
|
|
|
4813
4843
|
// src/modules/client-admin/dto/update-client.dto.ts
|
|
4814
4844
|
var import_class_transformer9 = require("class-transformer");
|
|
4815
|
-
var
|
|
4845
|
+
var import_class_validator57 = require("class-validator");
|
|
4816
4846
|
var UpdateClientHiringModeEnum = /* @__PURE__ */ ((UpdateClientHiringModeEnum2) => {
|
|
4817
4847
|
UpdateClientHiringModeEnum2["REMOTE"] = "REMOTE";
|
|
4818
4848
|
UpdateClientHiringModeEnum2["ONSITE"] = "ONSITE";
|
|
@@ -4828,53 +4858,53 @@ var UpdateClientHiringTypeEnum = /* @__PURE__ */ ((UpdateClientHiringTypeEnum2)
|
|
|
4828
4858
|
var UpdateClientDto = class {
|
|
4829
4859
|
};
|
|
4830
4860
|
__decorateClass([
|
|
4831
|
-
(0,
|
|
4832
|
-
(0,
|
|
4861
|
+
(0, import_class_validator57.IsNotEmpty)({ message: "Please enter first name." }),
|
|
4862
|
+
(0, import_class_validator57.IsString)()
|
|
4833
4863
|
], UpdateClientDto.prototype, "firstName", 2);
|
|
4834
4864
|
__decorateClass([
|
|
4835
|
-
(0,
|
|
4836
|
-
(0,
|
|
4865
|
+
(0, import_class_validator57.IsNotEmpty)({ message: "Please enter last name." }),
|
|
4866
|
+
(0, import_class_validator57.IsString)()
|
|
4837
4867
|
], UpdateClientDto.prototype, "lastName", 2);
|
|
4838
4868
|
__decorateClass([
|
|
4839
|
-
(0,
|
|
4840
|
-
(0,
|
|
4869
|
+
(0, import_class_validator57.IsNotEmpty)({ message: "Please enter email." }),
|
|
4870
|
+
(0, import_class_validator57.IsEmail)()
|
|
4841
4871
|
], UpdateClientDto.prototype, "email", 2);
|
|
4842
4872
|
__decorateClass([
|
|
4843
|
-
(0,
|
|
4873
|
+
(0, import_class_validator57.IsOptional)(),
|
|
4844
4874
|
(0, import_class_transformer9.Transform)(({ value }) => value === null || value === "" ? void 0 : value),
|
|
4845
|
-
(0,
|
|
4846
|
-
(0,
|
|
4847
|
-
(0,
|
|
4875
|
+
(0, import_class_validator57.MinLength)(6, { message: "Password must be at least 6 characters." }),
|
|
4876
|
+
(0, import_class_validator57.MaxLength)(32, { message: "Password must not exceed 32 characters." }),
|
|
4877
|
+
(0, import_class_validator57.Matches)(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
4848
4878
|
message: "Password must include letters, numbers and symbols."
|
|
4849
4879
|
})
|
|
4850
4880
|
], UpdateClientDto.prototype, "password", 2);
|
|
4851
4881
|
__decorateClass([
|
|
4852
|
-
(0,
|
|
4853
|
-
(0,
|
|
4882
|
+
(0, import_class_validator57.IsNotEmpty)({ message: "Please enter company name." }),
|
|
4883
|
+
(0, import_class_validator57.IsString)()
|
|
4854
4884
|
], UpdateClientDto.prototype, "companyName", 2);
|
|
4855
4885
|
__decorateClass([
|
|
4856
|
-
(0,
|
|
4857
|
-
(0,
|
|
4886
|
+
(0, import_class_validator57.IsArray)({ message: "Skills should be an array." }),
|
|
4887
|
+
(0, import_class_validator57.IsNotEmpty)({ message: "Please enter skills." })
|
|
4858
4888
|
], UpdateClientDto.prototype, "skills", 2);
|
|
4859
4889
|
__decorateClass([
|
|
4860
|
-
(0,
|
|
4861
|
-
(0,
|
|
4890
|
+
(0, import_class_validator57.IsNotEmpty)({ message: "Please specify required freelancer count." }),
|
|
4891
|
+
(0, import_class_validator57.IsString)()
|
|
4862
4892
|
], UpdateClientDto.prototype, "requiredFreelancer", 2);
|
|
4863
4893
|
__decorateClass([
|
|
4864
|
-
(0,
|
|
4865
|
-
(0,
|
|
4894
|
+
(0, import_class_validator57.IsNotEmpty)({ message: "Please specify the kind of hiring." }),
|
|
4895
|
+
(0, import_class_validator57.IsEnum)(UpdateClientHiringTypeEnum)
|
|
4866
4896
|
], UpdateClientDto.prototype, "kindOfHiring", 2);
|
|
4867
4897
|
__decorateClass([
|
|
4868
|
-
(0,
|
|
4869
|
-
(0,
|
|
4898
|
+
(0, import_class_validator57.IsNotEmpty)({ message: "Please specify the mode of hire." }),
|
|
4899
|
+
(0, import_class_validator57.IsEnum)(UpdateClientHiringModeEnum)
|
|
4870
4900
|
], UpdateClientDto.prototype, "modeOfHire", 2);
|
|
4871
4901
|
__decorateClass([
|
|
4872
|
-
(0,
|
|
4873
|
-
(0,
|
|
4902
|
+
(0, import_class_validator57.IsNotEmpty)({ message: "Please let us know how you found us." }),
|
|
4903
|
+
(0, import_class_validator57.IsString)()
|
|
4874
4904
|
], UpdateClientDto.prototype, "foundUsOn", 2);
|
|
4875
4905
|
__decorateClass([
|
|
4876
|
-
(0,
|
|
4877
|
-
(0,
|
|
4906
|
+
(0, import_class_validator57.IsOptional)(),
|
|
4907
|
+
(0, import_class_validator57.IsString)()
|
|
4878
4908
|
], UpdateClientDto.prototype, "foundUsOnDetail", 2);
|
|
4879
4909
|
|
|
4880
4910
|
// src/modules/user/freelancer-declaration/pattern/pattern.ts
|
|
@@ -4884,7 +4914,7 @@ var FREELANCER_DECLARATION_PATTERN = {
|
|
|
4884
4914
|
};
|
|
4885
4915
|
|
|
4886
4916
|
// src/modules/user/freelancer-declaration/dto/freelancer-declaration.dto.ts
|
|
4887
|
-
var
|
|
4917
|
+
var import_class_validator58 = require("class-validator");
|
|
4888
4918
|
var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
|
|
4889
4919
|
DocumentTypeEnum2["AADHAAR"] = "AADHAAR_CARD";
|
|
4890
4920
|
DocumentTypeEnum2["PASSPORT"] = "PASSPORT";
|
|
@@ -4895,16 +4925,16 @@ var DocumentTypeEnum = /* @__PURE__ */ ((DocumentTypeEnum2) => {
|
|
|
4895
4925
|
var FreelancerDeclarationDto = class {
|
|
4896
4926
|
};
|
|
4897
4927
|
__decorateClass([
|
|
4898
|
-
(0,
|
|
4899
|
-
(0,
|
|
4928
|
+
(0, import_class_validator58.IsOptional)(),
|
|
4929
|
+
(0, import_class_validator58.IsString)({ message: "UUID must be a string" })
|
|
4900
4930
|
], FreelancerDeclarationDto.prototype, "uuid", 2);
|
|
4901
4931
|
__decorateClass([
|
|
4902
|
-
(0,
|
|
4932
|
+
(0, import_class_validator58.IsEnum)(DocumentTypeEnum, { message: "Document type must be one of AADHAAR_CARD, PASSPORT, DRIVING_LICENSE, PAN_CARD" })
|
|
4903
4933
|
], FreelancerDeclarationDto.prototype, "documentType", 2);
|
|
4904
4934
|
__decorateClass([
|
|
4905
|
-
(0,
|
|
4906
|
-
(0,
|
|
4907
|
-
(0,
|
|
4935
|
+
(0, import_class_validator58.IsNotEmpty)({ message: "Please accept the declaration " }),
|
|
4936
|
+
(0, import_class_validator58.IsString)(),
|
|
4937
|
+
(0, import_class_validator58.IsIn)([
|
|
4908
4938
|
"true"
|
|
4909
4939
|
])
|
|
4910
4940
|
], FreelancerDeclarationDto.prototype, "declarationAccepted", 2);
|
|
@@ -4919,36 +4949,36 @@ var CMS_PATTERNS = {
|
|
|
4919
4949
|
};
|
|
4920
4950
|
|
|
4921
4951
|
// src/modules/cms/dto/create-cms.dto.ts
|
|
4922
|
-
var
|
|
4952
|
+
var import_class_validator59 = require("class-validator");
|
|
4923
4953
|
var CreateCmsDto = class {
|
|
4924
4954
|
};
|
|
4925
4955
|
__decorateClass([
|
|
4926
|
-
(0,
|
|
4956
|
+
(0, import_class_validator59.IsNotEmpty)({ message: "Please enter name." })
|
|
4927
4957
|
], CreateCmsDto.prototype, "title", 2);
|
|
4928
4958
|
__decorateClass([
|
|
4929
|
-
(0,
|
|
4959
|
+
(0, import_class_validator59.IsOptional)()
|
|
4930
4960
|
], CreateCmsDto.prototype, "content", 2);
|
|
4931
4961
|
__decorateClass([
|
|
4932
|
-
(0,
|
|
4933
|
-
(0,
|
|
4962
|
+
(0, import_class_validator59.IsOptional)(),
|
|
4963
|
+
(0, import_class_validator59.IsBoolean)({ message: "Is active must be a boolean value" })
|
|
4934
4964
|
], CreateCmsDto.prototype, "isActive", 2);
|
|
4935
4965
|
|
|
4936
4966
|
// src/modules/cms/dto/update-cms.dto.ts
|
|
4937
|
-
var
|
|
4967
|
+
var import_class_validator60 = require("class-validator");
|
|
4938
4968
|
var UpdateCmsDto = class {
|
|
4939
4969
|
};
|
|
4940
4970
|
__decorateClass([
|
|
4941
|
-
(0,
|
|
4971
|
+
(0, import_class_validator60.IsOptional)()
|
|
4942
4972
|
], UpdateCmsDto.prototype, "uuid", 2);
|
|
4943
4973
|
__decorateClass([
|
|
4944
|
-
(0,
|
|
4974
|
+
(0, import_class_validator60.IsNotEmpty)({ message: "Please enter name." })
|
|
4945
4975
|
], UpdateCmsDto.prototype, "title", 2);
|
|
4946
4976
|
__decorateClass([
|
|
4947
|
-
(0,
|
|
4977
|
+
(0, import_class_validator60.IsOptional)()
|
|
4948
4978
|
], UpdateCmsDto.prototype, "content", 2);
|
|
4949
4979
|
__decorateClass([
|
|
4950
|
-
(0,
|
|
4951
|
-
(0,
|
|
4980
|
+
(0, import_class_validator60.IsOptional)(),
|
|
4981
|
+
(0, import_class_validator60.IsBoolean)({ message: "Is active must be a boolean value" })
|
|
4952
4982
|
], UpdateCmsDto.prototype, "isActive", 2);
|
|
4953
4983
|
|
|
4954
4984
|
// src/modules/geographic/pattern/pattern.ts
|
|
@@ -4976,7 +5006,7 @@ var ADMIN_JOB_PATTERN = {
|
|
|
4976
5006
|
|
|
4977
5007
|
// src/modules/job-admin/dto/admin-create-job-information.dto.ts
|
|
4978
5008
|
var import_class_transformer10 = require("class-transformer");
|
|
4979
|
-
var
|
|
5009
|
+
var import_class_validator61 = require("class-validator");
|
|
4980
5010
|
var JobLocationEnumDto = /* @__PURE__ */ ((JobLocationEnumDto2) => {
|
|
4981
5011
|
JobLocationEnumDto2["ONSITE"] = "ONSITE";
|
|
4982
5012
|
JobLocationEnumDto2["REMOTE"] = "REMOTE";
|
|
@@ -4992,88 +5022,88 @@ var TypeOfEmploymentEnumDto = /* @__PURE__ */ ((TypeOfEmploymentEnumDto2) => {
|
|
|
4992
5022
|
var AdminCreateJobInformationDto = class {
|
|
4993
5023
|
};
|
|
4994
5024
|
__decorateClass([
|
|
4995
|
-
(0,
|
|
4996
|
-
(0,
|
|
5025
|
+
(0, import_class_validator61.IsString)({ message: "Job role must be a string." }),
|
|
5026
|
+
(0, import_class_validator61.IsNotEmpty)({ message: "Job role is required." })
|
|
4997
5027
|
], AdminCreateJobInformationDto.prototype, "jobRole", 2);
|
|
4998
5028
|
__decorateClass([
|
|
4999
|
-
(0,
|
|
5000
|
-
(0,
|
|
5029
|
+
(0, import_class_validator61.IsOptional)(),
|
|
5030
|
+
(0, import_class_validator61.IsString)({ message: "Note must be a string." })
|
|
5001
5031
|
], AdminCreateJobInformationDto.prototype, "note", 2);
|
|
5002
5032
|
__decorateClass([
|
|
5003
|
-
(0,
|
|
5004
|
-
(0,
|
|
5005
|
-
(0,
|
|
5033
|
+
(0, import_class_validator61.IsArray)({ message: "Skills must be an array of skill names." }),
|
|
5034
|
+
(0, import_class_validator61.ArrayNotEmpty)({ message: "At least one skill must be provided." }),
|
|
5035
|
+
(0, import_class_validator61.IsString)({ each: true, message: "Each skill must be a valid string." })
|
|
5006
5036
|
], AdminCreateJobInformationDto.prototype, "skills", 2);
|
|
5007
5037
|
__decorateClass([
|
|
5008
|
-
(0,
|
|
5009
|
-
(0,
|
|
5038
|
+
(0, import_class_validator61.IsInt)({ message: "Openings must be a valid integer." }),
|
|
5039
|
+
(0, import_class_validator61.Min)(1, { message: "There must be at least one opening." })
|
|
5010
5040
|
], AdminCreateJobInformationDto.prototype, "openings", 2);
|
|
5011
5041
|
__decorateClass([
|
|
5012
|
-
(0,
|
|
5042
|
+
(0, import_class_validator61.IsEnum)(JobLocationEnumDto, {
|
|
5013
5043
|
message: `Location must be one of: ${Object.values(JobLocationEnumDto).join(
|
|
5014
5044
|
", "
|
|
5015
5045
|
)}.`
|
|
5016
5046
|
})
|
|
5017
5047
|
], AdminCreateJobInformationDto.prototype, "location", 2);
|
|
5018
5048
|
__decorateClass([
|
|
5019
|
-
(0,
|
|
5049
|
+
(0, import_class_validator61.IsEnum)(TypeOfEmploymentEnumDto, {
|
|
5020
5050
|
message: `Type of employment must be one of: ${Object.values(
|
|
5021
5051
|
TypeOfEmploymentEnumDto
|
|
5022
5052
|
).join(", ")}.`
|
|
5023
5053
|
})
|
|
5024
5054
|
], AdminCreateJobInformationDto.prototype, "typeOfEmployment", 2);
|
|
5025
5055
|
__decorateClass([
|
|
5026
|
-
(0,
|
|
5027
|
-
(0,
|
|
5056
|
+
(0, import_class_validator61.IsString)({ message: "Onboarding Days must be a string." }),
|
|
5057
|
+
(0, import_class_validator61.IsNotEmpty)({ message: "Onboarding Days is required." })
|
|
5028
5058
|
], AdminCreateJobInformationDto.prototype, "onboardingTat", 2);
|
|
5029
5059
|
__decorateClass([
|
|
5030
|
-
(0,
|
|
5031
|
-
(0,
|
|
5060
|
+
(0, import_class_validator61.IsString)({ message: "Communication skills must be a string." }),
|
|
5061
|
+
(0, import_class_validator61.IsNotEmpty)({ message: "Communication skills are required." })
|
|
5032
5062
|
], AdminCreateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
|
|
5033
5063
|
__decorateClass([
|
|
5034
|
-
(0,
|
|
5035
|
-
(0,
|
|
5064
|
+
(0, import_class_validator61.IsString)({ message: "Currency must be a string." }),
|
|
5065
|
+
(0, import_class_validator61.IsNotEmpty)({ message: "Currency is required." })
|
|
5036
5066
|
], AdminCreateJobInformationDto.prototype, "currency", 2);
|
|
5037
5067
|
__decorateClass([
|
|
5038
5068
|
(0, import_class_transformer10.Type)(() => Number),
|
|
5039
|
-
(0,
|
|
5069
|
+
(0, import_class_validator61.IsNumber)({}, { message: "Expected salary from must be a number." })
|
|
5040
5070
|
], AdminCreateJobInformationDto.prototype, "expectedSalaryFrom", 2);
|
|
5041
5071
|
__decorateClass([
|
|
5042
5072
|
(0, import_class_transformer10.Type)(() => Number),
|
|
5043
|
-
(0,
|
|
5073
|
+
(0, import_class_validator61.IsNumber)({}, { message: "Expected salary to must be a number." })
|
|
5044
5074
|
], AdminCreateJobInformationDto.prototype, "expectedSalaryTo", 2);
|
|
5045
5075
|
__decorateClass([
|
|
5046
|
-
(0,
|
|
5076
|
+
(0, import_class_validator61.IsDateString)(
|
|
5047
5077
|
{ strict: true },
|
|
5048
5078
|
{ message: "Start date must be in YYYY-MM-DD format." }
|
|
5049
5079
|
)
|
|
5050
5080
|
], AdminCreateJobInformationDto.prototype, "tentativeStartDate", 2);
|
|
5051
5081
|
__decorateClass([
|
|
5052
|
-
(0,
|
|
5082
|
+
(0, import_class_validator61.IsDateString)(
|
|
5053
5083
|
{ strict: true },
|
|
5054
5084
|
{ message: "End date must be in YYYY-MM-DD format." }
|
|
5055
5085
|
)
|
|
5056
5086
|
], AdminCreateJobInformationDto.prototype, "tentativeEndDate", 2);
|
|
5057
5087
|
__decorateClass([
|
|
5058
|
-
(0,
|
|
5059
|
-
(0,
|
|
5088
|
+
(0, import_class_validator61.IsOptional)(),
|
|
5089
|
+
(0, import_class_validator61.IsString)({ message: "Additional comment must be a string." })
|
|
5060
5090
|
], AdminCreateJobInformationDto.prototype, "additionalComment", 2);
|
|
5061
5091
|
__decorateClass([
|
|
5062
|
-
(0,
|
|
5092
|
+
(0, import_class_validator61.IsInt)({ message: "Country ID must be a valid integer." })
|
|
5063
5093
|
], AdminCreateJobInformationDto.prototype, "countryId", 2);
|
|
5064
5094
|
__decorateClass([
|
|
5065
|
-
(0,
|
|
5095
|
+
(0, import_class_validator61.IsInt)({ message: "State ID must be a valid integer." })
|
|
5066
5096
|
], AdminCreateJobInformationDto.prototype, "stateId", 2);
|
|
5067
5097
|
__decorateClass([
|
|
5068
|
-
(0,
|
|
5098
|
+
(0, import_class_validator61.IsInt)({ message: "City ID must be a valid integer." })
|
|
5069
5099
|
], AdminCreateJobInformationDto.prototype, "cityId", 2);
|
|
5070
5100
|
__decorateClass([
|
|
5071
|
-
(0,
|
|
5101
|
+
(0, import_class_validator61.IsInt)({ message: "Client ID must be a valid integer." })
|
|
5072
5102
|
], AdminCreateJobInformationDto.prototype, "clientId", 2);
|
|
5073
5103
|
|
|
5074
5104
|
// src/modules/job-admin/dto/admin-update-job-information.dto.ts
|
|
5075
5105
|
var import_class_transformer11 = require("class-transformer");
|
|
5076
|
-
var
|
|
5106
|
+
var import_class_validator62 = require("class-validator");
|
|
5077
5107
|
var JobLocationEnums = /* @__PURE__ */ ((JobLocationEnums2) => {
|
|
5078
5108
|
JobLocationEnums2["ONSITE"] = "ONSITE";
|
|
5079
5109
|
JobLocationEnums2["REMOTE"] = "REMOTE";
|
|
@@ -5089,83 +5119,83 @@ var TypeOfEmploymentEnums = /* @__PURE__ */ ((TypeOfEmploymentEnums2) => {
|
|
|
5089
5119
|
var AdminUpdateJobInformationDto = class {
|
|
5090
5120
|
};
|
|
5091
5121
|
__decorateClass([
|
|
5092
|
-
(0,
|
|
5093
|
-
(0,
|
|
5122
|
+
(0, import_class_validator62.IsString)({ message: "Job role must be a string." }),
|
|
5123
|
+
(0, import_class_validator62.IsNotEmpty)({ message: "Job role is required." })
|
|
5094
5124
|
], AdminUpdateJobInformationDto.prototype, "jobRole", 2);
|
|
5095
5125
|
__decorateClass([
|
|
5096
|
-
(0,
|
|
5097
|
-
(0,
|
|
5126
|
+
(0, import_class_validator62.IsOptional)(),
|
|
5127
|
+
(0, import_class_validator62.IsString)({ message: "Note must be a string." })
|
|
5098
5128
|
], AdminUpdateJobInformationDto.prototype, "note", 2);
|
|
5099
5129
|
__decorateClass([
|
|
5100
|
-
(0,
|
|
5101
|
-
(0,
|
|
5102
|
-
(0,
|
|
5130
|
+
(0, import_class_validator62.IsArray)({ message: "Skills must be an array of skill names." }),
|
|
5131
|
+
(0, import_class_validator62.ArrayNotEmpty)({ message: "At least one skill must be provided." }),
|
|
5132
|
+
(0, import_class_validator62.IsString)({ each: true, message: "Each skill must be a valid string." })
|
|
5103
5133
|
], AdminUpdateJobInformationDto.prototype, "skills", 2);
|
|
5104
5134
|
__decorateClass([
|
|
5105
|
-
(0,
|
|
5106
|
-
(0,
|
|
5135
|
+
(0, import_class_validator62.IsInt)({ message: "Openings must be a valid integer." }),
|
|
5136
|
+
(0, import_class_validator62.Min)(1, { message: "There must be at least one opening." })
|
|
5107
5137
|
], AdminUpdateJobInformationDto.prototype, "openings", 2);
|
|
5108
5138
|
__decorateClass([
|
|
5109
|
-
(0,
|
|
5139
|
+
(0, import_class_validator62.IsEnum)(JobLocationEnums, {
|
|
5110
5140
|
message: `Location must be one of: ${Object.values(JobLocationEnums).join(
|
|
5111
5141
|
", "
|
|
5112
5142
|
)}.`
|
|
5113
5143
|
})
|
|
5114
5144
|
], AdminUpdateJobInformationDto.prototype, "location", 2);
|
|
5115
5145
|
__decorateClass([
|
|
5116
|
-
(0,
|
|
5146
|
+
(0, import_class_validator62.IsEnum)(TypeOfEmploymentEnums, {
|
|
5117
5147
|
message: `Type of employment must be one of: ${Object.values(
|
|
5118
5148
|
TypeOfEmploymentEnums
|
|
5119
5149
|
).join(", ")}.`
|
|
5120
5150
|
})
|
|
5121
5151
|
], AdminUpdateJobInformationDto.prototype, "typeOfEmployment", 2);
|
|
5122
5152
|
__decorateClass([
|
|
5123
|
-
(0,
|
|
5124
|
-
(0,
|
|
5153
|
+
(0, import_class_validator62.IsString)({ message: "Onboarding Days must be a string." }),
|
|
5154
|
+
(0, import_class_validator62.IsNotEmpty)({ message: "Onboarding Days is required." })
|
|
5125
5155
|
], AdminUpdateJobInformationDto.prototype, "onboardingTat", 2);
|
|
5126
5156
|
__decorateClass([
|
|
5127
|
-
(0,
|
|
5128
|
-
(0,
|
|
5157
|
+
(0, import_class_validator62.IsString)({ message: "Communication skills must be a string." }),
|
|
5158
|
+
(0, import_class_validator62.IsNotEmpty)({ message: "Communication skills are required." })
|
|
5129
5159
|
], AdminUpdateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
|
|
5130
5160
|
__decorateClass([
|
|
5131
|
-
(0,
|
|
5132
|
-
(0,
|
|
5161
|
+
(0, import_class_validator62.IsString)({ message: "Currency must be a string." }),
|
|
5162
|
+
(0, import_class_validator62.IsNotEmpty)({ message: "Currency is required." })
|
|
5133
5163
|
], AdminUpdateJobInformationDto.prototype, "currency", 2);
|
|
5134
5164
|
__decorateClass([
|
|
5135
5165
|
(0, import_class_transformer11.Type)(() => Number),
|
|
5136
|
-
(0,
|
|
5166
|
+
(0, import_class_validator62.IsNumber)({}, { message: "Expected salary from must be a number." })
|
|
5137
5167
|
], AdminUpdateJobInformationDto.prototype, "expectedSalaryFrom", 2);
|
|
5138
5168
|
__decorateClass([
|
|
5139
5169
|
(0, import_class_transformer11.Type)(() => Number),
|
|
5140
|
-
(0,
|
|
5170
|
+
(0, import_class_validator62.IsNumber)({}, { message: "Expected salary to must be a number." })
|
|
5141
5171
|
], AdminUpdateJobInformationDto.prototype, "expectedSalaryTo", 2);
|
|
5142
5172
|
__decorateClass([
|
|
5143
|
-
(0,
|
|
5173
|
+
(0, import_class_validator62.IsDateString)(
|
|
5144
5174
|
{ strict: true },
|
|
5145
5175
|
{ message: "Start date must be in YYYY-MM-DD format." }
|
|
5146
5176
|
)
|
|
5147
5177
|
], AdminUpdateJobInformationDto.prototype, "tentativeStartDate", 2);
|
|
5148
5178
|
__decorateClass([
|
|
5149
|
-
(0,
|
|
5179
|
+
(0, import_class_validator62.IsDateString)(
|
|
5150
5180
|
{ strict: true },
|
|
5151
5181
|
{ message: "End date must be in YYYY-MM-DD format." }
|
|
5152
5182
|
)
|
|
5153
5183
|
], AdminUpdateJobInformationDto.prototype, "tentativeEndDate", 2);
|
|
5154
5184
|
__decorateClass([
|
|
5155
|
-
(0,
|
|
5156
|
-
(0,
|
|
5185
|
+
(0, import_class_validator62.IsOptional)(),
|
|
5186
|
+
(0, import_class_validator62.IsString)({ message: "Additional comment must be a string." })
|
|
5157
5187
|
], AdminUpdateJobInformationDto.prototype, "additionalComment", 2);
|
|
5158
5188
|
__decorateClass([
|
|
5159
|
-
(0,
|
|
5189
|
+
(0, import_class_validator62.IsInt)({ message: "Country ID must be a valid integer." })
|
|
5160
5190
|
], AdminUpdateJobInformationDto.prototype, "countryId", 2);
|
|
5161
5191
|
__decorateClass([
|
|
5162
|
-
(0,
|
|
5192
|
+
(0, import_class_validator62.IsInt)({ message: "State ID must be a valid integer." })
|
|
5163
5193
|
], AdminUpdateJobInformationDto.prototype, "stateId", 2);
|
|
5164
5194
|
__decorateClass([
|
|
5165
|
-
(0,
|
|
5195
|
+
(0, import_class_validator62.IsInt)({ message: "City ID must be a valid integer." })
|
|
5166
5196
|
], AdminUpdateJobInformationDto.prototype, "cityId", 2);
|
|
5167
5197
|
__decorateClass([
|
|
5168
|
-
(0,
|
|
5198
|
+
(0, import_class_validator62.IsInt)({ message: "Client ID must be a valid integer." })
|
|
5169
5199
|
], AdminUpdateJobInformationDto.prototype, "clientId", 2);
|
|
5170
5200
|
|
|
5171
5201
|
// src/modules/lead/pattern/pattern.ts
|
|
@@ -5175,7 +5205,7 @@ var LEAD_PATTERN = {
|
|
|
5175
5205
|
};
|
|
5176
5206
|
|
|
5177
5207
|
// src/modules/lead/dto/create-lead.dto.ts
|
|
5178
|
-
var
|
|
5208
|
+
var import_class_validator63 = require("class-validator");
|
|
5179
5209
|
var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
|
|
5180
5210
|
CategoryEmumDto2["BUSINESS"] = "BUSINESS";
|
|
5181
5211
|
CategoryEmumDto2["FREELANCER"] = "FREELANCER";
|
|
@@ -5184,23 +5214,23 @@ var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
|
|
|
5184
5214
|
var CreateLeadDto = class {
|
|
5185
5215
|
};
|
|
5186
5216
|
__decorateClass([
|
|
5187
|
-
(0,
|
|
5217
|
+
(0, import_class_validator63.IsString)({ message: "Name must be a string" })
|
|
5188
5218
|
], CreateLeadDto.prototype, "name", 2);
|
|
5189
5219
|
__decorateClass([
|
|
5190
|
-
(0,
|
|
5220
|
+
(0, import_class_validator63.IsEmail)({}, { message: "Invalid email address" })
|
|
5191
5221
|
], CreateLeadDto.prototype, "email", 2);
|
|
5192
5222
|
__decorateClass([
|
|
5193
|
-
(0,
|
|
5223
|
+
(0, import_class_validator63.IsString)({ message: "Mobile code must be a string (e.g., +1)" })
|
|
5194
5224
|
], CreateLeadDto.prototype, "mobileCode", 2);
|
|
5195
5225
|
__decorateClass([
|
|
5196
|
-
(0,
|
|
5226
|
+
(0, import_class_validator63.IsString)({ message: "Mobile must be a string (e.g., 1243253534)" })
|
|
5197
5227
|
], CreateLeadDto.prototype, "mobile", 2);
|
|
5198
5228
|
__decorateClass([
|
|
5199
|
-
(0,
|
|
5200
|
-
(0,
|
|
5229
|
+
(0, import_class_validator63.IsOptional)(),
|
|
5230
|
+
(0, import_class_validator63.IsString)({ message: "Description must be a string" })
|
|
5201
5231
|
], CreateLeadDto.prototype, "description", 2);
|
|
5202
5232
|
__decorateClass([
|
|
5203
|
-
(0,
|
|
5233
|
+
(0, import_class_validator63.IsEnum)(CategoryEmumDto, {
|
|
5204
5234
|
message: `Type of category must be one of: ${Object.values(
|
|
5205
5235
|
CategoryEmumDto
|
|
5206
5236
|
).join(", ")}`
|
|
@@ -5220,46 +5250,46 @@ var ADMIN_ROLE_PATTERN = {
|
|
|
5220
5250
|
};
|
|
5221
5251
|
|
|
5222
5252
|
// src/modules/admin-role/dto/create-admin-role.dto.ts
|
|
5223
|
-
var
|
|
5253
|
+
var import_class_validator64 = require("class-validator");
|
|
5224
5254
|
var CreateAdminRoleDto = class {
|
|
5225
5255
|
};
|
|
5226
5256
|
__decorateClass([
|
|
5227
|
-
(0,
|
|
5228
|
-
(0,
|
|
5257
|
+
(0, import_class_validator64.IsNotEmpty)({ message: "Please enter admin role name." }),
|
|
5258
|
+
(0, import_class_validator64.IsString)({ message: "Role name must be a string." })
|
|
5229
5259
|
], CreateAdminRoleDto.prototype, "roleName", 2);
|
|
5230
5260
|
__decorateClass([
|
|
5231
|
-
(0,
|
|
5232
|
-
(0,
|
|
5261
|
+
(0, import_class_validator64.IsOptional)(),
|
|
5262
|
+
(0, import_class_validator64.IsString)({ message: "Role description must be a string." })
|
|
5233
5263
|
], CreateAdminRoleDto.prototype, "roleDescription", 2);
|
|
5234
5264
|
|
|
5235
5265
|
// src/modules/admin-role/dto/update-admin-role.dto.ts
|
|
5236
|
-
var
|
|
5266
|
+
var import_class_validator65 = require("class-validator");
|
|
5237
5267
|
var UpdateAdminRoleDto = class {
|
|
5238
5268
|
};
|
|
5239
5269
|
__decorateClass([
|
|
5240
|
-
(0,
|
|
5241
|
-
(0,
|
|
5270
|
+
(0, import_class_validator65.IsNotEmpty)({ message: "Please enter admin role name." }),
|
|
5271
|
+
(0, import_class_validator65.IsString)({ message: "Role name must be a string." })
|
|
5242
5272
|
], UpdateAdminRoleDto.prototype, "roleName", 2);
|
|
5243
5273
|
__decorateClass([
|
|
5244
|
-
(0,
|
|
5245
|
-
(0,
|
|
5274
|
+
(0, import_class_validator65.IsOptional)(),
|
|
5275
|
+
(0, import_class_validator65.IsString)({ message: "Role description must be a string." })
|
|
5246
5276
|
], UpdateAdminRoleDto.prototype, "roleDescription", 2);
|
|
5247
5277
|
__decorateClass([
|
|
5248
|
-
(0,
|
|
5249
|
-
(0,
|
|
5278
|
+
(0, import_class_validator65.IsOptional)(),
|
|
5279
|
+
(0, import_class_validator65.IsBoolean)({ message: "Is active must be a boolean value." })
|
|
5250
5280
|
], UpdateAdminRoleDto.prototype, "isActive", 2);
|
|
5251
5281
|
|
|
5252
5282
|
// src/modules/admin-role/dto/attach-permissions-to-role.dto.ts
|
|
5253
|
-
var
|
|
5283
|
+
var import_class_validator66 = require("class-validator");
|
|
5254
5284
|
var AttachPermissionsToRoleDto = class {
|
|
5255
5285
|
};
|
|
5256
5286
|
__decorateClass([
|
|
5257
|
-
(0,
|
|
5258
|
-
(0,
|
|
5287
|
+
(0, import_class_validator66.IsNotEmpty)({ message: "Please enter admin role ID." }),
|
|
5288
|
+
(0, import_class_validator66.IsString)({ message: "Role ID must be a string." })
|
|
5259
5289
|
], AttachPermissionsToRoleDto.prototype, "roleId", 2);
|
|
5260
5290
|
__decorateClass([
|
|
5261
|
-
(0,
|
|
5262
|
-
(0,
|
|
5291
|
+
(0, import_class_validator66.IsNotEmpty)({ message: "Please enter permission IDs." }),
|
|
5292
|
+
(0, import_class_validator66.IsString)({ message: "Permission IDs must be a comma-separated string." })
|
|
5263
5293
|
], AttachPermissionsToRoleDto.prototype, "permissionIds", 2);
|
|
5264
5294
|
|
|
5265
5295
|
// src/modules/admin-permission/pattern/pattern.ts
|
|
@@ -5285,7 +5315,7 @@ var CALENDLY_PATTERN = {
|
|
|
5285
5315
|
};
|
|
5286
5316
|
|
|
5287
5317
|
// src/modules/interview/dto/interview-invite.dto.ts
|
|
5288
|
-
var
|
|
5318
|
+
var import_class_validator67 = require("class-validator");
|
|
5289
5319
|
var import_class_transformer12 = require("class-transformer");
|
|
5290
5320
|
var CandidateType = /* @__PURE__ */ ((CandidateType2) => {
|
|
5291
5321
|
CandidateType2["SHORTLISTED"] = "SHORTLISTED";
|
|
@@ -5297,88 +5327,88 @@ var CandidateType = /* @__PURE__ */ ((CandidateType2) => {
|
|
|
5297
5327
|
var ExistingCandidateDto = class {
|
|
5298
5328
|
};
|
|
5299
5329
|
__decorateClass([
|
|
5300
|
-
(0,
|
|
5330
|
+
(0, import_class_validator67.IsUUID)()
|
|
5301
5331
|
], ExistingCandidateDto.prototype, "id", 2);
|
|
5302
5332
|
__decorateClass([
|
|
5303
|
-
(0,
|
|
5333
|
+
(0, import_class_validator67.IsEnum)(CandidateType, {
|
|
5304
5334
|
message: "type must be one of SHORTLISTED, APPLICATNTS, or RECOMMENDED"
|
|
5305
5335
|
})
|
|
5306
5336
|
], ExistingCandidateDto.prototype, "type", 2);
|
|
5307
5337
|
var NewCandidateDto = class {
|
|
5308
5338
|
};
|
|
5309
5339
|
__decorateClass([
|
|
5310
|
-
(0,
|
|
5311
|
-
(0,
|
|
5340
|
+
(0, import_class_validator67.IsNotEmpty)({ message: "Please enter the candidate name" }),
|
|
5341
|
+
(0, import_class_validator67.IsString)({ message: "Name must be a string" })
|
|
5312
5342
|
], NewCandidateDto.prototype, "name", 2);
|
|
5313
5343
|
__decorateClass([
|
|
5314
|
-
(0,
|
|
5344
|
+
(0, import_class_validator67.IsEmail)({}, { message: "Please enter a valid email." })
|
|
5315
5345
|
], NewCandidateDto.prototype, "email", 2);
|
|
5316
5346
|
__decorateClass([
|
|
5317
|
-
(0,
|
|
5347
|
+
(0, import_class_validator67.IsEnum)(CandidateType, {
|
|
5318
5348
|
message: "type must be NEW"
|
|
5319
5349
|
})
|
|
5320
5350
|
], NewCandidateDto.prototype, "type", 2);
|
|
5321
5351
|
var CandidatesDto = class {
|
|
5322
5352
|
};
|
|
5323
5353
|
__decorateClass([
|
|
5324
|
-
(0,
|
|
5325
|
-
(0,
|
|
5326
|
-
(0,
|
|
5327
|
-
(0,
|
|
5354
|
+
(0, import_class_validator67.ValidateIf)((o) => o.exixtingCandidates?.length > 0),
|
|
5355
|
+
(0, import_class_validator67.IsArray)({ message: "Existing candidates should be an array." }),
|
|
5356
|
+
(0, import_class_validator67.ArrayNotEmpty)({ message: "Please select at least one candidate." }),
|
|
5357
|
+
(0, import_class_validator67.ValidateNested)({ each: true }),
|
|
5328
5358
|
(0, import_class_transformer12.Type)(() => ExistingCandidateDto)
|
|
5329
5359
|
], CandidatesDto.prototype, "exixtingCandidates", 2);
|
|
5330
5360
|
__decorateClass([
|
|
5331
|
-
(0,
|
|
5332
|
-
(0,
|
|
5333
|
-
(0,
|
|
5334
|
-
(0,
|
|
5361
|
+
(0, import_class_validator67.ValidateIf)((o) => o.newCandidates?.length > 0),
|
|
5362
|
+
(0, import_class_validator67.IsArray)({ message: "New candidates should be an array." }),
|
|
5363
|
+
(0, import_class_validator67.ArrayNotEmpty)({ message: "Please add at least one candidate." }),
|
|
5364
|
+
(0, import_class_validator67.ValidateNested)({ each: true }),
|
|
5335
5365
|
(0, import_class_transformer12.Type)(() => NewCandidateDto)
|
|
5336
5366
|
], CandidatesDto.prototype, "newCandidates", 2);
|
|
5337
5367
|
var InterviewInviteDto = class {
|
|
5338
5368
|
};
|
|
5339
5369
|
__decorateClass([
|
|
5340
|
-
(0,
|
|
5370
|
+
(0, import_class_validator67.IsUUID)()
|
|
5341
5371
|
], InterviewInviteDto.prototype, "jobId", 2);
|
|
5342
5372
|
__decorateClass([
|
|
5343
|
-
(0,
|
|
5373
|
+
(0, import_class_validator67.ValidateNested)({ each: true }),
|
|
5344
5374
|
(0, import_class_transformer12.Type)(() => CandidatesDto)
|
|
5345
5375
|
], InterviewInviteDto.prototype, "candidates", 2);
|
|
5346
5376
|
|
|
5347
5377
|
// src/modules/interview/dto/create-f2f-interview.dto.ts
|
|
5348
|
-
var
|
|
5378
|
+
var import_class_validator68 = require("class-validator");
|
|
5349
5379
|
var CreateF2FInterviewDto = class {
|
|
5350
5380
|
};
|
|
5351
5381
|
__decorateClass([
|
|
5352
|
-
(0,
|
|
5353
|
-
(0,
|
|
5382
|
+
(0, import_class_validator68.IsEmail)({}, { message: "Please enter a valid email address." }),
|
|
5383
|
+
(0, import_class_validator68.IsNotEmpty)({ message: "Invitee email is required." })
|
|
5354
5384
|
], CreateF2FInterviewDto.prototype, "inviteeEmail", 2);
|
|
5355
5385
|
__decorateClass([
|
|
5356
|
-
(0,
|
|
5357
|
-
(0,
|
|
5386
|
+
(0, import_class_validator68.IsString)({ message: "Invitee name must be a string." }),
|
|
5387
|
+
(0, import_class_validator68.IsNotEmpty)({ message: "Invitee name is required." })
|
|
5358
5388
|
], CreateF2FInterviewDto.prototype, "inviteeName", 2);
|
|
5359
5389
|
__decorateClass([
|
|
5360
|
-
(0,
|
|
5390
|
+
(0, import_class_validator68.IsNumber)({}, { message: "Interview ID must be a number." })
|
|
5361
5391
|
], CreateF2FInterviewDto.prototype, "interviewId", 2);
|
|
5362
5392
|
__decorateClass([
|
|
5363
|
-
(0,
|
|
5393
|
+
(0, import_class_validator68.IsNumber)({}, { message: "Candidate ID must be a number." })
|
|
5364
5394
|
], CreateF2FInterviewDto.prototype, "candidateId", 2);
|
|
5365
5395
|
|
|
5366
5396
|
// src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
|
|
5367
|
-
var
|
|
5397
|
+
var import_class_validator69 = require("class-validator");
|
|
5368
5398
|
var CreateF2FInterviewRescheduleRequestDto = class {
|
|
5369
5399
|
};
|
|
5370
5400
|
__decorateClass([
|
|
5371
|
-
(0,
|
|
5401
|
+
(0, import_class_validator69.IsNotEmpty)({ message: "F2F Interview ID is required." })
|
|
5372
5402
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "f2FInterviewId", 2);
|
|
5373
5403
|
__decorateClass([
|
|
5374
|
-
(0,
|
|
5404
|
+
(0, import_class_validator69.IsNotEmpty)({ message: "Rescheduled date is required." })
|
|
5375
5405
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledDate", 2);
|
|
5376
5406
|
__decorateClass([
|
|
5377
|
-
(0,
|
|
5378
|
-
(0,
|
|
5407
|
+
(0, import_class_validator69.IsString)({ message: "Rescheduled slot must be a string." }),
|
|
5408
|
+
(0, import_class_validator69.IsNotEmpty)({ message: "Rescheduled slot is required." })
|
|
5379
5409
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledSlot", 2);
|
|
5380
5410
|
__decorateClass([
|
|
5381
|
-
(0,
|
|
5411
|
+
(0, import_class_validator69.IsString)({ message: "Freelancer reason must be a string." })
|
|
5382
5412
|
], CreateF2FInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
|
|
5383
5413
|
|
|
5384
5414
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
@@ -6318,6 +6348,9 @@ ZoomMeetingLog = __decorateClass([
|
|
|
6318
6348
|
SendGuestOtpDto,
|
|
6319
6349
|
SendGuestOtpPurposeEnum,
|
|
6320
6350
|
SendGuestOtpScopeEnum,
|
|
6351
|
+
SendLoginOtpDto,
|
|
6352
|
+
SendLoginOtpPurposeEnum,
|
|
6353
|
+
SendLoginOtpScopeEnum,
|
|
6321
6354
|
SenseloafLog,
|
|
6322
6355
|
SequenceGenerator,
|
|
6323
6356
|
SetPasswordDto,
|