@experts_hub/shared 1.0.687 → 1.0.689

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -988,13 +988,13 @@ import { IsEnum as IsEnum13 } from "class-validator";
988
988
 
989
989
  // src/entities/user.entity.ts
990
990
  import {
991
- Entity as Entity73,
992
- Column as Column74,
991
+ Entity as Entity74,
992
+ Column as Column75,
993
993
  OneToMany as OneToMany25,
994
994
  OneToOne as OneToOne12,
995
- Index as Index66,
996
- ManyToOne as ManyToOne68,
997
- JoinColumn as JoinColumn69
995
+ Index as Index67,
996
+ ManyToOne as ManyToOne69,
997
+ JoinColumn as JoinColumn70
998
998
  } from "typeorm";
999
999
 
1000
1000
  // src/entities/base.entity.ts
@@ -1871,11 +1871,11 @@ FreelancerProfile = __decorateClass([
1871
1871
 
1872
1872
  // src/entities/job.entity.ts
1873
1873
  import {
1874
- Entity as Entity39,
1875
- Column as Column40,
1876
- Index as Index32,
1877
- ManyToOne as ManyToOne38,
1878
- JoinColumn as JoinColumn38,
1874
+ Entity as Entity40,
1875
+ Column as Column41,
1876
+ Index as Index33,
1877
+ ManyToOne as ManyToOne39,
1878
+ JoinColumn as JoinColumn39,
1879
1879
  OneToMany as OneToMany15
1880
1880
  } from "typeorm";
1881
1881
 
@@ -3779,10 +3779,10 @@ Contract = __decorateClass([
3779
3779
  ], Contract);
3780
3780
 
3781
3781
  // src/entities/timesheets.entity.ts
3782
- import { Entity as Entity36, Column as Column37, Index as Index29, JoinColumn as JoinColumn35, ManyToOne as ManyToOne35 } from "typeorm";
3782
+ import { Entity as Entity37, Column as Column38, Index as Index30, JoinColumn as JoinColumn36, ManyToOne as ManyToOne36 } from "typeorm";
3783
3783
 
3784
3784
  // src/entities/task.entity.ts
3785
- import { Entity as Entity35, Column as Column36, Index as Index28, ManyToOne as ManyToOne34, JoinColumn as JoinColumn34, OneToMany as OneToMany14 } from "typeorm";
3785
+ import { Entity as Entity36, Column as Column37, Index as Index29, ManyToOne as ManyToOne35, JoinColumn as JoinColumn35, OneToMany as OneToMany14 } from "typeorm";
3786
3786
 
3787
3787
  // src/entities/task-deliverable.entity.ts
3788
3788
  import { Entity as Entity31, Column as Column32, Index as Index24, ManyToOne as ManyToOne30, JoinColumn as JoinColumn30 } from "typeorm";
@@ -3915,6 +3915,45 @@ TaskSubtask = __decorateClass([
3915
3915
  Entity34("task_subtasks")
3916
3916
  ], TaskSubtask);
3917
3917
 
3918
+ // src/entities/task-logtime.entity.ts
3919
+ import { Column as Column36, Entity as Entity35, Index as Index28, JoinColumn as JoinColumn34, ManyToOne as ManyToOne34 } from "typeorm";
3920
+ var TaskLogTime = class extends BaseEntity {
3921
+ };
3922
+ __decorateClass([
3923
+ Column36({ name: "task_id", type: "integer" }),
3924
+ Index28()
3925
+ ], TaskLogTime.prototype, "taskId", 2);
3926
+ __decorateClass([
3927
+ ManyToOne34(() => Task, (task) => task.taskLogTimes),
3928
+ JoinColumn34({ name: "task_id" })
3929
+ ], TaskLogTime.prototype, "task", 2);
3930
+ __decorateClass([
3931
+ Column36({ name: "start_date", type: "date", nullable: true })
3932
+ ], TaskLogTime.prototype, "startDate", 2);
3933
+ __decorateClass([
3934
+ Column36({ name: "start_time", type: "time", nullable: true })
3935
+ ], TaskLogTime.prototype, "startTime", 2);
3936
+ __decorateClass([
3937
+ Column36({ name: "end_date", type: "date", nullable: true })
3938
+ ], TaskLogTime.prototype, "endDate", 2);
3939
+ __decorateClass([
3940
+ Column36({ name: "end_time", type: "time", nullable: true })
3941
+ ], TaskLogTime.prototype, "endTime", 2);
3942
+ __decorateClass([
3943
+ Column36({ name: "log_hours", type: "varchar", nullable: true })
3944
+ ], TaskLogTime.prototype, "logHours", 2);
3945
+ __decorateClass([
3946
+ Column36({ name: "freelancer_id", type: "integer", nullable: true }),
3947
+ Index28()
3948
+ ], TaskLogTime.prototype, "freelancerId", 2);
3949
+ __decorateClass([
3950
+ Column36({ name: "job_id", type: "integer", nullable: true }),
3951
+ Index28()
3952
+ ], TaskLogTime.prototype, "jobId", 2);
3953
+ TaskLogTime = __decorateClass([
3954
+ Entity35("task_log_times")
3955
+ ], TaskLogTime);
3956
+
3918
3957
  // src/entities/task.entity.ts
3919
3958
  var TaskPriorityEnum = /* @__PURE__ */ ((TaskPriorityEnum2) => {
3920
3959
  TaskPriorityEnum2["LOW"] = "LOW";
@@ -3934,37 +3973,37 @@ var TaskStatusEnum = /* @__PURE__ */ ((TaskStatusEnum2) => {
3934
3973
  var Task = class extends BaseEntity {
3935
3974
  };
3936
3975
  __decorateClass([
3937
- Column36({ name: "task_unique_id", type: "varchar", nullable: true, unique: true })
3976
+ Column37({ name: "task_unique_id", type: "varchar", nullable: true, unique: true })
3938
3977
  ], Task.prototype, "taskUniqueId", 2);
3939
3978
  __decorateClass([
3940
- Column36({ name: "job_id", type: "integer", nullable: true }),
3941
- Index28()
3979
+ Column37({ name: "job_id", type: "integer", nullable: true }),
3980
+ Index29()
3942
3981
  ], Task.prototype, "jobId", 2);
3943
3982
  __decorateClass([
3944
- ManyToOne34(() => Job, (job) => job.tasks),
3945
- JoinColumn34({ name: "job_id" })
3983
+ ManyToOne35(() => Job, (job) => job.tasks),
3984
+ JoinColumn35({ name: "job_id" })
3946
3985
  ], Task.prototype, "job", 2);
3947
3986
  __decorateClass([
3948
- Column36({ name: "client_id", type: "integer", nullable: true }),
3949
- Index28()
3987
+ Column37({ name: "client_id", type: "integer", nullable: true }),
3988
+ Index29()
3950
3989
  ], Task.prototype, "clientId", 2);
3951
3990
  __decorateClass([
3952
- ManyToOne34(() => User, (user) => user.clientTasks),
3953
- JoinColumn34({ name: "client_id" })
3991
+ ManyToOne35(() => User, (user) => user.clientTasks),
3992
+ JoinColumn35({ name: "client_id" })
3954
3993
  ], Task.prototype, "client", 2);
3955
3994
  __decorateClass([
3956
- Column36({ name: "freelancer_id", type: "integer", nullable: true }),
3957
- Index28()
3995
+ Column37({ name: "freelancer_id", type: "integer", nullable: true }),
3996
+ Index29()
3958
3997
  ], Task.prototype, "freelancerId", 2);
3959
3998
  __decorateClass([
3960
- ManyToOne34(() => User, (user) => user.freelancerTasks),
3961
- JoinColumn34({ name: "freelancer_id" })
3999
+ ManyToOne35(() => User, (user) => user.freelancerTasks),
4000
+ JoinColumn35({ name: "freelancer_id" })
3962
4001
  ], Task.prototype, "freelancer", 2);
3963
4002
  __decorateClass([
3964
- Column36({ name: "task_name", type: "varchar", nullable: true })
4003
+ Column37({ name: "task_name", type: "varchar", nullable: true })
3965
4004
  ], Task.prototype, "taskName", 2);
3966
4005
  __decorateClass([
3967
- Column36({
4006
+ Column37({
3968
4007
  name: "status",
3969
4008
  type: "enum",
3970
4009
  enum: TaskStatusEnum,
@@ -3972,7 +4011,7 @@ __decorateClass([
3972
4011
  })
3973
4012
  ], Task.prototype, "status", 2);
3974
4013
  __decorateClass([
3975
- Column36({
4014
+ Column37({
3976
4015
  name: "priority",
3977
4016
  type: "enum",
3978
4017
  enum: TaskPriorityEnum,
@@ -3980,34 +4019,34 @@ __decorateClass([
3980
4019
  })
3981
4020
  ], Task.prototype, "priority", 2);
3982
4021
  __decorateClass([
3983
- Column36({ name: "description", type: "varchar", nullable: true })
4022
+ Column37({ name: "description", type: "varchar", nullable: true })
3984
4023
  ], Task.prototype, "description", 2);
3985
4024
  __decorateClass([
3986
- Column36({
4025
+ Column37({
3987
4026
  name: "due_date",
3988
4027
  type: "timestamp with time zone",
3989
4028
  nullable: true
3990
4029
  })
3991
4030
  ], Task.prototype, "dueDate", 2);
3992
4031
  __decorateClass([
3993
- Column36({
4032
+ Column37({
3994
4033
  name: "created_on",
3995
4034
  type: "timestamp with time zone",
3996
4035
  nullable: true
3997
4036
  })
3998
4037
  ], Task.prototype, "createdOn", 2);
3999
4038
  __decorateClass([
4000
- Column36({
4039
+ Column37({
4001
4040
  name: "estimate_hours",
4002
4041
  type: "integer",
4003
4042
  nullable: true
4004
4043
  })
4005
4044
  ], Task.prototype, "estimateHours", 2);
4006
4045
  __decorateClass([
4007
- Column36({ name: "client_remarks", type: "varchar", nullable: true })
4046
+ Column37({ name: "client_remarks", type: "varchar", nullable: true })
4008
4047
  ], Task.prototype, "clientRemarks", 2);
4009
4048
  __decorateClass([
4010
- Column36({ name: "freelancer_work_note", type: "varchar", nullable: true })
4049
+ Column37({ name: "freelancer_work_note", type: "varchar", nullable: true })
4011
4050
  ], Task.prototype, "freelancerWorkNote", 2);
4012
4051
  __decorateClass([
4013
4052
  OneToMany14(() => TaskDeliverable, (taskDeliverable) => taskDeliverable.task, { cascade: true })
@@ -4024,8 +4063,11 @@ __decorateClass([
4024
4063
  __decorateClass([
4025
4064
  OneToMany14(() => Timesheet, (timesheet) => timesheet.task, { cascade: true })
4026
4065
  ], Task.prototype, "timesheets", 2);
4066
+ __decorateClass([
4067
+ OneToMany14(() => TaskLogTime, (taskLogTime) => taskLogTime.task, { cascade: true })
4068
+ ], Task.prototype, "taskLogTimes", 2);
4027
4069
  Task = __decorateClass([
4028
- Entity35("tasks")
4070
+ Entity36("tasks")
4029
4071
  ], Task);
4030
4072
 
4031
4073
  // src/entities/timesheets.entity.ts
@@ -4041,150 +4083,150 @@ var TimesheetStatusEnum = /* @__PURE__ */ ((TimesheetStatusEnum2) => {
4041
4083
  var Timesheet = class extends BaseEntity {
4042
4084
  };
4043
4085
  __decorateClass([
4044
- Column37({ name: "job_id", type: "integer", nullable: true }),
4045
- Index29()
4086
+ Column38({ name: "job_id", type: "integer", nullable: true }),
4087
+ Index30()
4046
4088
  ], Timesheet.prototype, "jobId", 2);
4047
4089
  __decorateClass([
4048
- ManyToOne35(() => Job, (job) => job.timesheets),
4049
- JoinColumn35({ name: "job_id" })
4090
+ ManyToOne36(() => Job, (job) => job.timesheets),
4091
+ JoinColumn36({ name: "job_id" })
4050
4092
  ], Timesheet.prototype, "job", 2);
4051
4093
  __decorateClass([
4052
- Column37({ name: "client_id", type: "integer", nullable: true }),
4053
- Index29()
4094
+ Column38({ name: "client_id", type: "integer", nullable: true }),
4095
+ Index30()
4054
4096
  ], Timesheet.prototype, "clientId", 2);
4055
4097
  __decorateClass([
4056
- ManyToOne35(() => User, (user) => user.clientTimesheets),
4057
- JoinColumn35({ name: "client_id" })
4098
+ ManyToOne36(() => User, (user) => user.clientTimesheets),
4099
+ JoinColumn36({ name: "client_id" })
4058
4100
  ], Timesheet.prototype, "client", 2);
4059
4101
  __decorateClass([
4060
- Column37({ name: "freelancer_id", type: "integer", nullable: true }),
4061
- Index29()
4102
+ Column38({ name: "freelancer_id", type: "integer", nullable: true }),
4103
+ Index30()
4062
4104
  ], Timesheet.prototype, "freelancerId", 2);
4063
4105
  __decorateClass([
4064
- ManyToOne35(() => User, (user) => user.freelancerTimesheets),
4065
- JoinColumn35({ name: "freelancer_id" })
4106
+ ManyToOne36(() => User, (user) => user.freelancerTimesheets),
4107
+ JoinColumn36({ name: "freelancer_id" })
4066
4108
  ], Timesheet.prototype, "freelancer", 2);
4067
4109
  __decorateClass([
4068
- Column37({
4110
+ Column38({
4069
4111
  name: "start_date",
4070
4112
  type: "date",
4071
4113
  nullable: true
4072
4114
  })
4073
4115
  ], Timesheet.prototype, "startDate", 2);
4074
4116
  __decorateClass([
4075
- Column37({
4117
+ Column38({
4076
4118
  name: "end_date",
4077
4119
  type: "date",
4078
4120
  nullable: true
4079
4121
  })
4080
4122
  ], Timesheet.prototype, "endDate", 2);
4081
4123
  __decorateClass([
4082
- Column37({ name: "start_time", type: "varchar", nullable: true })
4124
+ Column38({ name: "start_time", type: "varchar", nullable: true })
4083
4125
  ], Timesheet.prototype, "startTime", 2);
4084
4126
  __decorateClass([
4085
- Column37({ name: "end_time", type: "varchar", nullable: true })
4127
+ Column38({ name: "end_time", type: "varchar", nullable: true })
4086
4128
  ], Timesheet.prototype, "endTime", 2);
4087
4129
  __decorateClass([
4088
- Column37({ name: "worked_hours", type: "varchar", nullable: true })
4130
+ Column38({ name: "worked_hours", type: "varchar", nullable: true })
4089
4131
  ], Timesheet.prototype, "workedHours", 2);
4090
4132
  __decorateClass([
4091
- Column37({ name: "task_id", type: "integer", nullable: true })
4133
+ Column38({ name: "task_id", type: "integer", nullable: true })
4092
4134
  ], Timesheet.prototype, "taskId", 2);
4093
4135
  __decorateClass([
4094
- ManyToOne35(() => Task, (task) => task.timesheets),
4095
- JoinColumn35({ name: "task_id" })
4136
+ ManyToOne36(() => Task, (task) => task.timesheets),
4137
+ JoinColumn36({ name: "task_id" })
4096
4138
  ], Timesheet.prototype, "task", 2);
4097
4139
  __decorateClass([
4098
- Column37({ name: "task_name", type: "varchar", nullable: true })
4140
+ Column38({ name: "task_name", type: "varchar", nullable: true })
4099
4141
  ], Timesheet.prototype, "taskName", 2);
4100
4142
  __decorateClass([
4101
- Column37({ name: "description", type: "varchar", nullable: true })
4143
+ Column38({ name: "description", type: "varchar", nullable: true })
4102
4144
  ], Timesheet.prototype, "description", 2);
4103
4145
  __decorateClass([
4104
- Column37({ name: "week_start_date", type: "date", nullable: true })
4146
+ Column38({ name: "week_start_date", type: "date", nullable: true })
4105
4147
  ], Timesheet.prototype, "weekStartDate", 2);
4106
4148
  __decorateClass([
4107
- Column37({ name: "week_end_date", type: "date", nullable: true })
4149
+ Column38({ name: "week_end_date", type: "date", nullable: true })
4108
4150
  ], Timesheet.prototype, "weekEndDate", 2);
4109
4151
  __decorateClass([
4110
- Column37({ name: "rejected_at", type: "timestamp with time zone", nullable: true })
4152
+ Column38({ name: "rejected_at", type: "timestamp with time zone", nullable: true })
4111
4153
  ], Timesheet.prototype, "rejectedAt", 2);
4112
4154
  __decorateClass([
4113
- Column37({ name: "submitted_at", type: "timestamp with time zone", nullable: true })
4155
+ Column38({ name: "submitted_at", type: "timestamp with time zone", nullable: true })
4114
4156
  ], Timesheet.prototype, "submittedAt", 2);
4115
4157
  __decorateClass([
4116
- Column37({ name: "resubmiited_at", type: "timestamp with time zone", nullable: true })
4158
+ Column38({ name: "resubmiited_at", type: "timestamp with time zone", nullable: true })
4117
4159
  ], Timesheet.prototype, "resubmittedAt", 2);
4118
4160
  __decorateClass([
4119
- Column37({ name: "approved_at", type: "timestamp with time zone", nullable: true })
4161
+ Column38({ name: "approved_at", type: "timestamp with time zone", nullable: true })
4120
4162
  ], Timesheet.prototype, "approvedAt", 2);
4121
4163
  __decorateClass([
4122
- Column37({ name: "status", type: "enum", enum: TimesheetStatusEnum, nullable: true })
4164
+ Column38({ name: "status", type: "enum", enum: TimesheetStatusEnum, nullable: true })
4123
4165
  ], Timesheet.prototype, "status", 2);
4124
4166
  __decorateClass([
4125
- Column37({ name: "client_send_back_reason", type: "varchar", nullable: true })
4167
+ Column38({ name: "client_send_back_reason", type: "varchar", nullable: true })
4126
4168
  ], Timesheet.prototype, "clientSendBackReason", 2);
4127
4169
  Timesheet = __decorateClass([
4128
- Entity36("timesheets")
4170
+ Entity37("timesheets")
4129
4171
  ], Timesheet);
4130
4172
 
4131
4173
  // src/entities/job-location.entity.ts
4132
4174
  import {
4133
- Entity as Entity37,
4134
- Column as Column38,
4135
- ManyToOne as ManyToOne36,
4136
- JoinColumn as JoinColumn36,
4137
- Index as Index30
4175
+ Entity as Entity38,
4176
+ Column as Column39,
4177
+ ManyToOne as ManyToOne37,
4178
+ JoinColumn as JoinColumn37,
4179
+ Index as Index31
4138
4180
  } from "typeorm";
4139
4181
  var JobLocation = class extends BaseEntity {
4140
4182
  };
4141
4183
  __decorateClass([
4142
- Column38({ name: "job_id", type: "integer", nullable: false }),
4143
- Index30()
4184
+ Column39({ name: "job_id", type: "integer", nullable: false }),
4185
+ Index31()
4144
4186
  ], JobLocation.prototype, "jobId", 2);
4145
4187
  __decorateClass([
4146
- ManyToOne36(() => Job, (job) => job.jobLocations),
4147
- JoinColumn36({ name: "job_id" })
4188
+ ManyToOne37(() => Job, (job) => job.jobLocations),
4189
+ JoinColumn37({ name: "job_id" })
4148
4190
  ], JobLocation.prototype, "job", 2);
4149
4191
  __decorateClass([
4150
- Column38({ name: "country_id", type: "int", nullable: false })
4192
+ Column39({ name: "country_id", type: "int", nullable: false })
4151
4193
  ], JobLocation.prototype, "countryId", 2);
4152
4194
  __decorateClass([
4153
- Column38({ name: "country_name", type: "varchar", nullable: true })
4195
+ Column39({ name: "country_name", type: "varchar", nullable: true })
4154
4196
  ], JobLocation.prototype, "countryName", 2);
4155
4197
  __decorateClass([
4156
- ManyToOne36(() => Country),
4157
- JoinColumn36({ name: "country_id" })
4198
+ ManyToOne37(() => Country),
4199
+ JoinColumn37({ name: "country_id" })
4158
4200
  ], JobLocation.prototype, "country", 2);
4159
4201
  __decorateClass([
4160
- Column38({ name: "state_id", type: "int", nullable: false })
4202
+ Column39({ name: "state_id", type: "int", nullable: false })
4161
4203
  ], JobLocation.prototype, "stateId", 2);
4162
4204
  __decorateClass([
4163
- Column38({ name: "state_name", type: "varchar", nullable: true })
4205
+ Column39({ name: "state_name", type: "varchar", nullable: true })
4164
4206
  ], JobLocation.prototype, "stateName", 2);
4165
4207
  __decorateClass([
4166
- ManyToOne36(() => State),
4167
- JoinColumn36({ name: "state_id" })
4208
+ ManyToOne37(() => State),
4209
+ JoinColumn37({ name: "state_id" })
4168
4210
  ], JobLocation.prototype, "state", 2);
4169
4211
  __decorateClass([
4170
- Column38({ name: "city_id", type: "int", nullable: false })
4212
+ Column39({ name: "city_id", type: "int", nullable: false })
4171
4213
  ], JobLocation.prototype, "cityId", 2);
4172
4214
  __decorateClass([
4173
- Column38({ name: "city_name", type: "varchar", nullable: true })
4215
+ Column39({ name: "city_name", type: "varchar", nullable: true })
4174
4216
  ], JobLocation.prototype, "cityName", 2);
4175
4217
  __decorateClass([
4176
- ManyToOne36(() => City),
4177
- JoinColumn36({ name: "city_id" })
4218
+ ManyToOne37(() => City),
4219
+ JoinColumn37({ name: "city_id" })
4178
4220
  ], JobLocation.prototype, "city", 2);
4179
4221
  __decorateClass([
4180
- Column38({ name: "location_wise_openings", type: "int", default: 0 })
4222
+ Column39({ name: "location_wise_openings", type: "int", default: 0 })
4181
4223
  ], JobLocation.prototype, "locationWiseOpenings", 2);
4182
4224
  JobLocation = __decorateClass([
4183
- Entity37("job_locations")
4225
+ Entity38("job_locations")
4184
4226
  ], JobLocation);
4185
4227
 
4186
4228
  // src/entities/rating.entity.ts
4187
- import { Entity as Entity38, Column as Column39, ManyToOne as ManyToOne37, JoinColumn as JoinColumn37, Index as Index31 } from "typeorm";
4229
+ import { Entity as Entity39, Column as Column40, ManyToOne as ManyToOne38, JoinColumn as JoinColumn38, Index as Index32 } from "typeorm";
4188
4230
  var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
4189
4231
  RatingTypeEnum2["FREELANCER_TO_CLIENT"] = "FREELANCER_TO_CLIENT";
4190
4232
  RatingTypeEnum2["CLIENT_TO_FREELANCER"] = "CLIENT_TO_FREELANCER";
@@ -4193,31 +4235,31 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
4193
4235
  var Rating = class extends BaseEntity {
4194
4236
  };
4195
4237
  __decorateClass([
4196
- Column39({ name: "reviewer_id", type: "integer" }),
4197
- Index31()
4238
+ Column40({ name: "reviewer_id", type: "integer" }),
4239
+ Index32()
4198
4240
  ], Rating.prototype, "reviewerId", 2);
4199
4241
  __decorateClass([
4200
- ManyToOne37(() => User, { onDelete: "CASCADE" }),
4201
- JoinColumn37({ name: "reviewer_id" })
4242
+ ManyToOne38(() => User, { onDelete: "CASCADE" }),
4243
+ JoinColumn38({ name: "reviewer_id" })
4202
4244
  ], Rating.prototype, "reviewer", 2);
4203
4245
  __decorateClass([
4204
- Column39({ name: "reviewee_id", type: "integer" }),
4205
- Index31()
4246
+ Column40({ name: "reviewee_id", type: "integer" }),
4247
+ Index32()
4206
4248
  ], Rating.prototype, "revieweeId", 2);
4207
4249
  __decorateClass([
4208
- ManyToOne37(() => User, { onDelete: "CASCADE" }),
4209
- JoinColumn37({ name: "reviewee_id" })
4250
+ ManyToOne38(() => User, { onDelete: "CASCADE" }),
4251
+ JoinColumn38({ name: "reviewee_id" })
4210
4252
  ], Rating.prototype, "reviewee", 2);
4211
4253
  __decorateClass([
4212
- Column39({ name: "job_id", type: "integer" }),
4213
- Index31()
4254
+ Column40({ name: "job_id", type: "integer" }),
4255
+ Index32()
4214
4256
  ], Rating.prototype, "jobId", 2);
4215
4257
  __decorateClass([
4216
- ManyToOne37(() => Job, (job) => job.ratings, { onDelete: "CASCADE" }),
4217
- JoinColumn37({ name: "job_id" })
4258
+ ManyToOne38(() => Job, (job) => job.ratings, { onDelete: "CASCADE" }),
4259
+ JoinColumn38({ name: "job_id" })
4218
4260
  ], Rating.prototype, "job", 2);
4219
4261
  __decorateClass([
4220
- Column39({
4262
+ Column40({
4221
4263
  name: "rating_type",
4222
4264
  type: "enum",
4223
4265
  enum: RatingTypeEnum,
@@ -4225,67 +4267,67 @@ __decorateClass([
4225
4267
  })
4226
4268
  ], Rating.prototype, "ratingType", 2);
4227
4269
  __decorateClass([
4228
- Column39({ name: "reviewer_comment", type: "text", nullable: true })
4270
+ Column40({ name: "reviewer_comment", type: "text", nullable: true })
4229
4271
  ], Rating.prototype, "reviewerComment", 2);
4230
4272
  __decorateClass([
4231
- Column39({
4273
+ Column40({
4232
4274
  name: "overall_experience",
4233
4275
  type: "float",
4234
4276
  default: 0
4235
4277
  })
4236
4278
  ], Rating.prototype, "overAllExperience", 2);
4237
4279
  __decorateClass([
4238
- Column39({
4280
+ Column40({
4239
4281
  name: "work_quality",
4240
4282
  type: "float",
4241
4283
  default: 0
4242
4284
  })
4243
4285
  ], Rating.prototype, "workQuality", 2);
4244
4286
  __decorateClass([
4245
- Column39({
4287
+ Column40({
4246
4288
  name: "one_time_delivery",
4247
4289
  type: "float",
4248
4290
  default: 0
4249
4291
  })
4250
4292
  ], Rating.prototype, "oneTimeDelivery", 2);
4251
4293
  __decorateClass([
4252
- Column39({
4294
+ Column40({
4253
4295
  name: "understaning",
4254
4296
  type: "float",
4255
4297
  default: 0
4256
4298
  })
4257
4299
  ], Rating.prototype, "understaning", 2);
4258
4300
  __decorateClass([
4259
- Column39({
4301
+ Column40({
4260
4302
  name: "communication",
4261
4303
  type: "float",
4262
4304
  default: 0
4263
4305
  })
4264
4306
  ], Rating.prototype, "communication", 2);
4265
4307
  __decorateClass([
4266
- Column39({
4308
+ Column40({
4267
4309
  name: "skill_utilized",
4268
4310
  type: "float",
4269
4311
  default: 0
4270
4312
  })
4271
4313
  ], Rating.prototype, "skillUtilized", 2);
4272
4314
  __decorateClass([
4273
- Column39({ name: "communication_clarity", type: "float", default: 0 })
4315
+ Column40({ name: "communication_clarity", type: "float", default: 0 })
4274
4316
  ], Rating.prototype, "communicationClarity", 2);
4275
4317
  __decorateClass([
4276
- Column39({ name: "requirements_clarity", type: "float", default: 0 })
4318
+ Column40({ name: "requirements_clarity", type: "float", default: 0 })
4277
4319
  ], Rating.prototype, "requirementsClarity", 2);
4278
4320
  __decorateClass([
4279
- Column39({ name: "responsiveness", type: "float", default: 0 })
4321
+ Column40({ name: "responsiveness", type: "float", default: 0 })
4280
4322
  ], Rating.prototype, "responsiveness", 2);
4281
4323
  __decorateClass([
4282
- Column39({ name: "payment_promptness", type: "float", default: 0 })
4324
+ Column40({ name: "payment_promptness", type: "float", default: 0 })
4283
4325
  ], Rating.prototype, "paymentPromptness", 2);
4284
4326
  __decorateClass([
4285
- Column39({ name: "responsibilities_and_expectations", type: "float", default: 0 })
4327
+ Column40({ name: "responsibilities_and_expectations", type: "float", default: 0 })
4286
4328
  ], Rating.prototype, "responsibilitiesAndExpectations", 2);
4287
4329
  Rating = __decorateClass([
4288
- Entity38("ratings")
4330
+ Entity39("ratings")
4289
4331
  ], Rating);
4290
4332
 
4291
4333
  // src/entities/job.entity.ts
@@ -4340,58 +4382,58 @@ var DurationTypeEnum = /* @__PURE__ */ ((DurationTypeEnum2) => {
4340
4382
  var Job = class extends BaseEntity {
4341
4383
  };
4342
4384
  __decorateClass([
4343
- Column40({ name: "job_id", type: "varchar", unique: true, nullable: true })
4385
+ Column41({ name: "job_id", type: "varchar", unique: true, nullable: true })
4344
4386
  ], Job.prototype, "jobId", 2);
4345
4387
  // individual index to find jobs by user
4346
4388
  __decorateClass([
4347
- Column40({ name: "user_id", type: "integer", nullable: true }),
4348
- Index32()
4389
+ Column41({ name: "user_id", type: "integer", nullable: true }),
4390
+ Index33()
4349
4391
  ], Job.prototype, "userId", 2);
4350
4392
  __decorateClass([
4351
- ManyToOne38(() => User, (user) => user.jobs),
4352
- JoinColumn38({ name: "user_id" })
4393
+ ManyToOne39(() => User, (user) => user.jobs),
4394
+ JoinColumn39({ name: "user_id" })
4353
4395
  ], Job.prototype, "user", 2);
4354
4396
  __decorateClass([
4355
- Column40({ name: "country_id", type: "int", nullable: true })
4397
+ Column41({ name: "country_id", type: "int", nullable: true })
4356
4398
  ], Job.prototype, "countryId", 2);
4357
4399
  __decorateClass([
4358
- ManyToOne38(() => Country),
4359
- JoinColumn38({ name: "country_id" })
4400
+ ManyToOne39(() => Country),
4401
+ JoinColumn39({ name: "country_id" })
4360
4402
  ], Job.prototype, "country", 2);
4361
4403
  __decorateClass([
4362
- Column40({ name: "state_id", type: "int", nullable: true })
4404
+ Column41({ name: "state_id", type: "int", nullable: true })
4363
4405
  ], Job.prototype, "stateId", 2);
4364
4406
  __decorateClass([
4365
- ManyToOne38(() => State),
4366
- JoinColumn38({ name: "state_id" })
4407
+ ManyToOne39(() => State),
4408
+ JoinColumn39({ name: "state_id" })
4367
4409
  ], Job.prototype, "state", 2);
4368
4410
  __decorateClass([
4369
- Column40({ name: "city_id", type: "int", nullable: true })
4411
+ Column41({ name: "city_id", type: "int", nullable: true })
4370
4412
  ], Job.prototype, "cityId", 2);
4371
4413
  __decorateClass([
4372
- ManyToOne38(() => City),
4373
- JoinColumn38({ name: "city_id" })
4414
+ ManyToOne39(() => City),
4415
+ JoinColumn39({ name: "city_id" })
4374
4416
  ], Job.prototype, "city", 2);
4375
4417
  __decorateClass([
4376
- Column40({ name: "job_role", type: "varchar", nullable: true })
4418
+ Column41({ name: "job_role", type: "varchar", nullable: true })
4377
4419
  ], Job.prototype, "jobRole", 2);
4378
4420
  __decorateClass([
4379
- Column40({ name: "job_role_canonical_name", type: "varchar", nullable: true })
4421
+ Column41({ name: "job_role_canonical_name", type: "varchar", nullable: true })
4380
4422
  ], Job.prototype, "jobRoleCanonicalName", 2);
4381
4423
  __decorateClass([
4382
- Column40({ name: "project_name", type: "varchar", nullable: true })
4424
+ Column41({ name: "project_name", type: "varchar", nullable: true })
4383
4425
  ], Job.prototype, "projectName", 2);
4384
4426
  __decorateClass([
4385
- Column40({ name: "note", type: "varchar", nullable: true })
4427
+ Column41({ name: "note", type: "varchar", nullable: true })
4386
4428
  ], Job.prototype, "note", 2);
4387
4429
  __decorateClass([
4388
- Column40({ name: "openings", type: "integer", default: 0 })
4430
+ Column41({ name: "openings", type: "integer", default: 0 })
4389
4431
  ], Job.prototype, "openings", 2);
4390
4432
  __decorateClass([
4391
- Column40({ name: "utilised_openings", type: "integer", default: 0 })
4433
+ Column41({ name: "utilised_openings", type: "integer", default: 0 })
4392
4434
  ], Job.prototype, "utilisedOpenings", 2);
4393
4435
  __decorateClass([
4394
- Column40({
4436
+ Column41({
4395
4437
  name: "location",
4396
4438
  type: "enum",
4397
4439
  enum: JobLocationEnum,
@@ -4399,7 +4441,7 @@ __decorateClass([
4399
4441
  })
4400
4442
  ], Job.prototype, "location", 2);
4401
4443
  __decorateClass([
4402
- Column40({
4444
+ Column41({
4403
4445
  name: "type_of_employment",
4404
4446
  type: "enum",
4405
4447
  enum: TypeOfEmploymentEnum,
@@ -4407,7 +4449,7 @@ __decorateClass([
4407
4449
  })
4408
4450
  ], Job.prototype, "typeOfEmployment", 2);
4409
4451
  __decorateClass([
4410
- Column40({
4452
+ Column41({
4411
4453
  name: "billing_cycle",
4412
4454
  type: "enum",
4413
4455
  enum: BillingCycleEnum,
@@ -4415,10 +4457,10 @@ __decorateClass([
4415
4457
  })
4416
4458
  ], Job.prototype, "billingCycle", 2);
4417
4459
  __decorateClass([
4418
- Column40({ name: "academic_qualifictaion", type: "varchar", nullable: true })
4460
+ Column41({ name: "academic_qualifictaion", type: "varchar", nullable: true })
4419
4461
  ], Job.prototype, "academicQualification", 2);
4420
4462
  __decorateClass([
4421
- Column40({
4463
+ Column41({
4422
4464
  name: "type_of_experience",
4423
4465
  type: "enum",
4424
4466
  enum: typeOfExperienceEnum,
@@ -4426,22 +4468,22 @@ __decorateClass([
4426
4468
  })
4427
4469
  ], Job.prototype, "typeOfExperience", 2);
4428
4470
  __decorateClass([
4429
- Column40({ name: "years_of_experience", type: "varchar", nullable: true })
4471
+ Column41({ name: "years_of_experience", type: "varchar", nullable: true })
4430
4472
  ], Job.prototype, "yearsOfExperience", 2);
4431
4473
  __decorateClass([
4432
- Column40({ name: "years_of_experience_from", type: "varchar", nullable: true })
4474
+ Column41({ name: "years_of_experience_from", type: "varchar", nullable: true })
4433
4475
  ], Job.prototype, "yearsOfExperienceFrom", 2);
4434
4476
  __decorateClass([
4435
- Column40({ name: "years_of_experience_to", type: "varchar", nullable: true })
4477
+ Column41({ name: "years_of_experience_to", type: "varchar", nullable: true })
4436
4478
  ], Job.prototype, "yearsOfExperienceTo", 2);
4437
4479
  __decorateClass([
4438
- Column40({ name: "business_industry", type: "varchar", nullable: true })
4480
+ Column41({ name: "business_industry", type: "varchar", nullable: true })
4439
4481
  ], Job.prototype, "businessIndustry", 2);
4440
4482
  __decorateClass([
4441
- Column40({ name: "currency", type: "varchar", default: "USD" })
4483
+ Column41({ name: "currency", type: "varchar", default: "USD" })
4442
4484
  ], Job.prototype, "currency", 2);
4443
4485
  __decorateClass([
4444
- Column40({
4486
+ Column41({
4445
4487
  name: "expected_salary_from",
4446
4488
  type: "decimal",
4447
4489
  precision: 10,
@@ -4450,14 +4492,14 @@ __decorateClass([
4450
4492
  })
4451
4493
  ], Job.prototype, "expectedSalaryFrom", 2);
4452
4494
  __decorateClass([
4453
- Column40({
4495
+ Column41({
4454
4496
  name: "hide_expected_salary_from",
4455
4497
  type: "boolean",
4456
4498
  default: false
4457
4499
  })
4458
4500
  ], Job.prototype, "hideExpectedSalaryFrom", 2);
4459
4501
  __decorateClass([
4460
- Column40({
4502
+ Column41({
4461
4503
  name: "expected_salary_to",
4462
4504
  type: "decimal",
4463
4505
  precision: 10,
@@ -4466,14 +4508,14 @@ __decorateClass([
4466
4508
  })
4467
4509
  ], Job.prototype, "expectedSalaryTo", 2);
4468
4510
  __decorateClass([
4469
- Column40({
4511
+ Column41({
4470
4512
  name: "hide_expected_salary_to",
4471
4513
  type: "boolean",
4472
4514
  default: false
4473
4515
  })
4474
4516
  ], Job.prototype, "hideExpectedSalaryTo", 2);
4475
4517
  __decorateClass([
4476
- Column40({
4518
+ Column41({
4477
4519
  name: "expected_annual_budget_from",
4478
4520
  type: "decimal",
4479
4521
  precision: 10,
@@ -4482,14 +4524,14 @@ __decorateClass([
4482
4524
  })
4483
4525
  ], Job.prototype, "expectedAnnualBudgetFrom", 2);
4484
4526
  __decorateClass([
4485
- Column40({
4527
+ Column41({
4486
4528
  name: "hide_expected_annual_budget_from",
4487
4529
  type: "boolean",
4488
4530
  default: false
4489
4531
  })
4490
4532
  ], Job.prototype, "hideExpectedAnnualBudgetFrom", 2);
4491
4533
  __decorateClass([
4492
- Column40({
4534
+ Column41({
4493
4535
  name: "expected_annual_budget_to",
4494
4536
  type: "decimal",
4495
4537
  precision: 10,
@@ -4498,32 +4540,32 @@ __decorateClass([
4498
4540
  })
4499
4541
  ], Job.prototype, "expectedAnnualBudgetTo", 2);
4500
4542
  __decorateClass([
4501
- Column40({
4543
+ Column41({
4502
4544
  name: "hide_expected_annual_budget_to",
4503
4545
  type: "boolean",
4504
4546
  default: false
4505
4547
  })
4506
4548
  ], Job.prototype, "hideExpectedAnnualBudgetTo", 2);
4507
4549
  __decorateClass([
4508
- Column40({ name: "years", type: "varchar", nullable: true })
4550
+ Column41({ name: "years", type: "varchar", nullable: true })
4509
4551
  ], Job.prototype, "years", 2);
4510
4552
  __decorateClass([
4511
- Column40({ name: "months", type: "varchar", nullable: true })
4553
+ Column41({ name: "months", type: "varchar", nullable: true })
4512
4554
  ], Job.prototype, "months", 2);
4513
4555
  __decorateClass([
4514
- Column40({ name: "weeks", type: "varchar", nullable: true })
4556
+ Column41({ name: "weeks", type: "varchar", nullable: true })
4515
4557
  ], Job.prototype, "weeks", 2);
4516
4558
  __decorateClass([
4517
- Column40({ name: "days", type: "varchar", nullable: true })
4559
+ Column41({ name: "days", type: "varchar", nullable: true })
4518
4560
  ], Job.prototype, "days", 2);
4519
4561
  __decorateClass([
4520
- Column40({ name: "tentative_start_date", type: "date", nullable: true })
4562
+ Column41({ name: "tentative_start_date", type: "date", nullable: true })
4521
4563
  ], Job.prototype, "tentativeStartDate", 2);
4522
4564
  __decorateClass([
4523
- Column40({ name: "tentative_end_date", type: "date", nullable: true })
4565
+ Column41({ name: "tentative_end_date", type: "date", nullable: true })
4524
4566
  ], Job.prototype, "tentativeEndDate", 2);
4525
4567
  __decorateClass([
4526
- Column40({
4568
+ Column41({
4527
4569
  name: "duration_type",
4528
4570
  type: "enum",
4529
4571
  enum: DurationTypeEnum,
@@ -4531,10 +4573,10 @@ __decorateClass([
4531
4573
  })
4532
4574
  ], Job.prototype, "durationType", 2);
4533
4575
  __decorateClass([
4534
- Column40({ name: "duration", type: "varchar", nullable: true })
4576
+ Column41({ name: "duration", type: "varchar", nullable: true })
4535
4577
  ], Job.prototype, "duration", 2);
4536
4578
  __decorateClass([
4537
- Column40({
4579
+ Column41({
4538
4580
  name: "number_of_hours",
4539
4581
  type: "decimal",
4540
4582
  precision: 4,
@@ -4543,13 +4585,13 @@ __decorateClass([
4543
4585
  })
4544
4586
  ], Job.prototype, "numberOfHours", 2);
4545
4587
  __decorateClass([
4546
- Column40({ name: "description", type: "varchar", nullable: true })
4588
+ Column41({ name: "description", type: "varchar", nullable: true })
4547
4589
  ], Job.prototype, "description", 2);
4548
4590
  __decorateClass([
4549
- Column40({ name: "additional_comment", type: "varchar", nullable: true })
4591
+ Column41({ name: "additional_comment", type: "varchar", nullable: true })
4550
4592
  ], Job.prototype, "additionalComment", 2);
4551
4593
  __decorateClass([
4552
- Column40({
4594
+ Column41({
4553
4595
  name: "onboarding_tat",
4554
4596
  type: "varchar",
4555
4597
  length: 50,
@@ -4557,17 +4599,17 @@ __decorateClass([
4557
4599
  })
4558
4600
  ], Job.prototype, "onboardingTat", 2);
4559
4601
  __decorateClass([
4560
- Column40({
4602
+ Column41({
4561
4603
  name: "candidate_communication_skills",
4562
4604
  type: "varchar",
4563
4605
  nullable: true
4564
4606
  })
4565
4607
  ], Job.prototype, "candidateCommunicationSkills", 2);
4566
4608
  __decorateClass([
4567
- Column40({ name: "deal_breakers", type: "jsonb", nullable: true })
4609
+ Column41({ name: "deal_breakers", type: "jsonb", nullable: true })
4568
4610
  ], Job.prototype, "dealBreakers", 2);
4569
4611
  __decorateClass([
4570
- Column40({
4612
+ Column41({
4571
4613
  name: "step_completed",
4572
4614
  type: "enum",
4573
4615
  enum: Step,
@@ -4575,7 +4617,7 @@ __decorateClass([
4575
4617
  })
4576
4618
  ], Job.prototype, "stepCompleted", 2);
4577
4619
  __decorateClass([
4578
- Column40({
4620
+ Column41({
4579
4621
  name: "status",
4580
4622
  type: "enum",
4581
4623
  enum: JobStatusEnum,
@@ -4583,19 +4625,19 @@ __decorateClass([
4583
4625
  })
4584
4626
  ], Job.prototype, "status", 2);
4585
4627
  __decorateClass([
4586
- Column40({ name: "viewed_count", type: "integer", default: 0 })
4628
+ Column41({ name: "viewed_count", type: "integer", default: 0 })
4587
4629
  ], Job.prototype, "viewedCount", 2);
4588
4630
  __decorateClass([
4589
- Column40({ name: "application_count", type: "integer", default: 0 })
4631
+ Column41({ name: "application_count", type: "integer", default: 0 })
4590
4632
  ], Job.prototype, "applicationCount", 2);
4591
4633
  __decorateClass([
4592
- Column40({ name: "is_contract_signed", type: "boolean", default: false })
4634
+ Column41({ name: "is_contract_signed", type: "boolean", default: false })
4593
4635
  ], Job.prototype, "isContractSigned", 2);
4594
4636
  __decorateClass([
4595
- Column40({ name: "is_interview_created", type: "boolean", default: false })
4637
+ Column41({ name: "is_interview_created", type: "boolean", default: false })
4596
4638
  ], Job.prototype, "isInterviewCreated", 2);
4597
4639
  __decorateClass([
4598
- Column40({ name: "is_job_created_via_ai", type: "boolean", default: false })
4640
+ Column41({ name: "is_job_created_via_ai", type: "boolean", default: false })
4599
4641
  ], Job.prototype, "isJobCreatedViaAI", 2);
4600
4642
  __decorateClass([
4601
4643
  OneToMany15(() => InterviewInvite, (interviewInvite) => interviewInvite.job, { cascade: true })
@@ -4681,16 +4723,16 @@ __decorateClass([
4681
4723
  })
4682
4724
  ], Job.prototype, "tasks", 2);
4683
4725
  Job = __decorateClass([
4684
- Entity39("jobs")
4726
+ Entity40("jobs")
4685
4727
  ], Job);
4686
4728
 
4687
4729
  // src/entities/bank-details.entity.ts
4688
4730
  import {
4689
- Entity as Entity40,
4690
- Column as Column41,
4691
- Index as Index33,
4692
- ManyToOne as ManyToOne39,
4693
- JoinColumn as JoinColumn39
4731
+ Entity as Entity41,
4732
+ Column as Column42,
4733
+ Index as Index34,
4734
+ ManyToOne as ManyToOne40,
4735
+ JoinColumn as JoinColumn40
4694
4736
  } from "typeorm";
4695
4737
  var BankAccountTypeEnum = /* @__PURE__ */ ((BankAccountTypeEnum2) => {
4696
4738
  BankAccountTypeEnum2["PRIMARY"] = "PRIMARY";
@@ -4706,51 +4748,51 @@ var BankDetail = class extends BaseEntity {
4706
4748
  };
4707
4749
  // individual index to find bank details by user
4708
4750
  __decorateClass([
4709
- Column41({ name: "user_id", type: "integer", nullable: true }),
4710
- Index33()
4751
+ Column42({ name: "user_id", type: "integer", nullable: true }),
4752
+ Index34()
4711
4753
  ], BankDetail.prototype, "userId", 2);
4712
4754
  __decorateClass([
4713
- ManyToOne39(() => User, (user) => user.bankDetail),
4714
- JoinColumn39({ name: "user_id" })
4755
+ ManyToOne40(() => User, (user) => user.bankDetail),
4756
+ JoinColumn40({ name: "user_id" })
4715
4757
  ], BankDetail.prototype, "user", 2);
4716
4758
  __decorateClass([
4717
- Column41({ name: "name", type: "varchar", nullable: true })
4759
+ Column42({ name: "name", type: "varchar", nullable: true })
4718
4760
  ], BankDetail.prototype, "name", 2);
4719
4761
  __decorateClass([
4720
- Column41({ name: "mobile_code", type: "varchar", nullable: true })
4762
+ Column42({ name: "mobile_code", type: "varchar", nullable: true })
4721
4763
  ], BankDetail.prototype, "mobileCode", 2);
4722
4764
  __decorateClass([
4723
- Column41({ name: "mobile", type: "varchar", nullable: true })
4765
+ Column42({ name: "mobile", type: "varchar", nullable: true })
4724
4766
  ], BankDetail.prototype, "mobile", 2);
4725
4767
  __decorateClass([
4726
- Column41({ name: "email", type: "varchar" })
4768
+ Column42({ name: "email", type: "varchar" })
4727
4769
  ], BankDetail.prototype, "email", 2);
4728
4770
  __decorateClass([
4729
- Column41({ name: "address", type: "varchar", nullable: true })
4771
+ Column42({ name: "address", type: "varchar", nullable: true })
4730
4772
  ], BankDetail.prototype, "address", 2);
4731
4773
  __decorateClass([
4732
- Column41({ name: "account_number", type: "varchar", unique: true, nullable: true })
4774
+ Column42({ name: "account_number", type: "varchar", unique: true, nullable: true })
4733
4775
  ], BankDetail.prototype, "accountNumber", 2);
4734
4776
  __decorateClass([
4735
- Column41({ name: "bank_name", type: "varchar", nullable: true })
4777
+ Column42({ name: "bank_name", type: "varchar", nullable: true })
4736
4778
  ], BankDetail.prototype, "bankName", 2);
4737
4779
  __decorateClass([
4738
- Column41({ name: "ifsc_code", type: "varchar", nullable: true })
4780
+ Column42({ name: "ifsc_code", type: "varchar", nullable: true })
4739
4781
  ], BankDetail.prototype, "ifscCode", 2);
4740
4782
  __decorateClass([
4741
- Column41({ name: "branch_name", type: "varchar", nullable: true })
4783
+ Column42({ name: "branch_name", type: "varchar", nullable: true })
4742
4784
  ], BankDetail.prototype, "branchName", 2);
4743
4785
  __decorateClass([
4744
- Column41({ name: "routing_no", type: "varchar", nullable: true })
4786
+ Column42({ name: "routing_no", type: "varchar", nullable: true })
4745
4787
  ], BankDetail.prototype, "routingNo", 2);
4746
4788
  __decorateClass([
4747
- Column41({ name: "aba_no", type: "varchar", nullable: true })
4789
+ Column42({ name: "aba_no", type: "varchar", nullable: true })
4748
4790
  ], BankDetail.prototype, "abaNumber", 2);
4749
4791
  __decorateClass([
4750
- Column41({ name: "iban", type: "varchar", nullable: true })
4792
+ Column42({ name: "iban", type: "varchar", nullable: true })
4751
4793
  ], BankDetail.prototype, "iban", 2);
4752
4794
  __decorateClass([
4753
- Column41({
4795
+ Column42({
4754
4796
  name: "account_type",
4755
4797
  type: "enum",
4756
4798
  enum: BankAccountTypeEnum,
@@ -4758,7 +4800,7 @@ __decorateClass([
4758
4800
  })
4759
4801
  ], BankDetail.prototype, "accountType", 2);
4760
4802
  __decorateClass([
4761
- Column41({
4803
+ Column42({
4762
4804
  name: "account_scope",
4763
4805
  type: "enum",
4764
4806
  enum: BankAccountScopeEnum,
@@ -4766,185 +4808,185 @@ __decorateClass([
4766
4808
  })
4767
4809
  ], BankDetail.prototype, "accountScope", 2);
4768
4810
  BankDetail = __decorateClass([
4769
- Entity40("bank_details")
4811
+ Entity41("bank_details")
4770
4812
  ], BankDetail);
4771
4813
 
4772
4814
  // src/entities/system-preference.entity.ts
4773
4815
  import {
4774
- Entity as Entity41,
4775
- Column as Column42,
4776
- Index as Index34,
4777
- ManyToOne as ManyToOne40,
4778
- JoinColumn as JoinColumn40
4816
+ Entity as Entity42,
4817
+ Column as Column43,
4818
+ Index as Index35,
4819
+ ManyToOne as ManyToOne41,
4820
+ JoinColumn as JoinColumn41
4779
4821
  } from "typeorm";
4780
4822
  var SystemPreference = class extends BaseEntity {
4781
4823
  };
4782
4824
  // individual index to find system preference by user
4783
4825
  __decorateClass([
4784
- Column42({ name: "user_id", type: "integer", nullable: true }),
4785
- Index34()
4826
+ Column43({ name: "user_id", type: "integer", nullable: true }),
4827
+ Index35()
4786
4828
  ], SystemPreference.prototype, "userId", 2);
4787
4829
  __decorateClass([
4788
- ManyToOne40(() => User, (user) => user.systemPreference),
4789
- JoinColumn40({ name: "user_id" })
4830
+ ManyToOne41(() => User, (user) => user.systemPreference),
4831
+ JoinColumn41({ name: "user_id" })
4790
4832
  ], SystemPreference.prototype, "user", 2);
4791
4833
  __decorateClass([
4792
- Column42({ name: "key", type: "varchar", nullable: false })
4834
+ Column43({ name: "key", type: "varchar", nullable: false })
4793
4835
  ], SystemPreference.prototype, "key", 2);
4794
4836
  __decorateClass([
4795
- Column42({ name: "value", type: "boolean", default: false })
4837
+ Column43({ name: "value", type: "boolean", default: false })
4796
4838
  ], SystemPreference.prototype, "value", 2);
4797
4839
  SystemPreference = __decorateClass([
4798
- Entity41("system_preferences")
4840
+ Entity42("system_preferences")
4799
4841
  ], SystemPreference);
4800
4842
 
4801
4843
  // src/entities/freelancer-experience.entity.ts
4802
4844
  import {
4803
- Entity as Entity42,
4804
- Column as Column43,
4805
- Index as Index35,
4806
- ManyToOne as ManyToOne41,
4807
- JoinColumn as JoinColumn41
4845
+ Entity as Entity43,
4846
+ Column as Column44,
4847
+ Index as Index36,
4848
+ ManyToOne as ManyToOne42,
4849
+ JoinColumn as JoinColumn42
4808
4850
  } from "typeorm";
4809
4851
  var FreelancerExperience = class extends BaseEntity {
4810
4852
  };
4811
4853
  // individual index to find experence by user
4812
4854
  __decorateClass([
4813
- Column43({ name: "user_id", type: "integer", nullable: true }),
4814
- Index35()
4855
+ Column44({ name: "user_id", type: "integer", nullable: true }),
4856
+ Index36()
4815
4857
  ], FreelancerExperience.prototype, "userId", 2);
4816
4858
  __decorateClass([
4817
- ManyToOne41(() => User, (user) => user.freelancerExperience),
4818
- JoinColumn41({ name: "user_id" })
4859
+ ManyToOne42(() => User, (user) => user.freelancerExperience),
4860
+ JoinColumn42({ name: "user_id" })
4819
4861
  ], FreelancerExperience.prototype, "user", 2);
4820
4862
  __decorateClass([
4821
- Column43({ name: "company_name", type: "varchar", nullable: true })
4863
+ Column44({ name: "company_name", type: "varchar", nullable: true })
4822
4864
  ], FreelancerExperience.prototype, "companyName", 2);
4823
4865
  __decorateClass([
4824
- Column43({ name: "designation", type: "varchar", nullable: true })
4866
+ Column44({ name: "designation", type: "varchar", nullable: true })
4825
4867
  ], FreelancerExperience.prototype, "designation", 2);
4826
4868
  __decorateClass([
4827
- Column43({ name: "job_duration", type: "varchar", nullable: true })
4869
+ Column44({ name: "job_duration", type: "varchar", nullable: true })
4828
4870
  ], FreelancerExperience.prototype, "jobDuration", 2);
4829
4871
  __decorateClass([
4830
- Column43({ name: "description", type: "varchar", nullable: true })
4872
+ Column44({ name: "description", type: "varchar", nullable: true })
4831
4873
  ], FreelancerExperience.prototype, "description", 2);
4832
4874
  FreelancerExperience = __decorateClass([
4833
- Entity42("freelancer_experiences")
4875
+ Entity43("freelancer_experiences")
4834
4876
  ], FreelancerExperience);
4835
4877
 
4836
4878
  // src/entities/freelancer-education.entity.ts
4837
4879
  import {
4838
- Entity as Entity43,
4839
- Column as Column44,
4840
- Index as Index36,
4841
- ManyToOne as ManyToOne42,
4842
- JoinColumn as JoinColumn42
4880
+ Entity as Entity44,
4881
+ Column as Column45,
4882
+ Index as Index37,
4883
+ ManyToOne as ManyToOne43,
4884
+ JoinColumn as JoinColumn43
4843
4885
  } from "typeorm";
4844
4886
  var FreelancerEducation = class extends BaseEntity {
4845
4887
  };
4846
4888
  // individual index to find education by user
4847
4889
  __decorateClass([
4848
- Column44({ name: "user_id", type: "integer", nullable: true }),
4849
- Index36()
4890
+ Column45({ name: "user_id", type: "integer", nullable: true }),
4891
+ Index37()
4850
4892
  ], FreelancerEducation.prototype, "userId", 2);
4851
4893
  __decorateClass([
4852
- ManyToOne42(() => User, (user) => user.freelancerEducation),
4853
- JoinColumn42({ name: "user_id" })
4894
+ ManyToOne43(() => User, (user) => user.freelancerEducation),
4895
+ JoinColumn43({ name: "user_id" })
4854
4896
  ], FreelancerEducation.prototype, "user", 2);
4855
4897
  __decorateClass([
4856
- Column44({ name: "degree", type: "varchar", nullable: true })
4898
+ Column45({ name: "degree", type: "varchar", nullable: true })
4857
4899
  ], FreelancerEducation.prototype, "degree", 2);
4858
4900
  __decorateClass([
4859
- Column44({ name: "university", type: "varchar", nullable: true })
4901
+ Column45({ name: "university", type: "varchar", nullable: true })
4860
4902
  ], FreelancerEducation.prototype, "university", 2);
4861
4903
  __decorateClass([
4862
- Column44({ name: "year_of_graduation", type: "varchar", nullable: true })
4904
+ Column45({ name: "year_of_graduation", type: "varchar", nullable: true })
4863
4905
  ], FreelancerEducation.prototype, "yearOfGraduation", 2);
4864
4906
  FreelancerEducation = __decorateClass([
4865
- Entity43("freelancer_educations")
4907
+ Entity44("freelancer_educations")
4866
4908
  ], FreelancerEducation);
4867
4909
 
4868
4910
  // src/entities/freelancer-project.entity.ts
4869
4911
  import {
4870
- Entity as Entity44,
4871
- Column as Column45,
4872
- Index as Index37,
4873
- ManyToOne as ManyToOne43,
4874
- JoinColumn as JoinColumn43
4912
+ Entity as Entity45,
4913
+ Column as Column46,
4914
+ Index as Index38,
4915
+ ManyToOne as ManyToOne44,
4916
+ JoinColumn as JoinColumn44
4875
4917
  } from "typeorm";
4876
4918
  var FreelancerProject = class extends BaseEntity {
4877
4919
  };
4878
4920
  // individual index to find project by user
4879
4921
  __decorateClass([
4880
- Column45({ name: "user_id", type: "integer", nullable: true }),
4881
- Index37()
4922
+ Column46({ name: "user_id", type: "integer", nullable: true }),
4923
+ Index38()
4882
4924
  ], FreelancerProject.prototype, "userId", 2);
4883
4925
  __decorateClass([
4884
- ManyToOne43(() => User, (user) => user.freelancerProject),
4885
- JoinColumn43({ name: "user_id" })
4926
+ ManyToOne44(() => User, (user) => user.freelancerProject),
4927
+ JoinColumn44({ name: "user_id" })
4886
4928
  ], FreelancerProject.prototype, "user", 2);
4887
4929
  __decorateClass([
4888
- Column45({ name: "project_name", type: "varchar", nullable: true })
4930
+ Column46({ name: "project_name", type: "varchar", nullable: true })
4889
4931
  ], FreelancerProject.prototype, "projectName", 2);
4890
4932
  __decorateClass([
4891
- Column45({ name: "start_date", type: "date", nullable: true })
4933
+ Column46({ name: "start_date", type: "date", nullable: true })
4892
4934
  ], FreelancerProject.prototype, "startDate", 2);
4893
4935
  __decorateClass([
4894
- Column45({ name: "end_date", type: "date", nullable: true })
4936
+ Column46({ name: "end_date", type: "date", nullable: true })
4895
4937
  ], FreelancerProject.prototype, "endDate", 2);
4896
4938
  __decorateClass([
4897
- Column45({ name: "client_name", type: "varchar", nullable: true })
4939
+ Column46({ name: "client_name", type: "varchar", nullable: true })
4898
4940
  ], FreelancerProject.prototype, "clientName", 2);
4899
4941
  __decorateClass([
4900
- Column45({ name: "git_link", type: "varchar", nullable: true })
4942
+ Column46({ name: "git_link", type: "varchar", nullable: true })
4901
4943
  ], FreelancerProject.prototype, "gitLink", 2);
4902
4944
  __decorateClass([
4903
- Column45({ name: "description", type: "varchar", nullable: true })
4945
+ Column46({ name: "description", type: "varchar", nullable: true })
4904
4946
  ], FreelancerProject.prototype, "description", 2);
4905
4947
  FreelancerProject = __decorateClass([
4906
- Entity44("freelancer_projects")
4948
+ Entity45("freelancer_projects")
4907
4949
  ], FreelancerProject);
4908
4950
 
4909
4951
  // src/entities/freelancer-casestudy.entity.ts
4910
4952
  import {
4911
- Entity as Entity45,
4912
- Column as Column46,
4913
- Index as Index38,
4914
- ManyToOne as ManyToOne44,
4915
- JoinColumn as JoinColumn44
4953
+ Entity as Entity46,
4954
+ Column as Column47,
4955
+ Index as Index39,
4956
+ ManyToOne as ManyToOne45,
4957
+ JoinColumn as JoinColumn45
4916
4958
  } from "typeorm";
4917
4959
  var FreelancerCaseStudy = class extends BaseEntity {
4918
4960
  };
4919
4961
  // individual index to find case study by user
4920
4962
  __decorateClass([
4921
- Column46({ name: "user_id", type: "integer", nullable: true }),
4922
- Index38()
4963
+ Column47({ name: "user_id", type: "integer", nullable: true }),
4964
+ Index39()
4923
4965
  ], FreelancerCaseStudy.prototype, "userId", 2);
4924
4966
  __decorateClass([
4925
- ManyToOne44(() => User, (user) => user.freelancerCaseStudy),
4926
- JoinColumn44({ name: "user_id" })
4967
+ ManyToOne45(() => User, (user) => user.freelancerCaseStudy),
4968
+ JoinColumn45({ name: "user_id" })
4927
4969
  ], FreelancerCaseStudy.prototype, "user", 2);
4928
4970
  __decorateClass([
4929
- Column46({ name: "project_name", type: "varchar", nullable: true })
4971
+ Column47({ name: "project_name", type: "varchar", nullable: true })
4930
4972
  ], FreelancerCaseStudy.prototype, "projectName", 2);
4931
4973
  __decorateClass([
4932
- Column46({ name: "case_study_link", type: "varchar", nullable: true })
4974
+ Column47({ name: "case_study_link", type: "varchar", nullable: true })
4933
4975
  ], FreelancerCaseStudy.prototype, "caseStudyLink", 2);
4934
4976
  __decorateClass([
4935
- Column46({ name: "description", type: "varchar", nullable: true })
4977
+ Column47({ name: "description", type: "varchar", nullable: true })
4936
4978
  ], FreelancerCaseStudy.prototype, "description", 2);
4937
4979
  FreelancerCaseStudy = __decorateClass([
4938
- Entity45("freelancer_case_studies")
4980
+ Entity46("freelancer_case_studies")
4939
4981
  ], FreelancerCaseStudy);
4940
4982
 
4941
4983
  // src/entities/freelancer-skill.entity.ts
4942
4984
  import {
4943
- Entity as Entity46,
4944
- Column as Column47,
4945
- Index as Index39,
4946
- ManyToOne as ManyToOne45,
4947
- JoinColumn as JoinColumn45
4985
+ Entity as Entity47,
4986
+ Column as Column48,
4987
+ Index as Index40,
4988
+ ManyToOne as ManyToOne46,
4989
+ JoinColumn as JoinColumn46
4948
4990
  } from "typeorm";
4949
4991
  var FreelancerSkillCategoryEnum = /* @__PURE__ */ ((FreelancerSkillCategoryEnum2) => {
4950
4992
  FreelancerSkillCategoryEnum2[FreelancerSkillCategoryEnum2["GOOD_TO_HAVE"] = 0] = "GOOD_TO_HAVE";
@@ -4955,18 +4997,18 @@ var FreelancerSkill = class extends BaseEntity {
4955
4997
  };
4956
4998
  // individual index to find core skills by user
4957
4999
  __decorateClass([
4958
- Column47({ name: "user_id", type: "integer", nullable: true }),
4959
- Index39()
5000
+ Column48({ name: "user_id", type: "integer", nullable: true }),
5001
+ Index40()
4960
5002
  ], FreelancerSkill.prototype, "userId", 2);
4961
5003
  __decorateClass([
4962
- ManyToOne45(() => User, (user) => user.freelancerSkills),
4963
- JoinColumn45({ name: "user_id" })
5004
+ ManyToOne46(() => User, (user) => user.freelancerSkills),
5005
+ JoinColumn46({ name: "user_id" })
4964
5006
  ], FreelancerSkill.prototype, "user", 2);
4965
5007
  __decorateClass([
4966
- Column47({ name: "skill_name", type: "varchar", nullable: true })
5008
+ Column48({ name: "skill_name", type: "varchar", nullable: true })
4967
5009
  ], FreelancerSkill.prototype, "skillName", 2);
4968
5010
  __decorateClass([
4969
- Column47({
5011
+ Column48({
4970
5012
  name: "skill_category",
4971
5013
  type: "smallint",
4972
5014
  default: 1,
@@ -4974,68 +5016,68 @@ __decorateClass([
4974
5016
  })
4975
5017
  ], FreelancerSkill.prototype, "skillCategory", 2);
4976
5018
  FreelancerSkill = __decorateClass([
4977
- Entity46("freelancer_skills")
5019
+ Entity47("freelancer_skills")
4978
5020
  ], FreelancerSkill);
4979
5021
 
4980
5022
  // src/entities/freelancer-tool.entity.ts
4981
5023
  import {
4982
- Entity as Entity47,
4983
- Column as Column48,
4984
- Index as Index40,
4985
- ManyToOne as ManyToOne46,
4986
- JoinColumn as JoinColumn46
5024
+ Entity as Entity48,
5025
+ Column as Column49,
5026
+ Index as Index41,
5027
+ ManyToOne as ManyToOne47,
5028
+ JoinColumn as JoinColumn47
4987
5029
  } from "typeorm";
4988
5030
  var FreelancerTool = class extends BaseEntity {
4989
5031
  };
4990
5032
  // individual index to find tool by user
4991
5033
  __decorateClass([
4992
- Column48({ name: "user_id", type: "integer", nullable: true }),
4993
- Index40()
5034
+ Column49({ name: "user_id", type: "integer", nullable: true }),
5035
+ Index41()
4994
5036
  ], FreelancerTool.prototype, "userId", 2);
4995
5037
  __decorateClass([
4996
- ManyToOne46(() => User, (user) => user.freelancerTool),
4997
- JoinColumn46({ name: "user_id" })
5038
+ ManyToOne47(() => User, (user) => user.freelancerTool),
5039
+ JoinColumn47({ name: "user_id" })
4998
5040
  ], FreelancerTool.prototype, "user", 2);
4999
5041
  __decorateClass([
5000
- Column48({ name: "tool_name", type: "varchar", nullable: true })
5042
+ Column49({ name: "tool_name", type: "varchar", nullable: true })
5001
5043
  ], FreelancerTool.prototype, "toolName", 2);
5002
5044
  FreelancerTool = __decorateClass([
5003
- Entity47("freelancer_tools")
5045
+ Entity48("freelancer_tools")
5004
5046
  ], FreelancerTool);
5005
5047
 
5006
5048
  // src/entities/freelancer-framework.entity.ts
5007
5049
  import {
5008
- Entity as Entity48,
5009
- Column as Column49,
5010
- Index as Index41,
5011
- ManyToOne as ManyToOne47,
5012
- JoinColumn as JoinColumn47
5050
+ Entity as Entity49,
5051
+ Column as Column50,
5052
+ Index as Index42,
5053
+ ManyToOne as ManyToOne48,
5054
+ JoinColumn as JoinColumn48
5013
5055
  } from "typeorm";
5014
5056
  var FreelancerFramework = class extends BaseEntity {
5015
5057
  };
5016
5058
  // individual index to find framework by user
5017
5059
  __decorateClass([
5018
- Column49({ name: "user_id", type: "integer", nullable: true }),
5019
- Index41()
5060
+ Column50({ name: "user_id", type: "integer", nullable: true }),
5061
+ Index42()
5020
5062
  ], FreelancerFramework.prototype, "userId", 2);
5021
5063
  __decorateClass([
5022
- ManyToOne47(() => User, (user) => user.freelancerFramework),
5023
- JoinColumn47({ name: "user_id" })
5064
+ ManyToOne48(() => User, (user) => user.freelancerFramework),
5065
+ JoinColumn48({ name: "user_id" })
5024
5066
  ], FreelancerFramework.prototype, "user", 2);
5025
5067
  __decorateClass([
5026
- Column49({ name: "framework_name", type: "varchar", nullable: true })
5068
+ Column50({ name: "framework_name", type: "varchar", nullable: true })
5027
5069
  ], FreelancerFramework.prototype, "frameworkName", 2);
5028
5070
  FreelancerFramework = __decorateClass([
5029
- Entity48("freelancer_frameworks")
5071
+ Entity49("freelancer_frameworks")
5030
5072
  ], FreelancerFramework);
5031
5073
 
5032
5074
  // src/entities/freelancer-assessment.entity.ts
5033
5075
  import {
5034
- Entity as Entity49,
5035
- Column as Column50,
5036
- Index as Index42,
5037
- ManyToOne as ManyToOne48,
5038
- JoinColumn as JoinColumn48
5076
+ Entity as Entity50,
5077
+ Column as Column51,
5078
+ Index as Index43,
5079
+ ManyToOne as ManyToOne49,
5080
+ JoinColumn as JoinColumn49
5039
5081
  } from "typeorm";
5040
5082
  var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
5041
5083
  AssessmentStatusEnum2["NOT_ATTEMPTED"] = "NOT_ATTEMPTED";
@@ -5053,33 +5095,33 @@ var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
5053
5095
  var FreelancerAssessment = class extends BaseEntity {
5054
5096
  };
5055
5097
  __decorateClass([
5056
- Column50({ name: "user_id", type: "integer", nullable: true }),
5057
- Index42()
5098
+ Column51({ name: "user_id", type: "integer", nullable: true }),
5099
+ Index43()
5058
5100
  ], FreelancerAssessment.prototype, "userId", 2);
5059
5101
  __decorateClass([
5060
- ManyToOne48(() => User, (user) => user.assessments),
5061
- JoinColumn48({ name: "user_id" })
5102
+ ManyToOne49(() => User, (user) => user.assessments),
5103
+ JoinColumn49({ name: "user_id" })
5062
5104
  ], FreelancerAssessment.prototype, "user", 2);
5063
5105
  __decorateClass([
5064
- Column50({ name: "interview_id", type: "varchar", nullable: true })
5106
+ Column51({ name: "interview_id", type: "varchar", nullable: true })
5065
5107
  ], FreelancerAssessment.prototype, "interviewId", 2);
5066
5108
  __decorateClass([
5067
- Column50({ name: "interview_link", type: "text", nullable: true })
5109
+ Column51({ name: "interview_link", type: "text", nullable: true })
5068
5110
  ], FreelancerAssessment.prototype, "interviewLink", 2);
5069
5111
  __decorateClass([
5070
- Column50({ name: "recording_link", type: "text", nullable: true })
5112
+ Column51({ name: "recording_link", type: "text", nullable: true })
5071
5113
  ], FreelancerAssessment.prototype, "recordingLink", 2);
5072
5114
  __decorateClass([
5073
- Column50({ name: "iframe_response", type: "jsonb", nullable: true })
5115
+ Column51({ name: "iframe_response", type: "jsonb", nullable: true })
5074
5116
  ], FreelancerAssessment.prototype, "iframeResponse", 2);
5075
5117
  __decorateClass([
5076
- Column50({ name: "interview_summary", type: "jsonb", nullable: true })
5118
+ Column51({ name: "interview_summary", type: "jsonb", nullable: true })
5077
5119
  ], FreelancerAssessment.prototype, "interviewSummary", 2);
5078
5120
  __decorateClass([
5079
- Column50({ name: "score", type: "float", nullable: true })
5121
+ Column51({ name: "score", type: "float", nullable: true })
5080
5122
  ], FreelancerAssessment.prototype, "score", 2);
5081
5123
  __decorateClass([
5082
- Column50({
5124
+ Column51({
5083
5125
  name: "status",
5084
5126
  type: "enum",
5085
5127
  enum: AssessmentStatusEnum,
@@ -5087,17 +5129,17 @@ __decorateClass([
5087
5129
  })
5088
5130
  ], FreelancerAssessment.prototype, "status", 2);
5089
5131
  __decorateClass([
5090
- Column50({ name: "task_id", type: "varchar", nullable: true })
5132
+ Column51({ name: "task_id", type: "varchar", nullable: true })
5091
5133
  ], FreelancerAssessment.prototype, "taskId", 2);
5092
5134
  __decorateClass([
5093
- Column50({ name: "meta_data", type: "jsonb", nullable: true })
5135
+ Column51({ name: "meta_data", type: "jsonb", nullable: true })
5094
5136
  ], FreelancerAssessment.prototype, "metaData", 2);
5095
5137
  FreelancerAssessment = __decorateClass([
5096
- Entity49("freelancer_assessments")
5138
+ Entity50("freelancer_assessments")
5097
5139
  ], FreelancerAssessment);
5098
5140
 
5099
5141
  // src/entities/freelancer-declaration.entity.ts
5100
- import { Entity as Entity50, Column as Column51, Index as Index43, ManyToOne as ManyToOne49, JoinColumn as JoinColumn49 } from "typeorm";
5142
+ import { Entity as Entity51, Column as Column52, Index as Index44, ManyToOne as ManyToOne50, JoinColumn as JoinColumn50 } from "typeorm";
5101
5143
  var DocumentType = /* @__PURE__ */ ((DocumentType2) => {
5102
5144
  DocumentType2["AADHAAR"] = "AADHAAR_CARD";
5103
5145
  DocumentType2["PASSPORT"] = "PASSPORT";
@@ -5109,15 +5151,15 @@ var FreelancerDeclaration = class extends BaseEntity {
5109
5151
  };
5110
5152
  // individual index to find declaration by user
5111
5153
  __decorateClass([
5112
- Column51({ name: "user_id", type: "integer", nullable: true }),
5113
- Index43()
5154
+ Column52({ name: "user_id", type: "integer", nullable: true }),
5155
+ Index44()
5114
5156
  ], FreelancerDeclaration.prototype, "userId", 2);
5115
5157
  __decorateClass([
5116
- ManyToOne49(() => User, (user) => user.freelancerDeclaration),
5117
- JoinColumn49({ name: "user_id" })
5158
+ ManyToOne50(() => User, (user) => user.freelancerDeclaration),
5159
+ JoinColumn50({ name: "user_id" })
5118
5160
  ], FreelancerDeclaration.prototype, "user", 2);
5119
5161
  __decorateClass([
5120
- Column51({
5162
+ Column52({
5121
5163
  name: "document_type",
5122
5164
  type: "enum",
5123
5165
  enum: DocumentType,
@@ -5125,178 +5167,178 @@ __decorateClass([
5125
5167
  })
5126
5168
  ], FreelancerDeclaration.prototype, "documentType", 2);
5127
5169
  __decorateClass([
5128
- Column51({ name: "front_document_url", type: "varchar", nullable: true })
5170
+ Column52({ name: "front_document_url", type: "varchar", nullable: true })
5129
5171
  ], FreelancerDeclaration.prototype, "frontDocumentUrl", 2);
5130
5172
  __decorateClass([
5131
- Column51({ name: "back_document_url", type: "varchar", nullable: true })
5173
+ Column52({ name: "back_document_url", type: "varchar", nullable: true })
5132
5174
  ], FreelancerDeclaration.prototype, "backDocumentUrl", 2);
5133
5175
  __decorateClass([
5134
- Column51({ name: "declaration_accepted", type: "boolean", default: false })
5176
+ Column52({ name: "declaration_accepted", type: "boolean", default: false })
5135
5177
  ], FreelancerDeclaration.prototype, "declarationAccepted", 2);
5136
5178
  __decorateClass([
5137
- Column51({ name: "digital_signature_url", type: "varchar", nullable: true })
5179
+ Column52({ name: "digital_signature_url", type: "varchar", nullable: true })
5138
5180
  ], FreelancerDeclaration.prototype, "digitalSignatureUrl", 2);
5139
5181
  FreelancerDeclaration = __decorateClass([
5140
- Entity50("freelancer_declaration")
5182
+ Entity51("freelancer_declaration")
5141
5183
  ], FreelancerDeclaration);
5142
5184
 
5143
5185
  // src/entities/company-members-roles.entity.ts
5144
5186
  import {
5145
- Column as Column55,
5146
- Entity as Entity54,
5147
- ManyToOne as ManyToOne52,
5148
- JoinColumn as JoinColumn52,
5149
- Index as Index47
5187
+ Column as Column56,
5188
+ Entity as Entity55,
5189
+ ManyToOne as ManyToOne53,
5190
+ JoinColumn as JoinColumn53,
5191
+ Index as Index48
5150
5192
  } from "typeorm";
5151
5193
 
5152
5194
  // src/entities/company-role.entity.ts
5153
5195
  import {
5154
- Column as Column54,
5155
- Entity as Entity53,
5156
- Index as Index46,
5157
- JoinColumn as JoinColumn51,
5158
- ManyToOne as ManyToOne51,
5196
+ Column as Column55,
5197
+ Entity as Entity54,
5198
+ Index as Index47,
5199
+ JoinColumn as JoinColumn52,
5200
+ ManyToOne as ManyToOne52,
5159
5201
  OneToMany as OneToMany17
5160
5202
  } from "typeorm";
5161
5203
 
5162
5204
  // src/entities/company-role-permission.entity.ts
5163
5205
  import {
5164
- Column as Column53,
5165
- Entity as Entity52,
5166
- ManyToOne as ManyToOne50,
5167
- JoinColumn as JoinColumn50,
5168
- Index as Index45
5206
+ Column as Column54,
5207
+ Entity as Entity53,
5208
+ ManyToOne as ManyToOne51,
5209
+ JoinColumn as JoinColumn51,
5210
+ Index as Index46
5169
5211
  } from "typeorm";
5170
5212
 
5171
5213
  // src/entities/permission.entity.ts
5172
- import { Column as Column52, Entity as Entity51, Index as Index44 } from "typeorm";
5214
+ import { Column as Column53, Entity as Entity52, Index as Index45 } from "typeorm";
5173
5215
  var Permission = class extends BaseEntity {
5174
5216
  };
5175
5217
  __decorateClass([
5176
- Column52({ name: "name", type: "varchar", nullable: true })
5218
+ Column53({ name: "name", type: "varchar", nullable: true })
5177
5219
  ], Permission.prototype, "name", 2);
5178
5220
  __decorateClass([
5179
- Column52({ name: "slug", type: "varchar", nullable: true, unique: true }),
5180
- Index44()
5221
+ Column53({ name: "slug", type: "varchar", nullable: true, unique: true }),
5222
+ Index45()
5181
5223
  ], Permission.prototype, "slug", 2);
5182
5224
  __decorateClass([
5183
- Column52({ name: "description", type: "text", nullable: true })
5225
+ Column53({ name: "description", type: "text", nullable: true })
5184
5226
  ], Permission.prototype, "description", 2);
5185
5227
  __decorateClass([
5186
- Column52({ name: "module", type: "varchar", nullable: true })
5228
+ Column53({ name: "module", type: "varchar", nullable: true })
5187
5229
  ], Permission.prototype, "module", 2);
5188
5230
  __decorateClass([
5189
- Column52({ name: "is_active", type: "boolean", default: true })
5231
+ Column53({ name: "is_active", type: "boolean", default: true })
5190
5232
  ], Permission.prototype, "isActive", 2);
5191
5233
  Permission = __decorateClass([
5192
- Entity51("permissions")
5234
+ Entity52("permissions")
5193
5235
  ], Permission);
5194
5236
 
5195
5237
  // src/entities/company-role-permission.entity.ts
5196
5238
  var CompanyRolePermission = class extends BaseEntity {
5197
5239
  };
5198
5240
  __decorateClass([
5199
- Column53({ name: "company_role_id", type: "integer", nullable: true }),
5200
- Index45()
5241
+ Column54({ name: "company_role_id", type: "integer", nullable: true }),
5242
+ Index46()
5201
5243
  ], CompanyRolePermission.prototype, "companyRoleId", 2);
5202
5244
  __decorateClass([
5203
- ManyToOne50(() => CompanyRole, (role) => role.rolePermissions, {
5245
+ ManyToOne51(() => CompanyRole, (role) => role.rolePermissions, {
5204
5246
  onDelete: "CASCADE"
5205
5247
  }),
5206
- JoinColumn50({ name: "company_role_id" })
5248
+ JoinColumn51({ name: "company_role_id" })
5207
5249
  ], CompanyRolePermission.prototype, "companyRole", 2);
5208
5250
  __decorateClass([
5209
- Column53({ name: "permission_id", type: "integer" }),
5210
- Index45()
5251
+ Column54({ name: "permission_id", type: "integer" }),
5252
+ Index46()
5211
5253
  ], CompanyRolePermission.prototype, "permissionId", 2);
5212
5254
  __decorateClass([
5213
- ManyToOne50(() => Permission, { onDelete: "CASCADE" }),
5214
- JoinColumn50({ name: "permission_id" })
5255
+ ManyToOne51(() => Permission, { onDelete: "CASCADE" }),
5256
+ JoinColumn51({ name: "permission_id" })
5215
5257
  ], CompanyRolePermission.prototype, "permission", 2);
5216
5258
  __decorateClass([
5217
- Column53({ name: "assigned_by", type: "integer", nullable: true })
5259
+ Column54({ name: "assigned_by", type: "integer", nullable: true })
5218
5260
  ], CompanyRolePermission.prototype, "assignedBy", 2);
5219
5261
  CompanyRolePermission = __decorateClass([
5220
- Entity52("company_role_permissions")
5262
+ Entity53("company_role_permissions")
5221
5263
  ], CompanyRolePermission);
5222
5264
 
5223
5265
  // src/entities/company-role.entity.ts
5224
5266
  var CompanyRole = class extends BaseEntity {
5225
5267
  };
5226
5268
  __decorateClass([
5227
- Column54({ name: "user_id", type: "integer", nullable: true }),
5228
- Index46()
5269
+ Column55({ name: "user_id", type: "integer", nullable: true }),
5270
+ Index47()
5229
5271
  ], CompanyRole.prototype, "userId", 2);
5230
5272
  __decorateClass([
5231
- ManyToOne51(() => User, (user) => user.otps),
5232
- JoinColumn51({ name: "user_id" })
5273
+ ManyToOne52(() => User, (user) => user.otps),
5274
+ JoinColumn52({ name: "user_id" })
5233
5275
  ], CompanyRole.prototype, "user", 2);
5234
5276
  __decorateClass([
5235
- Column54({ name: "name", type: "varchar" })
5277
+ Column55({ name: "name", type: "varchar" })
5236
5278
  ], CompanyRole.prototype, "name", 2);
5237
5279
  __decorateClass([
5238
- Column54({ name: "slug", type: "varchar", nullable: true, unique: true }),
5239
- Index46()
5280
+ Column55({ name: "slug", type: "varchar", nullable: true, unique: true }),
5281
+ Index47()
5240
5282
  ], CompanyRole.prototype, "slug", 2);
5241
5283
  __decorateClass([
5242
- Column54({ name: "description", type: "text", nullable: true })
5284
+ Column55({ name: "description", type: "text", nullable: true })
5243
5285
  ], CompanyRole.prototype, "description", 2);
5244
5286
  __decorateClass([
5245
- Column54({ name: "is_active", type: "boolean", default: true })
5287
+ Column55({ name: "is_active", type: "boolean", default: true })
5246
5288
  ], CompanyRole.prototype, "isActive", 2);
5247
5289
  __decorateClass([
5248
5290
  OneToMany17(() => CompanyRolePermission, (rp) => rp.companyRole)
5249
5291
  ], CompanyRole.prototype, "rolePermissions", 2);
5250
5292
  CompanyRole = __decorateClass([
5251
- Entity53("company_roles")
5293
+ Entity54("company_roles")
5252
5294
  ], CompanyRole);
5253
5295
 
5254
5296
  // src/entities/company-members-roles.entity.ts
5255
5297
  var CompanyMemberRole = class extends BaseEntity {
5256
5298
  };
5257
5299
  __decorateClass([
5258
- Column55({ name: "user_id", type: "integer", nullable: true }),
5259
- Index47()
5300
+ Column56({ name: "user_id", type: "integer", nullable: true }),
5301
+ Index48()
5260
5302
  ], CompanyMemberRole.prototype, "userId", 2);
5261
5303
  __decorateClass([
5262
- ManyToOne52(() => User),
5263
- JoinColumn52({ name: "user_id" })
5304
+ ManyToOne53(() => User),
5305
+ JoinColumn53({ name: "user_id" })
5264
5306
  ], CompanyMemberRole.prototype, "user", 2);
5265
5307
  __decorateClass([
5266
- ManyToOne52(() => CompanyRole),
5267
- JoinColumn52({ name: "company_role_id" })
5308
+ ManyToOne53(() => CompanyRole),
5309
+ JoinColumn53({ name: "company_role_id" })
5268
5310
  ], CompanyMemberRole.prototype, "role", 2);
5269
5311
  __decorateClass([
5270
- Column55({ name: "company_role_id", type: "integer", nullable: true }),
5271
- Index47()
5312
+ Column56({ name: "company_role_id", type: "integer", nullable: true }),
5313
+ Index48()
5272
5314
  ], CompanyMemberRole.prototype, "companyRoleId", 2);
5273
5315
  __decorateClass([
5274
- Column55({ name: "assigned_by", type: "integer", nullable: true })
5316
+ Column56({ name: "assigned_by", type: "integer", nullable: true })
5275
5317
  ], CompanyMemberRole.prototype, "assignedBy", 2);
5276
5318
  CompanyMemberRole = __decorateClass([
5277
- Entity54("company_member_roles")
5319
+ Entity55("company_member_roles")
5278
5320
  ], CompanyMemberRole);
5279
5321
 
5280
5322
  // src/entities/assessment-answer.entity.ts
5281
5323
  import {
5282
- Entity as Entity57,
5283
- Column as Column58,
5284
- ManyToOne as ManyToOne55,
5285
- Index as Index50,
5286
- JoinColumn as JoinColumn55
5324
+ Entity as Entity58,
5325
+ Column as Column59,
5326
+ ManyToOne as ManyToOne56,
5327
+ Index as Index51,
5328
+ JoinColumn as JoinColumn56
5287
5329
  } from "typeorm";
5288
5330
 
5289
5331
  // src/entities/assessment-question.entity.ts
5290
- import { Entity as Entity56, Column as Column57, OneToMany as OneToMany19, Index as Index49, ManyToOne as ManyToOne54, JoinColumn as JoinColumn54 } from "typeorm";
5332
+ import { Entity as Entity57, Column as Column58, OneToMany as OneToMany19, Index as Index50, ManyToOne as ManyToOne55, JoinColumn as JoinColumn55 } from "typeorm";
5291
5333
 
5292
5334
  // src/entities/assessment-question-option.entity.ts
5293
5335
  import {
5294
- Entity as Entity55,
5295
- Column as Column56,
5336
+ Entity as Entity56,
5337
+ Column as Column57,
5296
5338
  OneToMany as OneToMany18,
5297
- ManyToOne as ManyToOne53,
5298
- Index as Index48,
5299
- JoinColumn as JoinColumn53
5339
+ ManyToOne as ManyToOne54,
5340
+ Index as Index49,
5341
+ JoinColumn as JoinColumn54
5300
5342
  } from "typeorm";
5301
5343
  var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
5302
5344
  AnswerTypeEnum2["CORRECT"] = "CORRECT";
@@ -5307,21 +5349,21 @@ var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
5307
5349
  var AssessmetQuestionOption = class extends BaseEntity {
5308
5350
  };
5309
5351
  __decorateClass([
5310
- Column56({ name: "question_id", type: "integer", nullable: true }),
5311
- Index48()
5352
+ Column57({ name: "question_id", type: "integer", nullable: true }),
5353
+ Index49()
5312
5354
  ], AssessmetQuestionOption.prototype, "questionId", 2);
5313
5355
  __decorateClass([
5314
- ManyToOne53(
5356
+ ManyToOne54(
5315
5357
  () => AssessmetQuestion,
5316
5358
  (assessmentQuestion) => assessmentQuestion.options
5317
5359
  ),
5318
- JoinColumn53({ name: "question_id" })
5360
+ JoinColumn54({ name: "question_id" })
5319
5361
  ], AssessmetQuestionOption.prototype, "question", 2);
5320
5362
  __decorateClass([
5321
- Column56({ name: "text", type: "varchar", nullable: true })
5363
+ Column57({ name: "text", type: "varchar", nullable: true })
5322
5364
  ], AssessmetQuestionOption.prototype, "text", 2);
5323
5365
  __decorateClass([
5324
- Column56({
5366
+ Column57({
5325
5367
  name: "answer_type",
5326
5368
  type: "enum",
5327
5369
  enum: AnswerTypeEnum,
@@ -5329,13 +5371,13 @@ __decorateClass([
5329
5371
  })
5330
5372
  ], AssessmetQuestionOption.prototype, "answerType", 2);
5331
5373
  __decorateClass([
5332
- Column56({ name: "is_active", type: "boolean", default: true })
5374
+ Column57({ name: "is_active", type: "boolean", default: true })
5333
5375
  ], AssessmetQuestionOption.prototype, "isActive", 2);
5334
5376
  __decorateClass([
5335
5377
  OneToMany18(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
5336
5378
  ], AssessmetQuestionOption.prototype, "selectedOptions", 2);
5337
5379
  AssessmetQuestionOption = __decorateClass([
5338
- Entity55("assessment_question_options")
5380
+ Entity56("assessment_question_options")
5339
5381
  ], AssessmetQuestionOption);
5340
5382
 
5341
5383
  // src/entities/assessment-question.entity.ts
@@ -5347,10 +5389,10 @@ var QuestionForEnum = /* @__PURE__ */ ((QuestionForEnum2) => {
5347
5389
  var AssessmetQuestion = class extends BaseEntity {
5348
5390
  };
5349
5391
  __decorateClass([
5350
- Column57({ name: "text", type: "varchar", nullable: true })
5392
+ Column58({ name: "text", type: "varchar", nullable: true })
5351
5393
  ], AssessmetQuestion.prototype, "text", 2);
5352
5394
  __decorateClass([
5353
- Column57({
5395
+ Column58({
5354
5396
  name: "question_for",
5355
5397
  type: "enum",
5356
5398
  enum: QuestionForEnum,
@@ -5358,15 +5400,15 @@ __decorateClass([
5358
5400
  })
5359
5401
  ], AssessmetQuestion.prototype, "questionFor", 2);
5360
5402
  __decorateClass([
5361
- Column57({ name: "is_active", type: "boolean", default: true })
5403
+ Column58({ name: "is_active", type: "boolean", default: true })
5362
5404
  ], AssessmetQuestion.prototype, "isActive", 2);
5363
5405
  __decorateClass([
5364
- Column57({ name: "candidate_id", type: "integer", nullable: true }),
5365
- Index49()
5406
+ Column58({ name: "candidate_id", type: "integer", nullable: true }),
5407
+ Index50()
5366
5408
  ], AssessmetQuestion.prototype, "candidateId", 2);
5367
5409
  __decorateClass([
5368
- ManyToOne54(() => User, (user) => user.freelancerMcq, { nullable: true }),
5369
- JoinColumn54({ name: "candidate_id" })
5410
+ ManyToOne55(() => User, (user) => user.freelancerMcq, { nullable: true }),
5411
+ JoinColumn55({ name: "candidate_id" })
5370
5412
  ], AssessmetQuestion.prototype, "candidate", 2);
5371
5413
  __decorateClass([
5372
5414
  OneToMany19(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
@@ -5375,7 +5417,7 @@ __decorateClass([
5375
5417
  OneToMany19(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
5376
5418
  ], AssessmetQuestion.prototype, "answers", 2);
5377
5419
  AssessmetQuestion = __decorateClass([
5378
- Entity56("assessment_questions")
5420
+ Entity57("assessment_questions")
5379
5421
  ], AssessmetQuestion);
5380
5422
 
5381
5423
  // src/entities/assessment-answer.entity.ts
@@ -5388,102 +5430,102 @@ var SelectedAnswerTypeEnum = /* @__PURE__ */ ((SelectedAnswerTypeEnum2) => {
5388
5430
  var AssessmentAnswer = class extends BaseEntity {
5389
5431
  };
5390
5432
  __decorateClass([
5391
- Column58({ name: "user_id", type: "integer" }),
5392
- Index50()
5433
+ Column59({ name: "user_id", type: "integer" }),
5434
+ Index51()
5393
5435
  ], AssessmentAnswer.prototype, "userId", 2);
5394
5436
  __decorateClass([
5395
- ManyToOne55(() => User, (user) => user.assessmentAnswers),
5396
- JoinColumn55({ name: "user_id" })
5437
+ ManyToOne56(() => User, (user) => user.assessmentAnswers),
5438
+ JoinColumn56({ name: "user_id" })
5397
5439
  ], AssessmentAnswer.prototype, "user", 2);
5398
5440
  __decorateClass([
5399
- Column58({ name: "question_id", type: "integer" }),
5400
- Index50()
5441
+ Column59({ name: "question_id", type: "integer" }),
5442
+ Index51()
5401
5443
  ], AssessmentAnswer.prototype, "questionId", 2);
5402
5444
  __decorateClass([
5403
- ManyToOne55(
5445
+ ManyToOne56(
5404
5446
  () => AssessmetQuestion,
5405
5447
  (assessmentQuestion) => assessmentQuestion.answers
5406
5448
  ),
5407
- JoinColumn55({ name: "question_id" })
5449
+ JoinColumn56({ name: "question_id" })
5408
5450
  ], AssessmentAnswer.prototype, "question", 2);
5409
5451
  __decorateClass([
5410
- Column58({ name: "selected_option_id", type: "integer" }),
5411
- Index50()
5452
+ Column59({ name: "selected_option_id", type: "integer" }),
5453
+ Index51()
5412
5454
  ], AssessmentAnswer.prototype, "selectedOptionId", 2);
5413
5455
  __decorateClass([
5414
- ManyToOne55(
5456
+ ManyToOne56(
5415
5457
  () => AssessmetQuestionOption,
5416
5458
  (assessmentQuestionOption) => assessmentQuestionOption.selectedOptions
5417
5459
  ),
5418
- JoinColumn55({ name: "selected_option_id" })
5460
+ JoinColumn56({ name: "selected_option_id" })
5419
5461
  ], AssessmentAnswer.prototype, "option", 2);
5420
5462
  __decorateClass([
5421
- Column58({
5463
+ Column59({
5422
5464
  name: "selected_answer_type",
5423
5465
  type: "enum",
5424
5466
  enum: SelectedAnswerTypeEnum
5425
5467
  })
5426
5468
  ], AssessmentAnswer.prototype, "selectedAnswerType", 2);
5427
5469
  __decorateClass([
5428
- Column58({ name: "score", type: "float" })
5470
+ Column59({ name: "score", type: "float" })
5429
5471
  ], AssessmentAnswer.prototype, "score", 2);
5430
5472
  AssessmentAnswer = __decorateClass([
5431
- Entity57("assessment_answers")
5473
+ Entity58("assessment_answers")
5432
5474
  ], AssessmentAnswer);
5433
5475
 
5434
5476
  // src/entities/company-skill.entity.ts
5435
- import { Entity as Entity58, Column as Column59, Index as Index51, ManyToOne as ManyToOne56, JoinColumn as JoinColumn56 } from "typeorm";
5477
+ import { Entity as Entity59, Column as Column60, Index as Index52, ManyToOne as ManyToOne57, JoinColumn as JoinColumn57 } from "typeorm";
5436
5478
  var CompanySkill = class extends BaseEntity {
5437
5479
  };
5438
5480
  // individual index to find core skills by user
5439
5481
  __decorateClass([
5440
- Column59({ name: "user_id", type: "integer", nullable: true }),
5441
- Index51()
5482
+ Column60({ name: "user_id", type: "integer", nullable: true }),
5483
+ Index52()
5442
5484
  ], CompanySkill.prototype, "userId", 2);
5443
5485
  __decorateClass([
5444
- ManyToOne56(() => User, (user) => user.companySkills),
5445
- JoinColumn56({ name: "user_id" })
5486
+ ManyToOne57(() => User, (user) => user.companySkills),
5487
+ JoinColumn57({ name: "user_id" })
5446
5488
  ], CompanySkill.prototype, "user", 2);
5447
5489
  __decorateClass([
5448
- Column59({ name: "skill_name", type: "varchar", nullable: true })
5490
+ Column60({ name: "skill_name", type: "varchar", nullable: true })
5449
5491
  ], CompanySkill.prototype, "skillName", 2);
5450
5492
  CompanySkill = __decorateClass([
5451
- Entity58("company_skills")
5493
+ Entity59("company_skills")
5452
5494
  ], CompanySkill);
5453
5495
 
5454
5496
  // src/entities/admin-user-role.entity.ts
5455
- import { Entity as Entity62, Column as Column63, ManyToOne as ManyToOne58, JoinColumn as JoinColumn58 } from "typeorm";
5497
+ import { Entity as Entity63, Column as Column64, ManyToOne as ManyToOne59, JoinColumn as JoinColumn59 } from "typeorm";
5456
5498
 
5457
5499
  // src/entities/admin-role.entity.ts
5458
- import { Entity as Entity61, Column as Column62, Index as Index54, OneToMany as OneToMany22 } from "typeorm";
5500
+ import { Entity as Entity62, Column as Column63, Index as Index55, OneToMany as OneToMany22 } from "typeorm";
5459
5501
 
5460
5502
  // src/entities/admin-role-permission.entity.ts
5461
- import { Entity as Entity60, Column as Column61, ManyToOne as ManyToOne57, JoinColumn as JoinColumn57 } from "typeorm";
5503
+ import { Entity as Entity61, Column as Column62, ManyToOne as ManyToOne58, JoinColumn as JoinColumn58 } from "typeorm";
5462
5504
 
5463
5505
  // src/entities/admin-permission.entity.ts
5464
- import { Entity as Entity59, Column as Column60, Index as Index52, OneToMany as OneToMany21 } from "typeorm";
5506
+ import { Entity as Entity60, Column as Column61, Index as Index53, OneToMany as OneToMany21 } from "typeorm";
5465
5507
  var AdminPermission = class extends BaseEntity {
5466
5508
  };
5467
5509
  __decorateClass([
5468
- Column60({ name: "permission_name", type: "varchar", nullable: true })
5510
+ Column61({ name: "permission_name", type: "varchar", nullable: true })
5469
5511
  ], AdminPermission.prototype, "permissionName", 2);
5470
5512
  __decorateClass([
5471
- Column60({
5513
+ Column61({
5472
5514
  name: "permission_slug",
5473
5515
  type: "varchar",
5474
5516
  unique: true,
5475
5517
  nullable: true
5476
5518
  }),
5477
- Index52()
5519
+ Index53()
5478
5520
  ], AdminPermission.prototype, "permissionSlug", 2);
5479
5521
  __decorateClass([
5480
- Column60({ name: "permission_description", type: "varchar", nullable: true })
5522
+ Column61({ name: "permission_description", type: "varchar", nullable: true })
5481
5523
  ], AdminPermission.prototype, "permissionDescription", 2);
5482
5524
  __decorateClass([
5483
- Column60({ name: "module", type: "varchar", nullable: true })
5525
+ Column61({ name: "module", type: "varchar", nullable: true })
5484
5526
  ], AdminPermission.prototype, "module", 2);
5485
5527
  __decorateClass([
5486
- Column60({ name: "is_active", type: "boolean", default: true })
5528
+ Column61({ name: "is_active", type: "boolean", default: true })
5487
5529
  ], AdminPermission.prototype, "isActive", 2);
5488
5530
  __decorateClass([
5489
5531
  OneToMany21(
@@ -5492,14 +5534,14 @@ __decorateClass([
5492
5534
  )
5493
5535
  ], AdminPermission.prototype, "adminRole", 2);
5494
5536
  AdminPermission = __decorateClass([
5495
- Entity59("admin_permissions")
5537
+ Entity60("admin_permissions")
5496
5538
  ], AdminPermission);
5497
5539
 
5498
5540
  // src/entities/admin-role-permission.entity.ts
5499
5541
  var AdminRolePermission = class extends BaseEntity {
5500
5542
  };
5501
5543
  __decorateClass([
5502
- Column61({
5544
+ Column62({
5503
5545
  name: "role_id",
5504
5546
  type: "int",
5505
5547
  nullable: true,
@@ -5507,11 +5549,11 @@ __decorateClass([
5507
5549
  })
5508
5550
  ], AdminRolePermission.prototype, "roleId", 2);
5509
5551
  __decorateClass([
5510
- ManyToOne57(() => AdminRole),
5511
- JoinColumn57({ name: "role_id" })
5552
+ ManyToOne58(() => AdminRole),
5553
+ JoinColumn58({ name: "role_id" })
5512
5554
  ], AdminRolePermission.prototype, "adminRole", 2);
5513
5555
  __decorateClass([
5514
- Column61({
5556
+ Column62({
5515
5557
  name: "permission_id",
5516
5558
  type: "int",
5517
5559
  nullable: true,
@@ -5519,28 +5561,28 @@ __decorateClass([
5519
5561
  })
5520
5562
  ], AdminRolePermission.prototype, "permissionId", 2);
5521
5563
  __decorateClass([
5522
- ManyToOne57(() => AdminPermission),
5523
- JoinColumn57({ name: "permission_id" })
5564
+ ManyToOne58(() => AdminPermission),
5565
+ JoinColumn58({ name: "permission_id" })
5524
5566
  ], AdminRolePermission.prototype, "adminPermissions", 2);
5525
5567
  AdminRolePermission = __decorateClass([
5526
- Entity60("admin_role_permissions")
5568
+ Entity61("admin_role_permissions")
5527
5569
  ], AdminRolePermission);
5528
5570
 
5529
5571
  // src/entities/admin-role.entity.ts
5530
5572
  var AdminRole = class extends BaseEntity {
5531
5573
  };
5532
5574
  __decorateClass([
5533
- Column62({ name: "role_name", type: "varchar", nullable: true })
5575
+ Column63({ name: "role_name", type: "varchar", nullable: true })
5534
5576
  ], AdminRole.prototype, "roleName", 2);
5535
5577
  __decorateClass([
5536
- Column62({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
5537
- Index54()
5578
+ Column63({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
5579
+ Index55()
5538
5580
  ], AdminRole.prototype, "roleSlug", 2);
5539
5581
  __decorateClass([
5540
- Column62({ name: "role_description", type: "varchar", nullable: true })
5582
+ Column63({ name: "role_description", type: "varchar", nullable: true })
5541
5583
  ], AdminRole.prototype, "roleDescription", 2);
5542
5584
  __decorateClass([
5543
- Column62({ name: "is_active", type: "boolean", default: true })
5585
+ Column63({ name: "is_active", type: "boolean", default: true })
5544
5586
  ], AdminRole.prototype, "isActive", 2);
5545
5587
  __decorateClass([
5546
5588
  OneToMany22(
@@ -5552,14 +5594,14 @@ __decorateClass([
5552
5594
  OneToMany22(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
5553
5595
  ], AdminRole.prototype, "userRoles", 2);
5554
5596
  AdminRole = __decorateClass([
5555
- Entity61("admin_roles")
5597
+ Entity62("admin_roles")
5556
5598
  ], AdminRole);
5557
5599
 
5558
5600
  // src/entities/admin-user-role.entity.ts
5559
5601
  var AdminUserRole = class extends BaseEntity {
5560
5602
  };
5561
5603
  __decorateClass([
5562
- Column63({
5604
+ Column64({
5563
5605
  name: "user_id",
5564
5606
  type: "int",
5565
5607
  nullable: true,
@@ -5567,11 +5609,11 @@ __decorateClass([
5567
5609
  })
5568
5610
  ], AdminUserRole.prototype, "userId", 2);
5569
5611
  __decorateClass([
5570
- ManyToOne58(() => User),
5571
- JoinColumn58({ name: "user_id" })
5612
+ ManyToOne59(() => User),
5613
+ JoinColumn59({ name: "user_id" })
5572
5614
  ], AdminUserRole.prototype, "user", 2);
5573
5615
  __decorateClass([
5574
- Column63({
5616
+ Column64({
5575
5617
  name: "role_id",
5576
5618
  type: "int",
5577
5619
  nullable: true,
@@ -5579,70 +5621,70 @@ __decorateClass([
5579
5621
  })
5580
5622
  ], AdminUserRole.prototype, "roleId", 2);
5581
5623
  __decorateClass([
5582
- ManyToOne58(() => AdminRole),
5583
- JoinColumn58({ name: "role_id" })
5624
+ ManyToOne59(() => AdminRole),
5625
+ JoinColumn59({ name: "role_id" })
5584
5626
  ], AdminUserRole.prototype, "adminRole", 2);
5585
5627
  AdminUserRole = __decorateClass([
5586
- Entity62("admin_user_roles")
5628
+ Entity63("admin_user_roles")
5587
5629
  ], AdminUserRole);
5588
5630
 
5589
5631
  // src/entities/freelancer-resume.entity.ts
5590
5632
  import {
5591
- Entity as Entity63,
5592
- Column as Column64,
5593
- Index as Index56,
5594
- ManyToOne as ManyToOne59,
5595
- JoinColumn as JoinColumn59
5633
+ Entity as Entity64,
5634
+ Column as Column65,
5635
+ Index as Index57,
5636
+ ManyToOne as ManyToOne60,
5637
+ JoinColumn as JoinColumn60
5596
5638
  } from "typeorm";
5597
5639
  var FreelancerResume = class extends BaseEntity {
5598
5640
  };
5599
5641
  // individual index to find profile by user
5600
5642
  __decorateClass([
5601
- Column64({ name: "user_id", type: "integer", nullable: true }),
5602
- Index56()
5643
+ Column65({ name: "user_id", type: "integer", nullable: true }),
5644
+ Index57()
5603
5645
  ], FreelancerResume.prototype, "userId", 2);
5604
5646
  __decorateClass([
5605
- ManyToOne59(() => User, (user) => user.freelancerProfile),
5606
- JoinColumn59({ name: "user_id" })
5647
+ ManyToOne60(() => User, (user) => user.freelancerProfile),
5648
+ JoinColumn60({ name: "user_id" })
5607
5649
  ], FreelancerResume.prototype, "user", 2);
5608
5650
  __decorateClass([
5609
- Column64({ name: "resume_data", type: "jsonb", nullable: true })
5651
+ Column65({ name: "resume_data", type: "jsonb", nullable: true })
5610
5652
  ], FreelancerResume.prototype, "resumeData", 2);
5611
5653
  __decorateClass([
5612
- Column64({ name: "processed_resume_data", type: "jsonb", nullable: true })
5654
+ Column65({ name: "processed_resume_data", type: "jsonb", nullable: true })
5613
5655
  ], FreelancerResume.prototype, "processedResumeData", 2);
5614
5656
  FreelancerResume = __decorateClass([
5615
- Entity63("freelancer_resumes")
5657
+ Entity64("freelancer_resumes")
5616
5658
  ], FreelancerResume);
5617
5659
 
5618
5660
  // src/entities/signature.entity.ts
5619
5661
  import {
5620
- Entity as Entity64,
5621
- Column as Column65,
5622
- Index as Index57,
5623
- ManyToOne as ManyToOne60,
5624
- JoinColumn as JoinColumn60
5662
+ Entity as Entity65,
5663
+ Column as Column66,
5664
+ Index as Index58,
5665
+ ManyToOne as ManyToOne61,
5666
+ JoinColumn as JoinColumn61
5625
5667
  } from "typeorm";
5626
5668
  var Signature = class extends BaseEntity {
5627
5669
  };
5628
5670
  // individual index to find profile by user
5629
5671
  __decorateClass([
5630
- Column65({ name: "user_id", type: "integer", nullable: true }),
5631
- Index57()
5672
+ Column66({ name: "user_id", type: "integer", nullable: true }),
5673
+ Index58()
5632
5674
  ], Signature.prototype, "userId", 2);
5633
5675
  __decorateClass([
5634
- ManyToOne60(() => User, (user) => user.signatures),
5635
- JoinColumn60({ name: "user_id" })
5676
+ ManyToOne61(() => User, (user) => user.signatures),
5677
+ JoinColumn61({ name: "user_id" })
5636
5678
  ], Signature.prototype, "user", 2);
5637
5679
  __decorateClass([
5638
- Column65({ name: "signature_url", type: "text", nullable: true })
5680
+ Column66({ name: "signature_url", type: "text", nullable: true })
5639
5681
  ], Signature.prototype, "signatureUrl", 2);
5640
5682
  Signature = __decorateClass([
5641
- Entity64("signatures")
5683
+ Entity65("signatures")
5642
5684
  ], Signature);
5643
5685
 
5644
5686
  // src/entities/dispute.entity.ts
5645
- import { Entity as Entity65, Column as Column66, Index as Index58, JoinColumn as JoinColumn61, ManyToOne as ManyToOne61 } from "typeorm";
5687
+ import { Entity as Entity66, Column as Column67, Index as Index59, JoinColumn as JoinColumn62, ManyToOne as ManyToOne62 } from "typeorm";
5646
5688
  var DisputeStatusEnum = /* @__PURE__ */ ((DisputeStatusEnum2) => {
5647
5689
  DisputeStatusEnum2["OPEN"] = "OPEN";
5648
5690
  DisputeStatusEnum2["IN_REVIEW"] = "IN_REVIEW";
@@ -5663,36 +5705,36 @@ var InitiatorTypeEnum = /* @__PURE__ */ ((InitiatorTypeEnum2) => {
5663
5705
  var Dispute = class extends BaseEntity {
5664
5706
  };
5665
5707
  __decorateClass([
5666
- Column66({ name: "client_id", type: "integer", nullable: true }),
5667
- Index58()
5708
+ Column67({ name: "client_id", type: "integer", nullable: true }),
5709
+ Index59()
5668
5710
  ], Dispute.prototype, "clientId", 2);
5669
5711
  __decorateClass([
5670
- ManyToOne61(() => User, (user) => user.clientDisputes),
5671
- JoinColumn61({ name: "client_id" })
5712
+ ManyToOne62(() => User, (user) => user.clientDisputes),
5713
+ JoinColumn62({ name: "client_id" })
5672
5714
  ], Dispute.prototype, "client", 2);
5673
5715
  __decorateClass([
5674
- Column66({ name: "freelancer_id", type: "integer", nullable: true }),
5675
- Index58()
5716
+ Column67({ name: "freelancer_id", type: "integer", nullable: true }),
5717
+ Index59()
5676
5718
  ], Dispute.prototype, "freelancerId", 2);
5677
5719
  __decorateClass([
5678
- ManyToOne61(() => User, (user) => user.freelancerDisputes),
5679
- JoinColumn61({ name: "freelancer_id" })
5720
+ ManyToOne62(() => User, (user) => user.freelancerDisputes),
5721
+ JoinColumn62({ name: "freelancer_id" })
5680
5722
  ], Dispute.prototype, "freelancer", 2);
5681
5723
  __decorateClass([
5682
- Column66({ name: "dispute_unique_id", type: "varchar", unique: true })
5724
+ Column67({ name: "dispute_unique_id", type: "varchar", unique: true })
5683
5725
  ], Dispute.prototype, "disputeUniqueId", 2);
5684
5726
  __decorateClass([
5685
- Column66({ name: "dispute_type", type: "varchar", nullable: true }),
5686
- Index58()
5727
+ Column67({ name: "dispute_type", type: "varchar", nullable: true }),
5728
+ Index59()
5687
5729
  ], Dispute.prototype, "disputeType", 2);
5688
5730
  __decorateClass([
5689
- Column66({ name: "description", type: "varchar", nullable: true })
5731
+ Column67({ name: "description", type: "varchar", nullable: true })
5690
5732
  ], Dispute.prototype, "description", 2);
5691
5733
  __decorateClass([
5692
- Column66({ name: "comment", type: "varchar", nullable: true })
5734
+ Column67({ name: "comment", type: "varchar", nullable: true })
5693
5735
  ], Dispute.prototype, "comment", 2);
5694
5736
  __decorateClass([
5695
- Column66({
5737
+ Column67({
5696
5738
  name: "status",
5697
5739
  type: "enum",
5698
5740
  enum: DisputeStatusEnum,
@@ -5700,7 +5742,7 @@ __decorateClass([
5700
5742
  })
5701
5743
  ], Dispute.prototype, "status", 2);
5702
5744
  __decorateClass([
5703
- Column66({
5745
+ Column67({
5704
5746
  name: "initiator_type",
5705
5747
  type: "enum",
5706
5748
  enum: InitiatorTypeEnum,
@@ -5709,33 +5751,33 @@ __decorateClass([
5709
5751
  })
5710
5752
  ], Dispute.prototype, "initiatorType", 2);
5711
5753
  __decorateClass([
5712
- Column66({ name: "initiator_id", type: "integer" }),
5713
- Index58()
5754
+ Column67({ name: "initiator_id", type: "integer" }),
5755
+ Index59()
5714
5756
  ], Dispute.prototype, "initiatorId", 2);
5715
5757
  __decorateClass([
5716
- ManyToOne61(() => User, (user) => user.initiatedDisputes),
5717
- JoinColumn61({ name: "initiator_id" })
5758
+ ManyToOne62(() => User, (user) => user.initiatedDisputes),
5759
+ JoinColumn62({ name: "initiator_id" })
5718
5760
  ], Dispute.prototype, "initiator", 2);
5719
5761
  __decorateClass([
5720
- Column66({ name: "respondent_id", type: "integer", nullable: true }),
5721
- Index58()
5762
+ Column67({ name: "respondent_id", type: "integer", nullable: true }),
5763
+ Index59()
5722
5764
  ], Dispute.prototype, "respondentId", 2);
5723
5765
  __decorateClass([
5724
- ManyToOne61(() => User, (user) => user.respondentDisputes, { nullable: true }),
5725
- JoinColumn61({ name: "respondent_id" })
5766
+ ManyToOne62(() => User, (user) => user.respondentDisputes, { nullable: true }),
5767
+ JoinColumn62({ name: "respondent_id" })
5726
5768
  ], Dispute.prototype, "respondent", 2);
5727
5769
  __decorateClass([
5728
- Column66({ name: "attachments", type: "jsonb", nullable: true })
5770
+ Column67({ name: "attachments", type: "jsonb", nullable: true })
5729
5771
  ], Dispute.prototype, "attachments", 2);
5730
5772
  __decorateClass([
5731
- Column66({ name: "dynamic_fields", type: "jsonb", nullable: true })
5773
+ Column67({ name: "dynamic_fields", type: "jsonb", nullable: true })
5732
5774
  ], Dispute.prototype, "dynamicFields", 2);
5733
5775
  Dispute = __decorateClass([
5734
- Entity65("disputes")
5776
+ Entity66("disputes")
5735
5777
  ], Dispute);
5736
5778
 
5737
5779
  // src/entities/stripe-transaction.entity.ts
5738
- import { Entity as Entity66, Column as Column67, Index as Index59, ManyToOne as ManyToOne62, JoinColumn as JoinColumn62 } from "typeorm";
5780
+ import { Entity as Entity67, Column as Column68, Index as Index60, ManyToOne as ManyToOne63, JoinColumn as JoinColumn63 } from "typeorm";
5739
5781
  var StripeTransactionTypeEnum = /* @__PURE__ */ ((StripeTransactionTypeEnum2) => {
5740
5782
  StripeTransactionTypeEnum2["ADD_FUNDS"] = "ADD_FUNDS";
5741
5783
  StripeTransactionTypeEnum2["TRANSFER"] = "TRANSFER";
@@ -5757,97 +5799,97 @@ var StripeTransaction = class extends BaseEntity {
5757
5799
  // Full Stripe session response
5758
5800
  };
5759
5801
  __decorateClass([
5760
- Column67({ name: "user_id", type: "integer", nullable: true }),
5761
- Index59()
5802
+ Column68({ name: "user_id", type: "integer", nullable: true }),
5803
+ Index60()
5762
5804
  ], StripeTransaction.prototype, "userId", 2);
5763
5805
  __decorateClass([
5764
- ManyToOne62(() => User, (user) => user.stripeTransactions),
5765
- JoinColumn62({ name: "user_id" })
5806
+ ManyToOne63(() => User, (user) => user.stripeTransactions),
5807
+ JoinColumn63({ name: "user_id" })
5766
5808
  ], StripeTransaction.prototype, "user", 2);
5767
5809
  __decorateClass([
5768
- Column67({ name: "stripe_session_id", type: "varchar", nullable: true })
5810
+ Column68({ name: "stripe_session_id", type: "varchar", nullable: true })
5769
5811
  ], StripeTransaction.prototype, "stripeSessionId", 2);
5770
5812
  __decorateClass([
5771
- Column67({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
5813
+ Column68({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
5772
5814
  ], StripeTransaction.prototype, "stripePaymentIntentId", 2);
5773
5815
  __decorateClass([
5774
- Column67({ name: "stripe_charge_id", type: "varchar", nullable: true })
5816
+ Column68({ name: "stripe_charge_id", type: "varchar", nullable: true })
5775
5817
  ], StripeTransaction.prototype, "stripeChargeId", 2);
5776
5818
  __decorateClass([
5777
- Column67({ name: "stripe_receipt_url", type: "varchar", nullable: true })
5819
+ Column68({ name: "stripe_receipt_url", type: "varchar", nullable: true })
5778
5820
  ], StripeTransaction.prototype, "stripeReceiptUrl", 2);
5779
5821
  __decorateClass([
5780
- Column67({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
5822
+ Column68({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
5781
5823
  ], StripeTransaction.prototype, "stripeBalanceTransactionId", 2);
5782
5824
  __decorateClass([
5783
- Column67({ name: "stripe_payment_method", type: "varchar", nullable: true })
5825
+ Column68({ name: "stripe_payment_method", type: "varchar", nullable: true })
5784
5826
  ], StripeTransaction.prototype, "stripePaymentMethod", 2);
5785
5827
  __decorateClass([
5786
- Column67({ name: "stripe_payment_status", type: "varchar", nullable: true })
5828
+ Column68({ name: "stripe_payment_status", type: "varchar", nullable: true })
5787
5829
  ], StripeTransaction.prototype, "stripePaymentStatus", 2);
5788
5830
  __decorateClass([
5789
- Column67({ name: "type", type: "enum", enum: StripeTransactionTypeEnum })
5831
+ Column68({ name: "type", type: "enum", enum: StripeTransactionTypeEnum })
5790
5832
  ], StripeTransaction.prototype, "type", 2);
5791
5833
  __decorateClass([
5792
- Column67({ name: "currency", type: "varchar", nullable: true })
5834
+ Column68({ name: "currency", type: "varchar", nullable: true })
5793
5835
  ], StripeTransaction.prototype, "currency", 2);
5794
5836
  __decorateClass([
5795
- Column67({ 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" })
5837
+ Column68({ 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" })
5796
5838
  ], StripeTransaction.prototype, "desiredDepositCents", 2);
5797
5839
  __decorateClass([
5798
- Column67({ name: "platform_fee_cents", type: "bigint", default: 0, comment: "Your platform commission Example: 500 cents = $5.00 (5% of $100)" })
5840
+ Column68({ name: "platform_fee_cents", type: "bigint", default: 0, comment: "Your platform commission Example: 500 cents = $5.00 (5% of $100)" })
5799
5841
  ], StripeTransaction.prototype, "platformFeeCents", 2);
5800
5842
  __decorateClass([
5801
- Column67({ name: "tax_cents", type: "bigint", nullable: true, comment: "Sales tax collected by Stripe" })
5843
+ Column68({ name: "tax_cents", type: "bigint", nullable: true, comment: "Sales tax collected by Stripe" })
5802
5844
  ], StripeTransaction.prototype, "taxCents", 2);
5803
5845
  __decorateClass([
5804
- Column67({ name: "estimated_stripe_fee_cents", type: "bigint", nullable: true, comment: "Your calculated estimate of Stripe fee, Example: 371 cents = $3.71" })
5846
+ Column68({ name: "estimated_stripe_fee_cents", type: "bigint", nullable: true, comment: "Your calculated estimate of Stripe fee, Example: 371 cents = $3.71" })
5805
5847
  ], StripeTransaction.prototype, "estimatedStripeFee", 2);
5806
5848
  __decorateClass([
5807
- Column67({ 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" })
5849
+ Column68({ 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" })
5808
5850
  ], StripeTransaction.prototype, "estimatedTotalCents", 2);
5809
5851
  __decorateClass([
5810
- Column67({ name: "actual_stripe_fee_cents", type: "bigint", nullable: true, comment: "ACTUAL Stripe fee charged, Example: 371 cents = $3.71" })
5852
+ Column68({ name: "actual_stripe_fee_cents", type: "bigint", nullable: true, comment: "ACTUAL Stripe fee charged, Example: 371 cents = $3.71" })
5811
5853
  ], StripeTransaction.prototype, "actualStripeFee", 2);
5812
5854
  __decorateClass([
5813
- Column67({ name: "actual_total_paid_cents", type: "bigint", nullable: true, comment: "What customer ACTUALLY paid, Example: 11757 cents = $117.57, May differ from estimate" })
5855
+ Column68({ name: "actual_total_paid_cents", type: "bigint", nullable: true, comment: "What customer ACTUALLY paid, Example: 11757 cents = $117.57, May differ from estimate" })
5814
5856
  ], StripeTransaction.prototype, "actualTotalPaidCents", 2);
5815
5857
  __decorateClass([
5816
- Column67({ 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" })
5858
+ Column68({ 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" })
5817
5859
  ], StripeTransaction.prototype, "netReceivedCents", 2);
5818
5860
  __decorateClass([
5819
- Column67({ name: "description", type: "text", nullable: true })
5861
+ Column68({ name: "description", type: "text", nullable: true })
5820
5862
  ], StripeTransaction.prototype, "description", 2);
5821
5863
  __decorateClass([
5822
- Column67({ name: "status", type: "enum", enum: StripeTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5864
+ Column68({ name: "status", type: "enum", enum: StripeTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5823
5865
  ], StripeTransaction.prototype, "status", 2);
5824
5866
  __decorateClass([
5825
- Column67({ name: "checkout_session_completed_at", type: "timestamptz", nullable: true })
5867
+ Column68({ name: "checkout_session_completed_at", type: "timestamptz", nullable: true })
5826
5868
  ], StripeTransaction.prototype, "checkoutSessionCompletedAt", 2);
5827
5869
  __decorateClass([
5828
- Column67({ name: "completed_at", type: "timestamptz", nullable: true })
5870
+ Column68({ name: "completed_at", type: "timestamptz", nullable: true })
5829
5871
  ], StripeTransaction.prototype, "completedAt", 2);
5830
5872
  __decorateClass([
5831
- Column67({ name: "billing_details", type: "jsonb", nullable: true })
5873
+ Column68({ name: "billing_details", type: "jsonb", nullable: true })
5832
5874
  ], StripeTransaction.prototype, "billingDetails", 2);
5833
5875
  __decorateClass([
5834
- Column67({ name: "payment_method_details", type: "jsonb", nullable: true })
5876
+ Column68({ name: "payment_method_details", type: "jsonb", nullable: true })
5835
5877
  ], StripeTransaction.prototype, "paymentMethodDetails", 2);
5836
5878
  __decorateClass([
5837
- Column67({ name: "raw_session_payload", type: "jsonb", nullable: true })
5879
+ Column68({ name: "raw_session_payload", type: "jsonb", nullable: true })
5838
5880
  ], StripeTransaction.prototype, "rawSessionPayload", 2);
5839
5881
  __decorateClass([
5840
- Column67({ name: "raw_session_response", type: "jsonb", nullable: true })
5882
+ Column68({ name: "raw_session_response", type: "jsonb", nullable: true })
5841
5883
  ], StripeTransaction.prototype, "rawSessionResponse", 2);
5842
5884
  StripeTransaction = __decorateClass([
5843
- Entity66("stripe_transactions")
5885
+ Entity67("stripe_transactions")
5844
5886
  ], StripeTransaction);
5845
5887
 
5846
5888
  // src/entities/wallet.entity.ts
5847
- import { Entity as Entity68, Column as Column69, Index as Index61, JoinColumn as JoinColumn64, OneToOne as OneToOne11, OneToMany as OneToMany23 } from "typeorm";
5889
+ import { Entity as Entity69, Column as Column70, Index as Index62, JoinColumn as JoinColumn65, OneToOne as OneToOne11, OneToMany as OneToMany23 } from "typeorm";
5848
5890
 
5849
5891
  // src/entities/wallet-transaction.entity.ts
5850
- import { Entity as Entity67, Column as Column68, Index as Index60, ManyToOne as ManyToOne63, JoinColumn as JoinColumn63 } from "typeorm";
5892
+ import { Entity as Entity68, Column as Column69, Index as Index61, ManyToOne as ManyToOne64, JoinColumn as JoinColumn64 } from "typeorm";
5851
5893
  var WalletTransactionTypeEnum = /* @__PURE__ */ ((WalletTransactionTypeEnum2) => {
5852
5894
  WalletTransactionTypeEnum2["CR"] = "CR";
5853
5895
  WalletTransactionTypeEnum2["DR"] = "DR";
@@ -5864,46 +5906,46 @@ var WalletTransactionStatusEnum = /* @__PURE__ */ ((WalletTransactionStatusEnum2
5864
5906
  var WalletTransaction = class extends BaseEntity {
5865
5907
  };
5866
5908
  __decorateClass([
5867
- Column68({ name: "wallet_id", type: "integer", nullable: true }),
5868
- Index60()
5909
+ Column69({ name: "wallet_id", type: "integer", nullable: true }),
5910
+ Index61()
5869
5911
  ], WalletTransaction.prototype, "walletId", 2);
5870
5912
  __decorateClass([
5871
- ManyToOne63(() => Wallet, (wallet) => wallet.walletTransactions),
5872
- JoinColumn63({ name: "wallet_id" })
5913
+ ManyToOne64(() => Wallet, (wallet) => wallet.walletTransactions),
5914
+ JoinColumn64({ name: "wallet_id" })
5873
5915
  ], WalletTransaction.prototype, "wallet", 2);
5874
5916
  __decorateClass([
5875
- Column68({ name: "amount", type: "bigint", nullable: true })
5917
+ Column69({ name: "amount", type: "bigint", nullable: true })
5876
5918
  ], WalletTransaction.prototype, "amount", 2);
5877
5919
  __decorateClass([
5878
- Column68({ name: "balance_before", type: "bigint", nullable: true })
5920
+ Column69({ name: "balance_before", type: "bigint", nullable: true })
5879
5921
  ], WalletTransaction.prototype, "balanceBefore", 2);
5880
5922
  __decorateClass([
5881
- Column68({ name: "balance_after", type: "bigint", nullable: true })
5923
+ Column69({ name: "balance_after", type: "bigint", nullable: true })
5882
5924
  ], WalletTransaction.prototype, "balanceAfter", 2);
5883
5925
  __decorateClass([
5884
- Column68({ name: "type", type: "enum", enum: WalletTransactionTypeEnum })
5926
+ Column69({ name: "type", type: "enum", enum: WalletTransactionTypeEnum })
5885
5927
  ], WalletTransaction.prototype, "type", 2);
5886
5928
  __decorateClass([
5887
- Column68({ name: "status", type: "enum", enum: WalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5929
+ Column69({ name: "status", type: "enum", enum: WalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5888
5930
  ], WalletTransaction.prototype, "status", 2);
5889
5931
  __decorateClass([
5890
- Column68({ name: "description", type: "text", nullable: true })
5932
+ Column69({ name: "description", type: "text", nullable: true })
5891
5933
  ], WalletTransaction.prototype, "description", 2);
5892
5934
  __decorateClass([
5893
- Column68({ name: "completed_at", type: "timestamptz", nullable: true })
5935
+ Column69({ name: "completed_at", type: "timestamptz", nullable: true })
5894
5936
  ], WalletTransaction.prototype, "completedAt", 2);
5895
5937
  __decorateClass([
5896
- Column68({ name: "transaction_for", type: "varchar", nullable: true })
5938
+ Column69({ name: "transaction_for", type: "varchar", nullable: true })
5897
5939
  ], WalletTransaction.prototype, "transactionFor", 2);
5898
5940
  __decorateClass([
5899
- Column68({ name: "meta_data", type: "varchar", nullable: true })
5941
+ Column69({ name: "meta_data", type: "varchar", nullable: true })
5900
5942
  ], WalletTransaction.prototype, "metaData", 2);
5901
5943
  __decorateClass([
5902
- Column68({ name: "stripe_transaction_id", type: "integer", nullable: true }),
5903
- Index60()
5944
+ Column69({ name: "stripe_transaction_id", type: "integer", nullable: true }),
5945
+ Index61()
5904
5946
  ], WalletTransaction.prototype, "stripeTransactionId", 2);
5905
5947
  WalletTransaction = __decorateClass([
5906
- Entity67("wallet_transactions")
5948
+ Entity68("wallet_transactions")
5907
5949
  ], WalletTransaction);
5908
5950
 
5909
5951
  // src/entities/wallet.entity.ts
@@ -5921,48 +5963,48 @@ var WalletOnboardingStatusEnum = /* @__PURE__ */ ((WalletOnboardingStatusEnum2)
5921
5963
  var Wallet = class extends BaseEntity {
5922
5964
  };
5923
5965
  __decorateClass([
5924
- Column69({ name: "user_id", type: "integer", nullable: true }),
5925
- Index61()
5966
+ Column70({ name: "user_id", type: "integer", nullable: true }),
5967
+ Index62()
5926
5968
  ], Wallet.prototype, "userId", 2);
5927
5969
  __decorateClass([
5928
5970
  OneToOne11(() => User, (user) => user.wallet),
5929
- JoinColumn64({ name: "user_id" })
5971
+ JoinColumn65({ name: "user_id" })
5930
5972
  ], Wallet.prototype, "user", 2);
5931
5973
  __decorateClass([
5932
- Column69({ name: "account_type", type: "enum", enum: WalletAccountTypeEnum, nullable: true })
5974
+ Column70({ name: "account_type", type: "enum", enum: WalletAccountTypeEnum, nullable: true })
5933
5975
  ], Wallet.prototype, "accountType", 2);
5934
5976
  __decorateClass([
5935
- Column69({ name: "stripe_account_id", type: "varchar", nullable: true })
5977
+ Column70({ name: "stripe_account_id", type: "varchar", nullable: true })
5936
5978
  ], Wallet.prototype, "stripeAccountId", 2);
5937
5979
  __decorateClass([
5938
- Column69({ name: "stripe_customer_id", type: "varchar", nullable: true })
5980
+ Column70({ name: "stripe_customer_id", type: "varchar", nullable: true })
5939
5981
  ], Wallet.prototype, "stripeCustomerId", 2);
5940
5982
  __decorateClass([
5941
- Column69({ name: "wallet_balance", type: "varchar", default: "0", comment: "This column is just used to show balance, It will not be used in any computation" })
5983
+ Column70({ name: "wallet_balance", type: "varchar", default: "0", comment: "This column is just used to show balance, It will not be used in any computation" })
5942
5984
  ], Wallet.prototype, "walletBalance", 2);
5943
5985
  __decorateClass([
5944
- Column69({ 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" })
5986
+ Column70({ 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" })
5945
5987
  ], Wallet.prototype, "walletBalanceCents", 2);
5946
5988
  __decorateClass([
5947
- Column69({ name: "onboarding_status", type: "enum", enum: WalletOnboardingStatusEnum, nullable: true })
5989
+ Column70({ name: "onboarding_status", type: "enum", enum: WalletOnboardingStatusEnum, nullable: true })
5948
5990
  ], Wallet.prototype, "onboardingStatus", 2);
5949
5991
  __decorateClass([
5950
- Column69({ name: "stripe_metadata", type: "jsonb", nullable: true })
5992
+ Column70({ name: "stripe_metadata", type: "jsonb", nullable: true })
5951
5993
  ], Wallet.prototype, "stripeMetadata", 2);
5952
5994
  __decorateClass([
5953
5995
  OneToMany23(() => WalletTransaction, (walletTransaction) => walletTransaction.wallet)
5954
5996
  ], Wallet.prototype, "walletTransactions", 2);
5955
5997
  Wallet = __decorateClass([
5956
- Entity68("wallets")
5998
+ Entity69("wallets")
5957
5999
  ], Wallet);
5958
6000
 
5959
6001
  // src/entities/freelancer-assessment-request.entity.ts
5960
6002
  import {
5961
- Entity as Entity69,
5962
- Column as Column70,
5963
- ManyToOne as ManyToOne64,
5964
- Index as Index62,
5965
- JoinColumn as JoinColumn65
6003
+ Entity as Entity70,
6004
+ Column as Column71,
6005
+ ManyToOne as ManyToOne65,
6006
+ Index as Index63,
6007
+ JoinColumn as JoinColumn66
5966
6008
  } from "typeorm";
5967
6009
  var AssessmentRequestStatusEnum = /* @__PURE__ */ ((AssessmentRequestStatusEnum2) => {
5968
6010
  AssessmentRequestStatusEnum2["PENDING"] = "PENDING";
@@ -5973,23 +6015,23 @@ var AssessmentRequestStatusEnum = /* @__PURE__ */ ((AssessmentRequestStatusEnum2
5973
6015
  var FreelancerAssessmentRequest = class extends BaseEntity {
5974
6016
  };
5975
6017
  __decorateClass([
5976
- Column70({ name: "freelancer_id", type: "integer", nullable: true }),
5977
- Index62()
6018
+ Column71({ name: "freelancer_id", type: "integer", nullable: true }),
6019
+ Index63()
5978
6020
  ], FreelancerAssessmentRequest.prototype, "freelancerId", 2);
5979
6021
  __decorateClass([
5980
- ManyToOne64(() => User, (user) => user.freelancerAssessmentRequests),
5981
- JoinColumn65({ name: "freelancer_id" })
6022
+ ManyToOne65(() => User, (user) => user.freelancerAssessmentRequests),
6023
+ JoinColumn66({ name: "freelancer_id" })
5982
6024
  ], FreelancerAssessmentRequest.prototype, "freelancer", 2);
5983
6025
  __decorateClass([
5984
- Column70({ name: "approved_by_id", type: "integer", nullable: true }),
5985
- Index62()
6026
+ Column71({ name: "approved_by_id", type: "integer", nullable: true }),
6027
+ Index63()
5986
6028
  ], FreelancerAssessmentRequest.prototype, "approvedById", 2);
5987
6029
  __decorateClass([
5988
- ManyToOne64(() => User, (user) => user.assessmentRequests),
5989
- JoinColumn65({ name: "approved_by_id" })
6030
+ ManyToOne65(() => User, (user) => user.assessmentRequests),
6031
+ JoinColumn66({ name: "approved_by_id" })
5990
6032
  ], FreelancerAssessmentRequest.prototype, "approvedBy", 2);
5991
6033
  __decorateClass([
5992
- Column70({
6034
+ Column71({
5993
6035
  name: "status",
5994
6036
  type: "enum",
5995
6037
  enum: AssessmentRequestStatusEnum,
@@ -5997,51 +6039,51 @@ __decorateClass([
5997
6039
  })
5998
6040
  ], FreelancerAssessmentRequest.prototype, "status", 2);
5999
6041
  __decorateClass([
6000
- Column70({ name: "assessment_link", type: "text", nullable: true })
6042
+ Column71({ name: "assessment_link", type: "text", nullable: true })
6001
6043
  ], FreelancerAssessmentRequest.prototype, "assessmentLink", 2);
6002
6044
  FreelancerAssessmentRequest = __decorateClass([
6003
- Entity69({ name: "freelancer_assessment_requests" })
6045
+ Entity70({ name: "freelancer_assessment_requests" })
6004
6046
  ], FreelancerAssessmentRequest);
6005
6047
 
6006
6048
  // src/entities/in-app-notification.entity.ts
6007
- import { Entity as Entity70, Column as Column71, Index as Index63, ManyToOne as ManyToOne65, JoinColumn as JoinColumn66 } from "typeorm";
6049
+ import { Entity as Entity71, Column as Column72, Index as Index64, ManyToOne as ManyToOne66, JoinColumn as JoinColumn67 } from "typeorm";
6008
6050
  var InAppNotification = class extends BaseEntity {
6009
6051
  };
6010
6052
  __decorateClass([
6011
- Column71({ name: "user_id", type: "integer", nullable: true }),
6012
- Index63()
6053
+ Column72({ name: "user_id", type: "integer", nullable: true }),
6054
+ Index64()
6013
6055
  ], InAppNotification.prototype, "userId", 2);
6014
6056
  __decorateClass([
6015
- ManyToOne65(() => User, (user) => user.inAppNotifications),
6016
- JoinColumn66({ name: "user_id" })
6057
+ ManyToOne66(() => User, (user) => user.inAppNotifications),
6058
+ JoinColumn67({ name: "user_id" })
6017
6059
  ], InAppNotification.prototype, "user", 2);
6018
6060
  __decorateClass([
6019
- Column71({ name: "event", type: "varchar", nullable: true })
6061
+ Column72({ name: "event", type: "varchar", nullable: true })
6020
6062
  ], InAppNotification.prototype, "event", 2);
6021
6063
  __decorateClass([
6022
- Column71({ name: "title", type: "varchar", nullable: true })
6064
+ Column72({ name: "title", type: "varchar", nullable: true })
6023
6065
  ], InAppNotification.prototype, "title", 2);
6024
6066
  __decorateClass([
6025
- Column71({ name: "message", type: "varchar", nullable: true })
6067
+ Column72({ name: "message", type: "varchar", nullable: true })
6026
6068
  ], InAppNotification.prototype, "message", 2);
6027
6069
  __decorateClass([
6028
- Column71({ name: "redirect_url", type: "varchar", nullable: true })
6070
+ Column72({ name: "redirect_url", type: "varchar", nullable: true })
6029
6071
  ], InAppNotification.prototype, "redirectUrl", 2);
6030
6072
  __decorateClass([
6031
- Column71({ name: "is_read", type: "boolean", default: false })
6073
+ Column72({ name: "is_read", type: "boolean", default: false })
6032
6074
  ], InAppNotification.prototype, "isRead", 2);
6033
6075
  __decorateClass([
6034
- Column71({ name: "meta_data", type: "jsonb", nullable: true })
6076
+ Column72({ name: "meta_data", type: "jsonb", nullable: true })
6035
6077
  ], InAppNotification.prototype, "metaData", 2);
6036
6078
  InAppNotification = __decorateClass([
6037
- Entity70("in_app_notifications")
6079
+ Entity71("in_app_notifications")
6038
6080
  ], InAppNotification);
6039
6081
 
6040
6082
  // src/entities/task-query.entity.ts
6041
- import { Entity as Entity72, Column as Column73, Index as Index65, JoinColumn as JoinColumn68, ManyToOne as ManyToOne67, OneToMany as OneToMany24 } from "typeorm";
6083
+ import { Entity as Entity73, Column as Column74, Index as Index66, JoinColumn as JoinColumn69, ManyToOne as ManyToOne68, OneToMany as OneToMany24 } from "typeorm";
6042
6084
 
6043
6085
  // src/entities/task-query-message.entity.ts
6044
- import { Entity as Entity71, Column as Column72, Index as Index64, JoinColumn as JoinColumn67, ManyToOne as ManyToOne66 } from "typeorm";
6086
+ import { Entity as Entity72, Column as Column73, Index as Index65, JoinColumn as JoinColumn68, ManyToOne as ManyToOne67 } from "typeorm";
6045
6087
  var TaskQueryMessageUserTypeEnum = /* @__PURE__ */ ((TaskQueryMessageUserTypeEnum2) => {
6046
6088
  TaskQueryMessageUserTypeEnum2["CLIENT"] = "CLIENT";
6047
6089
  TaskQueryMessageUserTypeEnum2["FREELANCER"] = "FREELANCER";
@@ -6050,52 +6092,52 @@ var TaskQueryMessageUserTypeEnum = /* @__PURE__ */ ((TaskQueryMessageUserTypeEnu
6050
6092
  var TaskQueryMessage = class extends BaseEntity {
6051
6093
  };
6052
6094
  __decorateClass([
6053
- Column72({ name: "task_query_id", type: "integer" }),
6054
- Index64()
6095
+ Column73({ name: "task_query_id", type: "integer" }),
6096
+ Index65()
6055
6097
  ], TaskQueryMessage.prototype, "taskQueryId", 2);
6056
6098
  __decorateClass([
6057
- ManyToOne66(() => TaskQuery, (taskQuery) => taskQuery.messages),
6058
- JoinColumn67({ name: "task_query_id" })
6099
+ ManyToOne67(() => TaskQuery, (taskQuery) => taskQuery.messages),
6100
+ JoinColumn68({ name: "task_query_id" })
6059
6101
  ], TaskQueryMessage.prototype, "taskQuery", 2);
6060
6102
  __decorateClass([
6061
- Column72({ name: "sender_user_id", type: "integer" }),
6062
- Index64()
6103
+ Column73({ name: "sender_user_id", type: "integer" }),
6104
+ Index65()
6063
6105
  ], TaskQueryMessage.prototype, "senderUserId", 2);
6064
6106
  __decorateClass([
6065
- ManyToOne66(() => User, (user) => user.taskQueryMessages),
6066
- JoinColumn67({ name: "sender_user_id" })
6107
+ ManyToOne67(() => User, (user) => user.taskQueryMessages),
6108
+ JoinColumn68({ name: "sender_user_id" })
6067
6109
  ], TaskQueryMessage.prototype, "senderUser", 2);
6068
6110
  __decorateClass([
6069
- Column72({
6111
+ Column73({
6070
6112
  name: "sender_type",
6071
6113
  type: "enum",
6072
6114
  enum: TaskQueryMessageUserTypeEnum
6073
6115
  })
6074
6116
  ], TaskQueryMessage.prototype, "senderType", 2);
6075
6117
  __decorateClass([
6076
- Column72({ name: "message", type: "varchar", nullable: true })
6118
+ Column73({ name: "message", type: "varchar", nullable: true })
6077
6119
  ], TaskQueryMessage.prototype, "message", 2);
6078
6120
  __decorateClass([
6079
- Column72({ name: "attachment_url", type: "varchar", nullable: true })
6121
+ Column73({ name: "attachment_url", type: "varchar", nullable: true })
6080
6122
  ], TaskQueryMessage.prototype, "attachmentUrl", 2);
6081
6123
  __decorateClass([
6082
- Column72({ name: "attachment_type", type: "varchar", nullable: true })
6124
+ Column73({ name: "attachment_type", type: "varchar", nullable: true })
6083
6125
  ], TaskQueryMessage.prototype, "attachmentType", 2);
6084
6126
  __decorateClass([
6085
- Column72({ name: "meta", type: "jsonb", nullable: true })
6127
+ Column73({ name: "meta", type: "jsonb", nullable: true })
6086
6128
  ], TaskQueryMessage.prototype, "meta", 2);
6087
6129
  __decorateClass([
6088
- Column72({ name: "is_read", type: "boolean", default: false })
6130
+ Column73({ name: "is_read", type: "boolean", default: false })
6089
6131
  ], TaskQueryMessage.prototype, "isRead", 2);
6090
6132
  __decorateClass([
6091
- Column72({
6133
+ Column73({
6092
6134
  name: "read_at",
6093
6135
  type: "timestamp with time zone",
6094
6136
  nullable: true
6095
6137
  })
6096
6138
  ], TaskQueryMessage.prototype, "readAt", 2);
6097
6139
  TaskQueryMessage = __decorateClass([
6098
- Entity71("task_query_messages")
6140
+ Entity72("task_query_messages")
6099
6141
  ], TaskQueryMessage);
6100
6142
 
6101
6143
  // src/entities/task-query.entity.ts
@@ -6119,58 +6161,58 @@ var TaskQueryStatusEnum = /* @__PURE__ */ ((TaskQueryStatusEnum2) => {
6119
6161
  var TaskQuery = class extends BaseEntity {
6120
6162
  };
6121
6163
  __decorateClass([
6122
- Column73({ name: "task_id", type: "integer" }),
6123
- Index65()
6164
+ Column74({ name: "task_id", type: "integer" }),
6165
+ Index66()
6124
6166
  ], TaskQuery.prototype, "taskId", 2);
6125
6167
  __decorateClass([
6126
- ManyToOne67(() => Task),
6127
- JoinColumn68({ name: "task_id" })
6168
+ ManyToOne68(() => Task),
6169
+ JoinColumn69({ name: "task_id" })
6128
6170
  ], TaskQuery.prototype, "task", 2);
6129
6171
  __decorateClass([
6130
- Column73({ name: "raised_by_user_id", type: "integer" }),
6131
- Index65()
6172
+ Column74({ name: "raised_by_user_id", type: "integer" }),
6173
+ Index66()
6132
6174
  ], TaskQuery.prototype, "raisedByUserId", 2);
6133
6175
  __decorateClass([
6134
- ManyToOne67(() => User, (user) => user.raisedTaskQueries),
6135
- JoinColumn68({ name: "raised_by_user_id" })
6176
+ ManyToOne68(() => User, (user) => user.raisedTaskQueries),
6177
+ JoinColumn69({ name: "raised_by_user_id" })
6136
6178
  ], TaskQuery.prototype, "raisedByUser", 2);
6137
6179
  __decorateClass([
6138
- Column73({
6180
+ Column74({
6139
6181
  name: "raised_by_type",
6140
6182
  type: "enum",
6141
6183
  enum: TaskQueryUserTypeEnum
6142
6184
  })
6143
6185
  ], TaskQuery.prototype, "raisedByType", 2);
6144
6186
  __decorateClass([
6145
- Column73({ name: "assigned_to_user_id", type: "integer" }),
6146
- Index65()
6187
+ Column74({ name: "assigned_to_user_id", type: "integer" }),
6188
+ Index66()
6147
6189
  ], TaskQuery.prototype, "assignedToUserId", 2);
6148
6190
  __decorateClass([
6149
- ManyToOne67(() => User, (user) => user.assignedTaskQueries),
6150
- JoinColumn68({ name: "assigned_to_user_id" })
6191
+ ManyToOne68(() => User, (user) => user.assignedTaskQueries),
6192
+ JoinColumn69({ name: "assigned_to_user_id" })
6151
6193
  ], TaskQuery.prototype, "assignedToUser", 2);
6152
6194
  __decorateClass([
6153
- Column73({
6195
+ Column74({
6154
6196
  name: "assigned_to_type",
6155
6197
  type: "enum",
6156
6198
  enum: TaskQueryUserTypeEnum
6157
6199
  })
6158
6200
  ], TaskQuery.prototype, "assignedToType", 2);
6159
6201
  __decorateClass([
6160
- Column73({
6202
+ Column74({
6161
6203
  name: "query_category",
6162
6204
  type: "enum",
6163
6205
  enum: TaskQueryCategoryEnum
6164
6206
  })
6165
6207
  ], TaskQuery.prototype, "queryCategory", 2);
6166
6208
  __decorateClass([
6167
- Column73({ name: "subject", type: "varchar", nullable: true })
6209
+ Column74({ name: "subject", type: "varchar", nullable: true })
6168
6210
  ], TaskQuery.prototype, "subject", 2);
6169
6211
  __decorateClass([
6170
- Column73({ name: "description", type: "varchar", nullable: true })
6212
+ Column74({ name: "description", type: "varchar", nullable: true })
6171
6213
  ], TaskQuery.prototype, "description", 2);
6172
6214
  __decorateClass([
6173
- Column73({
6215
+ Column74({
6174
6216
  name: "status",
6175
6217
  type: "enum",
6176
6218
  enum: TaskQueryStatusEnum,
@@ -6178,26 +6220,26 @@ __decorateClass([
6178
6220
  })
6179
6221
  ], TaskQuery.prototype, "status", 2);
6180
6222
  __decorateClass([
6181
- Column73({
6223
+ Column74({
6182
6224
  name: "last_message_at",
6183
6225
  type: "timestamp with time zone",
6184
6226
  nullable: true
6185
6227
  })
6186
6228
  ], TaskQuery.prototype, "lastMessageAt", 2);
6187
6229
  __decorateClass([
6188
- Column73({ name: "last_message_preview", type: "varchar", nullable: true })
6230
+ Column74({ name: "last_message_preview", type: "varchar", nullable: true })
6189
6231
  ], TaskQuery.prototype, "lastMessagePreview", 2);
6190
6232
  __decorateClass([
6191
- Column73({ name: "unread_count_client", type: "integer", default: 0 })
6233
+ Column74({ name: "unread_count_client", type: "integer", default: 0 })
6192
6234
  ], TaskQuery.prototype, "unreadCountClient", 2);
6193
6235
  __decorateClass([
6194
- Column73({ name: "unread_count_freelancer", type: "integer", default: 0 })
6236
+ Column74({ name: "unread_count_freelancer", type: "integer", default: 0 })
6195
6237
  ], TaskQuery.prototype, "unreadCountFreelancer", 2);
6196
6238
  __decorateClass([
6197
6239
  OneToMany24(() => TaskQueryMessage, (message) => message.taskQuery, { cascade: true })
6198
6240
  ], TaskQuery.prototype, "messages", 2);
6199
6241
  TaskQuery = __decorateClass([
6200
- Entity72("task_queries")
6242
+ Entity73("task_queries")
6201
6243
  ], TaskQuery);
6202
6244
 
6203
6245
  // src/entities/user.entity.ts
@@ -6226,51 +6268,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
6226
6268
  var User = class extends BaseEntity {
6227
6269
  };
6228
6270
  __decorateClass([
6229
- Column74({ name: "unique_id", type: "varchar", unique: true })
6271
+ Column75({ name: "unique_id", type: "varchar", unique: true })
6230
6272
  ], User.prototype, "uniqueId", 2);
6231
6273
  __decorateClass([
6232
- Column74({ name: "parent_id", type: "integer", nullable: true }),
6233
- Index66()
6274
+ Column75({ name: "parent_id", type: "integer", nullable: true }),
6275
+ Index67()
6234
6276
  ], User.prototype, "parentId", 2);
6235
6277
  __decorateClass([
6236
- ManyToOne68(() => User, (user) => user.children, { nullable: true }),
6237
- JoinColumn69({ name: "parent_id" })
6278
+ ManyToOne69(() => User, (user) => user.children, { nullable: true }),
6279
+ JoinColumn70({ name: "parent_id" })
6238
6280
  ], User.prototype, "parent", 2);
6239
6281
  __decorateClass([
6240
6282
  OneToMany25(() => User, (user) => user.parent)
6241
6283
  ], User.prototype, "children", 2);
6242
6284
  __decorateClass([
6243
- Column74({ name: "username", type: "varchar", unique: true, nullable: true })
6285
+ Column75({ name: "username", type: "varchar", unique: true, nullable: true })
6244
6286
  ], User.prototype, "username", 2);
6245
6287
  __decorateClass([
6246
- Column74({ name: "first_name", type: "varchar", length: 100, nullable: true })
6288
+ Column75({ name: "first_name", type: "varchar", length: 100, nullable: true })
6247
6289
  ], User.prototype, "firstName", 2);
6248
6290
  __decorateClass([
6249
- Column74({ name: "last_name", type: "varchar", length: 100, nullable: true })
6291
+ Column75({ name: "last_name", type: "varchar", length: 100, nullable: true })
6250
6292
  ], User.prototype, "lastName", 2);
6251
6293
  __decorateClass([
6252
- Column74({ name: "date_of_birth", type: "date", nullable: true })
6294
+ Column75({ name: "date_of_birth", type: "date", nullable: true })
6253
6295
  ], User.prototype, "dateOfBirth", 2);
6254
6296
  __decorateClass([
6255
- Column74({ name: "gender", type: "varchar", length: 10, nullable: true })
6297
+ Column75({ name: "gender", type: "varchar", length: 10, nullable: true })
6256
6298
  ], User.prototype, "gender", 2);
6257
6299
  __decorateClass([
6258
- Column74({ name: "profile_picture_url", type: "text", nullable: true })
6300
+ Column75({ name: "profile_picture_url", type: "text", nullable: true })
6259
6301
  ], User.prototype, "profilePictureUrl", 2);
6260
6302
  __decorateClass([
6261
- Column74({ name: "email", type: "varchar", unique: true })
6303
+ Column75({ name: "email", type: "varchar", unique: true })
6262
6304
  ], User.prototype, "email", 2);
6263
6305
  __decorateClass([
6264
- Column74({ name: "mobile_code", type: "varchar", nullable: true })
6306
+ Column75({ name: "mobile_code", type: "varchar", nullable: true })
6265
6307
  ], User.prototype, "mobileCode", 2);
6266
6308
  __decorateClass([
6267
- Column74({ name: "mobile", type: "varchar", nullable: true })
6309
+ Column75({ name: "mobile", type: "varchar", nullable: true })
6268
6310
  ], User.prototype, "mobile", 2);
6269
6311
  __decorateClass([
6270
- Column74({ name: "password", type: "varchar", nullable: true })
6312
+ Column75({ name: "password", type: "varchar", nullable: true })
6271
6313
  ], User.prototype, "password", 2);
6272
6314
  __decorateClass([
6273
- Column74({
6315
+ Column75({
6274
6316
  name: "account_type",
6275
6317
  type: "enum",
6276
6318
  enum: AccountType2,
@@ -6278,7 +6320,7 @@ __decorateClass([
6278
6320
  })
6279
6321
  ], User.prototype, "accountType", 2);
6280
6322
  __decorateClass([
6281
- Column74({
6323
+ Column75({
6282
6324
  name: "account_status",
6283
6325
  type: "enum",
6284
6326
  enum: AccountStatus,
@@ -6286,45 +6328,45 @@ __decorateClass([
6286
6328
  })
6287
6329
  ], User.prototype, "accountStatus", 2);
6288
6330
  __decorateClass([
6289
- Column74({ name: "is_email_verified", type: "boolean", default: false })
6331
+ Column75({ name: "is_email_verified", type: "boolean", default: false })
6290
6332
  ], User.prototype, "isEmailVerified", 2);
6291
6333
  __decorateClass([
6292
- Column74({ name: "is_mobile_verified", type: "boolean", default: false })
6334
+ Column75({ name: "is_mobile_verified", type: "boolean", default: false })
6293
6335
  ], User.prototype, "isMobileVerified", 2);
6294
6336
  __decorateClass([
6295
- Column74({ name: "is_social", type: "boolean", default: false })
6337
+ Column75({ name: "is_social", type: "boolean", default: false })
6296
6338
  ], User.prototype, "isSocial", 2);
6297
6339
  __decorateClass([
6298
- Column74({ name: "is_referral_user", type: "boolean", default: false })
6340
+ Column75({ name: "is_referral_user", type: "boolean", default: false })
6299
6341
  ], User.prototype, "isReferralUser", 2);
6300
6342
  __decorateClass([
6301
- Column74({
6343
+ Column75({
6302
6344
  name: "last_login_at",
6303
6345
  type: "timestamp with time zone",
6304
6346
  nullable: true
6305
6347
  })
6306
6348
  ], User.prototype, "lastLoginAt", 2);
6307
6349
  __decorateClass([
6308
- Column74({ name: "last_login_ip", type: "varchar", nullable: true })
6350
+ Column75({ name: "last_login_ip", type: "varchar", nullable: true })
6309
6351
  ], User.prototype, "lastLoginIp", 2);
6310
6352
  __decorateClass([
6311
- Column74({ name: "reset_token", type: "varchar", nullable: true })
6353
+ Column75({ name: "reset_token", type: "varchar", nullable: true })
6312
6354
  ], User.prototype, "resetToken", 2);
6313
6355
  __decorateClass([
6314
- Column74({
6356
+ Column75({
6315
6357
  name: "reset_token_expire_at",
6316
6358
  type: "timestamp with time zone",
6317
6359
  nullable: true
6318
6360
  })
6319
6361
  ], User.prototype, "resetTokenExpireAt", 2);
6320
6362
  __decorateClass([
6321
- Column74({ name: "set_password_token", type: "varchar", nullable: true })
6363
+ Column75({ name: "set_password_token", type: "varchar", nullable: true })
6322
6364
  ], User.prototype, "setPasswordToken", 2);
6323
6365
  __decorateClass([
6324
6366
  OneToMany25(() => RefreshToken, (token) => token.user)
6325
6367
  ], User.prototype, "refreshTokens", 2);
6326
6368
  __decorateClass([
6327
- Column74({
6369
+ Column75({
6328
6370
  name: "provider",
6329
6371
  type: "enum",
6330
6372
  enum: Provider,
@@ -6333,19 +6375,19 @@ __decorateClass([
6333
6375
  })
6334
6376
  ], User.prototype, "provider", 2);
6335
6377
  __decorateClass([
6336
- Column74({ name: "provider_token", type: "varchar", nullable: true })
6378
+ Column75({ name: "provider_token", type: "varchar", nullable: true })
6337
6379
  ], User.prototype, "providerToken", 2);
6338
6380
  __decorateClass([
6339
- Column74({ name: "linkedin_id", type: "varchar", nullable: true })
6381
+ Column75({ name: "linkedin_id", type: "varchar", nullable: true })
6340
6382
  ], User.prototype, "linkedInId", 2);
6341
6383
  __decorateClass([
6342
- Column74({ name: "google_id", type: "varchar", nullable: true })
6384
+ Column75({ name: "google_id", type: "varchar", nullable: true })
6343
6385
  ], User.prototype, "googleId", 2);
6344
6386
  __decorateClass([
6345
- Column74({ name: "gitlabs_id", type: "varchar", nullable: true })
6387
+ Column75({ name: "gitlabs_id", type: "varchar", nullable: true })
6346
6388
  ], User.prototype, "gitLabsId", 2);
6347
6389
  __decorateClass([
6348
- Column74({ name: "onboarded_by", type: "varchar", nullable: true })
6390
+ Column75({ name: "onboarded_by", type: "varchar", nullable: true })
6349
6391
  ], User.prototype, "onBoardedBy", 2);
6350
6392
  __decorateClass([
6351
6393
  OneToMany25(() => Otp, (otp) => otp.user)
@@ -6592,7 +6634,7 @@ __decorateClass([
6592
6634
  OneToMany25(() => InAppNotification, (inAppNotification) => inAppNotification.user)
6593
6635
  ], User.prototype, "inAppNotifications", 2);
6594
6636
  User = __decorateClass([
6595
- Entity73("users")
6637
+ Entity74("users")
6596
6638
  ], User);
6597
6639
 
6598
6640
  // src/modules/user/subadmin/dto/update-subadmin-account-status.dto.ts
@@ -13076,7 +13118,12 @@ var TASK_PATTERN = {
13076
13118
  deleteTask: "delete.task",
13077
13119
  addClientRemark: "task.client.remark",
13078
13120
  markTaskAsCompleted: "task.client.mark.as.completed",
13079
- updateEstimateTime: "task.freelancer.update.estimate.time"
13121
+ markTaskAsSubmitted: "task.freelancer.mark.as.submitted",
13122
+ updateEstimateTime: "task.freelancer.update.estimate.time",
13123
+ addTaskQuery: "task.query.add",
13124
+ fetchTaskQueriesWithDetails: "task.query.fetch.with.details",
13125
+ addTaskQueryReply: "task.query.reply.add",
13126
+ markTaskQueryMessagesRead: "task.query.messages.read"
13080
13127
  };
13081
13128
 
13082
13129
  // src/modules/task/dto/create-task.dto.ts
@@ -13349,6 +13396,55 @@ __decorateClass([
13349
13396
  IsString99()
13350
13397
  ], UpdateEstimateTimeDto.prototype, "additionalWorkNote", 2);
13351
13398
 
13399
+ // src/modules/task/dto/create-task-query.dto.ts
13400
+ import { IsEnum as IsEnum49, IsOptional as IsOptional90, IsString as IsString100 } from "class-validator";
13401
+ var CreateTaskQueryDto = class {
13402
+ };
13403
+ __decorateClass([
13404
+ IsEnum49(TaskQueryCategoryEnum)
13405
+ ], CreateTaskQueryDto.prototype, "queryCategory", 2);
13406
+ __decorateClass([
13407
+ IsOptional90(),
13408
+ IsString100()
13409
+ ], CreateTaskQueryDto.prototype, "subject", 2);
13410
+ __decorateClass([
13411
+ IsOptional90(),
13412
+ IsString100()
13413
+ ], CreateTaskQueryDto.prototype, "description", 2);
13414
+ __decorateClass([
13415
+ IsOptional90(),
13416
+ IsString100()
13417
+ ], CreateTaskQueryDto.prototype, "message", 2);
13418
+ __decorateClass([
13419
+ IsOptional90()
13420
+ ], CreateTaskQueryDto.prototype, "file", 2);
13421
+
13422
+ // src/modules/task/dto/add-task-query-reply.dto.ts
13423
+ import { IsOptional as IsOptional91, IsString as IsString101 } from "class-validator";
13424
+ var AddTaskQueryReplyDto = class {
13425
+ };
13426
+ __decorateClass([
13427
+ IsOptional91(),
13428
+ IsString101()
13429
+ ], AddTaskQueryReplyDto.prototype, "message", 2);
13430
+ __decorateClass([
13431
+ IsOptional91()
13432
+ ], AddTaskQueryReplyDto.prototype, "file", 2);
13433
+
13434
+ // src/modules/task/dto/mark-task-query-messages-read.dto.ts
13435
+ import { IsArray as IsArray33, IsOptional as IsOptional92, IsString as IsString102 } from "class-validator";
13436
+ var MarkTaskQueryMessagesReadDto = class {
13437
+ };
13438
+ __decorateClass([
13439
+ IsOptional92(),
13440
+ IsString102()
13441
+ ], MarkTaskQueryMessagesReadDto.prototype, "messageUuid", 2);
13442
+ __decorateClass([
13443
+ IsOptional92(),
13444
+ IsArray33(),
13445
+ IsString102({ each: true })
13446
+ ], MarkTaskQueryMessagesReadDto.prototype, "messageUuids", 2);
13447
+
13352
13448
  // src/adapters/tcp/user.tcp.adapter.ts
13353
13449
  import { config } from "dotenv";
13354
13450
  import { Transport as Transport2 } from "@nestjs/microservices";
@@ -13710,11 +13806,11 @@ var ChatRMQAdapter = (mode = "microservice") => {
13710
13806
  };
13711
13807
 
13712
13808
  // src/entities/sequence-generator.entity.ts
13713
- import { Entity as Entity74, Column as Column75 } from "typeorm";
13809
+ import { Entity as Entity75, Column as Column76 } from "typeorm";
13714
13810
  var SequenceGenerator = class extends BaseEntity {
13715
13811
  };
13716
13812
  __decorateClass([
13717
- Column75({
13813
+ Column76({
13718
13814
  name: "module",
13719
13815
  type: "varchar",
13720
13816
  length: 50,
@@ -13723,7 +13819,7 @@ __decorateClass([
13723
13819
  })
13724
13820
  ], SequenceGenerator.prototype, "module", 2);
13725
13821
  __decorateClass([
13726
- Column75({
13822
+ Column76({
13727
13823
  name: "prefix",
13728
13824
  type: "varchar",
13729
13825
  length: 10,
@@ -13732,7 +13828,7 @@ __decorateClass([
13732
13828
  })
13733
13829
  ], SequenceGenerator.prototype, "prefix", 2);
13734
13830
  __decorateClass([
13735
- Column75({
13831
+ Column76({
13736
13832
  name: "last_sequence",
13737
13833
  type: "int",
13738
13834
  nullable: false,
@@ -13740,7 +13836,7 @@ __decorateClass([
13740
13836
  })
13741
13837
  ], SequenceGenerator.prototype, "lastSequence", 2);
13742
13838
  __decorateClass([
13743
- Column75({
13839
+ Column76({
13744
13840
  name: "year",
13745
13841
  type: "int",
13746
13842
  nullable: true,
@@ -13748,11 +13844,11 @@ __decorateClass([
13748
13844
  })
13749
13845
  ], SequenceGenerator.prototype, "year", 2);
13750
13846
  SequenceGenerator = __decorateClass([
13751
- Entity74("sequence_generators")
13847
+ Entity75("sequence_generators")
13752
13848
  ], SequenceGenerator);
13753
13849
 
13754
13850
  // src/entities/question.entity.ts
13755
- import { Entity as Entity75, Column as Column76 } from "typeorm";
13851
+ import { Entity as Entity76, Column as Column77 } from "typeorm";
13756
13852
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
13757
13853
  QuestionFor2["CLIENT"] = "CLIENT";
13758
13854
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -13761,16 +13857,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
13761
13857
  var Question = class extends BaseEntity {
13762
13858
  };
13763
13859
  __decorateClass([
13764
- Column76({ name: "question", type: "varchar" })
13860
+ Column77({ name: "question", type: "varchar" })
13765
13861
  ], Question.prototype, "question", 2);
13766
13862
  __decorateClass([
13767
- Column76({ name: "hint", type: "varchar", nullable: true })
13863
+ Column77({ name: "hint", type: "varchar", nullable: true })
13768
13864
  ], Question.prototype, "hint", 2);
13769
13865
  __decorateClass([
13770
- Column76({ name: "slug", type: "varchar", nullable: true, unique: true })
13866
+ Column77({ name: "slug", type: "varchar", nullable: true, unique: true })
13771
13867
  ], Question.prototype, "slug", 2);
13772
13868
  __decorateClass([
13773
- Column76({
13869
+ Column77({
13774
13870
  name: "question_for",
13775
13871
  type: "enum",
13776
13872
  enum: QuestionFor,
@@ -13778,49 +13874,49 @@ __decorateClass([
13778
13874
  })
13779
13875
  ], Question.prototype, "questionFor", 2);
13780
13876
  __decorateClass([
13781
- Column76({ name: "type", type: "varchar", nullable: true })
13877
+ Column77({ name: "type", type: "varchar", nullable: true })
13782
13878
  ], Question.prototype, "type", 2);
13783
13879
  __decorateClass([
13784
- Column76({ name: "options", type: "jsonb", nullable: true })
13880
+ Column77({ name: "options", type: "jsonb", nullable: true })
13785
13881
  ], Question.prototype, "options", 2);
13786
13882
  __decorateClass([
13787
- Column76({ name: "is_active", type: "boolean", default: false })
13883
+ Column77({ name: "is_active", type: "boolean", default: false })
13788
13884
  ], Question.prototype, "isActive", 2);
13789
13885
  Question = __decorateClass([
13790
- Entity75("questions")
13886
+ Entity76("questions")
13791
13887
  ], Question);
13792
13888
 
13793
13889
  // src/entities/skill.entity.ts
13794
- import { Entity as Entity76, Column as Column77 } from "typeorm";
13890
+ import { Entity as Entity77, Column as Column78 } from "typeorm";
13795
13891
  var Skill = class extends BaseEntity {
13796
13892
  };
13797
13893
  __decorateClass([
13798
- Column77({ name: "name", type: "varchar", nullable: true })
13894
+ Column78({ name: "name", type: "varchar", nullable: true })
13799
13895
  ], Skill.prototype, "name", 2);
13800
13896
  __decorateClass([
13801
- Column77({ name: "slug", type: "varchar", nullable: true, unique: true })
13897
+ Column78({ name: "slug", type: "varchar", nullable: true, unique: true })
13802
13898
  ], Skill.prototype, "slug", 2);
13803
13899
  __decorateClass([
13804
- Column77({ name: "is_active", type: "boolean", default: false })
13900
+ Column78({ name: "is_active", type: "boolean", default: false })
13805
13901
  ], Skill.prototype, "isActive", 2);
13806
13902
  Skill = __decorateClass([
13807
- Entity76("skills")
13903
+ Entity77("skills")
13808
13904
  ], Skill);
13809
13905
 
13810
13906
  // src/entities/skill-catalog.entity.ts
13811
13907
  import {
13812
- Entity as Entity77,
13813
- Column as Column78,
13814
- Index as Index67
13908
+ Entity as Entity78,
13909
+ Column as Column79,
13910
+ Index as Index68
13815
13911
  } from "typeorm";
13816
13912
  var SkillCatalog = class extends BaseEntity {
13817
13913
  };
13818
13914
  __decorateClass([
13819
- Column78({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
13820
- Index67()
13915
+ Column79({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
13916
+ Index68()
13821
13917
  ], SkillCatalog.prototype, "canonicalName", 2);
13822
13918
  __decorateClass([
13823
- Column78({
13919
+ Column79({
13824
13920
  name: "aliases",
13825
13921
  type: "text",
13826
13922
  array: true,
@@ -13828,20 +13924,20 @@ __decorateClass([
13828
13924
  })
13829
13925
  ], SkillCatalog.prototype, "aliases", 2);
13830
13926
  __decorateClass([
13831
- Column78({
13927
+ Column79({
13832
13928
  name: "variations",
13833
13929
  type: "jsonb",
13834
13930
  default: "{}"
13835
13931
  })
13836
13932
  ], SkillCatalog.prototype, "variations", 2);
13837
13933
  __decorateClass([
13838
- Column78({ name: "category", type: "varchar", length: 50, nullable: true })
13934
+ Column79({ name: "category", type: "varchar", length: 50, nullable: true })
13839
13935
  ], SkillCatalog.prototype, "category", 2);
13840
13936
  __decorateClass([
13841
- Column78({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
13937
+ Column79({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
13842
13938
  ], SkillCatalog.prototype, "parentSkill", 2);
13843
13939
  __decorateClass([
13844
- Column78({
13940
+ Column79({
13845
13941
  name: "related_skills",
13846
13942
  type: "text",
13847
13943
  array: true,
@@ -13849,70 +13945,70 @@ __decorateClass([
13849
13945
  })
13850
13946
  ], SkillCatalog.prototype, "relatedSkills", 2);
13851
13947
  __decorateClass([
13852
- Column78({ name: "usage_count", type: "integer", default: 0 }),
13853
- Index67()
13948
+ Column79({ name: "usage_count", type: "integer", default: 0 }),
13949
+ Index68()
13854
13950
  ], SkillCatalog.prototype, "usageCount", 2);
13855
13951
  __decorateClass([
13856
- Column78({ name: "is_verified", type: "boolean", default: false })
13952
+ Column79({ name: "is_verified", type: "boolean", default: false })
13857
13953
  ], SkillCatalog.prototype, "isVerified", 2);
13858
13954
  __decorateClass([
13859
- Column78({ name: "first_seen_date", type: "date" })
13955
+ Column79({ name: "first_seen_date", type: "date" })
13860
13956
  ], SkillCatalog.prototype, "firstSeenDate", 2);
13861
13957
  __decorateClass([
13862
- Column78({ name: "last_updated_date", type: "date" })
13958
+ Column79({ name: "last_updated_date", type: "date" })
13863
13959
  ], SkillCatalog.prototype, "lastUpdatedDate", 2);
13864
13960
  __decorateClass([
13865
- Column78({
13961
+ Column79({
13866
13962
  name: "search_vector",
13867
13963
  type: "tsvector",
13868
13964
  nullable: true
13869
13965
  })
13870
13966
  ], SkillCatalog.prototype, "searchVector", 2);
13871
13967
  SkillCatalog = __decorateClass([
13872
- Entity77("skill_catalogs")
13968
+ Entity78("skill_catalogs")
13873
13969
  ], SkillCatalog);
13874
13970
 
13875
13971
  // src/entities/job-role.entity.ts
13876
- import { Entity as Entity78, Column as Column79 } from "typeorm";
13972
+ import { Entity as Entity79, Column as Column80 } from "typeorm";
13877
13973
  var JobRoles = class extends BaseEntity {
13878
13974
  };
13879
13975
  __decorateClass([
13880
- Column79({ name: "slug", type: "varchar", nullable: true, unique: true })
13976
+ Column80({ name: "slug", type: "varchar", nullable: true, unique: true })
13881
13977
  ], JobRoles.prototype, "slug", 2);
13882
13978
  __decorateClass([
13883
- Column79({ name: "name", type: "varchar", nullable: true })
13979
+ Column80({ name: "name", type: "varchar", nullable: true })
13884
13980
  ], JobRoles.prototype, "name", 2);
13885
13981
  __decorateClass([
13886
- Column79({ name: "is_active", type: "boolean", default: true })
13982
+ Column80({ name: "is_active", type: "boolean", default: true })
13887
13983
  ], JobRoles.prototype, "isActive", 2);
13888
13984
  JobRoles = __decorateClass([
13889
- Entity78("job_roles")
13985
+ Entity79("job_roles")
13890
13986
  ], JobRoles);
13891
13987
 
13892
13988
  // src/entities/cms.entity.ts
13893
- import { Entity as Entity79, Column as Column80 } from "typeorm";
13989
+ import { Entity as Entity80, Column as Column81 } from "typeorm";
13894
13990
  var Cms = class extends BaseEntity {
13895
13991
  };
13896
13992
  __decorateClass([
13897
- Column80({ name: "title", type: "varchar", nullable: true })
13993
+ Column81({ name: "title", type: "varchar", nullable: true })
13898
13994
  ], Cms.prototype, "title", 2);
13899
13995
  __decorateClass([
13900
- Column80({ name: "slug", type: "varchar", nullable: true, unique: true })
13996
+ Column81({ name: "slug", type: "varchar", nullable: true, unique: true })
13901
13997
  ], Cms.prototype, "slug", 2);
13902
13998
  __decorateClass([
13903
- Column80({ name: "content", type: "varchar", nullable: true })
13999
+ Column81({ name: "content", type: "varchar", nullable: true })
13904
14000
  ], Cms.prototype, "content", 2);
13905
14001
  __decorateClass([
13906
- Column80({ name: "is_active", type: "boolean", default: true })
14002
+ Column81({ name: "is_active", type: "boolean", default: true })
13907
14003
  ], Cms.prototype, "isActive", 2);
13908
14004
  Cms = __decorateClass([
13909
- Entity79("cms")
14005
+ Entity80("cms")
13910
14006
  ], Cms);
13911
14007
 
13912
14008
  // src/entities/lead.entity.ts
13913
14009
  import {
13914
- Entity as Entity80,
13915
- Column as Column81
14010
+ Entity as Entity81,
14011
+ Column as Column82
13916
14012
  } from "typeorm";
13917
14013
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
13918
14014
  CategoryEmum2["BUSINESS"] = "BUSINESS";
@@ -13922,22 +14018,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
13922
14018
  var Lead = class extends BaseEntity {
13923
14019
  };
13924
14020
  __decorateClass([
13925
- Column81({ name: "name", type: "varchar", nullable: true })
14021
+ Column82({ name: "name", type: "varchar", nullable: true })
13926
14022
  ], Lead.prototype, "name", 2);
13927
14023
  __decorateClass([
13928
- Column81({ name: "mobile_code", type: "varchar", nullable: true })
14024
+ Column82({ name: "mobile_code", type: "varchar", nullable: true })
13929
14025
  ], Lead.prototype, "mobileCode", 2);
13930
14026
  __decorateClass([
13931
- Column81({ name: "mobile", type: "varchar", nullable: true })
14027
+ Column82({ name: "mobile", type: "varchar", nullable: true })
13932
14028
  ], Lead.prototype, "mobile", 2);
13933
14029
  __decorateClass([
13934
- Column81({ name: "email", type: "varchar", nullable: true })
14030
+ Column82({ name: "email", type: "varchar", nullable: true })
13935
14031
  ], Lead.prototype, "email", 2);
13936
14032
  __decorateClass([
13937
- Column81({ name: "description", type: "varchar", nullable: true })
14033
+ Column82({ name: "description", type: "varchar", nullable: true })
13938
14034
  ], Lead.prototype, "description", 2);
13939
14035
  __decorateClass([
13940
- Column81({
14036
+ Column82({
13941
14037
  name: "category",
13942
14038
  type: "enum",
13943
14039
  enum: CategoryEmum,
@@ -13945,7 +14041,7 @@ __decorateClass([
13945
14041
  })
13946
14042
  ], Lead.prototype, "category", 2);
13947
14043
  Lead = __decorateClass([
13948
- Entity80("leads")
14044
+ Entity81("leads")
13949
14045
  ], Lead);
13950
14046
 
13951
14047
  // src/entities/job-freelancer-recommendation.entity.ts
@@ -14186,7 +14282,7 @@ ClientFreelancerRecommendation = __decorateClass([
14186
14282
  ], ClientFreelancerRecommendation);
14187
14283
 
14188
14284
  // src/entities/commission.entity.ts
14189
- import { Entity as Entity81, Column as Column82 } from "typeorm";
14285
+ import { Entity as Entity82, Column as Column83 } from "typeorm";
14190
14286
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
14191
14287
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
14192
14288
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -14195,7 +14291,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
14195
14291
  var Commission = class extends BaseEntity {
14196
14292
  };
14197
14293
  __decorateClass([
14198
- Column82({
14294
+ Column83({
14199
14295
  name: "freelancer_commission_type",
14200
14296
  type: "enum",
14201
14297
  enum: CommissionTypeEnum,
@@ -14203,10 +14299,10 @@ __decorateClass([
14203
14299
  })
14204
14300
  ], Commission.prototype, "freelancerCommissionType", 2);
14205
14301
  __decorateClass([
14206
- Column82({ name: "freelancer_commission", type: "integer", default: 0 })
14302
+ Column83({ name: "freelancer_commission", type: "integer", default: 0 })
14207
14303
  ], Commission.prototype, "freelancerCommission", 2);
14208
14304
  __decorateClass([
14209
- Column82({
14305
+ Column83({
14210
14306
  name: "client_commission_type",
14211
14307
  type: "enum",
14212
14308
  enum: CommissionTypeEnum,
@@ -14214,58 +14310,58 @@ __decorateClass([
14214
14310
  })
14215
14311
  ], Commission.prototype, "clientCommissionType", 2);
14216
14312
  __decorateClass([
14217
- Column82({ name: "client_commission", type: "integer", default: 0 })
14313
+ Column83({ name: "client_commission", type: "integer", default: 0 })
14218
14314
  ], Commission.prototype, "clientCommission", 2);
14219
14315
  Commission = __decorateClass([
14220
- Entity81("commissions")
14316
+ Entity82("commissions")
14221
14317
  ], Commission);
14222
14318
 
14223
14319
  // src/entities/calendly-meeting-log.entity.ts
14224
14320
  import {
14225
- Entity as Entity82,
14226
- Column as Column83,
14227
- Index as Index68
14321
+ Entity as Entity83,
14322
+ Column as Column84,
14323
+ Index as Index69
14228
14324
  } from "typeorm";
14229
14325
  var CalendlyMeetingLog = class extends BaseEntity {
14230
14326
  };
14231
14327
  __decorateClass([
14232
- Column83({ name: "calendly_event_id", type: "varchar", nullable: true }),
14233
- Index68()
14328
+ Column84({ name: "calendly_event_id", type: "varchar", nullable: true }),
14329
+ Index69()
14234
14330
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
14235
14331
  __decorateClass([
14236
- Column83({ name: "calendly_event_type", type: "varchar", nullable: true })
14332
+ Column84({ name: "calendly_event_type", type: "varchar", nullable: true })
14237
14333
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
14238
14334
  __decorateClass([
14239
- Column83({ name: "raw_webhook_data", type: "jsonb", nullable: true })
14335
+ Column84({ name: "raw_webhook_data", type: "jsonb", nullable: true })
14240
14336
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
14241
14337
  CalendlyMeetingLog = __decorateClass([
14242
- Entity82("calendly_meeting_logs")
14338
+ Entity83("calendly_meeting_logs")
14243
14339
  ], CalendlyMeetingLog);
14244
14340
 
14245
14341
  // src/entities/zoom-meeting-log.entity.ts
14246
14342
  import {
14247
- Entity as Entity83,
14248
- Column as Column84,
14249
- Index as Index69
14343
+ Entity as Entity84,
14344
+ Column as Column85,
14345
+ Index as Index70
14250
14346
  } from "typeorm";
14251
14347
  var ZoomMeetingLog = class extends BaseEntity {
14252
14348
  };
14253
14349
  __decorateClass([
14254
- Column84({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
14255
- Index69()
14350
+ Column85({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
14351
+ Index70()
14256
14352
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
14257
14353
  __decorateClass([
14258
- Column84({ name: "zoom_event_type", type: "varchar", nullable: true })
14354
+ Column85({ name: "zoom_event_type", type: "varchar", nullable: true })
14259
14355
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
14260
14356
  __decorateClass([
14261
- Column84({ name: "raw_webhook_data", type: "jsonb", nullable: true })
14357
+ Column85({ name: "raw_webhook_data", type: "jsonb", nullable: true })
14262
14358
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
14263
14359
  ZoomMeetingLog = __decorateClass([
14264
- Entity83("zoom_meeting_logs")
14360
+ Entity84("zoom_meeting_logs")
14265
14361
  ], ZoomMeetingLog);
14266
14362
 
14267
14363
  // src/entities/docuseal.entity.ts
14268
- import { Entity as Entity84, Column as Column85, Index as Index70 } from "typeorm";
14364
+ import { Entity as Entity85, Column as Column86, Index as Index71 } from "typeorm";
14269
14365
  var DocuSealTypeEnum = /* @__PURE__ */ ((DocuSealTypeEnum2) => {
14270
14366
  DocuSealTypeEnum2["FREELANCER_SERVICE_AGGREMENT"] = "FREELANCER_SERVICE_AGGREMENT";
14271
14367
  DocuSealTypeEnum2["CLIENT_SERVICE_AGGREMENT"] = "CLIENT_SERVICE_AGGREMENT";
@@ -14275,101 +14371,101 @@ var DocuSealTypeEnum = /* @__PURE__ */ ((DocuSealTypeEnum2) => {
14275
14371
  var DocuSeal = class extends BaseEntity {
14276
14372
  };
14277
14373
  __decorateClass([
14278
- Column85({ name: "reference_id", type: "integer", nullable: false }),
14279
- Index70()
14374
+ Column86({ name: "reference_id", type: "integer", nullable: false }),
14375
+ Index71()
14280
14376
  ], DocuSeal.prototype, "referenceId", 2);
14281
14377
  __decorateClass([
14282
- Column85({ name: "submitter_id", type: "integer", nullable: true }),
14283
- Index70()
14378
+ Column86({ name: "submitter_id", type: "integer", nullable: true }),
14379
+ Index71()
14284
14380
  ], DocuSeal.prototype, "submitterId", 2);
14285
14381
  __decorateClass([
14286
- Column85({ name: "submitter_response", type: "jsonb", nullable: true })
14382
+ Column86({ name: "submitter_response", type: "jsonb", nullable: true })
14287
14383
  ], DocuSeal.prototype, "submitterResponse", 2);
14288
14384
  __decorateClass([
14289
- Column85({ name: "webhook_response", type: "jsonb", nullable: true })
14385
+ Column86({ name: "webhook_response", type: "jsonb", nullable: true })
14290
14386
  ], DocuSeal.prototype, "webhookResponse", 2);
14291
14387
  __decorateClass([
14292
- Column85({ name: "type", type: "enum", enum: DocuSealTypeEnum, nullable: true })
14388
+ Column86({ name: "type", type: "enum", enum: DocuSealTypeEnum, nullable: true })
14293
14389
  ], DocuSeal.prototype, "type", 2);
14294
14390
  DocuSeal = __decorateClass([
14295
- Entity84("docuseal")
14391
+ Entity85("docuseal")
14296
14392
  ], DocuSeal);
14297
14393
 
14298
14394
  // src/entities/stripe-logs.entity.ts
14299
- import { Entity as Entity85, Column as Column86 } from "typeorm";
14395
+ import { Entity as Entity86, Column as Column87 } from "typeorm";
14300
14396
  var StripeLog = class extends BaseEntity {
14301
14397
  };
14302
14398
  __decorateClass([
14303
- Column86({ name: "stripe_event_id", type: "varchar", nullable: true })
14399
+ Column87({ name: "stripe_event_id", type: "varchar", nullable: true })
14304
14400
  ], StripeLog.prototype, "stripeEventId", 2);
14305
14401
  __decorateClass([
14306
- Column86({ name: "event_type", type: "varchar", nullable: true })
14402
+ Column87({ name: "event_type", type: "varchar", nullable: true })
14307
14403
  ], StripeLog.prototype, "eventType", 2);
14308
14404
  __decorateClass([
14309
- Column86({ name: "stripe_account_id", type: "varchar", nullable: true })
14405
+ Column87({ name: "stripe_account_id", type: "varchar", nullable: true })
14310
14406
  ], StripeLog.prototype, "stripeAccountId", 2);
14311
14407
  __decorateClass([
14312
- Column86({ name: "raw_webhook_data", type: "jsonb", nullable: true })
14408
+ Column87({ name: "raw_webhook_data", type: "jsonb", nullable: true })
14313
14409
  ], StripeLog.prototype, "rawWebhookData", 2);
14314
14410
  StripeLog = __decorateClass([
14315
- Entity85("stripe_logs")
14411
+ Entity86("stripe_logs")
14316
14412
  ], StripeLog);
14317
14413
 
14318
14414
  // src/entities/recommendation-weightage-config.entity.ts
14319
14415
  import {
14320
- Entity as Entity86,
14321
- Column as Column87,
14322
- Index as Index71
14416
+ Entity as Entity87,
14417
+ Column as Column88,
14418
+ Index as Index72
14323
14419
  } from "typeorm";
14324
14420
  var RecommendationWeightageConfig = class extends BaseEntity {
14325
14421
  };
14326
14422
  __decorateClass([
14327
- Column87({
14423
+ Column88({
14328
14424
  type: "varchar",
14329
14425
  length: 100,
14330
14426
  unique: true,
14331
14427
  comment: "Unique key identifier (e.g., full_time_weights, hourly_weights)"
14332
14428
  }),
14333
- Index71()
14429
+ Index72()
14334
14430
  ], RecommendationWeightageConfig.prototype, "key", 2);
14335
14431
  __decorateClass([
14336
- Column87({
14432
+ Column88({
14337
14433
  type: "jsonb",
14338
14434
  comment: "JSON object containing weight values",
14339
14435
  nullable: true
14340
14436
  })
14341
14437
  ], RecommendationWeightageConfig.prototype, "value", 2);
14342
14438
  __decorateClass([
14343
- Column87({ name: "is_active", type: "boolean", default: true })
14439
+ Column88({ name: "is_active", type: "boolean", default: true })
14344
14440
  ], RecommendationWeightageConfig.prototype, "isActive", 2);
14345
14441
  RecommendationWeightageConfig = __decorateClass([
14346
- Entity86("recommendation_weightage_configs")
14442
+ Entity87("recommendation_weightage_configs")
14347
14443
  ], RecommendationWeightageConfig);
14348
14444
 
14349
14445
  // src/entities/global-setting.entity.ts
14350
14446
  import {
14351
- Entity as Entity87,
14352
- Column as Column88,
14353
- Index as Index72
14447
+ Entity as Entity88,
14448
+ Column as Column89,
14449
+ Index as Index73
14354
14450
  } from "typeorm";
14355
14451
  var GlobalSetting = class extends BaseEntity {
14356
14452
  };
14357
14453
  __decorateClass([
14358
- Column88({ name: "key", type: "varchar", length: 255, nullable: false, unique: true })
14454
+ Column89({ name: "key", type: "varchar", length: 255, nullable: false, unique: true })
14359
14455
  ], GlobalSetting.prototype, "key", 2);
14360
14456
  __decorateClass([
14361
- Column88({ name: "value", type: "text", nullable: false })
14457
+ Column89({ name: "value", type: "text", nullable: false })
14362
14458
  ], GlobalSetting.prototype, "value", 2);
14363
14459
  GlobalSetting = __decorateClass([
14364
- Entity87("global_settings"),
14365
- Index72(["key"], { unique: true })
14460
+ Entity88("global_settings"),
14461
+ Index73(["key"], { unique: true })
14366
14462
  ], GlobalSetting);
14367
14463
 
14368
14464
  // src/entities/plan.entity.ts
14369
14465
  import {
14370
- Entity as Entity90,
14371
- Column as Column91,
14372
- Index as Index75,
14466
+ Entity as Entity91,
14467
+ Column as Column92,
14468
+ Index as Index76,
14373
14469
  Check as Check4,
14374
14470
  BeforeInsert as BeforeInsert2,
14375
14471
  BeforeUpdate as BeforeUpdate2,
@@ -14378,57 +14474,57 @@ import {
14378
14474
 
14379
14475
  // src/entities/plan-feature.entity.ts
14380
14476
  import {
14381
- Entity as Entity88,
14382
- Column as Column89,
14383
- ManyToOne as ManyToOne70,
14384
- JoinColumn as JoinColumn71,
14385
- Index as Index73,
14477
+ Entity as Entity89,
14478
+ Column as Column90,
14479
+ ManyToOne as ManyToOne71,
14480
+ JoinColumn as JoinColumn72,
14481
+ Index as Index74,
14386
14482
  Check as Check2
14387
14483
  } from "typeorm";
14388
14484
  var PlanFeature = class extends BaseEntity {
14389
14485
  };
14390
14486
  // individual index to find features by plan
14391
14487
  __decorateClass([
14392
- Column89({ name: "plan_id", type: "integer", nullable: false }),
14393
- Index73()
14488
+ Column90({ name: "plan_id", type: "integer", nullable: false }),
14489
+ Index74()
14394
14490
  ], PlanFeature.prototype, "planId", 2);
14395
14491
  __decorateClass([
14396
- ManyToOne70(() => Plan, (plan) => plan.features, {
14492
+ ManyToOne71(() => Plan, (plan) => plan.features, {
14397
14493
  onDelete: "CASCADE",
14398
14494
  nullable: false
14399
14495
  }),
14400
- JoinColumn71({ name: "plan_id" })
14496
+ JoinColumn72({ name: "plan_id" })
14401
14497
  ], PlanFeature.prototype, "plan", 2);
14402
14498
  __decorateClass([
14403
- Column89({ name: "name", type: "varchar", length: 200 })
14499
+ Column90({ name: "name", type: "varchar", length: 200 })
14404
14500
  ], PlanFeature.prototype, "name", 2);
14405
14501
  __decorateClass([
14406
- Column89({ name: "slug", type: "varchar", length: 100 }),
14407
- Index73()
14502
+ Column90({ name: "slug", type: "varchar", length: 100 }),
14503
+ Index74()
14408
14504
  ], PlanFeature.prototype, "slug", 2);
14409
14505
  __decorateClass([
14410
- Column89({ name: "tooltip", type: "varchar", length: 300, nullable: true })
14506
+ Column90({ name: "tooltip", type: "varchar", length: 300, nullable: true })
14411
14507
  ], PlanFeature.prototype, "tooltip", 2);
14412
14508
  __decorateClass([
14413
- Column89({ name: "sort_order", type: "smallint", default: 0 })
14509
+ Column90({ name: "sort_order", type: "smallint", default: 0 })
14414
14510
  ], PlanFeature.prototype, "sortOrder", 2);
14415
14511
  __decorateClass([
14416
- Column89({ name: "is_active", type: "boolean", default: true })
14512
+ Column90({ name: "is_active", type: "boolean", default: true })
14417
14513
  ], PlanFeature.prototype, "isActive", 2);
14418
14514
  PlanFeature = __decorateClass([
14419
- Entity88("plan_features"),
14420
- Index73("idx_plan_features_plan_id", ["planId"]),
14421
- Index73("idx_plan_features_plan_sort", ["planId", "sortOrder"]),
14515
+ Entity89("plan_features"),
14516
+ Index74("idx_plan_features_plan_id", ["planId"]),
14517
+ Index74("idx_plan_features_plan_sort", ["planId", "sortOrder"]),
14422
14518
  Check2("chk_plan_features_sort_order_positive", '"sort_order" >= 0')
14423
14519
  ], PlanFeature);
14424
14520
 
14425
14521
  // src/entities/plan-pricing.entity.ts
14426
14522
  import {
14427
- Entity as Entity89,
14428
- Column as Column90,
14429
- ManyToOne as ManyToOne71,
14430
- JoinColumn as JoinColumn72,
14431
- Index as Index74,
14523
+ Entity as Entity90,
14524
+ Column as Column91,
14525
+ ManyToOne as ManyToOne72,
14526
+ JoinColumn as JoinColumn73,
14527
+ Index as Index75,
14432
14528
  Unique,
14433
14529
  Check as Check3,
14434
14530
  BeforeInsert,
@@ -14488,56 +14584,56 @@ var PlanPricing = class extends BaseEntity {
14488
14584
  };
14489
14585
  // individual index to find pricing by plan
14490
14586
  __decorateClass([
14491
- Column90({ name: "plan_id", type: "integer", nullable: false }),
14492
- Index74()
14587
+ Column91({ name: "plan_id", type: "integer", nullable: false }),
14588
+ Index75()
14493
14589
  ], PlanPricing.prototype, "planId", 2);
14494
14590
  __decorateClass([
14495
- ManyToOne71(() => Plan, (plan) => plan.pricing, {
14591
+ ManyToOne72(() => Plan, (plan) => plan.pricing, {
14496
14592
  onDelete: "CASCADE",
14497
14593
  nullable: false
14498
14594
  }),
14499
- JoinColumn72({ name: "plan_id" })
14595
+ JoinColumn73({ name: "plan_id" })
14500
14596
  ], PlanPricing.prototype, "plan", 2);
14501
14597
  __decorateClass([
14502
- Column90({
14598
+ Column91({
14503
14599
  name: "billing_cycle",
14504
14600
  type: "enum",
14505
14601
  enum: PlanPricingBillingCycleEnum
14506
14602
  })
14507
14603
  ], PlanPricing.prototype, "billingCycle", 2);
14508
14604
  __decorateClass([
14509
- Column90({ name: "price", type: "decimal", precision: 10, scale: 2, default: 0 })
14605
+ Column91({ name: "price", type: "decimal", precision: 10, scale: 2, default: 0 })
14510
14606
  ], PlanPricing.prototype, "price", 2);
14511
14607
  __decorateClass([
14512
- Column90({ name: "original_price", type: "decimal", precision: 10, scale: 2, nullable: true })
14608
+ Column91({ name: "original_price", type: "decimal", precision: 10, scale: 2, nullable: true })
14513
14609
  ], PlanPricing.prototype, "originalPrice", 2);
14514
14610
  __decorateClass([
14515
- Column90({ name: "discount_pct", type: "smallint", nullable: true })
14611
+ Column91({ name: "discount_pct", type: "decimal", precision: 5, scale: 2, nullable: true })
14516
14612
  ], PlanPricing.prototype, "discountPct", 2);
14517
14613
  __decorateClass([
14518
- Column90({ name: "currency", type: "varchar", length: 3, default: "USD" })
14614
+ Column91({ name: "currency", type: "varchar", length: 3, default: "USD" })
14519
14615
  ], PlanPricing.prototype, "currency", 2);
14520
14616
  __decorateClass([
14521
- Column90({ name: "is_free", type: "boolean", default: false })
14617
+ Column91({ name: "is_free", type: "boolean", default: false })
14522
14618
  ], PlanPricing.prototype, "isFree", 2);
14523
14619
  __decorateClass([
14524
- Column90({ name: "stripe_price_id", type: "varchar", length: 100, nullable: true, unique: true })
14620
+ Column91({ name: "stripe_price_id", type: "varchar", length: 100, nullable: true, unique: true })
14525
14621
  ], PlanPricing.prototype, "stripePriceId", 2);
14526
14622
  __decorateClass([
14527
- Column90({ name: "trial_days", type: "smallint", default: 0 })
14623
+ Column91({ name: "trial_days", type: "smallint", default: 0 })
14528
14624
  ], PlanPricing.prototype, "trialDays", 2);
14529
14625
  __decorateClass([
14530
- Column90({ name: "is_active", type: "boolean", default: true })
14626
+ Column91({ name: "is_active", type: "boolean", default: true })
14531
14627
  ], PlanPricing.prototype, "isActive", 2);
14532
14628
  __decorateClass([
14533
14629
  BeforeInsert(),
14534
14630
  BeforeUpdate()
14535
14631
  ], PlanPricing.prototype, "sanitize", 1);
14536
14632
  PlanPricing = __decorateClass([
14537
- Entity89("plan_pricings"),
14633
+ Entity90("plan_pricings"),
14538
14634
  Unique("uq_plan_pricings_plan_cycle", ["planId", "billingCycle"]),
14539
- Index74("idx_plan_pricings_plan_id", ["planId"]),
14540
- Index74("idx_plan_pricings_active", ["isActive", "billingCycle"]),
14635
+ Index75("idx_plan_pricings_plan_id", ["planId"]),
14636
+ Index75("idx_plan_pricings_active", ["isActive", "billingCycle"]),
14541
14637
  Check3("chk_plan_pricings_free_price_zero", '("is_free" = false) OR ("is_free" = true AND "price" = 0)'),
14542
14638
  Check3("chk_plan_pricings_trial_days_non_negative", '"trial_days" >= 0'),
14543
14639
  Check3("chk_plan_pricings_discount_range", '"discount_pct" IS NULL OR ("discount_pct" >= 1 AND "discount_pct" <= 99)'),
@@ -14559,22 +14655,22 @@ var Plan = class extends BaseEntity {
14559
14655
  }
14560
14656
  };
14561
14657
  __decorateClass([
14562
- Column91({ name: "name", type: "varchar", length: 100 })
14658
+ Column92({ name: "name", type: "varchar", length: 100 })
14563
14659
  ], Plan.prototype, "name", 2);
14564
14660
  __decorateClass([
14565
- Column91({ name: "slug", type: "varchar", length: 100 })
14661
+ Column92({ name: "slug", type: "varchar", length: 100 })
14566
14662
  ], Plan.prototype, "slug", 2);
14567
14663
  __decorateClass([
14568
- Column91({ name: "badge_label", type: "varchar", length: 60, nullable: true })
14664
+ Column92({ name: "badge_label", type: "varchar", length: 60, nullable: true })
14569
14665
  ], Plan.prototype, "badgeLabel", 2);
14570
14666
  __decorateClass([
14571
- Column91({ name: "sort_order", type: "smallint", default: 0 })
14667
+ Column92({ name: "sort_order", type: "smallint", default: 0 })
14572
14668
  ], Plan.prototype, "sortOrder", 2);
14573
14669
  __decorateClass([
14574
- Column91({ name: "is_active", type: "boolean", default: true })
14670
+ Column92({ name: "is_active", type: "boolean", default: true })
14575
14671
  ], Plan.prototype, "isActive", 2);
14576
14672
  __decorateClass([
14577
- Column91({
14673
+ Column92({
14578
14674
  name: "plan_type",
14579
14675
  type: "enum",
14580
14676
  enum: PlanTypeEnum,
@@ -14582,7 +14678,7 @@ __decorateClass([
14582
14678
  })
14583
14679
  ], Plan.prototype, "planType", 2);
14584
14680
  __decorateClass([
14585
- Column91({ name: "metadata", type: "jsonb", default: {} })
14681
+ Column92({ name: "metadata", type: "jsonb", default: {} })
14586
14682
  ], Plan.prototype, "metadata", 2);
14587
14683
  __decorateClass([
14588
14684
  BeforeInsert2(),
@@ -14599,18 +14695,18 @@ __decorateClass([
14599
14695
  })
14600
14696
  ], Plan.prototype, "pricing", 2);
14601
14697
  Plan = __decorateClass([
14602
- Entity90("plans"),
14603
- Index75("idx_plans_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
14604
- Index75("idx_plans_active_sort", ["isActive", "sortOrder"]),
14698
+ Entity91("plans"),
14699
+ Index76("idx_plans_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
14700
+ Index76("idx_plans_active_sort", ["isActive", "sortOrder"]),
14605
14701
  Check4("chk_plans_sort_order_positive", '"sort_order" >= 0')
14606
14702
  ], Plan);
14607
14703
 
14608
14704
  // src/entities/subscription-feature.entity.ts
14609
14705
  import {
14610
- Entity as Entity91,
14611
- Column as Column92,
14706
+ Entity as Entity92,
14707
+ Column as Column93,
14612
14708
  Check as Check5,
14613
- Index as Index76,
14709
+ Index as Index77,
14614
14710
  BeforeInsert as BeforeInsert3,
14615
14711
  BeforeUpdate as BeforeUpdate3
14616
14712
  } from "typeorm";
@@ -14628,28 +14724,28 @@ var SubscriptionFeature = class extends BaseEntity {
14628
14724
  }
14629
14725
  };
14630
14726
  __decorateClass([
14631
- Column92({ name: "name", type: "varchar", length: 200 })
14727
+ Column93({ name: "name", type: "varchar", length: 200 })
14632
14728
  ], SubscriptionFeature.prototype, "name", 2);
14633
14729
  __decorateClass([
14634
- Column92({ name: "slug", type: "varchar", length: 100 })
14730
+ Column93({ name: "slug", type: "varchar", length: 100 })
14635
14731
  ], SubscriptionFeature.prototype, "slug", 2);
14636
14732
  __decorateClass([
14637
- Column92({ name: "tooltip", type: "varchar", length: 300, nullable: true })
14733
+ Column93({ name: "tooltip", type: "varchar", length: 300, nullable: true })
14638
14734
  ], SubscriptionFeature.prototype, "tooltip", 2);
14639
14735
  __decorateClass([
14640
- Column92({ name: "sort_order", type: "smallint", default: 0 })
14736
+ Column93({ name: "sort_order", type: "smallint", default: 0 })
14641
14737
  ], SubscriptionFeature.prototype, "sortOrder", 2);
14642
14738
  __decorateClass([
14643
- Column92({ name: "is_active", type: "boolean", default: true })
14739
+ Column93({ name: "is_active", type: "boolean", default: true })
14644
14740
  ], SubscriptionFeature.prototype, "isActive", 2);
14645
14741
  __decorateClass([
14646
14742
  BeforeInsert3(),
14647
14743
  BeforeUpdate3()
14648
14744
  ], SubscriptionFeature.prototype, "createSlug", 1);
14649
14745
  SubscriptionFeature = __decorateClass([
14650
- Entity91("subscription_features"),
14651
- Index76("idx_subscription_features_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
14652
- Index76("idx_subscription_features_active_sort", ["isActive", "sortOrder"]),
14746
+ Entity92("subscription_features"),
14747
+ Index77("idx_subscription_features_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
14748
+ Index77("idx_subscription_features_active_sort", ["isActive", "sortOrder"]),
14653
14749
  Check5("chk_subscription_features_sort_order_positive", '"sort_order" >= 0')
14654
14750
  ], SubscriptionFeature);
14655
14751
  export {
@@ -14664,6 +14760,7 @@ export {
14664
14760
  AccountType2 as AccountType,
14665
14761
  AddClientRemarkDto,
14666
14762
  AddGlobalSettingDto,
14763
+ AddTaskQueryReplyDto,
14667
14764
  AddTopupEscrowAmountDto,
14668
14765
  AdminCreateJobInformationDto,
14669
14766
  AdminExportClientV2OptimisedDto,
@@ -14781,6 +14878,7 @@ export {
14781
14878
  CreateRatingDto,
14782
14879
  CreateSubAdminDto,
14783
14880
  CreateTaskDto,
14881
+ CreateTaskQueryDto,
14784
14882
  CreateUserSigningDto,
14785
14883
  CustomQuestionItemDto,
14786
14884
  DISPUTE_PATTERN,
@@ -14922,6 +15020,7 @@ export {
14922
15020
  MarkCandidateStatusBulkDto,
14923
15021
  MarkCandidateStatusDto,
14924
15022
  MarkTaskAsCompletedDto,
15023
+ MarkTaskQueryMessagesReadDto,
14925
15024
  McqStatusEnum,
14926
15025
  ModeOfHire,
14927
15026
  ModeOfWork,
@@ -15018,6 +15117,7 @@ export {
15018
15117
  TaskChecklistItem,
15019
15118
  TaskDeliverable,
15020
15119
  TaskDeliverableTypeEnum,
15120
+ TaskLogTime,
15021
15121
  TaskPriorityEnum,
15022
15122
  TaskQuery,
15023
15123
  TaskQueryCategoryEnum,