@experts_hub/shared 1.0.330 → 1.0.331

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1512,10 +1512,10 @@ var RATING_PATTERN = {
1512
1512
  var import_class_validator40 = require("class-validator");
1513
1513
 
1514
1514
  // src/entities/rating.entity.ts
1515
- var import_typeorm44 = require("typeorm");
1515
+ var import_typeorm46 = require("typeorm");
1516
1516
 
1517
1517
  // src/entities/user.entity.ts
1518
- var import_typeorm43 = require("typeorm");
1518
+ var import_typeorm45 = require("typeorm");
1519
1519
 
1520
1520
  // src/entities/base.entity.ts
1521
1521
  var import_typeorm = require("typeorm");
@@ -3648,6 +3648,128 @@ FreelancerResume = __decorateClass([
3648
3648
  (0, import_typeorm42.Entity)("freelancer_resumes")
3649
3649
  ], FreelancerResume);
3650
3650
 
3651
+ // src/entities/f2f-interview.entity.ts
3652
+ var import_typeorm44 = require("typeorm");
3653
+
3654
+ // src/entities/calendly-meeting.entity.ts
3655
+ var import_typeorm43 = require("typeorm");
3656
+ var CalendlyMeetingStatus = /* @__PURE__ */ ((CalendlyMeetingStatus2) => {
3657
+ CalendlyMeetingStatus2["PENDING"] = "PENDING";
3658
+ CalendlyMeetingStatus2["CONFIRMED"] = "CONFIRMED";
3659
+ CalendlyMeetingStatus2["CANCELED"] = "CANCELED";
3660
+ CalendlyMeetingStatus2["COMPLETED"] = "COMPLETED";
3661
+ return CalendlyMeetingStatus2;
3662
+ })(CalendlyMeetingStatus || {});
3663
+ var CalendlyMeeting = class extends BaseEntity {
3664
+ };
3665
+ __decorateClass([
3666
+ (0, import_typeorm43.OneToOne)(() => F2FInterview, (F2FInterview2) => F2FInterview2.calendlyMeeting)
3667
+ ], CalendlyMeeting.prototype, "f2fInterview", 2);
3668
+ __decorateClass([
3669
+ (0, import_typeorm43.Column)({ name: "calendly_event_id", type: "varchar", nullable: true, unique: true }),
3670
+ (0, import_typeorm43.Index)()
3671
+ ], CalendlyMeeting.prototype, "calendlyEventId", 2);
3672
+ __decorateClass([
3673
+ (0, import_typeorm43.Column)({ name: "event_name", type: "varchar", nullable: false })
3674
+ ], CalendlyMeeting.prototype, "eventName", 2);
3675
+ __decorateClass([
3676
+ (0, import_typeorm43.Column)({ name: "invitee_email", type: "varchar", nullable: false }),
3677
+ (0, import_typeorm43.Index)()
3678
+ ], CalendlyMeeting.prototype, "inviteeEmail", 2);
3679
+ __decorateClass([
3680
+ (0, import_typeorm43.Column)({ name: "start_time", type: "timestamp with time zone", nullable: true }),
3681
+ (0, import_typeorm43.Index)()
3682
+ ], CalendlyMeeting.prototype, "startTime", 2);
3683
+ __decorateClass([
3684
+ (0, import_typeorm43.Column)({ name: "end_time", type: "timestamp with time zone", nullable: true })
3685
+ ], CalendlyMeeting.prototype, "endTime", 2);
3686
+ __decorateClass([
3687
+ (0, import_typeorm43.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
3688
+ ], CalendlyMeeting.prototype, "rawWebhookData", 2);
3689
+ CalendlyMeeting = __decorateClass([
3690
+ (0, import_typeorm43.Entity)("calendly_meetings"),
3691
+ (0, import_typeorm43.Unique)("UQ_calendly_event_invitee", ["calendlyEventId", "inviteeEmail"]),
3692
+ (0, import_typeorm43.Unique)("UQ_calendly_meeting_time_email", ["inviteeEmail", "startTime", "eventName"])
3693
+ ], CalendlyMeeting);
3694
+
3695
+ // src/entities/f2f-interview.entity.ts
3696
+ var F2FInterview = class extends BaseEntity {
3697
+ };
3698
+ __decorateClass([
3699
+ (0, import_typeorm44.OneToOne)(() => CalendlyMeeting),
3700
+ (0, import_typeorm44.JoinColumn)({ name: "calendly_meeting_id" })
3701
+ ], F2FInterview.prototype, "calendlyMeeting", 2);
3702
+ __decorateClass([
3703
+ (0, import_typeorm44.Column)({ name: "calendly_meeting_id", type: "integer" })
3704
+ ], F2FInterview.prototype, "calendlyMeetingId", 2);
3705
+ __decorateClass([
3706
+ (0, import_typeorm44.ManyToOne)(() => User, (user) => user.clientF2FInterviews, { nullable: true }),
3707
+ (0, import_typeorm44.JoinColumn)({ name: "client_id" })
3708
+ ], F2FInterview.prototype, "client", 2);
3709
+ __decorateClass([
3710
+ (0, import_typeorm44.Column)({ name: "client_id", type: "integer", nullable: true })
3711
+ ], F2FInterview.prototype, "clientId", 2);
3712
+ __decorateClass([
3713
+ (0, import_typeorm44.ManyToOne)(() => User, (user) => user.freelancerF2FInterviews, { nullable: true }),
3714
+ (0, import_typeorm44.JoinColumn)({ name: "freelancer_id" })
3715
+ ], F2FInterview.prototype, "freelancer", 2);
3716
+ __decorateClass([
3717
+ (0, import_typeorm44.Column)({ name: "freelancer_id", type: "integer", nullable: true })
3718
+ ], F2FInterview.prototype, "freelancerId", 2);
3719
+ __decorateClass([
3720
+ (0, import_typeorm44.Column)({ name: "invitee_email", type: "varchar", nullable: false })
3721
+ ], F2FInterview.prototype, "inviteeEmail", 2);
3722
+ __decorateClass([
3723
+ (0, import_typeorm44.Column)({ name: "invitee_name", type: "varchar", nullable: true })
3724
+ ], F2FInterview.prototype, "inviteeName", 2);
3725
+ __decorateClass([
3726
+ (0, import_typeorm44.Column)({ name: "zoom_link", type: "varchar", nullable: true })
3727
+ ], F2FInterview.prototype, "meetingZoomLink", 2);
3728
+ __decorateClass([
3729
+ (0, import_typeorm44.Column)({ name: "meeting_id", type: "varchar", nullable: true })
3730
+ ], F2FInterview.prototype, "meetingId", 2);
3731
+ __decorateClass([
3732
+ (0, import_typeorm44.Column)({ name: "meeting_passcode", type: "varchar", nullable: true })
3733
+ ], F2FInterview.prototype, "meetingPasscode", 2);
3734
+ __decorateClass([
3735
+ (0, import_typeorm44.Column)({ name: "reschedule_url", type: "varchar", nullable: true })
3736
+ ], F2FInterview.prototype, "rescheduleUrl", 2);
3737
+ __decorateClass([
3738
+ (0, import_typeorm44.Column)({ name: "event_name", type: "varchar", nullable: false })
3739
+ ], F2FInterview.prototype, "eventName", 2);
3740
+ __decorateClass([
3741
+ (0, import_typeorm44.Column)({ name: "is_rescheduled", type: "boolean", default: false })
3742
+ ], F2FInterview.prototype, "isRescheduled", 2);
3743
+ __decorateClass([
3744
+ (0, import_typeorm44.Column)({
3745
+ name: "status",
3746
+ type: "enum",
3747
+ enum: CalendlyMeetingStatus,
3748
+ default: "PENDING" /* PENDING */
3749
+ })
3750
+ ], F2FInterview.prototype, "status", 2);
3751
+ __decorateClass([
3752
+ (0, import_typeorm44.Column)({ name: "cancelled_at", type: "timestamp with time zone", nullable: true })
3753
+ ], F2FInterview.prototype, "cancelledAt", 2);
3754
+ __decorateClass([
3755
+ (0, import_typeorm44.Column)({ name: "cancel_reason", type: "varchar", nullable: true })
3756
+ ], F2FInterview.prototype, "cancelReason", 2);
3757
+ __decorateClass([
3758
+ (0, import_typeorm44.Column)({ name: "rescheduled_at", type: "timestamp with time zone", nullable: true })
3759
+ ], F2FInterview.prototype, "rescheduledAt", 2);
3760
+ __decorateClass([
3761
+ (0, import_typeorm44.Column)({ name: "is_completed", type: "boolean", default: false })
3762
+ ], F2FInterview.prototype, "isCompleted", 2);
3763
+ __decorateClass([
3764
+ (0, import_typeorm44.Column)({ name: "meeting_start_time", type: "timestamp with time zone", nullable: true })
3765
+ ], F2FInterview.prototype, "meetingStartTime", 2);
3766
+ __decorateClass([
3767
+ (0, import_typeorm44.Column)({ name: "meeting_end_time", type: "timestamp with time zone", nullable: true })
3768
+ ], F2FInterview.prototype, "meetingEndTime", 2);
3769
+ F2FInterview = __decorateClass([
3770
+ (0, import_typeorm44.Entity)("f2f_interviews")
3771
+ ], F2FInterview);
3772
+
3651
3773
  // src/entities/user.entity.ts
3652
3774
  var AccountType = /* @__PURE__ */ ((AccountType2) => {
3653
3775
  AccountType2["ADMIN"] = "ADMIN";
@@ -3671,59 +3793,53 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
3671
3793
  return Provider2;
3672
3794
  })(Provider || {});
3673
3795
  var User = class extends BaseEntity {
3674
- // @OneToMany(() => CalendlyMeeting, (calendlyMeeting) => calendlyMeeting.user)
3675
- // calendlyMeetings: CalendlyMeeting[];
3676
- // @OneToMany(() => FreelancerF2FInterview, (freelancerF2FInterview) => freelancerF2FInterview.client)
3677
- // clientF2FInterviews: FreelancerF2FInterview[];
3678
- // @OneToMany(() => FreelancerF2FInterview, (freelancerF2FInterview) => freelancerF2FInterview.freelancer)
3679
- // freelancerF2FInterviews: FreelancerF2FInterview[];
3680
3796
  };
3681
3797
  __decorateClass([
3682
- (0, import_typeorm43.Column)({ name: "unique_id", type: "varchar", unique: true })
3798
+ (0, import_typeorm45.Column)({ name: "unique_id", type: "varchar", unique: true })
3683
3799
  ], User.prototype, "uniqueId", 2);
3684
3800
  __decorateClass([
3685
- (0, import_typeorm43.Column)({ name: "parent_id", type: "integer", nullable: true }),
3686
- (0, import_typeorm43.Index)()
3801
+ (0, import_typeorm45.Column)({ name: "parent_id", type: "integer", nullable: true }),
3802
+ (0, import_typeorm45.Index)()
3687
3803
  ], User.prototype, "parentId", 2);
3688
3804
  __decorateClass([
3689
- (0, import_typeorm43.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
3690
- (0, import_typeorm43.JoinColumn)({ name: "parent_id" })
3805
+ (0, import_typeorm45.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
3806
+ (0, import_typeorm45.JoinColumn)({ name: "parent_id" })
3691
3807
  ], User.prototype, "parent", 2);
3692
3808
  __decorateClass([
3693
- (0, import_typeorm43.OneToMany)(() => User, (user) => user.parent)
3809
+ (0, import_typeorm45.OneToMany)(() => User, (user) => user.parent)
3694
3810
  ], User.prototype, "children", 2);
3695
3811
  __decorateClass([
3696
- (0, import_typeorm43.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
3812
+ (0, import_typeorm45.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
3697
3813
  ], User.prototype, "username", 2);
3698
3814
  __decorateClass([
3699
- (0, import_typeorm43.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
3815
+ (0, import_typeorm45.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
3700
3816
  ], User.prototype, "firstName", 2);
3701
3817
  __decorateClass([
3702
- (0, import_typeorm43.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
3818
+ (0, import_typeorm45.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
3703
3819
  ], User.prototype, "lastName", 2);
3704
3820
  __decorateClass([
3705
- (0, import_typeorm43.Column)({ name: "date_of_birth", type: "date", nullable: true })
3821
+ (0, import_typeorm45.Column)({ name: "date_of_birth", type: "date", nullable: true })
3706
3822
  ], User.prototype, "dateOfBirth", 2);
3707
3823
  __decorateClass([
3708
- (0, import_typeorm43.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
3824
+ (0, import_typeorm45.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
3709
3825
  ], User.prototype, "gender", 2);
3710
3826
  __decorateClass([
3711
- (0, import_typeorm43.Column)({ name: "profile_picture_url", type: "text", nullable: true })
3827
+ (0, import_typeorm45.Column)({ name: "profile_picture_url", type: "text", nullable: true })
3712
3828
  ], User.prototype, "profilePictureUrl", 2);
3713
3829
  __decorateClass([
3714
- (0, import_typeorm43.Column)({ name: "email", type: "varchar", unique: true })
3830
+ (0, import_typeorm45.Column)({ name: "email", type: "varchar", unique: true })
3715
3831
  ], User.prototype, "email", 2);
3716
3832
  __decorateClass([
3717
- (0, import_typeorm43.Column)({ name: "mobile_code", type: "varchar", nullable: true })
3833
+ (0, import_typeorm45.Column)({ name: "mobile_code", type: "varchar", nullable: true })
3718
3834
  ], User.prototype, "mobileCode", 2);
3719
3835
  __decorateClass([
3720
- (0, import_typeorm43.Column)({ name: "mobile", type: "varchar", nullable: true })
3836
+ (0, import_typeorm45.Column)({ name: "mobile", type: "varchar", nullable: true })
3721
3837
  ], User.prototype, "mobile", 2);
3722
3838
  __decorateClass([
3723
- (0, import_typeorm43.Column)({ name: "password", type: "varchar", nullable: true })
3839
+ (0, import_typeorm45.Column)({ name: "password", type: "varchar", nullable: true })
3724
3840
  ], User.prototype, "password", 2);
3725
3841
  __decorateClass([
3726
- (0, import_typeorm43.Column)({
3842
+ (0, import_typeorm45.Column)({
3727
3843
  name: "account_type",
3728
3844
  type: "enum",
3729
3845
  enum: AccountType,
@@ -3731,7 +3847,7 @@ __decorateClass([
3731
3847
  })
3732
3848
  ], User.prototype, "accountType", 2);
3733
3849
  __decorateClass([
3734
- (0, import_typeorm43.Column)({
3850
+ (0, import_typeorm45.Column)({
3735
3851
  name: "account_status",
3736
3852
  type: "enum",
3737
3853
  enum: AccountStatus,
@@ -3739,39 +3855,39 @@ __decorateClass([
3739
3855
  })
3740
3856
  ], User.prototype, "accountStatus", 2);
3741
3857
  __decorateClass([
3742
- (0, import_typeorm43.Column)({ name: "is_email_verified", type: "boolean", default: false })
3858
+ (0, import_typeorm45.Column)({ name: "is_email_verified", type: "boolean", default: false })
3743
3859
  ], User.prototype, "isEmailVerified", 2);
3744
3860
  __decorateClass([
3745
- (0, import_typeorm43.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
3861
+ (0, import_typeorm45.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
3746
3862
  ], User.prototype, "isMobileVerified", 2);
3747
3863
  __decorateClass([
3748
- (0, import_typeorm43.Column)({ name: "is_social", type: "boolean", default: false })
3864
+ (0, import_typeorm45.Column)({ name: "is_social", type: "boolean", default: false })
3749
3865
  ], User.prototype, "isSocial", 2);
3750
3866
  __decorateClass([
3751
- (0, import_typeorm43.Column)({
3867
+ (0, import_typeorm45.Column)({
3752
3868
  name: "last_login_at",
3753
3869
  type: "timestamp with time zone",
3754
3870
  nullable: true
3755
3871
  })
3756
3872
  ], User.prototype, "lastLoginAt", 2);
3757
3873
  __decorateClass([
3758
- (0, import_typeorm43.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
3874
+ (0, import_typeorm45.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
3759
3875
  ], User.prototype, "lastLoginIp", 2);
3760
3876
  __decorateClass([
3761
- (0, import_typeorm43.Column)({ name: "reset_token", type: "varchar", nullable: true })
3877
+ (0, import_typeorm45.Column)({ name: "reset_token", type: "varchar", nullable: true })
3762
3878
  ], User.prototype, "resetToken", 2);
3763
3879
  __decorateClass([
3764
- (0, import_typeorm43.Column)({
3880
+ (0, import_typeorm45.Column)({
3765
3881
  name: "reset_token_expire_at",
3766
3882
  type: "timestamp with time zone",
3767
3883
  nullable: true
3768
3884
  })
3769
3885
  ], User.prototype, "resetTokenExpireAt", 2);
3770
3886
  __decorateClass([
3771
- (0, import_typeorm43.OneToMany)(() => RefreshToken, (token) => token.user)
3887
+ (0, import_typeorm45.OneToMany)(() => RefreshToken, (token) => token.user)
3772
3888
  ], User.prototype, "refreshTokens", 2);
3773
3889
  __decorateClass([
3774
- (0, import_typeorm43.Column)({
3890
+ (0, import_typeorm45.Column)({
3775
3891
  name: "provider",
3776
3892
  type: "enum",
3777
3893
  enum: Provider,
@@ -3780,100 +3896,106 @@ __decorateClass([
3780
3896
  })
3781
3897
  ], User.prototype, "provider", 2);
3782
3898
  __decorateClass([
3783
- (0, import_typeorm43.Column)({ name: "provider_token", type: "varchar", nullable: true })
3899
+ (0, import_typeorm45.Column)({ name: "provider_token", type: "varchar", nullable: true })
3784
3900
  ], User.prototype, "providerToken", 2);
3785
3901
  __decorateClass([
3786
- (0, import_typeorm43.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
3902
+ (0, import_typeorm45.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
3787
3903
  ], User.prototype, "linkedInId", 2);
3788
3904
  __decorateClass([
3789
- (0, import_typeorm43.Column)({ name: "google_id", type: "varchar", nullable: true })
3905
+ (0, import_typeorm45.Column)({ name: "google_id", type: "varchar", nullable: true })
3790
3906
  ], User.prototype, "googleId", 2);
3791
3907
  __decorateClass([
3792
- (0, import_typeorm43.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
3908
+ (0, import_typeorm45.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
3793
3909
  ], User.prototype, "gitLabsId", 2);
3794
3910
  __decorateClass([
3795
- (0, import_typeorm43.OneToMany)(() => Otp, (otp) => otp.user)
3911
+ (0, import_typeorm45.OneToMany)(() => Otp, (otp) => otp.user)
3796
3912
  ], User.prototype, "otps", 2);
3797
3913
  __decorateClass([
3798
- (0, import_typeorm43.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
3914
+ (0, import_typeorm45.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
3799
3915
  ], User.prototype, "senseloafLogs", 2);
3800
3916
  __decorateClass([
3801
- (0, import_typeorm43.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
3917
+ (0, import_typeorm45.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
3802
3918
  ], User.prototype, "companyProfile", 2);
3803
3919
  __decorateClass([
3804
- (0, import_typeorm43.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
3920
+ (0, import_typeorm45.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
3805
3921
  ], User.prototype, "companySkills", 2);
3806
3922
  __decorateClass([
3807
- (0, import_typeorm43.OneToMany)(() => CompanyMemberRole, (companyMemberRole) => companyMemberRole.user)
3923
+ (0, import_typeorm45.OneToMany)(() => CompanyMemberRole, (companyMemberRole) => companyMemberRole.user)
3808
3924
  ], User.prototype, "companyMemberRoles", 2);
3809
3925
  __decorateClass([
3810
- (0, import_typeorm43.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
3926
+ (0, import_typeorm45.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
3811
3927
  ], User.prototype, "companyAiInterview", 2);
3812
3928
  __decorateClass([
3813
- (0, import_typeorm43.OneToOne)(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.user)
3929
+ (0, import_typeorm45.OneToOne)(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.user)
3814
3930
  ], User.prototype, "freelancerProfile", 2);
3815
3931
  __decorateClass([
3816
- (0, import_typeorm43.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
3932
+ (0, import_typeorm45.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
3817
3933
  ], User.prototype, "freelancerResume", 2);
3818
3934
  __decorateClass([
3819
- (0, import_typeorm43.OneToMany)(() => FreelancerAssessment, (freelancerAssessment) => freelancerAssessment.user)
3935
+ (0, import_typeorm45.OneToMany)(() => FreelancerAssessment, (freelancerAssessment) => freelancerAssessment.user)
3820
3936
  ], User.prototype, "assessments", 2);
3821
3937
  __decorateClass([
3822
- (0, import_typeorm43.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.user)
3938
+ (0, import_typeorm45.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.user)
3823
3939
  ], User.prototype, "assessmentAnswers", 2);
3824
3940
  __decorateClass([
3825
- (0, import_typeorm43.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
3941
+ (0, import_typeorm45.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
3826
3942
  ], User.prototype, "freelancerSkills", 2);
3827
3943
  __decorateClass([
3828
- (0, import_typeorm43.OneToMany)(() => FreelancerExperience, (freelancerExperience) => freelancerExperience.user)
3944
+ (0, import_typeorm45.OneToMany)(() => FreelancerExperience, (freelancerExperience) => freelancerExperience.user)
3829
3945
  ], User.prototype, "freelancerExperience", 2);
3830
3946
  __decorateClass([
3831
- (0, import_typeorm43.OneToMany)(() => FreelancerEducation, (freelancerEducation) => freelancerEducation.user)
3947
+ (0, import_typeorm45.OneToMany)(() => FreelancerEducation, (freelancerEducation) => freelancerEducation.user)
3832
3948
  ], User.prototype, "freelancerEducation", 2);
3833
3949
  __decorateClass([
3834
- (0, import_typeorm43.OneToMany)(() => FreelancerProject, (freelancerProject) => freelancerProject.user)
3950
+ (0, import_typeorm45.OneToMany)(() => FreelancerProject, (freelancerProject) => freelancerProject.user)
3835
3951
  ], User.prototype, "freelancerProject", 2);
3836
3952
  __decorateClass([
3837
- (0, import_typeorm43.OneToMany)(() => FreelancerCaseStudy, (freelancerCaseStudy) => freelancerCaseStudy.user)
3953
+ (0, import_typeorm45.OneToMany)(() => FreelancerCaseStudy, (freelancerCaseStudy) => freelancerCaseStudy.user)
3838
3954
  ], User.prototype, "freelancerCaseStudy", 2);
3839
3955
  __decorateClass([
3840
- (0, import_typeorm43.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
3956
+ (0, import_typeorm45.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
3841
3957
  ], User.prototype, "freelancerTool", 2);
3842
3958
  __decorateClass([
3843
- (0, import_typeorm43.OneToMany)(() => FreelancerFramework, (freelancerFramework) => freelancerFramework.user)
3959
+ (0, import_typeorm45.OneToMany)(() => FreelancerFramework, (freelancerFramework) => freelancerFramework.user)
3844
3960
  ], User.prototype, "freelancerFramework", 2);
3845
3961
  __decorateClass([
3846
- (0, import_typeorm43.OneToOne)(() => FreelancerDeclaration, (freelancerDeclaration) => freelancerDeclaration.user)
3962
+ (0, import_typeorm45.OneToOne)(() => FreelancerDeclaration, (freelancerDeclaration) => freelancerDeclaration.user)
3847
3963
  ], User.prototype, "freelancerDeclaration", 2);
3848
3964
  __decorateClass([
3849
- (0, import_typeorm43.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
3965
+ (0, import_typeorm45.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
3850
3966
  ], User.prototype, "freelancerAiInterview", 2);
3851
3967
  __decorateClass([
3852
- (0, import_typeorm43.OneToMany)(() => Job, (job) => job.user)
3968
+ (0, import_typeorm45.OneToMany)(() => Job, (job) => job.user)
3853
3969
  ], User.prototype, "jobs", 2);
3854
3970
  __decorateClass([
3855
- (0, import_typeorm43.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
3971
+ (0, import_typeorm45.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
3856
3972
  ], User.prototype, "jobApplications", 2);
3857
3973
  __decorateClass([
3858
- (0, import_typeorm43.OneToMany)(() => Interview, (interview) => interview.user)
3974
+ (0, import_typeorm45.OneToMany)(() => Interview, (interview) => interview.user)
3859
3975
  ], User.prototype, "interviews", 2);
3860
3976
  __decorateClass([
3861
- (0, import_typeorm43.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
3977
+ (0, import_typeorm45.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
3862
3978
  ], User.prototype, "bankDetail", 2);
3863
3979
  __decorateClass([
3864
- (0, import_typeorm43.OneToMany)(() => SystemPreference, (systemPreference) => systemPreference.user)
3980
+ (0, import_typeorm45.OneToMany)(() => SystemPreference, (systemPreference) => systemPreference.user)
3865
3981
  ], User.prototype, "systemPreference", 2);
3866
3982
  __decorateClass([
3867
- (0, import_typeorm43.OneToMany)(() => Rating, (rating) => rating.reviewer)
3983
+ (0, import_typeorm45.OneToMany)(() => Rating, (rating) => rating.reviewer)
3868
3984
  ], User.prototype, "givenRatings", 2);
3869
3985
  __decorateClass([
3870
- (0, import_typeorm43.OneToMany)(() => Rating, (rating) => rating.reviewee)
3986
+ (0, import_typeorm45.OneToMany)(() => Rating, (rating) => rating.reviewee)
3871
3987
  ], User.prototype, "receivedRatings", 2);
3872
3988
  __decorateClass([
3873
- (0, import_typeorm43.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
3989
+ (0, import_typeorm45.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
3874
3990
  ], User.prototype, "adminUserRoles", 2);
3991
+ __decorateClass([
3992
+ (0, import_typeorm45.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.client)
3993
+ ], User.prototype, "clientF2FInterviews", 2);
3994
+ __decorateClass([
3995
+ (0, import_typeorm45.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.freelancer)
3996
+ ], User.prototype, "freelancerF2FInterviews", 2);
3875
3997
  User = __decorateClass([
3876
- (0, import_typeorm43.Entity)("users")
3998
+ (0, import_typeorm45.Entity)("users")
3877
3999
  ], User);
3878
4000
 
3879
4001
  // src/entities/rating.entity.ts
@@ -3885,36 +4007,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
3885
4007
  var Rating = class extends BaseEntity {
3886
4008
  };
3887
4009
  __decorateClass([
3888
- (0, import_typeorm44.Column)({ name: "reviewer_id", type: "integer" }),
3889
- (0, import_typeorm44.Index)()
4010
+ (0, import_typeorm46.Column)({ name: "reviewer_id", type: "integer" }),
4011
+ (0, import_typeorm46.Index)()
3890
4012
  ], Rating.prototype, "reviewer_id", 2);
3891
4013
  __decorateClass([
3892
- (0, import_typeorm44.ManyToOne)(() => User, { onDelete: "CASCADE" }),
3893
- (0, import_typeorm44.JoinColumn)({ name: "reviewer_id" })
4014
+ (0, import_typeorm46.ManyToOne)(() => User, { onDelete: "CASCADE" }),
4015
+ (0, import_typeorm46.JoinColumn)({ name: "reviewer_id" })
3894
4016
  ], Rating.prototype, "reviewer", 2);
3895
4017
  __decorateClass([
3896
- (0, import_typeorm44.Column)({ name: "reviewee_id", type: "integer" }),
3897
- (0, import_typeorm44.Index)()
4018
+ (0, import_typeorm46.Column)({ name: "reviewee_id", type: "integer" }),
4019
+ (0, import_typeorm46.Index)()
3898
4020
  ], Rating.prototype, "reviewee_id", 2);
3899
4021
  __decorateClass([
3900
- (0, import_typeorm44.ManyToOne)(() => User, { onDelete: "CASCADE" }),
3901
- (0, import_typeorm44.JoinColumn)({ name: "reviewee_id" })
4022
+ (0, import_typeorm46.ManyToOne)(() => User, { onDelete: "CASCADE" }),
4023
+ (0, import_typeorm46.JoinColumn)({ name: "reviewee_id" })
3902
4024
  ], Rating.prototype, "reviewee", 2);
3903
4025
  __decorateClass([
3904
- (0, import_typeorm44.Column)({
4026
+ (0, import_typeorm46.Column)({
3905
4027
  type: "enum",
3906
4028
  enum: RatingTypeEnum,
3907
4029
  nullable: true
3908
4030
  })
3909
4031
  ], Rating.prototype, "ratingType", 2);
3910
4032
  __decorateClass([
3911
- (0, import_typeorm44.Column)({ type: "integer", nullable: true })
4033
+ (0, import_typeorm46.Column)({ type: "integer", nullable: true })
3912
4034
  ], Rating.prototype, "rating", 2);
3913
4035
  __decorateClass([
3914
- (0, import_typeorm44.Column)({ type: "text", nullable: true })
4036
+ (0, import_typeorm46.Column)({ type: "text", nullable: true })
3915
4037
  ], Rating.prototype, "review", 2);
3916
4038
  Rating = __decorateClass([
3917
- (0, import_typeorm44.Entity)("ratings")
4039
+ (0, import_typeorm46.Entity)("ratings")
3918
4040
  ], Rating);
3919
4041
 
3920
4042
  // src/modules/rating/dto/add.rating.dto.ts
@@ -5260,11 +5382,11 @@ var NotificationRMQAdapter = (mode = "microservice") => {
5260
5382
  };
5261
5383
 
5262
5384
  // src/entities/sequence-generator.entity.ts
5263
- var import_typeorm45 = require("typeorm");
5385
+ var import_typeorm47 = require("typeorm");
5264
5386
  var SequenceGenerator = class extends BaseEntity {
5265
5387
  };
5266
5388
  __decorateClass([
5267
- (0, import_typeorm45.Column)({
5389
+ (0, import_typeorm47.Column)({
5268
5390
  name: "module",
5269
5391
  type: "varchar",
5270
5392
  length: 50,
@@ -5273,7 +5395,7 @@ __decorateClass([
5273
5395
  })
5274
5396
  ], SequenceGenerator.prototype, "module", 2);
5275
5397
  __decorateClass([
5276
- (0, import_typeorm45.Column)({
5398
+ (0, import_typeorm47.Column)({
5277
5399
  name: "prefix",
5278
5400
  type: "varchar",
5279
5401
  length: 10,
@@ -5282,7 +5404,7 @@ __decorateClass([
5282
5404
  })
5283
5405
  ], SequenceGenerator.prototype, "prefix", 2);
5284
5406
  __decorateClass([
5285
- (0, import_typeorm45.Column)({
5407
+ (0, import_typeorm47.Column)({
5286
5408
  name: "last_sequence",
5287
5409
  type: "int",
5288
5410
  nullable: false,
@@ -5290,7 +5412,7 @@ __decorateClass([
5290
5412
  })
5291
5413
  ], SequenceGenerator.prototype, "lastSequence", 2);
5292
5414
  __decorateClass([
5293
- (0, import_typeorm45.Column)({
5415
+ (0, import_typeorm47.Column)({
5294
5416
  name: "year",
5295
5417
  type: "int",
5296
5418
  nullable: true,
@@ -5298,11 +5420,11 @@ __decorateClass([
5298
5420
  })
5299
5421
  ], SequenceGenerator.prototype, "year", 2);
5300
5422
  SequenceGenerator = __decorateClass([
5301
- (0, import_typeorm45.Entity)("sequence_generators")
5423
+ (0, import_typeorm47.Entity)("sequence_generators")
5302
5424
  ], SequenceGenerator);
5303
5425
 
5304
5426
  // src/entities/question.entity.ts
5305
- var import_typeorm46 = require("typeorm");
5427
+ var import_typeorm48 = require("typeorm");
5306
5428
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
5307
5429
  QuestionFor2["CLIENT"] = "CLIENT";
5308
5430
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -5311,16 +5433,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
5311
5433
  var Question = class extends BaseEntity {
5312
5434
  };
5313
5435
  __decorateClass([
5314
- (0, import_typeorm46.Column)({ name: "question", type: "varchar" })
5436
+ (0, import_typeorm48.Column)({ name: "question", type: "varchar" })
5315
5437
  ], Question.prototype, "question", 2);
5316
5438
  __decorateClass([
5317
- (0, import_typeorm46.Column)({ name: "hint", type: "varchar", nullable: true })
5439
+ (0, import_typeorm48.Column)({ name: "hint", type: "varchar", nullable: true })
5318
5440
  ], Question.prototype, "hint", 2);
5319
5441
  __decorateClass([
5320
- (0, import_typeorm46.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
5442
+ (0, import_typeorm48.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
5321
5443
  ], Question.prototype, "slug", 2);
5322
5444
  __decorateClass([
5323
- (0, import_typeorm46.Column)({
5445
+ (0, import_typeorm48.Column)({
5324
5446
  name: "question_for",
5325
5447
  type: "enum",
5326
5448
  enum: QuestionFor,
@@ -5328,117 +5450,117 @@ __decorateClass([
5328
5450
  })
5329
5451
  ], Question.prototype, "questionFor", 2);
5330
5452
  __decorateClass([
5331
- (0, import_typeorm46.Column)({ name: "type", type: "varchar", nullable: true })
5453
+ (0, import_typeorm48.Column)({ name: "type", type: "varchar", nullable: true })
5332
5454
  ], Question.prototype, "type", 2);
5333
5455
  __decorateClass([
5334
- (0, import_typeorm46.Column)({ name: "options", type: "jsonb", nullable: true })
5456
+ (0, import_typeorm48.Column)({ name: "options", type: "jsonb", nullable: true })
5335
5457
  ], Question.prototype, "options", 2);
5336
5458
  __decorateClass([
5337
- (0, import_typeorm46.Column)({ name: "is_active", type: "boolean", default: false })
5459
+ (0, import_typeorm48.Column)({ name: "is_active", type: "boolean", default: false })
5338
5460
  ], Question.prototype, "isActive", 2);
5339
5461
  Question = __decorateClass([
5340
- (0, import_typeorm46.Entity)("questions")
5462
+ (0, import_typeorm48.Entity)("questions")
5341
5463
  ], Question);
5342
5464
 
5343
5465
  // src/entities/skill.entity.ts
5344
- var import_typeorm47 = require("typeorm");
5466
+ var import_typeorm49 = require("typeorm");
5345
5467
  var Skill = class extends BaseEntity {
5346
5468
  };
5347
5469
  __decorateClass([
5348
- (0, import_typeorm47.Column)({ name: "name", type: "varchar", nullable: true })
5470
+ (0, import_typeorm49.Column)({ name: "name", type: "varchar", nullable: true })
5349
5471
  ], Skill.prototype, "name", 2);
5350
5472
  __decorateClass([
5351
- (0, import_typeorm47.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
5473
+ (0, import_typeorm49.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
5352
5474
  ], Skill.prototype, "slug", 2);
5353
5475
  __decorateClass([
5354
- (0, import_typeorm47.Column)({ name: "is_active", type: "boolean", default: false })
5476
+ (0, import_typeorm49.Column)({ name: "is_active", type: "boolean", default: false })
5355
5477
  ], Skill.prototype, "isActive", 2);
5356
5478
  Skill = __decorateClass([
5357
- (0, import_typeorm47.Entity)("skills")
5479
+ (0, import_typeorm49.Entity)("skills")
5358
5480
  ], Skill);
5359
5481
 
5360
5482
  // src/entities/job-role.entity.ts
5361
- var import_typeorm48 = require("typeorm");
5483
+ var import_typeorm50 = require("typeorm");
5362
5484
  var JobRoles = class extends BaseEntity {
5363
5485
  };
5364
5486
  __decorateClass([
5365
- (0, import_typeorm48.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
5487
+ (0, import_typeorm50.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
5366
5488
  ], JobRoles.prototype, "slug", 2);
5367
5489
  __decorateClass([
5368
- (0, import_typeorm48.Column)({ name: "name", type: "varchar", nullable: true })
5490
+ (0, import_typeorm50.Column)({ name: "name", type: "varchar", nullable: true })
5369
5491
  ], JobRoles.prototype, "name", 2);
5370
5492
  __decorateClass([
5371
- (0, import_typeorm48.Column)({ name: "is_active", type: "boolean", default: true })
5493
+ (0, import_typeorm50.Column)({ name: "is_active", type: "boolean", default: true })
5372
5494
  ], JobRoles.prototype, "isActive", 2);
5373
5495
  JobRoles = __decorateClass([
5374
- (0, import_typeorm48.Entity)("job_roles")
5496
+ (0, import_typeorm50.Entity)("job_roles")
5375
5497
  ], JobRoles);
5376
5498
 
5377
5499
  // src/entities/plan.entity.ts
5378
- var import_typeorm50 = require("typeorm");
5500
+ var import_typeorm52 = require("typeorm");
5379
5501
 
5380
5502
  // src/entities/feature.entity.ts
5381
- var import_typeorm49 = require("typeorm");
5503
+ var import_typeorm51 = require("typeorm");
5382
5504
  var Feature = class extends BaseEntity {
5383
5505
  };
5384
5506
  __decorateClass([
5385
- (0, import_typeorm49.Column)({ name: "name", type: "varchar", unique: true })
5507
+ (0, import_typeorm51.Column)({ name: "name", type: "varchar", unique: true })
5386
5508
  ], Feature.prototype, "name", 2);
5387
5509
  __decorateClass([
5388
- (0, import_typeorm49.ManyToMany)(() => Plan, (plan) => plan.features)
5510
+ (0, import_typeorm51.ManyToMany)(() => Plan, (plan) => plan.features)
5389
5511
  ], Feature.prototype, "plans", 2);
5390
5512
  Feature = __decorateClass([
5391
- (0, import_typeorm49.Entity)("features")
5513
+ (0, import_typeorm51.Entity)("features")
5392
5514
  ], Feature);
5393
5515
 
5394
5516
  // src/entities/plan.entity.ts
5395
5517
  var Plan = class extends BaseEntity {
5396
5518
  };
5397
5519
  __decorateClass([
5398
- (0, import_typeorm50.Column)({ name: "name", type: "varchar", unique: true })
5520
+ (0, import_typeorm52.Column)({ name: "name", type: "varchar", unique: true })
5399
5521
  ], Plan.prototype, "name", 2);
5400
5522
  __decorateClass([
5401
- (0, import_typeorm50.Column)({ name: "description", type: "varchar", nullable: true })
5523
+ (0, import_typeorm52.Column)({ name: "description", type: "varchar", nullable: true })
5402
5524
  ], Plan.prototype, "description", 2);
5403
5525
  __decorateClass([
5404
- (0, import_typeorm50.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
5526
+ (0, import_typeorm52.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
5405
5527
  ], Plan.prototype, "price", 2);
5406
5528
  __decorateClass([
5407
- (0, import_typeorm50.Column)({ name: "billing_period", type: "varchar" })
5529
+ (0, import_typeorm52.Column)({ name: "billing_period", type: "varchar" })
5408
5530
  ], Plan.prototype, "billingPeriod", 2);
5409
5531
  __decorateClass([
5410
- (0, import_typeorm50.Column)({ name: "is_current", type: "boolean", default: false })
5532
+ (0, import_typeorm52.Column)({ name: "is_current", type: "boolean", default: false })
5411
5533
  ], Plan.prototype, "isCurrent", 2);
5412
5534
  __decorateClass([
5413
- (0, import_typeorm50.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
5414
- (0, import_typeorm50.JoinTable)()
5535
+ (0, import_typeorm52.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
5536
+ (0, import_typeorm52.JoinTable)()
5415
5537
  ], Plan.prototype, "features", 2);
5416
5538
  Plan = __decorateClass([
5417
- (0, import_typeorm50.Entity)("plans")
5539
+ (0, import_typeorm52.Entity)("plans")
5418
5540
  ], Plan);
5419
5541
 
5420
5542
  // src/entities/cms.entity.ts
5421
- var import_typeorm51 = require("typeorm");
5543
+ var import_typeorm53 = require("typeorm");
5422
5544
  var Cms = class extends BaseEntity {
5423
5545
  };
5424
5546
  __decorateClass([
5425
- (0, import_typeorm51.Column)({ name: "title", type: "varchar", nullable: true })
5547
+ (0, import_typeorm53.Column)({ name: "title", type: "varchar", nullable: true })
5426
5548
  ], Cms.prototype, "title", 2);
5427
5549
  __decorateClass([
5428
- (0, import_typeorm51.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
5550
+ (0, import_typeorm53.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
5429
5551
  ], Cms.prototype, "slug", 2);
5430
5552
  __decorateClass([
5431
- (0, import_typeorm51.Column)({ name: "content", type: "varchar", nullable: true })
5553
+ (0, import_typeorm53.Column)({ name: "content", type: "varchar", nullable: true })
5432
5554
  ], Cms.prototype, "content", 2);
5433
5555
  __decorateClass([
5434
- (0, import_typeorm51.Column)({ name: "is_active", type: "boolean", default: true })
5556
+ (0, import_typeorm53.Column)({ name: "is_active", type: "boolean", default: true })
5435
5557
  ], Cms.prototype, "isActive", 2);
5436
5558
  Cms = __decorateClass([
5437
- (0, import_typeorm51.Entity)("cms")
5559
+ (0, import_typeorm53.Entity)("cms")
5438
5560
  ], Cms);
5439
5561
 
5440
5562
  // src/entities/lead.entity.ts
5441
- var import_typeorm52 = require("typeorm");
5563
+ var import_typeorm54 = require("typeorm");
5442
5564
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
5443
5565
  CategoryEmum2["BUSINESS"] = "BUSINESS";
5444
5566
  CategoryEmum2["FREELANCER"] = "FREELANCER";
@@ -5447,22 +5569,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
5447
5569
  var Lead = class extends BaseEntity {
5448
5570
  };
5449
5571
  __decorateClass([
5450
- (0, import_typeorm52.Column)({ name: "name", type: "varchar", nullable: true })
5572
+ (0, import_typeorm54.Column)({ name: "name", type: "varchar", nullable: true })
5451
5573
  ], Lead.prototype, "name", 2);
5452
5574
  __decorateClass([
5453
- (0, import_typeorm52.Column)({ name: "mobile_code", type: "varchar", nullable: true })
5575
+ (0, import_typeorm54.Column)({ name: "mobile_code", type: "varchar", nullable: true })
5454
5576
  ], Lead.prototype, "mobileCode", 2);
5455
5577
  __decorateClass([
5456
- (0, import_typeorm52.Column)({ name: "mobile", type: "varchar", nullable: true })
5578
+ (0, import_typeorm54.Column)({ name: "mobile", type: "varchar", nullable: true })
5457
5579
  ], Lead.prototype, "mobile", 2);
5458
5580
  __decorateClass([
5459
- (0, import_typeorm52.Column)({ name: "email", type: "varchar", nullable: true })
5581
+ (0, import_typeorm54.Column)({ name: "email", type: "varchar", nullable: true })
5460
5582
  ], Lead.prototype, "email", 2);
5461
5583
  __decorateClass([
5462
- (0, import_typeorm52.Column)({ name: "description", type: "varchar", nullable: true })
5584
+ (0, import_typeorm54.Column)({ name: "description", type: "varchar", nullable: true })
5463
5585
  ], Lead.prototype, "description", 2);
5464
5586
  __decorateClass([
5465
- (0, import_typeorm52.Column)({
5587
+ (0, import_typeorm54.Column)({
5466
5588
  name: "category",
5467
5589
  type: "enum",
5468
5590
  enum: CategoryEmum,
@@ -5470,129 +5592,129 @@ __decorateClass([
5470
5592
  })
5471
5593
  ], Lead.prototype, "category", 2);
5472
5594
  Lead = __decorateClass([
5473
- (0, import_typeorm52.Entity)("leads")
5595
+ (0, import_typeorm54.Entity)("leads")
5474
5596
  ], Lead);
5475
5597
 
5476
5598
  // src/entities/job-freelancer-recommendation.entity.ts
5477
- var import_typeorm53 = require("typeorm");
5599
+ var import_typeorm55 = require("typeorm");
5478
5600
  var JobFreelancerRecommendation = class {
5479
5601
  };
5480
5602
  __decorateClass([
5481
- (0, import_typeorm53.ViewColumn)({ name: "job_id" })
5603
+ (0, import_typeorm55.ViewColumn)({ name: "job_id" })
5482
5604
  ], JobFreelancerRecommendation.prototype, "jobId", 2);
5483
5605
  __decorateClass([
5484
- (0, import_typeorm53.ViewColumn)({ name: "job_uuid" })
5606
+ (0, import_typeorm55.ViewColumn)({ name: "job_uuid" })
5485
5607
  ], JobFreelancerRecommendation.prototype, "jobUuid", 2);
5486
5608
  __decorateClass([
5487
- (0, import_typeorm53.ViewColumn)({ name: "job_unique_id" })
5609
+ (0, import_typeorm55.ViewColumn)({ name: "job_unique_id" })
5488
5610
  ], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
5489
5611
  __decorateClass([
5490
- (0, import_typeorm53.ViewColumn)({ name: "job_role" })
5612
+ (0, import_typeorm55.ViewColumn)({ name: "job_role" })
5491
5613
  ], JobFreelancerRecommendation.prototype, "jobRole", 2);
5492
5614
  __decorateClass([
5493
- (0, import_typeorm53.ViewColumn)({ name: "job_openings" })
5615
+ (0, import_typeorm55.ViewColumn)({ name: "job_openings" })
5494
5616
  ], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
5495
5617
  __decorateClass([
5496
- (0, import_typeorm53.ViewColumn)({ name: "job_location" })
5618
+ (0, import_typeorm55.ViewColumn)({ name: "job_location" })
5497
5619
  ], JobFreelancerRecommendation.prototype, "jobLocation", 2);
5498
5620
  __decorateClass([
5499
- (0, import_typeorm53.ViewColumn)({ name: "job_currency" })
5621
+ (0, import_typeorm55.ViewColumn)({ name: "job_currency" })
5500
5622
  ], JobFreelancerRecommendation.prototype, "jobCurrency", 2);
5501
5623
  __decorateClass([
5502
- (0, import_typeorm53.ViewColumn)({ name: "job_salary_from" })
5624
+ (0, import_typeorm55.ViewColumn)({ name: "job_salary_from" })
5503
5625
  ], JobFreelancerRecommendation.prototype, "jobSalaryFrom", 2);
5504
5626
  __decorateClass([
5505
- (0, import_typeorm53.ViewColumn)({ name: "job_salary_to" })
5627
+ (0, import_typeorm55.ViewColumn)({ name: "job_salary_to" })
5506
5628
  ], JobFreelancerRecommendation.prototype, "jobSalaryTo", 2);
5507
5629
  __decorateClass([
5508
- (0, import_typeorm53.ViewColumn)({ name: "job_employment_type" })
5630
+ (0, import_typeorm55.ViewColumn)({ name: "job_employment_type" })
5509
5631
  ], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
5510
5632
  __decorateClass([
5511
- (0, import_typeorm53.ViewColumn)({ name: "application_received" })
5633
+ (0, import_typeorm55.ViewColumn)({ name: "application_received" })
5512
5634
  ], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
5513
5635
  __decorateClass([
5514
- (0, import_typeorm53.ViewColumn)({ name: "job_posted_at" })
5636
+ (0, import_typeorm55.ViewColumn)({ name: "job_posted_at" })
5515
5637
  ], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
5516
5638
  __decorateClass([
5517
- (0, import_typeorm53.ViewColumn)({ name: "freelancer_id" })
5639
+ (0, import_typeorm55.ViewColumn)({ name: "freelancer_id" })
5518
5640
  ], JobFreelancerRecommendation.prototype, "freelancerId", 2);
5519
5641
  __decorateClass([
5520
- (0, import_typeorm53.ViewColumn)({ name: "freelancer_uuid" })
5642
+ (0, import_typeorm55.ViewColumn)({ name: "freelancer_uuid" })
5521
5643
  ], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
5522
5644
  __decorateClass([
5523
- (0, import_typeorm53.ViewColumn)({ name: "freelancer_unique_id" })
5645
+ (0, import_typeorm55.ViewColumn)({ name: "freelancer_unique_id" })
5524
5646
  ], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
5525
5647
  __decorateClass([
5526
- (0, import_typeorm53.ViewColumn)({ name: "freelancer_first_name" })
5648
+ (0, import_typeorm55.ViewColumn)({ name: "freelancer_first_name" })
5527
5649
  ], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
5528
5650
  __decorateClass([
5529
- (0, import_typeorm53.ViewColumn)({ name: "freelancer_last_name" })
5651
+ (0, import_typeorm55.ViewColumn)({ name: "freelancer_last_name" })
5530
5652
  ], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
5531
5653
  __decorateClass([
5532
- (0, import_typeorm53.ViewColumn)({ name: "freelancer_email" })
5654
+ (0, import_typeorm55.ViewColumn)({ name: "freelancer_email" })
5533
5655
  ], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
5534
5656
  __decorateClass([
5535
- (0, import_typeorm53.ViewColumn)({ name: "freelancer_profile_picture" })
5657
+ (0, import_typeorm55.ViewColumn)({ name: "freelancer_profile_picture" })
5536
5658
  ], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
5537
5659
  __decorateClass([
5538
- (0, import_typeorm53.ViewColumn)({ name: "freelancer_is_social" })
5660
+ (0, import_typeorm55.ViewColumn)({ name: "freelancer_is_social" })
5539
5661
  ], JobFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
5540
5662
  __decorateClass([
5541
- (0, import_typeorm53.ViewColumn)({ name: "freelancer_created_at" })
5663
+ (0, import_typeorm55.ViewColumn)({ name: "freelancer_created_at" })
5542
5664
  ], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
5543
5665
  __decorateClass([
5544
- (0, import_typeorm53.ViewColumn)({ name: "freelancer_designation" })
5666
+ (0, import_typeorm55.ViewColumn)({ name: "freelancer_designation" })
5545
5667
  ], JobFreelancerRecommendation.prototype, "freelancerDesignation", 2);
5546
5668
  __decorateClass([
5547
- (0, import_typeorm53.ViewColumn)({ name: "freelancer_experience" })
5669
+ (0, import_typeorm55.ViewColumn)({ name: "freelancer_experience" })
5548
5670
  ], JobFreelancerRecommendation.prototype, "freelancerExperience", 2);
5549
5671
  __decorateClass([
5550
- (0, import_typeorm53.ViewColumn)({ name: "freelancer_expertshub_verified" })
5672
+ (0, import_typeorm55.ViewColumn)({ name: "freelancer_expertshub_verified" })
5551
5673
  ], JobFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
5552
5674
  __decorateClass([
5553
- (0, import_typeorm53.ViewColumn)({ name: "freelancer_hourly_compensation" })
5675
+ (0, import_typeorm55.ViewColumn)({ name: "freelancer_hourly_compensation" })
5554
5676
  ], JobFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
5555
5677
  __decorateClass([
5556
- (0, import_typeorm53.ViewColumn)({ name: "freelancer_country_name" })
5678
+ (0, import_typeorm55.ViewColumn)({ name: "freelancer_country_name" })
5557
5679
  ], JobFreelancerRecommendation.prototype, "freelancerCountryName", 2);
5558
5680
  __decorateClass([
5559
- (0, import_typeorm53.ViewColumn)({ name: "freelancer_country_iso_code" })
5681
+ (0, import_typeorm55.ViewColumn)({ name: "freelancer_country_iso_code" })
5560
5682
  ], JobFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
5561
5683
  __decorateClass([
5562
- (0, import_typeorm53.ViewColumn)({ name: "client_id" })
5684
+ (0, import_typeorm55.ViewColumn)({ name: "client_id" })
5563
5685
  ], JobFreelancerRecommendation.prototype, "clientId", 2);
5564
5686
  __decorateClass([
5565
- (0, import_typeorm53.ViewColumn)({ name: "client_uuid" })
5687
+ (0, import_typeorm55.ViewColumn)({ name: "client_uuid" })
5566
5688
  ], JobFreelancerRecommendation.prototype, "clientUuid", 2);
5567
5689
  __decorateClass([
5568
- (0, import_typeorm53.ViewColumn)({ name: "client_first_name" })
5690
+ (0, import_typeorm55.ViewColumn)({ name: "client_first_name" })
5569
5691
  ], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
5570
5692
  __decorateClass([
5571
- (0, import_typeorm53.ViewColumn)({ name: "client_last_name" })
5693
+ (0, import_typeorm55.ViewColumn)({ name: "client_last_name" })
5572
5694
  ], JobFreelancerRecommendation.prototype, "clientLastName", 2);
5573
5695
  __decorateClass([
5574
- (0, import_typeorm53.ViewColumn)({ name: "client_email" })
5696
+ (0, import_typeorm55.ViewColumn)({ name: "client_email" })
5575
5697
  ], JobFreelancerRecommendation.prototype, "clientEmail", 2);
5576
5698
  __decorateClass([
5577
- (0, import_typeorm53.ViewColumn)({ name: "client_company_logo" })
5699
+ (0, import_typeorm55.ViewColumn)({ name: "client_company_logo" })
5578
5700
  ], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
5579
5701
  __decorateClass([
5580
- (0, import_typeorm53.ViewColumn)({ name: "client_company_name" })
5702
+ (0, import_typeorm55.ViewColumn)({ name: "client_company_name" })
5581
5703
  ], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
5582
5704
  __decorateClass([
5583
- (0, import_typeorm53.ViewColumn)({ name: "matching_skills" })
5705
+ (0, import_typeorm55.ViewColumn)({ name: "matching_skills" })
5584
5706
  ], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
5585
5707
  __decorateClass([
5586
- (0, import_typeorm53.ViewColumn)({ name: "matching_skills_count" })
5708
+ (0, import_typeorm55.ViewColumn)({ name: "matching_skills_count" })
5587
5709
  ], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
5588
5710
  __decorateClass([
5589
- (0, import_typeorm53.ViewColumn)({ name: "required_skills" })
5711
+ (0, import_typeorm55.ViewColumn)({ name: "required_skills" })
5590
5712
  ], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
5591
5713
  __decorateClass([
5592
- (0, import_typeorm53.ViewColumn)({ name: "required_skills_count" })
5714
+ (0, import_typeorm55.ViewColumn)({ name: "required_skills_count" })
5593
5715
  ], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
5594
5716
  JobFreelancerRecommendation = __decorateClass([
5595
- (0, import_typeorm53.ViewEntity)({
5717
+ (0, import_typeorm55.ViewEntity)({
5596
5718
  name: "job_freelancer_recommendations",
5597
5719
  materialized: true,
5598
5720
  synchronize: false
@@ -5601,32 +5723,32 @@ JobFreelancerRecommendation = __decorateClass([
5601
5723
  ], JobFreelancerRecommendation);
5602
5724
 
5603
5725
  // src/entities/job-freelancer-recommendation-v2.entity.ts
5604
- var import_typeorm54 = require("typeorm");
5726
+ var import_typeorm56 = require("typeorm");
5605
5727
  var JobFreelancerRecommendationV2 = class {
5606
5728
  };
5607
5729
  __decorateClass([
5608
- (0, import_typeorm54.ViewColumn)({ name: "job_id" })
5730
+ (0, import_typeorm56.ViewColumn)({ name: "job_id" })
5609
5731
  ], JobFreelancerRecommendationV2.prototype, "jobId", 2);
5610
5732
  __decorateClass([
5611
- (0, import_typeorm54.ViewColumn)({ name: "job_owner_id" })
5733
+ (0, import_typeorm56.ViewColumn)({ name: "job_owner_id" })
5612
5734
  ], JobFreelancerRecommendationV2.prototype, "jobOwnerId", 2);
5613
5735
  __decorateClass([
5614
- (0, import_typeorm54.ViewColumn)({ name: "freelancer_id" })
5736
+ (0, import_typeorm56.ViewColumn)({ name: "freelancer_id" })
5615
5737
  ], JobFreelancerRecommendationV2.prototype, "freelancerId", 2);
5616
5738
  __decorateClass([
5617
- (0, import_typeorm54.ViewColumn)({ name: "matching_skills" })
5739
+ (0, import_typeorm56.ViewColumn)({ name: "matching_skills" })
5618
5740
  ], JobFreelancerRecommendationV2.prototype, "matchingSkills", 2);
5619
5741
  __decorateClass([
5620
- (0, import_typeorm54.ViewColumn)({ name: "matching_skills_count" })
5742
+ (0, import_typeorm56.ViewColumn)({ name: "matching_skills_count" })
5621
5743
  ], JobFreelancerRecommendationV2.prototype, "matchingSkillsCount", 2);
5622
5744
  __decorateClass([
5623
- (0, import_typeorm54.ViewColumn)({ name: "required_skills" })
5745
+ (0, import_typeorm56.ViewColumn)({ name: "required_skills" })
5624
5746
  ], JobFreelancerRecommendationV2.prototype, "requiredSkills", 2);
5625
5747
  __decorateClass([
5626
- (0, import_typeorm54.ViewColumn)({ name: "required_skills_count" })
5748
+ (0, import_typeorm56.ViewColumn)({ name: "required_skills_count" })
5627
5749
  ], JobFreelancerRecommendationV2.prototype, "requiredSkillsCount", 2);
5628
5750
  JobFreelancerRecommendationV2 = __decorateClass([
5629
- (0, import_typeorm54.ViewEntity)({
5751
+ (0, import_typeorm56.ViewEntity)({
5630
5752
  name: "job_freelancer_recommendations_v2",
5631
5753
  materialized: true,
5632
5754
  synchronize: false
@@ -5635,74 +5757,74 @@ JobFreelancerRecommendationV2 = __decorateClass([
5635
5757
  ], JobFreelancerRecommendationV2);
5636
5758
 
5637
5759
  // src/entities/client-freelancer-recommendation.entity.ts
5638
- var import_typeorm55 = require("typeorm");
5760
+ var import_typeorm57 = require("typeorm");
5639
5761
  var ClientFreelancerRecommendation = class {
5640
5762
  };
5641
5763
  __decorateClass([
5642
- (0, import_typeorm55.ViewColumn)({ name: "client_id" })
5764
+ (0, import_typeorm57.ViewColumn)({ name: "client_id" })
5643
5765
  ], ClientFreelancerRecommendation.prototype, "clientId", 2);
5644
5766
  __decorateClass([
5645
- (0, import_typeorm55.ViewColumn)({ name: "client_uuid" })
5767
+ (0, import_typeorm57.ViewColumn)({ name: "client_uuid" })
5646
5768
  ], ClientFreelancerRecommendation.prototype, "clientUuid", 2);
5647
5769
  __decorateClass([
5648
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_id" })
5770
+ (0, import_typeorm57.ViewColumn)({ name: "freelancer_id" })
5649
5771
  ], ClientFreelancerRecommendation.prototype, "freelancerId", 2);
5650
5772
  __decorateClass([
5651
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_uuid" })
5773
+ (0, import_typeorm57.ViewColumn)({ name: "freelancer_uuid" })
5652
5774
  ], ClientFreelancerRecommendation.prototype, "freelancerUuid", 2);
5653
5775
  __decorateClass([
5654
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_unique_id" })
5776
+ (0, import_typeorm57.ViewColumn)({ name: "freelancer_unique_id" })
5655
5777
  ], ClientFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
5656
5778
  __decorateClass([
5657
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_first_name" })
5779
+ (0, import_typeorm57.ViewColumn)({ name: "freelancer_first_name" })
5658
5780
  ], ClientFreelancerRecommendation.prototype, "freelancerFirstName", 2);
5659
5781
  __decorateClass([
5660
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_last_name" })
5782
+ (0, import_typeorm57.ViewColumn)({ name: "freelancer_last_name" })
5661
5783
  ], ClientFreelancerRecommendation.prototype, "freelancerLastName", 2);
5662
5784
  __decorateClass([
5663
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_email" })
5785
+ (0, import_typeorm57.ViewColumn)({ name: "freelancer_email" })
5664
5786
  ], ClientFreelancerRecommendation.prototype, "freelancerEmail", 2);
5665
5787
  __decorateClass([
5666
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_profile_picture" })
5788
+ (0, import_typeorm57.ViewColumn)({ name: "freelancer_profile_picture" })
5667
5789
  ], ClientFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
5668
5790
  __decorateClass([
5669
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_is_social" })
5791
+ (0, import_typeorm57.ViewColumn)({ name: "freelancer_is_social" })
5670
5792
  ], ClientFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
5671
5793
  __decorateClass([
5672
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_created_at" })
5794
+ (0, import_typeorm57.ViewColumn)({ name: "freelancer_created_at" })
5673
5795
  ], ClientFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
5674
5796
  __decorateClass([
5675
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_designation" })
5797
+ (0, import_typeorm57.ViewColumn)({ name: "freelancer_designation" })
5676
5798
  ], ClientFreelancerRecommendation.prototype, "freelancerDesignation", 2);
5677
5799
  __decorateClass([
5678
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_experience" })
5800
+ (0, import_typeorm57.ViewColumn)({ name: "freelancer_experience" })
5679
5801
  ], ClientFreelancerRecommendation.prototype, "freelancerExperience", 2);
5680
5802
  __decorateClass([
5681
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_expertshub_verified" })
5803
+ (0, import_typeorm57.ViewColumn)({ name: "freelancer_expertshub_verified" })
5682
5804
  ], ClientFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
5683
5805
  __decorateClass([
5684
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_hourly_compensation" })
5806
+ (0, import_typeorm57.ViewColumn)({ name: "freelancer_hourly_compensation" })
5685
5807
  ], ClientFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
5686
5808
  __decorateClass([
5687
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_country_name" })
5809
+ (0, import_typeorm57.ViewColumn)({ name: "freelancer_country_name" })
5688
5810
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryName", 2);
5689
5811
  __decorateClass([
5690
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_country_iso_code" })
5812
+ (0, import_typeorm57.ViewColumn)({ name: "freelancer_country_iso_code" })
5691
5813
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
5692
5814
  __decorateClass([
5693
- (0, import_typeorm55.ViewColumn)({ name: "matching_skills" })
5815
+ (0, import_typeorm57.ViewColumn)({ name: "matching_skills" })
5694
5816
  ], ClientFreelancerRecommendation.prototype, "matchingSkills", 2);
5695
5817
  __decorateClass([
5696
- (0, import_typeorm55.ViewColumn)({ name: "matching_skills_count" })
5818
+ (0, import_typeorm57.ViewColumn)({ name: "matching_skills_count" })
5697
5819
  ], ClientFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
5698
5820
  __decorateClass([
5699
- (0, import_typeorm55.ViewColumn)({ name: "required_skills" })
5821
+ (0, import_typeorm57.ViewColumn)({ name: "required_skills" })
5700
5822
  ], ClientFreelancerRecommendation.prototype, "requiredSkills", 2);
5701
5823
  __decorateClass([
5702
- (0, import_typeorm55.ViewColumn)({ name: "required_skills_count" })
5824
+ (0, import_typeorm57.ViewColumn)({ name: "required_skills_count" })
5703
5825
  ], ClientFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
5704
5826
  ClientFreelancerRecommendation = __decorateClass([
5705
- (0, import_typeorm55.ViewEntity)({
5827
+ (0, import_typeorm57.ViewEntity)({
5706
5828
  name: "client_freelancer_recommendations",
5707
5829
  materialized: true,
5708
5830
  synchronize: false
@@ -5711,7 +5833,7 @@ ClientFreelancerRecommendation = __decorateClass([
5711
5833
  ], ClientFreelancerRecommendation);
5712
5834
 
5713
5835
  // src/entities/commission.entity.ts
5714
- var import_typeorm56 = require("typeorm");
5836
+ var import_typeorm58 = require("typeorm");
5715
5837
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
5716
5838
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
5717
5839
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -5720,7 +5842,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
5720
5842
  var Commission = class extends BaseEntity {
5721
5843
  };
5722
5844
  __decorateClass([
5723
- (0, import_typeorm56.Column)({
5845
+ (0, import_typeorm58.Column)({
5724
5846
  name: "freelancer_commission_type",
5725
5847
  type: "enum",
5726
5848
  enum: CommissionTypeEnum,
@@ -5728,10 +5850,10 @@ __decorateClass([
5728
5850
  })
5729
5851
  ], Commission.prototype, "freelancerCommissionType", 2);
5730
5852
  __decorateClass([
5731
- (0, import_typeorm56.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
5853
+ (0, import_typeorm58.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
5732
5854
  ], Commission.prototype, "freelancerCommission", 2);
5733
5855
  __decorateClass([
5734
- (0, import_typeorm56.Column)({
5856
+ (0, import_typeorm58.Column)({
5735
5857
  name: "client_commission_type",
5736
5858
  type: "enum",
5737
5859
  enum: CommissionTypeEnum,
@@ -5739,10 +5861,10 @@ __decorateClass([
5739
5861
  })
5740
5862
  ], Commission.prototype, "clientCommissionType", 2);
5741
5863
  __decorateClass([
5742
- (0, import_typeorm56.Column)({ name: "client_commission", type: "integer", default: 0 })
5864
+ (0, import_typeorm58.Column)({ name: "client_commission", type: "integer", default: 0 })
5743
5865
  ], Commission.prototype, "clientCommission", 2);
5744
5866
  Commission = __decorateClass([
5745
- (0, import_typeorm56.Entity)("commissions")
5867
+ (0, import_typeorm58.Entity)("commissions")
5746
5868
  ], Commission);
5747
5869
  // Annotate the CommonJS export names for ESM import in node:
5748
5870
  0 && (module.exports = {