@experts_hub/shared 1.0.326 → 1.0.327

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -755,7 +755,7 @@ __decorateClass([
755
755
  ], UpdateSubAdminAccountStatusDto.prototype, "accountStatus", 2);
756
756
 
757
757
  // src/modules/user/subadmin/dto/update-subadmin.dto.ts
758
- import { Transform } from "class-transformer/types";
758
+ import { Transform } from "class-transformer";
759
759
  import { IsNotEmpty as IsNotEmpty23, IsOptional as IsOptional5, Matches as Matches5, MaxLength as MaxLength5, MinLength as MinLength5 } from "class-validator";
760
760
  var UpdateSubAdminDto = class {
761
761
  };
@@ -1391,17 +1391,17 @@ import {
1391
1391
  } from "class-validator";
1392
1392
 
1393
1393
  // src/entities/rating.entity.ts
1394
- import { Entity as Entity42, Column as Column43, ManyToOne as ManyToOne37, JoinColumn as JoinColumn37, Index as Index37 } from "typeorm";
1394
+ import { Entity as Entity44, Column as Column45, ManyToOne as ManyToOne39, JoinColumn as JoinColumn39, Index as Index38 } from "typeorm";
1395
1395
 
1396
1396
  // src/entities/user.entity.ts
1397
1397
  import {
1398
- Entity as Entity41,
1399
- Column as Column42,
1398
+ Entity as Entity43,
1399
+ Column as Column44,
1400
1400
  OneToMany as OneToMany14,
1401
- OneToOne,
1402
- Index as Index36,
1403
- ManyToOne as ManyToOne36,
1404
- JoinColumn as JoinColumn36
1401
+ OneToOne as OneToOne3,
1402
+ Index as Index37,
1403
+ ManyToOne as ManyToOne38,
1404
+ JoinColumn as JoinColumn38
1405
1405
  } from "typeorm";
1406
1406
 
1407
1407
  // src/entities/base.entity.ts
