@experts_hub/shared 1.0.651 → 1.0.653

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
@@ -167,6 +167,7 @@ __export(index_exports, {
167
167
  DiscordTransport: () => DiscordTransport,
168
168
  Dispute: () => Dispute,
169
169
  DisputeStatusEnum: () => DisputeStatusEnum,
170
+ DocuSeal: () => DocuSeal,
170
171
  DocumentType: () => DocumentType,
171
172
  DurationTypeEnum: () => DurationTypeEnum,
172
173
  EMAIL_PATTERN: () => EMAIL_PATTERN,
@@ -239,6 +240,7 @@ __export(index_exports, {
239
240
  INTERVIEW_INVITE_PATTERN: () => INTERVIEW_INVITE_PATTERN,
240
241
  INTERVIEW_PATTERN: () => INTERVIEW_PATTERN,
241
242
  INVOICE_PATTERN: () => INVOICE_PATTERN,
243
+ InAppNotification: () => InAppNotification,
242
244
  InitiatorTypeEnum: () => InitiatorTypeEnum,
243
245
  Interview: () => Interview,
244
246
  InterviewInvite: () => InterviewInvite,
@@ -1345,7 +1347,7 @@ __decorateClass([
1345
1347
  var import_class_validator37 = require("class-validator");
1346
1348
 
1347
1349
  // src/entities/user.entity.ts
1348
- var import_typeorm66 = require("typeorm");
1350
+ var import_typeorm68 = require("typeorm");
1349
1351
 
1350
1352
  // src/entities/base.entity.ts
1351
1353
  var import_typeorm = require("typeorm");
@@ -2168,7 +2170,7 @@ FreelancerProfile = __decorateClass([
2168
2170
  ], FreelancerProfile);
2169
2171
 
2170
2172
  // src/entities/job.entity.ts
2171
- var import_typeorm35 = require("typeorm");
2173
+ var import_typeorm36 = require("typeorm");
2172
2174
 
2173
2175
  // src/entities/job-skill.entity.ts
2174
2176
  var import_typeorm10 = require("typeorm");
@@ -3196,7 +3198,7 @@ JobRecommendation = __decorateClass([
3196
3198
  ], JobRecommendation);
3197
3199
 
3198
3200
  // src/entities/contract.entity.ts
3199
- var import_typeorm31 = require("typeorm");
3201
+ var import_typeorm32 = require("typeorm");
3200
3202
 
3201
3203
  // src/entities/escrow-wallet.entity.ts
3202
3204
  var import_typeorm30 = require("typeorm");
@@ -3833,6 +3835,32 @@ EscrowWallet = __decorateClass([
3833
3835
  (0, import_typeorm30.Entity)("escrow_wallets")
3834
3836
  ], EscrowWallet);
3835
3837
 
3838
+ // src/entities/docuseal.entity.ts
3839
+ var import_typeorm31 = require("typeorm");
3840
+ var DocuSeal = class extends BaseEntity {
3841
+ };
3842
+ __decorateClass([
3843
+ (0, import_typeorm31.Column)({ name: "contract_id", type: "integer", nullable: true }),
3844
+ (0, import_typeorm31.Index)()
3845
+ ], DocuSeal.prototype, "contractId", 2);
3846
+ __decorateClass([
3847
+ (0, import_typeorm31.ManyToOne)(() => Contract, (contract) => contract.docuseal),
3848
+ (0, import_typeorm31.JoinColumn)({ name: "contract_id" })
3849
+ ], DocuSeal.prototype, "contract", 2);
3850
+ __decorateClass([
3851
+ (0, import_typeorm31.Column)({ name: "submitter_id", type: "integer", nullable: true }),
3852
+ (0, import_typeorm31.Index)()
3853
+ ], DocuSeal.prototype, "submitterId", 2);
3854
+ __decorateClass([
3855
+ (0, import_typeorm31.Column)({ name: "submitter_response", type: "jsonb", nullable: true })
3856
+ ], DocuSeal.prototype, "submitterResponse", 2);
3857
+ __decorateClass([
3858
+ (0, import_typeorm31.Column)({ name: "webhook_response", type: "jsonb", nullable: true })
3859
+ ], DocuSeal.prototype, "webhookResponse", 2);
3860
+ DocuSeal = __decorateClass([
3861
+ (0, import_typeorm31.Entity)("docuseal")
3862
+ ], DocuSeal);
3863
+
3836
3864
  // src/entities/contract.entity.ts
3837
3865
  var ContractStatusEnum = /* @__PURE__ */ ((ContractStatusEnum2) => {
3838
3866
  ContractStatusEnum2["GENERATED"] = "GENERATED";
@@ -3858,45 +3886,45 @@ var ContractTypeEnum = /* @__PURE__ */ ((ContractTypeEnum2) => {
3858
3886
  var Contract = class extends BaseEntity {
3859
3887
  };
3860
3888
  __decorateClass([
3861
- (0, import_typeorm31.Column)({ name: "contract_unique_id", type: "varchar", nullable: true, unique: true })
3889
+ (0, import_typeorm32.Column)({ name: "contract_unique_id", type: "varchar", nullable: true, unique: true })
3862
3890
  ], Contract.prototype, "contractUniqueId", 2);
3863
3891
  __decorateClass([
3864
- (0, import_typeorm31.Column)({ name: "contract_summary_id", type: "integer", nullable: true }),
3865
- (0, import_typeorm31.Index)()
3892
+ (0, import_typeorm32.Column)({ name: "contract_summary_id", type: "integer", nullable: true }),
3893
+ (0, import_typeorm32.Index)()
3866
3894
  ], Contract.prototype, "contractSummaryId", 2);
3867
3895
  __decorateClass([
3868
- (0, import_typeorm31.ManyToOne)(() => ContractSummary, (contractSummary) => contractSummary.contracts),
3869
- (0, import_typeorm31.JoinColumn)({ name: "contract_summary_id" })
3896
+ (0, import_typeorm32.ManyToOne)(() => ContractSummary, (contractSummary) => contractSummary.contracts),
3897
+ (0, import_typeorm32.JoinColumn)({ name: "contract_summary_id" })
3870
3898
  ], Contract.prototype, "contractSummary", 2);
3871
3899
  __decorateClass([
3872
- (0, import_typeorm31.Column)({ name: "job_id", type: "integer", nullable: true }),
3873
- (0, import_typeorm31.Index)()
3900
+ (0, import_typeorm32.Column)({ name: "job_id", type: "integer", nullable: true }),
3901
+ (0, import_typeorm32.Index)()
3874
3902
  ], Contract.prototype, "jobId", 2);
3875
3903
  __decorateClass([
3876
- (0, import_typeorm31.ManyToOne)(() => Job, (job) => job.contracts),
3877
- (0, import_typeorm31.JoinColumn)({ name: "job_id" })
3904
+ (0, import_typeorm32.ManyToOne)(() => Job, (job) => job.contracts),
3905
+ (0, import_typeorm32.JoinColumn)({ name: "job_id" })
3878
3906
  ], Contract.prototype, "job", 2);
3879
3907
  __decorateClass([
3880
- (0, import_typeorm31.Column)({ name: "client_id", type: "integer", nullable: true }),
3881
- (0, import_typeorm31.Index)()
3908
+ (0, import_typeorm32.Column)({ name: "client_id", type: "integer", nullable: true }),
3909
+ (0, import_typeorm32.Index)()
3882
3910
  ], Contract.prototype, "clientId", 2);
3883
3911
  __decorateClass([
3884
- (0, import_typeorm31.ManyToOne)(() => User, (user) => user.clientContracts),
3885
- (0, import_typeorm31.JoinColumn)({ name: "client_id" })
3912
+ (0, import_typeorm32.ManyToOne)(() => User, (user) => user.clientContracts),
3913
+ (0, import_typeorm32.JoinColumn)({ name: "client_id" })
3886
3914
  ], Contract.prototype, "client", 2);
3887
3915
  __decorateClass([
3888
- (0, import_typeorm31.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
3889
- (0, import_typeorm31.Index)()
3916
+ (0, import_typeorm32.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
3917
+ (0, import_typeorm32.Index)()
3890
3918
  ], Contract.prototype, "freelancerId", 2);
3891
3919
  __decorateClass([
3892
- (0, import_typeorm31.ManyToOne)(() => User, (user) => user.freelancerContracts),
3893
- (0, import_typeorm31.JoinColumn)({ name: "freelancer_id" })
3920
+ (0, import_typeorm32.ManyToOne)(() => User, (user) => user.freelancerContracts),
3921
+ (0, import_typeorm32.JoinColumn)({ name: "freelancer_id" })
3894
3922
  ], Contract.prototype, "freelancer", 2);
3895
3923
  __decorateClass([
3896
- (0, import_typeorm31.Column)({ name: "duration", type: "integer", nullable: true })
3924
+ (0, import_typeorm32.Column)({ name: "duration", type: "integer", nullable: true })
3897
3925
  ], Contract.prototype, "duration", 2);
3898
3926
  __decorateClass([
3899
- (0, import_typeorm31.Column)({
3927
+ (0, import_typeorm32.Column)({
3900
3928
  name: "status",
3901
3929
  type: "enum",
3902
3930
  enum: ContractStatusEnum,
@@ -3904,7 +3932,7 @@ __decorateClass([
3904
3932
  })
3905
3933
  ], Contract.prototype, "status", 2);
3906
3934
  __decorateClass([
3907
- (0, import_typeorm31.Column)({
3935
+ (0, import_typeorm32.Column)({
3908
3936
  name: "type",
3909
3937
  type: "enum",
3910
3938
  enum: ContractTypeEnum,
@@ -3912,10 +3940,10 @@ __decorateClass([
3912
3940
  })
3913
3941
  ], Contract.prototype, "type", 2);
3914
3942
  __decorateClass([
3915
- (0, import_typeorm31.Column)({ name: "invoicing_cycle", type: "varchar", nullable: true })
3943
+ (0, import_typeorm32.Column)({ name: "invoicing_cycle", type: "varchar", nullable: true })
3916
3944
  ], Contract.prototype, "invoicingCycle", 2);
3917
3945
  __decorateClass([
3918
- (0, import_typeorm31.Column)({
3946
+ (0, import_typeorm32.Column)({
3919
3947
  name: "escrow_deposite_amount",
3920
3948
  type: "decimal",
3921
3949
  precision: 10,
@@ -3924,97 +3952,103 @@ __decorateClass([
3924
3952
  })
3925
3953
  ], Contract.prototype, "escrowDepositeAmount", 2);
3926
3954
  __decorateClass([
3927
- (0, import_typeorm31.Column)({
3955
+ (0, import_typeorm32.Column)({
3928
3956
  name: "start_date",
3929
3957
  type: "timestamp with time zone",
3930
3958
  nullable: true
3931
3959
  })
3932
3960
  ], Contract.prototype, "startDate", 2);
3933
3961
  __decorateClass([
3934
- (0, import_typeorm31.Column)({
3962
+ (0, import_typeorm32.Column)({
3935
3963
  name: "end_date",
3936
3964
  type: "timestamp with time zone",
3937
3965
  nullable: true
3938
3966
  })
3939
3967
  ], Contract.prototype, "endDate", 2);
3940
3968
  __decorateClass([
3941
- (0, import_typeorm31.Column)({
3969
+ (0, import_typeorm32.Column)({
3942
3970
  name: "actual_start_date",
3943
3971
  type: "timestamp with time zone",
3944
3972
  nullable: true
3945
3973
  })
3946
3974
  ], Contract.prototype, "actualStartDate", 2);
3947
3975
  __decorateClass([
3948
- (0, import_typeorm31.Column)({
3976
+ (0, import_typeorm32.Column)({
3949
3977
  name: "actual_end_date",
3950
3978
  type: "timestamp with time zone",
3951
3979
  nullable: true
3952
3980
  })
3953
3981
  ], Contract.prototype, "actualEndDate", 2);
3954
3982
  __decorateClass([
3955
- (0, import_typeorm31.Column)({ name: "original_document_url", type: "varchar", nullable: true })
3983
+ (0, import_typeorm32.Column)({ name: "original_document_url", type: "varchar", nullable: true })
3956
3984
  ], Contract.prototype, "originalDocumentUrl", 2);
3957
3985
  __decorateClass([
3958
- (0, import_typeorm31.Column)({ name: "contract_document_url", type: "varchar", nullable: true })
3986
+ (0, import_typeorm32.Column)({ name: "contract_document_url", type: "varchar", nullable: true })
3959
3987
  ], Contract.prototype, "contractDocumentUrl", 2);
3960
3988
  __decorateClass([
3961
- (0, import_typeorm31.Column)({
3989
+ (0, import_typeorm32.Column)({
3962
3990
  name: "client_signed_at",
3963
3991
  type: "timestamp with time zone",
3964
3992
  nullable: true
3965
3993
  })
3966
3994
  ], Contract.prototype, "clientSignedAt", 2);
3967
3995
  __decorateClass([
3968
- (0, import_typeorm31.Column)({ name: "freelancer_viewed", type: "boolean", default: false })
3996
+ (0, import_typeorm32.Column)({ name: "freelancer_viewed", type: "boolean", default: false })
3969
3997
  ], Contract.prototype, "freelancerViewed", 2);
3970
3998
  __decorateClass([
3971
- (0, import_typeorm31.Column)({
3999
+ (0, import_typeorm32.Column)({
3972
4000
  name: "freelancer_viewed_at",
3973
4001
  type: "timestamp with time zone",
3974
4002
  nullable: true
3975
4003
  })
3976
4004
  ], Contract.prototype, "freelancerViewedAt", 2);
3977
4005
  __decorateClass([
3978
- (0, import_typeorm31.Column)({
4006
+ (0, import_typeorm32.Column)({
3979
4007
  name: "freelancer_signed_at",
3980
4008
  type: "timestamp with time zone",
3981
4009
  nullable: true
3982
4010
  })
3983
4011
  ], Contract.prototype, "freelancerSignedAt", 2);
3984
4012
  __decorateClass([
3985
- (0, import_typeorm31.Column)({
4013
+ (0, import_typeorm32.Column)({
3986
4014
  name: "rejectd_at",
3987
4015
  type: "timestamp with time zone",
3988
4016
  nullable: true
3989
4017
  })
3990
4018
  ], Contract.prototype, "rejectedAt", 2);
3991
4019
  __decorateClass([
3992
- (0, import_typeorm31.Column)({ name: "reject_reason", type: "varchar", nullable: true })
4020
+ (0, import_typeorm32.Column)({ name: "reject_reason", type: "varchar", nullable: true })
3993
4021
  ], Contract.prototype, "rejectReason", 2);
3994
4022
  __decorateClass([
3995
- (0, import_typeorm31.Column)({ name: "resend_count", type: "integer", default: 0 })
4023
+ (0, import_typeorm32.Column)({ name: "resend_count", type: "integer", default: 0 })
3996
4024
  ], Contract.prototype, "resendCount", 2);
3997
4025
  __decorateClass([
3998
- (0, import_typeorm31.Column)({ name: "is_work_contract_sent", type: "boolean", default: false })
4026
+ (0, import_typeorm32.Column)({ name: "is_work_contract_sent", type: "boolean", default: false })
3999
4027
  ], Contract.prototype, "isWorkContractSent", 2);
4000
4028
  __decorateClass([
4001
- (0, import_typeorm31.Column)({ name: "is_escrow_deposited", type: "boolean", default: false })
4029
+ (0, import_typeorm32.Column)({ name: "is_escrow_deposited", type: "boolean", default: false })
4002
4030
  ], Contract.prototype, "isEscrowDeposited", 2);
4003
4031
  __decorateClass([
4004
- (0, import_typeorm31.Column)({ name: "signature_positions", type: "jsonb", nullable: true })
4032
+ (0, import_typeorm32.Column)({ name: "signature_positions", type: "jsonb", nullable: true })
4005
4033
  ], Contract.prototype, "signaturePositions", 2);
4006
4034
  __decorateClass([
4007
- (0, import_typeorm31.Column)({ name: "meta_data", type: "jsonb", nullable: true })
4035
+ (0, import_typeorm32.Column)({ name: "signature_url", type: "varchar", nullable: true })
4036
+ ], Contract.prototype, "signatureUrl", 2);
4037
+ __decorateClass([
4038
+ (0, import_typeorm32.Column)({ name: "meta_data", type: "jsonb", nullable: true })
4008
4039
  ], Contract.prototype, "metaData", 2);
4009
4040
  __decorateClass([
4010
- (0, import_typeorm31.OneToOne)(() => EscrowWallet, (escrowWallet) => escrowWallet.contract)
4041
+ (0, import_typeorm32.OneToOne)(() => EscrowWallet, (escrowWallet) => escrowWallet.contract)
4011
4042
  ], Contract.prototype, "escrowWallet", 2);
4043
+ __decorateClass([
4044
+ (0, import_typeorm32.OneToOne)(() => DocuSeal, (docuseal) => docuseal.contract)
4045
+ ], Contract.prototype, "docuseal", 2);
4012
4046
  Contract = __decorateClass([
4013
- (0, import_typeorm31.Entity)("contracts")
4047
+ (0, import_typeorm32.Entity)("contracts")
4014
4048
  ], Contract);
4015
4049
 
4016
4050
  // src/entities/timesheets.entity.ts
4017
- var import_typeorm32 = require("typeorm");
4051
+ var import_typeorm33 = require("typeorm");
4018
4052
  var TimesheetStatusEnum = /* @__PURE__ */ ((TimesheetStatusEnum2) => {
4019
4053
  TimesheetStatusEnum2["DRAFT"] = "DRAFT";
4020
4054
  TimesheetStatusEnum2["SEND"] = "SEND";
@@ -4027,140 +4061,140 @@ var TimesheetStatusEnum = /* @__PURE__ */ ((TimesheetStatusEnum2) => {
4027
4061
  var Timesheet = class extends BaseEntity {
4028
4062
  };
4029
4063
  __decorateClass([
4030
- (0, import_typeorm32.Column)({ name: "job_id", type: "integer", nullable: true }),
4031
- (0, import_typeorm32.Index)()
4064
+ (0, import_typeorm33.Column)({ name: "job_id", type: "integer", nullable: true }),
4065
+ (0, import_typeorm33.Index)()
4032
4066
  ], Timesheet.prototype, "jobId", 2);
4033
4067
  __decorateClass([
4034
- (0, import_typeorm32.ManyToOne)(() => Job, (job) => job.timesheets),
4035
- (0, import_typeorm32.JoinColumn)({ name: "job_id" })
4068
+ (0, import_typeorm33.ManyToOne)(() => Job, (job) => job.timesheets),
4069
+ (0, import_typeorm33.JoinColumn)({ name: "job_id" })
4036
4070
  ], Timesheet.prototype, "job", 2);
4037
4071
  __decorateClass([
4038
- (0, import_typeorm32.Column)({ name: "client_id", type: "integer", nullable: true }),
4039
- (0, import_typeorm32.Index)()
4072
+ (0, import_typeorm33.Column)({ name: "client_id", type: "integer", nullable: true }),
4073
+ (0, import_typeorm33.Index)()
4040
4074
  ], Timesheet.prototype, "clientId", 2);
4041
4075
  __decorateClass([
4042
- (0, import_typeorm32.ManyToOne)(() => User, (user) => user.clientTimesheets),
4043
- (0, import_typeorm32.JoinColumn)({ name: "client_id" })
4076
+ (0, import_typeorm33.ManyToOne)(() => User, (user) => user.clientTimesheets),
4077
+ (0, import_typeorm33.JoinColumn)({ name: "client_id" })
4044
4078
  ], Timesheet.prototype, "client", 2);
4045
4079
  __decorateClass([
4046
- (0, import_typeorm32.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
4047
- (0, import_typeorm32.Index)()
4080
+ (0, import_typeorm33.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
4081
+ (0, import_typeorm33.Index)()
4048
4082
  ], Timesheet.prototype, "freelancerId", 2);
4049
4083
  __decorateClass([
4050
- (0, import_typeorm32.ManyToOne)(() => User, (user) => user.freelancerTimesheets),
4051
- (0, import_typeorm32.JoinColumn)({ name: "freelancer_id" })
4084
+ (0, import_typeorm33.ManyToOne)(() => User, (user) => user.freelancerTimesheets),
4085
+ (0, import_typeorm33.JoinColumn)({ name: "freelancer_id" })
4052
4086
  ], Timesheet.prototype, "freelancer", 2);
4053
4087
  __decorateClass([
4054
- (0, import_typeorm32.Column)({
4088
+ (0, import_typeorm33.Column)({
4055
4089
  name: "start_date",
4056
4090
  type: "date",
4057
4091
  nullable: true
4058
4092
  })
4059
4093
  ], Timesheet.prototype, "startDate", 2);
4060
4094
  __decorateClass([
4061
- (0, import_typeorm32.Column)({
4095
+ (0, import_typeorm33.Column)({
4062
4096
  name: "end_date",
4063
4097
  type: "date",
4064
4098
  nullable: true
4065
4099
  })
4066
4100
  ], Timesheet.prototype, "endDate", 2);
4067
4101
  __decorateClass([
4068
- (0, import_typeorm32.Column)({ name: "start_time", type: "varchar", nullable: true })
4102
+ (0, import_typeorm33.Column)({ name: "start_time", type: "varchar", nullable: true })
4069
4103
  ], Timesheet.prototype, "startTime", 2);
4070
4104
  __decorateClass([
4071
- (0, import_typeorm32.Column)({ name: "end_time", type: "varchar", nullable: true })
4105
+ (0, import_typeorm33.Column)({ name: "end_time", type: "varchar", nullable: true })
4072
4106
  ], Timesheet.prototype, "endTime", 2);
4073
4107
  __decorateClass([
4074
- (0, import_typeorm32.Column)({ name: "worked_hours", type: "varchar", nullable: true })
4108
+ (0, import_typeorm33.Column)({ name: "worked_hours", type: "varchar", nullable: true })
4075
4109
  ], Timesheet.prototype, "workedHours", 2);
4076
4110
  __decorateClass([
4077
- (0, import_typeorm32.Column)({ name: "task_id", type: "integer", nullable: true })
4111
+ (0, import_typeorm33.Column)({ name: "task_id", type: "integer", nullable: true })
4078
4112
  ], Timesheet.prototype, "taskId", 2);
4079
4113
  __decorateClass([
4080
- (0, import_typeorm32.Column)({ name: "task_name", type: "varchar", nullable: true })
4114
+ (0, import_typeorm33.Column)({ name: "task_name", type: "varchar", nullable: true })
4081
4115
  ], Timesheet.prototype, "taskName", 2);
4082
4116
  __decorateClass([
4083
- (0, import_typeorm32.Column)({ name: "description", type: "varchar", nullable: true })
4117
+ (0, import_typeorm33.Column)({ name: "description", type: "varchar", nullable: true })
4084
4118
  ], Timesheet.prototype, "description", 2);
4085
4119
  __decorateClass([
4086
- (0, import_typeorm32.Column)({ name: "week_start_date", type: "date", nullable: true })
4120
+ (0, import_typeorm33.Column)({ name: "week_start_date", type: "date", nullable: true })
4087
4121
  ], Timesheet.prototype, "weekStartDate", 2);
4088
4122
  __decorateClass([
4089
- (0, import_typeorm32.Column)({ name: "week_end_date", type: "date", nullable: true })
4123
+ (0, import_typeorm33.Column)({ name: "week_end_date", type: "date", nullable: true })
4090
4124
  ], Timesheet.prototype, "weekEndDate", 2);
4091
4125
  __decorateClass([
4092
- (0, import_typeorm32.Column)({ name: "rejected_at", type: "timestamp with time zone", nullable: true })
4126
+ (0, import_typeorm33.Column)({ name: "rejected_at", type: "timestamp with time zone", nullable: true })
4093
4127
  ], Timesheet.prototype, "rejectedAt", 2);
4094
4128
  __decorateClass([
4095
- (0, import_typeorm32.Column)({ name: "submitted_at", type: "timestamp with time zone", nullable: true })
4129
+ (0, import_typeorm33.Column)({ name: "submitted_at", type: "timestamp with time zone", nullable: true })
4096
4130
  ], Timesheet.prototype, "submittedAt", 2);
4097
4131
  __decorateClass([
4098
- (0, import_typeorm32.Column)({ name: "resubmiited_at", type: "timestamp with time zone", nullable: true })
4132
+ (0, import_typeorm33.Column)({ name: "resubmiited_at", type: "timestamp with time zone", nullable: true })
4099
4133
  ], Timesheet.prototype, "resubmittedAt", 2);
4100
4134
  __decorateClass([
4101
- (0, import_typeorm32.Column)({ name: "approved_at", type: "timestamp with time zone", nullable: true })
4135
+ (0, import_typeorm33.Column)({ name: "approved_at", type: "timestamp with time zone", nullable: true })
4102
4136
  ], Timesheet.prototype, "approvedAt", 2);
4103
4137
  __decorateClass([
4104
- (0, import_typeorm32.Column)({ name: "status", type: "enum", enum: TimesheetStatusEnum, nullable: true })
4138
+ (0, import_typeorm33.Column)({ name: "status", type: "enum", enum: TimesheetStatusEnum, nullable: true })
4105
4139
  ], Timesheet.prototype, "status", 2);
4106
4140
  __decorateClass([
4107
- (0, import_typeorm32.Column)({ name: "client_send_back_reason", type: "varchar", nullable: true })
4141
+ (0, import_typeorm33.Column)({ name: "client_send_back_reason", type: "varchar", nullable: true })
4108
4142
  ], Timesheet.prototype, "clientSendBackReason", 2);
4109
4143
  Timesheet = __decorateClass([
4110
- (0, import_typeorm32.Entity)("timesheets")
4144
+ (0, import_typeorm33.Entity)("timesheets")
4111
4145
  ], Timesheet);
4112
4146
 
4113
4147
  // src/entities/job-location.entity.ts
4114
- var import_typeorm33 = require("typeorm");
4148
+ var import_typeorm34 = require("typeorm");
4115
4149
  var JobLocation = class extends BaseEntity {
4116
4150
  };
4117
4151
  __decorateClass([
4118
- (0, import_typeorm33.Column)({ name: "job_id", type: "integer", nullable: false }),
4119
- (0, import_typeorm33.Index)()
4152
+ (0, import_typeorm34.Column)({ name: "job_id", type: "integer", nullable: false }),
4153
+ (0, import_typeorm34.Index)()
4120
4154
  ], JobLocation.prototype, "jobId", 2);
4121
4155
  __decorateClass([
4122
- (0, import_typeorm33.ManyToOne)(() => Job, (job) => job.jobLocations),
4123
- (0, import_typeorm33.JoinColumn)({ name: "job_id" })
4156
+ (0, import_typeorm34.ManyToOne)(() => Job, (job) => job.jobLocations),
4157
+ (0, import_typeorm34.JoinColumn)({ name: "job_id" })
4124
4158
  ], JobLocation.prototype, "job", 2);
4125
4159
  __decorateClass([
4126
- (0, import_typeorm33.Column)({ name: "country_id", type: "int", nullable: false })
4160
+ (0, import_typeorm34.Column)({ name: "country_id", type: "int", nullable: false })
4127
4161
  ], JobLocation.prototype, "countryId", 2);
4128
4162
  __decorateClass([
4129
- (0, import_typeorm33.Column)({ name: "country_name", type: "varchar", nullable: true })
4163
+ (0, import_typeorm34.Column)({ name: "country_name", type: "varchar", nullable: true })
4130
4164
  ], JobLocation.prototype, "countryName", 2);
4131
4165
  __decorateClass([
4132
- (0, import_typeorm33.ManyToOne)(() => Country),
4133
- (0, import_typeorm33.JoinColumn)({ name: "country_id" })
4166
+ (0, import_typeorm34.ManyToOne)(() => Country),
4167
+ (0, import_typeorm34.JoinColumn)({ name: "country_id" })
4134
4168
  ], JobLocation.prototype, "country", 2);
4135
4169
  __decorateClass([
4136
- (0, import_typeorm33.Column)({ name: "state_id", type: "int", nullable: false })
4170
+ (0, import_typeorm34.Column)({ name: "state_id", type: "int", nullable: false })
4137
4171
  ], JobLocation.prototype, "stateId", 2);
4138
4172
  __decorateClass([
4139
- (0, import_typeorm33.Column)({ name: "state_name", type: "varchar", nullable: true })
4173
+ (0, import_typeorm34.Column)({ name: "state_name", type: "varchar", nullable: true })
4140
4174
  ], JobLocation.prototype, "stateName", 2);
4141
4175
  __decorateClass([
4142
- (0, import_typeorm33.ManyToOne)(() => State),
4143
- (0, import_typeorm33.JoinColumn)({ name: "state_id" })
4176
+ (0, import_typeorm34.ManyToOne)(() => State),
4177
+ (0, import_typeorm34.JoinColumn)({ name: "state_id" })
4144
4178
  ], JobLocation.prototype, "state", 2);
4145
4179
  __decorateClass([
4146
- (0, import_typeorm33.Column)({ name: "city_id", type: "int", nullable: false })
4180
+ (0, import_typeorm34.Column)({ name: "city_id", type: "int", nullable: false })
4147
4181
  ], JobLocation.prototype, "cityId", 2);
4148
4182
  __decorateClass([
4149
- (0, import_typeorm33.Column)({ name: "city_name", type: "varchar", nullable: true })
4183
+ (0, import_typeorm34.Column)({ name: "city_name", type: "varchar", nullable: true })
4150
4184
  ], JobLocation.prototype, "cityName", 2);
4151
4185
  __decorateClass([
4152
- (0, import_typeorm33.ManyToOne)(() => City),
4153
- (0, import_typeorm33.JoinColumn)({ name: "city_id" })
4186
+ (0, import_typeorm34.ManyToOne)(() => City),
4187
+ (0, import_typeorm34.JoinColumn)({ name: "city_id" })
4154
4188
  ], JobLocation.prototype, "city", 2);
4155
4189
  __decorateClass([
4156
- (0, import_typeorm33.Column)({ name: "location_wise_openings", type: "int", default: 0 })
4190
+ (0, import_typeorm34.Column)({ name: "location_wise_openings", type: "int", default: 0 })
4157
4191
  ], JobLocation.prototype, "locationWiseOpenings", 2);
4158
4192
  JobLocation = __decorateClass([
4159
- (0, import_typeorm33.Entity)("job_locations")
4193
+ (0, import_typeorm34.Entity)("job_locations")
4160
4194
  ], JobLocation);
4161
4195
 
4162
4196
  // src/entities/rating.entity.ts
4163
- var import_typeorm34 = require("typeorm");
4197
+ var import_typeorm35 = require("typeorm");
4164
4198
  var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
4165
4199
  RatingTypeEnum2["FREELANCER_TO_CLIENT"] = "FREELANCER_TO_CLIENT";
4166
4200
  RatingTypeEnum2["CLIENT_TO_FREELANCER"] = "CLIENT_TO_FREELANCER";
@@ -4169,31 +4203,31 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
4169
4203
  var Rating = class extends BaseEntity {
4170
4204
  };
4171
4205
  __decorateClass([
4172
- (0, import_typeorm34.Column)({ name: "reviewer_id", type: "integer" }),
4173
- (0, import_typeorm34.Index)()
4206
+ (0, import_typeorm35.Column)({ name: "reviewer_id", type: "integer" }),
4207
+ (0, import_typeorm35.Index)()
4174
4208
  ], Rating.prototype, "reviewerId", 2);
4175
4209
  __decorateClass([
4176
- (0, import_typeorm34.ManyToOne)(() => User, { onDelete: "CASCADE" }),
4177
- (0, import_typeorm34.JoinColumn)({ name: "reviewer_id" })
4210
+ (0, import_typeorm35.ManyToOne)(() => User, { onDelete: "CASCADE" }),
4211
+ (0, import_typeorm35.JoinColumn)({ name: "reviewer_id" })
4178
4212
  ], Rating.prototype, "reviewer", 2);
4179
4213
  __decorateClass([
4180
- (0, import_typeorm34.Column)({ name: "reviewee_id", type: "integer" }),
4181
- (0, import_typeorm34.Index)()
4214
+ (0, import_typeorm35.Column)({ name: "reviewee_id", type: "integer" }),
4215
+ (0, import_typeorm35.Index)()
4182
4216
  ], Rating.prototype, "revieweeId", 2);
4183
4217
  __decorateClass([
4184
- (0, import_typeorm34.ManyToOne)(() => User, { onDelete: "CASCADE" }),
4185
- (0, import_typeorm34.JoinColumn)({ name: "reviewee_id" })
4218
+ (0, import_typeorm35.ManyToOne)(() => User, { onDelete: "CASCADE" }),
4219
+ (0, import_typeorm35.JoinColumn)({ name: "reviewee_id" })
4186
4220
  ], Rating.prototype, "reviewee", 2);
4187
4221
  __decorateClass([
4188
- (0, import_typeorm34.Column)({ name: "job_id", type: "integer" }),
4189
- (0, import_typeorm34.Index)()
4222
+ (0, import_typeorm35.Column)({ name: "job_id", type: "integer" }),
4223
+ (0, import_typeorm35.Index)()
4190
4224
  ], Rating.prototype, "jobId", 2);
4191
4225
  __decorateClass([
4192
- (0, import_typeorm34.ManyToOne)(() => Job, (job) => job.ratings, { onDelete: "CASCADE" }),
4193
- (0, import_typeorm34.JoinColumn)({ name: "job_id" })
4226
+ (0, import_typeorm35.ManyToOne)(() => Job, (job) => job.ratings, { onDelete: "CASCADE" }),
4227
+ (0, import_typeorm35.JoinColumn)({ name: "job_id" })
4194
4228
  ], Rating.prototype, "job", 2);
4195
4229
  __decorateClass([
4196
- (0, import_typeorm34.Column)({
4230
+ (0, import_typeorm35.Column)({
4197
4231
  name: "rating_type",
4198
4232
  type: "enum",
4199
4233
  enum: RatingTypeEnum,
@@ -4201,67 +4235,67 @@ __decorateClass([
4201
4235
  })
4202
4236
  ], Rating.prototype, "ratingType", 2);
4203
4237
  __decorateClass([
4204
- (0, import_typeorm34.Column)({ name: "reviewer_comment", type: "text", nullable: true })
4238
+ (0, import_typeorm35.Column)({ name: "reviewer_comment", type: "text", nullable: true })
4205
4239
  ], Rating.prototype, "reviewerComment", 2);
4206
4240
  __decorateClass([
4207
- (0, import_typeorm34.Column)({
4241
+ (0, import_typeorm35.Column)({
4208
4242
  name: "overall_experience",
4209
4243
  type: "float",
4210
4244
  default: 0
4211
4245
  })
4212
4246
  ], Rating.prototype, "overAllExperience", 2);
4213
4247
  __decorateClass([
4214
- (0, import_typeorm34.Column)({
4248
+ (0, import_typeorm35.Column)({
4215
4249
  name: "work_quality",
4216
4250
  type: "float",
4217
4251
  default: 0
4218
4252
  })
4219
4253
  ], Rating.prototype, "workQuality", 2);
4220
4254
  __decorateClass([
4221
- (0, import_typeorm34.Column)({
4255
+ (0, import_typeorm35.Column)({
4222
4256
  name: "one_time_delivery",
4223
4257
  type: "float",
4224
4258
  default: 0
4225
4259
  })
4226
4260
  ], Rating.prototype, "oneTimeDelivery", 2);
4227
4261
  __decorateClass([
4228
- (0, import_typeorm34.Column)({
4262
+ (0, import_typeorm35.Column)({
4229
4263
  name: "understaning",
4230
4264
  type: "float",
4231
4265
  default: 0
4232
4266
  })
4233
4267
  ], Rating.prototype, "understaning", 2);
4234
4268
  __decorateClass([
4235
- (0, import_typeorm34.Column)({
4269
+ (0, import_typeorm35.Column)({
4236
4270
  name: "communication",
4237
4271
  type: "float",
4238
4272
  default: 0
4239
4273
  })
4240
4274
  ], Rating.prototype, "communication", 2);
4241
4275
  __decorateClass([
4242
- (0, import_typeorm34.Column)({
4276
+ (0, import_typeorm35.Column)({
4243
4277
  name: "skill_utilized",
4244
4278
  type: "float",
4245
4279
  default: 0
4246
4280
  })
4247
4281
  ], Rating.prototype, "skillUtilized", 2);
4248
4282
  __decorateClass([
4249
- (0, import_typeorm34.Column)({ name: "communication_clarity", type: "float", default: 0 })
4283
+ (0, import_typeorm35.Column)({ name: "communication_clarity", type: "float", default: 0 })
4250
4284
  ], Rating.prototype, "communicationClarity", 2);
4251
4285
  __decorateClass([
4252
- (0, import_typeorm34.Column)({ name: "requirements_clarity", type: "float", default: 0 })
4286
+ (0, import_typeorm35.Column)({ name: "requirements_clarity", type: "float", default: 0 })
4253
4287
  ], Rating.prototype, "requirementsClarity", 2);
4254
4288
  __decorateClass([
4255
- (0, import_typeorm34.Column)({ name: "responsiveness", type: "float", default: 0 })
4289
+ (0, import_typeorm35.Column)({ name: "responsiveness", type: "float", default: 0 })
4256
4290
  ], Rating.prototype, "responsiveness", 2);
4257
4291
  __decorateClass([
4258
- (0, import_typeorm34.Column)({ name: "payment_promptness", type: "float", default: 0 })
4292
+ (0, import_typeorm35.Column)({ name: "payment_promptness", type: "float", default: 0 })
4259
4293
  ], Rating.prototype, "paymentPromptness", 2);
4260
4294
  __decorateClass([
4261
- (0, import_typeorm34.Column)({ name: "responsibilities_and_expectations", type: "float", default: 0 })
4295
+ (0, import_typeorm35.Column)({ name: "responsibilities_and_expectations", type: "float", default: 0 })
4262
4296
  ], Rating.prototype, "responsibilitiesAndExpectations", 2);
4263
4297
  Rating = __decorateClass([
4264
- (0, import_typeorm34.Entity)("ratings")
4298
+ (0, import_typeorm35.Entity)("ratings")
4265
4299
  ], Rating);
4266
4300
 
4267
4301
  // src/entities/job.entity.ts
@@ -4316,58 +4350,58 @@ var DurationTypeEnum = /* @__PURE__ */ ((DurationTypeEnum2) => {
4316
4350
  var Job = class extends BaseEntity {
4317
4351
  };
4318
4352
  __decorateClass([
4319
- (0, import_typeorm35.Column)({ name: "job_id", type: "varchar", unique: true, nullable: true })
4353
+ (0, import_typeorm36.Column)({ name: "job_id", type: "varchar", unique: true, nullable: true })
4320
4354
  ], Job.prototype, "jobId", 2);
4321
4355
  // individual index to find jobs by user
4322
4356
  __decorateClass([
4323
- (0, import_typeorm35.Column)({ name: "user_id", type: "integer", nullable: true }),
4324
- (0, import_typeorm35.Index)()
4357
+ (0, import_typeorm36.Column)({ name: "user_id", type: "integer", nullable: true }),
4358
+ (0, import_typeorm36.Index)()
4325
4359
  ], Job.prototype, "userId", 2);
4326
4360
  __decorateClass([
4327
- (0, import_typeorm35.ManyToOne)(() => User, (user) => user.jobs),
4328
- (0, import_typeorm35.JoinColumn)({ name: "user_id" })
4361
+ (0, import_typeorm36.ManyToOne)(() => User, (user) => user.jobs),
4362
+ (0, import_typeorm36.JoinColumn)({ name: "user_id" })
4329
4363
  ], Job.prototype, "user", 2);
4330
4364
  __decorateClass([
4331
- (0, import_typeorm35.Column)({ name: "country_id", type: "int", nullable: true })
4365
+ (0, import_typeorm36.Column)({ name: "country_id", type: "int", nullable: true })
4332
4366
  ], Job.prototype, "countryId", 2);
4333
4367
  __decorateClass([
4334
- (0, import_typeorm35.ManyToOne)(() => Country),
4335
- (0, import_typeorm35.JoinColumn)({ name: "country_id" })
4368
+ (0, import_typeorm36.ManyToOne)(() => Country),
4369
+ (0, import_typeorm36.JoinColumn)({ name: "country_id" })
4336
4370
  ], Job.prototype, "country", 2);
4337
4371
  __decorateClass([
4338
- (0, import_typeorm35.Column)({ name: "state_id", type: "int", nullable: true })
4372
+ (0, import_typeorm36.Column)({ name: "state_id", type: "int", nullable: true })
4339
4373
  ], Job.prototype, "stateId", 2);
4340
4374
  __decorateClass([
4341
- (0, import_typeorm35.ManyToOne)(() => State),
4342
- (0, import_typeorm35.JoinColumn)({ name: "state_id" })
4375
+ (0, import_typeorm36.ManyToOne)(() => State),
4376
+ (0, import_typeorm36.JoinColumn)({ name: "state_id" })
4343
4377
  ], Job.prototype, "state", 2);
4344
4378
  __decorateClass([
4345
- (0, import_typeorm35.Column)({ name: "city_id", type: "int", nullable: true })
4379
+ (0, import_typeorm36.Column)({ name: "city_id", type: "int", nullable: true })
4346
4380
  ], Job.prototype, "cityId", 2);
4347
4381
  __decorateClass([
4348
- (0, import_typeorm35.ManyToOne)(() => City),
4349
- (0, import_typeorm35.JoinColumn)({ name: "city_id" })
4382
+ (0, import_typeorm36.ManyToOne)(() => City),
4383
+ (0, import_typeorm36.JoinColumn)({ name: "city_id" })
4350
4384
  ], Job.prototype, "city", 2);
4351
4385
  __decorateClass([
4352
- (0, import_typeorm35.Column)({ name: "job_role", type: "varchar", nullable: true })
4386
+ (0, import_typeorm36.Column)({ name: "job_role", type: "varchar", nullable: true })
4353
4387
  ], Job.prototype, "jobRole", 2);
4354
4388
  __decorateClass([
4355
- (0, import_typeorm35.Column)({ name: "job_role_canonical_name", type: "varchar", nullable: true })
4389
+ (0, import_typeorm36.Column)({ name: "job_role_canonical_name", type: "varchar", nullable: true })
4356
4390
  ], Job.prototype, "jobRoleCanonicalName", 2);
4357
4391
  __decorateClass([
4358
- (0, import_typeorm35.Column)({ name: "project_name", type: "varchar", nullable: true })
4392
+ (0, import_typeorm36.Column)({ name: "project_name", type: "varchar", nullable: true })
4359
4393
  ], Job.prototype, "projectName", 2);
4360
4394
  __decorateClass([
4361
- (0, import_typeorm35.Column)({ name: "note", type: "varchar", nullable: true })
4395
+ (0, import_typeorm36.Column)({ name: "note", type: "varchar", nullable: true })
4362
4396
  ], Job.prototype, "note", 2);
4363
4397
  __decorateClass([
4364
- (0, import_typeorm35.Column)({ name: "openings", type: "integer", default: 0 })
4398
+ (0, import_typeorm36.Column)({ name: "openings", type: "integer", default: 0 })
4365
4399
  ], Job.prototype, "openings", 2);
4366
4400
  __decorateClass([
4367
- (0, import_typeorm35.Column)({ name: "utilised_openings", type: "integer", default: 0 })
4401
+ (0, import_typeorm36.Column)({ name: "utilised_openings", type: "integer", default: 0 })
4368
4402
  ], Job.prototype, "utilisedOpenings", 2);
4369
4403
  __decorateClass([
4370
- (0, import_typeorm35.Column)({
4404
+ (0, import_typeorm36.Column)({
4371
4405
  name: "location",
4372
4406
  type: "enum",
4373
4407
  enum: JobLocationEnum,
@@ -4375,7 +4409,7 @@ __decorateClass([
4375
4409
  })
4376
4410
  ], Job.prototype, "location", 2);
4377
4411
  __decorateClass([
4378
- (0, import_typeorm35.Column)({
4412
+ (0, import_typeorm36.Column)({
4379
4413
  name: "type_of_employment",
4380
4414
  type: "enum",
4381
4415
  enum: TypeOfEmploymentEnum,
@@ -4383,7 +4417,7 @@ __decorateClass([
4383
4417
  })
4384
4418
  ], Job.prototype, "typeOfEmployment", 2);
4385
4419
  __decorateClass([
4386
- (0, import_typeorm35.Column)({
4420
+ (0, import_typeorm36.Column)({
4387
4421
  name: "billing_cycle",
4388
4422
  type: "enum",
4389
4423
  enum: BillingCycleEnum,
@@ -4391,10 +4425,10 @@ __decorateClass([
4391
4425
  })
4392
4426
  ], Job.prototype, "billingCycle", 2);
4393
4427
  __decorateClass([
4394
- (0, import_typeorm35.Column)({ name: "academic_qualifictaion", type: "varchar", nullable: true })
4428
+ (0, import_typeorm36.Column)({ name: "academic_qualifictaion", type: "varchar", nullable: true })
4395
4429
  ], Job.prototype, "academicQualification", 2);
4396
4430
  __decorateClass([
4397
- (0, import_typeorm35.Column)({
4431
+ (0, import_typeorm36.Column)({
4398
4432
  name: "type_of_experience",
4399
4433
  type: "enum",
4400
4434
  enum: typeOfExperienceEnum,
@@ -4402,22 +4436,22 @@ __decorateClass([
4402
4436
  })
4403
4437
  ], Job.prototype, "typeOfExperience", 2);
4404
4438
  __decorateClass([
4405
- (0, import_typeorm35.Column)({ name: "years_of_experience", type: "varchar", nullable: true })
4439
+ (0, import_typeorm36.Column)({ name: "years_of_experience", type: "varchar", nullable: true })
4406
4440
  ], Job.prototype, "yearsOfExperience", 2);
4407
4441
  __decorateClass([
4408
- (0, import_typeorm35.Column)({ name: "years_of_experience_from", type: "varchar", nullable: true })
4442
+ (0, import_typeorm36.Column)({ name: "years_of_experience_from", type: "varchar", nullable: true })
4409
4443
  ], Job.prototype, "yearsOfExperienceFrom", 2);
4410
4444
  __decorateClass([
4411
- (0, import_typeorm35.Column)({ name: "years_of_experience_to", type: "varchar", nullable: true })
4445
+ (0, import_typeorm36.Column)({ name: "years_of_experience_to", type: "varchar", nullable: true })
4412
4446
  ], Job.prototype, "yearsOfExperienceTo", 2);
4413
4447
  __decorateClass([
4414
- (0, import_typeorm35.Column)({ name: "business_industry", type: "varchar", nullable: true })
4448
+ (0, import_typeorm36.Column)({ name: "business_industry", type: "varchar", nullable: true })
4415
4449
  ], Job.prototype, "businessIndustry", 2);
4416
4450
  __decorateClass([
4417
- (0, import_typeorm35.Column)({ name: "currency", type: "varchar", default: "USD" })
4451
+ (0, import_typeorm36.Column)({ name: "currency", type: "varchar", default: "USD" })
4418
4452
  ], Job.prototype, "currency", 2);
4419
4453
  __decorateClass([
4420
- (0, import_typeorm35.Column)({
4454
+ (0, import_typeorm36.Column)({
4421
4455
  name: "expected_salary_from",
4422
4456
  type: "decimal",
4423
4457
  precision: 10,
@@ -4426,14 +4460,14 @@ __decorateClass([
4426
4460
  })
4427
4461
  ], Job.prototype, "expectedSalaryFrom", 2);
4428
4462
  __decorateClass([
4429
- (0, import_typeorm35.Column)({
4463
+ (0, import_typeorm36.Column)({
4430
4464
  name: "hide_expected_salary_from",
4431
4465
  type: "boolean",
4432
4466
  default: false
4433
4467
  })
4434
4468
  ], Job.prototype, "hideExpectedSalaryFrom", 2);
4435
4469
  __decorateClass([
4436
- (0, import_typeorm35.Column)({
4470
+ (0, import_typeorm36.Column)({
4437
4471
  name: "expected_salary_to",
4438
4472
  type: "decimal",
4439
4473
  precision: 10,
@@ -4442,14 +4476,14 @@ __decorateClass([
4442
4476
  })
4443
4477
  ], Job.prototype, "expectedSalaryTo", 2);
4444
4478
  __decorateClass([
4445
- (0, import_typeorm35.Column)({
4479
+ (0, import_typeorm36.Column)({
4446
4480
  name: "hide_expected_salary_to",
4447
4481
  type: "boolean",
4448
4482
  default: false
4449
4483
  })
4450
4484
  ], Job.prototype, "hideExpectedSalaryTo", 2);
4451
4485
  __decorateClass([
4452
- (0, import_typeorm35.Column)({
4486
+ (0, import_typeorm36.Column)({
4453
4487
  name: "expected_annual_budget_from",
4454
4488
  type: "decimal",
4455
4489
  precision: 10,
@@ -4458,14 +4492,14 @@ __decorateClass([
4458
4492
  })
4459
4493
  ], Job.prototype, "expectedAnnualBudgetFrom", 2);
4460
4494
  __decorateClass([
4461
- (0, import_typeorm35.Column)({
4495
+ (0, import_typeorm36.Column)({
4462
4496
  name: "hide_expected_annual_budget_from",
4463
4497
  type: "boolean",
4464
4498
  default: false
4465
4499
  })
4466
4500
  ], Job.prototype, "hideExpectedAnnualBudgetFrom", 2);
4467
4501
  __decorateClass([
4468
- (0, import_typeorm35.Column)({
4502
+ (0, import_typeorm36.Column)({
4469
4503
  name: "expected_annual_budget_to",
4470
4504
  type: "decimal",
4471
4505
  precision: 10,
@@ -4474,32 +4508,32 @@ __decorateClass([
4474
4508
  })
4475
4509
  ], Job.prototype, "expectedAnnualBudgetTo", 2);
4476
4510
  __decorateClass([
4477
- (0, import_typeorm35.Column)({
4511
+ (0, import_typeorm36.Column)({
4478
4512
  name: "hide_expected_annual_budget_to",
4479
4513
  type: "boolean",
4480
4514
  default: false
4481
4515
  })
4482
4516
  ], Job.prototype, "hideExpectedAnnualBudgetTo", 2);
4483
4517
  __decorateClass([
4484
- (0, import_typeorm35.Column)({ name: "years", type: "varchar", nullable: true })
4518
+ (0, import_typeorm36.Column)({ name: "years", type: "varchar", nullable: true })
4485
4519
  ], Job.prototype, "years", 2);
4486
4520
  __decorateClass([
4487
- (0, import_typeorm35.Column)({ name: "months", type: "varchar", nullable: true })
4521
+ (0, import_typeorm36.Column)({ name: "months", type: "varchar", nullable: true })
4488
4522
  ], Job.prototype, "months", 2);
4489
4523
  __decorateClass([
4490
- (0, import_typeorm35.Column)({ name: "weeks", type: "varchar", nullable: true })
4524
+ (0, import_typeorm36.Column)({ name: "weeks", type: "varchar", nullable: true })
4491
4525
  ], Job.prototype, "weeks", 2);
4492
4526
  __decorateClass([
4493
- (0, import_typeorm35.Column)({ name: "days", type: "varchar", nullable: true })
4527
+ (0, import_typeorm36.Column)({ name: "days", type: "varchar", nullable: true })
4494
4528
  ], Job.prototype, "days", 2);
4495
4529
  __decorateClass([
4496
- (0, import_typeorm35.Column)({ name: "tentative_start_date", type: "date", nullable: true })
4530
+ (0, import_typeorm36.Column)({ name: "tentative_start_date", type: "date", nullable: true })
4497
4531
  ], Job.prototype, "tentativeStartDate", 2);
4498
4532
  __decorateClass([
4499
- (0, import_typeorm35.Column)({ name: "tentative_end_date", type: "date", nullable: true })
4533
+ (0, import_typeorm36.Column)({ name: "tentative_end_date", type: "date", nullable: true })
4500
4534
  ], Job.prototype, "tentativeEndDate", 2);
4501
4535
  __decorateClass([
4502
- (0, import_typeorm35.Column)({
4536
+ (0, import_typeorm36.Column)({
4503
4537
  name: "duration_type",
4504
4538
  type: "enum",
4505
4539
  enum: DurationTypeEnum,
@@ -4507,10 +4541,10 @@ __decorateClass([
4507
4541
  })
4508
4542
  ], Job.prototype, "durationType", 2);
4509
4543
  __decorateClass([
4510
- (0, import_typeorm35.Column)({ name: "duration", type: "varchar", nullable: true })
4544
+ (0, import_typeorm36.Column)({ name: "duration", type: "varchar", nullable: true })
4511
4545
  ], Job.prototype, "duration", 2);
4512
4546
  __decorateClass([
4513
- (0, import_typeorm35.Column)({
4547
+ (0, import_typeorm36.Column)({
4514
4548
  name: "number_of_hours",
4515
4549
  type: "decimal",
4516
4550
  precision: 4,
@@ -4519,13 +4553,13 @@ __decorateClass([
4519
4553
  })
4520
4554
  ], Job.prototype, "numberOfHours", 2);
4521
4555
  __decorateClass([
4522
- (0, import_typeorm35.Column)({ name: "description", type: "varchar", nullable: true })
4556
+ (0, import_typeorm36.Column)({ name: "description", type: "varchar", nullable: true })
4523
4557
  ], Job.prototype, "description", 2);
4524
4558
  __decorateClass([
4525
- (0, import_typeorm35.Column)({ name: "additional_comment", type: "varchar", nullable: true })
4559
+ (0, import_typeorm36.Column)({ name: "additional_comment", type: "varchar", nullable: true })
4526
4560
  ], Job.prototype, "additionalComment", 2);
4527
4561
  __decorateClass([
4528
- (0, import_typeorm35.Column)({
4562
+ (0, import_typeorm36.Column)({
4529
4563
  name: "onboarding_tat",
4530
4564
  type: "varchar",
4531
4565
  length: 50,
@@ -4533,14 +4567,14 @@ __decorateClass([
4533
4567
  })
4534
4568
  ], Job.prototype, "onboardingTat", 2);
4535
4569
  __decorateClass([
4536
- (0, import_typeorm35.Column)({
4570
+ (0, import_typeorm36.Column)({
4537
4571
  name: "candidate_communication_skills",
4538
4572
  type: "varchar",
4539
4573
  nullable: true
4540
4574
  })
4541
4575
  ], Job.prototype, "candidateCommunicationSkills", 2);
4542
4576
  __decorateClass([
4543
- (0, import_typeorm35.Column)({
4577
+ (0, import_typeorm36.Column)({
4544
4578
  name: "step_completed",
4545
4579
  type: "enum",
4546
4580
  enum: Step,
@@ -4548,7 +4582,7 @@ __decorateClass([
4548
4582
  })
4549
4583
  ], Job.prototype, "stepCompleted", 2);
4550
4584
  __decorateClass([
4551
- (0, import_typeorm35.Column)({
4585
+ (0, import_typeorm36.Column)({
4552
4586
  name: "status",
4553
4587
  type: "enum",
4554
4588
  enum: JobStatusEnum,
@@ -4556,43 +4590,43 @@ __decorateClass([
4556
4590
  })
4557
4591
  ], Job.prototype, "status", 2);
4558
4592
  __decorateClass([
4559
- (0, import_typeorm35.Column)({ name: "viewed_count", type: "integer", default: 0 })
4593
+ (0, import_typeorm36.Column)({ name: "viewed_count", type: "integer", default: 0 })
4560
4594
  ], Job.prototype, "viewedCount", 2);
4561
4595
  __decorateClass([
4562
- (0, import_typeorm35.Column)({ name: "application_count", type: "integer", default: 0 })
4596
+ (0, import_typeorm36.Column)({ name: "application_count", type: "integer", default: 0 })
4563
4597
  ], Job.prototype, "applicationCount", 2);
4564
4598
  __decorateClass([
4565
- (0, import_typeorm35.Column)({ name: "is_contract_signed", type: "boolean", default: false })
4599
+ (0, import_typeorm36.Column)({ name: "is_contract_signed", type: "boolean", default: false })
4566
4600
  ], Job.prototype, "isContractSigned", 2);
4567
4601
  __decorateClass([
4568
- (0, import_typeorm35.Column)({ name: "is_interview_created", type: "boolean", default: false })
4602
+ (0, import_typeorm36.Column)({ name: "is_interview_created", type: "boolean", default: false })
4569
4603
  ], Job.prototype, "isInterviewCreated", 2);
4570
4604
  __decorateClass([
4571
- (0, import_typeorm35.Column)({ name: "is_job_created_via_ai", type: "boolean", default: false })
4605
+ (0, import_typeorm36.Column)({ name: "is_job_created_via_ai", type: "boolean", default: false })
4572
4606
  ], Job.prototype, "isJobCreatedViaAI", 2);
4573
4607
  __decorateClass([
4574
- (0, import_typeorm35.OneToMany)(() => InterviewInvite, (interviewInvite) => interviewInvite.job, { cascade: true })
4608
+ (0, import_typeorm36.OneToMany)(() => InterviewInvite, (interviewInvite) => interviewInvite.job, { cascade: true })
4575
4609
  ], Job.prototype, "interviewInvites", 2);
4576
4610
  __decorateClass([
4577
- (0, import_typeorm35.OneToMany)(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
4611
+ (0, import_typeorm36.OneToMany)(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
4578
4612
  ], Job.prototype, "jobSkills", 2);
4579
4613
  __decorateClass([
4580
- (0, import_typeorm35.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.job, {
4614
+ (0, import_typeorm36.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.job, {
4581
4615
  cascade: true
4582
4616
  })
4583
4617
  ], Job.prototype, "jobApplications", 2);
4584
4618
  __decorateClass([
4585
- (0, import_typeorm35.OneToMany)(() => Interview, (interview) => interview.job, {
4619
+ (0, import_typeorm36.OneToMany)(() => Interview, (interview) => interview.job, {
4586
4620
  cascade: true
4587
4621
  })
4588
4622
  ], Job.prototype, "interviews", 2);
4589
4623
  __decorateClass([
4590
- (0, import_typeorm35.OneToMany)(() => F2FInterview, (f2fInterview) => f2fInterview.job, {
4624
+ (0, import_typeorm36.OneToMany)(() => F2FInterview, (f2fInterview) => f2fInterview.job, {
4591
4625
  cascade: true
4592
4626
  })
4593
4627
  ], Job.prototype, "f2fInterviews", 2);
4594
4628
  __decorateClass([
4595
- (0, import_typeorm35.OneToMany)(
4629
+ (0, import_typeorm36.OneToMany)(
4596
4630
  () => JobRecommendation,
4597
4631
  (jobRecommendation) => jobRecommendation.job,
4598
4632
  {
@@ -4601,59 +4635,59 @@ __decorateClass([
4601
4635
  )
4602
4636
  ], Job.prototype, "recommendations", 2);
4603
4637
  __decorateClass([
4604
- (0, import_typeorm35.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.job, {
4638
+ (0, import_typeorm36.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.job, {
4605
4639
  cascade: true
4606
4640
  })
4607
4641
  ], Job.prototype, "contractSummaries", 2);
4608
4642
  __decorateClass([
4609
- (0, import_typeorm35.OneToMany)(() => Contract, (contract) => contract.job, {
4643
+ (0, import_typeorm36.OneToMany)(() => Contract, (contract) => contract.job, {
4610
4644
  cascade: true
4611
4645
  })
4612
4646
  ], Job.prototype, "contracts", 2);
4613
4647
  __decorateClass([
4614
- (0, import_typeorm35.OneToMany)(() => Hiring, (hiring) => hiring.job, {
4648
+ (0, import_typeorm36.OneToMany)(() => Hiring, (hiring) => hiring.job, {
4615
4649
  cascade: true
4616
4650
  })
4617
4651
  ], Job.prototype, "hirings", 2);
4618
4652
  __decorateClass([
4619
- (0, import_typeorm35.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.job, {
4653
+ (0, import_typeorm36.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.job, {
4620
4654
  cascade: true
4621
4655
  })
4622
4656
  ], Job.prototype, "escrowWallets", 2);
4623
4657
  __decorateClass([
4624
- (0, import_typeorm35.OneToMany)(() => Timesheet, (timesheet) => timesheet.job, {
4658
+ (0, import_typeorm36.OneToMany)(() => Timesheet, (timesheet) => timesheet.job, {
4625
4659
  cascade: true
4626
4660
  })
4627
4661
  ], Job.prototype, "timesheets", 2);
4628
4662
  __decorateClass([
4629
- (0, import_typeorm35.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.job, {
4663
+ (0, import_typeorm36.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.job, {
4630
4664
  cascade: true
4631
4665
  })
4632
4666
  ], Job.prototype, "timesheetLine", 2);
4633
4667
  __decorateClass([
4634
- (0, import_typeorm35.OneToMany)(() => Invoice, (invoice) => invoice.job, {
4668
+ (0, import_typeorm36.OneToMany)(() => Invoice, (invoice) => invoice.job, {
4635
4669
  cascade: true
4636
4670
  })
4637
4671
  ], Job.prototype, "invoice", 2);
4638
4672
  __decorateClass([
4639
- (0, import_typeorm35.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.job)
4673
+ (0, import_typeorm36.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.job)
4640
4674
  ], Job.prototype, "clientCandidatePreferences", 2);
4641
4675
  __decorateClass([
4642
- (0, import_typeorm35.OneToMany)(() => JobLocation, (jobLocation) => jobLocation.job, {
4676
+ (0, import_typeorm36.OneToMany)(() => JobLocation, (jobLocation) => jobLocation.job, {
4643
4677
  cascade: true
4644
4678
  })
4645
4679
  ], Job.prototype, "jobLocations", 2);
4646
4680
  __decorateClass([
4647
- (0, import_typeorm35.OneToMany)(() => Rating, (rating) => rating.job, {
4681
+ (0, import_typeorm36.OneToMany)(() => Rating, (rating) => rating.job, {
4648
4682
  cascade: true
4649
4683
  })
4650
4684
  ], Job.prototype, "ratings", 2);
4651
4685
  Job = __decorateClass([
4652
- (0, import_typeorm35.Entity)("jobs")
4686
+ (0, import_typeorm36.Entity)("jobs")
4653
4687
  ], Job);
4654
4688
 
4655
4689
  // src/entities/bank-details.entity.ts
4656
- var import_typeorm36 = require("typeorm");
4690
+ var import_typeorm37 = require("typeorm");
4657
4691
  var BankAccountTypeEnum = /* @__PURE__ */ ((BankAccountTypeEnum2) => {
4658
4692
  BankAccountTypeEnum2["PRIMARY"] = "PRIMARY";
4659
4693
  BankAccountTypeEnum2["SECONDARY"] = "SECONDARY";
@@ -4668,51 +4702,51 @@ var BankDetail = class extends BaseEntity {
4668
4702
  };
4669
4703
  // individual index to find bank details by user
4670
4704
  __decorateClass([
4671
- (0, import_typeorm36.Column)({ name: "user_id", type: "integer", nullable: true }),
4672
- (0, import_typeorm36.Index)()
4705
+ (0, import_typeorm37.Column)({ name: "user_id", type: "integer", nullable: true }),
4706
+ (0, import_typeorm37.Index)()
4673
4707
  ], BankDetail.prototype, "userId", 2);
4674
4708
  __decorateClass([
4675
- (0, import_typeorm36.ManyToOne)(() => User, (user) => user.bankDetail),
4676
- (0, import_typeorm36.JoinColumn)({ name: "user_id" })
4709
+ (0, import_typeorm37.ManyToOne)(() => User, (user) => user.bankDetail),
4710
+ (0, import_typeorm37.JoinColumn)({ name: "user_id" })
4677
4711
  ], BankDetail.prototype, "user", 2);
4678
4712
  __decorateClass([
4679
- (0, import_typeorm36.Column)({ name: "name", type: "varchar", nullable: true })
4713
+ (0, import_typeorm37.Column)({ name: "name", type: "varchar", nullable: true })
4680
4714
  ], BankDetail.prototype, "name", 2);
4681
4715
  __decorateClass([
4682
- (0, import_typeorm36.Column)({ name: "mobile_code", type: "varchar", nullable: true })
4716
+ (0, import_typeorm37.Column)({ name: "mobile_code", type: "varchar", nullable: true })
4683
4717
  ], BankDetail.prototype, "mobileCode", 2);
4684
4718
  __decorateClass([
4685
- (0, import_typeorm36.Column)({ name: "mobile", type: "varchar", nullable: true })
4719
+ (0, import_typeorm37.Column)({ name: "mobile", type: "varchar", nullable: true })
4686
4720
  ], BankDetail.prototype, "mobile", 2);
4687
4721
  __decorateClass([
4688
- (0, import_typeorm36.Column)({ name: "email", type: "varchar" })
4722
+ (0, import_typeorm37.Column)({ name: "email", type: "varchar" })
4689
4723
  ], BankDetail.prototype, "email", 2);
4690
4724
  __decorateClass([
4691
- (0, import_typeorm36.Column)({ name: "address", type: "varchar", nullable: true })
4725
+ (0, import_typeorm37.Column)({ name: "address", type: "varchar", nullable: true })
4692
4726
  ], BankDetail.prototype, "address", 2);
4693
4727
  __decorateClass([
4694
- (0, import_typeorm36.Column)({ name: "account_number", type: "varchar", unique: true, nullable: true })
4728
+ (0, import_typeorm37.Column)({ name: "account_number", type: "varchar", unique: true, nullable: true })
4695
4729
  ], BankDetail.prototype, "accountNumber", 2);
4696
4730
  __decorateClass([
4697
- (0, import_typeorm36.Column)({ name: "bank_name", type: "varchar", nullable: true })
4731
+ (0, import_typeorm37.Column)({ name: "bank_name", type: "varchar", nullable: true })
4698
4732
  ], BankDetail.prototype, "bankName", 2);
4699
4733
  __decorateClass([
4700
- (0, import_typeorm36.Column)({ name: "ifsc_code", type: "varchar", nullable: true })
4734
+ (0, import_typeorm37.Column)({ name: "ifsc_code", type: "varchar", nullable: true })
4701
4735
  ], BankDetail.prototype, "ifscCode", 2);
4702
4736
  __decorateClass([
4703
- (0, import_typeorm36.Column)({ name: "branch_name", type: "varchar", nullable: true })
4737
+ (0, import_typeorm37.Column)({ name: "branch_name", type: "varchar", nullable: true })
4704
4738
  ], BankDetail.prototype, "branchName", 2);
4705
4739
  __decorateClass([
4706
- (0, import_typeorm36.Column)({ name: "routing_no", type: "varchar", nullable: true })
4740
+ (0, import_typeorm37.Column)({ name: "routing_no", type: "varchar", nullable: true })
4707
4741
  ], BankDetail.prototype, "routingNo", 2);
4708
4742
  __decorateClass([
4709
- (0, import_typeorm36.Column)({ name: "aba_no", type: "varchar", nullable: true })
4743
+ (0, import_typeorm37.Column)({ name: "aba_no", type: "varchar", nullable: true })
4710
4744
  ], BankDetail.prototype, "abaNumber", 2);
4711
4745
  __decorateClass([
4712
- (0, import_typeorm36.Column)({ name: "iban", type: "varchar", nullable: true })
4746
+ (0, import_typeorm37.Column)({ name: "iban", type: "varchar", nullable: true })
4713
4747
  ], BankDetail.prototype, "iban", 2);
4714
4748
  __decorateClass([
4715
- (0, import_typeorm36.Column)({
4749
+ (0, import_typeorm37.Column)({
4716
4750
  name: "account_type",
4717
4751
  type: "enum",
4718
4752
  enum: BankAccountTypeEnum,
@@ -4720,7 +4754,7 @@ __decorateClass([
4720
4754
  })
4721
4755
  ], BankDetail.prototype, "accountType", 2);
4722
4756
  __decorateClass([
4723
- (0, import_typeorm36.Column)({
4757
+ (0, import_typeorm37.Column)({
4724
4758
  name: "account_scope",
4725
4759
  type: "enum",
4726
4760
  enum: BankAccountScopeEnum,
@@ -4728,150 +4762,150 @@ __decorateClass([
4728
4762
  })
4729
4763
  ], BankDetail.prototype, "accountScope", 2);
4730
4764
  BankDetail = __decorateClass([
4731
- (0, import_typeorm36.Entity)("bank_details")
4765
+ (0, import_typeorm37.Entity)("bank_details")
4732
4766
  ], BankDetail);
4733
4767
 
4734
4768
  // src/entities/system-preference.entity.ts
4735
- var import_typeorm37 = require("typeorm");
4769
+ var import_typeorm38 = require("typeorm");
4736
4770
  var SystemPreference = class extends BaseEntity {
4737
4771
  };
4738
4772
  // individual index to find system preference by user
4739
4773
  __decorateClass([
4740
- (0, import_typeorm37.Column)({ name: "user_id", type: "integer", nullable: true }),
4741
- (0, import_typeorm37.Index)()
4774
+ (0, import_typeorm38.Column)({ name: "user_id", type: "integer", nullable: true }),
4775
+ (0, import_typeorm38.Index)()
4742
4776
  ], SystemPreference.prototype, "userId", 2);
4743
4777
  __decorateClass([
4744
- (0, import_typeorm37.ManyToOne)(() => User, (user) => user.systemPreference),
4745
- (0, import_typeorm37.JoinColumn)({ name: "user_id" })
4778
+ (0, import_typeorm38.ManyToOne)(() => User, (user) => user.systemPreference),
4779
+ (0, import_typeorm38.JoinColumn)({ name: "user_id" })
4746
4780
  ], SystemPreference.prototype, "user", 2);
4747
4781
  __decorateClass([
4748
- (0, import_typeorm37.Column)({ name: "key", type: "varchar", nullable: false })
4782
+ (0, import_typeorm38.Column)({ name: "key", type: "varchar", nullable: false })
4749
4783
  ], SystemPreference.prototype, "key", 2);
4750
4784
  __decorateClass([
4751
- (0, import_typeorm37.Column)({ name: "value", type: "boolean", default: false })
4785
+ (0, import_typeorm38.Column)({ name: "value", type: "boolean", default: false })
4752
4786
  ], SystemPreference.prototype, "value", 2);
4753
4787
  SystemPreference = __decorateClass([
4754
- (0, import_typeorm37.Entity)("system_preferences")
4788
+ (0, import_typeorm38.Entity)("system_preferences")
4755
4789
  ], SystemPreference);
4756
4790
 
4757
4791
  // src/entities/freelancer-experience.entity.ts
4758
- var import_typeorm38 = require("typeorm");
4792
+ var import_typeorm39 = require("typeorm");
4759
4793
  var FreelancerExperience = class extends BaseEntity {
4760
4794
  };
4761
4795
  // individual index to find experence by user
4762
4796
  __decorateClass([
4763
- (0, import_typeorm38.Column)({ name: "user_id", type: "integer", nullable: true }),
4764
- (0, import_typeorm38.Index)()
4797
+ (0, import_typeorm39.Column)({ name: "user_id", type: "integer", nullable: true }),
4798
+ (0, import_typeorm39.Index)()
4765
4799
  ], FreelancerExperience.prototype, "userId", 2);
4766
4800
  __decorateClass([
4767
- (0, import_typeorm38.ManyToOne)(() => User, (user) => user.freelancerExperience),
4768
- (0, import_typeorm38.JoinColumn)({ name: "user_id" })
4801
+ (0, import_typeorm39.ManyToOne)(() => User, (user) => user.freelancerExperience),
4802
+ (0, import_typeorm39.JoinColumn)({ name: "user_id" })
4769
4803
  ], FreelancerExperience.prototype, "user", 2);
4770
4804
  __decorateClass([
4771
- (0, import_typeorm38.Column)({ name: "company_name", type: "varchar", nullable: true })
4805
+ (0, import_typeorm39.Column)({ name: "company_name", type: "varchar", nullable: true })
4772
4806
  ], FreelancerExperience.prototype, "companyName", 2);
4773
4807
  __decorateClass([
4774
- (0, import_typeorm38.Column)({ name: "designation", type: "varchar", nullable: true })
4808
+ (0, import_typeorm39.Column)({ name: "designation", type: "varchar", nullable: true })
4775
4809
  ], FreelancerExperience.prototype, "designation", 2);
4776
4810
  __decorateClass([
4777
- (0, import_typeorm38.Column)({ name: "job_duration", type: "varchar", nullable: true })
4811
+ (0, import_typeorm39.Column)({ name: "job_duration", type: "varchar", nullable: true })
4778
4812
  ], FreelancerExperience.prototype, "jobDuration", 2);
4779
4813
  __decorateClass([
4780
- (0, import_typeorm38.Column)({ name: "description", type: "varchar", nullable: true })
4814
+ (0, import_typeorm39.Column)({ name: "description", type: "varchar", nullable: true })
4781
4815
  ], FreelancerExperience.prototype, "description", 2);
4782
4816
  FreelancerExperience = __decorateClass([
4783
- (0, import_typeorm38.Entity)("freelancer_experiences")
4817
+ (0, import_typeorm39.Entity)("freelancer_experiences")
4784
4818
  ], FreelancerExperience);
4785
4819
 
4786
4820
  // src/entities/freelancer-education.entity.ts
4787
- var import_typeorm39 = require("typeorm");
4821
+ var import_typeorm40 = require("typeorm");
4788
4822
  var FreelancerEducation = class extends BaseEntity {
4789
4823
  };
4790
4824
  // individual index to find education by user
4791
4825
  __decorateClass([
4792
- (0, import_typeorm39.Column)({ name: "user_id", type: "integer", nullable: true }),
4793
- (0, import_typeorm39.Index)()
4826
+ (0, import_typeorm40.Column)({ name: "user_id", type: "integer", nullable: true }),
4827
+ (0, import_typeorm40.Index)()
4794
4828
  ], FreelancerEducation.prototype, "userId", 2);
4795
4829
  __decorateClass([
4796
- (0, import_typeorm39.ManyToOne)(() => User, (user) => user.freelancerEducation),
4797
- (0, import_typeorm39.JoinColumn)({ name: "user_id" })
4830
+ (0, import_typeorm40.ManyToOne)(() => User, (user) => user.freelancerEducation),
4831
+ (0, import_typeorm40.JoinColumn)({ name: "user_id" })
4798
4832
  ], FreelancerEducation.prototype, "user", 2);
4799
4833
  __decorateClass([
4800
- (0, import_typeorm39.Column)({ name: "degree", type: "varchar", nullable: true })
4834
+ (0, import_typeorm40.Column)({ name: "degree", type: "varchar", nullable: true })
4801
4835
  ], FreelancerEducation.prototype, "degree", 2);
4802
4836
  __decorateClass([
4803
- (0, import_typeorm39.Column)({ name: "university", type: "varchar", nullable: true })
4837
+ (0, import_typeorm40.Column)({ name: "university", type: "varchar", nullable: true })
4804
4838
  ], FreelancerEducation.prototype, "university", 2);
4805
4839
  __decorateClass([
4806
- (0, import_typeorm39.Column)({ name: "year_of_graduation", type: "varchar", nullable: true })
4840
+ (0, import_typeorm40.Column)({ name: "year_of_graduation", type: "varchar", nullable: true })
4807
4841
  ], FreelancerEducation.prototype, "yearOfGraduation", 2);
4808
4842
  FreelancerEducation = __decorateClass([
4809
- (0, import_typeorm39.Entity)("freelancer_educations")
4843
+ (0, import_typeorm40.Entity)("freelancer_educations")
4810
4844
  ], FreelancerEducation);
4811
4845
 
4812
4846
  // src/entities/freelancer-project.entity.ts
4813
- var import_typeorm40 = require("typeorm");
4847
+ var import_typeorm41 = require("typeorm");
4814
4848
  var FreelancerProject = class extends BaseEntity {
4815
4849
  };
4816
4850
  // individual index to find project by user
4817
4851
  __decorateClass([
4818
- (0, import_typeorm40.Column)({ name: "user_id", type: "integer", nullable: true }),
4819
- (0, import_typeorm40.Index)()
4852
+ (0, import_typeorm41.Column)({ name: "user_id", type: "integer", nullable: true }),
4853
+ (0, import_typeorm41.Index)()
4820
4854
  ], FreelancerProject.prototype, "userId", 2);
4821
4855
  __decorateClass([
4822
- (0, import_typeorm40.ManyToOne)(() => User, (user) => user.freelancerProject),
4823
- (0, import_typeorm40.JoinColumn)({ name: "user_id" })
4856
+ (0, import_typeorm41.ManyToOne)(() => User, (user) => user.freelancerProject),
4857
+ (0, import_typeorm41.JoinColumn)({ name: "user_id" })
4824
4858
  ], FreelancerProject.prototype, "user", 2);
4825
4859
  __decorateClass([
4826
- (0, import_typeorm40.Column)({ name: "project_name", type: "varchar", nullable: true })
4860
+ (0, import_typeorm41.Column)({ name: "project_name", type: "varchar", nullable: true })
4827
4861
  ], FreelancerProject.prototype, "projectName", 2);
4828
4862
  __decorateClass([
4829
- (0, import_typeorm40.Column)({ name: "start_date", type: "date", nullable: true })
4863
+ (0, import_typeorm41.Column)({ name: "start_date", type: "date", nullable: true })
4830
4864
  ], FreelancerProject.prototype, "startDate", 2);
4831
4865
  __decorateClass([
4832
- (0, import_typeorm40.Column)({ name: "end_date", type: "date", nullable: true })
4866
+ (0, import_typeorm41.Column)({ name: "end_date", type: "date", nullable: true })
4833
4867
  ], FreelancerProject.prototype, "endDate", 2);
4834
4868
  __decorateClass([
4835
- (0, import_typeorm40.Column)({ name: "client_name", type: "varchar", nullable: true })
4869
+ (0, import_typeorm41.Column)({ name: "client_name", type: "varchar", nullable: true })
4836
4870
  ], FreelancerProject.prototype, "clientName", 2);
4837
4871
  __decorateClass([
4838
- (0, import_typeorm40.Column)({ name: "git_link", type: "varchar", nullable: true })
4872
+ (0, import_typeorm41.Column)({ name: "git_link", type: "varchar", nullable: true })
4839
4873
  ], FreelancerProject.prototype, "gitLink", 2);
4840
4874
  __decorateClass([
4841
- (0, import_typeorm40.Column)({ name: "description", type: "varchar", nullable: true })
4875
+ (0, import_typeorm41.Column)({ name: "description", type: "varchar", nullable: true })
4842
4876
  ], FreelancerProject.prototype, "description", 2);
4843
4877
  FreelancerProject = __decorateClass([
4844
- (0, import_typeorm40.Entity)("freelancer_projects")
4878
+ (0, import_typeorm41.Entity)("freelancer_projects")
4845
4879
  ], FreelancerProject);
4846
4880
 
4847
4881
  // src/entities/freelancer-casestudy.entity.ts
4848
- var import_typeorm41 = require("typeorm");
4882
+ var import_typeorm42 = require("typeorm");
4849
4883
  var FreelancerCaseStudy = class extends BaseEntity {
4850
4884
  };
4851
4885
  // individual index to find case study by user
4852
4886
  __decorateClass([
4853
- (0, import_typeorm41.Column)({ name: "user_id", type: "integer", nullable: true }),
4854
- (0, import_typeorm41.Index)()
4887
+ (0, import_typeorm42.Column)({ name: "user_id", type: "integer", nullable: true }),
4888
+ (0, import_typeorm42.Index)()
4855
4889
  ], FreelancerCaseStudy.prototype, "userId", 2);
4856
4890
  __decorateClass([
4857
- (0, import_typeorm41.ManyToOne)(() => User, (user) => user.freelancerCaseStudy),
4858
- (0, import_typeorm41.JoinColumn)({ name: "user_id" })
4891
+ (0, import_typeorm42.ManyToOne)(() => User, (user) => user.freelancerCaseStudy),
4892
+ (0, import_typeorm42.JoinColumn)({ name: "user_id" })
4859
4893
  ], FreelancerCaseStudy.prototype, "user", 2);
4860
4894
  __decorateClass([
4861
- (0, import_typeorm41.Column)({ name: "project_name", type: "varchar", nullable: true })
4895
+ (0, import_typeorm42.Column)({ name: "project_name", type: "varchar", nullable: true })
4862
4896
  ], FreelancerCaseStudy.prototype, "projectName", 2);
4863
4897
  __decorateClass([
4864
- (0, import_typeorm41.Column)({ name: "case_study_link", type: "varchar", nullable: true })
4898
+ (0, import_typeorm42.Column)({ name: "case_study_link", type: "varchar", nullable: true })
4865
4899
  ], FreelancerCaseStudy.prototype, "caseStudyLink", 2);
4866
4900
  __decorateClass([
4867
- (0, import_typeorm41.Column)({ name: "description", type: "varchar", nullable: true })
4901
+ (0, import_typeorm42.Column)({ name: "description", type: "varchar", nullable: true })
4868
4902
  ], FreelancerCaseStudy.prototype, "description", 2);
4869
4903
  FreelancerCaseStudy = __decorateClass([
4870
- (0, import_typeorm41.Entity)("freelancer_case_studies")
4904
+ (0, import_typeorm42.Entity)("freelancer_case_studies")
4871
4905
  ], FreelancerCaseStudy);
4872
4906
 
4873
4907
  // src/entities/freelancer-skill.entity.ts
4874
- var import_typeorm42 = require("typeorm");
4908
+ var import_typeorm43 = require("typeorm");
4875
4909
  var FreelancerSkillCategoryEnum = /* @__PURE__ */ ((FreelancerSkillCategoryEnum2) => {
4876
4910
  FreelancerSkillCategoryEnum2[FreelancerSkillCategoryEnum2["GOOD_TO_HAVE"] = 0] = "GOOD_TO_HAVE";
4877
4911
  FreelancerSkillCategoryEnum2[FreelancerSkillCategoryEnum2["MUST_HAVE"] = 1] = "MUST_HAVE";
@@ -4881,18 +4915,18 @@ var FreelancerSkill = class extends BaseEntity {
4881
4915
  };
4882
4916
  // individual index to find core skills by user
4883
4917
  __decorateClass([
4884
- (0, import_typeorm42.Column)({ name: "user_id", type: "integer", nullable: true }),
4885
- (0, import_typeorm42.Index)()
4918
+ (0, import_typeorm43.Column)({ name: "user_id", type: "integer", nullable: true }),
4919
+ (0, import_typeorm43.Index)()
4886
4920
  ], FreelancerSkill.prototype, "userId", 2);
4887
4921
  __decorateClass([
4888
- (0, import_typeorm42.ManyToOne)(() => User, (user) => user.freelancerSkills),
4889
- (0, import_typeorm42.JoinColumn)({ name: "user_id" })
4922
+ (0, import_typeorm43.ManyToOne)(() => User, (user) => user.freelancerSkills),
4923
+ (0, import_typeorm43.JoinColumn)({ name: "user_id" })
4890
4924
  ], FreelancerSkill.prototype, "user", 2);
4891
4925
  __decorateClass([
4892
- (0, import_typeorm42.Column)({ name: "skill_name", type: "varchar", nullable: true })
4926
+ (0, import_typeorm43.Column)({ name: "skill_name", type: "varchar", nullable: true })
4893
4927
  ], FreelancerSkill.prototype, "skillName", 2);
4894
4928
  __decorateClass([
4895
- (0, import_typeorm42.Column)({
4929
+ (0, import_typeorm43.Column)({
4896
4930
  name: "skill_category",
4897
4931
  type: "smallint",
4898
4932
  default: 1,
@@ -4900,51 +4934,51 @@ __decorateClass([
4900
4934
  })
4901
4935
  ], FreelancerSkill.prototype, "skillCategory", 2);
4902
4936
  FreelancerSkill = __decorateClass([
4903
- (0, import_typeorm42.Entity)("freelancer_skills")
4937
+ (0, import_typeorm43.Entity)("freelancer_skills")
4904
4938
  ], FreelancerSkill);
4905
4939
 
4906
4940
  // src/entities/freelancer-tool.entity.ts
4907
- var import_typeorm43 = require("typeorm");
4941
+ var import_typeorm44 = require("typeorm");
4908
4942
  var FreelancerTool = class extends BaseEntity {
4909
4943
  };
4910
4944
  // individual index to find tool by user
4911
4945
  __decorateClass([
4912
- (0, import_typeorm43.Column)({ name: "user_id", type: "integer", nullable: true }),
4913
- (0, import_typeorm43.Index)()
4946
+ (0, import_typeorm44.Column)({ name: "user_id", type: "integer", nullable: true }),
4947
+ (0, import_typeorm44.Index)()
4914
4948
  ], FreelancerTool.prototype, "userId", 2);
4915
4949
  __decorateClass([
4916
- (0, import_typeorm43.ManyToOne)(() => User, (user) => user.freelancerTool),
4917
- (0, import_typeorm43.JoinColumn)({ name: "user_id" })
4950
+ (0, import_typeorm44.ManyToOne)(() => User, (user) => user.freelancerTool),
4951
+ (0, import_typeorm44.JoinColumn)({ name: "user_id" })
4918
4952
  ], FreelancerTool.prototype, "user", 2);
4919
4953
  __decorateClass([
4920
- (0, import_typeorm43.Column)({ name: "tool_name", type: "varchar", nullable: true })
4954
+ (0, import_typeorm44.Column)({ name: "tool_name", type: "varchar", nullable: true })
4921
4955
  ], FreelancerTool.prototype, "toolName", 2);
4922
4956
  FreelancerTool = __decorateClass([
4923
- (0, import_typeorm43.Entity)("freelancer_tools")
4957
+ (0, import_typeorm44.Entity)("freelancer_tools")
4924
4958
  ], FreelancerTool);
4925
4959
 
4926
4960
  // src/entities/freelancer-framework.entity.ts
4927
- var import_typeorm44 = require("typeorm");
4961
+ var import_typeorm45 = require("typeorm");
4928
4962
  var FreelancerFramework = class extends BaseEntity {
4929
4963
  };
4930
4964
  // individual index to find framework by user
4931
4965
  __decorateClass([
4932
- (0, import_typeorm44.Column)({ name: "user_id", type: "integer", nullable: true }),
4933
- (0, import_typeorm44.Index)()
4966
+ (0, import_typeorm45.Column)({ name: "user_id", type: "integer", nullable: true }),
4967
+ (0, import_typeorm45.Index)()
4934
4968
  ], FreelancerFramework.prototype, "userId", 2);
4935
4969
  __decorateClass([
4936
- (0, import_typeorm44.ManyToOne)(() => User, (user) => user.freelancerFramework),
4937
- (0, import_typeorm44.JoinColumn)({ name: "user_id" })
4970
+ (0, import_typeorm45.ManyToOne)(() => User, (user) => user.freelancerFramework),
4971
+ (0, import_typeorm45.JoinColumn)({ name: "user_id" })
4938
4972
  ], FreelancerFramework.prototype, "user", 2);
4939
4973
  __decorateClass([
4940
- (0, import_typeorm44.Column)({ name: "framework_name", type: "varchar", nullable: true })
4974
+ (0, import_typeorm45.Column)({ name: "framework_name", type: "varchar", nullable: true })
4941
4975
  ], FreelancerFramework.prototype, "frameworkName", 2);
4942
4976
  FreelancerFramework = __decorateClass([
4943
- (0, import_typeorm44.Entity)("freelancer_frameworks")
4977
+ (0, import_typeorm45.Entity)("freelancer_frameworks")
4944
4978
  ], FreelancerFramework);
4945
4979
 
4946
4980
  // src/entities/freelancer-assessment.entity.ts
4947
- var import_typeorm45 = require("typeorm");
4981
+ var import_typeorm46 = require("typeorm");
4948
4982
  var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
4949
4983
  AssessmentStatusEnum2["NOT_ATTEMPTED"] = "NOT_ATTEMPTED";
4950
4984
  AssessmentStatusEnum2["ACTIVE"] = "ACTIVE";
@@ -4961,33 +4995,33 @@ var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
4961
4995
  var FreelancerAssessment = class extends BaseEntity {
4962
4996
  };
4963
4997
  __decorateClass([
4964
- (0, import_typeorm45.Column)({ name: "user_id", type: "integer", nullable: true }),
4965
- (0, import_typeorm45.Index)()
4998
+ (0, import_typeorm46.Column)({ name: "user_id", type: "integer", nullable: true }),
4999
+ (0, import_typeorm46.Index)()
4966
5000
  ], FreelancerAssessment.prototype, "userId", 2);
4967
5001
  __decorateClass([
4968
- (0, import_typeorm45.ManyToOne)(() => User, (user) => user.assessments),
4969
- (0, import_typeorm45.JoinColumn)({ name: "user_id" })
5002
+ (0, import_typeorm46.ManyToOne)(() => User, (user) => user.assessments),
5003
+ (0, import_typeorm46.JoinColumn)({ name: "user_id" })
4970
5004
  ], FreelancerAssessment.prototype, "user", 2);
4971
5005
  __decorateClass([
4972
- (0, import_typeorm45.Column)({ name: "interview_id", type: "varchar", nullable: true })
5006
+ (0, import_typeorm46.Column)({ name: "interview_id", type: "varchar", nullable: true })
4973
5007
  ], FreelancerAssessment.prototype, "interviewId", 2);
4974
5008
  __decorateClass([
4975
- (0, import_typeorm45.Column)({ name: "interview_link", type: "text", nullable: true })
5009
+ (0, import_typeorm46.Column)({ name: "interview_link", type: "text", nullable: true })
4976
5010
  ], FreelancerAssessment.prototype, "interviewLink", 2);
4977
5011
  __decorateClass([
4978
- (0, import_typeorm45.Column)({ name: "recording_link", type: "text", nullable: true })
5012
+ (0, import_typeorm46.Column)({ name: "recording_link", type: "text", nullable: true })
4979
5013
  ], FreelancerAssessment.prototype, "recordingLink", 2);
4980
5014
  __decorateClass([
4981
- (0, import_typeorm45.Column)({ name: "iframe_response", type: "jsonb", nullable: true })
5015
+ (0, import_typeorm46.Column)({ name: "iframe_response", type: "jsonb", nullable: true })
4982
5016
  ], FreelancerAssessment.prototype, "iframeResponse", 2);
4983
5017
  __decorateClass([
4984
- (0, import_typeorm45.Column)({ name: "interview_summary", type: "jsonb", nullable: true })
5018
+ (0, import_typeorm46.Column)({ name: "interview_summary", type: "jsonb", nullable: true })
4985
5019
  ], FreelancerAssessment.prototype, "interviewSummary", 2);
4986
5020
  __decorateClass([
4987
- (0, import_typeorm45.Column)({ name: "score", type: "float", nullable: true })
5021
+ (0, import_typeorm46.Column)({ name: "score", type: "float", nullable: true })
4988
5022
  ], FreelancerAssessment.prototype, "score", 2);
4989
5023
  __decorateClass([
4990
- (0, import_typeorm45.Column)({
5024
+ (0, import_typeorm46.Column)({
4991
5025
  name: "status",
4992
5026
  type: "enum",
4993
5027
  enum: AssessmentStatusEnum,
@@ -4995,17 +5029,17 @@ __decorateClass([
4995
5029
  })
4996
5030
  ], FreelancerAssessment.prototype, "status", 2);
4997
5031
  __decorateClass([
4998
- (0, import_typeorm45.Column)({ name: "task_id", type: "varchar", nullable: true })
5032
+ (0, import_typeorm46.Column)({ name: "task_id", type: "varchar", nullable: true })
4999
5033
  ], FreelancerAssessment.prototype, "taskId", 2);
5000
5034
  __decorateClass([
5001
- (0, import_typeorm45.Column)({ name: "meta_data", type: "jsonb", nullable: true })
5035
+ (0, import_typeorm46.Column)({ name: "meta_data", type: "jsonb", nullable: true })
5002
5036
  ], FreelancerAssessment.prototype, "metaData", 2);
5003
5037
  FreelancerAssessment = __decorateClass([
5004
- (0, import_typeorm45.Entity)("freelancer_assessments")
5038
+ (0, import_typeorm46.Entity)("freelancer_assessments")
5005
5039
  ], FreelancerAssessment);
5006
5040
 
5007
5041
  // src/entities/freelancer-declaration.entity.ts
5008
- var import_typeorm46 = require("typeorm");
5042
+ var import_typeorm47 = require("typeorm");
5009
5043
  var DocumentType = /* @__PURE__ */ ((DocumentType2) => {
5010
5044
  DocumentType2["AADHAAR"] = "AADHAAR_CARD";
5011
5045
  DocumentType2["PASSPORT"] = "PASSPORT";
@@ -5017,15 +5051,15 @@ var FreelancerDeclaration = class extends BaseEntity {
5017
5051
  };
5018
5052
  // individual index to find declaration by user
5019
5053
  __decorateClass([
5020
- (0, import_typeorm46.Column)({ name: "user_id", type: "integer", nullable: true }),
5021
- (0, import_typeorm46.Index)()
5054
+ (0, import_typeorm47.Column)({ name: "user_id", type: "integer", nullable: true }),
5055
+ (0, import_typeorm47.Index)()
5022
5056
  ], FreelancerDeclaration.prototype, "userId", 2);
5023
5057
  __decorateClass([
5024
- (0, import_typeorm46.ManyToOne)(() => User, (user) => user.freelancerDeclaration),
5025
- (0, import_typeorm46.JoinColumn)({ name: "user_id" })
5058
+ (0, import_typeorm47.ManyToOne)(() => User, (user) => user.freelancerDeclaration),
5059
+ (0, import_typeorm47.JoinColumn)({ name: "user_id" })
5026
5060
  ], FreelancerDeclaration.prototype, "user", 2);
5027
5061
  __decorateClass([
5028
- (0, import_typeorm46.Column)({
5062
+ (0, import_typeorm47.Column)({
5029
5063
  name: "document_type",
5030
5064
  type: "enum",
5031
5065
  enum: DocumentType,
@@ -5033,144 +5067,144 @@ __decorateClass([
5033
5067
  })
5034
5068
  ], FreelancerDeclaration.prototype, "documentType", 2);
5035
5069
  __decorateClass([
5036
- (0, import_typeorm46.Column)({ name: "front_document_url", type: "varchar", nullable: true })
5070
+ (0, import_typeorm47.Column)({ name: "front_document_url", type: "varchar", nullable: true })
5037
5071
  ], FreelancerDeclaration.prototype, "frontDocumentUrl", 2);
5038
5072
  __decorateClass([
5039
- (0, import_typeorm46.Column)({ name: "back_document_url", type: "varchar", nullable: true })
5073
+ (0, import_typeorm47.Column)({ name: "back_document_url", type: "varchar", nullable: true })
5040
5074
  ], FreelancerDeclaration.prototype, "backDocumentUrl", 2);
5041
5075
  __decorateClass([
5042
- (0, import_typeorm46.Column)({ name: "declaration_accepted", type: "boolean", default: false })
5076
+ (0, import_typeorm47.Column)({ name: "declaration_accepted", type: "boolean", default: false })
5043
5077
  ], FreelancerDeclaration.prototype, "declarationAccepted", 2);
5044
5078
  __decorateClass([
5045
- (0, import_typeorm46.Column)({ name: "digital_signature_url", type: "varchar", nullable: true })
5079
+ (0, import_typeorm47.Column)({ name: "digital_signature_url", type: "varchar", nullable: true })
5046
5080
  ], FreelancerDeclaration.prototype, "digitalSignatureUrl", 2);
5047
5081
  FreelancerDeclaration = __decorateClass([
5048
- (0, import_typeorm46.Entity)("freelancer_declaration")
5082
+ (0, import_typeorm47.Entity)("freelancer_declaration")
5049
5083
  ], FreelancerDeclaration);
5050
5084
 
5051
5085
  // src/entities/company-members-roles.entity.ts
5052
- var import_typeorm50 = require("typeorm");
5086
+ var import_typeorm51 = require("typeorm");
5053
5087
 
5054
5088
  // src/entities/company-role.entity.ts
5055
- var import_typeorm49 = require("typeorm");
5089
+ var import_typeorm50 = require("typeorm");
5056
5090
 
5057
5091
  // src/entities/company-role-permission.entity.ts
5058
- var import_typeorm48 = require("typeorm");
5092
+ var import_typeorm49 = require("typeorm");
5059
5093
 
5060
5094
  // src/entities/permission.entity.ts
5061
- var import_typeorm47 = require("typeorm");
5095
+ var import_typeorm48 = require("typeorm");
5062
5096
  var Permission = class extends BaseEntity {
5063
5097
  };
5064
5098
  __decorateClass([
5065
- (0, import_typeorm47.Column)({ name: "name", type: "varchar", nullable: true })
5099
+ (0, import_typeorm48.Column)({ name: "name", type: "varchar", nullable: true })
5066
5100
  ], Permission.prototype, "name", 2);
5067
5101
  __decorateClass([
5068
- (0, import_typeorm47.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
5069
- (0, import_typeorm47.Index)()
5102
+ (0, import_typeorm48.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
5103
+ (0, import_typeorm48.Index)()
5070
5104
  ], Permission.prototype, "slug", 2);
5071
5105
  __decorateClass([
5072
- (0, import_typeorm47.Column)({ name: "description", type: "text", nullable: true })
5106
+ (0, import_typeorm48.Column)({ name: "description", type: "text", nullable: true })
5073
5107
  ], Permission.prototype, "description", 2);
5074
5108
  __decorateClass([
5075
- (0, import_typeorm47.Column)({ name: "is_active", type: "boolean", default: true })
5109
+ (0, import_typeorm48.Column)({ name: "is_active", type: "boolean", default: true })
5076
5110
  ], Permission.prototype, "isActive", 2);
5077
5111
  Permission = __decorateClass([
5078
- (0, import_typeorm47.Entity)("permissions")
5112
+ (0, import_typeorm48.Entity)("permissions")
5079
5113
  ], Permission);
5080
5114
 
5081
5115
  // src/entities/company-role-permission.entity.ts
5082
5116
  var CompanyRolePermission = class extends BaseEntity {
5083
5117
  };
5084
5118
  __decorateClass([
5085
- (0, import_typeorm48.Column)({ name: "company_role_id", type: "integer", nullable: true }),
5086
- (0, import_typeorm48.Index)()
5119
+ (0, import_typeorm49.Column)({ name: "company_role_id", type: "integer", nullable: true }),
5120
+ (0, import_typeorm49.Index)()
5087
5121
  ], CompanyRolePermission.prototype, "companyRoleId", 2);
5088
5122
  __decorateClass([
5089
- (0, import_typeorm48.ManyToOne)(() => CompanyRole, (role) => role.rolePermissions, {
5123
+ (0, import_typeorm49.ManyToOne)(() => CompanyRole, (role) => role.rolePermissions, {
5090
5124
  onDelete: "CASCADE"
5091
5125
  }),
5092
- (0, import_typeorm48.JoinColumn)({ name: "company_role_id" })
5126
+ (0, import_typeorm49.JoinColumn)({ name: "company_role_id" })
5093
5127
  ], CompanyRolePermission.prototype, "companyRole", 2);
5094
5128
  __decorateClass([
5095
- (0, import_typeorm48.Column)({ name: "permission_id", type: "integer" }),
5096
- (0, import_typeorm48.Index)()
5129
+ (0, import_typeorm49.Column)({ name: "permission_id", type: "integer" }),
5130
+ (0, import_typeorm49.Index)()
5097
5131
  ], CompanyRolePermission.prototype, "permissionId", 2);
5098
5132
  __decorateClass([
5099
- (0, import_typeorm48.ManyToOne)(() => Permission, { onDelete: "CASCADE" }),
5100
- (0, import_typeorm48.JoinColumn)({ name: "permission_id" })
5133
+ (0, import_typeorm49.ManyToOne)(() => Permission, { onDelete: "CASCADE" }),
5134
+ (0, import_typeorm49.JoinColumn)({ name: "permission_id" })
5101
5135
  ], CompanyRolePermission.prototype, "permission", 2);
5102
5136
  __decorateClass([
5103
- (0, import_typeorm48.Column)({ name: "assigned_by", type: "integer", nullable: true })
5137
+ (0, import_typeorm49.Column)({ name: "assigned_by", type: "integer", nullable: true })
5104
5138
  ], CompanyRolePermission.prototype, "assignedBy", 2);
5105
5139
  CompanyRolePermission = __decorateClass([
5106
- (0, import_typeorm48.Entity)("company_role_permissions")
5140
+ (0, import_typeorm49.Entity)("company_role_permissions")
5107
5141
  ], CompanyRolePermission);
5108
5142
 
5109
5143
  // src/entities/company-role.entity.ts
5110
5144
  var CompanyRole = class extends BaseEntity {
5111
5145
  };
5112
5146
  __decorateClass([
5113
- (0, import_typeorm49.Column)({ name: "user_id", type: "integer", nullable: true }),
5114
- (0, import_typeorm49.Index)()
5147
+ (0, import_typeorm50.Column)({ name: "user_id", type: "integer", nullable: true }),
5148
+ (0, import_typeorm50.Index)()
5115
5149
  ], CompanyRole.prototype, "userId", 2);
5116
5150
  __decorateClass([
5117
- (0, import_typeorm49.ManyToOne)(() => User, (user) => user.otps),
5118
- (0, import_typeorm49.JoinColumn)({ name: "user_id" })
5151
+ (0, import_typeorm50.ManyToOne)(() => User, (user) => user.otps),
5152
+ (0, import_typeorm50.JoinColumn)({ name: "user_id" })
5119
5153
  ], CompanyRole.prototype, "user", 2);
5120
5154
  __decorateClass([
5121
- (0, import_typeorm49.Column)({ name: "name", type: "varchar" })
5155
+ (0, import_typeorm50.Column)({ name: "name", type: "varchar" })
5122
5156
  ], CompanyRole.prototype, "name", 2);
5123
5157
  __decorateClass([
5124
- (0, import_typeorm49.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
5125
- (0, import_typeorm49.Index)()
5158
+ (0, import_typeorm50.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
5159
+ (0, import_typeorm50.Index)()
5126
5160
  ], CompanyRole.prototype, "slug", 2);
5127
5161
  __decorateClass([
5128
- (0, import_typeorm49.Column)({ name: "description", type: "text", nullable: true })
5162
+ (0, import_typeorm50.Column)({ name: "description", type: "text", nullable: true })
5129
5163
  ], CompanyRole.prototype, "description", 2);
5130
5164
  __decorateClass([
5131
- (0, import_typeorm49.Column)({ name: "is_active", type: "boolean", default: true })
5165
+ (0, import_typeorm50.Column)({ name: "is_active", type: "boolean", default: true })
5132
5166
  ], CompanyRole.prototype, "isActive", 2);
5133
5167
  __decorateClass([
5134
- (0, import_typeorm49.OneToMany)(() => CompanyRolePermission, (rp) => rp.companyRole)
5168
+ (0, import_typeorm50.OneToMany)(() => CompanyRolePermission, (rp) => rp.companyRole)
5135
5169
  ], CompanyRole.prototype, "rolePermissions", 2);
5136
5170
  CompanyRole = __decorateClass([
5137
- (0, import_typeorm49.Entity)("company_roles")
5171
+ (0, import_typeorm50.Entity)("company_roles")
5138
5172
  ], CompanyRole);
5139
5173
 
5140
5174
  // src/entities/company-members-roles.entity.ts
5141
5175
  var CompanyMemberRole = class extends BaseEntity {
5142
5176
  };
5143
5177
  __decorateClass([
5144
- (0, import_typeorm50.Column)({ name: "user_id", type: "integer", nullable: true }),
5145
- (0, import_typeorm50.Index)()
5178
+ (0, import_typeorm51.Column)({ name: "user_id", type: "integer", nullable: true }),
5179
+ (0, import_typeorm51.Index)()
5146
5180
  ], CompanyMemberRole.prototype, "userId", 2);
5147
5181
  __decorateClass([
5148
- (0, import_typeorm50.ManyToOne)(() => User),
5149
- (0, import_typeorm50.JoinColumn)({ name: "user_id" })
5182
+ (0, import_typeorm51.ManyToOne)(() => User),
5183
+ (0, import_typeorm51.JoinColumn)({ name: "user_id" })
5150
5184
  ], CompanyMemberRole.prototype, "user", 2);
5151
5185
  __decorateClass([
5152
- (0, import_typeorm50.ManyToOne)(() => CompanyRole),
5153
- (0, import_typeorm50.JoinColumn)({ name: "company_role_id" })
5186
+ (0, import_typeorm51.ManyToOne)(() => CompanyRole),
5187
+ (0, import_typeorm51.JoinColumn)({ name: "company_role_id" })
5154
5188
  ], CompanyMemberRole.prototype, "role", 2);
5155
5189
  __decorateClass([
5156
- (0, import_typeorm50.Column)({ name: "company_role_id", type: "integer", nullable: true }),
5157
- (0, import_typeorm50.Index)()
5190
+ (0, import_typeorm51.Column)({ name: "company_role_id", type: "integer", nullable: true }),
5191
+ (0, import_typeorm51.Index)()
5158
5192
  ], CompanyMemberRole.prototype, "companyRoleId", 2);
5159
5193
  __decorateClass([
5160
- (0, import_typeorm50.Column)({ name: "assigned_by", type: "integer", nullable: true })
5194
+ (0, import_typeorm51.Column)({ name: "assigned_by", type: "integer", nullable: true })
5161
5195
  ], CompanyMemberRole.prototype, "assignedBy", 2);
5162
5196
  CompanyMemberRole = __decorateClass([
5163
- (0, import_typeorm50.Entity)("company_member_roles")
5197
+ (0, import_typeorm51.Entity)("company_member_roles")
5164
5198
  ], CompanyMemberRole);
5165
5199
 
5166
5200
  // src/entities/assessment-answer.entity.ts
5167
- var import_typeorm53 = require("typeorm");
5201
+ var import_typeorm54 = require("typeorm");
5168
5202
 
5169
5203
  // src/entities/assessment-question.entity.ts
5170
- var import_typeorm52 = require("typeorm");
5204
+ var import_typeorm53 = require("typeorm");
5171
5205
 
5172
5206
  // src/entities/assessment-question-option.entity.ts
5173
- var import_typeorm51 = require("typeorm");
5207
+ var import_typeorm52 = require("typeorm");
5174
5208
  var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
5175
5209
  AnswerTypeEnum2["CORRECT"] = "CORRECT";
5176
5210
  AnswerTypeEnum2["ACCEPTABLE"] = "ACCEPTABLE";
@@ -5180,21 +5214,21 @@ var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
5180
5214
  var AssessmetQuestionOption = class extends BaseEntity {
5181
5215
  };
5182
5216
  __decorateClass([
5183
- (0, import_typeorm51.Column)({ name: "question_id", type: "integer", nullable: true }),
5184
- (0, import_typeorm51.Index)()
5217
+ (0, import_typeorm52.Column)({ name: "question_id", type: "integer", nullable: true }),
5218
+ (0, import_typeorm52.Index)()
5185
5219
  ], AssessmetQuestionOption.prototype, "questionId", 2);
5186
5220
  __decorateClass([
5187
- (0, import_typeorm51.ManyToOne)(
5221
+ (0, import_typeorm52.ManyToOne)(
5188
5222
  () => AssessmetQuestion,
5189
5223
  (assessmentQuestion) => assessmentQuestion.options
5190
5224
  ),
5191
- (0, import_typeorm51.JoinColumn)({ name: "question_id" })
5225
+ (0, import_typeorm52.JoinColumn)({ name: "question_id" })
5192
5226
  ], AssessmetQuestionOption.prototype, "question", 2);
5193
5227
  __decorateClass([
5194
- (0, import_typeorm51.Column)({ name: "text", type: "varchar", nullable: true })
5228
+ (0, import_typeorm52.Column)({ name: "text", type: "varchar", nullable: true })
5195
5229
  ], AssessmetQuestionOption.prototype, "text", 2);
5196
5230
  __decorateClass([
5197
- (0, import_typeorm51.Column)({
5231
+ (0, import_typeorm52.Column)({
5198
5232
  name: "answer_type",
5199
5233
  type: "enum",
5200
5234
  enum: AnswerTypeEnum,
@@ -5202,13 +5236,13 @@ __decorateClass([
5202
5236
  })
5203
5237
  ], AssessmetQuestionOption.prototype, "answerType", 2);
5204
5238
  __decorateClass([
5205
- (0, import_typeorm51.Column)({ name: "is_active", type: "boolean", default: true })
5239
+ (0, import_typeorm52.Column)({ name: "is_active", type: "boolean", default: true })
5206
5240
  ], AssessmetQuestionOption.prototype, "isActive", 2);
5207
5241
  __decorateClass([
5208
- (0, import_typeorm51.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
5242
+ (0, import_typeorm52.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
5209
5243
  ], AssessmetQuestionOption.prototype, "selectedOptions", 2);
5210
5244
  AssessmetQuestionOption = __decorateClass([
5211
- (0, import_typeorm51.Entity)("assessment_question_options")
5245
+ (0, import_typeorm52.Entity)("assessment_question_options")
5212
5246
  ], AssessmetQuestionOption);
5213
5247
 
5214
5248
  // src/entities/assessment-question.entity.ts
@@ -5220,10 +5254,10 @@ var QuestionForEnum = /* @__PURE__ */ ((QuestionForEnum2) => {
5220
5254
  var AssessmetQuestion = class extends BaseEntity {
5221
5255
  };
5222
5256
  __decorateClass([
5223
- (0, import_typeorm52.Column)({ name: "text", type: "varchar", nullable: true })
5257
+ (0, import_typeorm53.Column)({ name: "text", type: "varchar", nullable: true })
5224
5258
  ], AssessmetQuestion.prototype, "text", 2);
5225
5259
  __decorateClass([
5226
- (0, import_typeorm52.Column)({
5260
+ (0, import_typeorm53.Column)({
5227
5261
  name: "question_for",
5228
5262
  type: "enum",
5229
5263
  enum: QuestionForEnum,
@@ -5231,24 +5265,24 @@ __decorateClass([
5231
5265
  })
5232
5266
  ], AssessmetQuestion.prototype, "questionFor", 2);
5233
5267
  __decorateClass([
5234
- (0, import_typeorm52.Column)({ name: "is_active", type: "boolean", default: true })
5268
+ (0, import_typeorm53.Column)({ name: "is_active", type: "boolean", default: true })
5235
5269
  ], AssessmetQuestion.prototype, "isActive", 2);
5236
5270
  __decorateClass([
5237
- (0, import_typeorm52.Column)({ name: "candidate_id", type: "integer", nullable: true }),
5238
- (0, import_typeorm52.Index)()
5271
+ (0, import_typeorm53.Column)({ name: "candidate_id", type: "integer", nullable: true }),
5272
+ (0, import_typeorm53.Index)()
5239
5273
  ], AssessmetQuestion.prototype, "candidateId", 2);
5240
5274
  __decorateClass([
5241
- (0, import_typeorm52.ManyToOne)(() => User, (user) => user.freelancerMcq, { nullable: true }),
5242
- (0, import_typeorm52.JoinColumn)({ name: "candidate_id" })
5275
+ (0, import_typeorm53.ManyToOne)(() => User, (user) => user.freelancerMcq, { nullable: true }),
5276
+ (0, import_typeorm53.JoinColumn)({ name: "candidate_id" })
5243
5277
  ], AssessmetQuestion.prototype, "candidate", 2);
5244
5278
  __decorateClass([
5245
- (0, import_typeorm52.OneToMany)(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
5279
+ (0, import_typeorm53.OneToMany)(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
5246
5280
  ], AssessmetQuestion.prototype, "options", 2);
5247
5281
  __decorateClass([
5248
- (0, import_typeorm52.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
5282
+ (0, import_typeorm53.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
5249
5283
  ], AssessmetQuestion.prototype, "answers", 2);
5250
5284
  AssessmetQuestion = __decorateClass([
5251
- (0, import_typeorm52.Entity)("assessment_questions")
5285
+ (0, import_typeorm53.Entity)("assessment_questions")
5252
5286
  ], AssessmetQuestion);
5253
5287
 
5254
5288
  // src/entities/assessment-answer.entity.ts
@@ -5261,118 +5295,118 @@ var SelectedAnswerTypeEnum = /* @__PURE__ */ ((SelectedAnswerTypeEnum2) => {
5261
5295
  var AssessmentAnswer = class extends BaseEntity {
5262
5296
  };
5263
5297
  __decorateClass([
5264
- (0, import_typeorm53.Column)({ name: "user_id", type: "integer" }),
5265
- (0, import_typeorm53.Index)()
5298
+ (0, import_typeorm54.Column)({ name: "user_id", type: "integer" }),
5299
+ (0, import_typeorm54.Index)()
5266
5300
  ], AssessmentAnswer.prototype, "userId", 2);
5267
5301
  __decorateClass([
5268
- (0, import_typeorm53.ManyToOne)(() => User, (user) => user.assessmentAnswers),
5269
- (0, import_typeorm53.JoinColumn)({ name: "user_id" })
5302
+ (0, import_typeorm54.ManyToOne)(() => User, (user) => user.assessmentAnswers),
5303
+ (0, import_typeorm54.JoinColumn)({ name: "user_id" })
5270
5304
  ], AssessmentAnswer.prototype, "user", 2);
5271
5305
  __decorateClass([
5272
- (0, import_typeorm53.Column)({ name: "question_id", type: "integer" }),
5273
- (0, import_typeorm53.Index)()
5306
+ (0, import_typeorm54.Column)({ name: "question_id", type: "integer" }),
5307
+ (0, import_typeorm54.Index)()
5274
5308
  ], AssessmentAnswer.prototype, "questionId", 2);
5275
5309
  __decorateClass([
5276
- (0, import_typeorm53.ManyToOne)(
5310
+ (0, import_typeorm54.ManyToOne)(
5277
5311
  () => AssessmetQuestion,
5278
5312
  (assessmentQuestion) => assessmentQuestion.answers
5279
5313
  ),
5280
- (0, import_typeorm53.JoinColumn)({ name: "question_id" })
5314
+ (0, import_typeorm54.JoinColumn)({ name: "question_id" })
5281
5315
  ], AssessmentAnswer.prototype, "question", 2);
5282
5316
  __decorateClass([
5283
- (0, import_typeorm53.Column)({ name: "selected_option_id", type: "integer" }),
5284
- (0, import_typeorm53.Index)()
5317
+ (0, import_typeorm54.Column)({ name: "selected_option_id", type: "integer" }),
5318
+ (0, import_typeorm54.Index)()
5285
5319
  ], AssessmentAnswer.prototype, "selectedOptionId", 2);
5286
5320
  __decorateClass([
5287
- (0, import_typeorm53.ManyToOne)(
5321
+ (0, import_typeorm54.ManyToOne)(
5288
5322
  () => AssessmetQuestionOption,
5289
5323
  (assessmentQuestionOption) => assessmentQuestionOption.selectedOptions
5290
5324
  ),
5291
- (0, import_typeorm53.JoinColumn)({ name: "selected_option_id" })
5325
+ (0, import_typeorm54.JoinColumn)({ name: "selected_option_id" })
5292
5326
  ], AssessmentAnswer.prototype, "option", 2);
5293
5327
  __decorateClass([
5294
- (0, import_typeorm53.Column)({
5328
+ (0, import_typeorm54.Column)({
5295
5329
  name: "selected_answer_type",
5296
5330
  type: "enum",
5297
5331
  enum: SelectedAnswerTypeEnum
5298
5332
  })
5299
5333
  ], AssessmentAnswer.prototype, "selectedAnswerType", 2);
5300
5334
  __decorateClass([
5301
- (0, import_typeorm53.Column)({ name: "score", type: "float" })
5335
+ (0, import_typeorm54.Column)({ name: "score", type: "float" })
5302
5336
  ], AssessmentAnswer.prototype, "score", 2);
5303
5337
  AssessmentAnswer = __decorateClass([
5304
- (0, import_typeorm53.Entity)("assessment_answers")
5338
+ (0, import_typeorm54.Entity)("assessment_answers")
5305
5339
  ], AssessmentAnswer);
5306
5340
 
5307
5341
  // src/entities/company-skill.entity.ts
5308
- var import_typeorm54 = require("typeorm");
5342
+ var import_typeorm55 = require("typeorm");
5309
5343
  var CompanySkill = class extends BaseEntity {
5310
5344
  };
5311
5345
  // individual index to find core skills by user
5312
5346
  __decorateClass([
5313
- (0, import_typeorm54.Column)({ name: "user_id", type: "integer", nullable: true }),
5314
- (0, import_typeorm54.Index)()
5347
+ (0, import_typeorm55.Column)({ name: "user_id", type: "integer", nullable: true }),
5348
+ (0, import_typeorm55.Index)()
5315
5349
  ], CompanySkill.prototype, "userId", 2);
5316
5350
  __decorateClass([
5317
- (0, import_typeorm54.ManyToOne)(() => User, (user) => user.companySkills),
5318
- (0, import_typeorm54.JoinColumn)({ name: "user_id" })
5351
+ (0, import_typeorm55.ManyToOne)(() => User, (user) => user.companySkills),
5352
+ (0, import_typeorm55.JoinColumn)({ name: "user_id" })
5319
5353
  ], CompanySkill.prototype, "user", 2);
5320
5354
  __decorateClass([
5321
- (0, import_typeorm54.Column)({ name: "skill_name", type: "varchar", nullable: true })
5355
+ (0, import_typeorm55.Column)({ name: "skill_name", type: "varchar", nullable: true })
5322
5356
  ], CompanySkill.prototype, "skillName", 2);
5323
5357
  CompanySkill = __decorateClass([
5324
- (0, import_typeorm54.Entity)("company_skills")
5358
+ (0, import_typeorm55.Entity)("company_skills")
5325
5359
  ], CompanySkill);
5326
5360
 
5327
5361
  // src/entities/admin-user-role.entity.ts
5328
- var import_typeorm58 = require("typeorm");
5362
+ var import_typeorm59 = require("typeorm");
5329
5363
 
5330
5364
  // src/entities/admin-role.entity.ts
5331
- var import_typeorm57 = require("typeorm");
5365
+ var import_typeorm58 = require("typeorm");
5332
5366
 
5333
5367
  // src/entities/admin-role-permission.entity.ts
5334
- var import_typeorm56 = require("typeorm");
5368
+ var import_typeorm57 = require("typeorm");
5335
5369
 
5336
5370
  // src/entities/admin-permission.entity.ts
5337
- var import_typeorm55 = require("typeorm");
5371
+ var import_typeorm56 = require("typeorm");
5338
5372
  var AdminPermission = class extends BaseEntity {
5339
5373
  };
5340
5374
  __decorateClass([
5341
- (0, import_typeorm55.Column)({ name: "permission_name", type: "varchar", nullable: true })
5375
+ (0, import_typeorm56.Column)({ name: "permission_name", type: "varchar", nullable: true })
5342
5376
  ], AdminPermission.prototype, "permissionName", 2);
5343
5377
  __decorateClass([
5344
- (0, import_typeorm55.Column)({
5378
+ (0, import_typeorm56.Column)({
5345
5379
  name: "permission_slug",
5346
5380
  type: "varchar",
5347
5381
  unique: true,
5348
5382
  nullable: true
5349
5383
  }),
5350
- (0, import_typeorm55.Index)()
5384
+ (0, import_typeorm56.Index)()
5351
5385
  ], AdminPermission.prototype, "permissionSlug", 2);
5352
5386
  __decorateClass([
5353
- (0, import_typeorm55.Column)({ name: "permission_description", type: "varchar", nullable: true })
5387
+ (0, import_typeorm56.Column)({ name: "permission_description", type: "varchar", nullable: true })
5354
5388
  ], AdminPermission.prototype, "permissionDescription", 2);
5355
5389
  __decorateClass([
5356
- (0, import_typeorm55.Column)({ name: "module", type: "varchar", nullable: true })
5390
+ (0, import_typeorm56.Column)({ name: "module", type: "varchar", nullable: true })
5357
5391
  ], AdminPermission.prototype, "module", 2);
5358
5392
  __decorateClass([
5359
- (0, import_typeorm55.Column)({ name: "is_active", type: "boolean", default: true })
5393
+ (0, import_typeorm56.Column)({ name: "is_active", type: "boolean", default: true })
5360
5394
  ], AdminPermission.prototype, "isActive", 2);
5361
5395
  __decorateClass([
5362
- (0, import_typeorm55.OneToMany)(
5396
+ (0, import_typeorm56.OneToMany)(
5363
5397
  () => AdminRolePermission,
5364
5398
  (adminRolePermission) => adminRolePermission.adminPermissions
5365
5399
  )
5366
5400
  ], AdminPermission.prototype, "adminRole", 2);
5367
5401
  AdminPermission = __decorateClass([
5368
- (0, import_typeorm55.Entity)("admin_permissions")
5402
+ (0, import_typeorm56.Entity)("admin_permissions")
5369
5403
  ], AdminPermission);
5370
5404
 
5371
5405
  // src/entities/admin-role-permission.entity.ts
5372
5406
  var AdminRolePermission = class extends BaseEntity {
5373
5407
  };
5374
5408
  __decorateClass([
5375
- (0, import_typeorm56.Column)({
5409
+ (0, import_typeorm57.Column)({
5376
5410
  name: "role_id",
5377
5411
  type: "int",
5378
5412
  nullable: true,
@@ -5380,11 +5414,11 @@ __decorateClass([
5380
5414
  })
5381
5415
  ], AdminRolePermission.prototype, "roleId", 2);
5382
5416
  __decorateClass([
5383
- (0, import_typeorm56.ManyToOne)(() => AdminRole),
5384
- (0, import_typeorm56.JoinColumn)({ name: "role_id" })
5417
+ (0, import_typeorm57.ManyToOne)(() => AdminRole),
5418
+ (0, import_typeorm57.JoinColumn)({ name: "role_id" })
5385
5419
  ], AdminRolePermission.prototype, "adminRole", 2);
5386
5420
  __decorateClass([
5387
- (0, import_typeorm56.Column)({
5421
+ (0, import_typeorm57.Column)({
5388
5422
  name: "permission_id",
5389
5423
  type: "int",
5390
5424
  nullable: true,
@@ -5392,47 +5426,47 @@ __decorateClass([
5392
5426
  })
5393
5427
  ], AdminRolePermission.prototype, "permissionId", 2);
5394
5428
  __decorateClass([
5395
- (0, import_typeorm56.ManyToOne)(() => AdminPermission),
5396
- (0, import_typeorm56.JoinColumn)({ name: "permission_id" })
5429
+ (0, import_typeorm57.ManyToOne)(() => AdminPermission),
5430
+ (0, import_typeorm57.JoinColumn)({ name: "permission_id" })
5397
5431
  ], AdminRolePermission.prototype, "adminPermissions", 2);
5398
5432
  AdminRolePermission = __decorateClass([
5399
- (0, import_typeorm56.Entity)("admin_role_permissions")
5433
+ (0, import_typeorm57.Entity)("admin_role_permissions")
5400
5434
  ], AdminRolePermission);
5401
5435
 
5402
5436
  // src/entities/admin-role.entity.ts
5403
5437
  var AdminRole = class extends BaseEntity {
5404
5438
  };
5405
5439
  __decorateClass([
5406
- (0, import_typeorm57.Column)({ name: "role_name", type: "varchar", nullable: true })
5440
+ (0, import_typeorm58.Column)({ name: "role_name", type: "varchar", nullable: true })
5407
5441
  ], AdminRole.prototype, "roleName", 2);
5408
5442
  __decorateClass([
5409
- (0, import_typeorm57.Column)({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
5410
- (0, import_typeorm57.Index)()
5443
+ (0, import_typeorm58.Column)({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
5444
+ (0, import_typeorm58.Index)()
5411
5445
  ], AdminRole.prototype, "roleSlug", 2);
5412
5446
  __decorateClass([
5413
- (0, import_typeorm57.Column)({ name: "role_description", type: "varchar", nullable: true })
5447
+ (0, import_typeorm58.Column)({ name: "role_description", type: "varchar", nullable: true })
5414
5448
  ], AdminRole.prototype, "roleDescription", 2);
5415
5449
  __decorateClass([
5416
- (0, import_typeorm57.Column)({ name: "is_active", type: "boolean", default: true })
5450
+ (0, import_typeorm58.Column)({ name: "is_active", type: "boolean", default: true })
5417
5451
  ], AdminRole.prototype, "isActive", 2);
5418
5452
  __decorateClass([
5419
- (0, import_typeorm57.OneToMany)(
5453
+ (0, import_typeorm58.OneToMany)(
5420
5454
  () => AdminRolePermission,
5421
5455
  (addminRolePermission) => addminRolePermission.adminRole
5422
5456
  )
5423
5457
  ], AdminRole.prototype, "adminRolePermission", 2);
5424
5458
  __decorateClass([
5425
- (0, import_typeorm57.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
5459
+ (0, import_typeorm58.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
5426
5460
  ], AdminRole.prototype, "userRoles", 2);
5427
5461
  AdminRole = __decorateClass([
5428
- (0, import_typeorm57.Entity)("admin_roles")
5462
+ (0, import_typeorm58.Entity)("admin_roles")
5429
5463
  ], AdminRole);
5430
5464
 
5431
5465
  // src/entities/admin-user-role.entity.ts
5432
5466
  var AdminUserRole = class extends BaseEntity {
5433
5467
  };
5434
5468
  __decorateClass([
5435
- (0, import_typeorm58.Column)({
5469
+ (0, import_typeorm59.Column)({
5436
5470
  name: "user_id",
5437
5471
  type: "int",
5438
5472
  nullable: true,
@@ -5440,11 +5474,11 @@ __decorateClass([
5440
5474
  })
5441
5475
  ], AdminUserRole.prototype, "userId", 2);
5442
5476
  __decorateClass([
5443
- (0, import_typeorm58.ManyToOne)(() => User),
5444
- (0, import_typeorm58.JoinColumn)({ name: "user_id" })
5477
+ (0, import_typeorm59.ManyToOne)(() => User),
5478
+ (0, import_typeorm59.JoinColumn)({ name: "user_id" })
5445
5479
  ], AdminUserRole.prototype, "user", 2);
5446
5480
  __decorateClass([
5447
- (0, import_typeorm58.Column)({
5481
+ (0, import_typeorm59.Column)({
5448
5482
  name: "role_id",
5449
5483
  type: "int",
5450
5484
  nullable: true,
@@ -5452,58 +5486,58 @@ __decorateClass([
5452
5486
  })
5453
5487
  ], AdminUserRole.prototype, "roleId", 2);
5454
5488
  __decorateClass([
5455
- (0, import_typeorm58.ManyToOne)(() => AdminRole),
5456
- (0, import_typeorm58.JoinColumn)({ name: "role_id" })
5489
+ (0, import_typeorm59.ManyToOne)(() => AdminRole),
5490
+ (0, import_typeorm59.JoinColumn)({ name: "role_id" })
5457
5491
  ], AdminUserRole.prototype, "adminRole", 2);
5458
5492
  AdminUserRole = __decorateClass([
5459
- (0, import_typeorm58.Entity)("admin_user_roles")
5493
+ (0, import_typeorm59.Entity)("admin_user_roles")
5460
5494
  ], AdminUserRole);
5461
5495
 
5462
5496
  // src/entities/freelancer-resume.entity.ts
5463
- var import_typeorm59 = require("typeorm");
5497
+ var import_typeorm60 = require("typeorm");
5464
5498
  var FreelancerResume = class extends BaseEntity {
5465
5499
  };
5466
5500
  // individual index to find profile by user
5467
5501
  __decorateClass([
5468
- (0, import_typeorm59.Column)({ name: "user_id", type: "integer", nullable: true }),
5469
- (0, import_typeorm59.Index)()
5502
+ (0, import_typeorm60.Column)({ name: "user_id", type: "integer", nullable: true }),
5503
+ (0, import_typeorm60.Index)()
5470
5504
  ], FreelancerResume.prototype, "userId", 2);
5471
5505
  __decorateClass([
5472
- (0, import_typeorm59.ManyToOne)(() => User, (user) => user.freelancerProfile),
5473
- (0, import_typeorm59.JoinColumn)({ name: "user_id" })
5506
+ (0, import_typeorm60.ManyToOne)(() => User, (user) => user.freelancerProfile),
5507
+ (0, import_typeorm60.JoinColumn)({ name: "user_id" })
5474
5508
  ], FreelancerResume.prototype, "user", 2);
5475
5509
  __decorateClass([
5476
- (0, import_typeorm59.Column)({ name: "resume_data", type: "jsonb", nullable: true })
5510
+ (0, import_typeorm60.Column)({ name: "resume_data", type: "jsonb", nullable: true })
5477
5511
  ], FreelancerResume.prototype, "resumeData", 2);
5478
5512
  __decorateClass([
5479
- (0, import_typeorm59.Column)({ name: "processed_resume_data", type: "jsonb", nullable: true })
5513
+ (0, import_typeorm60.Column)({ name: "processed_resume_data", type: "jsonb", nullable: true })
5480
5514
  ], FreelancerResume.prototype, "processedResumeData", 2);
5481
5515
  FreelancerResume = __decorateClass([
5482
- (0, import_typeorm59.Entity)("freelancer_resumes")
5516
+ (0, import_typeorm60.Entity)("freelancer_resumes")
5483
5517
  ], FreelancerResume);
5484
5518
 
5485
5519
  // src/entities/signature.entity.ts
5486
- var import_typeorm60 = require("typeorm");
5520
+ var import_typeorm61 = require("typeorm");
5487
5521
  var Signature = class extends BaseEntity {
5488
5522
  };
5489
5523
  // individual index to find profile by user
5490
5524
  __decorateClass([
5491
- (0, import_typeorm60.Column)({ name: "user_id", type: "integer", nullable: true }),
5492
- (0, import_typeorm60.Index)()
5525
+ (0, import_typeorm61.Column)({ name: "user_id", type: "integer", nullable: true }),
5526
+ (0, import_typeorm61.Index)()
5493
5527
  ], Signature.prototype, "userId", 2);
5494
5528
  __decorateClass([
5495
- (0, import_typeorm60.ManyToOne)(() => User, (user) => user.signatures),
5496
- (0, import_typeorm60.JoinColumn)({ name: "user_id" })
5529
+ (0, import_typeorm61.ManyToOne)(() => User, (user) => user.signatures),
5530
+ (0, import_typeorm61.JoinColumn)({ name: "user_id" })
5497
5531
  ], Signature.prototype, "user", 2);
5498
5532
  __decorateClass([
5499
- (0, import_typeorm60.Column)({ name: "signature_url", type: "text", nullable: true })
5533
+ (0, import_typeorm61.Column)({ name: "signature_url", type: "text", nullable: true })
5500
5534
  ], Signature.prototype, "signatureUrl", 2);
5501
5535
  Signature = __decorateClass([
5502
- (0, import_typeorm60.Entity)("signatures")
5536
+ (0, import_typeorm61.Entity)("signatures")
5503
5537
  ], Signature);
5504
5538
 
5505
5539
  // src/entities/dispute.entity.ts
5506
- var import_typeorm61 = require("typeorm");
5540
+ var import_typeorm62 = require("typeorm");
5507
5541
  var DisputeStatusEnum = /* @__PURE__ */ ((DisputeStatusEnum2) => {
5508
5542
  DisputeStatusEnum2["OPEN"] = "OPEN";
5509
5543
  DisputeStatusEnum2["IN_REVIEW"] = "IN_REVIEW";
@@ -5524,36 +5558,36 @@ var InitiatorTypeEnum = /* @__PURE__ */ ((InitiatorTypeEnum2) => {
5524
5558
  var Dispute = class extends BaseEntity {
5525
5559
  };
5526
5560
  __decorateClass([
5527
- (0, import_typeorm61.Column)({ name: "client_id", type: "integer", nullable: true }),
5528
- (0, import_typeorm61.Index)()
5561
+ (0, import_typeorm62.Column)({ name: "client_id", type: "integer", nullable: true }),
5562
+ (0, import_typeorm62.Index)()
5529
5563
  ], Dispute.prototype, "clientId", 2);
5530
5564
  __decorateClass([
5531
- (0, import_typeorm61.ManyToOne)(() => User, (user) => user.clientDisputes),
5532
- (0, import_typeorm61.JoinColumn)({ name: "client_id" })
5565
+ (0, import_typeorm62.ManyToOne)(() => User, (user) => user.clientDisputes),
5566
+ (0, import_typeorm62.JoinColumn)({ name: "client_id" })
5533
5567
  ], Dispute.prototype, "client", 2);
5534
5568
  __decorateClass([
5535
- (0, import_typeorm61.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
5536
- (0, import_typeorm61.Index)()
5569
+ (0, import_typeorm62.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
5570
+ (0, import_typeorm62.Index)()
5537
5571
  ], Dispute.prototype, "freelancerId", 2);
5538
5572
  __decorateClass([
5539
- (0, import_typeorm61.ManyToOne)(() => User, (user) => user.freelancerDisputes),
5540
- (0, import_typeorm61.JoinColumn)({ name: "freelancer_id" })
5573
+ (0, import_typeorm62.ManyToOne)(() => User, (user) => user.freelancerDisputes),
5574
+ (0, import_typeorm62.JoinColumn)({ name: "freelancer_id" })
5541
5575
  ], Dispute.prototype, "freelancer", 2);
5542
5576
  __decorateClass([
5543
- (0, import_typeorm61.Column)({ name: "dispute_unique_id", type: "varchar", unique: true })
5577
+ (0, import_typeorm62.Column)({ name: "dispute_unique_id", type: "varchar", unique: true })
5544
5578
  ], Dispute.prototype, "disputeUniqueId", 2);
5545
5579
  __decorateClass([
5546
- (0, import_typeorm61.Column)({ name: "dispute_type", type: "varchar", nullable: true }),
5547
- (0, import_typeorm61.Index)()
5580
+ (0, import_typeorm62.Column)({ name: "dispute_type", type: "varchar", nullable: true }),
5581
+ (0, import_typeorm62.Index)()
5548
5582
  ], Dispute.prototype, "disputeType", 2);
5549
5583
  __decorateClass([
5550
- (0, import_typeorm61.Column)({ name: "description", type: "varchar", nullable: true })
5584
+ (0, import_typeorm62.Column)({ name: "description", type: "varchar", nullable: true })
5551
5585
  ], Dispute.prototype, "description", 2);
5552
5586
  __decorateClass([
5553
- (0, import_typeorm61.Column)({ name: "comment", type: "varchar", nullable: true })
5587
+ (0, import_typeorm62.Column)({ name: "comment", type: "varchar", nullable: true })
5554
5588
  ], Dispute.prototype, "comment", 2);
5555
5589
  __decorateClass([
5556
- (0, import_typeorm61.Column)({
5590
+ (0, import_typeorm62.Column)({
5557
5591
  name: "status",
5558
5592
  type: "enum",
5559
5593
  enum: DisputeStatusEnum,
@@ -5561,7 +5595,7 @@ __decorateClass([
5561
5595
  })
5562
5596
  ], Dispute.prototype, "status", 2);
5563
5597
  __decorateClass([
5564
- (0, import_typeorm61.Column)({
5598
+ (0, import_typeorm62.Column)({
5565
5599
  name: "initiator_type",
5566
5600
  type: "enum",
5567
5601
  enum: InitiatorTypeEnum,
@@ -5570,33 +5604,33 @@ __decorateClass([
5570
5604
  })
5571
5605
  ], Dispute.prototype, "initiatorType", 2);
5572
5606
  __decorateClass([
5573
- (0, import_typeorm61.Column)({ name: "initiator_id", type: "integer" }),
5574
- (0, import_typeorm61.Index)()
5607
+ (0, import_typeorm62.Column)({ name: "initiator_id", type: "integer" }),
5608
+ (0, import_typeorm62.Index)()
5575
5609
  ], Dispute.prototype, "initiatorId", 2);
5576
5610
  __decorateClass([
5577
- (0, import_typeorm61.ManyToOne)(() => User, (user) => user.initiatedDisputes),
5578
- (0, import_typeorm61.JoinColumn)({ name: "initiator_id" })
5611
+ (0, import_typeorm62.ManyToOne)(() => User, (user) => user.initiatedDisputes),
5612
+ (0, import_typeorm62.JoinColumn)({ name: "initiator_id" })
5579
5613
  ], Dispute.prototype, "initiator", 2);
5580
5614
  __decorateClass([
5581
- (0, import_typeorm61.Column)({ name: "respondent_id", type: "integer", nullable: true }),
5582
- (0, import_typeorm61.Index)()
5615
+ (0, import_typeorm62.Column)({ name: "respondent_id", type: "integer", nullable: true }),
5616
+ (0, import_typeorm62.Index)()
5583
5617
  ], Dispute.prototype, "respondentId", 2);
5584
5618
  __decorateClass([
5585
- (0, import_typeorm61.ManyToOne)(() => User, (user) => user.respondentDisputes, { nullable: true }),
5586
- (0, import_typeorm61.JoinColumn)({ name: "respondent_id" })
5619
+ (0, import_typeorm62.ManyToOne)(() => User, (user) => user.respondentDisputes, { nullable: true }),
5620
+ (0, import_typeorm62.JoinColumn)({ name: "respondent_id" })
5587
5621
  ], Dispute.prototype, "respondent", 2);
5588
5622
  __decorateClass([
5589
- (0, import_typeorm61.Column)({ name: "attachments", type: "jsonb", nullable: true })
5623
+ (0, import_typeorm62.Column)({ name: "attachments", type: "jsonb", nullable: true })
5590
5624
  ], Dispute.prototype, "attachments", 2);
5591
5625
  __decorateClass([
5592
- (0, import_typeorm61.Column)({ name: "dynamic_fields", type: "jsonb", nullable: true })
5626
+ (0, import_typeorm62.Column)({ name: "dynamic_fields", type: "jsonb", nullable: true })
5593
5627
  ], Dispute.prototype, "dynamicFields", 2);
5594
5628
  Dispute = __decorateClass([
5595
- (0, import_typeorm61.Entity)("disputes")
5629
+ (0, import_typeorm62.Entity)("disputes")
5596
5630
  ], Dispute);
5597
5631
 
5598
5632
  // src/entities/stripe-transaction.entity.ts
5599
- var import_typeorm62 = require("typeorm");
5633
+ var import_typeorm63 = require("typeorm");
5600
5634
  var StripeTransactionTypeEnum = /* @__PURE__ */ ((StripeTransactionTypeEnum2) => {
5601
5635
  StripeTransactionTypeEnum2["ADD_FUNDS"] = "ADD_FUNDS";
5602
5636
  StripeTransactionTypeEnum2["TRANSFER"] = "TRANSFER";
@@ -5618,97 +5652,97 @@ var StripeTransaction = class extends BaseEntity {
5618
5652
  // Full Stripe session response
5619
5653
  };
5620
5654
  __decorateClass([
5621
- (0, import_typeorm62.Column)({ name: "user_id", type: "integer", nullable: true }),
5622
- (0, import_typeorm62.Index)()
5655
+ (0, import_typeorm63.Column)({ name: "user_id", type: "integer", nullable: true }),
5656
+ (0, import_typeorm63.Index)()
5623
5657
  ], StripeTransaction.prototype, "userId", 2);
5624
5658
  __decorateClass([
5625
- (0, import_typeorm62.ManyToOne)(() => User, (user) => user.stripeTransactions),
5626
- (0, import_typeorm62.JoinColumn)({ name: "user_id" })
5659
+ (0, import_typeorm63.ManyToOne)(() => User, (user) => user.stripeTransactions),
5660
+ (0, import_typeorm63.JoinColumn)({ name: "user_id" })
5627
5661
  ], StripeTransaction.prototype, "user", 2);
5628
5662
  __decorateClass([
5629
- (0, import_typeorm62.Column)({ name: "stripe_session_id", type: "varchar", nullable: true })
5663
+ (0, import_typeorm63.Column)({ name: "stripe_session_id", type: "varchar", nullable: true })
5630
5664
  ], StripeTransaction.prototype, "stripeSessionId", 2);
5631
5665
  __decorateClass([
5632
- (0, import_typeorm62.Column)({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
5666
+ (0, import_typeorm63.Column)({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
5633
5667
  ], StripeTransaction.prototype, "stripePaymentIntentId", 2);
5634
5668
  __decorateClass([
5635
- (0, import_typeorm62.Column)({ name: "stripe_charge_id", type: "varchar", nullable: true })
5669
+ (0, import_typeorm63.Column)({ name: "stripe_charge_id", type: "varchar", nullable: true })
5636
5670
  ], StripeTransaction.prototype, "stripeChargeId", 2);
5637
5671
  __decorateClass([
5638
- (0, import_typeorm62.Column)({ name: "stripe_receipt_url", type: "varchar", nullable: true })
5672
+ (0, import_typeorm63.Column)({ name: "stripe_receipt_url", type: "varchar", nullable: true })
5639
5673
  ], StripeTransaction.prototype, "stripeReceiptUrl", 2);
5640
5674
  __decorateClass([
5641
- (0, import_typeorm62.Column)({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
5675
+ (0, import_typeorm63.Column)({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
5642
5676
  ], StripeTransaction.prototype, "stripeBalanceTransactionId", 2);
5643
5677
  __decorateClass([
5644
- (0, import_typeorm62.Column)({ name: "stripe_payment_method", type: "varchar", nullable: true })
5678
+ (0, import_typeorm63.Column)({ name: "stripe_payment_method", type: "varchar", nullable: true })
5645
5679
  ], StripeTransaction.prototype, "stripePaymentMethod", 2);
5646
5680
  __decorateClass([
5647
- (0, import_typeorm62.Column)({ name: "stripe_payment_status", type: "varchar", nullable: true })
5681
+ (0, import_typeorm63.Column)({ name: "stripe_payment_status", type: "varchar", nullable: true })
5648
5682
  ], StripeTransaction.prototype, "stripePaymentStatus", 2);
5649
5683
  __decorateClass([
5650
- (0, import_typeorm62.Column)({ name: "type", type: "enum", enum: StripeTransactionTypeEnum })
5684
+ (0, import_typeorm63.Column)({ name: "type", type: "enum", enum: StripeTransactionTypeEnum })
5651
5685
  ], StripeTransaction.prototype, "type", 2);
5652
5686
  __decorateClass([
5653
- (0, import_typeorm62.Column)({ name: "currency", type: "varchar", nullable: true })
5687
+ (0, import_typeorm63.Column)({ name: "currency", type: "varchar", nullable: true })
5654
5688
  ], StripeTransaction.prototype, "currency", 2);
5655
5689
  __decorateClass([
5656
- (0, import_typeorm62.Column)({ name: "desired_deposit_cents", type: "bigint", nullable: true, comment: "Amount user wants in their wallet. Example: 10000 cents = $100.00. This is what gets credited to wallet" })
5690
+ (0, import_typeorm63.Column)({ name: "desired_deposit_cents", type: "bigint", nullable: true, comment: "Amount user wants in their wallet. Example: 10000 cents = $100.00. This is what gets credited to wallet" })
5657
5691
  ], StripeTransaction.prototype, "desiredDepositCents", 2);
5658
5692
  __decorateClass([
5659
- (0, import_typeorm62.Column)({ name: "platform_fee_cents", type: "bigint", default: 0, comment: "Your platform commission Example: 500 cents = $5.00 (5% of $100)" })
5693
+ (0, import_typeorm63.Column)({ name: "platform_fee_cents", type: "bigint", default: 0, comment: "Your platform commission Example: 500 cents = $5.00 (5% of $100)" })
5660
5694
  ], StripeTransaction.prototype, "platformFeeCents", 2);
5661
5695
  __decorateClass([
5662
- (0, import_typeorm62.Column)({ name: "tax_cents", type: "bigint", nullable: true, comment: "Sales tax collected by Stripe" })
5696
+ (0, import_typeorm63.Column)({ name: "tax_cents", type: "bigint", nullable: true, comment: "Sales tax collected by Stripe" })
5663
5697
  ], StripeTransaction.prototype, "taxCents", 2);
5664
5698
  __decorateClass([
5665
- (0, import_typeorm62.Column)({ name: "estimated_stripe_fee_cents", type: "bigint", nullable: true, comment: "Your calculated estimate of Stripe fee, Example: 371 cents = $3.71" })
5699
+ (0, import_typeorm63.Column)({ name: "estimated_stripe_fee_cents", type: "bigint", nullable: true, comment: "Your calculated estimate of Stripe fee, Example: 371 cents = $3.71" })
5666
5700
  ], StripeTransaction.prototype, "estimatedStripeFee", 2);
5667
5701
  __decorateClass([
5668
- (0, import_typeorm62.Column)({ name: "estimated_total_cents", type: "bigint", nullable: true, comment: "Your calculated total to charge, Example: 11386 cents = $113.86, desired_deposit_cents + platform_fee_cents + estimated_stripe_fee" })
5702
+ (0, import_typeorm63.Column)({ name: "estimated_total_cents", type: "bigint", nullable: true, comment: "Your calculated total to charge, Example: 11386 cents = $113.86, desired_deposit_cents + platform_fee_cents + estimated_stripe_fee" })
5669
5703
  ], StripeTransaction.prototype, "estimatedTotalCents", 2);
5670
5704
  __decorateClass([
5671
- (0, import_typeorm62.Column)({ name: "actual_stripe_fee_cents", type: "bigint", nullable: true, comment: "ACTUAL Stripe fee charged, Example: 371 cents = $3.71" })
5705
+ (0, import_typeorm63.Column)({ name: "actual_stripe_fee_cents", type: "bigint", nullable: true, comment: "ACTUAL Stripe fee charged, Example: 371 cents = $3.71" })
5672
5706
  ], StripeTransaction.prototype, "actualStripeFee", 2);
5673
5707
  __decorateClass([
5674
- (0, import_typeorm62.Column)({ name: "actual_total_paid_cents", type: "bigint", nullable: true, comment: "What customer ACTUALLY paid, Example: 11757 cents = $117.57, May differ from estimate" })
5708
+ (0, import_typeorm63.Column)({ name: "actual_total_paid_cents", type: "bigint", nullable: true, comment: "What customer ACTUALLY paid, Example: 11757 cents = $117.57, May differ from estimate" })
5675
5709
  ], StripeTransaction.prototype, "actualTotalPaidCents", 2);
5676
5710
  __decorateClass([
5677
- (0, import_typeorm62.Column)({ name: "net_received_cents", type: "bigint", nullable: true, comment: "What YOU receive after Stripe fee Example: 11386 cents = $113.86. This is your actual revenue + user deposit" })
5711
+ (0, import_typeorm63.Column)({ name: "net_received_cents", type: "bigint", nullable: true, comment: "What YOU receive after Stripe fee Example: 11386 cents = $113.86. This is your actual revenue + user deposit" })
5678
5712
  ], StripeTransaction.prototype, "netReceivedCents", 2);
5679
5713
  __decorateClass([
5680
- (0, import_typeorm62.Column)({ name: "description", type: "text", nullable: true })
5714
+ (0, import_typeorm63.Column)({ name: "description", type: "text", nullable: true })
5681
5715
  ], StripeTransaction.prototype, "description", 2);
5682
5716
  __decorateClass([
5683
- (0, import_typeorm62.Column)({ name: "status", type: "enum", enum: StripeTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5717
+ (0, import_typeorm63.Column)({ name: "status", type: "enum", enum: StripeTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5684
5718
  ], StripeTransaction.prototype, "status", 2);
5685
5719
  __decorateClass([
5686
- (0, import_typeorm62.Column)({ name: "checkout_session_completed_at", type: "timestamptz", nullable: true })
5720
+ (0, import_typeorm63.Column)({ name: "checkout_session_completed_at", type: "timestamptz", nullable: true })
5687
5721
  ], StripeTransaction.prototype, "checkoutSessionCompletedAt", 2);
5688
5722
  __decorateClass([
5689
- (0, import_typeorm62.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
5723
+ (0, import_typeorm63.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
5690
5724
  ], StripeTransaction.prototype, "completedAt", 2);
5691
5725
  __decorateClass([
5692
- (0, import_typeorm62.Column)({ name: "billing_details", type: "jsonb", nullable: true })
5726
+ (0, import_typeorm63.Column)({ name: "billing_details", type: "jsonb", nullable: true })
5693
5727
  ], StripeTransaction.prototype, "billingDetails", 2);
5694
5728
  __decorateClass([
5695
- (0, import_typeorm62.Column)({ name: "payment_method_details", type: "jsonb", nullable: true })
5729
+ (0, import_typeorm63.Column)({ name: "payment_method_details", type: "jsonb", nullable: true })
5696
5730
  ], StripeTransaction.prototype, "paymentMethodDetails", 2);
5697
5731
  __decorateClass([
5698
- (0, import_typeorm62.Column)({ name: "raw_session_payload", type: "jsonb", nullable: true })
5732
+ (0, import_typeorm63.Column)({ name: "raw_session_payload", type: "jsonb", nullable: true })
5699
5733
  ], StripeTransaction.prototype, "rawSessionPayload", 2);
5700
5734
  __decorateClass([
5701
- (0, import_typeorm62.Column)({ name: "raw_session_response", type: "jsonb", nullable: true })
5735
+ (0, import_typeorm63.Column)({ name: "raw_session_response", type: "jsonb", nullable: true })
5702
5736
  ], StripeTransaction.prototype, "rawSessionResponse", 2);
5703
5737
  StripeTransaction = __decorateClass([
5704
- (0, import_typeorm62.Entity)("stripe_transactions")
5738
+ (0, import_typeorm63.Entity)("stripe_transactions")
5705
5739
  ], StripeTransaction);
5706
5740
 
5707
5741
  // src/entities/wallet.entity.ts
5708
- var import_typeorm64 = require("typeorm");
5742
+ var import_typeorm65 = require("typeorm");
5709
5743
 
5710
5744
  // src/entities/wallet-transaction.entity.ts
5711
- var import_typeorm63 = require("typeorm");
5745
+ var import_typeorm64 = require("typeorm");
5712
5746
  var WalletTransactionTypeEnum = /* @__PURE__ */ ((WalletTransactionTypeEnum2) => {
5713
5747
  WalletTransactionTypeEnum2["CR"] = "CR";
5714
5748
  WalletTransactionTypeEnum2["DR"] = "DR";
@@ -5725,46 +5759,46 @@ var WalletTransactionStatusEnum = /* @__PURE__ */ ((WalletTransactionStatusEnum2
5725
5759
  var WalletTransaction = class extends BaseEntity {
5726
5760
  };
5727
5761
  __decorateClass([
5728
- (0, import_typeorm63.Column)({ name: "wallet_id", type: "integer", nullable: true }),
5729
- (0, import_typeorm63.Index)()
5762
+ (0, import_typeorm64.Column)({ name: "wallet_id", type: "integer", nullable: true }),
5763
+ (0, import_typeorm64.Index)()
5730
5764
  ], WalletTransaction.prototype, "walletId", 2);
5731
5765
  __decorateClass([
5732
- (0, import_typeorm63.ManyToOne)(() => Wallet, (wallet) => wallet.walletTransactions),
5733
- (0, import_typeorm63.JoinColumn)({ name: "wallet_id" })
5766
+ (0, import_typeorm64.ManyToOne)(() => Wallet, (wallet) => wallet.walletTransactions),
5767
+ (0, import_typeorm64.JoinColumn)({ name: "wallet_id" })
5734
5768
  ], WalletTransaction.prototype, "wallet", 2);
5735
5769
  __decorateClass([
5736
- (0, import_typeorm63.Column)({ name: "amount", type: "bigint", nullable: true })
5770
+ (0, import_typeorm64.Column)({ name: "amount", type: "bigint", nullable: true })
5737
5771
  ], WalletTransaction.prototype, "amount", 2);
5738
5772
  __decorateClass([
5739
- (0, import_typeorm63.Column)({ name: "balance_before", type: "bigint", nullable: true })
5773
+ (0, import_typeorm64.Column)({ name: "balance_before", type: "bigint", nullable: true })
5740
5774
  ], WalletTransaction.prototype, "balanceBefore", 2);
5741
5775
  __decorateClass([
5742
- (0, import_typeorm63.Column)({ name: "balance_after", type: "bigint", nullable: true })
5776
+ (0, import_typeorm64.Column)({ name: "balance_after", type: "bigint", nullable: true })
5743
5777
  ], WalletTransaction.prototype, "balanceAfter", 2);
5744
5778
  __decorateClass([
5745
- (0, import_typeorm63.Column)({ name: "type", type: "enum", enum: WalletTransactionTypeEnum })
5779
+ (0, import_typeorm64.Column)({ name: "type", type: "enum", enum: WalletTransactionTypeEnum })
5746
5780
  ], WalletTransaction.prototype, "type", 2);
5747
5781
  __decorateClass([
5748
- (0, import_typeorm63.Column)({ name: "status", type: "enum", enum: WalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5782
+ (0, import_typeorm64.Column)({ name: "status", type: "enum", enum: WalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5749
5783
  ], WalletTransaction.prototype, "status", 2);
5750
5784
  __decorateClass([
5751
- (0, import_typeorm63.Column)({ name: "description", type: "text", nullable: true })
5785
+ (0, import_typeorm64.Column)({ name: "description", type: "text", nullable: true })
5752
5786
  ], WalletTransaction.prototype, "description", 2);
5753
5787
  __decorateClass([
5754
- (0, import_typeorm63.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
5788
+ (0, import_typeorm64.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
5755
5789
  ], WalletTransaction.prototype, "completedAt", 2);
5756
5790
  __decorateClass([
5757
- (0, import_typeorm63.Column)({ name: "transaction_for", type: "varchar", nullable: true })
5791
+ (0, import_typeorm64.Column)({ name: "transaction_for", type: "varchar", nullable: true })
5758
5792
  ], WalletTransaction.prototype, "transactionFor", 2);
5759
5793
  __decorateClass([
5760
- (0, import_typeorm63.Column)({ name: "meta_data", type: "varchar", nullable: true })
5794
+ (0, import_typeorm64.Column)({ name: "meta_data", type: "varchar", nullable: true })
5761
5795
  ], WalletTransaction.prototype, "metaData", 2);
5762
5796
  __decorateClass([
5763
- (0, import_typeorm63.Column)({ name: "stripe_transaction_id", type: "integer", nullable: true }),
5764
- (0, import_typeorm63.Index)()
5797
+ (0, import_typeorm64.Column)({ name: "stripe_transaction_id", type: "integer", nullable: true }),
5798
+ (0, import_typeorm64.Index)()
5765
5799
  ], WalletTransaction.prototype, "stripeTransactionId", 2);
5766
5800
  WalletTransaction = __decorateClass([
5767
- (0, import_typeorm63.Entity)("wallet_transactions")
5801
+ (0, import_typeorm64.Entity)("wallet_transactions")
5768
5802
  ], WalletTransaction);
5769
5803
 
5770
5804
  // src/entities/wallet.entity.ts
@@ -5782,43 +5816,43 @@ var WalletOnboardingStatusEnum = /* @__PURE__ */ ((WalletOnboardingStatusEnum2)
5782
5816
  var Wallet = class extends BaseEntity {
5783
5817
  };
5784
5818
  __decorateClass([
5785
- (0, import_typeorm64.Column)({ name: "user_id", type: "integer", nullable: true }),
5786
- (0, import_typeorm64.Index)()
5819
+ (0, import_typeorm65.Column)({ name: "user_id", type: "integer", nullable: true }),
5820
+ (0, import_typeorm65.Index)()
5787
5821
  ], Wallet.prototype, "userId", 2);
5788
5822
  __decorateClass([
5789
- (0, import_typeorm64.OneToOne)(() => User, (user) => user.wallet),
5790
- (0, import_typeorm64.JoinColumn)({ name: "user_id" })
5823
+ (0, import_typeorm65.OneToOne)(() => User, (user) => user.wallet),
5824
+ (0, import_typeorm65.JoinColumn)({ name: "user_id" })
5791
5825
  ], Wallet.prototype, "user", 2);
5792
5826
  __decorateClass([
5793
- (0, import_typeorm64.Column)({ name: "account_type", type: "enum", enum: WalletAccountTypeEnum, nullable: true })
5827
+ (0, import_typeorm65.Column)({ name: "account_type", type: "enum", enum: WalletAccountTypeEnum, nullable: true })
5794
5828
  ], Wallet.prototype, "accountType", 2);
5795
5829
  __decorateClass([
5796
- (0, import_typeorm64.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
5830
+ (0, import_typeorm65.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
5797
5831
  ], Wallet.prototype, "stripeAccountId", 2);
5798
5832
  __decorateClass([
5799
- (0, import_typeorm64.Column)({ name: "stripe_customer_id", type: "varchar", nullable: true })
5833
+ (0, import_typeorm65.Column)({ name: "stripe_customer_id", type: "varchar", nullable: true })
5800
5834
  ], Wallet.prototype, "stripeCustomerId", 2);
5801
5835
  __decorateClass([
5802
- (0, import_typeorm64.Column)({ name: "wallet_balance", type: "varchar", default: "0", comment: "This column is just used to show balance, It will not be used in any computation" })
5836
+ (0, import_typeorm65.Column)({ name: "wallet_balance", type: "varchar", default: "0", comment: "This column is just used to show balance, It will not be used in any computation" })
5803
5837
  ], Wallet.prototype, "walletBalance", 2);
5804
5838
  __decorateClass([
5805
- (0, import_typeorm64.Column)({ name: "wallet_balance_cents", type: "bigint", default: 0, comment: "This column is used to store wallet balance in cents Example: 371 cents = $3.71, All computation will be handled by this column" })
5839
+ (0, import_typeorm65.Column)({ name: "wallet_balance_cents", type: "bigint", default: 0, comment: "This column is used to store wallet balance in cents Example: 371 cents = $3.71, All computation will be handled by this column" })
5806
5840
  ], Wallet.prototype, "walletBalanceCents", 2);
5807
5841
  __decorateClass([
5808
- (0, import_typeorm64.Column)({ name: "onboarding_status", type: "enum", enum: WalletOnboardingStatusEnum, nullable: true })
5842
+ (0, import_typeorm65.Column)({ name: "onboarding_status", type: "enum", enum: WalletOnboardingStatusEnum, nullable: true })
5809
5843
  ], Wallet.prototype, "onboardingStatus", 2);
5810
5844
  __decorateClass([
5811
- (0, import_typeorm64.Column)({ name: "stripe_metadata", type: "jsonb", nullable: true })
5845
+ (0, import_typeorm65.Column)({ name: "stripe_metadata", type: "jsonb", nullable: true })
5812
5846
  ], Wallet.prototype, "stripeMetadata", 2);
5813
5847
  __decorateClass([
5814
- (0, import_typeorm64.OneToMany)(() => WalletTransaction, (walletTransaction) => walletTransaction.wallet)
5848
+ (0, import_typeorm65.OneToMany)(() => WalletTransaction, (walletTransaction) => walletTransaction.wallet)
5815
5849
  ], Wallet.prototype, "walletTransactions", 2);
5816
5850
  Wallet = __decorateClass([
5817
- (0, import_typeorm64.Entity)("wallets")
5851
+ (0, import_typeorm65.Entity)("wallets")
5818
5852
  ], Wallet);
5819
5853
 
5820
5854
  // src/entities/freelancer-assessment-request.entity.ts
5821
- var import_typeorm65 = require("typeorm");
5855
+ var import_typeorm66 = require("typeorm");
5822
5856
  var AssessmentRequestStatusEnum = /* @__PURE__ */ ((AssessmentRequestStatusEnum2) => {
5823
5857
  AssessmentRequestStatusEnum2["PENDING"] = "PENDING";
5824
5858
  AssessmentRequestStatusEnum2["APPROVED"] = "APPROVED";
@@ -5828,23 +5862,23 @@ var AssessmentRequestStatusEnum = /* @__PURE__ */ ((AssessmentRequestStatusEnum2
5828
5862
  var FreelancerAssessmentRequest = class extends BaseEntity {
5829
5863
  };
5830
5864
  __decorateClass([
5831
- (0, import_typeorm65.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
5832
- (0, import_typeorm65.Index)()
5865
+ (0, import_typeorm66.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
5866
+ (0, import_typeorm66.Index)()
5833
5867
  ], FreelancerAssessmentRequest.prototype, "freelancerId", 2);
5834
5868
  __decorateClass([
5835
- (0, import_typeorm65.ManyToOne)(() => User, (user) => user.freelancerAssessmentRequests),
5836
- (0, import_typeorm65.JoinColumn)({ name: "freelancer_id" })
5869
+ (0, import_typeorm66.ManyToOne)(() => User, (user) => user.freelancerAssessmentRequests),
5870
+ (0, import_typeorm66.JoinColumn)({ name: "freelancer_id" })
5837
5871
  ], FreelancerAssessmentRequest.prototype, "freelancer", 2);
5838
5872
  __decorateClass([
5839
- (0, import_typeorm65.Column)({ name: "approved_by_id", type: "integer", nullable: true }),
5840
- (0, import_typeorm65.Index)()
5873
+ (0, import_typeorm66.Column)({ name: "approved_by_id", type: "integer", nullable: true }),
5874
+ (0, import_typeorm66.Index)()
5841
5875
  ], FreelancerAssessmentRequest.prototype, "approvedById", 2);
5842
5876
  __decorateClass([
5843
- (0, import_typeorm65.ManyToOne)(() => User, (user) => user.assessmentRequests),
5844
- (0, import_typeorm65.JoinColumn)({ name: "approved_by_id" })
5877
+ (0, import_typeorm66.ManyToOne)(() => User, (user) => user.assessmentRequests),
5878
+ (0, import_typeorm66.JoinColumn)({ name: "approved_by_id" })
5845
5879
  ], FreelancerAssessmentRequest.prototype, "approvedBy", 2);
5846
5880
  __decorateClass([
5847
- (0, import_typeorm65.Column)({
5881
+ (0, import_typeorm66.Column)({
5848
5882
  name: "status",
5849
5883
  type: "enum",
5850
5884
  enum: AssessmentRequestStatusEnum,
@@ -5852,12 +5886,46 @@ __decorateClass([
5852
5886
  })
5853
5887
  ], FreelancerAssessmentRequest.prototype, "status", 2);
5854
5888
  __decorateClass([
5855
- (0, import_typeorm65.Column)({ name: "assessment_link", type: "text", nullable: true })
5889
+ (0, import_typeorm66.Column)({ name: "assessment_link", type: "text", nullable: true })
5856
5890
  ], FreelancerAssessmentRequest.prototype, "assessmentLink", 2);
5857
5891
  FreelancerAssessmentRequest = __decorateClass([
5858
- (0, import_typeorm65.Entity)({ name: "freelancer_assessment_requests" })
5892
+ (0, import_typeorm66.Entity)({ name: "freelancer_assessment_requests" })
5859
5893
  ], FreelancerAssessmentRequest);
5860
5894
 
5895
+ // src/entities/in-app-notification.entity.ts
5896
+ var import_typeorm67 = require("typeorm");
5897
+ var InAppNotification = class extends BaseEntity {
5898
+ };
5899
+ __decorateClass([
5900
+ (0, import_typeorm67.Column)({ name: "user_id", type: "integer", nullable: true }),
5901
+ (0, import_typeorm67.Index)()
5902
+ ], InAppNotification.prototype, "userId", 2);
5903
+ __decorateClass([
5904
+ (0, import_typeorm67.ManyToOne)(() => User, (user) => user.inAppNotifications),
5905
+ (0, import_typeorm67.JoinColumn)({ name: "user_id" })
5906
+ ], InAppNotification.prototype, "user", 2);
5907
+ __decorateClass([
5908
+ (0, import_typeorm67.Column)({ name: "event", type: "varchar", nullable: true })
5909
+ ], InAppNotification.prototype, "event", 2);
5910
+ __decorateClass([
5911
+ (0, import_typeorm67.Column)({ name: "title", type: "varchar", nullable: true })
5912
+ ], InAppNotification.prototype, "title", 2);
5913
+ __decorateClass([
5914
+ (0, import_typeorm67.Column)({ name: "message", type: "varchar", nullable: true })
5915
+ ], InAppNotification.prototype, "message", 2);
5916
+ __decorateClass([
5917
+ (0, import_typeorm67.Column)({ name: "redirect_url", type: "varchar", nullable: true })
5918
+ ], InAppNotification.prototype, "redirectUrl", 2);
5919
+ __decorateClass([
5920
+ (0, import_typeorm67.Column)({ name: "is_read", type: "boolean", default: false })
5921
+ ], InAppNotification.prototype, "isRead", 2);
5922
+ __decorateClass([
5923
+ (0, import_typeorm67.Column)({ name: "meta_data", type: "jsonb", nullable: true })
5924
+ ], InAppNotification.prototype, "metaData", 2);
5925
+ InAppNotification = __decorateClass([
5926
+ (0, import_typeorm67.Entity)("in_app_notifications")
5927
+ ], InAppNotification);
5928
+
5861
5929
  // src/entities/user.entity.ts
5862
5930
  var AccountType2 = /* @__PURE__ */ ((AccountType4) => {
5863
5931
  AccountType4["SUPER_ADMIN"] = "SUPER_ADMIN";
@@ -5884,51 +5952,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
5884
5952
  var User = class extends BaseEntity {
5885
5953
  };
5886
5954
  __decorateClass([
5887
- (0, import_typeorm66.Column)({ name: "unique_id", type: "varchar", unique: true })
5955
+ (0, import_typeorm68.Column)({ name: "unique_id", type: "varchar", unique: true })
5888
5956
  ], User.prototype, "uniqueId", 2);
5889
5957
  __decorateClass([
5890
- (0, import_typeorm66.Column)({ name: "parent_id", type: "integer", nullable: true }),
5891
- (0, import_typeorm66.Index)()
5958
+ (0, import_typeorm68.Column)({ name: "parent_id", type: "integer", nullable: true }),
5959
+ (0, import_typeorm68.Index)()
5892
5960
  ], User.prototype, "parentId", 2);
5893
5961
  __decorateClass([
5894
- (0, import_typeorm66.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
5895
- (0, import_typeorm66.JoinColumn)({ name: "parent_id" })
5962
+ (0, import_typeorm68.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
5963
+ (0, import_typeorm68.JoinColumn)({ name: "parent_id" })
5896
5964
  ], User.prototype, "parent", 2);
5897
5965
  __decorateClass([
5898
- (0, import_typeorm66.OneToMany)(() => User, (user) => user.parent)
5966
+ (0, import_typeorm68.OneToMany)(() => User, (user) => user.parent)
5899
5967
  ], User.prototype, "children", 2);
5900
5968
  __decorateClass([
5901
- (0, import_typeorm66.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
5969
+ (0, import_typeorm68.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
5902
5970
  ], User.prototype, "username", 2);
5903
5971
  __decorateClass([
5904
- (0, import_typeorm66.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
5972
+ (0, import_typeorm68.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
5905
5973
  ], User.prototype, "firstName", 2);
5906
5974
  __decorateClass([
5907
- (0, import_typeorm66.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
5975
+ (0, import_typeorm68.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
5908
5976
  ], User.prototype, "lastName", 2);
5909
5977
  __decorateClass([
5910
- (0, import_typeorm66.Column)({ name: "date_of_birth", type: "date", nullable: true })
5978
+ (0, import_typeorm68.Column)({ name: "date_of_birth", type: "date", nullable: true })
5911
5979
  ], User.prototype, "dateOfBirth", 2);
5912
5980
  __decorateClass([
5913
- (0, import_typeorm66.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
5981
+ (0, import_typeorm68.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
5914
5982
  ], User.prototype, "gender", 2);
5915
5983
  __decorateClass([
5916
- (0, import_typeorm66.Column)({ name: "profile_picture_url", type: "text", nullable: true })
5984
+ (0, import_typeorm68.Column)({ name: "profile_picture_url", type: "text", nullable: true })
5917
5985
  ], User.prototype, "profilePictureUrl", 2);
5918
5986
  __decorateClass([
5919
- (0, import_typeorm66.Column)({ name: "email", type: "varchar", unique: true })
5987
+ (0, import_typeorm68.Column)({ name: "email", type: "varchar", unique: true })
5920
5988
  ], User.prototype, "email", 2);
5921
5989
  __decorateClass([
5922
- (0, import_typeorm66.Column)({ name: "mobile_code", type: "varchar", nullable: true })
5990
+ (0, import_typeorm68.Column)({ name: "mobile_code", type: "varchar", nullable: true })
5923
5991
  ], User.prototype, "mobileCode", 2);
5924
5992
  __decorateClass([
5925
- (0, import_typeorm66.Column)({ name: "mobile", type: "varchar", nullable: true })
5993
+ (0, import_typeorm68.Column)({ name: "mobile", type: "varchar", nullable: true })
5926
5994
  ], User.prototype, "mobile", 2);
5927
5995
  __decorateClass([
5928
- (0, import_typeorm66.Column)({ name: "password", type: "varchar", nullable: true })
5996
+ (0, import_typeorm68.Column)({ name: "password", type: "varchar", nullable: true })
5929
5997
  ], User.prototype, "password", 2);
5930
5998
  __decorateClass([
5931
- (0, import_typeorm66.Column)({
5999
+ (0, import_typeorm68.Column)({
5932
6000
  name: "account_type",
5933
6001
  type: "enum",
5934
6002
  enum: AccountType2,
@@ -5936,7 +6004,7 @@ __decorateClass([
5936
6004
  })
5937
6005
  ], User.prototype, "accountType", 2);
5938
6006
  __decorateClass([
5939
- (0, import_typeorm66.Column)({
6007
+ (0, import_typeorm68.Column)({
5940
6008
  name: "account_status",
5941
6009
  type: "enum",
5942
6010
  enum: AccountStatus,
@@ -5944,42 +6012,42 @@ __decorateClass([
5944
6012
  })
5945
6013
  ], User.prototype, "accountStatus", 2);
5946
6014
  __decorateClass([
5947
- (0, import_typeorm66.Column)({ name: "is_email_verified", type: "boolean", default: false })
6015
+ (0, import_typeorm68.Column)({ name: "is_email_verified", type: "boolean", default: false })
5948
6016
  ], User.prototype, "isEmailVerified", 2);
5949
6017
  __decorateClass([
5950
- (0, import_typeorm66.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
6018
+ (0, import_typeorm68.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
5951
6019
  ], User.prototype, "isMobileVerified", 2);
5952
6020
  __decorateClass([
5953
- (0, import_typeorm66.Column)({ name: "is_social", type: "boolean", default: false })
6021
+ (0, import_typeorm68.Column)({ name: "is_social", type: "boolean", default: false })
5954
6022
  ], User.prototype, "isSocial", 2);
5955
6023
  __decorateClass([
5956
- (0, import_typeorm66.Column)({
6024
+ (0, import_typeorm68.Column)({
5957
6025
  name: "last_login_at",
5958
6026
  type: "timestamp with time zone",
5959
6027
  nullable: true
5960
6028
  })
5961
6029
  ], User.prototype, "lastLoginAt", 2);
5962
6030
  __decorateClass([
5963
- (0, import_typeorm66.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
6031
+ (0, import_typeorm68.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
5964
6032
  ], User.prototype, "lastLoginIp", 2);
5965
6033
  __decorateClass([
5966
- (0, import_typeorm66.Column)({ name: "reset_token", type: "varchar", nullable: true })
6034
+ (0, import_typeorm68.Column)({ name: "reset_token", type: "varchar", nullable: true })
5967
6035
  ], User.prototype, "resetToken", 2);
5968
6036
  __decorateClass([
5969
- (0, import_typeorm66.Column)({
6037
+ (0, import_typeorm68.Column)({
5970
6038
  name: "reset_token_expire_at",
5971
6039
  type: "timestamp with time zone",
5972
6040
  nullable: true
5973
6041
  })
5974
6042
  ], User.prototype, "resetTokenExpireAt", 2);
5975
6043
  __decorateClass([
5976
- (0, import_typeorm66.Column)({ name: "set_password_token", type: "varchar", nullable: true })
6044
+ (0, import_typeorm68.Column)({ name: "set_password_token", type: "varchar", nullable: true })
5977
6045
  ], User.prototype, "setPasswordToken", 2);
5978
6046
  __decorateClass([
5979
- (0, import_typeorm66.OneToMany)(() => RefreshToken, (token) => token.user)
6047
+ (0, import_typeorm68.OneToMany)(() => RefreshToken, (token) => token.user)
5980
6048
  ], User.prototype, "refreshTokens", 2);
5981
6049
  __decorateClass([
5982
- (0, import_typeorm66.Column)({
6050
+ (0, import_typeorm68.Column)({
5983
6051
  name: "provider",
5984
6052
  type: "enum",
5985
6053
  enum: Provider,
@@ -5988,248 +6056,251 @@ __decorateClass([
5988
6056
  })
5989
6057
  ], User.prototype, "provider", 2);
5990
6058
  __decorateClass([
5991
- (0, import_typeorm66.Column)({ name: "provider_token", type: "varchar", nullable: true })
6059
+ (0, import_typeorm68.Column)({ name: "provider_token", type: "varchar", nullable: true })
5992
6060
  ], User.prototype, "providerToken", 2);
5993
6061
  __decorateClass([
5994
- (0, import_typeorm66.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
6062
+ (0, import_typeorm68.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
5995
6063
  ], User.prototype, "linkedInId", 2);
5996
6064
  __decorateClass([
5997
- (0, import_typeorm66.Column)({ name: "google_id", type: "varchar", nullable: true })
6065
+ (0, import_typeorm68.Column)({ name: "google_id", type: "varchar", nullable: true })
5998
6066
  ], User.prototype, "googleId", 2);
5999
6067
  __decorateClass([
6000
- (0, import_typeorm66.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
6068
+ (0, import_typeorm68.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
6001
6069
  ], User.prototype, "gitLabsId", 2);
6002
6070
  __decorateClass([
6003
- (0, import_typeorm66.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
6071
+ (0, import_typeorm68.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
6004
6072
  ], User.prototype, "onBoardedBy", 2);
6005
6073
  __decorateClass([
6006
- (0, import_typeorm66.OneToMany)(() => Otp, (otp) => otp.user)
6074
+ (0, import_typeorm68.OneToMany)(() => Otp, (otp) => otp.user)
6007
6075
  ], User.prototype, "otps", 2);
6008
6076
  __decorateClass([
6009
- (0, import_typeorm66.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
6077
+ (0, import_typeorm68.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
6010
6078
  ], User.prototype, "senseloafLogs", 2);
6011
6079
  __decorateClass([
6012
- (0, import_typeorm66.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
6080
+ (0, import_typeorm68.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
6013
6081
  ], User.prototype, "companyProfile", 2);
6014
6082
  __decorateClass([
6015
- (0, import_typeorm66.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
6083
+ (0, import_typeorm68.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
6016
6084
  ], User.prototype, "companySkills", 2);
6017
6085
  __decorateClass([
6018
- (0, import_typeorm66.OneToMany)(
6086
+ (0, import_typeorm68.OneToMany)(
6019
6087
  () => CompanyMemberRole,
6020
6088
  (companyMemberRole) => companyMemberRole.user
6021
6089
  )
6022
6090
  ], User.prototype, "companyMemberRoles", 2);
6023
6091
  __decorateClass([
6024
- (0, import_typeorm66.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
6092
+ (0, import_typeorm68.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
6025
6093
  ], User.prototype, "companyAiInterview", 2);
6026
6094
  __decorateClass([
6027
- (0, import_typeorm66.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
6095
+ (0, import_typeorm68.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
6028
6096
  ], User.prototype, "clientF2FInterviews", 2);
6029
6097
  __decorateClass([
6030
- (0, import_typeorm66.OneToOne)(
6098
+ (0, import_typeorm68.OneToOne)(
6031
6099
  () => FreelancerProfile,
6032
6100
  (freelancerProfile) => freelancerProfile.user
6033
6101
  )
6034
6102
  ], User.prototype, "freelancerProfile", 2);
6035
6103
  __decorateClass([
6036
- (0, import_typeorm66.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
6104
+ (0, import_typeorm68.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
6037
6105
  ], User.prototype, "freelancerResume", 2);
6038
6106
  __decorateClass([
6039
- (0, import_typeorm66.OneToMany)(
6107
+ (0, import_typeorm68.OneToMany)(
6040
6108
  () => FreelancerAssessmentRequest,
6041
6109
  (freelancerAssessmentRequest) => freelancerAssessmentRequest.freelancer
6042
6110
  )
6043
6111
  ], User.prototype, "freelancerAssessmentRequests", 2);
6044
6112
  __decorateClass([
6045
- (0, import_typeorm66.OneToMany)(
6113
+ (0, import_typeorm68.OneToMany)(
6046
6114
  () => FreelancerAssessmentRequest,
6047
6115
  (freelancerAssessment) => freelancerAssessment.approvedBy
6048
6116
  )
6049
6117
  ], User.prototype, "assessmentRequests", 2);
6050
6118
  __decorateClass([
6051
- (0, import_typeorm66.OneToMany)(
6119
+ (0, import_typeorm68.OneToMany)(
6052
6120
  () => FreelancerAssessment,
6053
6121
  (freelancerAssessment) => freelancerAssessment.user
6054
6122
  )
6055
6123
  ], User.prototype, "assessments", 2);
6056
6124
  __decorateClass([
6057
- (0, import_typeorm66.OneToMany)(
6125
+ (0, import_typeorm68.OneToMany)(
6058
6126
  () => AssessmentAnswer,
6059
6127
  (assessmentAnswer) => assessmentAnswer.user
6060
6128
  )
6061
6129
  ], User.prototype, "assessmentAnswers", 2);
6062
6130
  __decorateClass([
6063
- (0, import_typeorm66.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
6131
+ (0, import_typeorm68.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
6064
6132
  ], User.prototype, "freelancerSkills", 2);
6065
6133
  __decorateClass([
6066
- (0, import_typeorm66.OneToMany)(
6134
+ (0, import_typeorm68.OneToMany)(
6067
6135
  () => FreelancerExperience,
6068
6136
  (freelancerExperience) => freelancerExperience.user
6069
6137
  )
6070
6138
  ], User.prototype, "freelancerExperience", 2);
6071
6139
  __decorateClass([
6072
- (0, import_typeorm66.OneToMany)(
6140
+ (0, import_typeorm68.OneToMany)(
6073
6141
  () => FreelancerEducation,
6074
6142
  (freelancerEducation) => freelancerEducation.user
6075
6143
  )
6076
6144
  ], User.prototype, "freelancerEducation", 2);
6077
6145
  __decorateClass([
6078
- (0, import_typeorm66.OneToMany)(
6146
+ (0, import_typeorm68.OneToMany)(
6079
6147
  () => FreelancerProject,
6080
6148
  (freelancerProject) => freelancerProject.user
6081
6149
  )
6082
6150
  ], User.prototype, "freelancerProject", 2);
6083
6151
  __decorateClass([
6084
- (0, import_typeorm66.OneToMany)(
6152
+ (0, import_typeorm68.OneToMany)(
6085
6153
  () => FreelancerCaseStudy,
6086
6154
  (freelancerCaseStudy) => freelancerCaseStudy.user
6087
6155
  )
6088
6156
  ], User.prototype, "freelancerCaseStudy", 2);
6089
6157
  __decorateClass([
6090
- (0, import_typeorm66.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
6158
+ (0, import_typeorm68.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
6091
6159
  ], User.prototype, "freelancerTool", 2);
6092
6160
  __decorateClass([
6093
- (0, import_typeorm66.OneToMany)(
6161
+ (0, import_typeorm68.OneToMany)(
6094
6162
  () => FreelancerFramework,
6095
6163
  (freelancerFramework) => freelancerFramework.user
6096
6164
  )
6097
6165
  ], User.prototype, "freelancerFramework", 2);
6098
6166
  __decorateClass([
6099
- (0, import_typeorm66.OneToOne)(
6167
+ (0, import_typeorm68.OneToOne)(
6100
6168
  () => FreelancerDeclaration,
6101
6169
  (freelancerDeclaration) => freelancerDeclaration.user
6102
6170
  )
6103
6171
  ], User.prototype, "freelancerDeclaration", 2);
6104
6172
  __decorateClass([
6105
- (0, import_typeorm66.OneToMany)(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
6173
+ (0, import_typeorm68.OneToMany)(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
6106
6174
  ], User.prototype, "freelancerMcq", 2);
6107
6175
  __decorateClass([
6108
- (0, import_typeorm66.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
6176
+ (0, import_typeorm68.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
6109
6177
  ], User.prototype, "freelancerAiInterview", 2);
6110
6178
  __decorateClass([
6111
- (0, import_typeorm66.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
6179
+ (0, import_typeorm68.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
6112
6180
  ], User.prototype, "freelancerF2FInterviews", 2);
6113
6181
  __decorateClass([
6114
- (0, import_typeorm66.OneToMany)(
6182
+ (0, import_typeorm68.OneToMany)(
6115
6183
  () => F2fInterviewRescheduleRequest,
6116
6184
  (f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
6117
6185
  )
6118
6186
  ], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
6119
6187
  __decorateClass([
6120
- (0, import_typeorm66.OneToMany)(
6188
+ (0, import_typeorm68.OneToMany)(
6121
6189
  () => AiInterviewRescheduleRequest,
6122
6190
  (aiInterviewRescheduleRequest) => aiInterviewRescheduleRequest.candidate
6123
6191
  )
6124
6192
  ], User.prototype, "freelancerAiInterviewRescheduleRequests", 2);
6125
6193
  __decorateClass([
6126
- (0, import_typeorm66.OneToMany)(
6194
+ (0, import_typeorm68.OneToMany)(
6127
6195
  () => AiInterviewRescheduleRequest,
6128
6196
  (aiInterviewRescheduleRequest) => aiInterviewRescheduleRequest.client
6129
6197
  )
6130
6198
  ], User.prototype, "clientAiInterviewRescheduleRequests", 2);
6131
6199
  __decorateClass([
6132
- (0, import_typeorm66.OneToMany)(() => Job, (job) => job.user)
6200
+ (0, import_typeorm68.OneToMany)(() => Job, (job) => job.user)
6133
6201
  ], User.prototype, "jobs", 2);
6134
6202
  __decorateClass([
6135
- (0, import_typeorm66.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
6203
+ (0, import_typeorm68.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
6136
6204
  ], User.prototype, "jobApplications", 2);
6137
6205
  __decorateClass([
6138
- (0, import_typeorm66.OneToMany)(() => Interview, (interview) => interview.user)
6206
+ (0, import_typeorm68.OneToMany)(() => Interview, (interview) => interview.user)
6139
6207
  ], User.prototype, "interviews", 2);
6140
6208
  __decorateClass([
6141
- (0, import_typeorm66.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
6209
+ (0, import_typeorm68.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
6142
6210
  ], User.prototype, "bankDetail", 2);
6143
6211
  __decorateClass([
6144
- (0, import_typeorm66.OneToMany)(
6212
+ (0, import_typeorm68.OneToMany)(
6145
6213
  () => SystemPreference,
6146
6214
  (systemPreference) => systemPreference.user
6147
6215
  )
6148
6216
  ], User.prototype, "systemPreference", 2);
6149
6217
  __decorateClass([
6150
- (0, import_typeorm66.OneToMany)(() => Rating, (rating) => rating.reviewer)
6218
+ (0, import_typeorm68.OneToMany)(() => Rating, (rating) => rating.reviewer)
6151
6219
  ], User.prototype, "givenRatings", 2);
6152
6220
  __decorateClass([
6153
- (0, import_typeorm66.OneToMany)(() => Rating, (rating) => rating.reviewee)
6221
+ (0, import_typeorm68.OneToMany)(() => Rating, (rating) => rating.reviewee)
6154
6222
  ], User.prototype, "receivedRatings", 2);
6155
6223
  __decorateClass([
6156
- (0, import_typeorm66.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
6224
+ (0, import_typeorm68.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
6157
6225
  ], User.prototype, "adminUserRoles", 2);
6158
6226
  __decorateClass([
6159
- (0, import_typeorm66.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.clientId, {
6227
+ (0, import_typeorm68.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.clientId, {
6160
6228
  cascade: true
6161
6229
  })
6162
6230
  ], User.prototype, "clientContractSummaries", 2);
6163
6231
  __decorateClass([
6164
- (0, import_typeorm66.OneToMany)(() => Contract, (contract) => contract.client)
6232
+ (0, import_typeorm68.OneToMany)(() => Contract, (contract) => contract.client)
6165
6233
  ], User.prototype, "clientContracts", 2);
6166
6234
  __decorateClass([
6167
- (0, import_typeorm66.OneToMany)(() => Hiring, (hiring) => hiring.client)
6235
+ (0, import_typeorm68.OneToMany)(() => Hiring, (hiring) => hiring.client)
6168
6236
  ], User.prototype, "clientHirings", 2);
6169
6237
  __decorateClass([
6170
- (0, import_typeorm66.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
6238
+ (0, import_typeorm68.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
6171
6239
  ], User.prototype, "clientEscrowWallets", 2);
6172
6240
  __decorateClass([
6173
- (0, import_typeorm66.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.freelancerId, {
6241
+ (0, import_typeorm68.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.freelancerId, {
6174
6242
  cascade: true
6175
6243
  })
6176
6244
  ], User.prototype, "freelancerContractSummaries", 2);
6177
6245
  __decorateClass([
6178
- (0, import_typeorm66.OneToMany)(() => Contract, (contract) => contract.freelancer)
6246
+ (0, import_typeorm68.OneToMany)(() => Contract, (contract) => contract.freelancer)
6179
6247
  ], User.prototype, "freelancerContracts", 2);
6180
6248
  __decorateClass([
6181
- (0, import_typeorm66.OneToMany)(() => Hiring, (hiring) => hiring.freelancer)
6249
+ (0, import_typeorm68.OneToMany)(() => Hiring, (hiring) => hiring.freelancer)
6182
6250
  ], User.prototype, "freelancerHirings", 2);
6183
6251
  __decorateClass([
6184
- (0, import_typeorm66.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
6252
+ (0, import_typeorm68.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
6185
6253
  ], User.prototype, "freelancerEscrowWallets", 2);
6186
6254
  __decorateClass([
6187
- (0, import_typeorm66.OneToOne)(() => Signature, (signature) => signature.user)
6255
+ (0, import_typeorm68.OneToOne)(() => Signature, (signature) => signature.user)
6188
6256
  ], User.prototype, "signatures", 2);
6189
6257
  __decorateClass([
6190
- (0, import_typeorm66.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
6258
+ (0, import_typeorm68.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
6191
6259
  ], User.prototype, "clientTimesheets", 2);
6192
6260
  __decorateClass([
6193
- (0, import_typeorm66.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
6261
+ (0, import_typeorm68.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
6194
6262
  ], User.prototype, "freelancerTimesheets", 2);
6195
6263
  __decorateClass([
6196
- (0, import_typeorm66.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
6264
+ (0, import_typeorm68.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
6197
6265
  ], User.prototype, "clientTimesheetLine", 2);
6198
6266
  __decorateClass([
6199
- (0, import_typeorm66.OneToMany)(() => Invoice, (invoice) => invoice.client)
6267
+ (0, import_typeorm68.OneToMany)(() => Invoice, (invoice) => invoice.client)
6200
6268
  ], User.prototype, "clientInvoice", 2);
6201
6269
  __decorateClass([
6202
- (0, import_typeorm66.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
6270
+ (0, import_typeorm68.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
6203
6271
  ], User.prototype, "freelancerTimesheetLine", 2);
6204
6272
  __decorateClass([
6205
- (0, import_typeorm66.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
6273
+ (0, import_typeorm68.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
6206
6274
  ], User.prototype, "freelancerInvoice", 2);
6207
6275
  __decorateClass([
6208
- (0, import_typeorm66.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
6276
+ (0, import_typeorm68.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
6209
6277
  ], User.prototype, "clientPreferencesGiven", 2);
6210
6278
  __decorateClass([
6211
- (0, import_typeorm66.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
6279
+ (0, import_typeorm68.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
6212
6280
  ], User.prototype, "clientPreferencesReceived", 2);
6213
6281
  __decorateClass([
6214
- (0, import_typeorm66.OneToMany)(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
6282
+ (0, import_typeorm68.OneToMany)(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
6215
6283
  ], User.prototype, "initiatedDisputes", 2);
6216
6284
  __decorateClass([
6217
- (0, import_typeorm66.OneToMany)(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
6285
+ (0, import_typeorm68.OneToMany)(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
6218
6286
  ], User.prototype, "respondentDisputes", 2);
6219
6287
  __decorateClass([
6220
- (0, import_typeorm66.OneToOne)(() => Wallet, (wallet) => wallet.user)
6288
+ (0, import_typeorm68.OneToOne)(() => Wallet, (wallet) => wallet.user)
6221
6289
  ], User.prototype, "wallet", 2);
6222
6290
  __decorateClass([
6223
- (0, import_typeorm66.OneToMany)(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
6291
+ (0, import_typeorm68.OneToMany)(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
6224
6292
  ], User.prototype, "stripeTransactions", 2);
6225
6293
  __decorateClass([
6226
- (0, import_typeorm66.OneToMany)(() => Dispute, (dispute) => dispute.client)
6294
+ (0, import_typeorm68.OneToMany)(() => Dispute, (dispute) => dispute.client)
6227
6295
  ], User.prototype, "clientDisputes", 2);
6228
6296
  __decorateClass([
6229
- (0, import_typeorm66.OneToMany)(() => Dispute, (dispute) => dispute.freelancer)
6297
+ (0, import_typeorm68.OneToMany)(() => Dispute, (dispute) => dispute.freelancer)
6230
6298
  ], User.prototype, "freelancerDisputes", 2);
6299
+ __decorateClass([
6300
+ (0, import_typeorm68.OneToMany)(() => InAppNotification, (inAppNotification) => inAppNotification.user)
6301
+ ], User.prototype, "inAppNotifications", 2);
6231
6302
  User = __decorateClass([
6232
- (0, import_typeorm66.Entity)("users")
6303
+ (0, import_typeorm68.Entity)("users")
6233
6304
  ], User);
6234
6305
 
6235
6306
  // src/modules/user/subadmin/dto/update-subadmin-account-status.dto.ts
@@ -12443,11 +12514,11 @@ var ChatRMQAdapter = (mode = "microservice") => {
12443
12514
  };
12444
12515
 
12445
12516
  // src/entities/sequence-generator.entity.ts
12446
- var import_typeorm67 = require("typeorm");
12517
+ var import_typeorm69 = require("typeorm");
12447
12518
  var SequenceGenerator = class extends BaseEntity {
12448
12519
  };
12449
12520
  __decorateClass([
12450
- (0, import_typeorm67.Column)({
12521
+ (0, import_typeorm69.Column)({
12451
12522
  name: "module",
12452
12523
  type: "varchar",
12453
12524
  length: 50,
@@ -12456,7 +12527,7 @@ __decorateClass([
12456
12527
  })
12457
12528
  ], SequenceGenerator.prototype, "module", 2);
12458
12529
  __decorateClass([
12459
- (0, import_typeorm67.Column)({
12530
+ (0, import_typeorm69.Column)({
12460
12531
  name: "prefix",
12461
12532
  type: "varchar",
12462
12533
  length: 10,
@@ -12465,7 +12536,7 @@ __decorateClass([
12465
12536
  })
12466
12537
  ], SequenceGenerator.prototype, "prefix", 2);
12467
12538
  __decorateClass([
12468
- (0, import_typeorm67.Column)({
12539
+ (0, import_typeorm69.Column)({
12469
12540
  name: "last_sequence",
12470
12541
  type: "int",
12471
12542
  nullable: false,
@@ -12473,7 +12544,7 @@ __decorateClass([
12473
12544
  })
12474
12545
  ], SequenceGenerator.prototype, "lastSequence", 2);
12475
12546
  __decorateClass([
12476
- (0, import_typeorm67.Column)({
12547
+ (0, import_typeorm69.Column)({
12477
12548
  name: "year",
12478
12549
  type: "int",
12479
12550
  nullable: true,
@@ -12481,11 +12552,11 @@ __decorateClass([
12481
12552
  })
12482
12553
  ], SequenceGenerator.prototype, "year", 2);
12483
12554
  SequenceGenerator = __decorateClass([
12484
- (0, import_typeorm67.Entity)("sequence_generators")
12555
+ (0, import_typeorm69.Entity)("sequence_generators")
12485
12556
  ], SequenceGenerator);
12486
12557
 
12487
12558
  // src/entities/question.entity.ts
12488
- var import_typeorm68 = require("typeorm");
12559
+ var import_typeorm70 = require("typeorm");
12489
12560
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
12490
12561
  QuestionFor2["CLIENT"] = "CLIENT";
12491
12562
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -12494,16 +12565,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
12494
12565
  var Question = class extends BaseEntity {
12495
12566
  };
12496
12567
  __decorateClass([
12497
- (0, import_typeorm68.Column)({ name: "question", type: "varchar" })
12568
+ (0, import_typeorm70.Column)({ name: "question", type: "varchar" })
12498
12569
  ], Question.prototype, "question", 2);
12499
12570
  __decorateClass([
12500
- (0, import_typeorm68.Column)({ name: "hint", type: "varchar", nullable: true })
12571
+ (0, import_typeorm70.Column)({ name: "hint", type: "varchar", nullable: true })
12501
12572
  ], Question.prototype, "hint", 2);
12502
12573
  __decorateClass([
12503
- (0, import_typeorm68.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12574
+ (0, import_typeorm70.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12504
12575
  ], Question.prototype, "slug", 2);
12505
12576
  __decorateClass([
12506
- (0, import_typeorm68.Column)({
12577
+ (0, import_typeorm70.Column)({
12507
12578
  name: "question_for",
12508
12579
  type: "enum",
12509
12580
  enum: QuestionFor,
@@ -12511,45 +12582,45 @@ __decorateClass([
12511
12582
  })
12512
12583
  ], Question.prototype, "questionFor", 2);
12513
12584
  __decorateClass([
12514
- (0, import_typeorm68.Column)({ name: "type", type: "varchar", nullable: true })
12585
+ (0, import_typeorm70.Column)({ name: "type", type: "varchar", nullable: true })
12515
12586
  ], Question.prototype, "type", 2);
12516
12587
  __decorateClass([
12517
- (0, import_typeorm68.Column)({ name: "options", type: "jsonb", nullable: true })
12588
+ (0, import_typeorm70.Column)({ name: "options", type: "jsonb", nullable: true })
12518
12589
  ], Question.prototype, "options", 2);
12519
12590
  __decorateClass([
12520
- (0, import_typeorm68.Column)({ name: "is_active", type: "boolean", default: false })
12591
+ (0, import_typeorm70.Column)({ name: "is_active", type: "boolean", default: false })
12521
12592
  ], Question.prototype, "isActive", 2);
12522
12593
  Question = __decorateClass([
12523
- (0, import_typeorm68.Entity)("questions")
12594
+ (0, import_typeorm70.Entity)("questions")
12524
12595
  ], Question);
12525
12596
 
12526
12597
  // src/entities/skill.entity.ts
12527
- var import_typeorm69 = require("typeorm");
12598
+ var import_typeorm71 = require("typeorm");
12528
12599
  var Skill = class extends BaseEntity {
12529
12600
  };
12530
12601
  __decorateClass([
12531
- (0, import_typeorm69.Column)({ name: "name", type: "varchar", nullable: true })
12602
+ (0, import_typeorm71.Column)({ name: "name", type: "varchar", nullable: true })
12532
12603
  ], Skill.prototype, "name", 2);
12533
12604
  __decorateClass([
12534
- (0, import_typeorm69.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12605
+ (0, import_typeorm71.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12535
12606
  ], Skill.prototype, "slug", 2);
12536
12607
  __decorateClass([
12537
- (0, import_typeorm69.Column)({ name: "is_active", type: "boolean", default: false })
12608
+ (0, import_typeorm71.Column)({ name: "is_active", type: "boolean", default: false })
12538
12609
  ], Skill.prototype, "isActive", 2);
12539
12610
  Skill = __decorateClass([
12540
- (0, import_typeorm69.Entity)("skills")
12611
+ (0, import_typeorm71.Entity)("skills")
12541
12612
  ], Skill);
12542
12613
 
12543
12614
  // src/entities/skill-catalog.entity.ts
12544
- var import_typeorm70 = require("typeorm");
12615
+ var import_typeorm72 = require("typeorm");
12545
12616
  var SkillCatalog = class extends BaseEntity {
12546
12617
  };
12547
12618
  __decorateClass([
12548
- (0, import_typeorm70.Column)({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
12549
- (0, import_typeorm70.Index)()
12619
+ (0, import_typeorm72.Column)({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
12620
+ (0, import_typeorm72.Index)()
12550
12621
  ], SkillCatalog.prototype, "canonicalName", 2);
12551
12622
  __decorateClass([
12552
- (0, import_typeorm70.Column)({
12623
+ (0, import_typeorm72.Column)({
12553
12624
  name: "aliases",
12554
12625
  type: "text",
12555
12626
  array: true,
@@ -12557,20 +12628,20 @@ __decorateClass([
12557
12628
  })
12558
12629
  ], SkillCatalog.prototype, "aliases", 2);
12559
12630
  __decorateClass([
12560
- (0, import_typeorm70.Column)({
12631
+ (0, import_typeorm72.Column)({
12561
12632
  name: "variations",
12562
12633
  type: "jsonb",
12563
12634
  default: "{}"
12564
12635
  })
12565
12636
  ], SkillCatalog.prototype, "variations", 2);
12566
12637
  __decorateClass([
12567
- (0, import_typeorm70.Column)({ name: "category", type: "varchar", length: 50, nullable: true })
12638
+ (0, import_typeorm72.Column)({ name: "category", type: "varchar", length: 50, nullable: true })
12568
12639
  ], SkillCatalog.prototype, "category", 2);
12569
12640
  __decorateClass([
12570
- (0, import_typeorm70.Column)({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
12641
+ (0, import_typeorm72.Column)({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
12571
12642
  ], SkillCatalog.prototype, "parentSkill", 2);
12572
12643
  __decorateClass([
12573
- (0, import_typeorm70.Column)({
12644
+ (0, import_typeorm72.Column)({
12574
12645
  name: "related_skills",
12575
12646
  type: "text",
12576
12647
  array: true,
@@ -12578,111 +12649,111 @@ __decorateClass([
12578
12649
  })
12579
12650
  ], SkillCatalog.prototype, "relatedSkills", 2);
12580
12651
  __decorateClass([
12581
- (0, import_typeorm70.Column)({ name: "usage_count", type: "integer", default: 0 }),
12582
- (0, import_typeorm70.Index)()
12652
+ (0, import_typeorm72.Column)({ name: "usage_count", type: "integer", default: 0 }),
12653
+ (0, import_typeorm72.Index)()
12583
12654
  ], SkillCatalog.prototype, "usageCount", 2);
12584
12655
  __decorateClass([
12585
- (0, import_typeorm70.Column)({ name: "is_verified", type: "boolean", default: false })
12656
+ (0, import_typeorm72.Column)({ name: "is_verified", type: "boolean", default: false })
12586
12657
  ], SkillCatalog.prototype, "isVerified", 2);
12587
12658
  __decorateClass([
12588
- (0, import_typeorm70.Column)({ name: "first_seen_date", type: "date" })
12659
+ (0, import_typeorm72.Column)({ name: "first_seen_date", type: "date" })
12589
12660
  ], SkillCatalog.prototype, "firstSeenDate", 2);
12590
12661
  __decorateClass([
12591
- (0, import_typeorm70.Column)({ name: "last_updated_date", type: "date" })
12662
+ (0, import_typeorm72.Column)({ name: "last_updated_date", type: "date" })
12592
12663
  ], SkillCatalog.prototype, "lastUpdatedDate", 2);
12593
12664
  __decorateClass([
12594
- (0, import_typeorm70.Column)({
12665
+ (0, import_typeorm72.Column)({
12595
12666
  name: "search_vector",
12596
12667
  type: "tsvector",
12597
12668
  nullable: true
12598
12669
  })
12599
12670
  ], SkillCatalog.prototype, "searchVector", 2);
12600
12671
  SkillCatalog = __decorateClass([
12601
- (0, import_typeorm70.Entity)("skill_catalogs")
12672
+ (0, import_typeorm72.Entity)("skill_catalogs")
12602
12673
  ], SkillCatalog);
12603
12674
 
12604
12675
  // src/entities/job-role.entity.ts
12605
- var import_typeorm71 = require("typeorm");
12676
+ var import_typeorm73 = require("typeorm");
12606
12677
  var JobRoles = class extends BaseEntity {
12607
12678
  };
12608
12679
  __decorateClass([
12609
- (0, import_typeorm71.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12680
+ (0, import_typeorm73.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12610
12681
  ], JobRoles.prototype, "slug", 2);
12611
12682
  __decorateClass([
12612
- (0, import_typeorm71.Column)({ name: "name", type: "varchar", nullable: true })
12683
+ (0, import_typeorm73.Column)({ name: "name", type: "varchar", nullable: true })
12613
12684
  ], JobRoles.prototype, "name", 2);
12614
12685
  __decorateClass([
12615
- (0, import_typeorm71.Column)({ name: "is_active", type: "boolean", default: true })
12686
+ (0, import_typeorm73.Column)({ name: "is_active", type: "boolean", default: true })
12616
12687
  ], JobRoles.prototype, "isActive", 2);
12617
12688
  JobRoles = __decorateClass([
12618
- (0, import_typeorm71.Entity)("job_roles")
12689
+ (0, import_typeorm73.Entity)("job_roles")
12619
12690
  ], JobRoles);
12620
12691
 
12621
12692
  // src/entities/plan.entity.ts
12622
- var import_typeorm73 = require("typeorm");
12693
+ var import_typeorm75 = require("typeorm");
12623
12694
 
12624
12695
  // src/entities/feature.entity.ts
12625
- var import_typeorm72 = require("typeorm");
12696
+ var import_typeorm74 = require("typeorm");
12626
12697
  var Feature = class extends BaseEntity {
12627
12698
  };
12628
12699
  __decorateClass([
12629
- (0, import_typeorm72.Column)({ name: "name", type: "varchar", unique: true })
12700
+ (0, import_typeorm74.Column)({ name: "name", type: "varchar", unique: true })
12630
12701
  ], Feature.prototype, "name", 2);
12631
12702
  __decorateClass([
12632
- (0, import_typeorm72.ManyToMany)(() => Plan, (plan) => plan.features)
12703
+ (0, import_typeorm74.ManyToMany)(() => Plan, (plan) => plan.features)
12633
12704
  ], Feature.prototype, "plans", 2);
12634
12705
  Feature = __decorateClass([
12635
- (0, import_typeorm72.Entity)("features")
12706
+ (0, import_typeorm74.Entity)("features")
12636
12707
  ], Feature);
12637
12708
 
12638
12709
  // src/entities/plan.entity.ts
12639
12710
  var Plan = class extends BaseEntity {
12640
12711
  };
12641
12712
  __decorateClass([
12642
- (0, import_typeorm73.Column)({ name: "name", type: "varchar", unique: true })
12713
+ (0, import_typeorm75.Column)({ name: "name", type: "varchar", unique: true })
12643
12714
  ], Plan.prototype, "name", 2);
12644
12715
  __decorateClass([
12645
- (0, import_typeorm73.Column)({ name: "description", type: "varchar", nullable: true })
12716
+ (0, import_typeorm75.Column)({ name: "description", type: "varchar", nullable: true })
12646
12717
  ], Plan.prototype, "description", 2);
12647
12718
  __decorateClass([
12648
- (0, import_typeorm73.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
12719
+ (0, import_typeorm75.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
12649
12720
  ], Plan.prototype, "price", 2);
12650
12721
  __decorateClass([
12651
- (0, import_typeorm73.Column)({ name: "billing_period", type: "varchar" })
12722
+ (0, import_typeorm75.Column)({ name: "billing_period", type: "varchar" })
12652
12723
  ], Plan.prototype, "billingPeriod", 2);
12653
12724
  __decorateClass([
12654
- (0, import_typeorm73.Column)({ name: "is_current", type: "boolean", default: false })
12725
+ (0, import_typeorm75.Column)({ name: "is_current", type: "boolean", default: false })
12655
12726
  ], Plan.prototype, "isCurrent", 2);
12656
12727
  __decorateClass([
12657
- (0, import_typeorm73.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
12658
- (0, import_typeorm73.JoinTable)()
12728
+ (0, import_typeorm75.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
12729
+ (0, import_typeorm75.JoinTable)()
12659
12730
  ], Plan.prototype, "features", 2);
12660
12731
  Plan = __decorateClass([
12661
- (0, import_typeorm73.Entity)("plans")
12732
+ (0, import_typeorm75.Entity)("plans")
12662
12733
  ], Plan);
12663
12734
 
12664
12735
  // src/entities/cms.entity.ts
12665
- var import_typeorm74 = require("typeorm");
12736
+ var import_typeorm76 = require("typeorm");
12666
12737
  var Cms = class extends BaseEntity {
12667
12738
  };
12668
12739
  __decorateClass([
12669
- (0, import_typeorm74.Column)({ name: "title", type: "varchar", nullable: true })
12740
+ (0, import_typeorm76.Column)({ name: "title", type: "varchar", nullable: true })
12670
12741
  ], Cms.prototype, "title", 2);
12671
12742
  __decorateClass([
12672
- (0, import_typeorm74.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12743
+ (0, import_typeorm76.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12673
12744
  ], Cms.prototype, "slug", 2);
12674
12745
  __decorateClass([
12675
- (0, import_typeorm74.Column)({ name: "content", type: "varchar", nullable: true })
12746
+ (0, import_typeorm76.Column)({ name: "content", type: "varchar", nullable: true })
12676
12747
  ], Cms.prototype, "content", 2);
12677
12748
  __decorateClass([
12678
- (0, import_typeorm74.Column)({ name: "is_active", type: "boolean", default: true })
12749
+ (0, import_typeorm76.Column)({ name: "is_active", type: "boolean", default: true })
12679
12750
  ], Cms.prototype, "isActive", 2);
12680
12751
  Cms = __decorateClass([
12681
- (0, import_typeorm74.Entity)("cms")
12752
+ (0, import_typeorm76.Entity)("cms")
12682
12753
  ], Cms);
12683
12754
 
12684
12755
  // src/entities/lead.entity.ts
12685
- var import_typeorm75 = require("typeorm");
12756
+ var import_typeorm77 = require("typeorm");
12686
12757
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
12687
12758
  CategoryEmum2["BUSINESS"] = "BUSINESS";
12688
12759
  CategoryEmum2["FREELANCER"] = "FREELANCER";
@@ -12691,22 +12762,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
12691
12762
  var Lead = class extends BaseEntity {
12692
12763
  };
12693
12764
  __decorateClass([
12694
- (0, import_typeorm75.Column)({ name: "name", type: "varchar", nullable: true })
12765
+ (0, import_typeorm77.Column)({ name: "name", type: "varchar", nullable: true })
12695
12766
  ], Lead.prototype, "name", 2);
12696
12767
  __decorateClass([
12697
- (0, import_typeorm75.Column)({ name: "mobile_code", type: "varchar", nullable: true })
12768
+ (0, import_typeorm77.Column)({ name: "mobile_code", type: "varchar", nullable: true })
12698
12769
  ], Lead.prototype, "mobileCode", 2);
12699
12770
  __decorateClass([
12700
- (0, import_typeorm75.Column)({ name: "mobile", type: "varchar", nullable: true })
12771
+ (0, import_typeorm77.Column)({ name: "mobile", type: "varchar", nullable: true })
12701
12772
  ], Lead.prototype, "mobile", 2);
12702
12773
  __decorateClass([
12703
- (0, import_typeorm75.Column)({ name: "email", type: "varchar", nullable: true })
12774
+ (0, import_typeorm77.Column)({ name: "email", type: "varchar", nullable: true })
12704
12775
  ], Lead.prototype, "email", 2);
12705
12776
  __decorateClass([
12706
- (0, import_typeorm75.Column)({ name: "description", type: "varchar", nullable: true })
12777
+ (0, import_typeorm77.Column)({ name: "description", type: "varchar", nullable: true })
12707
12778
  ], Lead.prototype, "description", 2);
12708
12779
  __decorateClass([
12709
- (0, import_typeorm75.Column)({
12780
+ (0, import_typeorm77.Column)({
12710
12781
  name: "category",
12711
12782
  type: "enum",
12712
12783
  enum: CategoryEmum,
@@ -12714,129 +12785,129 @@ __decorateClass([
12714
12785
  })
12715
12786
  ], Lead.prototype, "category", 2);
12716
12787
  Lead = __decorateClass([
12717
- (0, import_typeorm75.Entity)("leads")
12788
+ (0, import_typeorm77.Entity)("leads")
12718
12789
  ], Lead);
12719
12790
 
12720
12791
  // src/entities/job-freelancer-recommendation.entity.ts
12721
- var import_typeorm76 = require("typeorm");
12792
+ var import_typeorm78 = require("typeorm");
12722
12793
  var JobFreelancerRecommendation = class {
12723
12794
  };
12724
12795
  __decorateClass([
12725
- (0, import_typeorm76.ViewColumn)({ name: "job_id" })
12796
+ (0, import_typeorm78.ViewColumn)({ name: "job_id" })
12726
12797
  ], JobFreelancerRecommendation.prototype, "jobId", 2);
12727
12798
  __decorateClass([
12728
- (0, import_typeorm76.ViewColumn)({ name: "job_uuid" })
12799
+ (0, import_typeorm78.ViewColumn)({ name: "job_uuid" })
12729
12800
  ], JobFreelancerRecommendation.prototype, "jobUuid", 2);
12730
12801
  __decorateClass([
12731
- (0, import_typeorm76.ViewColumn)({ name: "job_unique_id" })
12802
+ (0, import_typeorm78.ViewColumn)({ name: "job_unique_id" })
12732
12803
  ], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
12733
12804
  __decorateClass([
12734
- (0, import_typeorm76.ViewColumn)({ name: "job_role" })
12805
+ (0, import_typeorm78.ViewColumn)({ name: "job_role" })
12735
12806
  ], JobFreelancerRecommendation.prototype, "jobRole", 2);
12736
12807
  __decorateClass([
12737
- (0, import_typeorm76.ViewColumn)({ name: "job_openings" })
12808
+ (0, import_typeorm78.ViewColumn)({ name: "job_openings" })
12738
12809
  ], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
12739
12810
  __decorateClass([
12740
- (0, import_typeorm76.ViewColumn)({ name: "job_location" })
12811
+ (0, import_typeorm78.ViewColumn)({ name: "job_location" })
12741
12812
  ], JobFreelancerRecommendation.prototype, "jobLocation", 2);
12742
12813
  __decorateClass([
12743
- (0, import_typeorm76.ViewColumn)({ name: "job_currency" })
12814
+ (0, import_typeorm78.ViewColumn)({ name: "job_currency" })
12744
12815
  ], JobFreelancerRecommendation.prototype, "jobCurrency", 2);
12745
12816
  __decorateClass([
12746
- (0, import_typeorm76.ViewColumn)({ name: "job_salary_from" })
12817
+ (0, import_typeorm78.ViewColumn)({ name: "job_salary_from" })
12747
12818
  ], JobFreelancerRecommendation.prototype, "jobSalaryFrom", 2);
12748
12819
  __decorateClass([
12749
- (0, import_typeorm76.ViewColumn)({ name: "job_salary_to" })
12820
+ (0, import_typeorm78.ViewColumn)({ name: "job_salary_to" })
12750
12821
  ], JobFreelancerRecommendation.prototype, "jobSalaryTo", 2);
12751
12822
  __decorateClass([
12752
- (0, import_typeorm76.ViewColumn)({ name: "job_employment_type" })
12823
+ (0, import_typeorm78.ViewColumn)({ name: "job_employment_type" })
12753
12824
  ], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
12754
12825
  __decorateClass([
12755
- (0, import_typeorm76.ViewColumn)({ name: "application_received" })
12826
+ (0, import_typeorm78.ViewColumn)({ name: "application_received" })
12756
12827
  ], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
12757
12828
  __decorateClass([
12758
- (0, import_typeorm76.ViewColumn)({ name: "job_posted_at" })
12829
+ (0, import_typeorm78.ViewColumn)({ name: "job_posted_at" })
12759
12830
  ], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
12760
12831
  __decorateClass([
12761
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_id" })
12832
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_id" })
12762
12833
  ], JobFreelancerRecommendation.prototype, "freelancerId", 2);
12763
12834
  __decorateClass([
12764
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_uuid" })
12835
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_uuid" })
12765
12836
  ], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
12766
12837
  __decorateClass([
12767
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_unique_id" })
12838
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_unique_id" })
12768
12839
  ], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
12769
12840
  __decorateClass([
12770
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_first_name" })
12841
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_first_name" })
12771
12842
  ], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
12772
12843
  __decorateClass([
12773
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_last_name" })
12844
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_last_name" })
12774
12845
  ], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
12775
12846
  __decorateClass([
12776
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_email" })
12847
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_email" })
12777
12848
  ], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
12778
12849
  __decorateClass([
12779
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_profile_picture" })
12850
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_profile_picture" })
12780
12851
  ], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
12781
12852
  __decorateClass([
12782
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_is_social" })
12853
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_is_social" })
12783
12854
  ], JobFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
12784
12855
  __decorateClass([
12785
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_created_at" })
12856
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_created_at" })
12786
12857
  ], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
12787
12858
  __decorateClass([
12788
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_designation" })
12859
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_designation" })
12789
12860
  ], JobFreelancerRecommendation.prototype, "freelancerDesignation", 2);
12790
12861
  __decorateClass([
12791
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_experience" })
12862
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_experience" })
12792
12863
  ], JobFreelancerRecommendation.prototype, "freelancerExperience", 2);
12793
12864
  __decorateClass([
12794
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_expertshub_verified" })
12865
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_expertshub_verified" })
12795
12866
  ], JobFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
12796
12867
  __decorateClass([
12797
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_hourly_compensation" })
12868
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_hourly_compensation" })
12798
12869
  ], JobFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
12799
12870
  __decorateClass([
12800
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_country_name" })
12871
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_country_name" })
12801
12872
  ], JobFreelancerRecommendation.prototype, "freelancerCountryName", 2);
12802
12873
  __decorateClass([
12803
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_country_iso_code" })
12874
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_country_iso_code" })
12804
12875
  ], JobFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
12805
12876
  __decorateClass([
12806
- (0, import_typeorm76.ViewColumn)({ name: "client_id" })
12877
+ (0, import_typeorm78.ViewColumn)({ name: "client_id" })
12807
12878
  ], JobFreelancerRecommendation.prototype, "clientId", 2);
12808
12879
  __decorateClass([
12809
- (0, import_typeorm76.ViewColumn)({ name: "client_uuid" })
12880
+ (0, import_typeorm78.ViewColumn)({ name: "client_uuid" })
12810
12881
  ], JobFreelancerRecommendation.prototype, "clientUuid", 2);
12811
12882
  __decorateClass([
12812
- (0, import_typeorm76.ViewColumn)({ name: "client_first_name" })
12883
+ (0, import_typeorm78.ViewColumn)({ name: "client_first_name" })
12813
12884
  ], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
12814
12885
  __decorateClass([
12815
- (0, import_typeorm76.ViewColumn)({ name: "client_last_name" })
12886
+ (0, import_typeorm78.ViewColumn)({ name: "client_last_name" })
12816
12887
  ], JobFreelancerRecommendation.prototype, "clientLastName", 2);
12817
12888
  __decorateClass([
12818
- (0, import_typeorm76.ViewColumn)({ name: "client_email" })
12889
+ (0, import_typeorm78.ViewColumn)({ name: "client_email" })
12819
12890
  ], JobFreelancerRecommendation.prototype, "clientEmail", 2);
12820
12891
  __decorateClass([
12821
- (0, import_typeorm76.ViewColumn)({ name: "client_company_logo" })
12892
+ (0, import_typeorm78.ViewColumn)({ name: "client_company_logo" })
12822
12893
  ], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
12823
12894
  __decorateClass([
12824
- (0, import_typeorm76.ViewColumn)({ name: "client_company_name" })
12895
+ (0, import_typeorm78.ViewColumn)({ name: "client_company_name" })
12825
12896
  ], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
12826
12897
  __decorateClass([
12827
- (0, import_typeorm76.ViewColumn)({ name: "matching_skills" })
12898
+ (0, import_typeorm78.ViewColumn)({ name: "matching_skills" })
12828
12899
  ], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
12829
12900
  __decorateClass([
12830
- (0, import_typeorm76.ViewColumn)({ name: "matching_skills_count" })
12901
+ (0, import_typeorm78.ViewColumn)({ name: "matching_skills_count" })
12831
12902
  ], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
12832
12903
  __decorateClass([
12833
- (0, import_typeorm76.ViewColumn)({ name: "required_skills" })
12904
+ (0, import_typeorm78.ViewColumn)({ name: "required_skills" })
12834
12905
  ], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
12835
12906
  __decorateClass([
12836
- (0, import_typeorm76.ViewColumn)({ name: "required_skills_count" })
12907
+ (0, import_typeorm78.ViewColumn)({ name: "required_skills_count" })
12837
12908
  ], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
12838
12909
  JobFreelancerRecommendation = __decorateClass([
12839
- (0, import_typeorm76.ViewEntity)({
12910
+ (0, import_typeorm78.ViewEntity)({
12840
12911
  name: "job_freelancer_recommendations",
12841
12912
  materialized: true,
12842
12913
  synchronize: false
@@ -12845,32 +12916,32 @@ JobFreelancerRecommendation = __decorateClass([
12845
12916
  ], JobFreelancerRecommendation);
12846
12917
 
12847
12918
  // src/entities/job-freelancer-recommendation-v2.entity.ts
12848
- var import_typeorm77 = require("typeorm");
12919
+ var import_typeorm79 = require("typeorm");
12849
12920
  var JobFreelancerRecommendationV2 = class {
12850
12921
  };
12851
12922
  __decorateClass([
12852
- (0, import_typeorm77.ViewColumn)({ name: "job_id" })
12923
+ (0, import_typeorm79.ViewColumn)({ name: "job_id" })
12853
12924
  ], JobFreelancerRecommendationV2.prototype, "jobId", 2);
12854
12925
  __decorateClass([
12855
- (0, import_typeorm77.ViewColumn)({ name: "job_owner_id" })
12926
+ (0, import_typeorm79.ViewColumn)({ name: "job_owner_id" })
12856
12927
  ], JobFreelancerRecommendationV2.prototype, "jobOwnerId", 2);
12857
12928
  __decorateClass([
12858
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_id" })
12929
+ (0, import_typeorm79.ViewColumn)({ name: "freelancer_id" })
12859
12930
  ], JobFreelancerRecommendationV2.prototype, "freelancerId", 2);
12860
12931
  __decorateClass([
12861
- (0, import_typeorm77.ViewColumn)({ name: "matching_skills" })
12932
+ (0, import_typeorm79.ViewColumn)({ name: "matching_skills" })
12862
12933
  ], JobFreelancerRecommendationV2.prototype, "matchingSkills", 2);
12863
12934
  __decorateClass([
12864
- (0, import_typeorm77.ViewColumn)({ name: "matching_skills_count" })
12935
+ (0, import_typeorm79.ViewColumn)({ name: "matching_skills_count" })
12865
12936
  ], JobFreelancerRecommendationV2.prototype, "matchingSkillsCount", 2);
12866
12937
  __decorateClass([
12867
- (0, import_typeorm77.ViewColumn)({ name: "required_skills" })
12938
+ (0, import_typeorm79.ViewColumn)({ name: "required_skills" })
12868
12939
  ], JobFreelancerRecommendationV2.prototype, "requiredSkills", 2);
12869
12940
  __decorateClass([
12870
- (0, import_typeorm77.ViewColumn)({ name: "required_skills_count" })
12941
+ (0, import_typeorm79.ViewColumn)({ name: "required_skills_count" })
12871
12942
  ], JobFreelancerRecommendationV2.prototype, "requiredSkillsCount", 2);
12872
12943
  JobFreelancerRecommendationV2 = __decorateClass([
12873
- (0, import_typeorm77.ViewEntity)({
12944
+ (0, import_typeorm79.ViewEntity)({
12874
12945
  name: "job_freelancer_recommendations_v2",
12875
12946
  materialized: true,
12876
12947
  synchronize: false
@@ -12879,74 +12950,74 @@ JobFreelancerRecommendationV2 = __decorateClass([
12879
12950
  ], JobFreelancerRecommendationV2);
12880
12951
 
12881
12952
  // src/entities/client-freelancer-recommendation.entity.ts
12882
- var import_typeorm78 = require("typeorm");
12953
+ var import_typeorm80 = require("typeorm");
12883
12954
  var ClientFreelancerRecommendation = class {
12884
12955
  };
12885
12956
  __decorateClass([
12886
- (0, import_typeorm78.ViewColumn)({ name: "client_id" })
12957
+ (0, import_typeorm80.ViewColumn)({ name: "client_id" })
12887
12958
  ], ClientFreelancerRecommendation.prototype, "clientId", 2);
12888
12959
  __decorateClass([
12889
- (0, import_typeorm78.ViewColumn)({ name: "client_uuid" })
12960
+ (0, import_typeorm80.ViewColumn)({ name: "client_uuid" })
12890
12961
  ], ClientFreelancerRecommendation.prototype, "clientUuid", 2);
12891
12962
  __decorateClass([
12892
- (0, import_typeorm78.ViewColumn)({ name: "freelancer_id" })
12963
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_id" })
12893
12964
  ], ClientFreelancerRecommendation.prototype, "freelancerId", 2);
12894
12965
  __decorateClass([
12895
- (0, import_typeorm78.ViewColumn)({ name: "freelancer_uuid" })
12966
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_uuid" })
12896
12967
  ], ClientFreelancerRecommendation.prototype, "freelancerUuid", 2);
12897
12968
  __decorateClass([
12898
- (0, import_typeorm78.ViewColumn)({ name: "freelancer_unique_id" })
12969
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_unique_id" })
12899
12970
  ], ClientFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
12900
12971
  __decorateClass([
12901
- (0, import_typeorm78.ViewColumn)({ name: "freelancer_first_name" })
12972
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_first_name" })
12902
12973
  ], ClientFreelancerRecommendation.prototype, "freelancerFirstName", 2);
12903
12974
  __decorateClass([
12904
- (0, import_typeorm78.ViewColumn)({ name: "freelancer_last_name" })
12975
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_last_name" })
12905
12976
  ], ClientFreelancerRecommendation.prototype, "freelancerLastName", 2);
12906
12977
  __decorateClass([
12907
- (0, import_typeorm78.ViewColumn)({ name: "freelancer_email" })
12978
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_email" })
12908
12979
  ], ClientFreelancerRecommendation.prototype, "freelancerEmail", 2);
12909
12980
  __decorateClass([
12910
- (0, import_typeorm78.ViewColumn)({ name: "freelancer_profile_picture" })
12981
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_profile_picture" })
12911
12982
  ], ClientFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
12912
12983
  __decorateClass([
12913
- (0, import_typeorm78.ViewColumn)({ name: "freelancer_is_social" })
12984
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_is_social" })
12914
12985
  ], ClientFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
12915
12986
  __decorateClass([
12916
- (0, import_typeorm78.ViewColumn)({ name: "freelancer_created_at" })
12987
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_created_at" })
12917
12988
  ], ClientFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
12918
12989
  __decorateClass([
12919
- (0, import_typeorm78.ViewColumn)({ name: "freelancer_designation" })
12990
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_designation" })
12920
12991
  ], ClientFreelancerRecommendation.prototype, "freelancerDesignation", 2);
12921
12992
  __decorateClass([
12922
- (0, import_typeorm78.ViewColumn)({ name: "freelancer_experience" })
12993
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_experience" })
12923
12994
  ], ClientFreelancerRecommendation.prototype, "freelancerExperience", 2);
12924
12995
  __decorateClass([
12925
- (0, import_typeorm78.ViewColumn)({ name: "freelancer_expertshub_verified" })
12996
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_expertshub_verified" })
12926
12997
  ], ClientFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
12927
12998
  __decorateClass([
12928
- (0, import_typeorm78.ViewColumn)({ name: "freelancer_hourly_compensation" })
12999
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_hourly_compensation" })
12929
13000
  ], ClientFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
12930
13001
  __decorateClass([
12931
- (0, import_typeorm78.ViewColumn)({ name: "freelancer_country_name" })
13002
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_country_name" })
12932
13003
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryName", 2);
12933
13004
  __decorateClass([
12934
- (0, import_typeorm78.ViewColumn)({ name: "freelancer_country_iso_code" })
13005
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_country_iso_code" })
12935
13006
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
12936
13007
  __decorateClass([
12937
- (0, import_typeorm78.ViewColumn)({ name: "matching_skills" })
13008
+ (0, import_typeorm80.ViewColumn)({ name: "matching_skills" })
12938
13009
  ], ClientFreelancerRecommendation.prototype, "matchingSkills", 2);
12939
13010
  __decorateClass([
12940
- (0, import_typeorm78.ViewColumn)({ name: "matching_skills_count" })
13011
+ (0, import_typeorm80.ViewColumn)({ name: "matching_skills_count" })
12941
13012
  ], ClientFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
12942
13013
  __decorateClass([
12943
- (0, import_typeorm78.ViewColumn)({ name: "required_skills" })
13014
+ (0, import_typeorm80.ViewColumn)({ name: "required_skills" })
12944
13015
  ], ClientFreelancerRecommendation.prototype, "requiredSkills", 2);
12945
13016
  __decorateClass([
12946
- (0, import_typeorm78.ViewColumn)({ name: "required_skills_count" })
13017
+ (0, import_typeorm80.ViewColumn)({ name: "required_skills_count" })
12947
13018
  ], ClientFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
12948
13019
  ClientFreelancerRecommendation = __decorateClass([
12949
- (0, import_typeorm78.ViewEntity)({
13020
+ (0, import_typeorm80.ViewEntity)({
12950
13021
  name: "client_freelancer_recommendations",
12951
13022
  materialized: true,
12952
13023
  synchronize: false
@@ -12955,7 +13026,7 @@ ClientFreelancerRecommendation = __decorateClass([
12955
13026
  ], ClientFreelancerRecommendation);
12956
13027
 
12957
13028
  // src/entities/commission.entity.ts
12958
- var import_typeorm79 = require("typeorm");
13029
+ var import_typeorm81 = require("typeorm");
12959
13030
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
12960
13031
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
12961
13032
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -12964,7 +13035,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
12964
13035
  var Commission = class extends BaseEntity {
12965
13036
  };
12966
13037
  __decorateClass([
12967
- (0, import_typeorm79.Column)({
13038
+ (0, import_typeorm81.Column)({
12968
13039
  name: "freelancer_commission_type",
12969
13040
  type: "enum",
12970
13041
  enum: CommissionTypeEnum,
@@ -12972,10 +13043,10 @@ __decorateClass([
12972
13043
  })
12973
13044
  ], Commission.prototype, "freelancerCommissionType", 2);
12974
13045
  __decorateClass([
12975
- (0, import_typeorm79.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
13046
+ (0, import_typeorm81.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
12976
13047
  ], Commission.prototype, "freelancerCommission", 2);
12977
13048
  __decorateClass([
12978
- (0, import_typeorm79.Column)({
13049
+ (0, import_typeorm81.Column)({
12979
13050
  name: "client_commission_type",
12980
13051
  type: "enum",
12981
13052
  enum: CommissionTypeEnum,
@@ -12983,108 +13054,108 @@ __decorateClass([
12983
13054
  })
12984
13055
  ], Commission.prototype, "clientCommissionType", 2);
12985
13056
  __decorateClass([
12986
- (0, import_typeorm79.Column)({ name: "client_commission", type: "integer", default: 0 })
13057
+ (0, import_typeorm81.Column)({ name: "client_commission", type: "integer", default: 0 })
12987
13058
  ], Commission.prototype, "clientCommission", 2);
12988
13059
  Commission = __decorateClass([
12989
- (0, import_typeorm79.Entity)("commissions")
13060
+ (0, import_typeorm81.Entity)("commissions")
12990
13061
  ], Commission);
12991
13062
 
12992
13063
  // src/entities/calendly-meeting-log.entity.ts
12993
- var import_typeorm80 = require("typeorm");
13064
+ var import_typeorm82 = require("typeorm");
12994
13065
  var CalendlyMeetingLog = class extends BaseEntity {
12995
13066
  };
12996
13067
  __decorateClass([
12997
- (0, import_typeorm80.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
12998
- (0, import_typeorm80.Index)()
13068
+ (0, import_typeorm82.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
13069
+ (0, import_typeorm82.Index)()
12999
13070
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
13000
13071
  __decorateClass([
13001
- (0, import_typeorm80.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
13072
+ (0, import_typeorm82.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
13002
13073
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
13003
13074
  __decorateClass([
13004
- (0, import_typeorm80.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13075
+ (0, import_typeorm82.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13005
13076
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
13006
13077
  CalendlyMeetingLog = __decorateClass([
13007
- (0, import_typeorm80.Entity)("calendly_meeting_logs")
13078
+ (0, import_typeorm82.Entity)("calendly_meeting_logs")
13008
13079
  ], CalendlyMeetingLog);
13009
13080
 
13010
13081
  // src/entities/zoom-meeting-log.entity.ts
13011
- var import_typeorm81 = require("typeorm");
13082
+ var import_typeorm83 = require("typeorm");
13012
13083
  var ZoomMeetingLog = class extends BaseEntity {
13013
13084
  };
13014
13085
  __decorateClass([
13015
- (0, import_typeorm81.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
13016
- (0, import_typeorm81.Index)()
13086
+ (0, import_typeorm83.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
13087
+ (0, import_typeorm83.Index)()
13017
13088
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
13018
13089
  __decorateClass([
13019
- (0, import_typeorm81.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
13090
+ (0, import_typeorm83.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
13020
13091
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
13021
13092
  __decorateClass([
13022
- (0, import_typeorm81.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13093
+ (0, import_typeorm83.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13023
13094
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
13024
13095
  ZoomMeetingLog = __decorateClass([
13025
- (0, import_typeorm81.Entity)("zoom_meeting_logs")
13096
+ (0, import_typeorm83.Entity)("zoom_meeting_logs")
13026
13097
  ], ZoomMeetingLog);
13027
13098
 
13028
13099
  // src/entities/stripe-logs.entity.ts
13029
- var import_typeorm82 = require("typeorm");
13100
+ var import_typeorm84 = require("typeorm");
13030
13101
  var StripeLog = class extends BaseEntity {
13031
13102
  };
13032
13103
  __decorateClass([
13033
- (0, import_typeorm82.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
13104
+ (0, import_typeorm84.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
13034
13105
  ], StripeLog.prototype, "stripeEventId", 2);
13035
13106
  __decorateClass([
13036
- (0, import_typeorm82.Column)({ name: "event_type", type: "varchar", nullable: true })
13107
+ (0, import_typeorm84.Column)({ name: "event_type", type: "varchar", nullable: true })
13037
13108
  ], StripeLog.prototype, "eventType", 2);
13038
13109
  __decorateClass([
13039
- (0, import_typeorm82.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
13110
+ (0, import_typeorm84.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
13040
13111
  ], StripeLog.prototype, "stripeAccountId", 2);
13041
13112
  __decorateClass([
13042
- (0, import_typeorm82.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13113
+ (0, import_typeorm84.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13043
13114
  ], StripeLog.prototype, "rawWebhookData", 2);
13044
13115
  StripeLog = __decorateClass([
13045
- (0, import_typeorm82.Entity)("stripe_logs")
13116
+ (0, import_typeorm84.Entity)("stripe_logs")
13046
13117
  ], StripeLog);
13047
13118
 
13048
13119
  // src/entities/recommendation-weightage-config.entity.ts
13049
- var import_typeorm83 = require("typeorm");
13120
+ var import_typeorm85 = require("typeorm");
13050
13121
  var RecommendationWeightageConfig = class extends BaseEntity {
13051
13122
  };
13052
13123
  __decorateClass([
13053
- (0, import_typeorm83.Column)({
13124
+ (0, import_typeorm85.Column)({
13054
13125
  type: "varchar",
13055
13126
  length: 100,
13056
13127
  unique: true,
13057
13128
  comment: "Unique key identifier (e.g., full_time_weights, hourly_weights)"
13058
13129
  }),
13059
- (0, import_typeorm83.Index)()
13130
+ (0, import_typeorm85.Index)()
13060
13131
  ], RecommendationWeightageConfig.prototype, "key", 2);
13061
13132
  __decorateClass([
13062
- (0, import_typeorm83.Column)({
13133
+ (0, import_typeorm85.Column)({
13063
13134
  type: "jsonb",
13064
13135
  comment: "JSON object containing weight values",
13065
13136
  nullable: true
13066
13137
  })
13067
13138
  ], RecommendationWeightageConfig.prototype, "value", 2);
13068
13139
  __decorateClass([
13069
- (0, import_typeorm83.Column)({ name: "is_active", type: "boolean", default: true })
13140
+ (0, import_typeorm85.Column)({ name: "is_active", type: "boolean", default: true })
13070
13141
  ], RecommendationWeightageConfig.prototype, "isActive", 2);
13071
13142
  RecommendationWeightageConfig = __decorateClass([
13072
- (0, import_typeorm83.Entity)("recommendation_weightage_configs")
13143
+ (0, import_typeorm85.Entity)("recommendation_weightage_configs")
13073
13144
  ], RecommendationWeightageConfig);
13074
13145
 
13075
13146
  // src/entities/global-setting.entity.ts
13076
- var import_typeorm84 = require("typeorm");
13147
+ var import_typeorm86 = require("typeorm");
13077
13148
  var GlobalSetting = class extends BaseEntity {
13078
13149
  };
13079
13150
  __decorateClass([
13080
- (0, import_typeorm84.Column)({ name: "key", type: "varchar", length: 255, nullable: false, unique: true })
13151
+ (0, import_typeorm86.Column)({ name: "key", type: "varchar", length: 255, nullable: false, unique: true })
13081
13152
  ], GlobalSetting.prototype, "key", 2);
13082
13153
  __decorateClass([
13083
- (0, import_typeorm84.Column)({ name: "value", type: "text", nullable: false })
13154
+ (0, import_typeorm86.Column)({ name: "value", type: "text", nullable: false })
13084
13155
  ], GlobalSetting.prototype, "value", 2);
13085
13156
  GlobalSetting = __decorateClass([
13086
- (0, import_typeorm84.Entity)("global_settings"),
13087
- (0, import_typeorm84.Index)(["key"], { unique: true })
13157
+ (0, import_typeorm86.Entity)("global_settings"),
13158
+ (0, import_typeorm86.Index)(["key"], { unique: true })
13088
13159
  ], GlobalSetting);
13089
13160
  // Annotate the CommonJS export names for ESM import in node:
13090
13161
  0 && (module.exports = {
@@ -13218,6 +13289,7 @@ GlobalSetting = __decorateClass([
13218
13289
  DiscordTransport,
13219
13290
  Dispute,
13220
13291
  DisputeStatusEnum,
13292
+ DocuSeal,
13221
13293
  DocumentType,
13222
13294
  DurationTypeEnum,
13223
13295
  EMAIL_PATTERN,
@@ -13290,6 +13362,7 @@ GlobalSetting = __decorateClass([
13290
13362
  INTERVIEW_INVITE_PATTERN,
13291
13363
  INTERVIEW_PATTERN,
13292
13364
  INVOICE_PATTERN,
13365
+ InAppNotification,
13293
13366
  InitiatorTypeEnum,
13294
13367
  Interview,
13295
13368
  InterviewInvite,