@experts_hub/shared 1.0.651 → 1.0.652

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