@@ -1994,6 +1994,9 @@ __decorateClass([
1994
1994
  __decorateClass([
1995
1995
  Column8({ name: "is_expertshub_verified", type: "boolean", default: false })
1996
1996
  ], FreelancerProfile.prototype, "isExpertshubVerified", 2);
1997
+ __decorateClass([
1998
+ Column8({ name: "is_followed_on_linkedin", type: "boolean", default: false })
1999
+ ], FreelancerProfile.prototype, "isFollowedOnLinkedIn", 2);
1997
2000
  FreelancerProfile = __decorateClass([
1998
2001
  Entity7("freelancer_profiles")
1999
2002
  ], FreelancerProfile);
@@ -3645,6 +3648,189 @@ FreelancerResume = __decorateClass([
3645
3648
  Entity40("freelancer_resumes")
3646
3649
  ], FreelancerResume);
3647
3650
 
3651
+ // src/entities/calendly-meeting.entity.ts
3652
+ import {
3653
+ Entity as Entity42,
3654
+ Column as Column43,
3655
+ Index as Index36,
3656
+ Unique,
3657
+ ManyToOne as ManyToOne37,
3658
+ JoinColumn as JoinColumn37,
3659
+ OneToOne as OneToOne2
3660
+ } from "typeorm";
3661
+
3662
+ // src/entities/freelancer-f2f-interview.entity.ts
3663
+ import {
3664
+ Entity as Entity41,
3665
+ Column as Column42,
3666
+ ManyToOne as ManyToOne36,
3667
+ JoinColumn as JoinColumn36,
3668
+ OneToOne
3669
+ } from "typeorm";
3670
+ var FreelancerF2FInterview = class extends BaseEntity {
3671
+ };
3672
+ __decorateClass([
3673
+ OneToOne(() => CalendlyMeeting),
3674
+ JoinColumn36({ name: "calendly_meeting_id" })
3675
+ ], FreelancerF2FInterview.prototype, "calendlyMeeting", 2);
3676
+ __decorateClass([
3677
+ Column42({ name: "calendly_meeting_id", type: "integer" })
3678
+ ], FreelancerF2FInterview.prototype, "calendlyMeetingId", 2);
3679
+ __decorateClass([
3680
+ ManyToOne36(() => User, (user) => user.clientF2FInterviews, { nullable: true }),
3681
+ JoinColumn36({ name: "client_id" })
3682
+ ], FreelancerF2FInterview.prototype, "client", 2);
3683
+ __decorateClass([
3684
+ Column42({ name: "client_id", type: "integer", nullable: true })
3685
+ ], FreelancerF2FInterview.prototype, "clientId", 2);
3686
+ __decorateClass([
3687
+ ManyToOne36(() => User, (user) => user.freelancerF2FInterviews, { nullable: true }),
3688
+ JoinColumn36({ name: "freelancer_id" })
3689
+ ], FreelancerF2FInterview.prototype, "freelancer", 2);
3690
+ __decorateClass([
3691
+ Column42({ name: "freelancer_id", type: "integer", nullable: true })
3692
+ ], FreelancerF2FInterview.prototype, "freelancerId", 2);
3693
+ __decorateClass([
3694
+ Column42({ name: "zoom_link", type: "varchar", nullable: true })
3695
+ ], FreelancerF2FInterview.prototype, "meetingZoomLink", 2);
3696
+ __decorateClass([
3697
+ Column42({ name: "meeting_id", type: "varchar", nullable: true })
3698
+ ], FreelancerF2FInterview.prototype, "meetingId", 2);
3699
+ __decorateClass([
3700
+ Column42({ name: "meeting_passcode", type: "varchar", nullable: true })
3701
+ ], FreelancerF2FInterview.prototype, "meetingPasscode", 2);
3702
+ __decorateClass([
3703
+ Column42({ name: "reschedule_url", type: "varchar", nullable: true })
3704
+ ], FreelancerF2FInterview.prototype, "rescheduleUrl", 2);
3705
+ __decorateClass([
3706
+ Column42({ name: "is_rescheduled", type: "boolean", default: false })
3707
+ ], FreelancerF2FInterview.prototype, "isRescheduled", 2);
3708
+ __decorateClass([
3709
+ Column42({
3710
+ name: "status",
3711
+ type: "enum",
3712
+ enum: CalendlyMeetingStatus,
3713
+ default: "PENDING" /* PENDING */
3714
+ })
3715
+ ], FreelancerF2FInterview.prototype, "status", 2);
3716
+ __decorateClass([
3717
+ Column42({ name: "cancelled_at", type: "timestamp with time zone", nullable: true })
3718
+ ], FreelancerF2FInterview.prototype, "cancelledAt", 2);
3719
+ __decorateClass([
3720
+ Column42({ name: "cancel_reason", type: "varchar", nullable: true })
3721
+ ], FreelancerF2FInterview.prototype, "cancelReason", 2);
3722
+ __decorateClass([
3723
+ Column42({ name: "rescheduled_at", type: "timestamp with time zone", nullable: true })
3724
+ ], FreelancerF2FInterview.prototype, "rescheduledAt", 2);
3725
+ __decorateClass([
3726
+ Column42({ name: "is_completed", type: "boolean", default: false })
3727
+ ], FreelancerF2FInterview.prototype, "isCompleted", 2);
3728
+ __decorateClass([
3729
+ Column42({ name: "meeting_start_time", type: "timestamp with time zone", nullable: true })
3730
+ ], FreelancerF2FInterview.prototype, "meetingStartTime", 2);
3731
+ __decorateClass([
3732
+ Column42({ name: "meeting_end_time", type: "timestamp with time zone", nullable: true })
3733
+ ], FreelancerF2FInterview.prototype, "meetingEndTime", 2);
3734
+ FreelancerF2FInterview = __decorateClass([
3735
+ Entity41("freelancer_f2f_interviews")
3736
+ ], FreelancerF2FInterview);
3737
+
3738
+ // src/entities/calendly-meeting.entity.ts
3739
+ var CalendlyMeetingStatus = /* @__PURE__ */ ((CalendlyMeetingStatus2) => {
3740
+ CalendlyMeetingStatus2["PENDING"] = "PENDING";
3741
+ CalendlyMeetingStatus2["CONFIRMED"] = "CONFIRMED";
3742
+ CalendlyMeetingStatus2["CANCELED"] = "CANCELED";
3743
+ CalendlyMeetingStatus2["COMPLETED"] = "COMPLETED";
3744
+ return CalendlyMeetingStatus2;
3745
+ })(CalendlyMeetingStatus || {});
3746
+ var CalendlyMeeting = class extends BaseEntity {
3747
+ };
3748
+ __decorateClass([
3749
+ OneToOne2(() => FreelancerF2FInterview, (freelancerF2FInterview) => freelancerF2FInterview.calendlyMeeting)
3750
+ ], CalendlyMeeting.prototype, "freelancerF2FInterview", 2);
3751
+ __decorateClass([
3752
+ ManyToOne37(() => User, (user) => user.calendlyMeetings, { nullable: true }),
3753
+ JoinColumn37({ name: "user_id" })
3754
+ ], CalendlyMeeting.prototype, "user", 2);
3755
+ __decorateClass([
3756
+ Column43({ name: "user_id", type: "integer", nullable: true }),
3757
+ Index36()
3758
+ ], CalendlyMeeting.prototype, "userId", 2);
3759
+ __decorateClass([
3760
+ Column43({ name: "calendly_event_id", type: "varchar", nullable: true, unique: true }),
3761
+ Index36()
3762
+ ], CalendlyMeeting.prototype, "calendlyEventId", 2);
3763
+ __decorateClass([
3764
+ Column43({ name: "scheduled_event_id", type: "varchar", nullable: true })
3765
+ ], CalendlyMeeting.prototype, "scheduledEventId", 2);
3766
+ __decorateClass([
3767
+ Column43({ name: "event_name", type: "varchar", nullable: false })
3768
+ ], CalendlyMeeting.prototype, "eventName", 2);
3769
+ __decorateClass([
3770
+ Column43({ name: "event_location", type: "varchar", nullable: true })
3771
+ ], CalendlyMeeting.prototype, "eventLocation", 2);
3772
+ __decorateClass([
3773
+ Column43({ name: "invitee_email", type: "varchar", nullable: false }),
3774
+ Index36()
3775
+ ], CalendlyMeeting.prototype, "inviteeEmail", 2);
3776
+ __decorateClass([
3777
+ Column43({ name: "invitee_name", type: "varchar", nullable: true })
3778
+ ], CalendlyMeeting.prototype, "inviteeName", 2);
3779
+ __decorateClass([
3780
+ Column43({ name: "start_time", type: "timestamp with time zone", nullable: true }),
3781
+ Index36()
3782
+ ], CalendlyMeeting.prototype, "startTime", 2);
3783
+ __decorateClass([
3784
+ Column43({ name: "end_time", type: "timestamp with time zone", nullable: true })
3785
+ ], CalendlyMeeting.prototype, "endTime", 2);
3786
+ __decorateClass([
3787
+ Column43({ name: "timezone", type: "varchar", default: "UTC" })
3788
+ ], CalendlyMeeting.prototype, "timezone", 2);
3789
+ __decorateClass([
3790
+ Column43({
3791
+ name: "status",
3792
+ type: "enum",
3793
+ enum: CalendlyMeetingStatus,
3794
+ default: "PENDING" /* PENDING */
3795
+ }),
3796
+ Index36()
3797
+ ], CalendlyMeeting.prototype, "status", 2);
3798
+ __decorateClass([
3799
+ Column43({ name: "active", type: "boolean", default: true })
3800
+ ], CalendlyMeeting.prototype, "active", 2);
3801
+ __decorateClass([
3802
+ Column43({ name: "cancelled_at", type: "timestamp with time zone", nullable: true })
3803
+ ], CalendlyMeeting.prototype, "cancelledAt", 2);
3804
+ __decorateClass([
3805
+ Column43({ name: "cancel_reason", type: "varchar", nullable: true })
3806
+ ], CalendlyMeeting.prototype, "cancelReason", 2);
3807
+ __decorateClass([
3808
+ Column43({ name: "notes", type: "text", nullable: true })
3809
+ ], CalendlyMeeting.prototype, "notes", 2);
3810
+ __decorateClass([
3811
+ Column43({ name: "is_rescheduled", type: "boolean", default: false })
3812
+ ], CalendlyMeeting.prototype, "isRescheduled", 2);
3813
+ __decorateClass([
3814
+ Column43({ name: "reschedule_url", type: "varchar", nullable: true })
3815
+ ], CalendlyMeeting.prototype, "rescheduleUrl", 2);
3816
+ __decorateClass([
3817
+ Column43({ name: "rescheduled_from_id", type: "uuid", nullable: true })
3818
+ ], CalendlyMeeting.prototype, "rescheduledFromId", 2);
3819
+ __decorateClass([
3820
+ Column43({ name: "questions_and_answers", type: "jsonb", nullable: true, default: "[]" })
3821
+ ], CalendlyMeeting.prototype, "questionsAndAnswers", 2);
3822
+ __decorateClass([
3823
+ Column43({ name: "raw_webhook_data", type: "jsonb", nullable: true })
3824
+ ], CalendlyMeeting.prototype, "rawWebhookData", 2);
3825
+ __decorateClass([
3826
+ Column43({ name: "is_from_webhook", type: "boolean", default: false })
3827
+ ], CalendlyMeeting.prototype, "isFromWebhook", 2);
3828
+ CalendlyMeeting = __decorateClass([
3829
+ Entity42("calendly_meetings"),
3830
+ Unique("UQ_calendly_event_invitee", ["calendlyEventId", "inviteeEmail"]),
3831
+ Unique("UQ_calendly_meeting_time_email", ["inviteeEmail", "startTime", "eventName"])
3832
+ ], CalendlyMeeting);
3833
+
3648
3834
  // src/entities/user.entity.ts
3649
3835
  var AccountType = /* @__PURE__ */ ((AccountType2) => {
3650
3836
  AccountType2["ADMIN"] = "ADMIN";
@@ -3670,51 +3856,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
3670
3856
  var User = class extends BaseEntity {
3671
3857
  };
3672
3858
  __decorateClass([
3673
- Column42({ name: "unique_id", type: "varchar", unique: true })
3859
+ Column44({ name: "unique_id", type: "varchar", unique: true })
3674
3860
  ], User.prototype, "uniqueId", 2);
3675
3861
  __decorateClass([
3676
- Column42({ name: "parent_id", type: "integer", nullable: true }),
3677
- Index36()
3862
+ Column44({ name: "parent_id", type: "integer", nullable: true }),
3863
+ Index37()
3678
3864
  ], User.prototype, "parentId", 2);
3679
3865
  __decorateClass([
3680
- ManyToOne36(() => User, (user) => user.children, { nullable: true }),
3681
- JoinColumn36({ name: "parent_id" })
3866
+ ManyToOne38(() => User, (user) => user.children, { nullable: true }),
3867
+ JoinColumn38({ name: "parent_id" })
3682
3868
  ], User.prototype, "parent", 2);
3683
3869
  __decorateClass([
3684
3870
  OneToMany14(() => User, (user) => user.parent)
3685
3871
  ], User.prototype, "children", 2);
3686
3872
  __decorateClass([
3687
- Column42({ name: "username", type: "varchar", unique: true, nullable: true })
3873
+ Column44({ name: "username", type: "varchar", unique: true, nullable: true })
3688
3874
  ], User.prototype, "username", 2);
3689
3875
  __decorateClass([
3690
- Column42({ name: "first_name", type: "varchar", length: 100, nullable: true })
3876
+ Column44({ name: "first_name", type: "varchar", length: 100, nullable: true })
3691
3877
  ], User.prototype, "firstName", 2);
3692
3878
  __decorateClass([
3693
- Column42({ name: "last_name", type: "varchar", length: 100, nullable: true })
3879
+ Column44({ name: "last_name", type: "varchar", length: 100, nullable: true })
3694
3880
  ], User.prototype, "lastName", 2);
3695
3881
  __decorateClass([
3696
- Column42({ name: "date_of_birth", type: "date", nullable: true })
3882
+ Column44({ name: "date_of_birth", type: "date", nullable: true })
3697
3883
  ], User.prototype, "dateOfBirth", 2);
3698
3884
  __decorateClass([
3699
- Column42({ name: "gender", type: "varchar", length: 10, nullable: true })
3885
+ Column44({ name: "gender", type: "varchar", length: 10, nullable: true })
3700
3886
  ], User.prototype, "gender", 2);
3701
3887
  __decorateClass([
3702
- Column42({ name: "profile_picture_url", type: "text", nullable: true })
3888
+ Column44({ name: "profile_picture_url", type: "text", nullable: true })
3703
3889
  ], User.prototype, "profilePictureUrl", 2);
3704
3890
  __decorateClass([
3705
- Column42({ name: "email", type: "varchar", unique: true })
3891
+ Column44({ name: "email", type: "varchar", unique: true })
3706
3892
  ], User.prototype, "email", 2);
3707
3893
  __decorateClass([
3708
- Column42({ name: "mobile_code", type: "varchar", nullable: true })
3894
+ Column44({ name: "mobile_code", type: "varchar", nullable: true })
3709
3895
  ], User.prototype, "mobileCode", 2);
3710
3896
  __decorateClass([
3711
- Column42({ name: "mobile", type: "varchar", nullable: true })
3897
+ Column44({ name: "mobile", type: "varchar", nullable: true })
3712
3898
  ], User.prototype, "mobile", 2);
3713
3899
  __decorateClass([
3714
- Column42({ name: "password", type: "varchar", nullable: true })
3900
+ Column44({ name: "password", type: "varchar", nullable: true })
3715
3901
  ], User.prototype, "password", 2);
3716
3902
  __decorateClass([
3717
- Column42({
3903
+ Column44({
3718
3904
  name: "account_type",
3719
3905
  type: "enum",
3720
3906
  enum: AccountType,
@@ -3722,7 +3908,7 @@ __decorateClass([
3722
3908
  })
3723
3909
  ], User.prototype, "accountType", 2);
3724
3910
  __decorateClass([
3725
- Column42({
3911
+ Column44({
3726
3912
  name: "account_status",
3727
3913
  type: "enum",
3728
3914
  enum: AccountStatus,
@@ -3730,29 +3916,29 @@ __decorateClass([
3730
3916
  })
3731
3917
  ], User.prototype, "accountStatus", 2);
3732
3918
  __decorateClass([
3733
- Column42({ name: "is_email_verified", type: "boolean", default: false })
3919
+ Column44({ name: "is_email_verified", type: "boolean", default: false })
3734
3920
  ], User.prototype, "isEmailVerified", 2);
3735
3921
  __decorateClass([
3736
- Column42({ name: "is_mobile_verified", type: "boolean", default: false })
3922
+ Column44({ name: "is_mobile_verified", type: "boolean", default: false })
3737
3923
  ], User.prototype, "isMobileVerified", 2);
3738
3924
  __decorateClass([
3739
- Column42({ name: "is_social", type: "boolean", default: false })
3925
+ Column44({ name: "is_social", type: "boolean", default: false })
3740
3926
  ], User.prototype, "isSocial", 2);
3741
3927
  __decorateClass([
3742
- Column42({
3928
+ Column44({
3743
3929
  name: "last_login_at",
3744
3930
  type: "timestamp with time zone",
3745
3931
  nullable: true
3746
3932
  })
3747
3933
  ], User.prototype, "lastLoginAt", 2);
3748
3934
  __decorateClass([
3749
- Column42({ name: "last_login_ip", type: "varchar", nullable: true })
3935
+ Column44({ name: "last_login_ip", type: "varchar", nullable: true })
3750
3936
  ], User.prototype, "lastLoginIp", 2);
3751
3937
  __decorateClass([
3752
- Column42({ name: "reset_token", type: "varchar", nullable: true })
3938
+ Column44({ name: "reset_token", type: "varchar", nullable: true })
3753
3939
  ], User.prototype, "resetToken", 2);
3754
3940
  __decorateClass([
3755
- Column42({
3941
+ Column44({
3756
3942
  name: "reset_token_expire_at",
3757
3943
  type: "timestamp with time zone",
3758
3944
  nullable: true
@@ -3762,7 +3948,7 @@ __decorateClass([
3762
3948
  OneToMany14(() => RefreshToken, (token) => token.user)
3763
3949
  ], User.prototype, "refreshTokens", 2);
3764
3950
  __decorateClass([
3765
- Column42({
3951
+ Column44({
3766
3952
  name: "provider",
3767
3953
  type: "enum",
3768
3954
  enum: Provider,
@@ -3771,16 +3957,16 @@ __decorateClass([
3771
3957
  })
3772
3958
  ], User.prototype, "provider", 2);
3773
3959
  __decorateClass([
3774
- Column42({ name: "provider_token", type: "varchar", nullable: true })
3960
+ Column44({ name: "provider_token", type: "varchar", nullable: true })
3775
3961
  ], User.prototype, "providerToken", 2);
3776
3962
  __decorateClass([
3777
- Column42({ name: "linkedin_id", type: "varchar", nullable: true })
3963
+ Column44({ name: "linkedin_id", type: "varchar", nullable: true })
3778
3964
  ], User.prototype, "linkedInId", 2);
3779
3965
  __decorateClass([
3780
- Column42({ name: "google_id", type: "varchar", nullable: true })
3966
+ Column44({ name: "google_id", type: "varchar", nullable: true })
3781
3967
  ], User.prototype, "googleId", 2);
3782
3968
  __decorateClass([
3783
- Column42({ name: "gitlabs_id", type: "varchar", nullable: true })
3969
+ Column44({ name: "gitlabs_id", type: "varchar", nullable: true })
3784
3970
  ], User.prototype, "gitLabsId", 2);
3785
3971
  __decorateClass([
3786
3972
  OneToMany14(() => Otp, (otp) => otp.user)
@@ -3789,7 +3975,7 @@ __decorateClass([
3789
3975
  OneToMany14(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
3790
3976
  ], User.prototype, "senseloafLogs", 2);
3791
3977
  __decorateClass([
3792
- OneToOne(() => CompanyProfile, (companyProfile) => companyProfile.user)
3978
+ OneToOne3(() => CompanyProfile, (companyProfile) => companyProfile.user)
3793
3979
  ], User.prototype, "companyProfile", 2);
3794
3980
  __decorateClass([
3795
3981
  OneToMany14(() => CompanySkill, (companySkill) => companySkill.user)
@@ -3798,10 +3984,10 @@ __decorateClass([
3798
3984
  OneToMany14(() => CompanyMemberRole, (companyMemberRole) => companyMemberRole.user)
3799
3985
  ], User.prototype, "companyMemberRoles", 2);
3800
3986
  __decorateClass([
3801
- OneToOne(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.user)
3987
+ OneToOne3(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.user)
3802
3988
  ], User.prototype, "freelancerProfile", 2);
3803
3989
  __decorateClass([
3804
- OneToOne(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
3990
+ OneToOne3(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
3805
3991
  ], User.prototype, "freelancerResume", 2);
3806
3992
  __decorateClass([
3807
3993
  OneToMany14(() => FreelancerAssessment, (freelancerAssessment) => freelancerAssessment.user)
@@ -3831,7 +4017,7 @@ __decorateClass([
3831
4017
  OneToMany14(() => FreelancerFramework, (freelancerFramework) => freelancerFramework.user)
3832
4018
  ], User.prototype, "freelancerFramework", 2);
3833
4019
  __decorateClass([
3834
- OneToOne(() => FreelancerDeclaration, (freelancerDeclaration) => freelancerDeclaration.user)
4020
+ OneToOne3(() => FreelancerDeclaration, (freelancerDeclaration) => freelancerDeclaration.user)
3835
4021
  ], User.prototype, "freelancerDeclaration", 2);
3836
4022
  __decorateClass([
3837
4023
  OneToMany14(() => Job, (job) => job.user)
@@ -3857,8 +4043,17 @@ __decorateClass([
3857
4043
  __decorateClass([
3858
4044
  OneToMany14(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
3859
4045
  ], User.prototype, "adminUserRoles", 2);
4046
+ __decorateClass([
4047
+ OneToMany14(() => CalendlyMeeting, (calendlyMeeting) => calendlyMeeting.user)
4048
+ ], User.prototype, "calendlyMeetings", 2);
4049
+ __decorateClass([
4050
+ OneToMany14(() => FreelancerF2FInterview, (freelancerF2FInterview) => freelancerF2FInterview.client)
4051
+ ], User.prototype, "clientF2FInterviews", 2);
4052
+ __decorateClass([
4053
+ OneToMany14(() => FreelancerF2FInterview, (freelancerF2FInterview) => freelancerF2FInterview.freelancer)
4054
+ ], User.prototype, "freelancerF2FInterviews", 2);
3860
4055
  User = __decorateClass([
3861
- Entity41("users")
4056
+ Entity43("users")
3862
4057
  ], User);
3863
4058
 
3864
4059
  // src/entities/rating.entity.ts
@@ -3870,36 +4065,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
3870
4065
  var Rating = class extends BaseEntity {
3871
4066
  };
3872
4067
  __decorateClass([
3873
- Column43({ name: "reviewer_id", type: "integer" }),
3874
- Index37()
4068
+ Column45({ name: "reviewer_id", type: "integer" }),
4069
+ Index38()
3875
4070
  ], Rating.prototype, "reviewer_id", 2);
3876
4071
  __decorateClass([
3877
- ManyToOne37(() => User, { onDelete: "CASCADE" }),
3878
- JoinColumn37({ name: "reviewer_id" })
4072
+ ManyToOne39(() => User, { onDelete: "CASCADE" }),
4073
+ JoinColumn39({ name: "reviewer_id" })
3879
4074
  ], Rating.prototype, "reviewer", 2);
3880
4075
  __decorateClass([
3881
- Column43({ name: "reviewee_id", type: "integer" }),
3882
- Index37()
4076
+ Column45({ name: "reviewee_id", type: "integer" }),
4077
+ Index38()
3883
4078
  ], Rating.prototype, "reviewee_id", 2);
3884
4079
  __decorateClass([
3885
- ManyToOne37(() => User, { onDelete: "CASCADE" }),
3886
- JoinColumn37({ name: "reviewee_id" })
4080
+ ManyToOne39(() => User, { onDelete: "CASCADE" }),
4081
+ JoinColumn39({ name: "reviewee_id" })
3887
4082
  ], Rating.prototype, "reviewee", 2);
3888
4083
  __decorateClass([
3889
- Column43({
4084
+ Column45({
3890
4085
  type: "enum",
3891
4086
  enum: RatingTypeEnum,
3892
4087
  nullable: true
3893
4088
  })
3894
4089
  ], Rating.prototype, "ratingType", 2);
3895
4090
  __decorateClass([
3896
- Column43({ type: "integer", nullable: true })
4091
+ Column45({ type: "integer", nullable: true })
3897
4092
  ], Rating.prototype, "rating", 2);
3898
4093
  __decorateClass([
3899
- Column43({ type: "text", nullable: true })
4094
+ Column45({ type: "text", nullable: true })
3900
4095
  ], Rating.prototype, "review", 2);
3901
4096
  Rating = __decorateClass([
3902
- Entity42("ratings")
4097
+ Entity44("ratings")
3903
4098
  ], Rating);
3904
4099
 
3905
4100
  // src/modules/rating/dto/add.rating.dto.ts
@@ -4570,7 +4765,7 @@ __decorateClass([
4570
4765
  ], UpdateClientAccountStatusDto.prototype, "accountStatus", 2);
4571
4766
 
4572
4767
  // src/modules/client-admin/dto/update-client.dto.ts
4573
- import { Transform as Transform3 } from "class-transformer/types";
4768
+ import { Transform as Transform3 } from "class-transformer";
4574
4769
  import {
4575
4770
  IsNotEmpty as IsNotEmpty46,
4576
4771
  IsEmail as IsEmail13,
@@ -5332,11 +5527,11 @@ var NotificationRMQAdapter = (mode = "microservice") => {
5332
5527
  };
5333
5528
 
5334
5529
  // src/entities/sequence-generator.entity.ts
5335
- import { Entity as Entity43, Column as Column44 } from "typeorm";
5530
+ import { Entity as Entity45, Column as Column46 } from "typeorm";
5336
5531
  var SequenceGenerator = class extends BaseEntity {
5337
5532
  };
5338
5533
  __decorateClass([
5339
- Column44({
5534
+ Column46({
5340
5535
  name: "module",
5341
5536
  type: "varchar",
5342
5537
  length: 50,
@@ -5345,7 +5540,7 @@ __decorateClass([
5345
5540
  })
5346
5541
  ], SequenceGenerator.prototype, "module", 2);
5347
5542
  __decorateClass([
5348
- Column44({
5543
+ Column46({
5349
5544
  name: "prefix",
5350
5545
  type: "varchar",
5351
5546
  length: 10,
@@ -5354,7 +5549,7 @@ __decorateClass([
5354
5549
  })
5355
5550
  ], SequenceGenerator.prototype, "prefix", 2);
5356
5551
  __decorateClass([
5357
- Column44({
5552
+ Column46({
5358
5553
  name: "last_sequence",
5359
5554
  type: "int",
5360
5555
  nullable: false,
@@ -5362,7 +5557,7 @@ __decorateClass([
5362
5557
  })
5363
5558
  ], SequenceGenerator.prototype, "lastSequence", 2);
5364
5559
  __decorateClass([
5365
- Column44({
5560
+ Column46({
5366
5561
  name: "year",
5367
5562
  type: "int",
5368
5563
  nullable: true,
@@ -5370,11 +5565,11 @@ __decorateClass([
5370
5565
  })
5371
5566
  ], SequenceGenerator.prototype, "year", 2);
5372
5567
  SequenceGenerator = __decorateClass([
5373
- Entity43("sequence_generators")
5568
+ Entity45("sequence_generators")
5374
5569
  ], SequenceGenerator);
5375
5570
 
5376
5571
  // src/entities/question.entity.ts
5377
- import { Entity as Entity44, Column as Column45 } from "typeorm";
5572
+ import { Entity as Entity46, Column as Column47 } from "typeorm";
5378
5573
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
5379
5574
  QuestionFor2["CLIENT"] = "CLIENT";
5380
5575
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -5383,16 +5578,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
5383
5578
  var Question = class extends BaseEntity {
5384
5579
  };
5385
5580
  __decorateClass([
5386
- Column45({ name: "question", type: "varchar" })
5581
+ Column47({ name: "question", type: "varchar" })
5387
5582
  ], Question.prototype, "question", 2);
5388
5583
  __decorateClass([
5389
- Column45({ name: "hint", type: "varchar", nullable: true })
5584
+ Column47({ name: "hint", type: "varchar", nullable: true })
5390
5585
  ], Question.prototype, "hint", 2);
5391
5586
  __decorateClass([
5392
- Column45({ name: "slug", type: "varchar", nullable: true, unique: true })
5587
+ Column47({ name: "slug", type: "varchar", nullable: true, unique: true })
5393
5588
  ], Question.prototype, "slug", 2);
5394
5589
  __decorateClass([
5395
- Column45({
5590
+ Column47({
5396
5591
  name: "question_for",
5397
5592
  type: "enum",
5398
5593
  enum: QuestionFor,
@@ -5400,54 +5595,54 @@ __decorateClass([
5400
5595
  })
5401
5596
  ], Question.prototype, "questionFor", 2);
5402
5597
  __decorateClass([
5403
- Column45({ name: "type", type: "varchar", nullable: true })
5598
+ Column47({ name: "type", type: "varchar", nullable: true })
5404
5599
  ], Question.prototype, "type", 2);
5405
5600
  __decorateClass([
5406
- Column45({ name: "options", type: "jsonb", nullable: true })
5601
+ Column47({ name: "options", type: "jsonb", nullable: true })
5407
5602
  ], Question.prototype, "options", 2);
5408
5603
  __decorateClass([
5409
- Column45({ name: "is_active", type: "boolean", default: false })
5604
+ Column47({ name: "is_active", type: "boolean", default: false })
5410
5605
  ], Question.prototype, "isActive", 2);
5411
5606
  Question = __decorateClass([
5412
- Entity44("questions")
5607
+ Entity46("questions")
5413
5608
  ], Question);
5414
5609
 
5415
5610
  // src/entities/skill.entity.ts
5416
- import { Entity as Entity45, Column as Column46 } from "typeorm";
5611
+ import { Entity as Entity47, Column as Column48 } from "typeorm";
5417
5612
  var Skill = class extends BaseEntity {
5418
5613
  };
5419
5614
  __decorateClass([
5420
- Column46({ name: "name", type: "varchar", nullable: true })
5615
+ Column48({ name: "name", type: "varchar", nullable: true })
5421
5616
  ], Skill.prototype, "name", 2);
5422
5617
  __decorateClass([
5423
- Column46({ name: "slug", type: "varchar", nullable: true, unique: true })
5618
+ Column48({ name: "slug", type: "varchar", nullable: true, unique: true })
5424
5619
  ], Skill.prototype, "slug", 2);
5425
5620
  __decorateClass([
5426
- Column46({ name: "is_active", type: "boolean", default: false })
5621
+ Column48({ name: "is_active", type: "boolean", default: false })
5427
5622
  ], Skill.prototype, "isActive", 2);
5428
5623
  Skill = __decorateClass([
5429
- Entity45("skills")
5624
+ Entity47("skills")
5430
5625
  ], Skill);
5431
5626
 
5432
5627
  // src/entities/job-role.entity.ts
5433
- import { Entity as Entity46, Column as Column47 } from "typeorm";
5628
+ import { Entity as Entity48, Column as Column49 } from "typeorm";
5434
5629
  var JobRoles = class extends BaseEntity {
5435
5630
  };
5436
5631
  __decorateClass([
5437
- Column47({ name: "slug", type: "varchar", nullable: true, unique: true })
5632
+ Column49({ name: "slug", type: "varchar", nullable: true, unique: true })
5438
5633
  ], JobRoles.prototype, "slug", 2);
5439
5634
  __decorateClass([
5440
- Column47({ name: "name", type: "varchar", nullable: true })
5635
+ Column49({ name: "name", type: "varchar", nullable: true })
5441
5636
  ], JobRoles.prototype, "name", 2);
5442
5637
  __decorateClass([
5443
- Column47({ name: "is_active", type: "boolean", default: true })
5638
+ Column49({ name: "is_active", type: "boolean", default: true })
5444
5639
  ], JobRoles.prototype, "isActive", 2);
5445
5640
  JobRoles = __decorateClass([
5446
- Entity46("job_roles")
5641
+ Entity48("job_roles")
5447
5642
  ], JobRoles);
5448
5643
 
5449
5644
  // src/entities/ai-interview.entity.ts
5450
- import { Entity as Entity47, Column as Column48, ManyToOne as ManyToOne38, JoinColumn as JoinColumn38, Index as Index38 } from "typeorm";
5645
+ import { Entity as Entity49, Column as Column50, ManyToOne as ManyToOne40, JoinColumn as JoinColumn40, Index as Index39 } from "typeorm";
5451
5646
  var AIInterviewStatusEnum = /* @__PURE__ */ ((AIInterviewStatusEnum2) => {
5452
5647
  AIInterviewStatusEnum2["IN_PROGRESS"] = "IN_PROGRESS";
5453
5648
  AIInterviewStatusEnum2["COMPLETED"] = "COMPLETED";
@@ -5473,37 +5668,37 @@ var AIInterviewResultEnum = /* @__PURE__ */ ((AIInterviewResultEnum2) => {
5473
5668
  var AIInterview = class extends BaseEntity {
5474
5669
  };
5475
5670
  __decorateClass([
5476
- Column48({
5671
+ Column50({
5477
5672
  name: "interview_id",
5478
5673
  type: "integer",
5479
5674
  comment: "Redundant explicit interview_id column (optional if using only relation"
5480
5675
  }),
5481
- Index38()
5676
+ Index39()
5482
5677
  ], AIInterview.prototype, "interviewId", 2);
5483
5678
  __decorateClass([
5484
- Column48({
5679
+ Column50({
5485
5680
  name: "interview_invite_id",
5486
5681
  type: "integer",
5487
5682
  comment: "Redundant explicit interview_invite_id column (optional if using only relation"
5488
5683
  })
5489
5684
  ], AIInterview.prototype, "interviewInviteId", 2);
5490
5685
  __decorateClass([
5491
- Column48({
5686
+ Column50({
5492
5687
  name: "candidate_id",
5493
5688
  type: "integer",
5494
5689
  comment: "Redundant explicit candidate_id column (optional if using only relation"
5495
5690
  }),
5496
- Index38()
5691
+ Index39()
5497
5692
  ], AIInterview.prototype, "candidateId", 2);
5498
5693
  __decorateClass([
5499
- Column48({
5694
+ Column50({
5500
5695
  name: "job_id",
5501
5696
  type: "integer",
5502
5697
  comment: "Redundant explicit job_id column (optional if using only relation"
5503
5698
  })
5504
5699
  ], AIInterview.prototype, "jobId", 2);
5505
5700
  __decorateClass([
5506
- Column48({
5701
+ Column50({
5507
5702
  name: "invite_token",
5508
5703
  type: "varchar",
5509
5704
  unique: true,
@@ -5512,38 +5707,38 @@ __decorateClass([
5512
5707
  })
5513
5708
  ], AIInterview.prototype, "inviteToken", 2);
5514
5709
  __decorateClass([
5515
- Column48({ name: "interview_type", type: "enum", enum: AIInterviewTypeEnum })
5710
+ Column50({ name: "interview_type", type: "enum", enum: AIInterviewTypeEnum })
5516
5711
  ], AIInterview.prototype, "interviewType", 2);
5517
5712
  __decorateClass([
5518
- Column48({
5713
+ Column50({
5519
5714
  name: "interview_name",
5520
5715
  type: "varchar",
5521
5716
  comment: "Name of the interview"
5522
5717
  })
5523
5718
  ], AIInterview.prototype, "interviewName", 2);
5524
5719
  __decorateClass([
5525
- Column48({
5720
+ Column50({
5526
5721
  name: "job_title",
5527
5722
  type: "varchar",
5528
5723
  comment: "Name of the job title for that the AI interview was conducted"
5529
5724
  })
5530
5725
  ], AIInterview.prototype, "jobTitle", 2);
5531
5726
  __decorateClass([
5532
- Column48({
5727
+ Column50({
5533
5728
  type: "enum",
5534
5729
  enum: AIInterviewStatusEnum,
5535
5730
  default: "IN_PROGRESS" /* IN_PROGRESS */
5536
5731
  })
5537
5732
  ], AIInterview.prototype, "status", 2);
5538
5733
  __decorateClass([
5539
- Column48({
5734
+ Column50({
5540
5735
  name: "started_at",
5541
5736
  type: "timestamp with time zone",
5542
5737
  comment: "Timestamp when the interview was started"
5543
5738
  })
5544
5739
  ], AIInterview.prototype, "startedAt", 2);
5545
5740
  __decorateClass([
5546
- Column48({
5741
+ Column50({
5547
5742
  name: "completed_at",
5548
5743
  type: "timestamp with time zone",
5549
5744
  nullable: true,
@@ -5551,7 +5746,7 @@ __decorateClass([
5551
5746
  })
5552
5747
  ], AIInterview.prototype, "completedAt", 2);
5553
5748
  __decorateClass([
5554
- Column48({
5749
+ Column50({
5555
5750
  name: "duration_minutes",
5556
5751
  type: "integer",
5557
5752
  nullable: true,
@@ -5559,7 +5754,7 @@ __decorateClass([
5559
5754
  })
5560
5755
  ], AIInterview.prototype, "durationMinutes", 2);
5561
5756
  __decorateClass([
5562
- Column48({
5757
+ Column50({
5563
5758
  name: "overall_score",
5564
5759
  type: "decimal",
5565
5760
  precision: 5,
@@ -5569,92 +5764,92 @@ __decorateClass([
5569
5764
  })
5570
5765
  ], AIInterview.prototype, "overallScore", 2);
5571
5766
  __decorateClass([
5572
- ManyToOne38(() => Interview, { onDelete: "CASCADE" }),
5573
- JoinColumn38({ name: "interview_id" })
5767
+ ManyToOne40(() => Interview, { onDelete: "CASCADE" }),
5768
+ JoinColumn40({ name: "interview_id" })
5574
5769
  ], AIInterview.prototype, "interview", 2);
5575
5770
  __decorateClass([
5576
- ManyToOne38(() => InterviewInvite, { onDelete: "CASCADE" }),
5577
- JoinColumn38({ name: "interview_invite_id" })
5771
+ ManyToOne40(() => InterviewInvite, { onDelete: "CASCADE" }),
5772
+ JoinColumn40({ name: "interview_invite_id" })
5578
5773
  ], AIInterview.prototype, "interviewInvite", 2);
5579
5774
  __decorateClass([
5580
- ManyToOne38(() => User, { onDelete: "CASCADE" }),
5581
- JoinColumn38({ name: "candidate_id" })
5775
+ ManyToOne40(() => User, { onDelete: "CASCADE" }),
5776
+ JoinColumn40({ name: "candidate_id" })
5582
5777
  ], AIInterview.prototype, "candidate", 2);
5583
5778
  __decorateClass([
5584
- ManyToOne38(() => Job, { onDelete: "CASCADE" }),
5585
- JoinColumn38({ name: "job_id" })
5779
+ ManyToOne40(() => Job, { onDelete: "CASCADE" }),
5780
+ JoinColumn40({ name: "job_id" })
5586
5781
  ], AIInterview.prototype, "job", 2);
5587
5782
  AIInterview = __decorateClass([
5588
- Entity47("ai_interviews")
5783
+ Entity49("ai_interviews")
5589
5784
  ], AIInterview);
5590
5785
 
5591
5786
  // src/entities/plan.entity.ts
5592
- import { Entity as Entity49, Column as Column50, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
5787
+ import { Entity as Entity51, Column as Column52, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
5593
5788
 
5594
5789
  // src/entities/feature.entity.ts
5595
- import { Entity as Entity48, Column as Column49, ManyToMany as ManyToMany2 } from "typeorm";
5790
+ import { Entity as Entity50, Column as Column51, ManyToMany as ManyToMany2 } from "typeorm";
5596
5791
  var Feature = class extends BaseEntity {
5597
5792
  };
5598
5793
  __decorateClass([
5599
- Column49({ name: "name", type: "varchar", unique: true })
5794
+ Column51({ name: "name", type: "varchar", unique: true })
5600
5795
  ], Feature.prototype, "name", 2);
5601
5796
  __decorateClass([
5602
5797
  ManyToMany2(() => Plan, (plan) => plan.features)
5603
5798
  ], Feature.prototype, "plans", 2);
5604
5799
  Feature = __decorateClass([
5605
- Entity48("features")
5800
+ Entity50("features")
5606
5801
  ], Feature);
5607
5802
 
5608
5803
  // src/entities/plan.entity.ts
5609
5804
  var Plan = class extends BaseEntity {
5610
5805
  };
5611
5806
  __decorateClass([
5612
- Column50({ name: "name", type: "varchar", unique: true })
5807
+ Column52({ name: "name", type: "varchar", unique: true })
5613
5808
  ], Plan.prototype, "name", 2);
5614
5809
  __decorateClass([
5615
- Column50({ name: "description", type: "varchar", nullable: true })
5810
+ Column52({ name: "description", type: "varchar", nullable: true })
5616
5811
  ], Plan.prototype, "description", 2);
5617
5812
  __decorateClass([
5618
- Column50({ name: "price", type: "decimal", precision: 10, scale: 2 })
5813
+ Column52({ name: "price", type: "decimal", precision: 10, scale: 2 })
5619
5814
  ], Plan.prototype, "price", 2);
5620
5815
  __decorateClass([
5621
- Column50({ name: "billing_period", type: "varchar" })
5816
+ Column52({ name: "billing_period", type: "varchar" })
5622
5817
  ], Plan.prototype, "billingPeriod", 2);
5623
5818
  __decorateClass([
5624
- Column50({ name: "is_current", type: "boolean", default: false })
5819
+ Column52({ name: "is_current", type: "boolean", default: false })
5625
5820
  ], Plan.prototype, "isCurrent", 2);
5626
5821
  __decorateClass([
5627
5822
  ManyToMany3(() => Feature, (feature) => feature.plans, { cascade: true }),
5628
5823
  JoinTable()
5629
5824
  ], Plan.prototype, "features", 2);
5630
5825
  Plan = __decorateClass([
5631
- Entity49("plans")
5826
+ Entity51("plans")
5632
5827
  ], Plan);
5633
5828
 
5634
5829
  // src/entities/cms.entity.ts
5635
- import { Entity as Entity50, Column as Column51 } from "typeorm";
5830
+ import { Entity as Entity52, Column as Column53 } from "typeorm";
5636
5831
  var Cms = class extends BaseEntity {
5637
5832
  };
5638
5833
  __decorateClass([
5639
- Column51({ name: "title", type: "varchar", nullable: true })
5834
+ Column53({ name: "title", type: "varchar", nullable: true })
5640
5835
  ], Cms.prototype, "title", 2);
5641
5836
  __decorateClass([
5642
- Column51({ name: "slug", type: "varchar", nullable: true, unique: true })
5837
+ Column53({ name: "slug", type: "varchar", nullable: true, unique: true })
5643
5838
  ], Cms.prototype, "slug", 2);
5644
5839
  __decorateClass([
5645
- Column51({ name: "content", type: "varchar", nullable: true })
5840
+ Column53({ name: "content", type: "varchar", nullable: true })
5646
5841
  ], Cms.prototype, "content", 2);
5647
5842
  __decorateClass([
5648
- Column51({ name: "is_active", type: "boolean", default: true })
5843
+ Column53({ name: "is_active", type: "boolean", default: true })
5649
5844
  ], Cms.prototype, "isActive", 2);
5650
5845
  Cms = __decorateClass([
5651
- Entity50("cms")
5846
+ Entity52("cms")
5652
5847
  ], Cms);
5653
5848
 
5654
5849
  // src/entities/lead.entity.ts
5655
5850
  import {
5656
- Entity as Entity51,
5657
- Column as Column52
5851
+ Entity as Entity53,
5852
+ Column as Column54
5658
5853
  } from "typeorm";
5659
5854
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
5660
5855
  CategoryEmum2["BUSINESS"] = "BUSINESS";
@@ -5664,22 +5859,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
5664
5859
  var Lead = class extends BaseEntity {
5665
5860
  };
5666
5861
  __decorateClass([
5667
- Column52({ name: "name", type: "varchar", nullable: true })
5862
+ Column54({ name: "name", type: "varchar", nullable: true })
5668
5863
  ], Lead.prototype, "name", 2);
5669
5864
  __decorateClass([
5670
- Column52({ name: "mobile_code", type: "varchar", nullable: true })
5865
+ Column54({ name: "mobile_code", type: "varchar", nullable: true })
5671
5866
  ], Lead.prototype, "mobileCode", 2);
5672
5867
  __decorateClass([
5673
- Column52({ name: "mobile", type: "varchar", nullable: true })
5868
+ Column54({ name: "mobile", type: "varchar", nullable: true })
5674
5869
  ], Lead.prototype, "mobile", 2);
5675
5870
  __decorateClass([
5676
- Column52({ name: "email", type: "varchar", nullable: true })
5871
+ Column54({ name: "email", type: "varchar", nullable: true })
5677
5872
  ], Lead.prototype, "email", 2);
5678
5873
  __decorateClass([
5679
- Column52({ name: "description", type: "varchar", nullable: true })
5874
+ Column54({ name: "description", type: "varchar", nullable: true })
5680
5875
  ], Lead.prototype, "description", 2);
5681
5876
  __decorateClass([
5682
- Column52({
5877
+ Column54({
5683
5878
  name: "category",
5684
5879
  type: "enum",
5685
5880
  enum: CategoryEmum,
@@ -5687,7 +5882,7 @@ __decorateClass([
5687
5882
  })
5688
5883
  ], Lead.prototype, "category", 2);
5689
5884
  Lead = __decorateClass([
5690
- Entity51("leads")
5885
+ Entity53("leads")
5691
5886
  ], Lead);
5692
5887
 
5693
5888
  // src/entities/job-freelancer-recommendation.entity.ts
@@ -5928,7 +6123,7 @@ ClientFreelancerRecommendation = __decorateClass([
5928
6123
  ], ClientFreelancerRecommendation);
5929
6124
 
5930
6125
  // src/entities/commission.entity.ts
5931
- import { Entity as Entity52, Column as Column53 } from "typeorm";
6126
+ import { Entity as Entity54, Column as Column55 } from "typeorm";
5932
6127
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
5933
6128
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
5934
6129
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -5937,7 +6132,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
5937
6132
  var Commission = class extends BaseEntity {
5938
6133
  };
5939
6134
  __decorateClass([
5940
- Column53({
6135
+ Column55({
5941
6136
  name: "freelancer_commission_type",
5942
6137
  type: "enum",
5943
6138
  enum: CommissionTypeEnum,
@@ -5945,10 +6140,10 @@ __decorateClass([
5945
6140
  })
5946
6141
  ], Commission.prototype, "freelancerCommissionType", 2);
5947
6142
  __decorateClass([
5948
- Column53({ name: "freelancer_commission", type: "integer", default: 0 })
6143
+ Column55({ name: "freelancer_commission", type: "integer", default: 0 })
5949
6144
  ], Commission.prototype, "freelancerCommission", 2);
5950
6145
  __decorateClass([
5951
- Column53({
6146
+ Column55({
5952
6147
  name: "client_commission_type",
5953
6148
  type: "enum",
5954
6149
  enum: CommissionTypeEnum,
@@ -5956,10 +6151,10 @@ __decorateClass([
5956
6151
  })
5957
6152
  ], Commission.prototype, "clientCommissionType", 2);
5958
6153
  __decorateClass([
5959
- Column53({ name: "client_commission", type: "integer", default: 0 })
6154
+ Column55({ name: "client_commission", type: "integer", default: 0 })
5960
6155
  ], Commission.prototype, "clientCommission", 2);
5961
6156
  Commission = __decorateClass([
5962
- Entity52("commissions")
6157
+ Entity54("commissions")
5963
6158
  ], Commission);
5964
6159
  export {
5965
6160
  ADMIN_FREELANCER_PATTERN,