@experts_hub/shared 1.0.507 → 1.0.508

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
@@ -1001,11 +1001,11 @@ import {
1001
1001
  Max
1002
1002
  } from "class-validator";
1003
1003
  import { Type } from "class-transformer";
1004
- var JobLocation = /* @__PURE__ */ ((JobLocation2) => {
1005
- JobLocation2["ONSITE"] = "ONSITE";
1006
- JobLocation2["REMOTE"] = "REMOTE";
1007
- JobLocation2["HYBRID"] = "HYBRID";
1008
- return JobLocation2;
1004
+ var JobLocation = /* @__PURE__ */ ((JobLocation3) => {
1005
+ JobLocation3["ONSITE"] = "ONSITE";
1006
+ JobLocation3["REMOTE"] = "REMOTE";
1007
+ JobLocation3["HYBRID"] = "HYBRID";
1008
+ return JobLocation3;
1009
1009
  })(JobLocation || {});
1010
1010
  var EmploymentType = /* @__PURE__ */ ((EmploymentType2) => {
1011
1011
  EmploymentType2["FULLTIME"] = "FULLTIME";
@@ -1521,7 +1521,7 @@ import { Entity as Entity61, Column as Column62, ManyToOne as ManyToOne56, JoinC
1521
1521
  import {
1522
1522
  Entity as Entity60,
1523
1523
  Column as Column61,
1524
- OneToMany as OneToMany22,
1524
+ OneToMany as OneToMany21,
1525
1525
  OneToOne as OneToOne11,
1526
1526
  Index as Index54,
1527
1527
  ManyToOne as ManyToOne55,
@@ -2352,7 +2352,7 @@ import {
2352
2352
  Index as Index24,
2353
2353
  ManyToOne as ManyToOne29,
2354
2354
  JoinColumn as JoinColumn29,
2355
- OneToMany as OneToMany13
2355
+ OneToMany as OneToMany12
2356
2356
  } from "typeorm";
2357
2357
 
2358
2358
  // src/entities/job-skill.entity.ts
@@ -3297,7 +3297,7 @@ JobRecommendation = __decorateClass([
3297
3297
  ], JobRecommendation);
3298
3298
 
3299
3299
  // src/entities/contract.entity.ts
3300
- import { Entity as Entity28, Column as Column29, Index as Index22, ManyToOne as ManyToOne27, JoinColumn as JoinColumn27, OneToOne as OneToOne8, OneToMany as OneToMany11 } from "typeorm";
3300
+ import { Entity as Entity27, Column as Column28, Index as Index21, ManyToOne as ManyToOne26, JoinColumn as JoinColumn26, OneToOne as OneToOne8 } from "typeorm";
3301
3301
 
3302
3302
  // src/entities/escrow-wallet.entity.ts
3303
3303
  import { Entity as Entity26, Column as Column27, Index as Index20, JoinColumn as JoinColumn25, OneToOne as OneToOne7, OneToMany as OneToMany10, ManyToOne as ManyToOne25 } from "typeorm";
@@ -3730,95 +3730,6 @@ EscrowWallet = __decorateClass([
3730
3730
  Entity26("escrow_wallets")
3731
3731
  ], EscrowWallet);
3732
3732
 
3733
- // src/entities/contract-history.entity.ts
3734
- import { Entity as Entity27, Column as Column28, Index as Index21, ManyToOne as ManyToOne26, JoinColumn as JoinColumn26 } from "typeorm";
3735
- var ContractHistoryStatusEnum = /* @__PURE__ */ ((ContractHistoryStatusEnum2) => {
3736
- ContractHistoryStatusEnum2["GENERATED"] = "GENERATED";
3737
- ContractHistoryStatusEnum2["DRAFTED"] = "DRAFTED";
3738
- ContractHistoryStatusEnum2["SENT"] = "SENT";
3739
- ContractHistoryStatusEnum2["SIGNED"] = "SIGNED";
3740
- ContractHistoryStatusEnum2["ACTIVE"] = "ACTIVE";
3741
- ContractHistoryStatusEnum2["CANCELLED"] = "CANCELLED";
3742
- ContractHistoryStatusEnum2["DISPUTED"] = "DISPUTED";
3743
- ContractHistoryStatusEnum2["REJECTED"] = "REJECTED";
3744
- ContractHistoryStatusEnum2["RENEWED"] = "RENEWED";
3745
- ContractHistoryStatusEnum2["EXPIRED"] = "EXPIRED";
3746
- return ContractHistoryStatusEnum2;
3747
- })(ContractHistoryStatusEnum || {});
3748
- var ContractHistoryTypeEnum = /* @__PURE__ */ ((ContractHistoryTypeEnum2) => {
3749
- ContractHistoryTypeEnum2["NDA"] = "NDA";
3750
- ContractHistoryTypeEnum2["WORK"] = "WORK";
3751
- return ContractHistoryTypeEnum2;
3752
- })(ContractHistoryTypeEnum || {});
3753
- var ContractHistoryActionEnum = /* @__PURE__ */ ((ContractHistoryActionEnum2) => {
3754
- ContractHistoryActionEnum2["GENERATED"] = "GENERATED";
3755
- ContractHistoryActionEnum2["DRAFTED"] = "DRAFTED";
3756
- ContractHistoryActionEnum2["SENT"] = "SENT";
3757
- ContractHistoryActionEnum2["SIGNED"] = "SIGNED";
3758
- ContractHistoryActionEnum2["ACTIVE"] = "ACTIVE";
3759
- ContractHistoryActionEnum2["CANCELLED"] = "CANCELLED";
3760
- ContractHistoryActionEnum2["DISPUTED"] = "DISPUTED";
3761
- ContractHistoryActionEnum2["REJECTED"] = "REJECTED";
3762
- ContractHistoryActionEnum2["RENEWED"] = "RENEWED";
3763
- ContractHistoryActionEnum2["EXPIRED"] = "EXPIRED";
3764
- ContractHistoryActionEnum2["VIEWED"] = "VIEWED";
3765
- return ContractHistoryActionEnum2;
3766
- })(ContractHistoryActionEnum || {});
3767
- var ContractHistory = class extends BaseEntity {
3768
- };
3769
- __decorateClass([
3770
- Column28({ name: "contract_id", type: "integer", nullable: false }),
3771
- Index21()
3772
- ], ContractHistory.prototype, "contractId", 2);
3773
- __decorateClass([
3774
- ManyToOne26(() => Contract, (contract) => contract.history),
3775
- JoinColumn26({ name: "contract_id" })
3776
- ], ContractHistory.prototype, "contract", 2);
3777
- __decorateClass([
3778
- Column28({ name: "action_by", type: "integer", nullable: true })
3779
- ], ContractHistory.prototype, "actionBy", 2);
3780
- __decorateClass([
3781
- Column28({ name: "action_by_type", type: "varchar", nullable: true })
3782
- ], ContractHistory.prototype, "actionByType", 2);
3783
- __decorateClass([
3784
- Column28({
3785
- name: "previous_status",
3786
- type: "enum",
3787
- enum: ContractHistoryStatusEnum,
3788
- nullable: true
3789
- })
3790
- ], ContractHistory.prototype, "previousStatus", 2);
3791
- __decorateClass([
3792
- Column28({
3793
- name: "new_status",
3794
- type: "enum",
3795
- enum: ContractHistoryStatusEnum,
3796
- nullable: false
3797
- })
3798
- ], ContractHistory.prototype, "newStatus", 2);
3799
- __decorateClass([
3800
- Column28({
3801
- name: "type",
3802
- type: "enum",
3803
- enum: ContractHistoryTypeEnum,
3804
- nullable: true
3805
- })
3806
- ], ContractHistory.prototype, "type", 2);
3807
- __decorateClass([
3808
- Column28({
3809
- name: "action_type",
3810
- type: "enum",
3811
- enum: ContractHistoryActionEnum,
3812
- nullable: false
3813
- })
3814
- ], ContractHistory.prototype, "actionType", 2);
3815
- __decorateClass([
3816
- Column28({ name: "remarks", type: "varchar", nullable: true })
3817
- ], ContractHistory.prototype, "remarks", 2);
3818
- ContractHistory = __decorateClass([
3819
- Entity27("contract_histories")
3820
- ], ContractHistory);
3821
-
3822
3733
  // src/entities/contract.entity.ts
3823
3734
  var ContractStatusEnum = /* @__PURE__ */ ((ContractStatusEnum2) => {
3824
3735
  ContractStatusEnum2["GENERATED"] = "GENERATED";
@@ -3841,41 +3752,37 @@ var ContractTypeEnum = /* @__PURE__ */ ((ContractTypeEnum2) => {
3841
3752
  var Contract = class extends BaseEntity {
3842
3753
  };
3843
3754
  __decorateClass([
3844
- Column29({ name: "contract_unique_id", type: "varchar", nullable: true, unique: true })
3755
+ Column28({ name: "contract_unique_id", type: "varchar", nullable: true, unique: true })
3845
3756
  ], Contract.prototype, "contractUniqueId", 2);
3846
3757
  __decorateClass([
3847
- Column29({ name: "job_id", type: "integer", nullable: true }),
3848
- Index22()
3758
+ Column28({ name: "job_id", type: "integer", nullable: true }),
3759
+ Index21()
3849
3760
  ], Contract.prototype, "jobId", 2);
3850
3761
  __decorateClass([
3851
- ManyToOne27(() => Job, (job) => job.contracts),
3852
- JoinColumn27({ name: "job_id" })
3762
+ ManyToOne26(() => Job, (job) => job.contracts),
3763
+ JoinColumn26({ name: "job_id" })
3853
3764
  ], Contract.prototype, "job", 2);
3854
3765
  __decorateClass([
3855
- Column29({ name: "client_id", type: "integer", nullable: true }),
3856
- Index22()
3766
+ Column28({ name: "client_id", type: "integer", nullable: true }),
3767
+ Index21()
3857
3768
  ], Contract.prototype, "clientId", 2);
3858
3769
  __decorateClass([
3859
- ManyToOne27(() => User, (user) => user.clientContracts),
3860
- JoinColumn27({ name: "client_id" })
3770
+ ManyToOne26(() => User, (user) => user.clientContracts),
3771
+ JoinColumn26({ name: "client_id" })
3861
3772
  ], Contract.prototype, "client", 2);
3862
3773
  __decorateClass([
3863
- Column29({ name: "freelancer_id", type: "integer", nullable: true }),
3864
- Index22()
3774
+ Column28({ name: "freelancer_id", type: "integer", nullable: true }),
3775
+ Index21()
3865
3776
  ], Contract.prototype, "freelancerId", 2);
3866
3777
  __decorateClass([
3867
- ManyToOne27(() => User, (user) => user.freelancerContracts),
3868
- JoinColumn27({ name: "freelancer_id" })
3778
+ ManyToOne26(() => User, (user) => user.freelancerContracts),
3779
+ JoinColumn26({ name: "freelancer_id" })
3869
3780
  ], Contract.prototype, "freelancer", 2);
3870
3781
  __decorateClass([
3871
- OneToMany11(() => ContractHistory, (history) => history.contract),
3872
- JoinColumn27({ name: "contract_id" })
3873
- ], Contract.prototype, "history", 2);
3874
- __decorateClass([
3875
- Column29({ name: "duration", type: "integer", nullable: true })
3782
+ Column28({ name: "duration", type: "integer", nullable: true })
3876
3783
  ], Contract.prototype, "duration", 2);
3877
3784
  __decorateClass([
3878
- Column29({
3785
+ Column28({
3879
3786
  name: "status",
3880
3787
  type: "enum",
3881
3788
  enum: ContractStatusEnum,
@@ -3883,7 +3790,7 @@ __decorateClass([
3883
3790
  })
3884
3791
  ], Contract.prototype, "status", 2);
3885
3792
  __decorateClass([
3886
- Column29({
3793
+ Column28({
3887
3794
  name: "type",
3888
3795
  type: "enum",
3889
3796
  enum: ContractTypeEnum,
@@ -3891,10 +3798,10 @@ __decorateClass([
3891
3798
  })
3892
3799
  ], Contract.prototype, "type", 2);
3893
3800
  __decorateClass([
3894
- Column29({ name: "invoicing_cycle", type: "varchar", nullable: true })
3801
+ Column28({ name: "invoicing_cycle", type: "varchar", nullable: true })
3895
3802
  ], Contract.prototype, "invoicingCycle", 2);
3896
3803
  __decorateClass([
3897
- Column29({
3804
+ Column28({
3898
3805
  name: "escrow_deposite_amount",
3899
3806
  type: "decimal",
3900
3807
  precision: 10,
@@ -3903,80 +3810,80 @@ __decorateClass([
3903
3810
  })
3904
3811
  ], Contract.prototype, "escrowDepositeAmount", 2);
3905
3812
  __decorateClass([
3906
- Column29({
3813
+ Column28({
3907
3814
  name: "start_date",
3908
3815
  type: "timestamp with time zone",
3909
3816
  nullable: true
3910
3817
  })
3911
3818
  ], Contract.prototype, "startDate", 2);
3912
3819
  __decorateClass([
3913
- Column29({
3820
+ Column28({
3914
3821
  name: "end_date",
3915
3822
  type: "timestamp with time zone",
3916
3823
  nullable: true
3917
3824
  })
3918
3825
  ], Contract.prototype, "endDate", 2);
3919
3826
  __decorateClass([
3920
- Column29({ name: "original_document_url", type: "varchar", nullable: true })
3827
+ Column28({ name: "original_document_url", type: "varchar", nullable: true })
3921
3828
  ], Contract.prototype, "originalDocumentUrl", 2);
3922
3829
  __decorateClass([
3923
- Column29({ name: "contract_document_url", type: "varchar", nullable: true })
3830
+ Column28({ name: "contract_document_url", type: "varchar", nullable: true })
3924
3831
  ], Contract.prototype, "contractDocumentUrl", 2);
3925
3832
  __decorateClass([
3926
- Column29({
3833
+ Column28({
3927
3834
  name: "client_signed_at",
3928
3835
  type: "timestamp with time zone",
3929
3836
  nullable: true
3930
3837
  })
3931
3838
  ], Contract.prototype, "clientSignedAt", 2);
3932
3839
  __decorateClass([
3933
- Column29({ name: "freelancer_viewed", type: "boolean", default: false })
3840
+ Column28({ name: "freelancer_viewed", type: "boolean", default: false })
3934
3841
  ], Contract.prototype, "freelancerViewed", 2);
3935
3842
  __decorateClass([
3936
- Column29({
3843
+ Column28({
3937
3844
  name: "freelancer_viewed_at",
3938
3845
  type: "timestamp with time zone",
3939
3846
  nullable: true
3940
3847
  })
3941
3848
  ], Contract.prototype, "freelancerViewedAt", 2);
3942
3849
  __decorateClass([
3943
- Column29({
3850
+ Column28({
3944
3851
  name: "freelancer_signed_at",
3945
3852
  type: "timestamp with time zone",
3946
3853
  nullable: true
3947
3854
  })
3948
3855
  ], Contract.prototype, "freelancerSignedAt", 2);
3949
3856
  __decorateClass([
3950
- Column29({
3857
+ Column28({
3951
3858
  name: "rejectd_at",
3952
3859
  type: "timestamp with time zone",
3953
3860
  nullable: true
3954
3861
  })
3955
3862
  ], Contract.prototype, "rejectedAt", 2);
3956
3863
  __decorateClass([
3957
- Column29({ name: "reject_reason", type: "varchar", nullable: true })
3864
+ Column28({ name: "reject_reason", type: "varchar", nullable: true })
3958
3865
  ], Contract.prototype, "rejectReason", 2);
3959
3866
  __decorateClass([
3960
- Column29({ name: "resend_count", type: "integer", default: 0 })
3867
+ Column28({ name: "resend_count", type: "integer", default: 0 })
3961
3868
  ], Contract.prototype, "resendCount", 2);
3962
3869
  __decorateClass([
3963
- Column29({ name: "is_work_contract_sent", type: "boolean", default: false })
3870
+ Column28({ name: "is_work_contract_sent", type: "boolean", default: false })
3964
3871
  ], Contract.prototype, "isWorkContractSent", 2);
3965
3872
  __decorateClass([
3966
- Column29({ name: "is_escrow_deposited", type: "boolean", default: false })
3873
+ Column28({ name: "is_escrow_deposited", type: "boolean", default: false })
3967
3874
  ], Contract.prototype, "isEscrowDeposited", 2);
3968
3875
  __decorateClass([
3969
- Column29({ name: "signature_positions", type: "jsonb", nullable: true })
3876
+ Column28({ name: "signature_positions", type: "jsonb", nullable: true })
3970
3877
  ], Contract.prototype, "signaturePositions", 2);
3971
3878
  __decorateClass([
3972
3879
  OneToOne8(() => EscrowWallet, (escrowWallet) => escrowWallet.contract)
3973
3880
  ], Contract.prototype, "escrowWallet", 2);
3974
3881
  Contract = __decorateClass([
3975
- Entity28("contracts")
3882
+ Entity27("contracts")
3976
3883
  ], Contract);
3977
3884
 
3978
3885
  // src/entities/timesheets.entity.ts
3979
- import { Entity as Entity29, Column as Column30, Index as Index23, JoinColumn as JoinColumn28, ManyToOne as ManyToOne28 } from "typeorm";
3886
+ import { Entity as Entity28, Column as Column29, Index as Index22, JoinColumn as JoinColumn27, ManyToOne as ManyToOne27 } from "typeorm";
3980
3887
  var TimesheetStatusEnum = /* @__PURE__ */ ((TimesheetStatusEnum2) => {
3981
3888
  TimesheetStatusEnum2["DRAFT"] = "DRAFT";
3982
3889
  TimesheetStatusEnum2["SEND"] = "SEND";
@@ -3989,89 +3896,132 @@ var TimesheetStatusEnum = /* @__PURE__ */ ((TimesheetStatusEnum2) => {
3989
3896
  var Timesheet = class extends BaseEntity {
3990
3897
  };
3991
3898
  __decorateClass([
3992
- Column30({ name: "job_id", type: "integer", nullable: true }),
3993
- Index23()
3899
+ Column29({ name: "job_id", type: "integer", nullable: true }),
3900
+ Index22()
3994
3901
  ], Timesheet.prototype, "jobId", 2);
3995
3902
  __decorateClass([
3996
- ManyToOne28(() => Job, (job) => job.timesheets),
3997
- JoinColumn28({ name: "job_id" })
3903
+ ManyToOne27(() => Job, (job) => job.timesheets),
3904
+ JoinColumn27({ name: "job_id" })
3998
3905
  ], Timesheet.prototype, "job", 2);
3999
3906
  __decorateClass([
4000
- Column30({ name: "client_id", type: "integer", nullable: true }),
4001
- Index23()
3907
+ Column29({ name: "client_id", type: "integer", nullable: true }),
3908
+ Index22()
4002
3909
  ], Timesheet.prototype, "clientId", 2);
4003
3910
  __decorateClass([
4004
- ManyToOne28(() => User, (user) => user.clientTimesheets),
4005
- JoinColumn28({ name: "client_id" })
3911
+ ManyToOne27(() => User, (user) => user.clientTimesheets),
3912
+ JoinColumn27({ name: "client_id" })
4006
3913
  ], Timesheet.prototype, "client", 2);
4007
3914
  __decorateClass([
4008
- Column30({ name: "freelancer_id", type: "integer", nullable: true }),
4009
- Index23()
3915
+ Column29({ name: "freelancer_id", type: "integer", nullable: true }),
3916
+ Index22()
4010
3917
  ], Timesheet.prototype, "freelancerId", 2);
4011
3918
  __decorateClass([
4012
- ManyToOne28(() => User, (user) => user.freelancerTimesheets),
4013
- JoinColumn28({ name: "freelancer_id" })
3919
+ ManyToOne27(() => User, (user) => user.freelancerTimesheets),
3920
+ JoinColumn27({ name: "freelancer_id" })
4014
3921
  ], Timesheet.prototype, "freelancer", 2);
4015
3922
  __decorateClass([
4016
- Column30({
3923
+ Column29({
4017
3924
  name: "start_date",
4018
3925
  type: "date",
4019
3926
  nullable: true
4020
3927
  })
4021
3928
  ], Timesheet.prototype, "startDate", 2);
4022
3929
  __decorateClass([
4023
- Column30({
3930
+ Column29({
4024
3931
  name: "end_date",
4025
3932
  type: "date",
4026
3933
  nullable: true
4027
3934
  })
4028
3935
  ], Timesheet.prototype, "endDate", 2);
4029
3936
  __decorateClass([
4030
- Column30({ name: "start_time", type: "varchar", nullable: true })
3937
+ Column29({ name: "start_time", type: "varchar", nullable: true })
4031
3938
  ], Timesheet.prototype, "startTime", 2);
4032
3939
  __decorateClass([
4033
- Column30({ name: "end_time", type: "varchar", nullable: true })
3940
+ Column29({ name: "end_time", type: "varchar", nullable: true })
4034
3941
  ], Timesheet.prototype, "endTime", 2);
4035
3942
  __decorateClass([
4036
- Column30({ name: "worked_hours", type: "varchar", nullable: true })
3943
+ Column29({ name: "worked_hours", type: "varchar", nullable: true })
4037
3944
  ], Timesheet.prototype, "workedHours", 2);
4038
3945
  __decorateClass([
4039
- Column30({ name: "task_id", type: "integer", nullable: true })
3946
+ Column29({ name: "task_id", type: "integer", nullable: true })
4040
3947
  ], Timesheet.prototype, "taskId", 2);
4041
3948
  __decorateClass([
4042
- Column30({ name: "task_name", type: "varchar", nullable: true })
3949
+ Column29({ name: "task_name", type: "varchar", nullable: true })
4043
3950
  ], Timesheet.prototype, "taskName", 2);
4044
3951
  __decorateClass([
4045
- Column30({ name: "description", type: "varchar", nullable: true })
3952
+ Column29({ name: "description", type: "varchar", nullable: true })
4046
3953
  ], Timesheet.prototype, "description", 2);
4047
3954
  __decorateClass([
4048
- Column30({ name: "week_start_date", type: "date", nullable: true })
3955
+ Column29({ name: "week_start_date", type: "date", nullable: true })
4049
3956
  ], Timesheet.prototype, "weekStartDate", 2);
4050
3957
  __decorateClass([
4051
- Column30({ name: "week_end_date", type: "date", nullable: true })
3958
+ Column29({ name: "week_end_date", type: "date", nullable: true })
4052
3959
  ], Timesheet.prototype, "weekEndDate", 2);
4053
3960
  __decorateClass([
4054
- Column30({ name: "rejected_at", type: "timestamp with time zone", nullable: true })
3961
+ Column29({ name: "rejected_at", type: "timestamp with time zone", nullable: true })
4055
3962
  ], Timesheet.prototype, "rejectedAt", 2);
4056
3963
  __decorateClass([
4057
- Column30({ name: "submitted_at", type: "timestamp with time zone", nullable: true })
3964
+ Column29({ name: "submitted_at", type: "timestamp with time zone", nullable: true })
4058
3965
  ], Timesheet.prototype, "submittedAt", 2);
4059
3966
  __decorateClass([
4060
- Column30({ name: "resubmiited_at", type: "timestamp with time zone", nullable: true })
3967
+ Column29({ name: "resubmiited_at", type: "timestamp with time zone", nullable: true })
4061
3968
  ], Timesheet.prototype, "resubmittedAt", 2);
4062
3969
  __decorateClass([
4063
- Column30({ name: "approved_at", type: "timestamp with time zone", nullable: true })
3970
+ Column29({ name: "approved_at", type: "timestamp with time zone", nullable: true })
4064
3971
  ], Timesheet.prototype, "approvedAt", 2);
4065
3972
  __decorateClass([
4066
- Column30({ name: "status", type: "enum", enum: TimesheetStatusEnum, nullable: true })
3973
+ Column29({ name: "status", type: "enum", enum: TimesheetStatusEnum, nullable: true })
4067
3974
  ], Timesheet.prototype, "status", 2);
4068
3975
  __decorateClass([
4069
- Column30({ name: "client_send_back_reason", type: "varchar", nullable: true })
3976
+ Column29({ name: "client_send_back_reason", type: "varchar", nullable: true })
4070
3977
  ], Timesheet.prototype, "clientSendBackReason", 2);
4071
3978
  Timesheet = __decorateClass([
4072
- Entity29("timesheets")
3979
+ Entity28("timesheets")
4073
3980
  ], Timesheet);
4074
3981
 
3982
+ // src/entities/job-location.entity.ts
3983
+ import {
3984
+ Entity as Entity29,
3985
+ Column as Column30,
3986
+ ManyToOne as ManyToOne28,
3987
+ JoinColumn as JoinColumn28,
3988
+ Index as Index23
3989
+ } from "typeorm";
3990
+ var JobLocation2 = class extends BaseEntity {
3991
+ };
3992
+ __decorateClass([
3993
+ Column30({ name: "job_id", type: "integer", nullable: false }),
3994
+ Index23()
3995
+ ], JobLocation2.prototype, "jobId", 2);
3996
+ __decorateClass([
3997
+ ManyToOne28(() => Job, (job) => job.jobLocations),
3998
+ JoinColumn28({ name: "job_id" })
3999
+ ], JobLocation2.prototype, "job", 2);
4000
+ __decorateClass([
4001
+ Column30({ name: "country_id", type: "int", nullable: false })
4002
+ ], JobLocation2.prototype, "countryId", 2);
4003
+ __decorateClass([
4004
+ ManyToOne28(() => Country),
4005
+ JoinColumn28({ name: "country_id" })
4006
+ ], JobLocation2.prototype, "country", 2);
4007
+ __decorateClass([
4008
+ Column30({ name: "state_id", type: "int", nullable: false })
4009
+ ], JobLocation2.prototype, "stateId", 2);
4010
+ __decorateClass([
4011
+ ManyToOne28(() => State),
4012
+ JoinColumn28({ name: "state_id" })
4013
+ ], JobLocation2.prototype, "state", 2);
4014
+ __decorateClass([
4015
+ Column30({ name: "city_id", type: "int", nullable: false })
4016
+ ], JobLocation2.prototype, "cityId", 2);
4017
+ __decorateClass([
4018
+ ManyToOne28(() => City),
4019
+ JoinColumn28({ name: "city_id" })
4020
+ ], JobLocation2.prototype, "city", 2);
4021
+ JobLocation2 = __decorateClass([
4022
+ Entity29("job_locations")
4023
+ ], JobLocation2);
4024
+
4075
4025
  // src/entities/job.entity.ts
4076
4026
  var JobLocationEnum = /* @__PURE__ */ ((JobLocationEnum2) => {
4077
4027
  JobLocationEnum2["ONSITE"] = "ONSITE";
@@ -4080,6 +4030,11 @@ var JobLocationEnum = /* @__PURE__ */ ((JobLocationEnum2) => {
4080
4030
  JobLocationEnum2["BOTH"] = "BOTH";
4081
4031
  return JobLocationEnum2;
4082
4032
  })(JobLocationEnum || {});
4033
+ var typeOfExperienceEnum = /* @__PURE__ */ ((typeOfExperienceEnum2) => {
4034
+ typeOfExperienceEnum2["SINGLE"] = "SINGLE";
4035
+ typeOfExperienceEnum2["RANGE"] = "RANGE";
4036
+ return typeOfExperienceEnum2;
4037
+ })(typeOfExperienceEnum || {});
4083
4038
  var TypeOfEmploymentEnum = /* @__PURE__ */ ((TypeOfEmploymentEnum2) => {
4084
4039
  TypeOfEmploymentEnum2["FULLTIME"] = "FULLTIME";
4085
4040
  TypeOfEmploymentEnum2["PARTTIME"] = "PARTTIME";
@@ -4179,9 +4134,23 @@ __decorateClass([
4179
4134
  __decorateClass([
4180
4135
  Column31({ name: "academic_qualifictaion", type: "varchar", nullable: true })
4181
4136
  ], Job.prototype, "academicQualification", 2);
4137
+ __decorateClass([
4138
+ Column31({
4139
+ name: "type_of_experience",
4140
+ type: "enum",
4141
+ enum: typeOfExperienceEnum,
4142
+ nullable: true
4143
+ })
4144
+ ], Job.prototype, "typeOfExperience", 2);
4182
4145
  __decorateClass([
4183
4146
  Column31({ name: "years_of_experience", type: "varchar", nullable: true })
4184
4147
  ], Job.prototype, "yearsOfExperience", 2);
4148
+ __decorateClass([
4149
+ Column31({ name: "years_of_experience_from", type: "varchar", nullable: true })
4150
+ ], Job.prototype, "yearsOfExperienceFrom", 2);
4151
+ __decorateClass([
4152
+ Column31({ name: "years_of_experience_to", type: "varchar", nullable: true })
4153
+ ], Job.prototype, "yearsOfExperienceTo", 2);
4185
4154
  __decorateClass([
4186
4155
  Column31({ name: "business_industry", type: "varchar", nullable: true })
4187
4156
  ], Job.prototype, "businessIndustry", 2);
@@ -4308,28 +4277,28 @@ __decorateClass([
4308
4277
  Column31({ name: "is_interview_created", type: "boolean", default: false })
4309
4278
  ], Job.prototype, "isInterviewCreated", 2);
4310
4279
  __decorateClass([
4311
- OneToMany13(() => InterviewInvite, (interviewInvite) => interviewInvite.job, { cascade: true })
4280
+ OneToMany12(() => InterviewInvite, (interviewInvite) => interviewInvite.job, { cascade: true })
4312
4281
  ], Job.prototype, "interviewInvites", 2);
4313
4282
  __decorateClass([
4314
- OneToMany13(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
4283
+ OneToMany12(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
4315
4284
  ], Job.prototype, "jobSkills", 2);
4316
4285
  __decorateClass([
4317
- OneToMany13(() => JobApplication, (jobApplication) => jobApplication.job, {
4286
+ OneToMany12(() => JobApplication, (jobApplication) => jobApplication.job, {
4318
4287
  cascade: true
4319
4288
  })
4320
4289
  ], Job.prototype, "jobApplications", 2);
4321
4290
  __decorateClass([
4322
- OneToMany13(() => Interview, (interview) => interview.job, {
4291
+ OneToMany12(() => Interview, (interview) => interview.job, {
4323
4292
  cascade: true
4324
4293
  })
4325
4294
  ], Job.prototype, "interviews", 2);
4326
4295
  __decorateClass([
4327
- OneToMany13(() => F2FInterview, (f2fInterview) => f2fInterview.job, {
4296
+ OneToMany12(() => F2FInterview, (f2fInterview) => f2fInterview.job, {
4328
4297
  cascade: true
4329
4298
  })
4330
4299
  ], Job.prototype, "f2fInterviews", 2);
4331
4300
  __decorateClass([
4332
- OneToMany13(
4301
+ OneToMany12(
4333
4302
  () => JobRecommendation,
4334
4303
  (jobRecommendation) => jobRecommendation.job,
4335
4304
  {
@@ -4338,33 +4307,38 @@ __decorateClass([
4338
4307
  )
4339
4308
  ], Job.prototype, "recommendations", 2);
4340
4309
  __decorateClass([
4341
- OneToMany13(() => Contract, (contract) => contract.job, {
4310
+ OneToMany12(() => Contract, (contract) => contract.job, {
4342
4311
  cascade: true
4343
4312
  })
4344
4313
  ], Job.prototype, "contracts", 2);
4345
4314
  __decorateClass([
4346
- OneToMany13(() => EscrowWallet, (escrowWallet) => escrowWallet.job, {
4315
+ OneToMany12(() => EscrowWallet, (escrowWallet) => escrowWallet.job, {
4347
4316
  cascade: true
4348
4317
  })
4349
4318
  ], Job.prototype, "escrowWallets", 2);
4350
4319
  __decorateClass([
4351
- OneToMany13(() => Timesheet, (timesheet) => timesheet.job, {
4320
+ OneToMany12(() => Timesheet, (timesheet) => timesheet.job, {
4352
4321
  cascade: true
4353
4322
  })
4354
4323
  ], Job.prototype, "timesheets", 2);
4355
4324
  __decorateClass([
4356
- OneToMany13(() => TimesheetLine, (timesheetLine) => timesheetLine.job, {
4325
+ OneToMany12(() => TimesheetLine, (timesheetLine) => timesheetLine.job, {
4357
4326
  cascade: true
4358
4327
  })
4359
4328
  ], Job.prototype, "timesheetLine", 2);
4360
4329
  __decorateClass([
4361
- OneToMany13(() => Invoice, (invoice) => invoice.job, {
4330
+ OneToMany12(() => Invoice, (invoice) => invoice.job, {
4362
4331
  cascade: true
4363
4332
  })
4364
4333
  ], Job.prototype, "invoice", 2);
4365
4334
  __decorateClass([
4366
- OneToMany13(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.job)
4335
+ OneToMany12(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.job)
4367
4336
  ], Job.prototype, "clientCandidatePreferences", 2);
4337
+ __decorateClass([
4338
+ OneToMany12(() => JobLocation2, (jobLocation) => jobLocation.job, {
4339
+ cascade: true
4340
+ })
4341
+ ], Job.prototype, "jobLocations", 2);
4368
4342
  Job = __decorateClass([
4369
4343
  Entity30("jobs")
4370
4344
  ], Job);
@@ -4831,7 +4805,7 @@ import {
4831
4805
  Index as Index38,
4832
4806
  JoinColumn as JoinColumn42,
4833
4807
  ManyToOne as ManyToOne42,
4834
- OneToMany as OneToMany15
4808
+ OneToMany as OneToMany14
4835
4809
  } from "typeorm";
4836
4810
 
4837
4811
  // src/entities/company-role-permission.entity.ts
@@ -4917,7 +4891,7 @@ __decorateClass([
4917
4891
  Column45({ name: "is_active", type: "boolean", default: true })
4918
4892
  ], CompanyRole.prototype, "isActive", 2);
4919
4893
  __decorateClass([
4920
- OneToMany15(() => CompanyRolePermission, (rp) => rp.companyRole)
4894
+ OneToMany14(() => CompanyRolePermission, (rp) => rp.companyRole)
4921
4895
  ], CompanyRole.prototype, "rolePermissions", 2);
4922
4896
  CompanyRole = __decorateClass([
4923
4897
  Entity44("company_roles")
@@ -4959,13 +4933,13 @@ import {
4959
4933
  } from "typeorm";
4960
4934
 
4961
4935
  // src/entities/assessment-question.entity.ts
4962
- import { Entity as Entity47, Column as Column48, OneToMany as OneToMany17, Index as Index41, ManyToOne as ManyToOne45, JoinColumn as JoinColumn45 } from "typeorm";
4936
+ import { Entity as Entity47, Column as Column48, OneToMany as OneToMany16, Index as Index41, ManyToOne as ManyToOne45, JoinColumn as JoinColumn45 } from "typeorm";
4963
4937
 
4964
4938
  // src/entities/assessment-question-option.entity.ts
4965
4939
  import {
4966
4940
  Entity as Entity46,
4967
4941
  Column as Column47,
4968
- OneToMany as OneToMany16,
4942
+ OneToMany as OneToMany15,
4969
4943
  ManyToOne as ManyToOne44,
4970
4944
  Index as Index40,
4971
4945
  JoinColumn as JoinColumn44
@@ -5004,7 +4978,7 @@ __decorateClass([
5004
4978
  Column47({ name: "is_active", type: "boolean", default: true })
5005
4979
  ], AssessmetQuestionOption.prototype, "isActive", 2);
5006
4980
  __decorateClass([
5007
- OneToMany16(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
4981
+ OneToMany15(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
5008
4982
  ], AssessmetQuestionOption.prototype, "selectedOptions", 2);
5009
4983
  AssessmetQuestionOption = __decorateClass([
5010
4984
  Entity46("assessment_question_options")
@@ -5041,10 +5015,10 @@ __decorateClass([
5041
5015
  JoinColumn45({ name: "candidate_id" })
5042
5016
  ], AssessmetQuestion.prototype, "candidate", 2);
5043
5017
  __decorateClass([
5044
- OneToMany17(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
5018
+ OneToMany16(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
5045
5019
  ], AssessmetQuestion.prototype, "options", 2);
5046
5020
  __decorateClass([
5047
- OneToMany17(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
5021
+ OneToMany16(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
5048
5022
  ], AssessmetQuestion.prototype, "answers", 2);
5049
5023
  AssessmetQuestion = __decorateClass([
5050
5024
  Entity47("assessment_questions")
@@ -5127,13 +5101,13 @@ CompanySkill = __decorateClass([
5127
5101
  import { Entity as Entity53, Column as Column54, ManyToOne as ManyToOne49, JoinColumn as JoinColumn49 } from "typeorm";
5128
5102
 
5129
5103
  // src/entities/admin-role.entity.ts
5130
- import { Entity as Entity52, Column as Column53, Index as Index46, OneToMany as OneToMany20 } from "typeorm";
5104
+ import { Entity as Entity52, Column as Column53, Index as Index46, OneToMany as OneToMany19 } from "typeorm";
5131
5105
 
5132
5106
  // src/entities/admin-role-permission.entity.ts
5133
5107
  import { Entity as Entity51, Column as Column52, ManyToOne as ManyToOne48, JoinColumn as JoinColumn48 } from "typeorm";
5134
5108
 
5135
5109
  // src/entities/admin-permission.entity.ts
5136
- import { Entity as Entity50, Column as Column51, Index as Index44, OneToMany as OneToMany19 } from "typeorm";
5110
+ import { Entity as Entity50, Column as Column51, Index as Index44, OneToMany as OneToMany18 } from "typeorm";
5137
5111
  var AdminPermission = class extends BaseEntity {
5138
5112
  };
5139
5113
  __decorateClass([
@@ -5158,7 +5132,7 @@ __decorateClass([
5158
5132
  Column51({ name: "is_active", type: "boolean", default: true })
5159
5133
  ], AdminPermission.prototype, "isActive", 2);
5160
5134
  __decorateClass([
5161
- OneToMany19(
5135
+ OneToMany18(
5162
5136
  () => AdminRolePermission,
5163
5137
  (adminRolePermission) => adminRolePermission.adminPermissions
5164
5138
  )
@@ -5215,13 +5189,13 @@ __decorateClass([
5215
5189
  Column53({ name: "is_active", type: "boolean", default: true })
5216
5190
  ], AdminRole.prototype, "isActive", 2);
5217
5191
  __decorateClass([
5218
- OneToMany20(
5192
+ OneToMany19(
5219
5193
  () => AdminRolePermission,
5220
5194
  (addminRolePermission) => addminRolePermission.adminRole
5221
5195
  )
5222
5196
  ], AdminRole.prototype, "adminRolePermission", 2);
5223
5197
  __decorateClass([
5224
- OneToMany20(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
5198
+ OneToMany19(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
5225
5199
  ], AdminRole.prototype, "userRoles", 2);
5226
5200
  AdminRole = __decorateClass([
5227
5201
  Entity52("admin_roles")
@@ -5516,7 +5490,7 @@ StripeTransaction = __decorateClass([
5516
5490
  ], StripeTransaction);
5517
5491
 
5518
5492
  // src/entities/wallet.entity.ts
5519
- import { Entity as Entity59, Column as Column60, Index as Index53, JoinColumn as JoinColumn55, OneToOne as OneToOne10, OneToMany as OneToMany21 } from "typeorm";
5493
+ import { Entity as Entity59, Column as Column60, Index as Index53, JoinColumn as JoinColumn55, OneToOne as OneToOne10, OneToMany as OneToMany20 } from "typeorm";
5520
5494
 
5521
5495
  // src/entities/wallet-transaction.entity.ts
5522
5496
  import { Entity as Entity58, Column as Column59, Index as Index52, ManyToOne as ManyToOne54, JoinColumn as JoinColumn54 } from "typeorm";
@@ -5622,7 +5596,7 @@ __decorateClass([
5622
5596
  Column60({ name: "stripe_metadata", type: "jsonb", nullable: true })
5623
5597
  ], Wallet.prototype, "stripeMetadata", 2);
5624
5598
  __decorateClass([
5625
- OneToMany21(() => WalletTransaction, (walletTransaction) => walletTransaction.wallet)
5599
+ OneToMany20(() => WalletTransaction, (walletTransaction) => walletTransaction.wallet)
5626
5600
  ], Wallet.prototype, "walletTransactions", 2);
5627
5601
  Wallet = __decorateClass([
5628
5602
  Entity59("wallets")
@@ -5664,7 +5638,7 @@ __decorateClass([
5664
5638
  JoinColumn56({ name: "parent_id" })
5665
5639
  ], User.prototype, "parent", 2);
5666
5640
  __decorateClass([
5667
- OneToMany22(() => User, (user) => user.parent)
5641
+ OneToMany21(() => User, (user) => user.parent)
5668
5642
  ], User.prototype, "children", 2);
5669
5643
  __decorateClass([
5670
5644
  Column61({ name: "username", type: "varchar", unique: true, nullable: true })
@@ -5745,7 +5719,7 @@ __decorateClass([
5745
5719
  Column61({ name: "set_password_token", type: "varchar", nullable: true })
5746
5720
  ], User.prototype, "setPasswordToken", 2);
5747
5721
  __decorateClass([
5748
- OneToMany22(() => RefreshToken, (token) => token.user)
5722
+ OneToMany21(() => RefreshToken, (token) => token.user)
5749
5723
  ], User.prototype, "refreshTokens", 2);
5750
5724
  __decorateClass([
5751
5725
  Column61({
@@ -5772,28 +5746,28 @@ __decorateClass([
5772
5746
  Column61({ name: "onboarded_by", type: "varchar", nullable: true })
5773
5747
  ], User.prototype, "onBoardedBy", 2);
5774
5748
  __decorateClass([
5775
- OneToMany22(() => Otp, (otp) => otp.user)
5749
+ OneToMany21(() => Otp, (otp) => otp.user)
5776
5750
  ], User.prototype, "otps", 2);
5777
5751
  __decorateClass([
5778
- OneToMany22(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
5752
+ OneToMany21(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
5779
5753
  ], User.prototype, "senseloafLogs", 2);
5780
5754
  __decorateClass([
5781
5755
  OneToOne11(() => CompanyProfile, (companyProfile) => companyProfile.user)
5782
5756
  ], User.prototype, "companyProfile", 2);
5783
5757
  __decorateClass([
5784
- OneToMany22(() => CompanySkill, (companySkill) => companySkill.user)
5758
+ OneToMany21(() => CompanySkill, (companySkill) => companySkill.user)
5785
5759
  ], User.prototype, "companySkills", 2);
5786
5760
  __decorateClass([
5787
- OneToMany22(
5761
+ OneToMany21(
5788
5762
  () => CompanyMemberRole,
5789
5763
  (companyMemberRole) => companyMemberRole.user
5790
5764
  )
5791
5765
  ], User.prototype, "companyMemberRoles", 2);
5792
5766
  __decorateClass([
5793
- OneToMany22(() => AiInterview, (aiInterview) => aiInterview.interviwer)
5767
+ OneToMany21(() => AiInterview, (aiInterview) => aiInterview.interviwer)
5794
5768
  ], User.prototype, "companyAiInterview", 2);
5795
5769
  __decorateClass([
5796
- OneToMany22(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
5770
+ OneToMany21(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
5797
5771
  ], User.prototype, "clientF2FInterviews", 2);
5798
5772
  __decorateClass([
5799
5773
  OneToOne11(
@@ -5805,49 +5779,49 @@ __decorateClass([
5805
5779
  OneToOne11(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
5806
5780
  ], User.prototype, "freelancerResume", 2);
5807
5781
  __decorateClass([
5808
- OneToMany22(
5782
+ OneToMany21(
5809
5783
  () => FreelancerAssessment,
5810
5784
  (freelancerAssessment) => freelancerAssessment.user
5811
5785
  )
5812
5786
  ], User.prototype, "assessments", 2);
5813
5787
  __decorateClass([
5814
- OneToMany22(
5788
+ OneToMany21(
5815
5789
  () => AssessmentAnswer,
5816
5790
  (assessmentAnswer) => assessmentAnswer.user
5817
5791
  )
5818
5792
  ], User.prototype, "assessmentAnswers", 2);
5819
5793
  __decorateClass([
5820
- OneToMany22(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
5794
+ OneToMany21(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
5821
5795
  ], User.prototype, "freelancerSkills", 2);
5822
5796
  __decorateClass([
5823
- OneToMany22(
5797
+ OneToMany21(
5824
5798
  () => FreelancerExperience,
5825
5799
  (freelancerExperience) => freelancerExperience.user
5826
5800
  )
5827
5801
  ], User.prototype, "freelancerExperience", 2);
5828
5802
  __decorateClass([
5829
- OneToMany22(
5803
+ OneToMany21(
5830
5804
  () => FreelancerEducation,
5831
5805
  (freelancerEducation) => freelancerEducation.user
5832
5806
  )
5833
5807
  ], User.prototype, "freelancerEducation", 2);
5834
5808
  __decorateClass([
5835
- OneToMany22(
5809
+ OneToMany21(
5836
5810
  () => FreelancerProject,
5837
5811
  (freelancerProject) => freelancerProject.user
5838
5812
  )
5839
5813
  ], User.prototype, "freelancerProject", 2);
5840
5814
  __decorateClass([
5841
- OneToMany22(
5815
+ OneToMany21(
5842
5816
  () => FreelancerCaseStudy,
5843
5817
  (freelancerCaseStudy) => freelancerCaseStudy.user
5844
5818
  )
5845
5819
  ], User.prototype, "freelancerCaseStudy", 2);
5846
5820
  __decorateClass([
5847
- OneToMany22(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
5821
+ OneToMany21(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
5848
5822
  ], User.prototype, "freelancerTool", 2);
5849
5823
  __decorateClass([
5850
- OneToMany22(
5824
+ OneToMany21(
5851
5825
  () => FreelancerFramework,
5852
5826
  (freelancerFramework) => freelancerFramework.user
5853
5827
  )
@@ -5859,103 +5833,103 @@ __decorateClass([
5859
5833
  )
5860
5834
  ], User.prototype, "freelancerDeclaration", 2);
5861
5835
  __decorateClass([
5862
- OneToMany22(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
5836
+ OneToMany21(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
5863
5837
  ], User.prototype, "freelancerMcq", 2);
5864
5838
  __decorateClass([
5865
- OneToMany22(() => AiInterview, (aiInterview) => aiInterview.candidate)
5839
+ OneToMany21(() => AiInterview, (aiInterview) => aiInterview.candidate)
5866
5840
  ], User.prototype, "freelancerAiInterview", 2);
5867
5841
  __decorateClass([
5868
- OneToMany22(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
5842
+ OneToMany21(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
5869
5843
  ], User.prototype, "freelancerF2FInterviews", 2);
5870
5844
  __decorateClass([
5871
- OneToMany22(
5845
+ OneToMany21(
5872
5846
  () => F2fInterviewRescheduleRequest,
5873
5847
  (f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
5874
5848
  )
5875
5849
  ], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
5876
5850
  __decorateClass([
5877
- OneToMany22(() => Job, (job) => job.user)
5851
+ OneToMany21(() => Job, (job) => job.user)
5878
5852
  ], User.prototype, "jobs", 2);
5879
5853
  __decorateClass([
5880
- OneToMany22(() => JobApplication, (jobApplication) => jobApplication.user)
5854
+ OneToMany21(() => JobApplication, (jobApplication) => jobApplication.user)
5881
5855
  ], User.prototype, "jobApplications", 2);
5882
5856
  __decorateClass([
5883
- OneToMany22(() => Interview, (interview) => interview.user)
5857
+ OneToMany21(() => Interview, (interview) => interview.user)
5884
5858
  ], User.prototype, "interviews", 2);
5885
5859
  __decorateClass([
5886
- OneToMany22(() => BankDetail, (bankDetail) => bankDetail.user)
5860
+ OneToMany21(() => BankDetail, (bankDetail) => bankDetail.user)
5887
5861
  ], User.prototype, "bankDetail", 2);
5888
5862
  __decorateClass([
5889
- OneToMany22(
5863
+ OneToMany21(
5890
5864
  () => SystemPreference,
5891
5865
  (systemPreference) => systemPreference.user
5892
5866
  )
5893
5867
  ], User.prototype, "systemPreference", 2);
5894
5868
  __decorateClass([
5895
- OneToMany22(() => Rating, (rating) => rating.reviewer)
5869
+ OneToMany21(() => Rating, (rating) => rating.reviewer)
5896
5870
  ], User.prototype, "givenRatings", 2);
5897
5871
  __decorateClass([
5898
- OneToMany22(() => Rating, (rating) => rating.reviewee)
5872
+ OneToMany21(() => Rating, (rating) => rating.reviewee)
5899
5873
  ], User.prototype, "receivedRatings", 2);
5900
5874
  __decorateClass([
5901
- OneToMany22(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
5875
+ OneToMany21(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
5902
5876
  ], User.prototype, "adminUserRoles", 2);
5903
5877
  __decorateClass([
5904
- OneToMany22(() => Contract, (contract) => contract.client)
5878
+ OneToMany21(() => Contract, (contract) => contract.client)
5905
5879
  ], User.prototype, "clientContracts", 2);
5906
5880
  __decorateClass([
5907
- OneToMany22(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
5881
+ OneToMany21(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
5908
5882
  ], User.prototype, "clientEscrowWallets", 2);
5909
5883
  __decorateClass([
5910
- OneToMany22(() => Contract, (contract) => contract.freelancer)
5884
+ OneToMany21(() => Contract, (contract) => contract.freelancer)
5911
5885
  ], User.prototype, "freelancerContracts", 2);
5912
5886
  __decorateClass([
5913
- OneToMany22(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
5887
+ OneToMany21(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
5914
5888
  ], User.prototype, "freelancerEscrowWallets", 2);
5915
5889
  __decorateClass([
5916
5890
  OneToOne11(() => Signature, (signature) => signature.user)
5917
5891
  ], User.prototype, "signatures", 2);
5918
5892
  __decorateClass([
5919
- OneToMany22(() => Timesheet, (timesheet) => timesheet.client)
5893
+ OneToMany21(() => Timesheet, (timesheet) => timesheet.client)
5920
5894
  ], User.prototype, "clientTimesheets", 2);
5921
5895
  __decorateClass([
5922
- OneToMany22(() => Timesheet, (timesheet) => timesheet.freelancer)
5896
+ OneToMany21(() => Timesheet, (timesheet) => timesheet.freelancer)
5923
5897
  ], User.prototype, "freelancerTimesheets", 2);
5924
5898
  __decorateClass([
5925
- OneToMany22(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
5899
+ OneToMany21(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
5926
5900
  ], User.prototype, "clientTimesheetLine", 2);
5927
5901
  __decorateClass([
5928
- OneToMany22(() => Invoice, (invoice) => invoice.client)
5902
+ OneToMany21(() => Invoice, (invoice) => invoice.client)
5929
5903
  ], User.prototype, "clientInvoice", 2);
5930
5904
  __decorateClass([
5931
- OneToMany22(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
5905
+ OneToMany21(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
5932
5906
  ], User.prototype, "freelancerTimesheetLine", 2);
5933
5907
  __decorateClass([
5934
- OneToMany22(() => Invoice, (invoice) => invoice.freelancer)
5908
+ OneToMany21(() => Invoice, (invoice) => invoice.freelancer)
5935
5909
  ], User.prototype, "freelancerInvoice", 2);
5936
5910
  __decorateClass([
5937
- OneToMany22(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
5911
+ OneToMany21(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
5938
5912
  ], User.prototype, "clientPreferencesGiven", 2);
5939
5913
  __decorateClass([
5940
- OneToMany22(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
5914
+ OneToMany21(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
5941
5915
  ], User.prototype, "clientPreferencesReceived", 2);
5942
5916
  __decorateClass([
5943
- OneToMany22(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
5917
+ OneToMany21(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
5944
5918
  ], User.prototype, "initiatedDisputes", 2);
5945
5919
  __decorateClass([
5946
- OneToMany22(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
5920
+ OneToMany21(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
5947
5921
  ], User.prototype, "respondentDisputes", 2);
5948
5922
  __decorateClass([
5949
5923
  OneToOne11(() => Wallet, (wallet) => wallet.user)
5950
5924
  ], User.prototype, "wallet", 2);
5951
5925
  __decorateClass([
5952
- OneToMany22(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
5926
+ OneToMany21(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
5953
5927
  ], User.prototype, "stripeTransactions", 2);
5954
5928
  __decorateClass([
5955
- OneToMany22(() => Dispute, (dispute) => dispute.client)
5929
+ OneToMany21(() => Dispute, (dispute) => dispute.client)
5956
5930
  ], User.prototype, "clientDisputes", 2);
5957
5931
  __decorateClass([
5958
- OneToMany22(() => Dispute, (dispute) => dispute.freelancer)
5932
+ OneToMany21(() => Dispute, (dispute) => dispute.freelancer)
5959
5933
  ], User.prototype, "freelancerDisputes", 2);
5960
5934
  User = __decorateClass([
5961
5935
  Entity60("users")
@@ -8700,10 +8674,6 @@ export {
8700
8674
  CompanyRolePermission,
8701
8675
  CompanySkill,
8702
8676
  Contract,
8703
- ContractHistory,
8704
- ContractHistoryActionEnum,
8705
- ContractHistoryStatusEnum,
8706
- ContractHistoryTypeEnum,
8707
8677
  ContractRMQAdapter,
8708
8678
  ContractStatusEnum,
8709
8679
  ContractTCPAdapter,
@@ -8931,5 +8901,6 @@ export {
8931
8901
  WalletTransaction,
8932
8902
  WalletTransactionStatusEnum,
8933
8903
  WalletTransactionTypeEnum,
8934
- ZoomMeetingLog
8904
+ ZoomMeetingLog,
8905
+ typeOfExperienceEnum
8935
8906
  };