@experts_hub/shared 1.0.682 → 1.0.685

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -46,6 +46,7 @@ __export(index_exports, {
46
46
  AUTHENTICATION_PATTERN: () => AUTHENTICATION_PATTERN,
47
47
  AccountStatus: () => AccountStatus,
48
48
  AccountType: () => AccountType2,
49
+ AddClientRemarkDto: () => AddClientRemarkDto,
49
50
  AddGlobalSettingDto: () => AddGlobalSettingDto,
50
51
  AddTopupEscrowAmountDto: () => AddTopupEscrowAmountDto,
51
52
  AdminCreateJobInformationDto: () => AdminCreateJobInformationDto,
@@ -163,6 +164,7 @@ __export(index_exports, {
163
164
  CreateQuestionDto: () => CreateQuestionDto,
164
165
  CreateRatingDto: () => CreateRatingDto,
165
166
  CreateSubAdminDto: () => CreateSubAdminDto,
167
+ CreateTaskDto: () => CreateTaskDto,
166
168
  CreateUserSigningDto: () => CreateUserSigningDto,
167
169
  CustomQuestionItemDto: () => CustomQuestionItemDto,
168
170
  DISPUTE_PATTERN: () => DISPUTE_PATTERN,
@@ -303,6 +305,7 @@ __export(index_exports, {
303
305
  MAINTENANCE_PATTERN: () => MAINTENANCE_PATTERN,
304
306
  MarkCandidateStatusBulkDto: () => MarkCandidateStatusBulkDto,
305
307
  MarkCandidateStatusDto: () => MarkCandidateStatusDto,
308
+ MarkTaskAsCompletedDto: () => MarkTaskAsCompletedDto,
306
309
  McqStatusEnum: () => McqStatusEnum,
307
310
  ModeOfHire: () => ModeOfHire,
308
311
  ModeOfWork: () => ModeOfWork,
@@ -392,8 +395,20 @@ __export(index_exports, {
392
395
  SubscriptionFeature: () => SubscriptionFeature,
393
396
  SystemPreference: () => SystemPreference,
394
397
  SystemPreferenceDto: () => SystemPreferenceDto,
398
+ TASK_PATTERN: () => TASK_PATTERN,
395
399
  TIMESHEET_CLIENT_PATTERN: () => TIMESHEET_CLIENT_PATTERN,
396
400
  TIMESHEET_FREELANCER_PATTERN: () => TIMESHEET_FREELANCER_PATTERN,
401
+ Task: () => Task,
402
+ TaskChecklistItem: () => TaskChecklistItem,
403
+ TaskDeliverable: () => TaskDeliverable,
404
+ TaskDeliverableTypeEnum: () => TaskDeliverableTypeEnum,
405
+ TaskPriorityEnum: () => TaskPriorityEnum,
406
+ TaskResource: () => TaskResource,
407
+ TaskResourceTypeEnum: () => TaskResourceTypeEnum,
408
+ TaskStatusEnum: () => TaskStatusEnum,
409
+ TaskSubtask: () => TaskSubtask,
410
+ TaskSubtaskStatusEnum: () => TaskSubtaskStatusEnum,
411
+ TaskUuidParamDto: () => TaskUuidParamDto,
397
412
  TestNotificationDto: () => TestNotificationDto,
398
413
  Timesheet: () => Timesheet,
399
414
  TimesheetLine: () => TimesheetLine,
@@ -420,6 +435,7 @@ __export(index_exports, {
420
435
  UpdateCompanyMemberDto: () => UpdateCompanyMemberDto,
421
436
  UpdateCompanyProfileDto: () => UpdateCompanyProfileDto,
422
437
  UpdateCompanyRoleDto: () => UpdateCompanyRoleDto,
438
+ UpdateEstimateTimeDto: () => UpdateEstimateTimeDto,
423
439
  UpdateFreelancerDto: () => UpdateFreelancerDto,
424
440
  UpdateFreelancerProfileDto: () => UpdateFreelancerProfileDto,
425
441
  UpdateFreelancerTimesheetDto: () => UpdateFreelancerTimesheetDto,
@@ -430,6 +446,7 @@ __export(index_exports, {
430
446
  UpdateIsReadDto: () => UpdateIsReadDto,
431
447
  UpdateSubAdminAccountStatusDto: () => UpdateSubAdminAccountStatusDto,
432
448
  UpdateSubAdminDto: () => UpdateSubAdminDto,
449
+ UpdateTaskDto: () => UpdateTaskDto,
433
450
  User: () => User,
434
451
  UserRMQAdapter: () => UserRMQAdapter,
435
452
  UserTCPAdapter: () => UserTCPAdapter,
@@ -1374,7 +1391,7 @@ __decorateClass([
1374
1391
  var import_class_validator37 = require("class-validator");
1375
1392
 
1376
1393
  // src/entities/user.entity.ts
1377
- var import_typeorm67 = require("typeorm");
1394
+ var import_typeorm72 = require("typeorm");
1378
1395
 
1379
1396
  // src/entities/base.entity.ts
1380
1397
  var import_typeorm = require("typeorm");
@@ -2203,7 +2220,7 @@ FreelancerProfile = __decorateClass([
2203
2220
  ], FreelancerProfile);
2204
2221
 
2205
2222
  // src/entities/job.entity.ts
2206
- var import_typeorm35 = require("typeorm");
2223
+ var import_typeorm40 = require("typeorm");
2207
2224
 
2208
2225
  // src/entities/job-skill.entity.ts
2209
2226
  var import_typeorm10 = require("typeorm");
@@ -4055,7 +4072,255 @@ Contract = __decorateClass([
4055
4072
  ], Contract);
4056
4073
 
4057
4074
  // src/entities/timesheets.entity.ts
4075
+ var import_typeorm37 = require("typeorm");
4076
+
4077
+ // src/entities/task.entity.ts
4078
+ var import_typeorm36 = require("typeorm");
4079
+
4080
+ // src/entities/task-deliverable.entity.ts
4058
4081
  var import_typeorm32 = require("typeorm");
4082
+ var TaskDeliverableTypeEnum = /* @__PURE__ */ ((TaskDeliverableTypeEnum2) => {
4083
+ TaskDeliverableTypeEnum2["REQUIRED"] = "REQUIRED";
4084
+ TaskDeliverableTypeEnum2["NEED_TO_ADD"] = "NEED_TO_ADD";
4085
+ TaskDeliverableTypeEnum2["OTHER"] = "OTHER";
4086
+ return TaskDeliverableTypeEnum2;
4087
+ })(TaskDeliverableTypeEnum || {});
4088
+ var TaskDeliverable = class extends BaseEntity {
4089
+ };
4090
+ __decorateClass([
4091
+ (0, import_typeorm32.Column)({ name: "task_id", type: "integer" }),
4092
+ (0, import_typeorm32.Index)()
4093
+ ], TaskDeliverable.prototype, "taskId", 2);
4094
+ __decorateClass([
4095
+ (0, import_typeorm32.ManyToOne)(() => Task, (task) => task.deliverables, { onDelete: "CASCADE" }),
4096
+ (0, import_typeorm32.JoinColumn)({ name: "task_id" })
4097
+ ], TaskDeliverable.prototype, "task", 2);
4098
+ __decorateClass([
4099
+ (0, import_typeorm32.Column)({ name: "name", type: "varchar", length: 500 })
4100
+ ], TaskDeliverable.prototype, "name", 2);
4101
+ __decorateClass([
4102
+ (0, import_typeorm32.Column)({ name: "description", type: "varchar", length: 1e3, nullable: true })
4103
+ ], TaskDeliverable.prototype, "description", 2);
4104
+ __decorateClass([
4105
+ (0, import_typeorm32.Column)({ name: "type", type: "enum", enum: TaskDeliverableTypeEnum })
4106
+ ], TaskDeliverable.prototype, "type", 2);
4107
+ TaskDeliverable = __decorateClass([
4108
+ (0, import_typeorm32.Entity)("task_deliverables")
4109
+ ], TaskDeliverable);
4110
+
4111
+ // src/entities/task-resource.entity.ts
4112
+ var import_typeorm33 = require("typeorm");
4113
+ var TaskResourceTypeEnum = /* @__PURE__ */ ((TaskResourceTypeEnum2) => {
4114
+ TaskResourceTypeEnum2["GITHUB"] = "GITHUB";
4115
+ TaskResourceTypeEnum2["JIRA_TASK"] = "JIRA_TASK";
4116
+ TaskResourceTypeEnum2["API_DOCUMENTATION"] = "API_DOCUMENTATION";
4117
+ return TaskResourceTypeEnum2;
4118
+ })(TaskResourceTypeEnum || {});
4119
+ var TaskResource = class extends BaseEntity {
4120
+ };
4121
+ __decorateClass([
4122
+ (0, import_typeorm33.Column)({ name: "task_id", type: "integer" }),
4123
+ (0, import_typeorm33.Index)()
4124
+ ], TaskResource.prototype, "taskId", 2);
4125
+ __decorateClass([
4126
+ (0, import_typeorm33.ManyToOne)(() => Task, (task) => task.resources, { onDelete: "CASCADE" }),
4127
+ (0, import_typeorm33.JoinColumn)({ name: "task_id" })
4128
+ ], TaskResource.prototype, "task", 2);
4129
+ __decorateClass([
4130
+ (0, import_typeorm33.Column)({
4131
+ name: "resource_type",
4132
+ type: "enum",
4133
+ enum: TaskResourceTypeEnum,
4134
+ nullable: true
4135
+ })
4136
+ ], TaskResource.prototype, "resourceType", 2);
4137
+ __decorateClass([
4138
+ (0, import_typeorm33.Column)({ name: "name", type: "varchar", length: 500 })
4139
+ ], TaskResource.prototype, "name", 2);
4140
+ __decorateClass([
4141
+ (0, import_typeorm33.Column)({ name: "description", type: "varchar", length: 1e3, nullable: true })
4142
+ ], TaskResource.prototype, "description", 2);
4143
+ __decorateClass([
4144
+ (0, import_typeorm33.Column)({ name: "type", type: "enum", enum: TaskResourceTypeEnum })
4145
+ ], TaskResource.prototype, "type", 2);
4146
+ __decorateClass([
4147
+ (0, import_typeorm33.Column)({ name: "url", type: "varchar", length: 2048, nullable: true })
4148
+ ], TaskResource.prototype, "url", 2);
4149
+ TaskResource = __decorateClass([
4150
+ (0, import_typeorm33.Entity)("task_resources")
4151
+ ], TaskResource);
4152
+
4153
+ // src/entities/task-checklist-item.entity.ts
4154
+ var import_typeorm34 = require("typeorm");
4155
+ var TaskChecklistItem = class extends BaseEntity {
4156
+ };
4157
+ __decorateClass([
4158
+ (0, import_typeorm34.Column)({ name: "task_id", type: "integer" }),
4159
+ (0, import_typeorm34.Index)()
4160
+ ], TaskChecklistItem.prototype, "taskId", 2);
4161
+ __decorateClass([
4162
+ (0, import_typeorm34.ManyToOne)(() => Task, (task) => task.checklistItems, { onDelete: "CASCADE" }),
4163
+ (0, import_typeorm34.JoinColumn)({ name: "task_id" })
4164
+ ], TaskChecklistItem.prototype, "task", 2);
4165
+ __decorateClass([
4166
+ (0, import_typeorm34.Column)({ name: "name", type: "varchar", length: 1e3 })
4167
+ ], TaskChecklistItem.prototype, "name", 2);
4168
+ __decorateClass([
4169
+ (0, import_typeorm34.Column)({ name: "is_checked", type: "boolean", default: false })
4170
+ ], TaskChecklistItem.prototype, "isChecked", 2);
4171
+ __decorateClass([
4172
+ (0, import_typeorm34.Column)({ name: "note", type: "varchar", length: 1e3, nullable: true })
4173
+ ], TaskChecklistItem.prototype, "note", 2);
4174
+ TaskChecklistItem = __decorateClass([
4175
+ (0, import_typeorm34.Entity)("task_checklist_items")
4176
+ ], TaskChecklistItem);
4177
+
4178
+ // src/entities/task-subtask.entity.ts
4179
+ var import_typeorm35 = require("typeorm");
4180
+ var TaskSubtaskStatusEnum = /* @__PURE__ */ ((TaskSubtaskStatusEnum2) => {
4181
+ TaskSubtaskStatusEnum2["PENDING"] = "PENDING";
4182
+ TaskSubtaskStatusEnum2["IN_PROGRESS"] = "IN_PROGRESS";
4183
+ TaskSubtaskStatusEnum2["NOT_YET_STARTED"] = "NOT_YET_STARTED";
4184
+ TaskSubtaskStatusEnum2["COMPLETED"] = "COMPLETED";
4185
+ TaskSubtaskStatusEnum2["CANCELLED"] = "CANCELLED";
4186
+ return TaskSubtaskStatusEnum2;
4187
+ })(TaskSubtaskStatusEnum || {});
4188
+ var TaskSubtask = class extends BaseEntity {
4189
+ };
4190
+ __decorateClass([
4191
+ (0, import_typeorm35.Column)({ name: "task_id", type: "integer" }),
4192
+ (0, import_typeorm35.Index)()
4193
+ ], TaskSubtask.prototype, "taskId", 2);
4194
+ __decorateClass([
4195
+ (0, import_typeorm35.ManyToOne)(() => Task, (task) => task.subtasks, { onDelete: "CASCADE" }),
4196
+ (0, import_typeorm35.JoinColumn)({ name: "task_id" })
4197
+ ], TaskSubtask.prototype, "task", 2);
4198
+ __decorateClass([
4199
+ (0, import_typeorm35.Column)({ name: "subtask_name", type: "varchar", length: 500 })
4200
+ ], TaskSubtask.prototype, "subtaskName", 2);
4201
+ __decorateClass([
4202
+ (0, import_typeorm35.Column)({ name: "due_date", type: "date", nullable: true })
4203
+ ], TaskSubtask.prototype, "dueDate", 2);
4204
+ __decorateClass([
4205
+ (0, import_typeorm35.Column)({ name: "status", type: "enum", enum: TaskSubtaskStatusEnum, default: "PENDING" /* PENDING */ })
4206
+ ], TaskSubtask.prototype, "status", 2);
4207
+ TaskSubtask = __decorateClass([
4208
+ (0, import_typeorm35.Entity)("task_subtasks")
4209
+ ], TaskSubtask);
4210
+
4211
+ // src/entities/task.entity.ts
4212
+ var TaskPriorityEnum = /* @__PURE__ */ ((TaskPriorityEnum2) => {
4213
+ TaskPriorityEnum2["LOW"] = "LOW";
4214
+ TaskPriorityEnum2["MEDIUM"] = "MEDIUM";
4215
+ TaskPriorityEnum2["HIGH"] = "HIGH";
4216
+ return TaskPriorityEnum2;
4217
+ })(TaskPriorityEnum || {});
4218
+ var TaskStatusEnum = /* @__PURE__ */ ((TaskStatusEnum2) => {
4219
+ TaskStatusEnum2["DRAFTED"] = "DRAFTED";
4220
+ TaskStatusEnum2["SCHEDULED"] = "SCHEDULED";
4221
+ TaskStatusEnum2["IN_PROGRESS"] = "IN_PROGRESS";
4222
+ TaskStatusEnum2["COMPLETED"] = "COMPLETED";
4223
+ TaskStatusEnum2["CANCELLED"] = "CANCELLED";
4224
+ return TaskStatusEnum2;
4225
+ })(TaskStatusEnum || {});
4226
+ var Task = class extends BaseEntity {
4227
+ };
4228
+ __decorateClass([
4229
+ (0, import_typeorm36.Column)({ name: "task_unique_id", type: "varchar", nullable: true, unique: true })
4230
+ ], Task.prototype, "taskUniqueId", 2);
4231
+ __decorateClass([
4232
+ (0, import_typeorm36.Column)({ name: "job_id", type: "integer", nullable: true }),
4233
+ (0, import_typeorm36.Index)()
4234
+ ], Task.prototype, "jobId", 2);
4235
+ __decorateClass([
4236
+ (0, import_typeorm36.ManyToOne)(() => Job, (job) => job.tasks),
4237
+ (0, import_typeorm36.JoinColumn)({ name: "job_id" })
4238
+ ], Task.prototype, "job", 2);
4239
+ __decorateClass([
4240
+ (0, import_typeorm36.Column)({ name: "client_id", type: "integer", nullable: true }),
4241
+ (0, import_typeorm36.Index)()
4242
+ ], Task.prototype, "clientId", 2);
4243
+ __decorateClass([
4244
+ (0, import_typeorm36.ManyToOne)(() => User, (user) => user.clientTasks),
4245
+ (0, import_typeorm36.JoinColumn)({ name: "client_id" })
4246
+ ], Task.prototype, "client", 2);
4247
+ __decorateClass([
4248
+ (0, import_typeorm36.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
4249
+ (0, import_typeorm36.Index)()
4250
+ ], Task.prototype, "freelancerId", 2);
4251
+ __decorateClass([
4252
+ (0, import_typeorm36.ManyToOne)(() => User, (user) => user.freelancerTasks),
4253
+ (0, import_typeorm36.JoinColumn)({ name: "freelancer_id" })
4254
+ ], Task.prototype, "freelancer", 2);
4255
+ __decorateClass([
4256
+ (0, import_typeorm36.Column)({ name: "task_name", type: "varchar", nullable: true })
4257
+ ], Task.prototype, "taskName", 2);
4258
+ __decorateClass([
4259
+ (0, import_typeorm36.Column)({
4260
+ name: "status",
4261
+ type: "enum",
4262
+ enum: TaskStatusEnum,
4263
+ nullable: true
4264
+ })
4265
+ ], Task.prototype, "status", 2);
4266
+ __decorateClass([
4267
+ (0, import_typeorm36.Column)({
4268
+ name: "priority",
4269
+ type: "enum",
4270
+ enum: TaskPriorityEnum,
4271
+ nullable: true
4272
+ })
4273
+ ], Task.prototype, "priority", 2);
4274
+ __decorateClass([
4275
+ (0, import_typeorm36.Column)({ name: "description", type: "varchar", nullable: true })
4276
+ ], Task.prototype, "description", 2);
4277
+ __decorateClass([
4278
+ (0, import_typeorm36.Column)({
4279
+ name: "due_date",
4280
+ type: "timestamp with time zone",
4281
+ nullable: true
4282
+ })
4283
+ ], Task.prototype, "dueDate", 2);
4284
+ __decorateClass([
4285
+ (0, import_typeorm36.Column)({
4286
+ name: "created_on",
4287
+ type: "timestamp with time zone",
4288
+ nullable: true
4289
+ })
4290
+ ], Task.prototype, "createdOn", 2);
4291
+ __decorateClass([
4292
+ (0, import_typeorm36.Column)({
4293
+ name: "estimate_hours",
4294
+ type: "integer",
4295
+ nullable: true
4296
+ })
4297
+ ], Task.prototype, "estimateHours", 2);
4298
+ __decorateClass([
4299
+ (0, import_typeorm36.Column)({ name: "client_remarks", type: "varchar", nullable: true })
4300
+ ], Task.prototype, "clientRemarks", 2);
4301
+ __decorateClass([
4302
+ (0, import_typeorm36.Column)({ name: "freelancer_work_note", type: "varchar", nullable: true })
4303
+ ], Task.prototype, "freelancerWorkNote", 2);
4304
+ __decorateClass([
4305
+ (0, import_typeorm36.OneToMany)(() => TaskDeliverable, (taskDeliverable) => taskDeliverable.task, { cascade: true })
4306
+ ], Task.prototype, "deliverables", 2);
4307
+ __decorateClass([
4308
+ (0, import_typeorm36.OneToMany)(() => TaskResource, (taskResource) => taskResource.task, { cascade: true })
4309
+ ], Task.prototype, "resources", 2);
4310
+ __decorateClass([
4311
+ (0, import_typeorm36.OneToMany)(() => TaskChecklistItem, (taskChecklistItem) => taskChecklistItem.task, { cascade: true })
4312
+ ], Task.prototype, "checklistItems", 2);
4313
+ __decorateClass([
4314
+ (0, import_typeorm36.OneToMany)(() => TaskSubtask, (taskSubtask) => taskSubtask.task, { cascade: true })
4315
+ ], Task.prototype, "subtasks", 2);
4316
+ __decorateClass([
4317
+ (0, import_typeorm36.OneToMany)(() => Timesheet, (timesheet) => timesheet.task, { cascade: true })
4318
+ ], Task.prototype, "timesheets", 2);
4319
+ Task = __decorateClass([
4320
+ (0, import_typeorm36.Entity)("tasks")
4321
+ ], Task);
4322
+
4323
+ // src/entities/timesheets.entity.ts
4059
4324
  var TimesheetStatusEnum = /* @__PURE__ */ ((TimesheetStatusEnum2) => {
4060
4325
  TimesheetStatusEnum2["DRAFT"] = "DRAFT";
4061
4326
  TimesheetStatusEnum2["SEND"] = "SEND";
@@ -4068,140 +4333,144 @@ var TimesheetStatusEnum = /* @__PURE__ */ ((TimesheetStatusEnum2) => {
4068
4333
  var Timesheet = class extends BaseEntity {
4069
4334
  };
4070
4335
  __decorateClass([
4071
- (0, import_typeorm32.Column)({ name: "job_id", type: "integer", nullable: true }),
4072
- (0, import_typeorm32.Index)()
4336
+ (0, import_typeorm37.Column)({ name: "job_id", type: "integer", nullable: true }),
4337
+ (0, import_typeorm37.Index)()
4073
4338
  ], Timesheet.prototype, "jobId", 2);
4074
4339
  __decorateClass([
4075
- (0, import_typeorm32.ManyToOne)(() => Job, (job) => job.timesheets),
4076
- (0, import_typeorm32.JoinColumn)({ name: "job_id" })
4340
+ (0, import_typeorm37.ManyToOne)(() => Job, (job) => job.timesheets),
4341
+ (0, import_typeorm37.JoinColumn)({ name: "job_id" })
4077
4342
  ], Timesheet.prototype, "job", 2);
4078
4343
  __decorateClass([
4079
- (0, import_typeorm32.Column)({ name: "client_id", type: "integer", nullable: true }),
4080
- (0, import_typeorm32.Index)()
4344
+ (0, import_typeorm37.Column)({ name: "client_id", type: "integer", nullable: true }),
4345
+ (0, import_typeorm37.Index)()
4081
4346
  ], Timesheet.prototype, "clientId", 2);
4082
4347
  __decorateClass([
4083
- (0, import_typeorm32.ManyToOne)(() => User, (user) => user.clientTimesheets),
4084
- (0, import_typeorm32.JoinColumn)({ name: "client_id" })
4348
+ (0, import_typeorm37.ManyToOne)(() => User, (user) => user.clientTimesheets),
4349
+ (0, import_typeorm37.JoinColumn)({ name: "client_id" })
4085
4350
  ], Timesheet.prototype, "client", 2);
4086
4351
  __decorateClass([
4087
- (0, import_typeorm32.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
4088
- (0, import_typeorm32.Index)()
4352
+ (0, import_typeorm37.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
4353
+ (0, import_typeorm37.Index)()
4089
4354
  ], Timesheet.prototype, "freelancerId", 2);
4090
4355
  __decorateClass([
4091
- (0, import_typeorm32.ManyToOne)(() => User, (user) => user.freelancerTimesheets),
4092
- (0, import_typeorm32.JoinColumn)({ name: "freelancer_id" })
4356
+ (0, import_typeorm37.ManyToOne)(() => User, (user) => user.freelancerTimesheets),
4357
+ (0, import_typeorm37.JoinColumn)({ name: "freelancer_id" })
4093
4358
  ], Timesheet.prototype, "freelancer", 2);
4094
4359
  __decorateClass([
4095
- (0, import_typeorm32.Column)({
4360
+ (0, import_typeorm37.Column)({
4096
4361
  name: "start_date",
4097
4362
  type: "date",
4098
4363
  nullable: true
4099
4364
  })
4100
4365
  ], Timesheet.prototype, "startDate", 2);
4101
4366
  __decorateClass([
4102
- (0, import_typeorm32.Column)({
4367
+ (0, import_typeorm37.Column)({
4103
4368
  name: "end_date",
4104
4369
  type: "date",
4105
4370
  nullable: true
4106
4371
  })
4107
4372
  ], Timesheet.prototype, "endDate", 2);
4108
4373
  __decorateClass([
4109
- (0, import_typeorm32.Column)({ name: "start_time", type: "varchar", nullable: true })
4374
+ (0, import_typeorm37.Column)({ name: "start_time", type: "varchar", nullable: true })
4110
4375
  ], Timesheet.prototype, "startTime", 2);
4111
4376
  __decorateClass([
4112
- (0, import_typeorm32.Column)({ name: "end_time", type: "varchar", nullable: true })
4377
+ (0, import_typeorm37.Column)({ name: "end_time", type: "varchar", nullable: true })
4113
4378
  ], Timesheet.prototype, "endTime", 2);
4114
4379
  __decorateClass([
4115
- (0, import_typeorm32.Column)({ name: "worked_hours", type: "varchar", nullable: true })
4380
+ (0, import_typeorm37.Column)({ name: "worked_hours", type: "varchar", nullable: true })
4116
4381
  ], Timesheet.prototype, "workedHours", 2);
4117
4382
  __decorateClass([
4118
- (0, import_typeorm32.Column)({ name: "task_id", type: "integer", nullable: true })
4383
+ (0, import_typeorm37.Column)({ name: "task_id", type: "integer", nullable: true })
4119
4384
  ], Timesheet.prototype, "taskId", 2);
4120
4385
  __decorateClass([
4121
- (0, import_typeorm32.Column)({ name: "task_name", type: "varchar", nullable: true })
4386
+ (0, import_typeorm37.ManyToOne)(() => Task, (task) => task.timesheets),
4387
+ (0, import_typeorm37.JoinColumn)({ name: "task_id" })
4388
+ ], Timesheet.prototype, "task", 2);
4389
+ __decorateClass([
4390
+ (0, import_typeorm37.Column)({ name: "task_name", type: "varchar", nullable: true })
4122
4391
  ], Timesheet.prototype, "taskName", 2);
4123
4392
  __decorateClass([
4124
- (0, import_typeorm32.Column)({ name: "description", type: "varchar", nullable: true })
4393
+ (0, import_typeorm37.Column)({ name: "description", type: "varchar", nullable: true })
4125
4394
  ], Timesheet.prototype, "description", 2);
4126
4395
  __decorateClass([
4127
- (0, import_typeorm32.Column)({ name: "week_start_date", type: "date", nullable: true })
4396
+ (0, import_typeorm37.Column)({ name: "week_start_date", type: "date", nullable: true })
4128
4397
  ], Timesheet.prototype, "weekStartDate", 2);
4129
4398
  __decorateClass([
4130
- (0, import_typeorm32.Column)({ name: "week_end_date", type: "date", nullable: true })
4399
+ (0, import_typeorm37.Column)({ name: "week_end_date", type: "date", nullable: true })
4131
4400
  ], Timesheet.prototype, "weekEndDate", 2);
4132
4401
  __decorateClass([
4133
- (0, import_typeorm32.Column)({ name: "rejected_at", type: "timestamp with time zone", nullable: true })
4402
+ (0, import_typeorm37.Column)({ name: "rejected_at", type: "timestamp with time zone", nullable: true })
4134
4403
  ], Timesheet.prototype, "rejectedAt", 2);
4135
4404
  __decorateClass([
4136
- (0, import_typeorm32.Column)({ name: "submitted_at", type: "timestamp with time zone", nullable: true })
4405
+ (0, import_typeorm37.Column)({ name: "submitted_at", type: "timestamp with time zone", nullable: true })
4137
4406
  ], Timesheet.prototype, "submittedAt", 2);
4138
4407
  __decorateClass([
4139
- (0, import_typeorm32.Column)({ name: "resubmiited_at", type: "timestamp with time zone", nullable: true })
4408
+ (0, import_typeorm37.Column)({ name: "resubmiited_at", type: "timestamp with time zone", nullable: true })
4140
4409
  ], Timesheet.prototype, "resubmittedAt", 2);
4141
4410
  __decorateClass([
4142
- (0, import_typeorm32.Column)({ name: "approved_at", type: "timestamp with time zone", nullable: true })
4411
+ (0, import_typeorm37.Column)({ name: "approved_at", type: "timestamp with time zone", nullable: true })
4143
4412
  ], Timesheet.prototype, "approvedAt", 2);
4144
4413
  __decorateClass([
4145
- (0, import_typeorm32.Column)({ name: "status", type: "enum", enum: TimesheetStatusEnum, nullable: true })
4414
+ (0, import_typeorm37.Column)({ name: "status", type: "enum", enum: TimesheetStatusEnum, nullable: true })
4146
4415
  ], Timesheet.prototype, "status", 2);
4147
4416
  __decorateClass([
4148
- (0, import_typeorm32.Column)({ name: "client_send_back_reason", type: "varchar", nullable: true })
4417
+ (0, import_typeorm37.Column)({ name: "client_send_back_reason", type: "varchar", nullable: true })
4149
4418
  ], Timesheet.prototype, "clientSendBackReason", 2);
4150
4419
  Timesheet = __decorateClass([
4151
- (0, import_typeorm32.Entity)("timesheets")
4420
+ (0, import_typeorm37.Entity)("timesheets")
4152
4421
  ], Timesheet);
4153
4422
 
4154
4423
  // src/entities/job-location.entity.ts
4155
- var import_typeorm33 = require("typeorm");
4424
+ var import_typeorm38 = require("typeorm");
4156
4425
  var JobLocation = class extends BaseEntity {
4157
4426
  };
4158
4427
  __decorateClass([
4159
- (0, import_typeorm33.Column)({ name: "job_id", type: "integer", nullable: false }),
4160
- (0, import_typeorm33.Index)()
4428
+ (0, import_typeorm38.Column)({ name: "job_id", type: "integer", nullable: false }),
4429
+ (0, import_typeorm38.Index)()
4161
4430
  ], JobLocation.prototype, "jobId", 2);
4162
4431
  __decorateClass([
4163
- (0, import_typeorm33.ManyToOne)(() => Job, (job) => job.jobLocations),
4164
- (0, import_typeorm33.JoinColumn)({ name: "job_id" })
4432
+ (0, import_typeorm38.ManyToOne)(() => Job, (job) => job.jobLocations),
4433
+ (0, import_typeorm38.JoinColumn)({ name: "job_id" })
4165
4434
  ], JobLocation.prototype, "job", 2);
4166
4435
  __decorateClass([
4167
- (0, import_typeorm33.Column)({ name: "country_id", type: "int", nullable: false })
4436
+ (0, import_typeorm38.Column)({ name: "country_id", type: "int", nullable: false })
4168
4437
  ], JobLocation.prototype, "countryId", 2);
4169
4438
  __decorateClass([
4170
- (0, import_typeorm33.Column)({ name: "country_name", type: "varchar", nullable: true })
4439
+ (0, import_typeorm38.Column)({ name: "country_name", type: "varchar", nullable: true })
4171
4440
  ], JobLocation.prototype, "countryName", 2);
4172
4441
  __decorateClass([
4173
- (0, import_typeorm33.ManyToOne)(() => Country),
4174
- (0, import_typeorm33.JoinColumn)({ name: "country_id" })
4442
+ (0, import_typeorm38.ManyToOne)(() => Country),
4443
+ (0, import_typeorm38.JoinColumn)({ name: "country_id" })
4175
4444
  ], JobLocation.prototype, "country", 2);
4176
4445
  __decorateClass([
4177
- (0, import_typeorm33.Column)({ name: "state_id", type: "int", nullable: false })
4446
+ (0, import_typeorm38.Column)({ name: "state_id", type: "int", nullable: false })
4178
4447
  ], JobLocation.prototype, "stateId", 2);
4179
4448
  __decorateClass([
4180
- (0, import_typeorm33.Column)({ name: "state_name", type: "varchar", nullable: true })
4449
+ (0, import_typeorm38.Column)({ name: "state_name", type: "varchar", nullable: true })
4181
4450
  ], JobLocation.prototype, "stateName", 2);
4182
4451
  __decorateClass([
4183
- (0, import_typeorm33.ManyToOne)(() => State),
4184
- (0, import_typeorm33.JoinColumn)({ name: "state_id" })
4452
+ (0, import_typeorm38.ManyToOne)(() => State),
4453
+ (0, import_typeorm38.JoinColumn)({ name: "state_id" })
4185
4454
  ], JobLocation.prototype, "state", 2);
4186
4455
  __decorateClass([
4187
- (0, import_typeorm33.Column)({ name: "city_id", type: "int", nullable: false })
4456
+ (0, import_typeorm38.Column)({ name: "city_id", type: "int", nullable: false })
4188
4457
  ], JobLocation.prototype, "cityId", 2);
4189
4458
  __decorateClass([
4190
- (0, import_typeorm33.Column)({ name: "city_name", type: "varchar", nullable: true })
4459
+ (0, import_typeorm38.Column)({ name: "city_name", type: "varchar", nullable: true })
4191
4460
  ], JobLocation.prototype, "cityName", 2);
4192
4461
  __decorateClass([
4193
- (0, import_typeorm33.ManyToOne)(() => City),
4194
- (0, import_typeorm33.JoinColumn)({ name: "city_id" })
4462
+ (0, import_typeorm38.ManyToOne)(() => City),
4463
+ (0, import_typeorm38.JoinColumn)({ name: "city_id" })
4195
4464
  ], JobLocation.prototype, "city", 2);
4196
4465
  __decorateClass([
4197
- (0, import_typeorm33.Column)({ name: "location_wise_openings", type: "int", default: 0 })
4466
+ (0, import_typeorm38.Column)({ name: "location_wise_openings", type: "int", default: 0 })
4198
4467
  ], JobLocation.prototype, "locationWiseOpenings", 2);
4199
4468
  JobLocation = __decorateClass([
4200
- (0, import_typeorm33.Entity)("job_locations")
4469
+ (0, import_typeorm38.Entity)("job_locations")
4201
4470
  ], JobLocation);
4202
4471
 
4203
4472
  // src/entities/rating.entity.ts
4204
- var import_typeorm34 = require("typeorm");
4473
+ var import_typeorm39 = require("typeorm");
4205
4474
  var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
4206
4475
  RatingTypeEnum2["FREELANCER_TO_CLIENT"] = "FREELANCER_TO_CLIENT";
4207
4476
  RatingTypeEnum2["CLIENT_TO_FREELANCER"] = "CLIENT_TO_FREELANCER";
@@ -4210,31 +4479,31 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
4210
4479
  var Rating = class extends BaseEntity {
4211
4480
  };
4212
4481
  __decorateClass([
4213
- (0, import_typeorm34.Column)({ name: "reviewer_id", type: "integer" }),
4214
- (0, import_typeorm34.Index)()
4482
+ (0, import_typeorm39.Column)({ name: "reviewer_id", type: "integer" }),
4483
+ (0, import_typeorm39.Index)()
4215
4484
  ], Rating.prototype, "reviewerId", 2);
4216
4485
  __decorateClass([
4217
- (0, import_typeorm34.ManyToOne)(() => User, { onDelete: "CASCADE" }),
4218
- (0, import_typeorm34.JoinColumn)({ name: "reviewer_id" })
4486
+ (0, import_typeorm39.ManyToOne)(() => User, { onDelete: "CASCADE" }),
4487
+ (0, import_typeorm39.JoinColumn)({ name: "reviewer_id" })
4219
4488
  ], Rating.prototype, "reviewer", 2);
4220
4489
  __decorateClass([
4221
- (0, import_typeorm34.Column)({ name: "reviewee_id", type: "integer" }),
4222
- (0, import_typeorm34.Index)()
4490
+ (0, import_typeorm39.Column)({ name: "reviewee_id", type: "integer" }),
4491
+ (0, import_typeorm39.Index)()
4223
4492
  ], Rating.prototype, "revieweeId", 2);
4224
4493
  __decorateClass([
4225
- (0, import_typeorm34.ManyToOne)(() => User, { onDelete: "CASCADE" }),
4226
- (0, import_typeorm34.JoinColumn)({ name: "reviewee_id" })
4494
+ (0, import_typeorm39.ManyToOne)(() => User, { onDelete: "CASCADE" }),
4495
+ (0, import_typeorm39.JoinColumn)({ name: "reviewee_id" })
4227
4496
  ], Rating.prototype, "reviewee", 2);
4228
4497
  __decorateClass([
4229
- (0, import_typeorm34.Column)({ name: "job_id", type: "integer" }),
4230
- (0, import_typeorm34.Index)()
4498
+ (0, import_typeorm39.Column)({ name: "job_id", type: "integer" }),
4499
+ (0, import_typeorm39.Index)()
4231
4500
  ], Rating.prototype, "jobId", 2);
4232
4501
  __decorateClass([
4233
- (0, import_typeorm34.ManyToOne)(() => Job, (job) => job.ratings, { onDelete: "CASCADE" }),
4234
- (0, import_typeorm34.JoinColumn)({ name: "job_id" })
4502
+ (0, import_typeorm39.ManyToOne)(() => Job, (job) => job.ratings, { onDelete: "CASCADE" }),
4503
+ (0, import_typeorm39.JoinColumn)({ name: "job_id" })
4235
4504
  ], Rating.prototype, "job", 2);
4236
4505
  __decorateClass([
4237
- (0, import_typeorm34.Column)({
4506
+ (0, import_typeorm39.Column)({
4238
4507
  name: "rating_type",
4239
4508
  type: "enum",
4240
4509
  enum: RatingTypeEnum,
@@ -4242,67 +4511,67 @@ __decorateClass([
4242
4511
  })
4243
4512
  ], Rating.prototype, "ratingType", 2);
4244
4513
  __decorateClass([
4245
- (0, import_typeorm34.Column)({ name: "reviewer_comment", type: "text", nullable: true })
4514
+ (0, import_typeorm39.Column)({ name: "reviewer_comment", type: "text", nullable: true })
4246
4515
  ], Rating.prototype, "reviewerComment", 2);
4247
4516
  __decorateClass([
4248
- (0, import_typeorm34.Column)({
4517
+ (0, import_typeorm39.Column)({
4249
4518
  name: "overall_experience",
4250
4519
  type: "float",
4251
4520
  default: 0
4252
4521
  })
4253
4522
  ], Rating.prototype, "overAllExperience", 2);
4254
4523
  __decorateClass([
4255
- (0, import_typeorm34.Column)({
4524
+ (0, import_typeorm39.Column)({
4256
4525
  name: "work_quality",
4257
4526
  type: "float",
4258
4527
  default: 0
4259
4528
  })
4260
4529
  ], Rating.prototype, "workQuality", 2);
4261
4530
  __decorateClass([
4262
- (0, import_typeorm34.Column)({
4531
+ (0, import_typeorm39.Column)({
4263
4532
  name: "one_time_delivery",
4264
4533
  type: "float",
4265
4534
  default: 0
4266
4535
  })
4267
4536
  ], Rating.prototype, "oneTimeDelivery", 2);
4268
4537
  __decorateClass([
4269
- (0, import_typeorm34.Column)({
4538
+ (0, import_typeorm39.Column)({
4270
4539
  name: "understaning",
4271
4540
  type: "float",
4272
4541
  default: 0
4273
4542
  })
4274
4543
  ], Rating.prototype, "understaning", 2);
4275
4544
  __decorateClass([
4276
- (0, import_typeorm34.Column)({
4545
+ (0, import_typeorm39.Column)({
4277
4546
  name: "communication",
4278
4547
  type: "float",
4279
4548
  default: 0
4280
4549
  })
4281
4550
  ], Rating.prototype, "communication", 2);
4282
4551
  __decorateClass([
4283
- (0, import_typeorm34.Column)({
4552
+ (0, import_typeorm39.Column)({
4284
4553
  name: "skill_utilized",
4285
4554
  type: "float",
4286
4555
  default: 0
4287
4556
  })
4288
4557
  ], Rating.prototype, "skillUtilized", 2);
4289
4558
  __decorateClass([
4290
- (0, import_typeorm34.Column)({ name: "communication_clarity", type: "float", default: 0 })
4559
+ (0, import_typeorm39.Column)({ name: "communication_clarity", type: "float", default: 0 })
4291
4560
  ], Rating.prototype, "communicationClarity", 2);
4292
4561
  __decorateClass([
4293
- (0, import_typeorm34.Column)({ name: "requirements_clarity", type: "float", default: 0 })
4562
+ (0, import_typeorm39.Column)({ name: "requirements_clarity", type: "float", default: 0 })
4294
4563
  ], Rating.prototype, "requirementsClarity", 2);
4295
4564
  __decorateClass([
4296
- (0, import_typeorm34.Column)({ name: "responsiveness", type: "float", default: 0 })
4565
+ (0, import_typeorm39.Column)({ name: "responsiveness", type: "float", default: 0 })
4297
4566
  ], Rating.prototype, "responsiveness", 2);
4298
4567
  __decorateClass([
4299
- (0, import_typeorm34.Column)({ name: "payment_promptness", type: "float", default: 0 })
4568
+ (0, import_typeorm39.Column)({ name: "payment_promptness", type: "float", default: 0 })
4300
4569
  ], Rating.prototype, "paymentPromptness", 2);
4301
4570
  __decorateClass([
4302
- (0, import_typeorm34.Column)({ name: "responsibilities_and_expectations", type: "float", default: 0 })
4571
+ (0, import_typeorm39.Column)({ name: "responsibilities_and_expectations", type: "float", default: 0 })
4303
4572
  ], Rating.prototype, "responsibilitiesAndExpectations", 2);
4304
4573
  Rating = __decorateClass([
4305
- (0, import_typeorm34.Entity)("ratings")
4574
+ (0, import_typeorm39.Entity)("ratings")
4306
4575
  ], Rating);
4307
4576
 
4308
4577
  // src/entities/job.entity.ts
@@ -4357,58 +4626,58 @@ var DurationTypeEnum = /* @__PURE__ */ ((DurationTypeEnum2) => {
4357
4626
  var Job = class extends BaseEntity {
4358
4627
  };
4359
4628
  __decorateClass([
4360
- (0, import_typeorm35.Column)({ name: "job_id", type: "varchar", unique: true, nullable: true })
4629
+ (0, import_typeorm40.Column)({ name: "job_id", type: "varchar", unique: true, nullable: true })
4361
4630
  ], Job.prototype, "jobId", 2);
4362
4631
  // individual index to find jobs by user
4363
4632
  __decorateClass([
4364
- (0, import_typeorm35.Column)({ name: "user_id", type: "integer", nullable: true }),
4365
- (0, import_typeorm35.Index)()
4633
+ (0, import_typeorm40.Column)({ name: "user_id", type: "integer", nullable: true }),
4634
+ (0, import_typeorm40.Index)()
4366
4635
  ], Job.prototype, "userId", 2);
4367
4636
  __decorateClass([
4368
- (0, import_typeorm35.ManyToOne)(() => User, (user) => user.jobs),
4369
- (0, import_typeorm35.JoinColumn)({ name: "user_id" })
4637
+ (0, import_typeorm40.ManyToOne)(() => User, (user) => user.jobs),
4638
+ (0, import_typeorm40.JoinColumn)({ name: "user_id" })
4370
4639
  ], Job.prototype, "user", 2);
4371
4640
  __decorateClass([
4372
- (0, import_typeorm35.Column)({ name: "country_id", type: "int", nullable: true })
4641
+ (0, import_typeorm40.Column)({ name: "country_id", type: "int", nullable: true })
4373
4642
  ], Job.prototype, "countryId", 2);
4374
4643
  __decorateClass([
4375
- (0, import_typeorm35.ManyToOne)(() => Country),
4376
- (0, import_typeorm35.JoinColumn)({ name: "country_id" })
4644
+ (0, import_typeorm40.ManyToOne)(() => Country),
4645
+ (0, import_typeorm40.JoinColumn)({ name: "country_id" })
4377
4646
  ], Job.prototype, "country", 2);
4378
4647
  __decorateClass([
4379
- (0, import_typeorm35.Column)({ name: "state_id", type: "int", nullable: true })
4648
+ (0, import_typeorm40.Column)({ name: "state_id", type: "int", nullable: true })
4380
4649
  ], Job.prototype, "stateId", 2);
4381
4650
  __decorateClass([
4382
- (0, import_typeorm35.ManyToOne)(() => State),
4383
- (0, import_typeorm35.JoinColumn)({ name: "state_id" })
4651
+ (0, import_typeorm40.ManyToOne)(() => State),
4652
+ (0, import_typeorm40.JoinColumn)({ name: "state_id" })
4384
4653
  ], Job.prototype, "state", 2);
4385
4654
  __decorateClass([
4386
- (0, import_typeorm35.Column)({ name: "city_id", type: "int", nullable: true })
4655
+ (0, import_typeorm40.Column)({ name: "city_id", type: "int", nullable: true })
4387
4656
  ], Job.prototype, "cityId", 2);
4388
4657
  __decorateClass([
4389
- (0, import_typeorm35.ManyToOne)(() => City),
4390
- (0, import_typeorm35.JoinColumn)({ name: "city_id" })
4658
+ (0, import_typeorm40.ManyToOne)(() => City),
4659
+ (0, import_typeorm40.JoinColumn)({ name: "city_id" })
4391
4660
  ], Job.prototype, "city", 2);
4392
4661
  __decorateClass([
4393
- (0, import_typeorm35.Column)({ name: "job_role", type: "varchar", nullable: true })
4662
+ (0, import_typeorm40.Column)({ name: "job_role", type: "varchar", nullable: true })
4394
4663
  ], Job.prototype, "jobRole", 2);
4395
4664
  __decorateClass([
4396
- (0, import_typeorm35.Column)({ name: "job_role_canonical_name", type: "varchar", nullable: true })
4665
+ (0, import_typeorm40.Column)({ name: "job_role_canonical_name", type: "varchar", nullable: true })
4397
4666
  ], Job.prototype, "jobRoleCanonicalName", 2);
4398
4667
  __decorateClass([
4399
- (0, import_typeorm35.Column)({ name: "project_name", type: "varchar", nullable: true })
4668
+ (0, import_typeorm40.Column)({ name: "project_name", type: "varchar", nullable: true })
4400
4669
  ], Job.prototype, "projectName", 2);
4401
4670
  __decorateClass([
4402
- (0, import_typeorm35.Column)({ name: "note", type: "varchar", nullable: true })
4671
+ (0, import_typeorm40.Column)({ name: "note", type: "varchar", nullable: true })
4403
4672
  ], Job.prototype, "note", 2);
4404
4673
  __decorateClass([
4405
- (0, import_typeorm35.Column)({ name: "openings", type: "integer", default: 0 })
4674
+ (0, import_typeorm40.Column)({ name: "openings", type: "integer", default: 0 })
4406
4675
  ], Job.prototype, "openings", 2);
4407
4676
  __decorateClass([
4408
- (0, import_typeorm35.Column)({ name: "utilised_openings", type: "integer", default: 0 })
4677
+ (0, import_typeorm40.Column)({ name: "utilised_openings", type: "integer", default: 0 })
4409
4678
  ], Job.prototype, "utilisedOpenings", 2);
4410
4679
  __decorateClass([
4411
- (0, import_typeorm35.Column)({
4680
+ (0, import_typeorm40.Column)({
4412
4681
  name: "location",
4413
4682
  type: "enum",
4414
4683
  enum: JobLocationEnum,
@@ -4416,7 +4685,7 @@ __decorateClass([
4416
4685
  })
4417
4686
  ], Job.prototype, "location", 2);
4418
4687
  __decorateClass([
4419
- (0, import_typeorm35.Column)({
4688
+ (0, import_typeorm40.Column)({
4420
4689
  name: "type_of_employment",
4421
4690
  type: "enum",
4422
4691
  enum: TypeOfEmploymentEnum,
@@ -4424,7 +4693,7 @@ __decorateClass([
4424
4693
  })
4425
4694
  ], Job.prototype, "typeOfEmployment", 2);
4426
4695
  __decorateClass([
4427
- (0, import_typeorm35.Column)({
4696
+ (0, import_typeorm40.Column)({
4428
4697
  name: "billing_cycle",
4429
4698
  type: "enum",
4430
4699
  enum: BillingCycleEnum,
@@ -4432,10 +4701,10 @@ __decorateClass([
4432
4701
  })
4433
4702
  ], Job.prototype, "billingCycle", 2);
4434
4703
  __decorateClass([
4435
- (0, import_typeorm35.Column)({ name: "academic_qualifictaion", type: "varchar", nullable: true })
4704
+ (0, import_typeorm40.Column)({ name: "academic_qualifictaion", type: "varchar", nullable: true })
4436
4705
  ], Job.prototype, "academicQualification", 2);
4437
4706
  __decorateClass([
4438
- (0, import_typeorm35.Column)({
4707
+ (0, import_typeorm40.Column)({
4439
4708
  name: "type_of_experience",
4440
4709
  type: "enum",
4441
4710
  enum: typeOfExperienceEnum,
@@ -4443,22 +4712,22 @@ __decorateClass([
4443
4712
  })
4444
4713
  ], Job.prototype, "typeOfExperience", 2);
4445
4714
  __decorateClass([
4446
- (0, import_typeorm35.Column)({ name: "years_of_experience", type: "varchar", nullable: true })
4715
+ (0, import_typeorm40.Column)({ name: "years_of_experience", type: "varchar", nullable: true })
4447
4716
  ], Job.prototype, "yearsOfExperience", 2);
4448
4717
  __decorateClass([
4449
- (0, import_typeorm35.Column)({ name: "years_of_experience_from", type: "varchar", nullable: true })
4718
+ (0, import_typeorm40.Column)({ name: "years_of_experience_from", type: "varchar", nullable: true })
4450
4719
  ], Job.prototype, "yearsOfExperienceFrom", 2);
4451
4720
  __decorateClass([
4452
- (0, import_typeorm35.Column)({ name: "years_of_experience_to", type: "varchar", nullable: true })
4721
+ (0, import_typeorm40.Column)({ name: "years_of_experience_to", type: "varchar", nullable: true })
4453
4722
  ], Job.prototype, "yearsOfExperienceTo", 2);
4454
4723
  __decorateClass([
4455
- (0, import_typeorm35.Column)({ name: "business_industry", type: "varchar", nullable: true })
4724
+ (0, import_typeorm40.Column)({ name: "business_industry", type: "varchar", nullable: true })
4456
4725
  ], Job.prototype, "businessIndustry", 2);
4457
4726
  __decorateClass([
4458
- (0, import_typeorm35.Column)({ name: "currency", type: "varchar", default: "USD" })
4727
+ (0, import_typeorm40.Column)({ name: "currency", type: "varchar", default: "USD" })
4459
4728
  ], Job.prototype, "currency", 2);
4460
4729
  __decorateClass([
4461
- (0, import_typeorm35.Column)({
4730
+ (0, import_typeorm40.Column)({
4462
4731
  name: "expected_salary_from",
4463
4732
  type: "decimal",
4464
4733
  precision: 10,
@@ -4467,14 +4736,14 @@ __decorateClass([
4467
4736
  })
4468
4737
  ], Job.prototype, "expectedSalaryFrom", 2);
4469
4738
  __decorateClass([
4470
- (0, import_typeorm35.Column)({
4739
+ (0, import_typeorm40.Column)({
4471
4740
  name: "hide_expected_salary_from",
4472
4741
  type: "boolean",
4473
4742
  default: false
4474
4743
  })
4475
4744
  ], Job.prototype, "hideExpectedSalaryFrom", 2);
4476
4745
  __decorateClass([
4477
- (0, import_typeorm35.Column)({
4746
+ (0, import_typeorm40.Column)({
4478
4747
  name: "expected_salary_to",
4479
4748
  type: "decimal",
4480
4749
  precision: 10,
@@ -4483,14 +4752,14 @@ __decorateClass([
4483
4752
  })
4484
4753
  ], Job.prototype, "expectedSalaryTo", 2);
4485
4754
  __decorateClass([
4486
- (0, import_typeorm35.Column)({
4755
+ (0, import_typeorm40.Column)({
4487
4756
  name: "hide_expected_salary_to",
4488
4757
  type: "boolean",
4489
4758
  default: false
4490
4759
  })
4491
4760
  ], Job.prototype, "hideExpectedSalaryTo", 2);
4492
4761
  __decorateClass([
4493
- (0, import_typeorm35.Column)({
4762
+ (0, import_typeorm40.Column)({
4494
4763
  name: "expected_annual_budget_from",
4495
4764
  type: "decimal",
4496
4765
  precision: 10,
@@ -4499,14 +4768,14 @@ __decorateClass([
4499
4768
  })
4500
4769
  ], Job.prototype, "expectedAnnualBudgetFrom", 2);
4501
4770
  __decorateClass([
4502
- (0, import_typeorm35.Column)({
4771
+ (0, import_typeorm40.Column)({
4503
4772
  name: "hide_expected_annual_budget_from",
4504
4773
  type: "boolean",
4505
4774
  default: false
4506
4775
  })
4507
4776
  ], Job.prototype, "hideExpectedAnnualBudgetFrom", 2);
4508
4777
  __decorateClass([
4509
- (0, import_typeorm35.Column)({
4778
+ (0, import_typeorm40.Column)({
4510
4779
  name: "expected_annual_budget_to",
4511
4780
  type: "decimal",
4512
4781
  precision: 10,
@@ -4515,32 +4784,32 @@ __decorateClass([
4515
4784
  })
4516
4785
  ], Job.prototype, "expectedAnnualBudgetTo", 2);
4517
4786
  __decorateClass([
4518
- (0, import_typeorm35.Column)({
4787
+ (0, import_typeorm40.Column)({
4519
4788
  name: "hide_expected_annual_budget_to",
4520
4789
  type: "boolean",
4521
4790
  default: false
4522
4791
  })
4523
4792
  ], Job.prototype, "hideExpectedAnnualBudgetTo", 2);
4524
4793
  __decorateClass([
4525
- (0, import_typeorm35.Column)({ name: "years", type: "varchar", nullable: true })
4794
+ (0, import_typeorm40.Column)({ name: "years", type: "varchar", nullable: true })
4526
4795
  ], Job.prototype, "years", 2);
4527
4796
  __decorateClass([
4528
- (0, import_typeorm35.Column)({ name: "months", type: "varchar", nullable: true })
4797
+ (0, import_typeorm40.Column)({ name: "months", type: "varchar", nullable: true })
4529
4798
  ], Job.prototype, "months", 2);
4530
4799
  __decorateClass([
4531
- (0, import_typeorm35.Column)({ name: "weeks", type: "varchar", nullable: true })
4800
+ (0, import_typeorm40.Column)({ name: "weeks", type: "varchar", nullable: true })
4532
4801
  ], Job.prototype, "weeks", 2);
4533
4802
  __decorateClass([
4534
- (0, import_typeorm35.Column)({ name: "days", type: "varchar", nullable: true })
4803
+ (0, import_typeorm40.Column)({ name: "days", type: "varchar", nullable: true })
4535
4804
  ], Job.prototype, "days", 2);
4536
4805
  __decorateClass([
4537
- (0, import_typeorm35.Column)({ name: "tentative_start_date", type: "date", nullable: true })
4806
+ (0, import_typeorm40.Column)({ name: "tentative_start_date", type: "date", nullable: true })
4538
4807
  ], Job.prototype, "tentativeStartDate", 2);
4539
4808
  __decorateClass([
4540
- (0, import_typeorm35.Column)({ name: "tentative_end_date", type: "date", nullable: true })
4809
+ (0, import_typeorm40.Column)({ name: "tentative_end_date", type: "date", nullable: true })
4541
4810
  ], Job.prototype, "tentativeEndDate", 2);
4542
4811
  __decorateClass([
4543
- (0, import_typeorm35.Column)({
4812
+ (0, import_typeorm40.Column)({
4544
4813
  name: "duration_type",
4545
4814
  type: "enum",
4546
4815
  enum: DurationTypeEnum,
@@ -4548,10 +4817,10 @@ __decorateClass([
4548
4817
  })
4549
4818
  ], Job.prototype, "durationType", 2);
4550
4819
  __decorateClass([
4551
- (0, import_typeorm35.Column)({ name: "duration", type: "varchar", nullable: true })
4820
+ (0, import_typeorm40.Column)({ name: "duration", type: "varchar", nullable: true })
4552
4821
  ], Job.prototype, "duration", 2);
4553
4822
  __decorateClass([
4554
- (0, import_typeorm35.Column)({
4823
+ (0, import_typeorm40.Column)({
4555
4824
  name: "number_of_hours",
4556
4825
  type: "decimal",
4557
4826
  precision: 4,
@@ -4560,13 +4829,13 @@ __decorateClass([
4560
4829
  })
4561
4830
  ], Job.prototype, "numberOfHours", 2);
4562
4831
  __decorateClass([
4563
- (0, import_typeorm35.Column)({ name: "description", type: "varchar", nullable: true })
4832
+ (0, import_typeorm40.Column)({ name: "description", type: "varchar", nullable: true })
4564
4833
  ], Job.prototype, "description", 2);
4565
4834
  __decorateClass([
4566
- (0, import_typeorm35.Column)({ name: "additional_comment", type: "varchar", nullable: true })
4835
+ (0, import_typeorm40.Column)({ name: "additional_comment", type: "varchar", nullable: true })
4567
4836
  ], Job.prototype, "additionalComment", 2);
4568
4837
  __decorateClass([
4569
- (0, import_typeorm35.Column)({
4838
+ (0, import_typeorm40.Column)({
4570
4839
  name: "onboarding_tat",
4571
4840
  type: "varchar",
4572
4841
  length: 50,
@@ -4574,17 +4843,17 @@ __decorateClass([
4574
4843
  })
4575
4844
  ], Job.prototype, "onboardingTat", 2);
4576
4845
  __decorateClass([
4577
- (0, import_typeorm35.Column)({
4846
+ (0, import_typeorm40.Column)({
4578
4847
  name: "candidate_communication_skills",
4579
4848
  type: "varchar",
4580
4849
  nullable: true
4581
4850
  })
4582
4851
  ], Job.prototype, "candidateCommunicationSkills", 2);
4583
4852
  __decorateClass([
4584
- (0, import_typeorm35.Column)({ name: "deal_breakers", type: "jsonb", nullable: true })
4853
+ (0, import_typeorm40.Column)({ name: "deal_breakers", type: "jsonb", nullable: true })
4585
4854
  ], Job.prototype, "dealBreakers", 2);
4586
4855
  __decorateClass([
4587
- (0, import_typeorm35.Column)({
4856
+ (0, import_typeorm40.Column)({
4588
4857
  name: "step_completed",
4589
4858
  type: "enum",
4590
4859
  enum: Step,
@@ -4592,7 +4861,7 @@ __decorateClass([
4592
4861
  })
4593
4862
  ], Job.prototype, "stepCompleted", 2);
4594
4863
  __decorateClass([
4595
- (0, import_typeorm35.Column)({
4864
+ (0, import_typeorm40.Column)({
4596
4865
  name: "status",
4597
4866
  type: "enum",
4598
4867
  enum: JobStatusEnum,
@@ -4600,43 +4869,43 @@ __decorateClass([
4600
4869
  })
4601
4870
  ], Job.prototype, "status", 2);
4602
4871
  __decorateClass([
4603
- (0, import_typeorm35.Column)({ name: "viewed_count", type: "integer", default: 0 })
4872
+ (0, import_typeorm40.Column)({ name: "viewed_count", type: "integer", default: 0 })
4604
4873
  ], Job.prototype, "viewedCount", 2);
4605
4874
  __decorateClass([
4606
- (0, import_typeorm35.Column)({ name: "application_count", type: "integer", default: 0 })
4875
+ (0, import_typeorm40.Column)({ name: "application_count", type: "integer", default: 0 })
4607
4876
  ], Job.prototype, "applicationCount", 2);
4608
4877
  __decorateClass([
4609
- (0, import_typeorm35.Column)({ name: "is_contract_signed", type: "boolean", default: false })
4878
+ (0, import_typeorm40.Column)({ name: "is_contract_signed", type: "boolean", default: false })
4610
4879
  ], Job.prototype, "isContractSigned", 2);
4611
4880
  __decorateClass([
4612
- (0, import_typeorm35.Column)({ name: "is_interview_created", type: "boolean", default: false })
4881
+ (0, import_typeorm40.Column)({ name: "is_interview_created", type: "boolean", default: false })
4613
4882
  ], Job.prototype, "isInterviewCreated", 2);
4614
4883
  __decorateClass([
4615
- (0, import_typeorm35.Column)({ name: "is_job_created_via_ai", type: "boolean", default: false })
4884
+ (0, import_typeorm40.Column)({ name: "is_job_created_via_ai", type: "boolean", default: false })
4616
4885
  ], Job.prototype, "isJobCreatedViaAI", 2);
4617
4886
  __decorateClass([
4618
- (0, import_typeorm35.OneToMany)(() => InterviewInvite, (interviewInvite) => interviewInvite.job, { cascade: true })
4887
+ (0, import_typeorm40.OneToMany)(() => InterviewInvite, (interviewInvite) => interviewInvite.job, { cascade: true })
4619
4888
  ], Job.prototype, "interviewInvites", 2);
4620
4889
  __decorateClass([
4621
- (0, import_typeorm35.OneToMany)(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
4890
+ (0, import_typeorm40.OneToMany)(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
4622
4891
  ], Job.prototype, "jobSkills", 2);
4623
4892
  __decorateClass([
4624
- (0, import_typeorm35.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.job, {
4893
+ (0, import_typeorm40.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.job, {
4625
4894
  cascade: true
4626
4895
  })
4627
4896
  ], Job.prototype, "jobApplications", 2);
4628
4897
  __decorateClass([
4629
- (0, import_typeorm35.OneToMany)(() => Interview, (interview) => interview.job, {
4898
+ (0, import_typeorm40.OneToMany)(() => Interview, (interview) => interview.job, {
4630
4899
  cascade: true
4631
4900
  })
4632
4901
  ], Job.prototype, "interviews", 2);
4633
4902
  __decorateClass([
4634
- (0, import_typeorm35.OneToMany)(() => F2FInterview, (f2fInterview) => f2fInterview.job, {
4903
+ (0, import_typeorm40.OneToMany)(() => F2FInterview, (f2fInterview) => f2fInterview.job, {
4635
4904
  cascade: true
4636
4905
  })
4637
4906
  ], Job.prototype, "f2fInterviews", 2);
4638
4907
  __decorateClass([
4639
- (0, import_typeorm35.OneToMany)(
4908
+ (0, import_typeorm40.OneToMany)(
4640
4909
  () => JobRecommendation,
4641
4910
  (jobRecommendation) => jobRecommendation.job,
4642
4911
  {
@@ -4645,59 +4914,64 @@ __decorateClass([
4645
4914
  )
4646
4915
  ], Job.prototype, "recommendations", 2);
4647
4916
  __decorateClass([
4648
- (0, import_typeorm35.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.job, {
4917
+ (0, import_typeorm40.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.job, {
4649
4918
  cascade: true
4650
4919
  })
4651
4920
  ], Job.prototype, "contractSummaries", 2);
4652
4921
  __decorateClass([
4653
- (0, import_typeorm35.OneToMany)(() => Contract, (contract) => contract.job, {
4922
+ (0, import_typeorm40.OneToMany)(() => Contract, (contract) => contract.job, {
4654
4923
  cascade: true
4655
4924
  })
4656
4925
  ], Job.prototype, "contracts", 2);
4657
4926
  __decorateClass([
4658
- (0, import_typeorm35.OneToMany)(() => Hiring, (hiring) => hiring.job, {
4927
+ (0, import_typeorm40.OneToMany)(() => Hiring, (hiring) => hiring.job, {
4659
4928
  cascade: true
4660
4929
  })
4661
4930
  ], Job.prototype, "hirings", 2);
4662
4931
  __decorateClass([
4663
- (0, import_typeorm35.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.job, {
4932
+ (0, import_typeorm40.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.job, {
4664
4933
  cascade: true
4665
4934
  })
4666
4935
  ], Job.prototype, "escrowWallets", 2);
4667
4936
  __decorateClass([
4668
- (0, import_typeorm35.OneToMany)(() => Timesheet, (timesheet) => timesheet.job, {
4937
+ (0, import_typeorm40.OneToMany)(() => Timesheet, (timesheet) => timesheet.job, {
4669
4938
  cascade: true
4670
4939
  })
4671
4940
  ], Job.prototype, "timesheets", 2);
4672
4941
  __decorateClass([
4673
- (0, import_typeorm35.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.job, {
4942
+ (0, import_typeorm40.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.job, {
4674
4943
  cascade: true
4675
4944
  })
4676
4945
  ], Job.prototype, "timesheetLine", 2);
4677
4946
  __decorateClass([
4678
- (0, import_typeorm35.OneToMany)(() => Invoice, (invoice) => invoice.job, {
4947
+ (0, import_typeorm40.OneToMany)(() => Invoice, (invoice) => invoice.job, {
4679
4948
  cascade: true
4680
4949
  })
4681
4950
  ], Job.prototype, "invoice", 2);
4682
4951
  __decorateClass([
4683
- (0, import_typeorm35.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.job)
4952
+ (0, import_typeorm40.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.job)
4684
4953
  ], Job.prototype, "clientCandidatePreferences", 2);
4685
4954
  __decorateClass([
4686
- (0, import_typeorm35.OneToMany)(() => JobLocation, (jobLocation) => jobLocation.job, {
4955
+ (0, import_typeorm40.OneToMany)(() => JobLocation, (jobLocation) => jobLocation.job, {
4687
4956
  cascade: true
4688
4957
  })
4689
4958
  ], Job.prototype, "jobLocations", 2);
4690
4959
  __decorateClass([
4691
- (0, import_typeorm35.OneToMany)(() => Rating, (rating) => rating.job, {
4960
+ (0, import_typeorm40.OneToMany)(() => Rating, (rating) => rating.job, {
4692
4961
  cascade: true
4693
4962
  })
4694
4963
  ], Job.prototype, "ratings", 2);
4964
+ __decorateClass([
4965
+ (0, import_typeorm40.OneToMany)(() => Task, (task) => task.job, {
4966
+ cascade: true
4967
+ })
4968
+ ], Job.prototype, "tasks", 2);
4695
4969
  Job = __decorateClass([
4696
- (0, import_typeorm35.Entity)("jobs")
4970
+ (0, import_typeorm40.Entity)("jobs")
4697
4971
  ], Job);
4698
4972
 
4699
4973
  // src/entities/bank-details.entity.ts
4700
- var import_typeorm36 = require("typeorm");
4974
+ var import_typeorm41 = require("typeorm");
4701
4975
  var BankAccountTypeEnum = /* @__PURE__ */ ((BankAccountTypeEnum2) => {
4702
4976
  BankAccountTypeEnum2["PRIMARY"] = "PRIMARY";
4703
4977
  BankAccountTypeEnum2["SECONDARY"] = "SECONDARY";
@@ -4712,51 +4986,51 @@ var BankDetail = class extends BaseEntity {
4712
4986
  };
4713
4987
  // individual index to find bank details by user
4714
4988
  __decorateClass([
4715
- (0, import_typeorm36.Column)({ name: "user_id", type: "integer", nullable: true }),
4716
- (0, import_typeorm36.Index)()
4989
+ (0, import_typeorm41.Column)({ name: "user_id", type: "integer", nullable: true }),
4990
+ (0, import_typeorm41.Index)()
4717
4991
  ], BankDetail.prototype, "userId", 2);
4718
4992
  __decorateClass([
4719
- (0, import_typeorm36.ManyToOne)(() => User, (user) => user.bankDetail),
4720
- (0, import_typeorm36.JoinColumn)({ name: "user_id" })
4993
+ (0, import_typeorm41.ManyToOne)(() => User, (user) => user.bankDetail),
4994
+ (0, import_typeorm41.JoinColumn)({ name: "user_id" })
4721
4995
  ], BankDetail.prototype, "user", 2);
4722
4996
  __decorateClass([
4723
- (0, import_typeorm36.Column)({ name: "name", type: "varchar", nullable: true })
4997
+ (0, import_typeorm41.Column)({ name: "name", type: "varchar", nullable: true })
4724
4998
  ], BankDetail.prototype, "name", 2);
4725
4999
  __decorateClass([
4726
- (0, import_typeorm36.Column)({ name: "mobile_code", type: "varchar", nullable: true })
5000
+ (0, import_typeorm41.Column)({ name: "mobile_code", type: "varchar", nullable: true })
4727
5001
  ], BankDetail.prototype, "mobileCode", 2);
4728
5002
  __decorateClass([
4729
- (0, import_typeorm36.Column)({ name: "mobile", type: "varchar", nullable: true })
5003
+ (0, import_typeorm41.Column)({ name: "mobile", type: "varchar", nullable: true })
4730
5004
  ], BankDetail.prototype, "mobile", 2);
4731
5005
  __decorateClass([
4732
- (0, import_typeorm36.Column)({ name: "email", type: "varchar" })
5006
+ (0, import_typeorm41.Column)({ name: "email", type: "varchar" })
4733
5007
  ], BankDetail.prototype, "email", 2);
4734
5008
  __decorateClass([
4735
- (0, import_typeorm36.Column)({ name: "address", type: "varchar", nullable: true })
5009
+ (0, import_typeorm41.Column)({ name: "address", type: "varchar", nullable: true })
4736
5010
  ], BankDetail.prototype, "address", 2);
4737
5011
  __decorateClass([
4738
- (0, import_typeorm36.Column)({ name: "account_number", type: "varchar", unique: true, nullable: true })
5012
+ (0, import_typeorm41.Column)({ name: "account_number", type: "varchar", unique: true, nullable: true })
4739
5013
  ], BankDetail.prototype, "accountNumber", 2);
4740
5014
  __decorateClass([
4741
- (0, import_typeorm36.Column)({ name: "bank_name", type: "varchar", nullable: true })
5015
+ (0, import_typeorm41.Column)({ name: "bank_name", type: "varchar", nullable: true })
4742
5016
  ], BankDetail.prototype, "bankName", 2);
4743
5017
  __decorateClass([
4744
- (0, import_typeorm36.Column)({ name: "ifsc_code", type: "varchar", nullable: true })
5018
+ (0, import_typeorm41.Column)({ name: "ifsc_code", type: "varchar", nullable: true })
4745
5019
  ], BankDetail.prototype, "ifscCode", 2);
4746
5020
  __decorateClass([
4747
- (0, import_typeorm36.Column)({ name: "branch_name", type: "varchar", nullable: true })
5021
+ (0, import_typeorm41.Column)({ name: "branch_name", type: "varchar", nullable: true })
4748
5022
  ], BankDetail.prototype, "branchName", 2);
4749
5023
  __decorateClass([
4750
- (0, import_typeorm36.Column)({ name: "routing_no", type: "varchar", nullable: true })
5024
+ (0, import_typeorm41.Column)({ name: "routing_no", type: "varchar", nullable: true })
4751
5025
  ], BankDetail.prototype, "routingNo", 2);
4752
5026
  __decorateClass([
4753
- (0, import_typeorm36.Column)({ name: "aba_no", type: "varchar", nullable: true })
5027
+ (0, import_typeorm41.Column)({ name: "aba_no", type: "varchar", nullable: true })
4754
5028
  ], BankDetail.prototype, "abaNumber", 2);
4755
5029
  __decorateClass([
4756
- (0, import_typeorm36.Column)({ name: "iban", type: "varchar", nullable: true })
5030
+ (0, import_typeorm41.Column)({ name: "iban", type: "varchar", nullable: true })
4757
5031
  ], BankDetail.prototype, "iban", 2);
4758
5032
  __decorateClass([
4759
- (0, import_typeorm36.Column)({
5033
+ (0, import_typeorm41.Column)({
4760
5034
  name: "account_type",
4761
5035
  type: "enum",
4762
5036
  enum: BankAccountTypeEnum,
@@ -4764,7 +5038,7 @@ __decorateClass([
4764
5038
  })
4765
5039
  ], BankDetail.prototype, "accountType", 2);
4766
5040
  __decorateClass([
4767
- (0, import_typeorm36.Column)({
5041
+ (0, import_typeorm41.Column)({
4768
5042
  name: "account_scope",
4769
5043
  type: "enum",
4770
5044
  enum: BankAccountScopeEnum,
@@ -4772,150 +5046,150 @@ __decorateClass([
4772
5046
  })
4773
5047
  ], BankDetail.prototype, "accountScope", 2);
4774
5048
  BankDetail = __decorateClass([
4775
- (0, import_typeorm36.Entity)("bank_details")
5049
+ (0, import_typeorm41.Entity)("bank_details")
4776
5050
  ], BankDetail);
4777
5051
 
4778
5052
  // src/entities/system-preference.entity.ts
4779
- var import_typeorm37 = require("typeorm");
5053
+ var import_typeorm42 = require("typeorm");
4780
5054
  var SystemPreference = class extends BaseEntity {
4781
5055
  };
4782
5056
  // individual index to find system preference by user
4783
5057
  __decorateClass([
4784
- (0, import_typeorm37.Column)({ name: "user_id", type: "integer", nullable: true }),
4785
- (0, import_typeorm37.Index)()
5058
+ (0, import_typeorm42.Column)({ name: "user_id", type: "integer", nullable: true }),
5059
+ (0, import_typeorm42.Index)()
4786
5060
  ], SystemPreference.prototype, "userId", 2);
4787
5061
  __decorateClass([
4788
- (0, import_typeorm37.ManyToOne)(() => User, (user) => user.systemPreference),
4789
- (0, import_typeorm37.JoinColumn)({ name: "user_id" })
5062
+ (0, import_typeorm42.ManyToOne)(() => User, (user) => user.systemPreference),
5063
+ (0, import_typeorm42.JoinColumn)({ name: "user_id" })
4790
5064
  ], SystemPreference.prototype, "user", 2);
4791
5065
  __decorateClass([
4792
- (0, import_typeorm37.Column)({ name: "key", type: "varchar", nullable: false })
5066
+ (0, import_typeorm42.Column)({ name: "key", type: "varchar", nullable: false })
4793
5067
  ], SystemPreference.prototype, "key", 2);
4794
5068
  __decorateClass([
4795
- (0, import_typeorm37.Column)({ name: "value", type: "boolean", default: false })
5069
+ (0, import_typeorm42.Column)({ name: "value", type: "boolean", default: false })
4796
5070
  ], SystemPreference.prototype, "value", 2);
4797
5071
  SystemPreference = __decorateClass([
4798
- (0, import_typeorm37.Entity)("system_preferences")
5072
+ (0, import_typeorm42.Entity)("system_preferences")
4799
5073
  ], SystemPreference);
4800
5074
 
4801
5075
  // src/entities/freelancer-experience.entity.ts
4802
- var import_typeorm38 = require("typeorm");
5076
+ var import_typeorm43 = require("typeorm");
4803
5077
  var FreelancerExperience = class extends BaseEntity {
4804
5078
  };
4805
5079
  // individual index to find experence by user
4806
5080
  __decorateClass([
4807
- (0, import_typeorm38.Column)({ name: "user_id", type: "integer", nullable: true }),
4808
- (0, import_typeorm38.Index)()
5081
+ (0, import_typeorm43.Column)({ name: "user_id", type: "integer", nullable: true }),
5082
+ (0, import_typeorm43.Index)()
4809
5083
  ], FreelancerExperience.prototype, "userId", 2);
4810
5084
  __decorateClass([
4811
- (0, import_typeorm38.ManyToOne)(() => User, (user) => user.freelancerExperience),
4812
- (0, import_typeorm38.JoinColumn)({ name: "user_id" })
5085
+ (0, import_typeorm43.ManyToOne)(() => User, (user) => user.freelancerExperience),
5086
+ (0, import_typeorm43.JoinColumn)({ name: "user_id" })
4813
5087
  ], FreelancerExperience.prototype, "user", 2);
4814
5088
  __decorateClass([
4815
- (0, import_typeorm38.Column)({ name: "company_name", type: "varchar", nullable: true })
5089
+ (0, import_typeorm43.Column)({ name: "company_name", type: "varchar", nullable: true })
4816
5090
  ], FreelancerExperience.prototype, "companyName", 2);
4817
5091
  __decorateClass([
4818
- (0, import_typeorm38.Column)({ name: "designation", type: "varchar", nullable: true })
5092
+ (0, import_typeorm43.Column)({ name: "designation", type: "varchar", nullable: true })
4819
5093
  ], FreelancerExperience.prototype, "designation", 2);
4820
5094
  __decorateClass([
4821
- (0, import_typeorm38.Column)({ name: "job_duration", type: "varchar", nullable: true })
5095
+ (0, import_typeorm43.Column)({ name: "job_duration", type: "varchar", nullable: true })
4822
5096
  ], FreelancerExperience.prototype, "jobDuration", 2);
4823
5097
  __decorateClass([
4824
- (0, import_typeorm38.Column)({ name: "description", type: "varchar", nullable: true })
5098
+ (0, import_typeorm43.Column)({ name: "description", type: "varchar", nullable: true })
4825
5099
  ], FreelancerExperience.prototype, "description", 2);
4826
5100
  FreelancerExperience = __decorateClass([
4827
- (0, import_typeorm38.Entity)("freelancer_experiences")
5101
+ (0, import_typeorm43.Entity)("freelancer_experiences")
4828
5102
  ], FreelancerExperience);
4829
5103
 
4830
5104
  // src/entities/freelancer-education.entity.ts
4831
- var import_typeorm39 = require("typeorm");
5105
+ var import_typeorm44 = require("typeorm");
4832
5106
  var FreelancerEducation = class extends BaseEntity {
4833
5107
  };
4834
5108
  // individual index to find education by user
4835
5109
  __decorateClass([
4836
- (0, import_typeorm39.Column)({ name: "user_id", type: "integer", nullable: true }),
4837
- (0, import_typeorm39.Index)()
5110
+ (0, import_typeorm44.Column)({ name: "user_id", type: "integer", nullable: true }),
5111
+ (0, import_typeorm44.Index)()
4838
5112
  ], FreelancerEducation.prototype, "userId", 2);
4839
5113
  __decorateClass([
4840
- (0, import_typeorm39.ManyToOne)(() => User, (user) => user.freelancerEducation),
4841
- (0, import_typeorm39.JoinColumn)({ name: "user_id" })
5114
+ (0, import_typeorm44.ManyToOne)(() => User, (user) => user.freelancerEducation),
5115
+ (0, import_typeorm44.JoinColumn)({ name: "user_id" })
4842
5116
  ], FreelancerEducation.prototype, "user", 2);
4843
5117
  __decorateClass([
4844
- (0, import_typeorm39.Column)({ name: "degree", type: "varchar", nullable: true })
5118
+ (0, import_typeorm44.Column)({ name: "degree", type: "varchar", nullable: true })
4845
5119
  ], FreelancerEducation.prototype, "degree", 2);
4846
5120
  __decorateClass([
4847
- (0, import_typeorm39.Column)({ name: "university", type: "varchar", nullable: true })
5121
+ (0, import_typeorm44.Column)({ name: "university", type: "varchar", nullable: true })
4848
5122
  ], FreelancerEducation.prototype, "university", 2);
4849
5123
  __decorateClass([
4850
- (0, import_typeorm39.Column)({ name: "year_of_graduation", type: "varchar", nullable: true })
5124
+ (0, import_typeorm44.Column)({ name: "year_of_graduation", type: "varchar", nullable: true })
4851
5125
  ], FreelancerEducation.prototype, "yearOfGraduation", 2);
4852
5126
  FreelancerEducation = __decorateClass([
4853
- (0, import_typeorm39.Entity)("freelancer_educations")
5127
+ (0, import_typeorm44.Entity)("freelancer_educations")
4854
5128
  ], FreelancerEducation);
4855
5129
 
4856
5130
  // src/entities/freelancer-project.entity.ts
4857
- var import_typeorm40 = require("typeorm");
5131
+ var import_typeorm45 = require("typeorm");
4858
5132
  var FreelancerProject = class extends BaseEntity {
4859
5133
  };
4860
5134
  // individual index to find project by user
4861
5135
  __decorateClass([
4862
- (0, import_typeorm40.Column)({ name: "user_id", type: "integer", nullable: true }),
4863
- (0, import_typeorm40.Index)()
5136
+ (0, import_typeorm45.Column)({ name: "user_id", type: "integer", nullable: true }),
5137
+ (0, import_typeorm45.Index)()
4864
5138
  ], FreelancerProject.prototype, "userId", 2);
4865
5139
  __decorateClass([
4866
- (0, import_typeorm40.ManyToOne)(() => User, (user) => user.freelancerProject),
4867
- (0, import_typeorm40.JoinColumn)({ name: "user_id" })
5140
+ (0, import_typeorm45.ManyToOne)(() => User, (user) => user.freelancerProject),
5141
+ (0, import_typeorm45.JoinColumn)({ name: "user_id" })
4868
5142
  ], FreelancerProject.prototype, "user", 2);
4869
5143
  __decorateClass([
4870
- (0, import_typeorm40.Column)({ name: "project_name", type: "varchar", nullable: true })
5144
+ (0, import_typeorm45.Column)({ name: "project_name", type: "varchar", nullable: true })
4871
5145
  ], FreelancerProject.prototype, "projectName", 2);
4872
5146
  __decorateClass([
4873
- (0, import_typeorm40.Column)({ name: "start_date", type: "date", nullable: true })
5147
+ (0, import_typeorm45.Column)({ name: "start_date", type: "date", nullable: true })
4874
5148
  ], FreelancerProject.prototype, "startDate", 2);
4875
5149
  __decorateClass([
4876
- (0, import_typeorm40.Column)({ name: "end_date", type: "date", nullable: true })
5150
+ (0, import_typeorm45.Column)({ name: "end_date", type: "date", nullable: true })
4877
5151
  ], FreelancerProject.prototype, "endDate", 2);
4878
5152
  __decorateClass([
4879
- (0, import_typeorm40.Column)({ name: "client_name", type: "varchar", nullable: true })
5153
+ (0, import_typeorm45.Column)({ name: "client_name", type: "varchar", nullable: true })
4880
5154
  ], FreelancerProject.prototype, "clientName", 2);
4881
5155
  __decorateClass([
4882
- (0, import_typeorm40.Column)({ name: "git_link", type: "varchar", nullable: true })
5156
+ (0, import_typeorm45.Column)({ name: "git_link", type: "varchar", nullable: true })
4883
5157
  ], FreelancerProject.prototype, "gitLink", 2);
4884
5158
  __decorateClass([
4885
- (0, import_typeorm40.Column)({ name: "description", type: "varchar", nullable: true })
5159
+ (0, import_typeorm45.Column)({ name: "description", type: "varchar", nullable: true })
4886
5160
  ], FreelancerProject.prototype, "description", 2);
4887
5161
  FreelancerProject = __decorateClass([
4888
- (0, import_typeorm40.Entity)("freelancer_projects")
5162
+ (0, import_typeorm45.Entity)("freelancer_projects")
4889
5163
  ], FreelancerProject);
4890
5164
 
4891
5165
  // src/entities/freelancer-casestudy.entity.ts
4892
- var import_typeorm41 = require("typeorm");
5166
+ var import_typeorm46 = require("typeorm");
4893
5167
  var FreelancerCaseStudy = class extends BaseEntity {
4894
5168
  };
4895
5169
  // individual index to find case study by user
4896
5170
  __decorateClass([
4897
- (0, import_typeorm41.Column)({ name: "user_id", type: "integer", nullable: true }),
4898
- (0, import_typeorm41.Index)()
5171
+ (0, import_typeorm46.Column)({ name: "user_id", type: "integer", nullable: true }),
5172
+ (0, import_typeorm46.Index)()
4899
5173
  ], FreelancerCaseStudy.prototype, "userId", 2);
4900
5174
  __decorateClass([
4901
- (0, import_typeorm41.ManyToOne)(() => User, (user) => user.freelancerCaseStudy),
4902
- (0, import_typeorm41.JoinColumn)({ name: "user_id" })
5175
+ (0, import_typeorm46.ManyToOne)(() => User, (user) => user.freelancerCaseStudy),
5176
+ (0, import_typeorm46.JoinColumn)({ name: "user_id" })
4903
5177
  ], FreelancerCaseStudy.prototype, "user", 2);
4904
5178
  __decorateClass([
4905
- (0, import_typeorm41.Column)({ name: "project_name", type: "varchar", nullable: true })
5179
+ (0, import_typeorm46.Column)({ name: "project_name", type: "varchar", nullable: true })
4906
5180
  ], FreelancerCaseStudy.prototype, "projectName", 2);
4907
5181
  __decorateClass([
4908
- (0, import_typeorm41.Column)({ name: "case_study_link", type: "varchar", nullable: true })
5182
+ (0, import_typeorm46.Column)({ name: "case_study_link", type: "varchar", nullable: true })
4909
5183
  ], FreelancerCaseStudy.prototype, "caseStudyLink", 2);
4910
5184
  __decorateClass([
4911
- (0, import_typeorm41.Column)({ name: "description", type: "varchar", nullable: true })
5185
+ (0, import_typeorm46.Column)({ name: "description", type: "varchar", nullable: true })
4912
5186
  ], FreelancerCaseStudy.prototype, "description", 2);
4913
5187
  FreelancerCaseStudy = __decorateClass([
4914
- (0, import_typeorm41.Entity)("freelancer_case_studies")
5188
+ (0, import_typeorm46.Entity)("freelancer_case_studies")
4915
5189
  ], FreelancerCaseStudy);
4916
5190
 
4917
5191
  // src/entities/freelancer-skill.entity.ts
4918
- var import_typeorm42 = require("typeorm");
5192
+ var import_typeorm47 = require("typeorm");
4919
5193
  var FreelancerSkillCategoryEnum = /* @__PURE__ */ ((FreelancerSkillCategoryEnum2) => {
4920
5194
  FreelancerSkillCategoryEnum2[FreelancerSkillCategoryEnum2["GOOD_TO_HAVE"] = 0] = "GOOD_TO_HAVE";
4921
5195
  FreelancerSkillCategoryEnum2[FreelancerSkillCategoryEnum2["MUST_HAVE"] = 1] = "MUST_HAVE";
@@ -4925,18 +5199,18 @@ var FreelancerSkill = class extends BaseEntity {
4925
5199
  };
4926
5200
  // individual index to find core skills by user
4927
5201
  __decorateClass([
4928
- (0, import_typeorm42.Column)({ name: "user_id", type: "integer", nullable: true }),
4929
- (0, import_typeorm42.Index)()
5202
+ (0, import_typeorm47.Column)({ name: "user_id", type: "integer", nullable: true }),
5203
+ (0, import_typeorm47.Index)()
4930
5204
  ], FreelancerSkill.prototype, "userId", 2);
4931
5205
  __decorateClass([
4932
- (0, import_typeorm42.ManyToOne)(() => User, (user) => user.freelancerSkills),
4933
- (0, import_typeorm42.JoinColumn)({ name: "user_id" })
5206
+ (0, import_typeorm47.ManyToOne)(() => User, (user) => user.freelancerSkills),
5207
+ (0, import_typeorm47.JoinColumn)({ name: "user_id" })
4934
5208
  ], FreelancerSkill.prototype, "user", 2);
4935
5209
  __decorateClass([
4936
- (0, import_typeorm42.Column)({ name: "skill_name", type: "varchar", nullable: true })
5210
+ (0, import_typeorm47.Column)({ name: "skill_name", type: "varchar", nullable: true })
4937
5211
  ], FreelancerSkill.prototype, "skillName", 2);
4938
5212
  __decorateClass([
4939
- (0, import_typeorm42.Column)({
5213
+ (0, import_typeorm47.Column)({
4940
5214
  name: "skill_category",
4941
5215
  type: "smallint",
4942
5216
  default: 1,
@@ -4944,51 +5218,51 @@ __decorateClass([
4944
5218
  })
4945
5219
  ], FreelancerSkill.prototype, "skillCategory", 2);
4946
5220
  FreelancerSkill = __decorateClass([
4947
- (0, import_typeorm42.Entity)("freelancer_skills")
5221
+ (0, import_typeorm47.Entity)("freelancer_skills")
4948
5222
  ], FreelancerSkill);
4949
5223
 
4950
5224
  // src/entities/freelancer-tool.entity.ts
4951
- var import_typeorm43 = require("typeorm");
5225
+ var import_typeorm48 = require("typeorm");
4952
5226
  var FreelancerTool = class extends BaseEntity {
4953
5227
  };
4954
5228
  // individual index to find tool by user
4955
5229
  __decorateClass([
4956
- (0, import_typeorm43.Column)({ name: "user_id", type: "integer", nullable: true }),
4957
- (0, import_typeorm43.Index)()
5230
+ (0, import_typeorm48.Column)({ name: "user_id", type: "integer", nullable: true }),
5231
+ (0, import_typeorm48.Index)()
4958
5232
  ], FreelancerTool.prototype, "userId", 2);
4959
5233
  __decorateClass([
4960
- (0, import_typeorm43.ManyToOne)(() => User, (user) => user.freelancerTool),
4961
- (0, import_typeorm43.JoinColumn)({ name: "user_id" })
5234
+ (0, import_typeorm48.ManyToOne)(() => User, (user) => user.freelancerTool),
5235
+ (0, import_typeorm48.JoinColumn)({ name: "user_id" })
4962
5236
  ], FreelancerTool.prototype, "user", 2);
4963
5237
  __decorateClass([
4964
- (0, import_typeorm43.Column)({ name: "tool_name", type: "varchar", nullable: true })
5238
+ (0, import_typeorm48.Column)({ name: "tool_name", type: "varchar", nullable: true })
4965
5239
  ], FreelancerTool.prototype, "toolName", 2);
4966
5240
  FreelancerTool = __decorateClass([
4967
- (0, import_typeorm43.Entity)("freelancer_tools")
5241
+ (0, import_typeorm48.Entity)("freelancer_tools")
4968
5242
  ], FreelancerTool);
4969
5243
 
4970
5244
  // src/entities/freelancer-framework.entity.ts
4971
- var import_typeorm44 = require("typeorm");
5245
+ var import_typeorm49 = require("typeorm");
4972
5246
  var FreelancerFramework = class extends BaseEntity {
4973
5247
  };
4974
5248
  // individual index to find framework by user
4975
5249
  __decorateClass([
4976
- (0, import_typeorm44.Column)({ name: "user_id", type: "integer", nullable: true }),
4977
- (0, import_typeorm44.Index)()
5250
+ (0, import_typeorm49.Column)({ name: "user_id", type: "integer", nullable: true }),
5251
+ (0, import_typeorm49.Index)()
4978
5252
  ], FreelancerFramework.prototype, "userId", 2);
4979
5253
  __decorateClass([
4980
- (0, import_typeorm44.ManyToOne)(() => User, (user) => user.freelancerFramework),
4981
- (0, import_typeorm44.JoinColumn)({ name: "user_id" })
5254
+ (0, import_typeorm49.ManyToOne)(() => User, (user) => user.freelancerFramework),
5255
+ (0, import_typeorm49.JoinColumn)({ name: "user_id" })
4982
5256
  ], FreelancerFramework.prototype, "user", 2);
4983
5257
  __decorateClass([
4984
- (0, import_typeorm44.Column)({ name: "framework_name", type: "varchar", nullable: true })
5258
+ (0, import_typeorm49.Column)({ name: "framework_name", type: "varchar", nullable: true })
4985
5259
  ], FreelancerFramework.prototype, "frameworkName", 2);
4986
5260
  FreelancerFramework = __decorateClass([
4987
- (0, import_typeorm44.Entity)("freelancer_frameworks")
5261
+ (0, import_typeorm49.Entity)("freelancer_frameworks")
4988
5262
  ], FreelancerFramework);
4989
5263
 
4990
5264
  // src/entities/freelancer-assessment.entity.ts
4991
- var import_typeorm45 = require("typeorm");
5265
+ var import_typeorm50 = require("typeorm");
4992
5266
  var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
4993
5267
  AssessmentStatusEnum2["NOT_ATTEMPTED"] = "NOT_ATTEMPTED";
4994
5268
  AssessmentStatusEnum2["ACTIVE"] = "ACTIVE";
@@ -5005,33 +5279,33 @@ var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
5005
5279
  var FreelancerAssessment = class extends BaseEntity {
5006
5280
  };
5007
5281
  __decorateClass([
5008
- (0, import_typeorm45.Column)({ name: "user_id", type: "integer", nullable: true }),
5009
- (0, import_typeorm45.Index)()
5282
+ (0, import_typeorm50.Column)({ name: "user_id", type: "integer", nullable: true }),
5283
+ (0, import_typeorm50.Index)()
5010
5284
  ], FreelancerAssessment.prototype, "userId", 2);
5011
5285
  __decorateClass([
5012
- (0, import_typeorm45.ManyToOne)(() => User, (user) => user.assessments),
5013
- (0, import_typeorm45.JoinColumn)({ name: "user_id" })
5286
+ (0, import_typeorm50.ManyToOne)(() => User, (user) => user.assessments),
5287
+ (0, import_typeorm50.JoinColumn)({ name: "user_id" })
5014
5288
  ], FreelancerAssessment.prototype, "user", 2);
5015
5289
  __decorateClass([
5016
- (0, import_typeorm45.Column)({ name: "interview_id", type: "varchar", nullable: true })
5290
+ (0, import_typeorm50.Column)({ name: "interview_id", type: "varchar", nullable: true })
5017
5291
  ], FreelancerAssessment.prototype, "interviewId", 2);
5018
5292
  __decorateClass([
5019
- (0, import_typeorm45.Column)({ name: "interview_link", type: "text", nullable: true })
5293
+ (0, import_typeorm50.Column)({ name: "interview_link", type: "text", nullable: true })
5020
5294
  ], FreelancerAssessment.prototype, "interviewLink", 2);
5021
5295
  __decorateClass([
5022
- (0, import_typeorm45.Column)({ name: "recording_link", type: "text", nullable: true })
5296
+ (0, import_typeorm50.Column)({ name: "recording_link", type: "text", nullable: true })
5023
5297
  ], FreelancerAssessment.prototype, "recordingLink", 2);
5024
5298
  __decorateClass([
5025
- (0, import_typeorm45.Column)({ name: "iframe_response", type: "jsonb", nullable: true })
5299
+ (0, import_typeorm50.Column)({ name: "iframe_response", type: "jsonb", nullable: true })
5026
5300
  ], FreelancerAssessment.prototype, "iframeResponse", 2);
5027
5301
  __decorateClass([
5028
- (0, import_typeorm45.Column)({ name: "interview_summary", type: "jsonb", nullable: true })
5302
+ (0, import_typeorm50.Column)({ name: "interview_summary", type: "jsonb", nullable: true })
5029
5303
  ], FreelancerAssessment.prototype, "interviewSummary", 2);
5030
5304
  __decorateClass([
5031
- (0, import_typeorm45.Column)({ name: "score", type: "float", nullable: true })
5305
+ (0, import_typeorm50.Column)({ name: "score", type: "float", nullable: true })
5032
5306
  ], FreelancerAssessment.prototype, "score", 2);
5033
5307
  __decorateClass([
5034
- (0, import_typeorm45.Column)({
5308
+ (0, import_typeorm50.Column)({
5035
5309
  name: "status",
5036
5310
  type: "enum",
5037
5311
  enum: AssessmentStatusEnum,
@@ -5039,17 +5313,17 @@ __decorateClass([
5039
5313
  })
5040
5314
  ], FreelancerAssessment.prototype, "status", 2);
5041
5315
  __decorateClass([
5042
- (0, import_typeorm45.Column)({ name: "task_id", type: "varchar", nullable: true })
5316
+ (0, import_typeorm50.Column)({ name: "task_id", type: "varchar", nullable: true })
5043
5317
  ], FreelancerAssessment.prototype, "taskId", 2);
5044
5318
  __decorateClass([
5045
- (0, import_typeorm45.Column)({ name: "meta_data", type: "jsonb", nullable: true })
5319
+ (0, import_typeorm50.Column)({ name: "meta_data", type: "jsonb", nullable: true })
5046
5320
  ], FreelancerAssessment.prototype, "metaData", 2);
5047
5321
  FreelancerAssessment = __decorateClass([
5048
- (0, import_typeorm45.Entity)("freelancer_assessments")
5322
+ (0, import_typeorm50.Entity)("freelancer_assessments")
5049
5323
  ], FreelancerAssessment);
5050
5324
 
5051
5325
  // src/entities/freelancer-declaration.entity.ts
5052
- var import_typeorm46 = require("typeorm");
5326
+ var import_typeorm51 = require("typeorm");
5053
5327
  var DocumentType = /* @__PURE__ */ ((DocumentType2) => {
5054
5328
  DocumentType2["AADHAAR"] = "AADHAAR_CARD";
5055
5329
  DocumentType2["PASSPORT"] = "PASSPORT";
@@ -5061,15 +5335,15 @@ var FreelancerDeclaration = class extends BaseEntity {
5061
5335
  };
5062
5336
  // individual index to find declaration by user
5063
5337
  __decorateClass([
5064
- (0, import_typeorm46.Column)({ name: "user_id", type: "integer", nullable: true }),
5065
- (0, import_typeorm46.Index)()
5338
+ (0, import_typeorm51.Column)({ name: "user_id", type: "integer", nullable: true }),
5339
+ (0, import_typeorm51.Index)()
5066
5340
  ], FreelancerDeclaration.prototype, "userId", 2);
5067
5341
  __decorateClass([
5068
- (0, import_typeorm46.ManyToOne)(() => User, (user) => user.freelancerDeclaration),
5069
- (0, import_typeorm46.JoinColumn)({ name: "user_id" })
5342
+ (0, import_typeorm51.ManyToOne)(() => User, (user) => user.freelancerDeclaration),
5343
+ (0, import_typeorm51.JoinColumn)({ name: "user_id" })
5070
5344
  ], FreelancerDeclaration.prototype, "user", 2);
5071
5345
  __decorateClass([
5072
- (0, import_typeorm46.Column)({
5346
+ (0, import_typeorm51.Column)({
5073
5347
  name: "document_type",
5074
5348
  type: "enum",
5075
5349
  enum: DocumentType,
@@ -5077,147 +5351,147 @@ __decorateClass([
5077
5351
  })
5078
5352
  ], FreelancerDeclaration.prototype, "documentType", 2);
5079
5353
  __decorateClass([
5080
- (0, import_typeorm46.Column)({ name: "front_document_url", type: "varchar", nullable: true })
5354
+ (0, import_typeorm51.Column)({ name: "front_document_url", type: "varchar", nullable: true })
5081
5355
  ], FreelancerDeclaration.prototype, "frontDocumentUrl", 2);
5082
5356
  __decorateClass([
5083
- (0, import_typeorm46.Column)({ name: "back_document_url", type: "varchar", nullable: true })
5357
+ (0, import_typeorm51.Column)({ name: "back_document_url", type: "varchar", nullable: true })
5084
5358
  ], FreelancerDeclaration.prototype, "backDocumentUrl", 2);
5085
5359
  __decorateClass([
5086
- (0, import_typeorm46.Column)({ name: "declaration_accepted", type: "boolean", default: false })
5360
+ (0, import_typeorm51.Column)({ name: "declaration_accepted", type: "boolean", default: false })
5087
5361
  ], FreelancerDeclaration.prototype, "declarationAccepted", 2);
5088
5362
  __decorateClass([
5089
- (0, import_typeorm46.Column)({ name: "digital_signature_url", type: "varchar", nullable: true })
5363
+ (0, import_typeorm51.Column)({ name: "digital_signature_url", type: "varchar", nullable: true })
5090
5364
  ], FreelancerDeclaration.prototype, "digitalSignatureUrl", 2);
5091
5365
  FreelancerDeclaration = __decorateClass([
5092
- (0, import_typeorm46.Entity)("freelancer_declaration")
5366
+ (0, import_typeorm51.Entity)("freelancer_declaration")
5093
5367
  ], FreelancerDeclaration);
5094
5368
 
5095
5369
  // src/entities/company-members-roles.entity.ts
5096
- var import_typeorm50 = require("typeorm");
5370
+ var import_typeorm55 = require("typeorm");
5097
5371
 
5098
5372
  // src/entities/company-role.entity.ts
5099
- var import_typeorm49 = require("typeorm");
5373
+ var import_typeorm54 = require("typeorm");
5100
5374
 
5101
5375
  // src/entities/company-role-permission.entity.ts
5102
- var import_typeorm48 = require("typeorm");
5376
+ var import_typeorm53 = require("typeorm");
5103
5377
 
5104
5378
  // src/entities/permission.entity.ts
5105
- var import_typeorm47 = require("typeorm");
5379
+ var import_typeorm52 = require("typeorm");
5106
5380
  var Permission = class extends BaseEntity {
5107
5381
  };
5108
5382
  __decorateClass([
5109
- (0, import_typeorm47.Column)({ name: "name", type: "varchar", nullable: true })
5383
+ (0, import_typeorm52.Column)({ name: "name", type: "varchar", nullable: true })
5110
5384
  ], Permission.prototype, "name", 2);
5111
5385
  __decorateClass([
5112
- (0, import_typeorm47.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
5113
- (0, import_typeorm47.Index)()
5386
+ (0, import_typeorm52.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
5387
+ (0, import_typeorm52.Index)()
5114
5388
  ], Permission.prototype, "slug", 2);
5115
5389
  __decorateClass([
5116
- (0, import_typeorm47.Column)({ name: "description", type: "text", nullable: true })
5390
+ (0, import_typeorm52.Column)({ name: "description", type: "text", nullable: true })
5117
5391
  ], Permission.prototype, "description", 2);
5118
5392
  __decorateClass([
5119
- (0, import_typeorm47.Column)({ name: "module", type: "varchar", nullable: true })
5393
+ (0, import_typeorm52.Column)({ name: "module", type: "varchar", nullable: true })
5120
5394
  ], Permission.prototype, "module", 2);
5121
5395
  __decorateClass([
5122
- (0, import_typeorm47.Column)({ name: "is_active", type: "boolean", default: true })
5396
+ (0, import_typeorm52.Column)({ name: "is_active", type: "boolean", default: true })
5123
5397
  ], Permission.prototype, "isActive", 2);
5124
5398
  Permission = __decorateClass([
5125
- (0, import_typeorm47.Entity)("permissions")
5399
+ (0, import_typeorm52.Entity)("permissions")
5126
5400
  ], Permission);
5127
5401
 
5128
5402
  // src/entities/company-role-permission.entity.ts
5129
5403
  var CompanyRolePermission = class extends BaseEntity {
5130
5404
  };
5131
5405
  __decorateClass([
5132
- (0, import_typeorm48.Column)({ name: "company_role_id", type: "integer", nullable: true }),
5133
- (0, import_typeorm48.Index)()
5406
+ (0, import_typeorm53.Column)({ name: "company_role_id", type: "integer", nullable: true }),
5407
+ (0, import_typeorm53.Index)()
5134
5408
  ], CompanyRolePermission.prototype, "companyRoleId", 2);
5135
5409
  __decorateClass([
5136
- (0, import_typeorm48.ManyToOne)(() => CompanyRole, (role) => role.rolePermissions, {
5410
+ (0, import_typeorm53.ManyToOne)(() => CompanyRole, (role) => role.rolePermissions, {
5137
5411
  onDelete: "CASCADE"
5138
5412
  }),
5139
- (0, import_typeorm48.JoinColumn)({ name: "company_role_id" })
5413
+ (0, import_typeorm53.JoinColumn)({ name: "company_role_id" })
5140
5414
  ], CompanyRolePermission.prototype, "companyRole", 2);
5141
5415
  __decorateClass([
5142
- (0, import_typeorm48.Column)({ name: "permission_id", type: "integer" }),
5143
- (0, import_typeorm48.Index)()
5416
+ (0, import_typeorm53.Column)({ name: "permission_id", type: "integer" }),
5417
+ (0, import_typeorm53.Index)()
5144
5418
  ], CompanyRolePermission.prototype, "permissionId", 2);
5145
5419
  __decorateClass([
5146
- (0, import_typeorm48.ManyToOne)(() => Permission, { onDelete: "CASCADE" }),
5147
- (0, import_typeorm48.JoinColumn)({ name: "permission_id" })
5420
+ (0, import_typeorm53.ManyToOne)(() => Permission, { onDelete: "CASCADE" }),
5421
+ (0, import_typeorm53.JoinColumn)({ name: "permission_id" })
5148
5422
  ], CompanyRolePermission.prototype, "permission", 2);
5149
5423
  __decorateClass([
5150
- (0, import_typeorm48.Column)({ name: "assigned_by", type: "integer", nullable: true })
5424
+ (0, import_typeorm53.Column)({ name: "assigned_by", type: "integer", nullable: true })
5151
5425
  ], CompanyRolePermission.prototype, "assignedBy", 2);
5152
5426
  CompanyRolePermission = __decorateClass([
5153
- (0, import_typeorm48.Entity)("company_role_permissions")
5427
+ (0, import_typeorm53.Entity)("company_role_permissions")
5154
5428
  ], CompanyRolePermission);
5155
5429
 
5156
5430
  // src/entities/company-role.entity.ts
5157
5431
  var CompanyRole = class extends BaseEntity {
5158
5432
  };
5159
5433
  __decorateClass([
5160
- (0, import_typeorm49.Column)({ name: "user_id", type: "integer", nullable: true }),
5161
- (0, import_typeorm49.Index)()
5434
+ (0, import_typeorm54.Column)({ name: "user_id", type: "integer", nullable: true }),
5435
+ (0, import_typeorm54.Index)()
5162
5436
  ], CompanyRole.prototype, "userId", 2);
5163
5437
  __decorateClass([
5164
- (0, import_typeorm49.ManyToOne)(() => User, (user) => user.otps),
5165
- (0, import_typeorm49.JoinColumn)({ name: "user_id" })
5438
+ (0, import_typeorm54.ManyToOne)(() => User, (user) => user.otps),
5439
+ (0, import_typeorm54.JoinColumn)({ name: "user_id" })
5166
5440
  ], CompanyRole.prototype, "user", 2);
5167
5441
  __decorateClass([
5168
- (0, import_typeorm49.Column)({ name: "name", type: "varchar" })
5442
+ (0, import_typeorm54.Column)({ name: "name", type: "varchar" })
5169
5443
  ], CompanyRole.prototype, "name", 2);
5170
5444
  __decorateClass([
5171
- (0, import_typeorm49.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
5172
- (0, import_typeorm49.Index)()
5445
+ (0, import_typeorm54.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
5446
+ (0, import_typeorm54.Index)()
5173
5447
  ], CompanyRole.prototype, "slug", 2);
5174
5448
  __decorateClass([
5175
- (0, import_typeorm49.Column)({ name: "description", type: "text", nullable: true })
5449
+ (0, import_typeorm54.Column)({ name: "description", type: "text", nullable: true })
5176
5450
  ], CompanyRole.prototype, "description", 2);
5177
5451
  __decorateClass([
5178
- (0, import_typeorm49.Column)({ name: "is_active", type: "boolean", default: true })
5452
+ (0, import_typeorm54.Column)({ name: "is_active", type: "boolean", default: true })
5179
5453
  ], CompanyRole.prototype, "isActive", 2);
5180
5454
  __decorateClass([
5181
- (0, import_typeorm49.OneToMany)(() => CompanyRolePermission, (rp) => rp.companyRole)
5455
+ (0, import_typeorm54.OneToMany)(() => CompanyRolePermission, (rp) => rp.companyRole)
5182
5456
  ], CompanyRole.prototype, "rolePermissions", 2);
5183
5457
  CompanyRole = __decorateClass([
5184
- (0, import_typeorm49.Entity)("company_roles")
5458
+ (0, import_typeorm54.Entity)("company_roles")
5185
5459
  ], CompanyRole);
5186
5460
 
5187
5461
  // src/entities/company-members-roles.entity.ts
5188
5462
  var CompanyMemberRole = class extends BaseEntity {
5189
5463
  };
5190
5464
  __decorateClass([
5191
- (0, import_typeorm50.Column)({ name: "user_id", type: "integer", nullable: true }),
5192
- (0, import_typeorm50.Index)()
5465
+ (0, import_typeorm55.Column)({ name: "user_id", type: "integer", nullable: true }),
5466
+ (0, import_typeorm55.Index)()
5193
5467
  ], CompanyMemberRole.prototype, "userId", 2);
5194
5468
  __decorateClass([
5195
- (0, import_typeorm50.ManyToOne)(() => User),
5196
- (0, import_typeorm50.JoinColumn)({ name: "user_id" })
5469
+ (0, import_typeorm55.ManyToOne)(() => User),
5470
+ (0, import_typeorm55.JoinColumn)({ name: "user_id" })
5197
5471
  ], CompanyMemberRole.prototype, "user", 2);
5198
5472
  __decorateClass([
5199
- (0, import_typeorm50.ManyToOne)(() => CompanyRole),
5200
- (0, import_typeorm50.JoinColumn)({ name: "company_role_id" })
5473
+ (0, import_typeorm55.ManyToOne)(() => CompanyRole),
5474
+ (0, import_typeorm55.JoinColumn)({ name: "company_role_id" })
5201
5475
  ], CompanyMemberRole.prototype, "role", 2);
5202
5476
  __decorateClass([
5203
- (0, import_typeorm50.Column)({ name: "company_role_id", type: "integer", nullable: true }),
5204
- (0, import_typeorm50.Index)()
5477
+ (0, import_typeorm55.Column)({ name: "company_role_id", type: "integer", nullable: true }),
5478
+ (0, import_typeorm55.Index)()
5205
5479
  ], CompanyMemberRole.prototype, "companyRoleId", 2);
5206
5480
  __decorateClass([
5207
- (0, import_typeorm50.Column)({ name: "assigned_by", type: "integer", nullable: true })
5481
+ (0, import_typeorm55.Column)({ name: "assigned_by", type: "integer", nullable: true })
5208
5482
  ], CompanyMemberRole.prototype, "assignedBy", 2);
5209
5483
  CompanyMemberRole = __decorateClass([
5210
- (0, import_typeorm50.Entity)("company_member_roles")
5484
+ (0, import_typeorm55.Entity)("company_member_roles")
5211
5485
  ], CompanyMemberRole);
5212
5486
 
5213
5487
  // src/entities/assessment-answer.entity.ts
5214
- var import_typeorm53 = require("typeorm");
5488
+ var import_typeorm58 = require("typeorm");
5215
5489
 
5216
5490
  // src/entities/assessment-question.entity.ts
5217
- var import_typeorm52 = require("typeorm");
5491
+ var import_typeorm57 = require("typeorm");
5218
5492
 
5219
5493
  // src/entities/assessment-question-option.entity.ts
5220
- var import_typeorm51 = require("typeorm");
5494
+ var import_typeorm56 = require("typeorm");
5221
5495
  var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
5222
5496
  AnswerTypeEnum2["CORRECT"] = "CORRECT";
5223
5497
  AnswerTypeEnum2["ACCEPTABLE"] = "ACCEPTABLE";
@@ -5227,21 +5501,21 @@ var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
5227
5501
  var AssessmetQuestionOption = class extends BaseEntity {
5228
5502
  };
5229
5503
  __decorateClass([
5230
- (0, import_typeorm51.Column)({ name: "question_id", type: "integer", nullable: true }),
5231
- (0, import_typeorm51.Index)()
5504
+ (0, import_typeorm56.Column)({ name: "question_id", type: "integer", nullable: true }),
5505
+ (0, import_typeorm56.Index)()
5232
5506
  ], AssessmetQuestionOption.prototype, "questionId", 2);
5233
5507
  __decorateClass([
5234
- (0, import_typeorm51.ManyToOne)(
5508
+ (0, import_typeorm56.ManyToOne)(
5235
5509
  () => AssessmetQuestion,
5236
5510
  (assessmentQuestion) => assessmentQuestion.options
5237
5511
  ),
5238
- (0, import_typeorm51.JoinColumn)({ name: "question_id" })
5512
+ (0, import_typeorm56.JoinColumn)({ name: "question_id" })
5239
5513
  ], AssessmetQuestionOption.prototype, "question", 2);
5240
5514
  __decorateClass([
5241
- (0, import_typeorm51.Column)({ name: "text", type: "varchar", nullable: true })
5515
+ (0, import_typeorm56.Column)({ name: "text", type: "varchar", nullable: true })
5242
5516
  ], AssessmetQuestionOption.prototype, "text", 2);
5243
5517
  __decorateClass([
5244
- (0, import_typeorm51.Column)({
5518
+ (0, import_typeorm56.Column)({
5245
5519
  name: "answer_type",
5246
5520
  type: "enum",
5247
5521
  enum: AnswerTypeEnum,
@@ -5249,13 +5523,13 @@ __decorateClass([
5249
5523
  })
5250
5524
  ], AssessmetQuestionOption.prototype, "answerType", 2);
5251
5525
  __decorateClass([
5252
- (0, import_typeorm51.Column)({ name: "is_active", type: "boolean", default: true })
5526
+ (0, import_typeorm56.Column)({ name: "is_active", type: "boolean", default: true })
5253
5527
  ], AssessmetQuestionOption.prototype, "isActive", 2);
5254
5528
  __decorateClass([
5255
- (0, import_typeorm51.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
5529
+ (0, import_typeorm56.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
5256
5530
  ], AssessmetQuestionOption.prototype, "selectedOptions", 2);
5257
5531
  AssessmetQuestionOption = __decorateClass([
5258
- (0, import_typeorm51.Entity)("assessment_question_options")
5532
+ (0, import_typeorm56.Entity)("assessment_question_options")
5259
5533
  ], AssessmetQuestionOption);
5260
5534
 
5261
5535
  // src/entities/assessment-question.entity.ts
@@ -5267,10 +5541,10 @@ var QuestionForEnum = /* @__PURE__ */ ((QuestionForEnum2) => {
5267
5541
  var AssessmetQuestion = class extends BaseEntity {
5268
5542
  };
5269
5543
  __decorateClass([
5270
- (0, import_typeorm52.Column)({ name: "text", type: "varchar", nullable: true })
5544
+ (0, import_typeorm57.Column)({ name: "text", type: "varchar", nullable: true })
5271
5545
  ], AssessmetQuestion.prototype, "text", 2);
5272
5546
  __decorateClass([
5273
- (0, import_typeorm52.Column)({
5547
+ (0, import_typeorm57.Column)({
5274
5548
  name: "question_for",
5275
5549
  type: "enum",
5276
5550
  enum: QuestionForEnum,
@@ -5278,24 +5552,24 @@ __decorateClass([
5278
5552
  })
5279
5553
  ], AssessmetQuestion.prototype, "questionFor", 2);
5280
5554
  __decorateClass([
5281
- (0, import_typeorm52.Column)({ name: "is_active", type: "boolean", default: true })
5555
+ (0, import_typeorm57.Column)({ name: "is_active", type: "boolean", default: true })
5282
5556
  ], AssessmetQuestion.prototype, "isActive", 2);
5283
5557
  __decorateClass([
5284
- (0, import_typeorm52.Column)({ name: "candidate_id", type: "integer", nullable: true }),
5285
- (0, import_typeorm52.Index)()
5558
+ (0, import_typeorm57.Column)({ name: "candidate_id", type: "integer", nullable: true }),
5559
+ (0, import_typeorm57.Index)()
5286
5560
  ], AssessmetQuestion.prototype, "candidateId", 2);
5287
5561
  __decorateClass([
5288
- (0, import_typeorm52.ManyToOne)(() => User, (user) => user.freelancerMcq, { nullable: true }),
5289
- (0, import_typeorm52.JoinColumn)({ name: "candidate_id" })
5562
+ (0, import_typeorm57.ManyToOne)(() => User, (user) => user.freelancerMcq, { nullable: true }),
5563
+ (0, import_typeorm57.JoinColumn)({ name: "candidate_id" })
5290
5564
  ], AssessmetQuestion.prototype, "candidate", 2);
5291
5565
  __decorateClass([
5292
- (0, import_typeorm52.OneToMany)(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
5566
+ (0, import_typeorm57.OneToMany)(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
5293
5567
  ], AssessmetQuestion.prototype, "options", 2);
5294
5568
  __decorateClass([
5295
- (0, import_typeorm52.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
5569
+ (0, import_typeorm57.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
5296
5570
  ], AssessmetQuestion.prototype, "answers", 2);
5297
5571
  AssessmetQuestion = __decorateClass([
5298
- (0, import_typeorm52.Entity)("assessment_questions")
5572
+ (0, import_typeorm57.Entity)("assessment_questions")
5299
5573
  ], AssessmetQuestion);
5300
5574
 
5301
5575
  // src/entities/assessment-answer.entity.ts
@@ -5308,118 +5582,118 @@ var SelectedAnswerTypeEnum = /* @__PURE__ */ ((SelectedAnswerTypeEnum2) => {
5308
5582
  var AssessmentAnswer = class extends BaseEntity {
5309
5583
  };
5310
5584
  __decorateClass([
5311
- (0, import_typeorm53.Column)({ name: "user_id", type: "integer" }),
5312
- (0, import_typeorm53.Index)()
5585
+ (0, import_typeorm58.Column)({ name: "user_id", type: "integer" }),
5586
+ (0, import_typeorm58.Index)()
5313
5587
  ], AssessmentAnswer.prototype, "userId", 2);
5314
5588
  __decorateClass([
5315
- (0, import_typeorm53.ManyToOne)(() => User, (user) => user.assessmentAnswers),
5316
- (0, import_typeorm53.JoinColumn)({ name: "user_id" })
5589
+ (0, import_typeorm58.ManyToOne)(() => User, (user) => user.assessmentAnswers),
5590
+ (0, import_typeorm58.JoinColumn)({ name: "user_id" })
5317
5591
  ], AssessmentAnswer.prototype, "user", 2);
5318
5592
  __decorateClass([
5319
- (0, import_typeorm53.Column)({ name: "question_id", type: "integer" }),
5320
- (0, import_typeorm53.Index)()
5593
+ (0, import_typeorm58.Column)({ name: "question_id", type: "integer" }),
5594
+ (0, import_typeorm58.Index)()
5321
5595
  ], AssessmentAnswer.prototype, "questionId", 2);
5322
5596
  __decorateClass([
5323
- (0, import_typeorm53.ManyToOne)(
5597
+ (0, import_typeorm58.ManyToOne)(
5324
5598
  () => AssessmetQuestion,
5325
5599
  (assessmentQuestion) => assessmentQuestion.answers
5326
5600
  ),
5327
- (0, import_typeorm53.JoinColumn)({ name: "question_id" })
5601
+ (0, import_typeorm58.JoinColumn)({ name: "question_id" })
5328
5602
  ], AssessmentAnswer.prototype, "question", 2);
5329
5603
  __decorateClass([
5330
- (0, import_typeorm53.Column)({ name: "selected_option_id", type: "integer" }),
5331
- (0, import_typeorm53.Index)()
5604
+ (0, import_typeorm58.Column)({ name: "selected_option_id", type: "integer" }),
5605
+ (0, import_typeorm58.Index)()
5332
5606
  ], AssessmentAnswer.prototype, "selectedOptionId", 2);
5333
5607
  __decorateClass([
5334
- (0, import_typeorm53.ManyToOne)(
5608
+ (0, import_typeorm58.ManyToOne)(
5335
5609
  () => AssessmetQuestionOption,
5336
5610
  (assessmentQuestionOption) => assessmentQuestionOption.selectedOptions
5337
5611
  ),
5338
- (0, import_typeorm53.JoinColumn)({ name: "selected_option_id" })
5612
+ (0, import_typeorm58.JoinColumn)({ name: "selected_option_id" })
5339
5613
  ], AssessmentAnswer.prototype, "option", 2);
5340
5614
  __decorateClass([
5341
- (0, import_typeorm53.Column)({
5615
+ (0, import_typeorm58.Column)({
5342
5616
  name: "selected_answer_type",
5343
5617
  type: "enum",
5344
5618
  enum: SelectedAnswerTypeEnum
5345
5619
  })
5346
5620
  ], AssessmentAnswer.prototype, "selectedAnswerType", 2);
5347
5621
  __decorateClass([
5348
- (0, import_typeorm53.Column)({ name: "score", type: "float" })
5622
+ (0, import_typeorm58.Column)({ name: "score", type: "float" })
5349
5623
  ], AssessmentAnswer.prototype, "score", 2);
5350
5624
  AssessmentAnswer = __decorateClass([
5351
- (0, import_typeorm53.Entity)("assessment_answers")
5625
+ (0, import_typeorm58.Entity)("assessment_answers")
5352
5626
  ], AssessmentAnswer);
5353
5627
 
5354
5628
  // src/entities/company-skill.entity.ts
5355
- var import_typeorm54 = require("typeorm");
5629
+ var import_typeorm59 = require("typeorm");
5356
5630
  var CompanySkill = class extends BaseEntity {
5357
5631
  };
5358
5632
  // individual index to find core skills by user
5359
5633
  __decorateClass([
5360
- (0, import_typeorm54.Column)({ name: "user_id", type: "integer", nullable: true }),
5361
- (0, import_typeorm54.Index)()
5634
+ (0, import_typeorm59.Column)({ name: "user_id", type: "integer", nullable: true }),
5635
+ (0, import_typeorm59.Index)()
5362
5636
  ], CompanySkill.prototype, "userId", 2);
5363
5637
  __decorateClass([
5364
- (0, import_typeorm54.ManyToOne)(() => User, (user) => user.companySkills),
5365
- (0, import_typeorm54.JoinColumn)({ name: "user_id" })
5638
+ (0, import_typeorm59.ManyToOne)(() => User, (user) => user.companySkills),
5639
+ (0, import_typeorm59.JoinColumn)({ name: "user_id" })
5366
5640
  ], CompanySkill.prototype, "user", 2);
5367
5641
  __decorateClass([
5368
- (0, import_typeorm54.Column)({ name: "skill_name", type: "varchar", nullable: true })
5642
+ (0, import_typeorm59.Column)({ name: "skill_name", type: "varchar", nullable: true })
5369
5643
  ], CompanySkill.prototype, "skillName", 2);
5370
5644
  CompanySkill = __decorateClass([
5371
- (0, import_typeorm54.Entity)("company_skills")
5645
+ (0, import_typeorm59.Entity)("company_skills")
5372
5646
  ], CompanySkill);
5373
5647
 
5374
5648
  // src/entities/admin-user-role.entity.ts
5375
- var import_typeorm58 = require("typeorm");
5649
+ var import_typeorm63 = require("typeorm");
5376
5650
 
5377
5651
  // src/entities/admin-role.entity.ts
5378
- var import_typeorm57 = require("typeorm");
5652
+ var import_typeorm62 = require("typeorm");
5379
5653
 
5380
5654
  // src/entities/admin-role-permission.entity.ts
5381
- var import_typeorm56 = require("typeorm");
5655
+ var import_typeorm61 = require("typeorm");
5382
5656
 
5383
5657
  // src/entities/admin-permission.entity.ts
5384
- var import_typeorm55 = require("typeorm");
5658
+ var import_typeorm60 = require("typeorm");
5385
5659
  var AdminPermission = class extends BaseEntity {
5386
5660
  };
5387
5661
  __decorateClass([
5388
- (0, import_typeorm55.Column)({ name: "permission_name", type: "varchar", nullable: true })
5662
+ (0, import_typeorm60.Column)({ name: "permission_name", type: "varchar", nullable: true })
5389
5663
  ], AdminPermission.prototype, "permissionName", 2);
5390
5664
  __decorateClass([
5391
- (0, import_typeorm55.Column)({
5665
+ (0, import_typeorm60.Column)({
5392
5666
  name: "permission_slug",
5393
5667
  type: "varchar",
5394
5668
  unique: true,
5395
5669
  nullable: true
5396
5670
  }),
5397
- (0, import_typeorm55.Index)()
5671
+ (0, import_typeorm60.Index)()
5398
5672
  ], AdminPermission.prototype, "permissionSlug", 2);
5399
5673
  __decorateClass([
5400
- (0, import_typeorm55.Column)({ name: "permission_description", type: "varchar", nullable: true })
5674
+ (0, import_typeorm60.Column)({ name: "permission_description", type: "varchar", nullable: true })
5401
5675
  ], AdminPermission.prototype, "permissionDescription", 2);
5402
5676
  __decorateClass([
5403
- (0, import_typeorm55.Column)({ name: "module", type: "varchar", nullable: true })
5677
+ (0, import_typeorm60.Column)({ name: "module", type: "varchar", nullable: true })
5404
5678
  ], AdminPermission.prototype, "module", 2);
5405
5679
  __decorateClass([
5406
- (0, import_typeorm55.Column)({ name: "is_active", type: "boolean", default: true })
5680
+ (0, import_typeorm60.Column)({ name: "is_active", type: "boolean", default: true })
5407
5681
  ], AdminPermission.prototype, "isActive", 2);
5408
5682
  __decorateClass([
5409
- (0, import_typeorm55.OneToMany)(
5683
+ (0, import_typeorm60.OneToMany)(
5410
5684
  () => AdminRolePermission,
5411
5685
  (adminRolePermission) => adminRolePermission.adminPermissions
5412
5686
  )
5413
5687
  ], AdminPermission.prototype, "adminRole", 2);
5414
5688
  AdminPermission = __decorateClass([
5415
- (0, import_typeorm55.Entity)("admin_permissions")
5689
+ (0, import_typeorm60.Entity)("admin_permissions")
5416
5690
  ], AdminPermission);
5417
5691
 
5418
5692
  // src/entities/admin-role-permission.entity.ts
5419
5693
  var AdminRolePermission = class extends BaseEntity {
5420
5694
  };
5421
5695
  __decorateClass([
5422
- (0, import_typeorm56.Column)({
5696
+ (0, import_typeorm61.Column)({
5423
5697
  name: "role_id",
5424
5698
  type: "int",
5425
5699
  nullable: true,
@@ -5427,11 +5701,11 @@ __decorateClass([
5427
5701
  })
5428
5702
  ], AdminRolePermission.prototype, "roleId", 2);
5429
5703
  __decorateClass([
5430
- (0, import_typeorm56.ManyToOne)(() => AdminRole),
5431
- (0, import_typeorm56.JoinColumn)({ name: "role_id" })
5704
+ (0, import_typeorm61.ManyToOne)(() => AdminRole),
5705
+ (0, import_typeorm61.JoinColumn)({ name: "role_id" })
5432
5706
  ], AdminRolePermission.prototype, "adminRole", 2);
5433
5707
  __decorateClass([
5434
- (0, import_typeorm56.Column)({
5708
+ (0, import_typeorm61.Column)({
5435
5709
  name: "permission_id",
5436
5710
  type: "int",
5437
5711
  nullable: true,
@@ -5439,47 +5713,47 @@ __decorateClass([
5439
5713
  })
5440
5714
  ], AdminRolePermission.prototype, "permissionId", 2);
5441
5715
  __decorateClass([
5442
- (0, import_typeorm56.ManyToOne)(() => AdminPermission),
5443
- (0, import_typeorm56.JoinColumn)({ name: "permission_id" })
5716
+ (0, import_typeorm61.ManyToOne)(() => AdminPermission),
5717
+ (0, import_typeorm61.JoinColumn)({ name: "permission_id" })
5444
5718
  ], AdminRolePermission.prototype, "adminPermissions", 2);
5445
5719
  AdminRolePermission = __decorateClass([
5446
- (0, import_typeorm56.Entity)("admin_role_permissions")
5720
+ (0, import_typeorm61.Entity)("admin_role_permissions")
5447
5721
  ], AdminRolePermission);
5448
5722
 
5449
5723
  // src/entities/admin-role.entity.ts
5450
5724
  var AdminRole = class extends BaseEntity {
5451
5725
  };
5452
5726
  __decorateClass([
5453
- (0, import_typeorm57.Column)({ name: "role_name", type: "varchar", nullable: true })
5727
+ (0, import_typeorm62.Column)({ name: "role_name", type: "varchar", nullable: true })
5454
5728
  ], AdminRole.prototype, "roleName", 2);
5455
5729
  __decorateClass([
5456
- (0, import_typeorm57.Column)({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
5457
- (0, import_typeorm57.Index)()
5730
+ (0, import_typeorm62.Column)({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
5731
+ (0, import_typeorm62.Index)()
5458
5732
  ], AdminRole.prototype, "roleSlug", 2);
5459
5733
  __decorateClass([
5460
- (0, import_typeorm57.Column)({ name: "role_description", type: "varchar", nullable: true })
5734
+ (0, import_typeorm62.Column)({ name: "role_description", type: "varchar", nullable: true })
5461
5735
  ], AdminRole.prototype, "roleDescription", 2);
5462
5736
  __decorateClass([
5463
- (0, import_typeorm57.Column)({ name: "is_active", type: "boolean", default: true })
5737
+ (0, import_typeorm62.Column)({ name: "is_active", type: "boolean", default: true })
5464
5738
  ], AdminRole.prototype, "isActive", 2);
5465
5739
  __decorateClass([
5466
- (0, import_typeorm57.OneToMany)(
5740
+ (0, import_typeorm62.OneToMany)(
5467
5741
  () => AdminRolePermission,
5468
5742
  (addminRolePermission) => addminRolePermission.adminRole
5469
5743
  )
5470
5744
  ], AdminRole.prototype, "adminRolePermission", 2);
5471
5745
  __decorateClass([
5472
- (0, import_typeorm57.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
5746
+ (0, import_typeorm62.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
5473
5747
  ], AdminRole.prototype, "userRoles", 2);
5474
5748
  AdminRole = __decorateClass([
5475
- (0, import_typeorm57.Entity)("admin_roles")
5749
+ (0, import_typeorm62.Entity)("admin_roles")
5476
5750
  ], AdminRole);
5477
5751
 
5478
5752
  // src/entities/admin-user-role.entity.ts
5479
5753
  var AdminUserRole = class extends BaseEntity {
5480
5754
  };
5481
5755
  __decorateClass([
5482
- (0, import_typeorm58.Column)({
5756
+ (0, import_typeorm63.Column)({
5483
5757
  name: "user_id",
5484
5758
  type: "int",
5485
5759
  nullable: true,
@@ -5487,11 +5761,11 @@ __decorateClass([
5487
5761
  })
5488
5762
  ], AdminUserRole.prototype, "userId", 2);
5489
5763
  __decorateClass([
5490
- (0, import_typeorm58.ManyToOne)(() => User),
5491
- (0, import_typeorm58.JoinColumn)({ name: "user_id" })
5764
+ (0, import_typeorm63.ManyToOne)(() => User),
5765
+ (0, import_typeorm63.JoinColumn)({ name: "user_id" })
5492
5766
  ], AdminUserRole.prototype, "user", 2);
5493
5767
  __decorateClass([
5494
- (0, import_typeorm58.Column)({
5768
+ (0, import_typeorm63.Column)({
5495
5769
  name: "role_id",
5496
5770
  type: "int",
5497
5771
  nullable: true,
@@ -5499,58 +5773,58 @@ __decorateClass([
5499
5773
  })
5500
5774
  ], AdminUserRole.prototype, "roleId", 2);
5501
5775
  __decorateClass([
5502
- (0, import_typeorm58.ManyToOne)(() => AdminRole),
5503
- (0, import_typeorm58.JoinColumn)({ name: "role_id" })
5776
+ (0, import_typeorm63.ManyToOne)(() => AdminRole),
5777
+ (0, import_typeorm63.JoinColumn)({ name: "role_id" })
5504
5778
  ], AdminUserRole.prototype, "adminRole", 2);
5505
5779
  AdminUserRole = __decorateClass([
5506
- (0, import_typeorm58.Entity)("admin_user_roles")
5780
+ (0, import_typeorm63.Entity)("admin_user_roles")
5507
5781
  ], AdminUserRole);
5508
5782
 
5509
5783
  // src/entities/freelancer-resume.entity.ts
5510
- var import_typeorm59 = require("typeorm");
5784
+ var import_typeorm64 = require("typeorm");
5511
5785
  var FreelancerResume = class extends BaseEntity {
5512
5786
  };
5513
5787
  // individual index to find profile by user
5514
5788
  __decorateClass([
5515
- (0, import_typeorm59.Column)({ name: "user_id", type: "integer", nullable: true }),
5516
- (0, import_typeorm59.Index)()
5789
+ (0, import_typeorm64.Column)({ name: "user_id", type: "integer", nullable: true }),
5790
+ (0, import_typeorm64.Index)()
5517
5791
  ], FreelancerResume.prototype, "userId", 2);
5518
5792
  __decorateClass([
5519
- (0, import_typeorm59.ManyToOne)(() => User, (user) => user.freelancerProfile),
5520
- (0, import_typeorm59.JoinColumn)({ name: "user_id" })
5793
+ (0, import_typeorm64.ManyToOne)(() => User, (user) => user.freelancerProfile),
5794
+ (0, import_typeorm64.JoinColumn)({ name: "user_id" })
5521
5795
  ], FreelancerResume.prototype, "user", 2);
5522
5796
  __decorateClass([
5523
- (0, import_typeorm59.Column)({ name: "resume_data", type: "jsonb", nullable: true })
5797
+ (0, import_typeorm64.Column)({ name: "resume_data", type: "jsonb", nullable: true })
5524
5798
  ], FreelancerResume.prototype, "resumeData", 2);
5525
5799
  __decorateClass([
5526
- (0, import_typeorm59.Column)({ name: "processed_resume_data", type: "jsonb", nullable: true })
5800
+ (0, import_typeorm64.Column)({ name: "processed_resume_data", type: "jsonb", nullable: true })
5527
5801
  ], FreelancerResume.prototype, "processedResumeData", 2);
5528
5802
  FreelancerResume = __decorateClass([
5529
- (0, import_typeorm59.Entity)("freelancer_resumes")
5803
+ (0, import_typeorm64.Entity)("freelancer_resumes")
5530
5804
  ], FreelancerResume);
5531
5805
 
5532
5806
  // src/entities/signature.entity.ts
5533
- var import_typeorm60 = require("typeorm");
5807
+ var import_typeorm65 = require("typeorm");
5534
5808
  var Signature = class extends BaseEntity {
5535
5809
  };
5536
5810
  // individual index to find profile by user
5537
5811
  __decorateClass([
5538
- (0, import_typeorm60.Column)({ name: "user_id", type: "integer", nullable: true }),
5539
- (0, import_typeorm60.Index)()
5812
+ (0, import_typeorm65.Column)({ name: "user_id", type: "integer", nullable: true }),
5813
+ (0, import_typeorm65.Index)()
5540
5814
  ], Signature.prototype, "userId", 2);
5541
5815
  __decorateClass([
5542
- (0, import_typeorm60.ManyToOne)(() => User, (user) => user.signatures),
5543
- (0, import_typeorm60.JoinColumn)({ name: "user_id" })
5816
+ (0, import_typeorm65.ManyToOne)(() => User, (user) => user.signatures),
5817
+ (0, import_typeorm65.JoinColumn)({ name: "user_id" })
5544
5818
  ], Signature.prototype, "user", 2);
5545
5819
  __decorateClass([
5546
- (0, import_typeorm60.Column)({ name: "signature_url", type: "text", nullable: true })
5820
+ (0, import_typeorm65.Column)({ name: "signature_url", type: "text", nullable: true })
5547
5821
  ], Signature.prototype, "signatureUrl", 2);
5548
5822
  Signature = __decorateClass([
5549
- (0, import_typeorm60.Entity)("signatures")
5823
+ (0, import_typeorm65.Entity)("signatures")
5550
5824
  ], Signature);
5551
5825
 
5552
5826
  // src/entities/dispute.entity.ts
5553
- var import_typeorm61 = require("typeorm");
5827
+ var import_typeorm66 = require("typeorm");
5554
5828
  var DisputeStatusEnum = /* @__PURE__ */ ((DisputeStatusEnum2) => {
5555
5829
  DisputeStatusEnum2["OPEN"] = "OPEN";
5556
5830
  DisputeStatusEnum2["IN_REVIEW"] = "IN_REVIEW";
@@ -5571,36 +5845,36 @@ var InitiatorTypeEnum = /* @__PURE__ */ ((InitiatorTypeEnum2) => {
5571
5845
  var Dispute = class extends BaseEntity {
5572
5846
  };
5573
5847
  __decorateClass([
5574
- (0, import_typeorm61.Column)({ name: "client_id", type: "integer", nullable: true }),
5575
- (0, import_typeorm61.Index)()
5848
+ (0, import_typeorm66.Column)({ name: "client_id", type: "integer", nullable: true }),
5849
+ (0, import_typeorm66.Index)()
5576
5850
  ], Dispute.prototype, "clientId", 2);
5577
5851
  __decorateClass([
5578
- (0, import_typeorm61.ManyToOne)(() => User, (user) => user.clientDisputes),
5579
- (0, import_typeorm61.JoinColumn)({ name: "client_id" })
5852
+ (0, import_typeorm66.ManyToOne)(() => User, (user) => user.clientDisputes),
5853
+ (0, import_typeorm66.JoinColumn)({ name: "client_id" })
5580
5854
  ], Dispute.prototype, "client", 2);
5581
5855
  __decorateClass([
5582
- (0, import_typeorm61.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
5583
- (0, import_typeorm61.Index)()
5856
+ (0, import_typeorm66.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
5857
+ (0, import_typeorm66.Index)()
5584
5858
  ], Dispute.prototype, "freelancerId", 2);
5585
5859
  __decorateClass([
5586
- (0, import_typeorm61.ManyToOne)(() => User, (user) => user.freelancerDisputes),
5587
- (0, import_typeorm61.JoinColumn)({ name: "freelancer_id" })
5860
+ (0, import_typeorm66.ManyToOne)(() => User, (user) => user.freelancerDisputes),
5861
+ (0, import_typeorm66.JoinColumn)({ name: "freelancer_id" })
5588
5862
  ], Dispute.prototype, "freelancer", 2);
5589
5863
  __decorateClass([
5590
- (0, import_typeorm61.Column)({ name: "dispute_unique_id", type: "varchar", unique: true })
5864
+ (0, import_typeorm66.Column)({ name: "dispute_unique_id", type: "varchar", unique: true })
5591
5865
  ], Dispute.prototype, "disputeUniqueId", 2);
5592
5866
  __decorateClass([
5593
- (0, import_typeorm61.Column)({ name: "dispute_type", type: "varchar", nullable: true }),
5594
- (0, import_typeorm61.Index)()
5867
+ (0, import_typeorm66.Column)({ name: "dispute_type", type: "varchar", nullable: true }),
5868
+ (0, import_typeorm66.Index)()
5595
5869
  ], Dispute.prototype, "disputeType", 2);
5596
5870
  __decorateClass([
5597
- (0, import_typeorm61.Column)({ name: "description", type: "varchar", nullable: true })
5871
+ (0, import_typeorm66.Column)({ name: "description", type: "varchar", nullable: true })
5598
5872
  ], Dispute.prototype, "description", 2);
5599
5873
  __decorateClass([
5600
- (0, import_typeorm61.Column)({ name: "comment", type: "varchar", nullable: true })
5874
+ (0, import_typeorm66.Column)({ name: "comment", type: "varchar", nullable: true })
5601
5875
  ], Dispute.prototype, "comment", 2);
5602
5876
  __decorateClass([
5603
- (0, import_typeorm61.Column)({
5877
+ (0, import_typeorm66.Column)({
5604
5878
  name: "status",
5605
5879
  type: "enum",
5606
5880
  enum: DisputeStatusEnum,
@@ -5608,7 +5882,7 @@ __decorateClass([
5608
5882
  })
5609
5883
  ], Dispute.prototype, "status", 2);
5610
5884
  __decorateClass([
5611
- (0, import_typeorm61.Column)({
5885
+ (0, import_typeorm66.Column)({
5612
5886
  name: "initiator_type",
5613
5887
  type: "enum",
5614
5888
  enum: InitiatorTypeEnum,
@@ -5617,33 +5891,33 @@ __decorateClass([
5617
5891
  })
5618
5892
  ], Dispute.prototype, "initiatorType", 2);
5619
5893
  __decorateClass([
5620
- (0, import_typeorm61.Column)({ name: "initiator_id", type: "integer" }),
5621
- (0, import_typeorm61.Index)()
5894
+ (0, import_typeorm66.Column)({ name: "initiator_id", type: "integer" }),
5895
+ (0, import_typeorm66.Index)()
5622
5896
  ], Dispute.prototype, "initiatorId", 2);
5623
5897
  __decorateClass([
5624
- (0, import_typeorm61.ManyToOne)(() => User, (user) => user.initiatedDisputes),
5625
- (0, import_typeorm61.JoinColumn)({ name: "initiator_id" })
5898
+ (0, import_typeorm66.ManyToOne)(() => User, (user) => user.initiatedDisputes),
5899
+ (0, import_typeorm66.JoinColumn)({ name: "initiator_id" })
5626
5900
  ], Dispute.prototype, "initiator", 2);
5627
5901
  __decorateClass([
5628
- (0, import_typeorm61.Column)({ name: "respondent_id", type: "integer", nullable: true }),
5629
- (0, import_typeorm61.Index)()
5902
+ (0, import_typeorm66.Column)({ name: "respondent_id", type: "integer", nullable: true }),
5903
+ (0, import_typeorm66.Index)()
5630
5904
  ], Dispute.prototype, "respondentId", 2);
5631
5905
  __decorateClass([
5632
- (0, import_typeorm61.ManyToOne)(() => User, (user) => user.respondentDisputes, { nullable: true }),
5633
- (0, import_typeorm61.JoinColumn)({ name: "respondent_id" })
5906
+ (0, import_typeorm66.ManyToOne)(() => User, (user) => user.respondentDisputes, { nullable: true }),
5907
+ (0, import_typeorm66.JoinColumn)({ name: "respondent_id" })
5634
5908
  ], Dispute.prototype, "respondent", 2);
5635
5909
  __decorateClass([
5636
- (0, import_typeorm61.Column)({ name: "attachments", type: "jsonb", nullable: true })
5910
+ (0, import_typeorm66.Column)({ name: "attachments", type: "jsonb", nullable: true })
5637
5911
  ], Dispute.prototype, "attachments", 2);
5638
5912
  __decorateClass([
5639
- (0, import_typeorm61.Column)({ name: "dynamic_fields", type: "jsonb", nullable: true })
5913
+ (0, import_typeorm66.Column)({ name: "dynamic_fields", type: "jsonb", nullable: true })
5640
5914
  ], Dispute.prototype, "dynamicFields", 2);
5641
5915
  Dispute = __decorateClass([
5642
- (0, import_typeorm61.Entity)("disputes")
5916
+ (0, import_typeorm66.Entity)("disputes")
5643
5917
  ], Dispute);
5644
5918
 
5645
5919
  // src/entities/stripe-transaction.entity.ts
5646
- var import_typeorm62 = require("typeorm");
5920
+ var import_typeorm67 = require("typeorm");
5647
5921
  var StripeTransactionTypeEnum = /* @__PURE__ */ ((StripeTransactionTypeEnum2) => {
5648
5922
  StripeTransactionTypeEnum2["ADD_FUNDS"] = "ADD_FUNDS";
5649
5923
  StripeTransactionTypeEnum2["TRANSFER"] = "TRANSFER";
@@ -5665,97 +5939,97 @@ var StripeTransaction = class extends BaseEntity {
5665
5939
  // Full Stripe session response
5666
5940
  };
5667
5941
  __decorateClass([
5668
- (0, import_typeorm62.Column)({ name: "user_id", type: "integer", nullable: true }),
5669
- (0, import_typeorm62.Index)()
5942
+ (0, import_typeorm67.Column)({ name: "user_id", type: "integer", nullable: true }),
5943
+ (0, import_typeorm67.Index)()
5670
5944
  ], StripeTransaction.prototype, "userId", 2);
5671
5945
  __decorateClass([
5672
- (0, import_typeorm62.ManyToOne)(() => User, (user) => user.stripeTransactions),
5673
- (0, import_typeorm62.JoinColumn)({ name: "user_id" })
5946
+ (0, import_typeorm67.ManyToOne)(() => User, (user) => user.stripeTransactions),
5947
+ (0, import_typeorm67.JoinColumn)({ name: "user_id" })
5674
5948
  ], StripeTransaction.prototype, "user", 2);
5675
5949
  __decorateClass([
5676
- (0, import_typeorm62.Column)({ name: "stripe_session_id", type: "varchar", nullable: true })
5950
+ (0, import_typeorm67.Column)({ name: "stripe_session_id", type: "varchar", nullable: true })
5677
5951
  ], StripeTransaction.prototype, "stripeSessionId", 2);
5678
5952
  __decorateClass([
5679
- (0, import_typeorm62.Column)({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
5953
+ (0, import_typeorm67.Column)({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
5680
5954
  ], StripeTransaction.prototype, "stripePaymentIntentId", 2);
5681
5955
  __decorateClass([
5682
- (0, import_typeorm62.Column)({ name: "stripe_charge_id", type: "varchar", nullable: true })
5956
+ (0, import_typeorm67.Column)({ name: "stripe_charge_id", type: "varchar", nullable: true })
5683
5957
  ], StripeTransaction.prototype, "stripeChargeId", 2);
5684
5958
  __decorateClass([
5685
- (0, import_typeorm62.Column)({ name: "stripe_receipt_url", type: "varchar", nullable: true })
5959
+ (0, import_typeorm67.Column)({ name: "stripe_receipt_url", type: "varchar", nullable: true })
5686
5960
  ], StripeTransaction.prototype, "stripeReceiptUrl", 2);
5687
5961
  __decorateClass([
5688
- (0, import_typeorm62.Column)({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
5962
+ (0, import_typeorm67.Column)({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
5689
5963
  ], StripeTransaction.prototype, "stripeBalanceTransactionId", 2);
5690
5964
  __decorateClass([
5691
- (0, import_typeorm62.Column)({ name: "stripe_payment_method", type: "varchar", nullable: true })
5965
+ (0, import_typeorm67.Column)({ name: "stripe_payment_method", type: "varchar", nullable: true })
5692
5966
  ], StripeTransaction.prototype, "stripePaymentMethod", 2);
5693
5967
  __decorateClass([
5694
- (0, import_typeorm62.Column)({ name: "stripe_payment_status", type: "varchar", nullable: true })
5968
+ (0, import_typeorm67.Column)({ name: "stripe_payment_status", type: "varchar", nullable: true })
5695
5969
  ], StripeTransaction.prototype, "stripePaymentStatus", 2);
5696
5970
  __decorateClass([
5697
- (0, import_typeorm62.Column)({ name: "type", type: "enum", enum: StripeTransactionTypeEnum })
5971
+ (0, import_typeorm67.Column)({ name: "type", type: "enum", enum: StripeTransactionTypeEnum })
5698
5972
  ], StripeTransaction.prototype, "type", 2);
5699
5973
  __decorateClass([
5700
- (0, import_typeorm62.Column)({ name: "currency", type: "varchar", nullable: true })
5974
+ (0, import_typeorm67.Column)({ name: "currency", type: "varchar", nullable: true })
5701
5975
  ], StripeTransaction.prototype, "currency", 2);
5702
5976
  __decorateClass([
5703
- (0, import_typeorm62.Column)({ name: "desired_deposit_cents", type: "bigint", nullable: true, comment: "Amount user wants in their wallet. Example: 10000 cents = $100.00. This is what gets credited to wallet" })
5977
+ (0, import_typeorm67.Column)({ name: "desired_deposit_cents", type: "bigint", nullable: true, comment: "Amount user wants in their wallet. Example: 10000 cents = $100.00. This is what gets credited to wallet" })
5704
5978
  ], StripeTransaction.prototype, "desiredDepositCents", 2);
5705
5979
  __decorateClass([
5706
- (0, import_typeorm62.Column)({ name: "platform_fee_cents", type: "bigint", default: 0, comment: "Your platform commission Example: 500 cents = $5.00 (5% of $100)" })
5980
+ (0, import_typeorm67.Column)({ name: "platform_fee_cents", type: "bigint", default: 0, comment: "Your platform commission Example: 500 cents = $5.00 (5% of $100)" })
5707
5981
  ], StripeTransaction.prototype, "platformFeeCents", 2);
5708
5982
  __decorateClass([
5709
- (0, import_typeorm62.Column)({ name: "tax_cents", type: "bigint", nullable: true, comment: "Sales tax collected by Stripe" })
5983
+ (0, import_typeorm67.Column)({ name: "tax_cents", type: "bigint", nullable: true, comment: "Sales tax collected by Stripe" })
5710
5984
  ], StripeTransaction.prototype, "taxCents", 2);
5711
5985
  __decorateClass([
5712
- (0, import_typeorm62.Column)({ name: "estimated_stripe_fee_cents", type: "bigint", nullable: true, comment: "Your calculated estimate of Stripe fee, Example: 371 cents = $3.71" })
5986
+ (0, import_typeorm67.Column)({ name: "estimated_stripe_fee_cents", type: "bigint", nullable: true, comment: "Your calculated estimate of Stripe fee, Example: 371 cents = $3.71" })
5713
5987
  ], StripeTransaction.prototype, "estimatedStripeFee", 2);
5714
5988
  __decorateClass([
5715
- (0, import_typeorm62.Column)({ name: "estimated_total_cents", type: "bigint", nullable: true, comment: "Your calculated total to charge, Example: 11386 cents = $113.86, desired_deposit_cents + platform_fee_cents + estimated_stripe_fee" })
5989
+ (0, import_typeorm67.Column)({ name: "estimated_total_cents", type: "bigint", nullable: true, comment: "Your calculated total to charge, Example: 11386 cents = $113.86, desired_deposit_cents + platform_fee_cents + estimated_stripe_fee" })
5716
5990
  ], StripeTransaction.prototype, "estimatedTotalCents", 2);
5717
5991
  __decorateClass([
5718
- (0, import_typeorm62.Column)({ name: "actual_stripe_fee_cents", type: "bigint", nullable: true, comment: "ACTUAL Stripe fee charged, Example: 371 cents = $3.71" })
5992
+ (0, import_typeorm67.Column)({ name: "actual_stripe_fee_cents", type: "bigint", nullable: true, comment: "ACTUAL Stripe fee charged, Example: 371 cents = $3.71" })
5719
5993
  ], StripeTransaction.prototype, "actualStripeFee", 2);
5720
5994
  __decorateClass([
5721
- (0, import_typeorm62.Column)({ name: "actual_total_paid_cents", type: "bigint", nullable: true, comment: "What customer ACTUALLY paid, Example: 11757 cents = $117.57, May differ from estimate" })
5995
+ (0, import_typeorm67.Column)({ name: "actual_total_paid_cents", type: "bigint", nullable: true, comment: "What customer ACTUALLY paid, Example: 11757 cents = $117.57, May differ from estimate" })
5722
5996
  ], StripeTransaction.prototype, "actualTotalPaidCents", 2);
5723
5997
  __decorateClass([
5724
- (0, import_typeorm62.Column)({ name: "net_received_cents", type: "bigint", nullable: true, comment: "What YOU receive after Stripe fee Example: 11386 cents = $113.86. This is your actual revenue + user deposit" })
5998
+ (0, import_typeorm67.Column)({ name: "net_received_cents", type: "bigint", nullable: true, comment: "What YOU receive after Stripe fee Example: 11386 cents = $113.86. This is your actual revenue + user deposit" })
5725
5999
  ], StripeTransaction.prototype, "netReceivedCents", 2);
5726
6000
  __decorateClass([
5727
- (0, import_typeorm62.Column)({ name: "description", type: "text", nullable: true })
6001
+ (0, import_typeorm67.Column)({ name: "description", type: "text", nullable: true })
5728
6002
  ], StripeTransaction.prototype, "description", 2);
5729
6003
  __decorateClass([
5730
- (0, import_typeorm62.Column)({ name: "status", type: "enum", enum: StripeTransactionStatusEnum, default: "PENDING" /* PENDING */ })
6004
+ (0, import_typeorm67.Column)({ name: "status", type: "enum", enum: StripeTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5731
6005
  ], StripeTransaction.prototype, "status", 2);
5732
6006
  __decorateClass([
5733
- (0, import_typeorm62.Column)({ name: "checkout_session_completed_at", type: "timestamptz", nullable: true })
6007
+ (0, import_typeorm67.Column)({ name: "checkout_session_completed_at", type: "timestamptz", nullable: true })
5734
6008
  ], StripeTransaction.prototype, "checkoutSessionCompletedAt", 2);
5735
6009
  __decorateClass([
5736
- (0, import_typeorm62.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
6010
+ (0, import_typeorm67.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
5737
6011
  ], StripeTransaction.prototype, "completedAt", 2);
5738
6012
  __decorateClass([
5739
- (0, import_typeorm62.Column)({ name: "billing_details", type: "jsonb", nullable: true })
6013
+ (0, import_typeorm67.Column)({ name: "billing_details", type: "jsonb", nullable: true })
5740
6014
  ], StripeTransaction.prototype, "billingDetails", 2);
5741
6015
  __decorateClass([
5742
- (0, import_typeorm62.Column)({ name: "payment_method_details", type: "jsonb", nullable: true })
6016
+ (0, import_typeorm67.Column)({ name: "payment_method_details", type: "jsonb", nullable: true })
5743
6017
  ], StripeTransaction.prototype, "paymentMethodDetails", 2);
5744
6018
  __decorateClass([
5745
- (0, import_typeorm62.Column)({ name: "raw_session_payload", type: "jsonb", nullable: true })
6019
+ (0, import_typeorm67.Column)({ name: "raw_session_payload", type: "jsonb", nullable: true })
5746
6020
  ], StripeTransaction.prototype, "rawSessionPayload", 2);
5747
6021
  __decorateClass([
5748
- (0, import_typeorm62.Column)({ name: "raw_session_response", type: "jsonb", nullable: true })
6022
+ (0, import_typeorm67.Column)({ name: "raw_session_response", type: "jsonb", nullable: true })
5749
6023
  ], StripeTransaction.prototype, "rawSessionResponse", 2);
5750
6024
  StripeTransaction = __decorateClass([
5751
- (0, import_typeorm62.Entity)("stripe_transactions")
6025
+ (0, import_typeorm67.Entity)("stripe_transactions")
5752
6026
  ], StripeTransaction);
5753
6027
 
5754
6028
  // src/entities/wallet.entity.ts
5755
- var import_typeorm64 = require("typeorm");
6029
+ var import_typeorm69 = require("typeorm");
5756
6030
 
5757
6031
  // src/entities/wallet-transaction.entity.ts
5758
- var import_typeorm63 = require("typeorm");
6032
+ var import_typeorm68 = require("typeorm");
5759
6033
  var WalletTransactionTypeEnum = /* @__PURE__ */ ((WalletTransactionTypeEnum2) => {
5760
6034
  WalletTransactionTypeEnum2["CR"] = "CR";
5761
6035
  WalletTransactionTypeEnum2["DR"] = "DR";
@@ -5772,46 +6046,46 @@ var WalletTransactionStatusEnum = /* @__PURE__ */ ((WalletTransactionStatusEnum2
5772
6046
  var WalletTransaction = class extends BaseEntity {
5773
6047
  };
5774
6048
  __decorateClass([
5775
- (0, import_typeorm63.Column)({ name: "wallet_id", type: "integer", nullable: true }),
5776
- (0, import_typeorm63.Index)()
6049
+ (0, import_typeorm68.Column)({ name: "wallet_id", type: "integer", nullable: true }),
6050
+ (0, import_typeorm68.Index)()
5777
6051
  ], WalletTransaction.prototype, "walletId", 2);
5778
6052
  __decorateClass([
5779
- (0, import_typeorm63.ManyToOne)(() => Wallet, (wallet) => wallet.walletTransactions),
5780
- (0, import_typeorm63.JoinColumn)({ name: "wallet_id" })
6053
+ (0, import_typeorm68.ManyToOne)(() => Wallet, (wallet) => wallet.walletTransactions),
6054
+ (0, import_typeorm68.JoinColumn)({ name: "wallet_id" })
5781
6055
  ], WalletTransaction.prototype, "wallet", 2);
5782
6056
  __decorateClass([
5783
- (0, import_typeorm63.Column)({ name: "amount", type: "bigint", nullable: true })
6057
+ (0, import_typeorm68.Column)({ name: "amount", type: "bigint", nullable: true })
5784
6058
  ], WalletTransaction.prototype, "amount", 2);
5785
6059
  __decorateClass([
5786
- (0, import_typeorm63.Column)({ name: "balance_before", type: "bigint", nullable: true })
6060
+ (0, import_typeorm68.Column)({ name: "balance_before", type: "bigint", nullable: true })
5787
6061
  ], WalletTransaction.prototype, "balanceBefore", 2);
5788
6062
  __decorateClass([
5789
- (0, import_typeorm63.Column)({ name: "balance_after", type: "bigint", nullable: true })
6063
+ (0, import_typeorm68.Column)({ name: "balance_after", type: "bigint", nullable: true })
5790
6064
  ], WalletTransaction.prototype, "balanceAfter", 2);
5791
6065
  __decorateClass([
5792
- (0, import_typeorm63.Column)({ name: "type", type: "enum", enum: WalletTransactionTypeEnum })
6066
+ (0, import_typeorm68.Column)({ name: "type", type: "enum", enum: WalletTransactionTypeEnum })
5793
6067
  ], WalletTransaction.prototype, "type", 2);
5794
6068
  __decorateClass([
5795
- (0, import_typeorm63.Column)({ name: "status", type: "enum", enum: WalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
6069
+ (0, import_typeorm68.Column)({ name: "status", type: "enum", enum: WalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5796
6070
  ], WalletTransaction.prototype, "status", 2);
5797
6071
  __decorateClass([
5798
- (0, import_typeorm63.Column)({ name: "description", type: "text", nullable: true })
6072
+ (0, import_typeorm68.Column)({ name: "description", type: "text", nullable: true })
5799
6073
  ], WalletTransaction.prototype, "description", 2);
5800
6074
  __decorateClass([
5801
- (0, import_typeorm63.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
6075
+ (0, import_typeorm68.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
5802
6076
  ], WalletTransaction.prototype, "completedAt", 2);
5803
6077
  __decorateClass([
5804
- (0, import_typeorm63.Column)({ name: "transaction_for", type: "varchar", nullable: true })
6078
+ (0, import_typeorm68.Column)({ name: "transaction_for", type: "varchar", nullable: true })
5805
6079
  ], WalletTransaction.prototype, "transactionFor", 2);
5806
6080
  __decorateClass([
5807
- (0, import_typeorm63.Column)({ name: "meta_data", type: "varchar", nullable: true })
6081
+ (0, import_typeorm68.Column)({ name: "meta_data", type: "varchar", nullable: true })
5808
6082
  ], WalletTransaction.prototype, "metaData", 2);
5809
6083
  __decorateClass([
5810
- (0, import_typeorm63.Column)({ name: "stripe_transaction_id", type: "integer", nullable: true }),
5811
- (0, import_typeorm63.Index)()
6084
+ (0, import_typeorm68.Column)({ name: "stripe_transaction_id", type: "integer", nullable: true }),
6085
+ (0, import_typeorm68.Index)()
5812
6086
  ], WalletTransaction.prototype, "stripeTransactionId", 2);
5813
6087
  WalletTransaction = __decorateClass([
5814
- (0, import_typeorm63.Entity)("wallet_transactions")
6088
+ (0, import_typeorm68.Entity)("wallet_transactions")
5815
6089
  ], WalletTransaction);
5816
6090
 
5817
6091
  // src/entities/wallet.entity.ts
@@ -5829,43 +6103,43 @@ var WalletOnboardingStatusEnum = /* @__PURE__ */ ((WalletOnboardingStatusEnum2)
5829
6103
  var Wallet = class extends BaseEntity {
5830
6104
  };
5831
6105
  __decorateClass([
5832
- (0, import_typeorm64.Column)({ name: "user_id", type: "integer", nullable: true }),
5833
- (0, import_typeorm64.Index)()
6106
+ (0, import_typeorm69.Column)({ name: "user_id", type: "integer", nullable: true }),
6107
+ (0, import_typeorm69.Index)()
5834
6108
  ], Wallet.prototype, "userId", 2);
5835
6109
  __decorateClass([
5836
- (0, import_typeorm64.OneToOne)(() => User, (user) => user.wallet),
5837
- (0, import_typeorm64.JoinColumn)({ name: "user_id" })
6110
+ (0, import_typeorm69.OneToOne)(() => User, (user) => user.wallet),
6111
+ (0, import_typeorm69.JoinColumn)({ name: "user_id" })
5838
6112
  ], Wallet.prototype, "user", 2);
5839
6113
  __decorateClass([
5840
- (0, import_typeorm64.Column)({ name: "account_type", type: "enum", enum: WalletAccountTypeEnum, nullable: true })
6114
+ (0, import_typeorm69.Column)({ name: "account_type", type: "enum", enum: WalletAccountTypeEnum, nullable: true })
5841
6115
  ], Wallet.prototype, "accountType", 2);
5842
6116
  __decorateClass([
5843
- (0, import_typeorm64.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
6117
+ (0, import_typeorm69.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
5844
6118
  ], Wallet.prototype, "stripeAccountId", 2);
5845
6119
  __decorateClass([
5846
- (0, import_typeorm64.Column)({ name: "stripe_customer_id", type: "varchar", nullable: true })
6120
+ (0, import_typeorm69.Column)({ name: "stripe_customer_id", type: "varchar", nullable: true })
5847
6121
  ], Wallet.prototype, "stripeCustomerId", 2);
5848
6122
  __decorateClass([
5849
- (0, import_typeorm64.Column)({ name: "wallet_balance", type: "varchar", default: "0", comment: "This column is just used to show balance, It will not be used in any computation" })
6123
+ (0, import_typeorm69.Column)({ name: "wallet_balance", type: "varchar", default: "0", comment: "This column is just used to show balance, It will not be used in any computation" })
5850
6124
  ], Wallet.prototype, "walletBalance", 2);
5851
6125
  __decorateClass([
5852
- (0, import_typeorm64.Column)({ name: "wallet_balance_cents", type: "bigint", default: 0, comment: "This column is used to store wallet balance in cents Example: 371 cents = $3.71, All computation will be handled by this column" })
6126
+ (0, import_typeorm69.Column)({ name: "wallet_balance_cents", type: "bigint", default: 0, comment: "This column is used to store wallet balance in cents Example: 371 cents = $3.71, All computation will be handled by this column" })
5853
6127
  ], Wallet.prototype, "walletBalanceCents", 2);
5854
6128
  __decorateClass([
5855
- (0, import_typeorm64.Column)({ name: "onboarding_status", type: "enum", enum: WalletOnboardingStatusEnum, nullable: true })
6129
+ (0, import_typeorm69.Column)({ name: "onboarding_status", type: "enum", enum: WalletOnboardingStatusEnum, nullable: true })
5856
6130
  ], Wallet.prototype, "onboardingStatus", 2);
5857
6131
  __decorateClass([
5858
- (0, import_typeorm64.Column)({ name: "stripe_metadata", type: "jsonb", nullable: true })
6132
+ (0, import_typeorm69.Column)({ name: "stripe_metadata", type: "jsonb", nullable: true })
5859
6133
  ], Wallet.prototype, "stripeMetadata", 2);
5860
6134
  __decorateClass([
5861
- (0, import_typeorm64.OneToMany)(() => WalletTransaction, (walletTransaction) => walletTransaction.wallet)
6135
+ (0, import_typeorm69.OneToMany)(() => WalletTransaction, (walletTransaction) => walletTransaction.wallet)
5862
6136
  ], Wallet.prototype, "walletTransactions", 2);
5863
6137
  Wallet = __decorateClass([
5864
- (0, import_typeorm64.Entity)("wallets")
6138
+ (0, import_typeorm69.Entity)("wallets")
5865
6139
  ], Wallet);
5866
6140
 
5867
6141
  // src/entities/freelancer-assessment-request.entity.ts
5868
- var import_typeorm65 = require("typeorm");
6142
+ var import_typeorm70 = require("typeorm");
5869
6143
  var AssessmentRequestStatusEnum = /* @__PURE__ */ ((AssessmentRequestStatusEnum2) => {
5870
6144
  AssessmentRequestStatusEnum2["PENDING"] = "PENDING";
5871
6145
  AssessmentRequestStatusEnum2["APPROVED"] = "APPROVED";
@@ -5875,23 +6149,23 @@ var AssessmentRequestStatusEnum = /* @__PURE__ */ ((AssessmentRequestStatusEnum2
5875
6149
  var FreelancerAssessmentRequest = class extends BaseEntity {
5876
6150
  };
5877
6151
  __decorateClass([
5878
- (0, import_typeorm65.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
5879
- (0, import_typeorm65.Index)()
6152
+ (0, import_typeorm70.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
6153
+ (0, import_typeorm70.Index)()
5880
6154
  ], FreelancerAssessmentRequest.prototype, "freelancerId", 2);
5881
6155
  __decorateClass([
5882
- (0, import_typeorm65.ManyToOne)(() => User, (user) => user.freelancerAssessmentRequests),
5883
- (0, import_typeorm65.JoinColumn)({ name: "freelancer_id" })
6156
+ (0, import_typeorm70.ManyToOne)(() => User, (user) => user.freelancerAssessmentRequests),
6157
+ (0, import_typeorm70.JoinColumn)({ name: "freelancer_id" })
5884
6158
  ], FreelancerAssessmentRequest.prototype, "freelancer", 2);
5885
6159
  __decorateClass([
5886
- (0, import_typeorm65.Column)({ name: "approved_by_id", type: "integer", nullable: true }),
5887
- (0, import_typeorm65.Index)()
6160
+ (0, import_typeorm70.Column)({ name: "approved_by_id", type: "integer", nullable: true }),
6161
+ (0, import_typeorm70.Index)()
5888
6162
  ], FreelancerAssessmentRequest.prototype, "approvedById", 2);
5889
6163
  __decorateClass([
5890
- (0, import_typeorm65.ManyToOne)(() => User, (user) => user.assessmentRequests),
5891
- (0, import_typeorm65.JoinColumn)({ name: "approved_by_id" })
6164
+ (0, import_typeorm70.ManyToOne)(() => User, (user) => user.assessmentRequests),
6165
+ (0, import_typeorm70.JoinColumn)({ name: "approved_by_id" })
5892
6166
  ], FreelancerAssessmentRequest.prototype, "approvedBy", 2);
5893
6167
  __decorateClass([
5894
- (0, import_typeorm65.Column)({
6168
+ (0, import_typeorm70.Column)({
5895
6169
  name: "status",
5896
6170
  type: "enum",
5897
6171
  enum: AssessmentRequestStatusEnum,
@@ -5899,44 +6173,44 @@ __decorateClass([
5899
6173
  })
5900
6174
  ], FreelancerAssessmentRequest.prototype, "status", 2);
5901
6175
  __decorateClass([
5902
- (0, import_typeorm65.Column)({ name: "assessment_link", type: "text", nullable: true })
6176
+ (0, import_typeorm70.Column)({ name: "assessment_link", type: "text", nullable: true })
5903
6177
  ], FreelancerAssessmentRequest.prototype, "assessmentLink", 2);
5904
6178
  FreelancerAssessmentRequest = __decorateClass([
5905
- (0, import_typeorm65.Entity)({ name: "freelancer_assessment_requests" })
6179
+ (0, import_typeorm70.Entity)({ name: "freelancer_assessment_requests" })
5906
6180
  ], FreelancerAssessmentRequest);
5907
6181
 
5908
6182
  // src/entities/in-app-notification.entity.ts
5909
- var import_typeorm66 = require("typeorm");
6183
+ var import_typeorm71 = require("typeorm");
5910
6184
  var InAppNotification = class extends BaseEntity {
5911
6185
  };
5912
6186
  __decorateClass([
5913
- (0, import_typeorm66.Column)({ name: "user_id", type: "integer", nullable: true }),
5914
- (0, import_typeorm66.Index)()
6187
+ (0, import_typeorm71.Column)({ name: "user_id", type: "integer", nullable: true }),
6188
+ (0, import_typeorm71.Index)()
5915
6189
  ], InAppNotification.prototype, "userId", 2);
5916
6190
  __decorateClass([
5917
- (0, import_typeorm66.ManyToOne)(() => User, (user) => user.inAppNotifications),
5918
- (0, import_typeorm66.JoinColumn)({ name: "user_id" })
6191
+ (0, import_typeorm71.ManyToOne)(() => User, (user) => user.inAppNotifications),
6192
+ (0, import_typeorm71.JoinColumn)({ name: "user_id" })
5919
6193
  ], InAppNotification.prototype, "user", 2);
5920
6194
  __decorateClass([
5921
- (0, import_typeorm66.Column)({ name: "event", type: "varchar", nullable: true })
6195
+ (0, import_typeorm71.Column)({ name: "event", type: "varchar", nullable: true })
5922
6196
  ], InAppNotification.prototype, "event", 2);
5923
6197
  __decorateClass([
5924
- (0, import_typeorm66.Column)({ name: "title", type: "varchar", nullable: true })
6198
+ (0, import_typeorm71.Column)({ name: "title", type: "varchar", nullable: true })
5925
6199
  ], InAppNotification.prototype, "title", 2);
5926
6200
  __decorateClass([
5927
- (0, import_typeorm66.Column)({ name: "message", type: "varchar", nullable: true })
6201
+ (0, import_typeorm71.Column)({ name: "message", type: "varchar", nullable: true })
5928
6202
  ], InAppNotification.prototype, "message", 2);
5929
6203
  __decorateClass([
5930
- (0, import_typeorm66.Column)({ name: "redirect_url", type: "varchar", nullable: true })
6204
+ (0, import_typeorm71.Column)({ name: "redirect_url", type: "varchar", nullable: true })
5931
6205
  ], InAppNotification.prototype, "redirectUrl", 2);
5932
6206
  __decorateClass([
5933
- (0, import_typeorm66.Column)({ name: "is_read", type: "boolean", default: false })
6207
+ (0, import_typeorm71.Column)({ name: "is_read", type: "boolean", default: false })
5934
6208
  ], InAppNotification.prototype, "isRead", 2);
5935
6209
  __decorateClass([
5936
- (0, import_typeorm66.Column)({ name: "meta_data", type: "jsonb", nullable: true })
6210
+ (0, import_typeorm71.Column)({ name: "meta_data", type: "jsonb", nullable: true })
5937
6211
  ], InAppNotification.prototype, "metaData", 2);
5938
6212
  InAppNotification = __decorateClass([
5939
- (0, import_typeorm66.Entity)("in_app_notifications")
6213
+ (0, import_typeorm71.Entity)("in_app_notifications")
5940
6214
  ], InAppNotification);
5941
6215
 
5942
6216
  // src/entities/user.entity.ts
@@ -5965,51 +6239,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
5965
6239
  var User = class extends BaseEntity {
5966
6240
  };
5967
6241
  __decorateClass([
5968
- (0, import_typeorm67.Column)({ name: "unique_id", type: "varchar", unique: true })
6242
+ (0, import_typeorm72.Column)({ name: "unique_id", type: "varchar", unique: true })
5969
6243
  ], User.prototype, "uniqueId", 2);
5970
6244
  __decorateClass([
5971
- (0, import_typeorm67.Column)({ name: "parent_id", type: "integer", nullable: true }),
5972
- (0, import_typeorm67.Index)()
6245
+ (0, import_typeorm72.Column)({ name: "parent_id", type: "integer", nullable: true }),
6246
+ (0, import_typeorm72.Index)()
5973
6247
  ], User.prototype, "parentId", 2);
5974
6248
  __decorateClass([
5975
- (0, import_typeorm67.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
5976
- (0, import_typeorm67.JoinColumn)({ name: "parent_id" })
6249
+ (0, import_typeorm72.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
6250
+ (0, import_typeorm72.JoinColumn)({ name: "parent_id" })
5977
6251
  ], User.prototype, "parent", 2);
5978
6252
  __decorateClass([
5979
- (0, import_typeorm67.OneToMany)(() => User, (user) => user.parent)
6253
+ (0, import_typeorm72.OneToMany)(() => User, (user) => user.parent)
5980
6254
  ], User.prototype, "children", 2);
5981
6255
  __decorateClass([
5982
- (0, import_typeorm67.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
6256
+ (0, import_typeorm72.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
5983
6257
  ], User.prototype, "username", 2);
5984
6258
  __decorateClass([
5985
- (0, import_typeorm67.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
6259
+ (0, import_typeorm72.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
5986
6260
  ], User.prototype, "firstName", 2);
5987
6261
  __decorateClass([
5988
- (0, import_typeorm67.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
6262
+ (0, import_typeorm72.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
5989
6263
  ], User.prototype, "lastName", 2);
5990
6264
  __decorateClass([
5991
- (0, import_typeorm67.Column)({ name: "date_of_birth", type: "date", nullable: true })
6265
+ (0, import_typeorm72.Column)({ name: "date_of_birth", type: "date", nullable: true })
5992
6266
  ], User.prototype, "dateOfBirth", 2);
5993
6267
  __decorateClass([
5994
- (0, import_typeorm67.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
6268
+ (0, import_typeorm72.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
5995
6269
  ], User.prototype, "gender", 2);
5996
6270
  __decorateClass([
5997
- (0, import_typeorm67.Column)({ name: "profile_picture_url", type: "text", nullable: true })
6271
+ (0, import_typeorm72.Column)({ name: "profile_picture_url", type: "text", nullable: true })
5998
6272
  ], User.prototype, "profilePictureUrl", 2);
5999
6273
  __decorateClass([
6000
- (0, import_typeorm67.Column)({ name: "email", type: "varchar", unique: true })
6274
+ (0, import_typeorm72.Column)({ name: "email", type: "varchar", unique: true })
6001
6275
  ], User.prototype, "email", 2);
6002
6276
  __decorateClass([
6003
- (0, import_typeorm67.Column)({ name: "mobile_code", type: "varchar", nullable: true })
6277
+ (0, import_typeorm72.Column)({ name: "mobile_code", type: "varchar", nullable: true })
6004
6278
  ], User.prototype, "mobileCode", 2);
6005
6279
  __decorateClass([
6006
- (0, import_typeorm67.Column)({ name: "mobile", type: "varchar", nullable: true })
6280
+ (0, import_typeorm72.Column)({ name: "mobile", type: "varchar", nullable: true })
6007
6281
  ], User.prototype, "mobile", 2);
6008
6282
  __decorateClass([
6009
- (0, import_typeorm67.Column)({ name: "password", type: "varchar", nullable: true })
6283
+ (0, import_typeorm72.Column)({ name: "password", type: "varchar", nullable: true })
6010
6284
  ], User.prototype, "password", 2);
6011
6285
  __decorateClass([
6012
- (0, import_typeorm67.Column)({
6286
+ (0, import_typeorm72.Column)({
6013
6287
  name: "account_type",
6014
6288
  type: "enum",
6015
6289
  enum: AccountType2,
@@ -6017,7 +6291,7 @@ __decorateClass([
6017
6291
  })
6018
6292
  ], User.prototype, "accountType", 2);
6019
6293
  __decorateClass([
6020
- (0, import_typeorm67.Column)({
6294
+ (0, import_typeorm72.Column)({
6021
6295
  name: "account_status",
6022
6296
  type: "enum",
6023
6297
  enum: AccountStatus,
@@ -6025,45 +6299,45 @@ __decorateClass([
6025
6299
  })
6026
6300
  ], User.prototype, "accountStatus", 2);
6027
6301
  __decorateClass([
6028
- (0, import_typeorm67.Column)({ name: "is_email_verified", type: "boolean", default: false })
6302
+ (0, import_typeorm72.Column)({ name: "is_email_verified", type: "boolean", default: false })
6029
6303
  ], User.prototype, "isEmailVerified", 2);
6030
6304
  __decorateClass([
6031
- (0, import_typeorm67.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
6305
+ (0, import_typeorm72.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
6032
6306
  ], User.prototype, "isMobileVerified", 2);
6033
6307
  __decorateClass([
6034
- (0, import_typeorm67.Column)({ name: "is_social", type: "boolean", default: false })
6308
+ (0, import_typeorm72.Column)({ name: "is_social", type: "boolean", default: false })
6035
6309
  ], User.prototype, "isSocial", 2);
6036
6310
  __decorateClass([
6037
- (0, import_typeorm67.Column)({ name: "is_referral_user", type: "boolean", default: false })
6311
+ (0, import_typeorm72.Column)({ name: "is_referral_user", type: "boolean", default: false })
6038
6312
  ], User.prototype, "isReferralUser", 2);
6039
6313
  __decorateClass([
6040
- (0, import_typeorm67.Column)({
6314
+ (0, import_typeorm72.Column)({
6041
6315
  name: "last_login_at",
6042
6316
  type: "timestamp with time zone",
6043
6317
  nullable: true
6044
6318
  })
6045
6319
  ], User.prototype, "lastLoginAt", 2);
6046
6320
  __decorateClass([
6047
- (0, import_typeorm67.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
6321
+ (0, import_typeorm72.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
6048
6322
  ], User.prototype, "lastLoginIp", 2);
6049
6323
  __decorateClass([
6050
- (0, import_typeorm67.Column)({ name: "reset_token", type: "varchar", nullable: true })
6324
+ (0, import_typeorm72.Column)({ name: "reset_token", type: "varchar", nullable: true })
6051
6325
  ], User.prototype, "resetToken", 2);
6052
6326
  __decorateClass([
6053
- (0, import_typeorm67.Column)({
6327
+ (0, import_typeorm72.Column)({
6054
6328
  name: "reset_token_expire_at",
6055
6329
  type: "timestamp with time zone",
6056
6330
  nullable: true
6057
6331
  })
6058
6332
  ], User.prototype, "resetTokenExpireAt", 2);
6059
6333
  __decorateClass([
6060
- (0, import_typeorm67.Column)({ name: "set_password_token", type: "varchar", nullable: true })
6334
+ (0, import_typeorm72.Column)({ name: "set_password_token", type: "varchar", nullable: true })
6061
6335
  ], User.prototype, "setPasswordToken", 2);
6062
6336
  __decorateClass([
6063
- (0, import_typeorm67.OneToMany)(() => RefreshToken, (token) => token.user)
6337
+ (0, import_typeorm72.OneToMany)(() => RefreshToken, (token) => token.user)
6064
6338
  ], User.prototype, "refreshTokens", 2);
6065
6339
  __decorateClass([
6066
- (0, import_typeorm67.Column)({
6340
+ (0, import_typeorm72.Column)({
6067
6341
  name: "provider",
6068
6342
  type: "enum",
6069
6343
  enum: Provider,
@@ -6072,251 +6346,257 @@ __decorateClass([
6072
6346
  })
6073
6347
  ], User.prototype, "provider", 2);
6074
6348
  __decorateClass([
6075
- (0, import_typeorm67.Column)({ name: "provider_token", type: "varchar", nullable: true })
6349
+ (0, import_typeorm72.Column)({ name: "provider_token", type: "varchar", nullable: true })
6076
6350
  ], User.prototype, "providerToken", 2);
6077
6351
  __decorateClass([
6078
- (0, import_typeorm67.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
6352
+ (0, import_typeorm72.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
6079
6353
  ], User.prototype, "linkedInId", 2);
6080
6354
  __decorateClass([
6081
- (0, import_typeorm67.Column)({ name: "google_id", type: "varchar", nullable: true })
6355
+ (0, import_typeorm72.Column)({ name: "google_id", type: "varchar", nullable: true })
6082
6356
  ], User.prototype, "googleId", 2);
6083
6357
  __decorateClass([
6084
- (0, import_typeorm67.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
6358
+ (0, import_typeorm72.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
6085
6359
  ], User.prototype, "gitLabsId", 2);
6086
6360
  __decorateClass([
6087
- (0, import_typeorm67.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
6361
+ (0, import_typeorm72.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
6088
6362
  ], User.prototype, "onBoardedBy", 2);
6089
6363
  __decorateClass([
6090
- (0, import_typeorm67.OneToMany)(() => Otp, (otp) => otp.user)
6364
+ (0, import_typeorm72.OneToMany)(() => Otp, (otp) => otp.user)
6091
6365
  ], User.prototype, "otps", 2);
6092
6366
  __decorateClass([
6093
- (0, import_typeorm67.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
6367
+ (0, import_typeorm72.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
6094
6368
  ], User.prototype, "senseloafLogs", 2);
6095
6369
  __decorateClass([
6096
- (0, import_typeorm67.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
6370
+ (0, import_typeorm72.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
6097
6371
  ], User.prototype, "companyProfile", 2);
6098
6372
  __decorateClass([
6099
- (0, import_typeorm67.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
6373
+ (0, import_typeorm72.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
6100
6374
  ], User.prototype, "companySkills", 2);
6101
6375
  __decorateClass([
6102
- (0, import_typeorm67.OneToMany)(
6376
+ (0, import_typeorm72.OneToMany)(
6103
6377
  () => CompanyMemberRole,
6104
6378
  (companyMemberRole) => companyMemberRole.user
6105
6379
  )
6106
6380
  ], User.prototype, "companyMemberRoles", 2);
6107
6381
  __decorateClass([
6108
- (0, import_typeorm67.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
6382
+ (0, import_typeorm72.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
6109
6383
  ], User.prototype, "companyAiInterview", 2);
6110
6384
  __decorateClass([
6111
- (0, import_typeorm67.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
6385
+ (0, import_typeorm72.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
6112
6386
  ], User.prototype, "clientF2FInterviews", 2);
6113
6387
  __decorateClass([
6114
- (0, import_typeorm67.OneToOne)(
6388
+ (0, import_typeorm72.OneToOne)(
6115
6389
  () => FreelancerProfile,
6116
6390
  (freelancerProfile) => freelancerProfile.user
6117
6391
  )
6118
6392
  ], User.prototype, "freelancerProfile", 2);
6119
6393
  __decorateClass([
6120
- (0, import_typeorm67.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
6394
+ (0, import_typeorm72.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
6121
6395
  ], User.prototype, "freelancerResume", 2);
6122
6396
  __decorateClass([
6123
- (0, import_typeorm67.OneToMany)(
6397
+ (0, import_typeorm72.OneToMany)(
6124
6398
  () => FreelancerAssessmentRequest,
6125
6399
  (freelancerAssessmentRequest) => freelancerAssessmentRequest.freelancer
6126
6400
  )
6127
6401
  ], User.prototype, "freelancerAssessmentRequests", 2);
6128
6402
  __decorateClass([
6129
- (0, import_typeorm67.OneToMany)(
6403
+ (0, import_typeorm72.OneToMany)(
6130
6404
  () => FreelancerAssessmentRequest,
6131
6405
  (freelancerAssessment) => freelancerAssessment.approvedBy
6132
6406
  )
6133
6407
  ], User.prototype, "assessmentRequests", 2);
6134
6408
  __decorateClass([
6135
- (0, import_typeorm67.OneToMany)(
6409
+ (0, import_typeorm72.OneToMany)(
6136
6410
  () => FreelancerAssessment,
6137
6411
  (freelancerAssessment) => freelancerAssessment.user
6138
6412
  )
6139
6413
  ], User.prototype, "assessments", 2);
6140
6414
  __decorateClass([
6141
- (0, import_typeorm67.OneToMany)(
6415
+ (0, import_typeorm72.OneToMany)(
6142
6416
  () => AssessmentAnswer,
6143
6417
  (assessmentAnswer) => assessmentAnswer.user
6144
6418
  )
6145
6419
  ], User.prototype, "assessmentAnswers", 2);
6146
6420
  __decorateClass([
6147
- (0, import_typeorm67.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
6421
+ (0, import_typeorm72.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
6148
6422
  ], User.prototype, "freelancerSkills", 2);
6149
6423
  __decorateClass([
6150
- (0, import_typeorm67.OneToMany)(
6424
+ (0, import_typeorm72.OneToMany)(
6151
6425
  () => FreelancerExperience,
6152
6426
  (freelancerExperience) => freelancerExperience.user
6153
6427
  )
6154
6428
  ], User.prototype, "freelancerExperience", 2);
6155
6429
  __decorateClass([
6156
- (0, import_typeorm67.OneToMany)(
6430
+ (0, import_typeorm72.OneToMany)(
6157
6431
  () => FreelancerEducation,
6158
6432
  (freelancerEducation) => freelancerEducation.user
6159
6433
  )
6160
6434
  ], User.prototype, "freelancerEducation", 2);
6161
6435
  __decorateClass([
6162
- (0, import_typeorm67.OneToMany)(
6436
+ (0, import_typeorm72.OneToMany)(
6163
6437
  () => FreelancerProject,
6164
6438
  (freelancerProject) => freelancerProject.user
6165
6439
  )
6166
6440
  ], User.prototype, "freelancerProject", 2);
6167
6441
  __decorateClass([
6168
- (0, import_typeorm67.OneToMany)(
6442
+ (0, import_typeorm72.OneToMany)(
6169
6443
  () => FreelancerCaseStudy,
6170
6444
  (freelancerCaseStudy) => freelancerCaseStudy.user
6171
6445
  )
6172
6446
  ], User.prototype, "freelancerCaseStudy", 2);
6173
6447
  __decorateClass([
6174
- (0, import_typeorm67.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
6448
+ (0, import_typeorm72.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
6175
6449
  ], User.prototype, "freelancerTool", 2);
6176
6450
  __decorateClass([
6177
- (0, import_typeorm67.OneToMany)(
6451
+ (0, import_typeorm72.OneToMany)(
6178
6452
  () => FreelancerFramework,
6179
6453
  (freelancerFramework) => freelancerFramework.user
6180
6454
  )
6181
6455
  ], User.prototype, "freelancerFramework", 2);
6182
6456
  __decorateClass([
6183
- (0, import_typeorm67.OneToOne)(
6457
+ (0, import_typeorm72.OneToOne)(
6184
6458
  () => FreelancerDeclaration,
6185
6459
  (freelancerDeclaration) => freelancerDeclaration.user
6186
6460
  )
6187
6461
  ], User.prototype, "freelancerDeclaration", 2);
6188
6462
  __decorateClass([
6189
- (0, import_typeorm67.OneToMany)(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
6463
+ (0, import_typeorm72.OneToMany)(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
6190
6464
  ], User.prototype, "freelancerMcq", 2);
6191
6465
  __decorateClass([
6192
- (0, import_typeorm67.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
6466
+ (0, import_typeorm72.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
6193
6467
  ], User.prototype, "freelancerAiInterview", 2);
6194
6468
  __decorateClass([
6195
- (0, import_typeorm67.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
6469
+ (0, import_typeorm72.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
6196
6470
  ], User.prototype, "freelancerF2FInterviews", 2);
6197
6471
  __decorateClass([
6198
- (0, import_typeorm67.OneToMany)(
6472
+ (0, import_typeorm72.OneToMany)(
6199
6473
  () => F2fInterviewRescheduleRequest,
6200
6474
  (f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
6201
6475
  )
6202
6476
  ], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
6203
6477
  __decorateClass([
6204
- (0, import_typeorm67.OneToMany)(
6478
+ (0, import_typeorm72.OneToMany)(
6205
6479
  () => AiInterviewRescheduleRequest,
6206
6480
  (aiInterviewRescheduleRequest) => aiInterviewRescheduleRequest.candidate
6207
6481
  )
6208
6482
  ], User.prototype, "freelancerAiInterviewRescheduleRequests", 2);
6209
6483
  __decorateClass([
6210
- (0, import_typeorm67.OneToMany)(
6484
+ (0, import_typeorm72.OneToMany)(
6211
6485
  () => AiInterviewRescheduleRequest,
6212
6486
  (aiInterviewRescheduleRequest) => aiInterviewRescheduleRequest.client
6213
6487
  )
6214
6488
  ], User.prototype, "clientAiInterviewRescheduleRequests", 2);
6215
6489
  __decorateClass([
6216
- (0, import_typeorm67.OneToMany)(() => Job, (job) => job.user)
6490
+ (0, import_typeorm72.OneToMany)(() => Job, (job) => job.user)
6217
6491
  ], User.prototype, "jobs", 2);
6218
6492
  __decorateClass([
6219
- (0, import_typeorm67.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
6493
+ (0, import_typeorm72.OneToMany)(() => Task, (task) => task.client)
6494
+ ], User.prototype, "clientTasks", 2);
6495
+ __decorateClass([
6496
+ (0, import_typeorm72.OneToMany)(() => Task, (task) => task.freelancer)
6497
+ ], User.prototype, "freelancerTasks", 2);
6498
+ __decorateClass([
6499
+ (0, import_typeorm72.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
6220
6500
  ], User.prototype, "jobApplications", 2);
6221
6501
  __decorateClass([
6222
- (0, import_typeorm67.OneToMany)(() => Interview, (interview) => interview.user)
6502
+ (0, import_typeorm72.OneToMany)(() => Interview, (interview) => interview.user)
6223
6503
  ], User.prototype, "interviews", 2);
6224
6504
  __decorateClass([
6225
- (0, import_typeorm67.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
6505
+ (0, import_typeorm72.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
6226
6506
  ], User.prototype, "bankDetail", 2);
6227
6507
  __decorateClass([
6228
- (0, import_typeorm67.OneToMany)(
6508
+ (0, import_typeorm72.OneToMany)(
6229
6509
  () => SystemPreference,
6230
6510
  (systemPreference) => systemPreference.user
6231
6511
  )
6232
6512
  ], User.prototype, "systemPreference", 2);
6233
6513
  __decorateClass([
6234
- (0, import_typeorm67.OneToMany)(() => Rating, (rating) => rating.reviewer)
6514
+ (0, import_typeorm72.OneToMany)(() => Rating, (rating) => rating.reviewer)
6235
6515
  ], User.prototype, "givenRatings", 2);
6236
6516
  __decorateClass([
6237
- (0, import_typeorm67.OneToMany)(() => Rating, (rating) => rating.reviewee)
6517
+ (0, import_typeorm72.OneToMany)(() => Rating, (rating) => rating.reviewee)
6238
6518
  ], User.prototype, "receivedRatings", 2);
6239
6519
  __decorateClass([
6240
- (0, import_typeorm67.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
6520
+ (0, import_typeorm72.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
6241
6521
  ], User.prototype, "adminUserRoles", 2);
6242
6522
  __decorateClass([
6243
- (0, import_typeorm67.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.clientId, {
6523
+ (0, import_typeorm72.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.clientId, {
6244
6524
  cascade: true
6245
6525
  })
6246
6526
  ], User.prototype, "clientContractSummaries", 2);
6247
6527
  __decorateClass([
6248
- (0, import_typeorm67.OneToMany)(() => Contract, (contract) => contract.client)
6528
+ (0, import_typeorm72.OneToMany)(() => Contract, (contract) => contract.client)
6249
6529
  ], User.prototype, "clientContracts", 2);
6250
6530
  __decorateClass([
6251
- (0, import_typeorm67.OneToMany)(() => Hiring, (hiring) => hiring.client)
6531
+ (0, import_typeorm72.OneToMany)(() => Hiring, (hiring) => hiring.client)
6252
6532
  ], User.prototype, "clientHirings", 2);
6253
6533
  __decorateClass([
6254
- (0, import_typeorm67.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
6534
+ (0, import_typeorm72.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
6255
6535
  ], User.prototype, "clientEscrowWallets", 2);
6256
6536
  __decorateClass([
6257
- (0, import_typeorm67.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.freelancerId, {
6537
+ (0, import_typeorm72.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.freelancerId, {
6258
6538
  cascade: true
6259
6539
  })
6260
6540
  ], User.prototype, "freelancerContractSummaries", 2);
6261
6541
  __decorateClass([
6262
- (0, import_typeorm67.OneToMany)(() => Contract, (contract) => contract.freelancer)
6542
+ (0, import_typeorm72.OneToMany)(() => Contract, (contract) => contract.freelancer)
6263
6543
  ], User.prototype, "freelancerContracts", 2);
6264
6544
  __decorateClass([
6265
- (0, import_typeorm67.OneToMany)(() => Hiring, (hiring) => hiring.freelancer)
6545
+ (0, import_typeorm72.OneToMany)(() => Hiring, (hiring) => hiring.freelancer)
6266
6546
  ], User.prototype, "freelancerHirings", 2);
6267
6547
  __decorateClass([
6268
- (0, import_typeorm67.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
6548
+ (0, import_typeorm72.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
6269
6549
  ], User.prototype, "freelancerEscrowWallets", 2);
6270
6550
  __decorateClass([
6271
- (0, import_typeorm67.OneToOne)(() => Signature, (signature) => signature.user)
6551
+ (0, import_typeorm72.OneToOne)(() => Signature, (signature) => signature.user)
6272
6552
  ], User.prototype, "signatures", 2);
6273
6553
  __decorateClass([
6274
- (0, import_typeorm67.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
6554
+ (0, import_typeorm72.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
6275
6555
  ], User.prototype, "clientTimesheets", 2);
6276
6556
  __decorateClass([
6277
- (0, import_typeorm67.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
6557
+ (0, import_typeorm72.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
6278
6558
  ], User.prototype, "freelancerTimesheets", 2);
6279
6559
  __decorateClass([
6280
- (0, import_typeorm67.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
6560
+ (0, import_typeorm72.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
6281
6561
  ], User.prototype, "clientTimesheetLine", 2);
6282
6562
  __decorateClass([
6283
- (0, import_typeorm67.OneToMany)(() => Invoice, (invoice) => invoice.client)
6563
+ (0, import_typeorm72.OneToMany)(() => Invoice, (invoice) => invoice.client)
6284
6564
  ], User.prototype, "clientInvoice", 2);
6285
6565
  __decorateClass([
6286
- (0, import_typeorm67.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
6566
+ (0, import_typeorm72.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
6287
6567
  ], User.prototype, "freelancerTimesheetLine", 2);
6288
6568
  __decorateClass([
6289
- (0, import_typeorm67.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
6569
+ (0, import_typeorm72.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
6290
6570
  ], User.prototype, "freelancerInvoice", 2);
6291
6571
  __decorateClass([
6292
- (0, import_typeorm67.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
6572
+ (0, import_typeorm72.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
6293
6573
  ], User.prototype, "clientPreferencesGiven", 2);
6294
6574
  __decorateClass([
6295
- (0, import_typeorm67.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
6575
+ (0, import_typeorm72.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
6296
6576
  ], User.prototype, "clientPreferencesReceived", 2);
6297
6577
  __decorateClass([
6298
- (0, import_typeorm67.OneToMany)(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
6578
+ (0, import_typeorm72.OneToMany)(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
6299
6579
  ], User.prototype, "initiatedDisputes", 2);
6300
6580
  __decorateClass([
6301
- (0, import_typeorm67.OneToMany)(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
6581
+ (0, import_typeorm72.OneToMany)(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
6302
6582
  ], User.prototype, "respondentDisputes", 2);
6303
6583
  __decorateClass([
6304
- (0, import_typeorm67.OneToOne)(() => Wallet, (wallet) => wallet.user)
6584
+ (0, import_typeorm72.OneToOne)(() => Wallet, (wallet) => wallet.user)
6305
6585
  ], User.prototype, "wallet", 2);
6306
6586
  __decorateClass([
6307
- (0, import_typeorm67.OneToMany)(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
6587
+ (0, import_typeorm72.OneToMany)(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
6308
6588
  ], User.prototype, "stripeTransactions", 2);
6309
6589
  __decorateClass([
6310
- (0, import_typeorm67.OneToMany)(() => Dispute, (dispute) => dispute.client)
6590
+ (0, import_typeorm72.OneToMany)(() => Dispute, (dispute) => dispute.client)
6311
6591
  ], User.prototype, "clientDisputes", 2);
6312
6592
  __decorateClass([
6313
- (0, import_typeorm67.OneToMany)(() => Dispute, (dispute) => dispute.freelancer)
6593
+ (0, import_typeorm72.OneToMany)(() => Dispute, (dispute) => dispute.freelancer)
6314
6594
  ], User.prototype, "freelancerDisputes", 2);
6315
6595
  __decorateClass([
6316
- (0, import_typeorm67.OneToMany)(() => InAppNotification, (inAppNotification) => inAppNotification.user)
6596
+ (0, import_typeorm72.OneToMany)(() => InAppNotification, (inAppNotification) => inAppNotification.user)
6317
6597
  ], User.prototype, "inAppNotifications", 2);
6318
6598
  User = __decorateClass([
6319
- (0, import_typeorm67.Entity)("users")
6599
+ (0, import_typeorm72.Entity)("users")
6320
6600
  ], User);
6321
6601
 
6322
6602
  // src/modules/user/subadmin/dto/update-subadmin-account-status.dto.ts
@@ -12484,6 +12764,277 @@ __decorateClass([
12484
12764
  (0, import_class_transformer36.Type)(() => Number)
12485
12765
  ], ArchiveSubmissionDto.prototype, "submissionId", 2);
12486
12766
 
12767
+ // src/modules/task/pattern/pattern.ts
12768
+ var TASK_PATTERN = {
12769
+ createTask: "create.task",
12770
+ fetchTaskForBusiness: "fetch.task.for.business",
12771
+ fetchTaskForFreelancer: "fetch.task.for.freelancer",
12772
+ fetchTaskDetail: "fetch.task.detail",
12773
+ updateTask: "update.task",
12774
+ deleteTask: "delete.task",
12775
+ addClientRemark: "task.client.remark",
12776
+ markTaskAsCompleted: "task.client.mark.as.completed",
12777
+ updateEstimateTime: "task.freelancer.update.estimate.time"
12778
+ };
12779
+
12780
+ // src/modules/task/dto/create-task.dto.ts
12781
+ var import_class_validator166 = require("class-validator");
12782
+ var import_class_transformer37 = require("class-transformer");
12783
+ var TaskDeliverableDto = class {
12784
+ };
12785
+ __decorateClass([
12786
+ (0, import_class_validator166.IsString)()
12787
+ ], TaskDeliverableDto.prototype, "name", 2);
12788
+ __decorateClass([
12789
+ (0, import_class_validator166.IsOptional)(),
12790
+ (0, import_class_validator166.IsString)()
12791
+ ], TaskDeliverableDto.prototype, "description", 2);
12792
+ __decorateClass([
12793
+ (0, import_class_validator166.IsOptional)(),
12794
+ (0, import_class_validator166.IsString)()
12795
+ ], TaskDeliverableDto.prototype, "type", 2);
12796
+ var TaskResourceDto = class {
12797
+ };
12798
+ __decorateClass([
12799
+ (0, import_class_validator166.IsString)()
12800
+ ], TaskResourceDto.prototype, "name", 2);
12801
+ __decorateClass([
12802
+ (0, import_class_validator166.IsOptional)(),
12803
+ (0, import_class_validator166.IsString)()
12804
+ ], TaskResourceDto.prototype, "description", 2);
12805
+ __decorateClass([
12806
+ (0, import_class_validator166.IsOptional)(),
12807
+ (0, import_class_validator166.IsString)()
12808
+ ], TaskResourceDto.prototype, "type", 2);
12809
+ __decorateClass([
12810
+ (0, import_class_validator166.IsOptional)(),
12811
+ (0, import_class_validator166.IsString)()
12812
+ ], TaskResourceDto.prototype, "url", 2);
12813
+ var TaskChecklistItemDto = class {
12814
+ };
12815
+ __decorateClass([
12816
+ (0, import_class_validator166.IsString)()
12817
+ ], TaskChecklistItemDto.prototype, "item", 2);
12818
+ __decorateClass([
12819
+ (0, import_class_validator166.IsOptional)(),
12820
+ (0, import_class_validator166.IsString)()
12821
+ ], TaskChecklistItemDto.prototype, "notes", 2);
12822
+ var TaskSubtaskDto = class {
12823
+ };
12824
+ __decorateClass([
12825
+ (0, import_class_validator166.IsString)()
12826
+ ], TaskSubtaskDto.prototype, "name", 2);
12827
+ __decorateClass([
12828
+ (0, import_class_validator166.IsOptional)(),
12829
+ (0, import_class_validator166.IsString)()
12830
+ ], TaskSubtaskDto.prototype, "status", 2);
12831
+ __decorateClass([
12832
+ (0, import_class_validator166.IsOptional)(),
12833
+ (0, import_class_validator166.IsString)()
12834
+ ], TaskSubtaskDto.prototype, "description", 2);
12835
+ var CreateTaskDto = class {
12836
+ };
12837
+ __decorateClass([
12838
+ (0, import_class_validator166.IsString)()
12839
+ ], CreateTaskDto.prototype, "title", 2);
12840
+ __decorateClass([
12841
+ (0, import_class_validator166.IsDateString)()
12842
+ ], CreateTaskDto.prototype, "dueDate", 2);
12843
+ __decorateClass([
12844
+ (0, import_class_validator166.IsString)()
12845
+ ], CreateTaskDto.prototype, "jobId", 2);
12846
+ __decorateClass([
12847
+ (0, import_class_validator166.IsString)()
12848
+ ], CreateTaskDto.prototype, "freelancerId", 2);
12849
+ __decorateClass([
12850
+ (0, import_class_validator166.IsString)()
12851
+ ], CreateTaskDto.prototype, "status", 2);
12852
+ __decorateClass([
12853
+ (0, import_class_validator166.IsOptional)(),
12854
+ (0, import_class_validator166.IsString)()
12855
+ ], CreateTaskDto.prototype, "description", 2);
12856
+ __decorateClass([
12857
+ (0, import_class_validator166.IsString)()
12858
+ ], CreateTaskDto.prototype, "priority", 2);
12859
+ __decorateClass([
12860
+ (0, import_class_validator166.IsDateString)()
12861
+ ], CreateTaskDto.prototype, "createdOn", 2);
12862
+ __decorateClass([
12863
+ (0, import_class_validator166.IsOptional)(),
12864
+ (0, import_class_validator166.IsArray)(),
12865
+ (0, import_class_validator166.ValidateNested)({ each: true }),
12866
+ (0, import_class_transformer37.Type)(() => TaskDeliverableDto)
12867
+ ], CreateTaskDto.prototype, "deliverables", 2);
12868
+ __decorateClass([
12869
+ (0, import_class_validator166.IsOptional)(),
12870
+ (0, import_class_validator166.IsArray)(),
12871
+ (0, import_class_validator166.ValidateNested)({ each: true }),
12872
+ (0, import_class_transformer37.Type)(() => TaskResourceDto)
12873
+ ], CreateTaskDto.prototype, "resources", 2);
12874
+ __decorateClass([
12875
+ (0, import_class_validator166.IsOptional)(),
12876
+ (0, import_class_validator166.IsArray)(),
12877
+ (0, import_class_validator166.ValidateNested)({ each: true }),
12878
+ (0, import_class_transformer37.Type)(() => TaskChecklistItemDto)
12879
+ ], CreateTaskDto.prototype, "checklist", 2);
12880
+ __decorateClass([
12881
+ (0, import_class_validator166.IsOptional)(),
12882
+ (0, import_class_validator166.IsArray)(),
12883
+ (0, import_class_validator166.ValidateNested)({ each: true }),
12884
+ (0, import_class_transformer37.Type)(() => TaskSubtaskDto)
12885
+ ], CreateTaskDto.prototype, "subtasks", 2);
12886
+
12887
+ // src/modules/task/dto/update-task.dto.ts
12888
+ var import_class_validator167 = require("class-validator");
12889
+ var import_class_transformer38 = require("class-transformer");
12890
+ var TaskDeliverableDto2 = class {
12891
+ };
12892
+ __decorateClass([
12893
+ (0, import_class_validator167.IsString)()
12894
+ ], TaskDeliverableDto2.prototype, "name", 2);
12895
+ __decorateClass([
12896
+ (0, import_class_validator167.IsOptional)(),
12897
+ (0, import_class_validator167.IsString)()
12898
+ ], TaskDeliverableDto2.prototype, "description", 2);
12899
+ __decorateClass([
12900
+ (0, import_class_validator167.IsOptional)(),
12901
+ (0, import_class_validator167.IsString)()
12902
+ ], TaskDeliverableDto2.prototype, "type", 2);
12903
+ var TaskResourceDto2 = class {
12904
+ };
12905
+ __decorateClass([
12906
+ (0, import_class_validator167.IsString)()
12907
+ ], TaskResourceDto2.prototype, "name", 2);
12908
+ __decorateClass([
12909
+ (0, import_class_validator167.IsOptional)(),
12910
+ (0, import_class_validator167.IsString)()
12911
+ ], TaskResourceDto2.prototype, "description", 2);
12912
+ __decorateClass([
12913
+ (0, import_class_validator167.IsOptional)(),
12914
+ (0, import_class_validator167.IsString)()
12915
+ ], TaskResourceDto2.prototype, "type", 2);
12916
+ __decorateClass([
12917
+ (0, import_class_validator167.IsOptional)(),
12918
+ (0, import_class_validator167.IsString)()
12919
+ ], TaskResourceDto2.prototype, "url", 2);
12920
+ var TaskChecklistItemDto2 = class {
12921
+ };
12922
+ __decorateClass([
12923
+ (0, import_class_validator167.IsString)()
12924
+ ], TaskChecklistItemDto2.prototype, "item", 2);
12925
+ __decorateClass([
12926
+ (0, import_class_validator167.IsOptional)(),
12927
+ (0, import_class_validator167.IsString)()
12928
+ ], TaskChecklistItemDto2.prototype, "notes", 2);
12929
+ var TaskSubtaskDto2 = class {
12930
+ };
12931
+ __decorateClass([
12932
+ (0, import_class_validator167.IsString)()
12933
+ ], TaskSubtaskDto2.prototype, "name", 2);
12934
+ __decorateClass([
12935
+ (0, import_class_validator167.IsOptional)(),
12936
+ (0, import_class_validator167.IsString)()
12937
+ ], TaskSubtaskDto2.prototype, "status", 2);
12938
+ __decorateClass([
12939
+ (0, import_class_validator167.IsOptional)(),
12940
+ (0, import_class_validator167.IsString)()
12941
+ ], TaskSubtaskDto2.prototype, "description", 2);
12942
+ var UpdateTaskDto = class {
12943
+ };
12944
+ __decorateClass([
12945
+ (0, import_class_validator167.IsOptional)(),
12946
+ (0, import_class_validator167.IsString)()
12947
+ ], UpdateTaskDto.prototype, "title", 2);
12948
+ __decorateClass([
12949
+ (0, import_class_validator167.IsOptional)(),
12950
+ (0, import_class_validator167.IsDateString)()
12951
+ ], UpdateTaskDto.prototype, "dueDate", 2);
12952
+ __decorateClass([
12953
+ (0, import_class_validator167.IsOptional)(),
12954
+ (0, import_class_validator167.IsString)()
12955
+ ], UpdateTaskDto.prototype, "jobId", 2);
12956
+ __decorateClass([
12957
+ (0, import_class_validator167.IsOptional)(),
12958
+ (0, import_class_validator167.IsString)()
12959
+ ], UpdateTaskDto.prototype, "freelancerId", 2);
12960
+ __decorateClass([
12961
+ (0, import_class_validator167.IsOptional)(),
12962
+ (0, import_class_validator167.IsString)()
12963
+ ], UpdateTaskDto.prototype, "status", 2);
12964
+ __decorateClass([
12965
+ (0, import_class_validator167.IsOptional)(),
12966
+ (0, import_class_validator167.IsString)()
12967
+ ], UpdateTaskDto.prototype, "description", 2);
12968
+ __decorateClass([
12969
+ (0, import_class_validator167.IsOptional)(),
12970
+ (0, import_class_validator167.IsString)()
12971
+ ], UpdateTaskDto.prototype, "priority", 2);
12972
+ __decorateClass([
12973
+ (0, import_class_validator167.IsOptional)(),
12974
+ (0, import_class_validator167.IsDateString)()
12975
+ ], UpdateTaskDto.prototype, "createdOn", 2);
12976
+ __decorateClass([
12977
+ (0, import_class_validator167.IsOptional)(),
12978
+ (0, import_class_validator167.IsArray)(),
12979
+ (0, import_class_validator167.ValidateNested)({ each: true }),
12980
+ (0, import_class_transformer38.Type)(() => TaskDeliverableDto2)
12981
+ ], UpdateTaskDto.prototype, "deliverables", 2);
12982
+ __decorateClass([
12983
+ (0, import_class_validator167.IsOptional)(),
12984
+ (0, import_class_validator167.IsArray)(),
12985
+ (0, import_class_validator167.ValidateNested)({ each: true }),
12986
+ (0, import_class_transformer38.Type)(() => TaskResourceDto2)
12987
+ ], UpdateTaskDto.prototype, "resources", 2);
12988
+ __decorateClass([
12989
+ (0, import_class_validator167.IsOptional)(),
12990
+ (0, import_class_validator167.IsArray)(),
12991
+ (0, import_class_validator167.ValidateNested)({ each: true }),
12992
+ (0, import_class_transformer38.Type)(() => TaskChecklistItemDto2)
12993
+ ], UpdateTaskDto.prototype, "checklist", 2);
12994
+ __decorateClass([
12995
+ (0, import_class_validator167.IsOptional)(),
12996
+ (0, import_class_validator167.IsArray)(),
12997
+ (0, import_class_validator167.ValidateNested)({ each: true }),
12998
+ (0, import_class_transformer38.Type)(() => TaskSubtaskDto2)
12999
+ ], UpdateTaskDto.prototype, "subtasks", 2);
13000
+
13001
+ // src/modules/task/dto/task-uuid-param.dto.ts
13002
+ var import_class_validator168 = require("class-validator");
13003
+ var TaskUuidParamDto = class {
13004
+ };
13005
+ __decorateClass([
13006
+ (0, import_class_validator168.IsString)()
13007
+ ], TaskUuidParamDto.prototype, "uuid", 2);
13008
+
13009
+ // src/modules/task/dto/add-client-remark.dto.ts
13010
+ var import_class_validator169 = require("class-validator");
13011
+ var AddClientRemarkDto = class {
13012
+ };
13013
+ __decorateClass([
13014
+ (0, import_class_validator169.IsString)()
13015
+ ], AddClientRemarkDto.prototype, "remark", 2);
13016
+
13017
+ // src/modules/task/dto/mark-task-as-completed.dto.ts
13018
+ var import_class_validator170 = require("class-validator");
13019
+ var MarkTaskAsCompletedDto = class {
13020
+ };
13021
+ __decorateClass([
13022
+ (0, import_class_validator170.IsString)()
13023
+ ], MarkTaskAsCompletedDto.prototype, "status", 2);
13024
+
13025
+ // src/modules/task/dto/update-estimate-time.dto.ts
13026
+ var import_class_transformer39 = require("class-transformer");
13027
+ var import_class_validator171 = require("class-validator");
13028
+ var UpdateEstimateTimeDto = class {
13029
+ };
13030
+ __decorateClass([
13031
+ (0, import_class_transformer39.Type)(() => Number),
13032
+ (0, import_class_validator171.IsNumber)()
13033
+ ], UpdateEstimateTimeDto.prototype, "estimateHours", 2);
13034
+ __decorateClass([
13035
+ (0, import_class_validator171.IsString)()
13036
+ ], UpdateEstimateTimeDto.prototype, "additionalWorkNote", 2);
13037
+
12487
13038
  // src/adapters/tcp/user.tcp.adapter.ts
12488
13039
  var import_dotenv = require("dotenv");
12489
13040
  var import_microservices = require("@nestjs/microservices");
@@ -12845,11 +13396,11 @@ var ChatRMQAdapter = (mode = "microservice") => {
12845
13396
  };
12846
13397
 
12847
13398
  // src/entities/sequence-generator.entity.ts
12848
- var import_typeorm68 = require("typeorm");
13399
+ var import_typeorm73 = require("typeorm");
12849
13400
  var SequenceGenerator = class extends BaseEntity {
12850
13401
  };
12851
13402
  __decorateClass([
12852
- (0, import_typeorm68.Column)({
13403
+ (0, import_typeorm73.Column)({
12853
13404
  name: "module",
12854
13405
  type: "varchar",
12855
13406
  length: 50,
@@ -12858,7 +13409,7 @@ __decorateClass([
12858
13409
  })
12859
13410
  ], SequenceGenerator.prototype, "module", 2);
12860
13411
  __decorateClass([
12861
- (0, import_typeorm68.Column)({
13412
+ (0, import_typeorm73.Column)({
12862
13413
  name: "prefix",
12863
13414
  type: "varchar",
12864
13415
  length: 10,
@@ -12867,7 +13418,7 @@ __decorateClass([
12867
13418
  })
12868
13419
  ], SequenceGenerator.prototype, "prefix", 2);
12869
13420
  __decorateClass([
12870
- (0, import_typeorm68.Column)({
13421
+ (0, import_typeorm73.Column)({
12871
13422
  name: "last_sequence",
12872
13423
  type: "int",
12873
13424
  nullable: false,
@@ -12875,7 +13426,7 @@ __decorateClass([
12875
13426
  })
12876
13427
  ], SequenceGenerator.prototype, "lastSequence", 2);
12877
13428
  __decorateClass([
12878
- (0, import_typeorm68.Column)({
13429
+ (0, import_typeorm73.Column)({
12879
13430
  name: "year",
12880
13431
  type: "int",
12881
13432
  nullable: true,
@@ -12883,11 +13434,11 @@ __decorateClass([
12883
13434
  })
12884
13435
  ], SequenceGenerator.prototype, "year", 2);
12885
13436
  SequenceGenerator = __decorateClass([
12886
- (0, import_typeorm68.Entity)("sequence_generators")
13437
+ (0, import_typeorm73.Entity)("sequence_generators")
12887
13438
  ], SequenceGenerator);
12888
13439
 
12889
13440
  // src/entities/question.entity.ts
12890
- var import_typeorm69 = require("typeorm");
13441
+ var import_typeorm74 = require("typeorm");
12891
13442
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
12892
13443
  QuestionFor2["CLIENT"] = "CLIENT";
12893
13444
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -12896,16 +13447,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
12896
13447
  var Question = class extends BaseEntity {
12897
13448
  };
12898
13449
  __decorateClass([
12899
- (0, import_typeorm69.Column)({ name: "question", type: "varchar" })
13450
+ (0, import_typeorm74.Column)({ name: "question", type: "varchar" })
12900
13451
  ], Question.prototype, "question", 2);
12901
13452
  __decorateClass([
12902
- (0, import_typeorm69.Column)({ name: "hint", type: "varchar", nullable: true })
13453
+ (0, import_typeorm74.Column)({ name: "hint", type: "varchar", nullable: true })
12903
13454
  ], Question.prototype, "hint", 2);
12904
13455
  __decorateClass([
12905
- (0, import_typeorm69.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
13456
+ (0, import_typeorm74.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12906
13457
  ], Question.prototype, "slug", 2);
12907
13458
  __decorateClass([
12908
- (0, import_typeorm69.Column)({
13459
+ (0, import_typeorm74.Column)({
12909
13460
  name: "question_for",
12910
13461
  type: "enum",
12911
13462
  enum: QuestionFor,
@@ -12913,45 +13464,45 @@ __decorateClass([
12913
13464
  })
12914
13465
  ], Question.prototype, "questionFor", 2);
12915
13466
  __decorateClass([
12916
- (0, import_typeorm69.Column)({ name: "type", type: "varchar", nullable: true })
13467
+ (0, import_typeorm74.Column)({ name: "type", type: "varchar", nullable: true })
12917
13468
  ], Question.prototype, "type", 2);
12918
13469
  __decorateClass([
12919
- (0, import_typeorm69.Column)({ name: "options", type: "jsonb", nullable: true })
13470
+ (0, import_typeorm74.Column)({ name: "options", type: "jsonb", nullable: true })
12920
13471
  ], Question.prototype, "options", 2);
12921
13472
  __decorateClass([
12922
- (0, import_typeorm69.Column)({ name: "is_active", type: "boolean", default: false })
13473
+ (0, import_typeorm74.Column)({ name: "is_active", type: "boolean", default: false })
12923
13474
  ], Question.prototype, "isActive", 2);
12924
13475
  Question = __decorateClass([
12925
- (0, import_typeorm69.Entity)("questions")
13476
+ (0, import_typeorm74.Entity)("questions")
12926
13477
  ], Question);
12927
13478
 
12928
13479
  // src/entities/skill.entity.ts
12929
- var import_typeorm70 = require("typeorm");
13480
+ var import_typeorm75 = require("typeorm");
12930
13481
  var Skill = class extends BaseEntity {
12931
13482
  };
12932
13483
  __decorateClass([
12933
- (0, import_typeorm70.Column)({ name: "name", type: "varchar", nullable: true })
13484
+ (0, import_typeorm75.Column)({ name: "name", type: "varchar", nullable: true })
12934
13485
  ], Skill.prototype, "name", 2);
12935
13486
  __decorateClass([
12936
- (0, import_typeorm70.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
13487
+ (0, import_typeorm75.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12937
13488
  ], Skill.prototype, "slug", 2);
12938
13489
  __decorateClass([
12939
- (0, import_typeorm70.Column)({ name: "is_active", type: "boolean", default: false })
13490
+ (0, import_typeorm75.Column)({ name: "is_active", type: "boolean", default: false })
12940
13491
  ], Skill.prototype, "isActive", 2);
12941
13492
  Skill = __decorateClass([
12942
- (0, import_typeorm70.Entity)("skills")
13493
+ (0, import_typeorm75.Entity)("skills")
12943
13494
  ], Skill);
12944
13495
 
12945
13496
  // src/entities/skill-catalog.entity.ts
12946
- var import_typeorm71 = require("typeorm");
13497
+ var import_typeorm76 = require("typeorm");
12947
13498
  var SkillCatalog = class extends BaseEntity {
12948
13499
  };
12949
13500
  __decorateClass([
12950
- (0, import_typeorm71.Column)({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
12951
- (0, import_typeorm71.Index)()
13501
+ (0, import_typeorm76.Column)({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
13502
+ (0, import_typeorm76.Index)()
12952
13503
  ], SkillCatalog.prototype, "canonicalName", 2);
12953
13504
  __decorateClass([
12954
- (0, import_typeorm71.Column)({
13505
+ (0, import_typeorm76.Column)({
12955
13506
  name: "aliases",
12956
13507
  type: "text",
12957
13508
  array: true,
@@ -12959,20 +13510,20 @@ __decorateClass([
12959
13510
  })
12960
13511
  ], SkillCatalog.prototype, "aliases", 2);
12961
13512
  __decorateClass([
12962
- (0, import_typeorm71.Column)({
13513
+ (0, import_typeorm76.Column)({
12963
13514
  name: "variations",
12964
13515
  type: "jsonb",
12965
13516
  default: "{}"
12966
13517
  })
12967
13518
  ], SkillCatalog.prototype, "variations", 2);
12968
13519
  __decorateClass([
12969
- (0, import_typeorm71.Column)({ name: "category", type: "varchar", length: 50, nullable: true })
13520
+ (0, import_typeorm76.Column)({ name: "category", type: "varchar", length: 50, nullable: true })
12970
13521
  ], SkillCatalog.prototype, "category", 2);
12971
13522
  __decorateClass([
12972
- (0, import_typeorm71.Column)({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
13523
+ (0, import_typeorm76.Column)({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
12973
13524
  ], SkillCatalog.prototype, "parentSkill", 2);
12974
13525
  __decorateClass([
12975
- (0, import_typeorm71.Column)({
13526
+ (0, import_typeorm76.Column)({
12976
13527
  name: "related_skills",
12977
13528
  type: "text",
12978
13529
  array: true,
@@ -12980,68 +13531,68 @@ __decorateClass([
12980
13531
  })
12981
13532
  ], SkillCatalog.prototype, "relatedSkills", 2);
12982
13533
  __decorateClass([
12983
- (0, import_typeorm71.Column)({ name: "usage_count", type: "integer", default: 0 }),
12984
- (0, import_typeorm71.Index)()
13534
+ (0, import_typeorm76.Column)({ name: "usage_count", type: "integer", default: 0 }),
13535
+ (0, import_typeorm76.Index)()
12985
13536
  ], SkillCatalog.prototype, "usageCount", 2);
12986
13537
  __decorateClass([
12987
- (0, import_typeorm71.Column)({ name: "is_verified", type: "boolean", default: false })
13538
+ (0, import_typeorm76.Column)({ name: "is_verified", type: "boolean", default: false })
12988
13539
  ], SkillCatalog.prototype, "isVerified", 2);
12989
13540
  __decorateClass([
12990
- (0, import_typeorm71.Column)({ name: "first_seen_date", type: "date" })
13541
+ (0, import_typeorm76.Column)({ name: "first_seen_date", type: "date" })
12991
13542
  ], SkillCatalog.prototype, "firstSeenDate", 2);
12992
13543
  __decorateClass([
12993
- (0, import_typeorm71.Column)({ name: "last_updated_date", type: "date" })
13544
+ (0, import_typeorm76.Column)({ name: "last_updated_date", type: "date" })
12994
13545
  ], SkillCatalog.prototype, "lastUpdatedDate", 2);
12995
13546
  __decorateClass([
12996
- (0, import_typeorm71.Column)({
13547
+ (0, import_typeorm76.Column)({
12997
13548
  name: "search_vector",
12998
13549
  type: "tsvector",
12999
13550
  nullable: true
13000
13551
  })
13001
13552
  ], SkillCatalog.prototype, "searchVector", 2);
13002
13553
  SkillCatalog = __decorateClass([
13003
- (0, import_typeorm71.Entity)("skill_catalogs")
13554
+ (0, import_typeorm76.Entity)("skill_catalogs")
13004
13555
  ], SkillCatalog);
13005
13556
 
13006
13557
  // src/entities/job-role.entity.ts
13007
- var import_typeorm72 = require("typeorm");
13558
+ var import_typeorm77 = require("typeorm");
13008
13559
  var JobRoles = class extends BaseEntity {
13009
13560
  };
13010
13561
  __decorateClass([
13011
- (0, import_typeorm72.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
13562
+ (0, import_typeorm77.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
13012
13563
  ], JobRoles.prototype, "slug", 2);
13013
13564
  __decorateClass([
13014
- (0, import_typeorm72.Column)({ name: "name", type: "varchar", nullable: true })
13565
+ (0, import_typeorm77.Column)({ name: "name", type: "varchar", nullable: true })
13015
13566
  ], JobRoles.prototype, "name", 2);
13016
13567
  __decorateClass([
13017
- (0, import_typeorm72.Column)({ name: "is_active", type: "boolean", default: true })
13568
+ (0, import_typeorm77.Column)({ name: "is_active", type: "boolean", default: true })
13018
13569
  ], JobRoles.prototype, "isActive", 2);
13019
13570
  JobRoles = __decorateClass([
13020
- (0, import_typeorm72.Entity)("job_roles")
13571
+ (0, import_typeorm77.Entity)("job_roles")
13021
13572
  ], JobRoles);
13022
13573
 
13023
13574
  // src/entities/cms.entity.ts
13024
- var import_typeorm73 = require("typeorm");
13575
+ var import_typeorm78 = require("typeorm");
13025
13576
  var Cms = class extends BaseEntity {
13026
13577
  };
13027
13578
  __decorateClass([
13028
- (0, import_typeorm73.Column)({ name: "title", type: "varchar", nullable: true })
13579
+ (0, import_typeorm78.Column)({ name: "title", type: "varchar", nullable: true })
13029
13580
  ], Cms.prototype, "title", 2);
13030
13581
  __decorateClass([
13031
- (0, import_typeorm73.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
13582
+ (0, import_typeorm78.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
13032
13583
  ], Cms.prototype, "slug", 2);
13033
13584
  __decorateClass([
13034
- (0, import_typeorm73.Column)({ name: "content", type: "varchar", nullable: true })
13585
+ (0, import_typeorm78.Column)({ name: "content", type: "varchar", nullable: true })
13035
13586
  ], Cms.prototype, "content", 2);
13036
13587
  __decorateClass([
13037
- (0, import_typeorm73.Column)({ name: "is_active", type: "boolean", default: true })
13588
+ (0, import_typeorm78.Column)({ name: "is_active", type: "boolean", default: true })
13038
13589
  ], Cms.prototype, "isActive", 2);
13039
13590
  Cms = __decorateClass([
13040
- (0, import_typeorm73.Entity)("cms")
13591
+ (0, import_typeorm78.Entity)("cms")
13041
13592
  ], Cms);
13042
13593
 
13043
13594
  // src/entities/lead.entity.ts
13044
- var import_typeorm74 = require("typeorm");
13595
+ var import_typeorm79 = require("typeorm");
13045
13596
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
13046
13597
  CategoryEmum2["BUSINESS"] = "BUSINESS";
13047
13598
  CategoryEmum2["FREELANCER"] = "FREELANCER";
@@ -13050,22 +13601,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
13050
13601
  var Lead = class extends BaseEntity {
13051
13602
  };
13052
13603
  __decorateClass([
13053
- (0, import_typeorm74.Column)({ name: "name", type: "varchar", nullable: true })
13604
+ (0, import_typeorm79.Column)({ name: "name", type: "varchar", nullable: true })
13054
13605
  ], Lead.prototype, "name", 2);
13055
13606
  __decorateClass([
13056
- (0, import_typeorm74.Column)({ name: "mobile_code", type: "varchar", nullable: true })
13607
+ (0, import_typeorm79.Column)({ name: "mobile_code", type: "varchar", nullable: true })
13057
13608
  ], Lead.prototype, "mobileCode", 2);
13058
13609
  __decorateClass([
13059
- (0, import_typeorm74.Column)({ name: "mobile", type: "varchar", nullable: true })
13610
+ (0, import_typeorm79.Column)({ name: "mobile", type: "varchar", nullable: true })
13060
13611
  ], Lead.prototype, "mobile", 2);
13061
13612
  __decorateClass([
13062
- (0, import_typeorm74.Column)({ name: "email", type: "varchar", nullable: true })
13613
+ (0, import_typeorm79.Column)({ name: "email", type: "varchar", nullable: true })
13063
13614
  ], Lead.prototype, "email", 2);
13064
13615
  __decorateClass([
13065
- (0, import_typeorm74.Column)({ name: "description", type: "varchar", nullable: true })
13616
+ (0, import_typeorm79.Column)({ name: "description", type: "varchar", nullable: true })
13066
13617
  ], Lead.prototype, "description", 2);
13067
13618
  __decorateClass([
13068
- (0, import_typeorm74.Column)({
13619
+ (0, import_typeorm79.Column)({
13069
13620
  name: "category",
13070
13621
  type: "enum",
13071
13622
  enum: CategoryEmum,
@@ -13073,129 +13624,129 @@ __decorateClass([
13073
13624
  })
13074
13625
  ], Lead.prototype, "category", 2);
13075
13626
  Lead = __decorateClass([
13076
- (0, import_typeorm74.Entity)("leads")
13627
+ (0, import_typeorm79.Entity)("leads")
13077
13628
  ], Lead);
13078
13629
 
13079
13630
  // src/entities/job-freelancer-recommendation.entity.ts
13080
- var import_typeorm75 = require("typeorm");
13631
+ var import_typeorm80 = require("typeorm");
13081
13632
  var JobFreelancerRecommendation = class {
13082
13633
  };
13083
13634
  __decorateClass([
13084
- (0, import_typeorm75.ViewColumn)({ name: "job_id" })
13635
+ (0, import_typeorm80.ViewColumn)({ name: "job_id" })
13085
13636
  ], JobFreelancerRecommendation.prototype, "jobId", 2);
13086
13637
  __decorateClass([
13087
- (0, import_typeorm75.ViewColumn)({ name: "job_uuid" })
13638
+ (0, import_typeorm80.ViewColumn)({ name: "job_uuid" })
13088
13639
  ], JobFreelancerRecommendation.prototype, "jobUuid", 2);
13089
13640
  __decorateClass([
13090
- (0, import_typeorm75.ViewColumn)({ name: "job_unique_id" })
13641
+ (0, import_typeorm80.ViewColumn)({ name: "job_unique_id" })
13091
13642
  ], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
13092
13643
  __decorateClass([
13093
- (0, import_typeorm75.ViewColumn)({ name: "job_role" })
13644
+ (0, import_typeorm80.ViewColumn)({ name: "job_role" })
13094
13645
  ], JobFreelancerRecommendation.prototype, "jobRole", 2);
13095
13646
  __decorateClass([
13096
- (0, import_typeorm75.ViewColumn)({ name: "job_openings" })
13647
+ (0, import_typeorm80.ViewColumn)({ name: "job_openings" })
13097
13648
  ], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
13098
13649
  __decorateClass([
13099
- (0, import_typeorm75.ViewColumn)({ name: "job_location" })
13650
+ (0, import_typeorm80.ViewColumn)({ name: "job_location" })
13100
13651
  ], JobFreelancerRecommendation.prototype, "jobLocation", 2);
13101
13652
  __decorateClass([
13102
- (0, import_typeorm75.ViewColumn)({ name: "job_currency" })
13653
+ (0, import_typeorm80.ViewColumn)({ name: "job_currency" })
13103
13654
  ], JobFreelancerRecommendation.prototype, "jobCurrency", 2);
13104
13655
  __decorateClass([
13105
- (0, import_typeorm75.ViewColumn)({ name: "job_salary_from" })
13656
+ (0, import_typeorm80.ViewColumn)({ name: "job_salary_from" })
13106
13657
  ], JobFreelancerRecommendation.prototype, "jobSalaryFrom", 2);
13107
13658
  __decorateClass([
13108
- (0, import_typeorm75.ViewColumn)({ name: "job_salary_to" })
13659
+ (0, import_typeorm80.ViewColumn)({ name: "job_salary_to" })
13109
13660
  ], JobFreelancerRecommendation.prototype, "jobSalaryTo", 2);
13110
13661
  __decorateClass([
13111
- (0, import_typeorm75.ViewColumn)({ name: "job_employment_type" })
13662
+ (0, import_typeorm80.ViewColumn)({ name: "job_employment_type" })
13112
13663
  ], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
13113
13664
  __decorateClass([
13114
- (0, import_typeorm75.ViewColumn)({ name: "application_received" })
13665
+ (0, import_typeorm80.ViewColumn)({ name: "application_received" })
13115
13666
  ], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
13116
13667
  __decorateClass([
13117
- (0, import_typeorm75.ViewColumn)({ name: "job_posted_at" })
13668
+ (0, import_typeorm80.ViewColumn)({ name: "job_posted_at" })
13118
13669
  ], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
13119
13670
  __decorateClass([
13120
- (0, import_typeorm75.ViewColumn)({ name: "freelancer_id" })
13671
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_id" })
13121
13672
  ], JobFreelancerRecommendation.prototype, "freelancerId", 2);
13122
13673
  __decorateClass([
13123
- (0, import_typeorm75.ViewColumn)({ name: "freelancer_uuid" })
13674
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_uuid" })
13124
13675
  ], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
13125
13676
  __decorateClass([
13126
- (0, import_typeorm75.ViewColumn)({ name: "freelancer_unique_id" })
13677
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_unique_id" })
13127
13678
  ], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
13128
13679
  __decorateClass([
13129
- (0, import_typeorm75.ViewColumn)({ name: "freelancer_first_name" })
13680
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_first_name" })
13130
13681
  ], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
13131
13682
  __decorateClass([
13132
- (0, import_typeorm75.ViewColumn)({ name: "freelancer_last_name" })
13683
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_last_name" })
13133
13684
  ], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
13134
13685
  __decorateClass([
13135
- (0, import_typeorm75.ViewColumn)({ name: "freelancer_email" })
13686
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_email" })
13136
13687
  ], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
13137
13688
  __decorateClass([
13138
- (0, import_typeorm75.ViewColumn)({ name: "freelancer_profile_picture" })
13689
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_profile_picture" })
13139
13690
  ], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
13140
13691
  __decorateClass([
13141
- (0, import_typeorm75.ViewColumn)({ name: "freelancer_is_social" })
13692
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_is_social" })
13142
13693
  ], JobFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
13143
13694
  __decorateClass([
13144
- (0, import_typeorm75.ViewColumn)({ name: "freelancer_created_at" })
13695
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_created_at" })
13145
13696
  ], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
13146
13697
  __decorateClass([
13147
- (0, import_typeorm75.ViewColumn)({ name: "freelancer_designation" })
13698
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_designation" })
13148
13699
  ], JobFreelancerRecommendation.prototype, "freelancerDesignation", 2);
13149
13700
  __decorateClass([
13150
- (0, import_typeorm75.ViewColumn)({ name: "freelancer_experience" })
13701
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_experience" })
13151
13702
  ], JobFreelancerRecommendation.prototype, "freelancerExperience", 2);
13152
13703
  __decorateClass([
13153
- (0, import_typeorm75.ViewColumn)({ name: "freelancer_expertshub_verified" })
13704
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_expertshub_verified" })
13154
13705
  ], JobFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
13155
13706
  __decorateClass([
13156
- (0, import_typeorm75.ViewColumn)({ name: "freelancer_hourly_compensation" })
13707
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_hourly_compensation" })
13157
13708
  ], JobFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
13158
13709
  __decorateClass([
13159
- (0, import_typeorm75.ViewColumn)({ name: "freelancer_country_name" })
13710
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_country_name" })
13160
13711
  ], JobFreelancerRecommendation.prototype, "freelancerCountryName", 2);
13161
13712
  __decorateClass([
13162
- (0, import_typeorm75.ViewColumn)({ name: "freelancer_country_iso_code" })
13713
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_country_iso_code" })
13163
13714
  ], JobFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
13164
13715
  __decorateClass([
13165
- (0, import_typeorm75.ViewColumn)({ name: "client_id" })
13716
+ (0, import_typeorm80.ViewColumn)({ name: "client_id" })
13166
13717
  ], JobFreelancerRecommendation.prototype, "clientId", 2);
13167
13718
  __decorateClass([
13168
- (0, import_typeorm75.ViewColumn)({ name: "client_uuid" })
13719
+ (0, import_typeorm80.ViewColumn)({ name: "client_uuid" })
13169
13720
  ], JobFreelancerRecommendation.prototype, "clientUuid", 2);
13170
13721
  __decorateClass([
13171
- (0, import_typeorm75.ViewColumn)({ name: "client_first_name" })
13722
+ (0, import_typeorm80.ViewColumn)({ name: "client_first_name" })
13172
13723
  ], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
13173
13724
  __decorateClass([
13174
- (0, import_typeorm75.ViewColumn)({ name: "client_last_name" })
13725
+ (0, import_typeorm80.ViewColumn)({ name: "client_last_name" })
13175
13726
  ], JobFreelancerRecommendation.prototype, "clientLastName", 2);
13176
13727
  __decorateClass([
13177
- (0, import_typeorm75.ViewColumn)({ name: "client_email" })
13728
+ (0, import_typeorm80.ViewColumn)({ name: "client_email" })
13178
13729
  ], JobFreelancerRecommendation.prototype, "clientEmail", 2);
13179
13730
  __decorateClass([
13180
- (0, import_typeorm75.ViewColumn)({ name: "client_company_logo" })
13731
+ (0, import_typeorm80.ViewColumn)({ name: "client_company_logo" })
13181
13732
  ], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
13182
13733
  __decorateClass([
13183
- (0, import_typeorm75.ViewColumn)({ name: "client_company_name" })
13734
+ (0, import_typeorm80.ViewColumn)({ name: "client_company_name" })
13184
13735
  ], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
13185
13736
  __decorateClass([
13186
- (0, import_typeorm75.ViewColumn)({ name: "matching_skills" })
13737
+ (0, import_typeorm80.ViewColumn)({ name: "matching_skills" })
13187
13738
  ], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
13188
13739
  __decorateClass([
13189
- (0, import_typeorm75.ViewColumn)({ name: "matching_skills_count" })
13740
+ (0, import_typeorm80.ViewColumn)({ name: "matching_skills_count" })
13190
13741
  ], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
13191
13742
  __decorateClass([
13192
- (0, import_typeorm75.ViewColumn)({ name: "required_skills" })
13743
+ (0, import_typeorm80.ViewColumn)({ name: "required_skills" })
13193
13744
  ], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
13194
13745
  __decorateClass([
13195
- (0, import_typeorm75.ViewColumn)({ name: "required_skills_count" })
13746
+ (0, import_typeorm80.ViewColumn)({ name: "required_skills_count" })
13196
13747
  ], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
13197
13748
  JobFreelancerRecommendation = __decorateClass([
13198
- (0, import_typeorm75.ViewEntity)({
13749
+ (0, import_typeorm80.ViewEntity)({
13199
13750
  name: "job_freelancer_recommendations",
13200
13751
  materialized: true,
13201
13752
  synchronize: false
@@ -13204,32 +13755,32 @@ JobFreelancerRecommendation = __decorateClass([
13204
13755
  ], JobFreelancerRecommendation);
13205
13756
 
13206
13757
  // src/entities/job-freelancer-recommendation-v2.entity.ts
13207
- var import_typeorm76 = require("typeorm");
13758
+ var import_typeorm81 = require("typeorm");
13208
13759
  var JobFreelancerRecommendationV2 = class {
13209
13760
  };
13210
13761
  __decorateClass([
13211
- (0, import_typeorm76.ViewColumn)({ name: "job_id" })
13762
+ (0, import_typeorm81.ViewColumn)({ name: "job_id" })
13212
13763
  ], JobFreelancerRecommendationV2.prototype, "jobId", 2);
13213
13764
  __decorateClass([
13214
- (0, import_typeorm76.ViewColumn)({ name: "job_owner_id" })
13765
+ (0, import_typeorm81.ViewColumn)({ name: "job_owner_id" })
13215
13766
  ], JobFreelancerRecommendationV2.prototype, "jobOwnerId", 2);
13216
13767
  __decorateClass([
13217
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_id" })
13768
+ (0, import_typeorm81.ViewColumn)({ name: "freelancer_id" })
13218
13769
  ], JobFreelancerRecommendationV2.prototype, "freelancerId", 2);
13219
13770
  __decorateClass([
13220
- (0, import_typeorm76.ViewColumn)({ name: "matching_skills" })
13771
+ (0, import_typeorm81.ViewColumn)({ name: "matching_skills" })
13221
13772
  ], JobFreelancerRecommendationV2.prototype, "matchingSkills", 2);
13222
13773
  __decorateClass([
13223
- (0, import_typeorm76.ViewColumn)({ name: "matching_skills_count" })
13774
+ (0, import_typeorm81.ViewColumn)({ name: "matching_skills_count" })
13224
13775
  ], JobFreelancerRecommendationV2.prototype, "matchingSkillsCount", 2);
13225
13776
  __decorateClass([
13226
- (0, import_typeorm76.ViewColumn)({ name: "required_skills" })
13777
+ (0, import_typeorm81.ViewColumn)({ name: "required_skills" })
13227
13778
  ], JobFreelancerRecommendationV2.prototype, "requiredSkills", 2);
13228
13779
  __decorateClass([
13229
- (0, import_typeorm76.ViewColumn)({ name: "required_skills_count" })
13780
+ (0, import_typeorm81.ViewColumn)({ name: "required_skills_count" })
13230
13781
  ], JobFreelancerRecommendationV2.prototype, "requiredSkillsCount", 2);
13231
13782
  JobFreelancerRecommendationV2 = __decorateClass([
13232
- (0, import_typeorm76.ViewEntity)({
13783
+ (0, import_typeorm81.ViewEntity)({
13233
13784
  name: "job_freelancer_recommendations_v2",
13234
13785
  materialized: true,
13235
13786
  synchronize: false
@@ -13238,74 +13789,74 @@ JobFreelancerRecommendationV2 = __decorateClass([
13238
13789
  ], JobFreelancerRecommendationV2);
13239
13790
 
13240
13791
  // src/entities/client-freelancer-recommendation.entity.ts
13241
- var import_typeorm77 = require("typeorm");
13792
+ var import_typeorm82 = require("typeorm");
13242
13793
  var ClientFreelancerRecommendation = class {
13243
13794
  };
13244
13795
  __decorateClass([
13245
- (0, import_typeorm77.ViewColumn)({ name: "client_id" })
13796
+ (0, import_typeorm82.ViewColumn)({ name: "client_id" })
13246
13797
  ], ClientFreelancerRecommendation.prototype, "clientId", 2);
13247
13798
  __decorateClass([
13248
- (0, import_typeorm77.ViewColumn)({ name: "client_uuid" })
13799
+ (0, import_typeorm82.ViewColumn)({ name: "client_uuid" })
13249
13800
  ], ClientFreelancerRecommendation.prototype, "clientUuid", 2);
13250
13801
  __decorateClass([
13251
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_id" })
13802
+ (0, import_typeorm82.ViewColumn)({ name: "freelancer_id" })
13252
13803
  ], ClientFreelancerRecommendation.prototype, "freelancerId", 2);
13253
13804
  __decorateClass([
13254
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_uuid" })
13805
+ (0, import_typeorm82.ViewColumn)({ name: "freelancer_uuid" })
13255
13806
  ], ClientFreelancerRecommendation.prototype, "freelancerUuid", 2);
13256
13807
  __decorateClass([
13257
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_unique_id" })
13808
+ (0, import_typeorm82.ViewColumn)({ name: "freelancer_unique_id" })
13258
13809
  ], ClientFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
13259
13810
  __decorateClass([
13260
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_first_name" })
13811
+ (0, import_typeorm82.ViewColumn)({ name: "freelancer_first_name" })
13261
13812
  ], ClientFreelancerRecommendation.prototype, "freelancerFirstName", 2);
13262
13813
  __decorateClass([
13263
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_last_name" })
13814
+ (0, import_typeorm82.ViewColumn)({ name: "freelancer_last_name" })
13264
13815
  ], ClientFreelancerRecommendation.prototype, "freelancerLastName", 2);
13265
13816
  __decorateClass([
13266
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_email" })
13817
+ (0, import_typeorm82.ViewColumn)({ name: "freelancer_email" })
13267
13818
  ], ClientFreelancerRecommendation.prototype, "freelancerEmail", 2);
13268
13819
  __decorateClass([
13269
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_profile_picture" })
13820
+ (0, import_typeorm82.ViewColumn)({ name: "freelancer_profile_picture" })
13270
13821
  ], ClientFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
13271
13822
  __decorateClass([
13272
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_is_social" })
13823
+ (0, import_typeorm82.ViewColumn)({ name: "freelancer_is_social" })
13273
13824
  ], ClientFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
13274
13825
  __decorateClass([
13275
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_created_at" })
13826
+ (0, import_typeorm82.ViewColumn)({ name: "freelancer_created_at" })
13276
13827
  ], ClientFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
13277
13828
  __decorateClass([
13278
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_designation" })
13829
+ (0, import_typeorm82.ViewColumn)({ name: "freelancer_designation" })
13279
13830
  ], ClientFreelancerRecommendation.prototype, "freelancerDesignation", 2);
13280
13831
  __decorateClass([
13281
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_experience" })
13832
+ (0, import_typeorm82.ViewColumn)({ name: "freelancer_experience" })
13282
13833
  ], ClientFreelancerRecommendation.prototype, "freelancerExperience", 2);
13283
13834
  __decorateClass([
13284
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_expertshub_verified" })
13835
+ (0, import_typeorm82.ViewColumn)({ name: "freelancer_expertshub_verified" })
13285
13836
  ], ClientFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
13286
13837
  __decorateClass([
13287
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_hourly_compensation" })
13838
+ (0, import_typeorm82.ViewColumn)({ name: "freelancer_hourly_compensation" })
13288
13839
  ], ClientFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
13289
13840
  __decorateClass([
13290
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_country_name" })
13841
+ (0, import_typeorm82.ViewColumn)({ name: "freelancer_country_name" })
13291
13842
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryName", 2);
13292
13843
  __decorateClass([
13293
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_country_iso_code" })
13844
+ (0, import_typeorm82.ViewColumn)({ name: "freelancer_country_iso_code" })
13294
13845
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
13295
13846
  __decorateClass([
13296
- (0, import_typeorm77.ViewColumn)({ name: "matching_skills" })
13847
+ (0, import_typeorm82.ViewColumn)({ name: "matching_skills" })
13297
13848
  ], ClientFreelancerRecommendation.prototype, "matchingSkills", 2);
13298
13849
  __decorateClass([
13299
- (0, import_typeorm77.ViewColumn)({ name: "matching_skills_count" })
13850
+ (0, import_typeorm82.ViewColumn)({ name: "matching_skills_count" })
13300
13851
  ], ClientFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
13301
13852
  __decorateClass([
13302
- (0, import_typeorm77.ViewColumn)({ name: "required_skills" })
13853
+ (0, import_typeorm82.ViewColumn)({ name: "required_skills" })
13303
13854
  ], ClientFreelancerRecommendation.prototype, "requiredSkills", 2);
13304
13855
  __decorateClass([
13305
- (0, import_typeorm77.ViewColumn)({ name: "required_skills_count" })
13856
+ (0, import_typeorm82.ViewColumn)({ name: "required_skills_count" })
13306
13857
  ], ClientFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
13307
13858
  ClientFreelancerRecommendation = __decorateClass([
13308
- (0, import_typeorm77.ViewEntity)({
13859
+ (0, import_typeorm82.ViewEntity)({
13309
13860
  name: "client_freelancer_recommendations",
13310
13861
  materialized: true,
13311
13862
  synchronize: false
@@ -13314,7 +13865,7 @@ ClientFreelancerRecommendation = __decorateClass([
13314
13865
  ], ClientFreelancerRecommendation);
13315
13866
 
13316
13867
  // src/entities/commission.entity.ts
13317
- var import_typeorm78 = require("typeorm");
13868
+ var import_typeorm83 = require("typeorm");
13318
13869
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
13319
13870
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
13320
13871
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -13323,7 +13874,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
13323
13874
  var Commission = class extends BaseEntity {
13324
13875
  };
13325
13876
  __decorateClass([
13326
- (0, import_typeorm78.Column)({
13877
+ (0, import_typeorm83.Column)({
13327
13878
  name: "freelancer_commission_type",
13328
13879
  type: "enum",
13329
13880
  enum: CommissionTypeEnum,
@@ -13331,10 +13882,10 @@ __decorateClass([
13331
13882
  })
13332
13883
  ], Commission.prototype, "freelancerCommissionType", 2);
13333
13884
  __decorateClass([
13334
- (0, import_typeorm78.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
13885
+ (0, import_typeorm83.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
13335
13886
  ], Commission.prototype, "freelancerCommission", 2);
13336
13887
  __decorateClass([
13337
- (0, import_typeorm78.Column)({
13888
+ (0, import_typeorm83.Column)({
13338
13889
  name: "client_commission_type",
13339
13890
  type: "enum",
13340
13891
  enum: CommissionTypeEnum,
@@ -13342,50 +13893,50 @@ __decorateClass([
13342
13893
  })
13343
13894
  ], Commission.prototype, "clientCommissionType", 2);
13344
13895
  __decorateClass([
13345
- (0, import_typeorm78.Column)({ name: "client_commission", type: "integer", default: 0 })
13896
+ (0, import_typeorm83.Column)({ name: "client_commission", type: "integer", default: 0 })
13346
13897
  ], Commission.prototype, "clientCommission", 2);
13347
13898
  Commission = __decorateClass([
13348
- (0, import_typeorm78.Entity)("commissions")
13899
+ (0, import_typeorm83.Entity)("commissions")
13349
13900
  ], Commission);
13350
13901
 
13351
13902
  // src/entities/calendly-meeting-log.entity.ts
13352
- var import_typeorm79 = require("typeorm");
13903
+ var import_typeorm84 = require("typeorm");
13353
13904
  var CalendlyMeetingLog = class extends BaseEntity {
13354
13905
  };
13355
13906
  __decorateClass([
13356
- (0, import_typeorm79.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
13357
- (0, import_typeorm79.Index)()
13907
+ (0, import_typeorm84.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
13908
+ (0, import_typeorm84.Index)()
13358
13909
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
13359
13910
  __decorateClass([
13360
- (0, import_typeorm79.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
13911
+ (0, import_typeorm84.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
13361
13912
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
13362
13913
  __decorateClass([
13363
- (0, import_typeorm79.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13914
+ (0, import_typeorm84.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13364
13915
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
13365
13916
  CalendlyMeetingLog = __decorateClass([
13366
- (0, import_typeorm79.Entity)("calendly_meeting_logs")
13917
+ (0, import_typeorm84.Entity)("calendly_meeting_logs")
13367
13918
  ], CalendlyMeetingLog);
13368
13919
 
13369
13920
  // src/entities/zoom-meeting-log.entity.ts
13370
- var import_typeorm80 = require("typeorm");
13921
+ var import_typeorm85 = require("typeorm");
13371
13922
  var ZoomMeetingLog = class extends BaseEntity {
13372
13923
  };
13373
13924
  __decorateClass([
13374
- (0, import_typeorm80.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
13375
- (0, import_typeorm80.Index)()
13925
+ (0, import_typeorm85.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
13926
+ (0, import_typeorm85.Index)()
13376
13927
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
13377
13928
  __decorateClass([
13378
- (0, import_typeorm80.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
13929
+ (0, import_typeorm85.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
13379
13930
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
13380
13931
  __decorateClass([
13381
- (0, import_typeorm80.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13932
+ (0, import_typeorm85.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13382
13933
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
13383
13934
  ZoomMeetingLog = __decorateClass([
13384
- (0, import_typeorm80.Entity)("zoom_meeting_logs")
13935
+ (0, import_typeorm85.Entity)("zoom_meeting_logs")
13385
13936
  ], ZoomMeetingLog);
13386
13937
 
13387
13938
  // src/entities/docuseal.entity.ts
13388
- var import_typeorm81 = require("typeorm");
13939
+ var import_typeorm86 = require("typeorm");
13389
13940
  var DocuSealTypeEnum = /* @__PURE__ */ ((DocuSealTypeEnum2) => {
13390
13941
  DocuSealTypeEnum2["FREELANCER_SERVICE_AGGREMENT"] = "FREELANCER_SERVICE_AGGREMENT";
13391
13942
  DocuSealTypeEnum2["CLIENT_SERVICE_AGGREMENT"] = "CLIENT_SERVICE_AGGREMENT";
@@ -13395,132 +13946,132 @@ var DocuSealTypeEnum = /* @__PURE__ */ ((DocuSealTypeEnum2) => {
13395
13946
  var DocuSeal = class extends BaseEntity {
13396
13947
  };
13397
13948
  __decorateClass([
13398
- (0, import_typeorm81.Column)({ name: "reference_id", type: "integer", nullable: false }),
13399
- (0, import_typeorm81.Index)()
13949
+ (0, import_typeorm86.Column)({ name: "reference_id", type: "integer", nullable: false }),
13950
+ (0, import_typeorm86.Index)()
13400
13951
  ], DocuSeal.prototype, "referenceId", 2);
13401
13952
  __decorateClass([
13402
- (0, import_typeorm81.Column)({ name: "submitter_id", type: "integer", nullable: true }),
13403
- (0, import_typeorm81.Index)()
13953
+ (0, import_typeorm86.Column)({ name: "submitter_id", type: "integer", nullable: true }),
13954
+ (0, import_typeorm86.Index)()
13404
13955
  ], DocuSeal.prototype, "submitterId", 2);
13405
13956
  __decorateClass([
13406
- (0, import_typeorm81.Column)({ name: "submitter_response", type: "jsonb", nullable: true })
13957
+ (0, import_typeorm86.Column)({ name: "submitter_response", type: "jsonb", nullable: true })
13407
13958
  ], DocuSeal.prototype, "submitterResponse", 2);
13408
13959
  __decorateClass([
13409
- (0, import_typeorm81.Column)({ name: "webhook_response", type: "jsonb", nullable: true })
13960
+ (0, import_typeorm86.Column)({ name: "webhook_response", type: "jsonb", nullable: true })
13410
13961
  ], DocuSeal.prototype, "webhookResponse", 2);
13411
13962
  __decorateClass([
13412
- (0, import_typeorm81.Column)({ name: "type", type: "enum", enum: DocuSealTypeEnum, nullable: true })
13963
+ (0, import_typeorm86.Column)({ name: "type", type: "enum", enum: DocuSealTypeEnum, nullable: true })
13413
13964
  ], DocuSeal.prototype, "type", 2);
13414
13965
  DocuSeal = __decorateClass([
13415
- (0, import_typeorm81.Entity)("docuseal")
13966
+ (0, import_typeorm86.Entity)("docuseal")
13416
13967
  ], DocuSeal);
13417
13968
 
13418
13969
  // src/entities/stripe-logs.entity.ts
13419
- var import_typeorm82 = require("typeorm");
13970
+ var import_typeorm87 = require("typeorm");
13420
13971
  var StripeLog = class extends BaseEntity {
13421
13972
  };
13422
13973
  __decorateClass([
13423
- (0, import_typeorm82.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
13974
+ (0, import_typeorm87.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
13424
13975
  ], StripeLog.prototype, "stripeEventId", 2);
13425
13976
  __decorateClass([
13426
- (0, import_typeorm82.Column)({ name: "event_type", type: "varchar", nullable: true })
13977
+ (0, import_typeorm87.Column)({ name: "event_type", type: "varchar", nullable: true })
13427
13978
  ], StripeLog.prototype, "eventType", 2);
13428
13979
  __decorateClass([
13429
- (0, import_typeorm82.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
13980
+ (0, import_typeorm87.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
13430
13981
  ], StripeLog.prototype, "stripeAccountId", 2);
13431
13982
  __decorateClass([
13432
- (0, import_typeorm82.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13983
+ (0, import_typeorm87.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13433
13984
  ], StripeLog.prototype, "rawWebhookData", 2);
13434
13985
  StripeLog = __decorateClass([
13435
- (0, import_typeorm82.Entity)("stripe_logs")
13986
+ (0, import_typeorm87.Entity)("stripe_logs")
13436
13987
  ], StripeLog);
13437
13988
 
13438
13989
  // src/entities/recommendation-weightage-config.entity.ts
13439
- var import_typeorm83 = require("typeorm");
13990
+ var import_typeorm88 = require("typeorm");
13440
13991
  var RecommendationWeightageConfig = class extends BaseEntity {
13441
13992
  };
13442
13993
  __decorateClass([
13443
- (0, import_typeorm83.Column)({
13994
+ (0, import_typeorm88.Column)({
13444
13995
  type: "varchar",
13445
13996
  length: 100,
13446
13997
  unique: true,
13447
13998
  comment: "Unique key identifier (e.g., full_time_weights, hourly_weights)"
13448
13999
  }),
13449
- (0, import_typeorm83.Index)()
14000
+ (0, import_typeorm88.Index)()
13450
14001
  ], RecommendationWeightageConfig.prototype, "key", 2);
13451
14002
  __decorateClass([
13452
- (0, import_typeorm83.Column)({
14003
+ (0, import_typeorm88.Column)({
13453
14004
  type: "jsonb",
13454
14005
  comment: "JSON object containing weight values",
13455
14006
  nullable: true
13456
14007
  })
13457
14008
  ], RecommendationWeightageConfig.prototype, "value", 2);
13458
14009
  __decorateClass([
13459
- (0, import_typeorm83.Column)({ name: "is_active", type: "boolean", default: true })
14010
+ (0, import_typeorm88.Column)({ name: "is_active", type: "boolean", default: true })
13460
14011
  ], RecommendationWeightageConfig.prototype, "isActive", 2);
13461
14012
  RecommendationWeightageConfig = __decorateClass([
13462
- (0, import_typeorm83.Entity)("recommendation_weightage_configs")
14013
+ (0, import_typeorm88.Entity)("recommendation_weightage_configs")
13463
14014
  ], RecommendationWeightageConfig);
13464
14015
 
13465
14016
  // src/entities/global-setting.entity.ts
13466
- var import_typeorm84 = require("typeorm");
14017
+ var import_typeorm89 = require("typeorm");
13467
14018
  var GlobalSetting = class extends BaseEntity {
13468
14019
  };
13469
14020
  __decorateClass([
13470
- (0, import_typeorm84.Column)({ name: "key", type: "varchar", length: 255, nullable: false, unique: true })
14021
+ (0, import_typeorm89.Column)({ name: "key", type: "varchar", length: 255, nullable: false, unique: true })
13471
14022
  ], GlobalSetting.prototype, "key", 2);
13472
14023
  __decorateClass([
13473
- (0, import_typeorm84.Column)({ name: "value", type: "text", nullable: false })
14024
+ (0, import_typeorm89.Column)({ name: "value", type: "text", nullable: false })
13474
14025
  ], GlobalSetting.prototype, "value", 2);
13475
14026
  GlobalSetting = __decorateClass([
13476
- (0, import_typeorm84.Entity)("global_settings"),
13477
- (0, import_typeorm84.Index)(["key"], { unique: true })
14027
+ (0, import_typeorm89.Entity)("global_settings"),
14028
+ (0, import_typeorm89.Index)(["key"], { unique: true })
13478
14029
  ], GlobalSetting);
13479
14030
 
13480
14031
  // src/entities/plan.entity.ts
13481
- var import_typeorm87 = require("typeorm");
14032
+ var import_typeorm92 = require("typeorm");
13482
14033
 
13483
14034
  // src/entities/plan-feature.entity.ts
13484
- var import_typeorm85 = require("typeorm");
14035
+ var import_typeorm90 = require("typeorm");
13485
14036
  var PlanFeature = class extends BaseEntity {
13486
14037
  };
13487
14038
  // individual index to find features by plan
13488
14039
  __decorateClass([
13489
- (0, import_typeorm85.Column)({ name: "plan_id", type: "integer", nullable: false }),
13490
- (0, import_typeorm85.Index)()
14040
+ (0, import_typeorm90.Column)({ name: "plan_id", type: "integer", nullable: false }),
14041
+ (0, import_typeorm90.Index)()
13491
14042
  ], PlanFeature.prototype, "planId", 2);
13492
14043
  __decorateClass([
13493
- (0, import_typeorm85.ManyToOne)(() => Plan, (plan) => plan.features, {
14044
+ (0, import_typeorm90.ManyToOne)(() => Plan, (plan) => plan.features, {
13494
14045
  onDelete: "CASCADE",
13495
14046
  nullable: false
13496
14047
  }),
13497
- (0, import_typeorm85.JoinColumn)({ name: "plan_id" })
14048
+ (0, import_typeorm90.JoinColumn)({ name: "plan_id" })
13498
14049
  ], PlanFeature.prototype, "plan", 2);
13499
14050
  __decorateClass([
13500
- (0, import_typeorm85.Column)({ name: "name", type: "varchar", length: 200 })
14051
+ (0, import_typeorm90.Column)({ name: "name", type: "varchar", length: 200 })
13501
14052
  ], PlanFeature.prototype, "name", 2);
13502
14053
  __decorateClass([
13503
- (0, import_typeorm85.Column)({ name: "slug", type: "varchar", length: 100 }),
13504
- (0, import_typeorm85.Index)()
14054
+ (0, import_typeorm90.Column)({ name: "slug", type: "varchar", length: 100 }),
14055
+ (0, import_typeorm90.Index)()
13505
14056
  ], PlanFeature.prototype, "slug", 2);
13506
14057
  __decorateClass([
13507
- (0, import_typeorm85.Column)({ name: "tooltip", type: "varchar", length: 300, nullable: true })
14058
+ (0, import_typeorm90.Column)({ name: "tooltip", type: "varchar", length: 300, nullable: true })
13508
14059
  ], PlanFeature.prototype, "tooltip", 2);
13509
14060
  __decorateClass([
13510
- (0, import_typeorm85.Column)({ name: "sort_order", type: "smallint", default: 0 })
14061
+ (0, import_typeorm90.Column)({ name: "sort_order", type: "smallint", default: 0 })
13511
14062
  ], PlanFeature.prototype, "sortOrder", 2);
13512
14063
  __decorateClass([
13513
- (0, import_typeorm85.Column)({ name: "is_active", type: "boolean", default: true })
14064
+ (0, import_typeorm90.Column)({ name: "is_active", type: "boolean", default: true })
13514
14065
  ], PlanFeature.prototype, "isActive", 2);
13515
14066
  PlanFeature = __decorateClass([
13516
- (0, import_typeorm85.Entity)("plan_features"),
13517
- (0, import_typeorm85.Index)("idx_plan_features_plan_id", ["planId"]),
13518
- (0, import_typeorm85.Index)("idx_plan_features_plan_sort", ["planId", "sortOrder"]),
13519
- (0, import_typeorm85.Check)("chk_plan_features_sort_order_positive", '"sort_order" >= 0')
14067
+ (0, import_typeorm90.Entity)("plan_features"),
14068
+ (0, import_typeorm90.Index)("idx_plan_features_plan_id", ["planId"]),
14069
+ (0, import_typeorm90.Index)("idx_plan_features_plan_sort", ["planId", "sortOrder"]),
14070
+ (0, import_typeorm90.Check)("chk_plan_features_sort_order_positive", '"sort_order" >= 0')
13520
14071
  ], PlanFeature);
13521
14072
 
13522
14073
  // src/entities/plan-pricing.entity.ts
13523
- var import_typeorm86 = require("typeorm");
14074
+ var import_typeorm91 = require("typeorm");
13524
14075
  var PlanPricingBillingCycleEnum = /* @__PURE__ */ ((PlanPricingBillingCycleEnum2) => {
13525
14076
  PlanPricingBillingCycleEnum2["MONTHLY"] = "monthly";
13526
14077
  PlanPricingBillingCycleEnum2["YEARLY"] = "yearly";
@@ -13575,61 +14126,61 @@ var PlanPricing = class extends BaseEntity {
13575
14126
  };
13576
14127
  // individual index to find pricing by plan
13577
14128
  __decorateClass([
13578
- (0, import_typeorm86.Column)({ name: "plan_id", type: "integer", nullable: false }),
13579
- (0, import_typeorm86.Index)()
14129
+ (0, import_typeorm91.Column)({ name: "plan_id", type: "integer", nullable: false }),
14130
+ (0, import_typeorm91.Index)()
13580
14131
  ], PlanPricing.prototype, "planId", 2);
13581
14132
  __decorateClass([
13582
- (0, import_typeorm86.ManyToOne)(() => Plan, (plan) => plan.pricing, {
14133
+ (0, import_typeorm91.ManyToOne)(() => Plan, (plan) => plan.pricing, {
13583
14134
  onDelete: "CASCADE",
13584
14135
  nullable: false
13585
14136
  }),
13586
- (0, import_typeorm86.JoinColumn)({ name: "plan_id" })
14137
+ (0, import_typeorm91.JoinColumn)({ name: "plan_id" })
13587
14138
  ], PlanPricing.prototype, "plan", 2);
13588
14139
  __decorateClass([
13589
- (0, import_typeorm86.Column)({
14140
+ (0, import_typeorm91.Column)({
13590
14141
  name: "billing_cycle",
13591
14142
  type: "enum",
13592
14143
  enum: PlanPricingBillingCycleEnum
13593
14144
  })
13594
14145
  ], PlanPricing.prototype, "billingCycle", 2);
13595
14146
  __decorateClass([
13596
- (0, import_typeorm86.Column)({ name: "price", type: "decimal", precision: 10, scale: 2, default: 0 })
14147
+ (0, import_typeorm91.Column)({ name: "price", type: "decimal", precision: 10, scale: 2, default: 0 })
13597
14148
  ], PlanPricing.prototype, "price", 2);
13598
14149
  __decorateClass([
13599
- (0, import_typeorm86.Column)({ name: "original_price", type: "decimal", precision: 10, scale: 2, nullable: true })
14150
+ (0, import_typeorm91.Column)({ name: "original_price", type: "decimal", precision: 10, scale: 2, nullable: true })
13600
14151
  ], PlanPricing.prototype, "originalPrice", 2);
13601
14152
  __decorateClass([
13602
- (0, import_typeorm86.Column)({ name: "discount_pct", type: "smallint", nullable: true })
14153
+ (0, import_typeorm91.Column)({ name: "discount_pct", type: "smallint", nullable: true })
13603
14154
  ], PlanPricing.prototype, "discountPct", 2);
13604
14155
  __decorateClass([
13605
- (0, import_typeorm86.Column)({ name: "currency", type: "varchar", length: 3, default: "USD" })
14156
+ (0, import_typeorm91.Column)({ name: "currency", type: "varchar", length: 3, default: "USD" })
13606
14157
  ], PlanPricing.prototype, "currency", 2);
13607
14158
  __decorateClass([
13608
- (0, import_typeorm86.Column)({ name: "is_free", type: "boolean", default: false })
14159
+ (0, import_typeorm91.Column)({ name: "is_free", type: "boolean", default: false })
13609
14160
  ], PlanPricing.prototype, "isFree", 2);
13610
14161
  __decorateClass([
13611
- (0, import_typeorm86.Column)({ name: "stripe_price_id", type: "varchar", length: 100, nullable: true, unique: true })
14162
+ (0, import_typeorm91.Column)({ name: "stripe_price_id", type: "varchar", length: 100, nullable: true, unique: true })
13612
14163
  ], PlanPricing.prototype, "stripePriceId", 2);
13613
14164
  __decorateClass([
13614
- (0, import_typeorm86.Column)({ name: "trial_days", type: "smallint", default: 0 })
14165
+ (0, import_typeorm91.Column)({ name: "trial_days", type: "smallint", default: 0 })
13615
14166
  ], PlanPricing.prototype, "trialDays", 2);
13616
14167
  __decorateClass([
13617
- (0, import_typeorm86.Column)({ name: "is_active", type: "boolean", default: true })
14168
+ (0, import_typeorm91.Column)({ name: "is_active", type: "boolean", default: true })
13618
14169
  ], PlanPricing.prototype, "isActive", 2);
13619
14170
  __decorateClass([
13620
- (0, import_typeorm86.BeforeInsert)(),
13621
- (0, import_typeorm86.BeforeUpdate)()
14171
+ (0, import_typeorm91.BeforeInsert)(),
14172
+ (0, import_typeorm91.BeforeUpdate)()
13622
14173
  ], PlanPricing.prototype, "sanitize", 1);
13623
14174
  PlanPricing = __decorateClass([
13624
- (0, import_typeorm86.Entity)("plan_pricings"),
13625
- (0, import_typeorm86.Unique)("uq_plan_pricings_plan_cycle", ["planId", "billingCycle"]),
13626
- (0, import_typeorm86.Index)("idx_plan_pricings_plan_id", ["planId"]),
13627
- (0, import_typeorm86.Index)("idx_plan_pricings_active", ["isActive", "billingCycle"]),
13628
- (0, import_typeorm86.Check)("chk_plan_pricings_free_price_zero", '("is_free" = false) OR ("is_free" = true AND "price" = 0)'),
13629
- (0, import_typeorm86.Check)("chk_plan_pricings_trial_days_non_negative", '"trial_days" >= 0'),
13630
- (0, import_typeorm86.Check)("chk_plan_pricings_discount_range", '"discount_pct" IS NULL OR ("discount_pct" >= 1 AND "discount_pct" <= 99)'),
13631
- (0, import_typeorm86.Check)("chk_plan_pricings_original_gte_price", '"original_price" IS NULL OR "original_price" >= "price"'),
13632
- (0, import_typeorm86.Check)("chk_plan_pricings_original_price_non_negative", '"original_price" IS NULL OR "original_price" >= 0')
14175
+ (0, import_typeorm91.Entity)("plan_pricings"),
14176
+ (0, import_typeorm91.Unique)("uq_plan_pricings_plan_cycle", ["planId", "billingCycle"]),
14177
+ (0, import_typeorm91.Index)("idx_plan_pricings_plan_id", ["planId"]),
14178
+ (0, import_typeorm91.Index)("idx_plan_pricings_active", ["isActive", "billingCycle"]),
14179
+ (0, import_typeorm91.Check)("chk_plan_pricings_free_price_zero", '("is_free" = false) OR ("is_free" = true AND "price" = 0)'),
14180
+ (0, import_typeorm91.Check)("chk_plan_pricings_trial_days_non_negative", '"trial_days" >= 0'),
14181
+ (0, import_typeorm91.Check)("chk_plan_pricings_discount_range", '"discount_pct" IS NULL OR ("discount_pct" >= 1 AND "discount_pct" <= 99)'),
14182
+ (0, import_typeorm91.Check)("chk_plan_pricings_original_gte_price", '"original_price" IS NULL OR "original_price" >= "price"'),
14183
+ (0, import_typeorm91.Check)("chk_plan_pricings_original_price_non_negative", '"original_price" IS NULL OR "original_price" >= 0')
13633
14184
  ], PlanPricing);
13634
14185
 
13635
14186
  // src/entities/plan.entity.ts
@@ -13646,22 +14197,22 @@ var Plan = class extends BaseEntity {
13646
14197
  }
13647
14198
  };
13648
14199
  __decorateClass([
13649
- (0, import_typeorm87.Column)({ name: "name", type: "varchar", length: 100 })
14200
+ (0, import_typeorm92.Column)({ name: "name", type: "varchar", length: 100 })
13650
14201
  ], Plan.prototype, "name", 2);
13651
14202
  __decorateClass([
13652
- (0, import_typeorm87.Column)({ name: "slug", type: "varchar", length: 100 })
14203
+ (0, import_typeorm92.Column)({ name: "slug", type: "varchar", length: 100 })
13653
14204
  ], Plan.prototype, "slug", 2);
13654
14205
  __decorateClass([
13655
- (0, import_typeorm87.Column)({ name: "badge_label", type: "varchar", length: 60, nullable: true })
14206
+ (0, import_typeorm92.Column)({ name: "badge_label", type: "varchar", length: 60, nullable: true })
13656
14207
  ], Plan.prototype, "badgeLabel", 2);
13657
14208
  __decorateClass([
13658
- (0, import_typeorm87.Column)({ name: "sort_order", type: "smallint", default: 0 })
14209
+ (0, import_typeorm92.Column)({ name: "sort_order", type: "smallint", default: 0 })
13659
14210
  ], Plan.prototype, "sortOrder", 2);
13660
14211
  __decorateClass([
13661
- (0, import_typeorm87.Column)({ name: "is_active", type: "boolean", default: true })
14212
+ (0, import_typeorm92.Column)({ name: "is_active", type: "boolean", default: true })
13662
14213
  ], Plan.prototype, "isActive", 2);
13663
14214
  __decorateClass([
13664
- (0, import_typeorm87.Column)({
14215
+ (0, import_typeorm92.Column)({
13665
14216
  name: "plan_type",
13666
14217
  type: "enum",
13667
14218
  enum: PlanTypeEnum,
@@ -13669,31 +14220,31 @@ __decorateClass([
13669
14220
  })
13670
14221
  ], Plan.prototype, "planType", 2);
13671
14222
  __decorateClass([
13672
- (0, import_typeorm87.Column)({ name: "metadata", type: "jsonb", default: {} })
14223
+ (0, import_typeorm92.Column)({ name: "metadata", type: "jsonb", default: {} })
13673
14224
  ], Plan.prototype, "metadata", 2);
13674
14225
  __decorateClass([
13675
- (0, import_typeorm87.BeforeInsert)(),
13676
- (0, import_typeorm87.BeforeUpdate)()
14226
+ (0, import_typeorm92.BeforeInsert)(),
14227
+ (0, import_typeorm92.BeforeUpdate)()
13677
14228
  ], Plan.prototype, "createSlug", 1);
13678
14229
  __decorateClass([
13679
- (0, import_typeorm87.OneToMany)(() => PlanFeature, (feature) => feature.plan, {
14230
+ (0, import_typeorm92.OneToMany)(() => PlanFeature, (feature) => feature.plan, {
13680
14231
  cascade: ["insert", "update"]
13681
14232
  })
13682
14233
  ], Plan.prototype, "features", 2);
13683
14234
  __decorateClass([
13684
- (0, import_typeorm87.OneToMany)(() => PlanPricing, (pricing) => pricing.plan, {
14235
+ (0, import_typeorm92.OneToMany)(() => PlanPricing, (pricing) => pricing.plan, {
13685
14236
  cascade: ["insert", "update"]
13686
14237
  })
13687
14238
  ], Plan.prototype, "pricing", 2);
13688
14239
  Plan = __decorateClass([
13689
- (0, import_typeorm87.Entity)("plans"),
13690
- (0, import_typeorm87.Index)("idx_plans_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
13691
- (0, import_typeorm87.Index)("idx_plans_active_sort", ["isActive", "sortOrder"]),
13692
- (0, import_typeorm87.Check)("chk_plans_sort_order_positive", '"sort_order" >= 0')
14240
+ (0, import_typeorm92.Entity)("plans"),
14241
+ (0, import_typeorm92.Index)("idx_plans_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
14242
+ (0, import_typeorm92.Index)("idx_plans_active_sort", ["isActive", "sortOrder"]),
14243
+ (0, import_typeorm92.Check)("chk_plans_sort_order_positive", '"sort_order" >= 0')
13693
14244
  ], Plan);
13694
14245
 
13695
14246
  // src/entities/subscription-feature.entity.ts
13696
- var import_typeorm88 = require("typeorm");
14247
+ var import_typeorm93 = require("typeorm");
13697
14248
  var SubscriptionFeature = class extends BaseEntity {
13698
14249
  toSlug(value) {
13699
14250
  return value.toLowerCase().trim().replace(/\s+/g, "-").replace(/[^a-z0-9-]/g, "").replace(/-+/g, "-").replace(/^-|-$/g, "");
@@ -13708,29 +14259,29 @@ var SubscriptionFeature = class extends BaseEntity {
13708
14259
  }
13709
14260
  };
13710
14261
  __decorateClass([
13711
- (0, import_typeorm88.Column)({ name: "name", type: "varchar", length: 200 })
14262
+ (0, import_typeorm93.Column)({ name: "name", type: "varchar", length: 200 })
13712
14263
  ], SubscriptionFeature.prototype, "name", 2);
13713
14264
  __decorateClass([
13714
- (0, import_typeorm88.Column)({ name: "slug", type: "varchar", length: 100 })
14265
+ (0, import_typeorm93.Column)({ name: "slug", type: "varchar", length: 100 })
13715
14266
  ], SubscriptionFeature.prototype, "slug", 2);
13716
14267
  __decorateClass([
13717
- (0, import_typeorm88.Column)({ name: "tooltip", type: "varchar", length: 300, nullable: true })
14268
+ (0, import_typeorm93.Column)({ name: "tooltip", type: "varchar", length: 300, nullable: true })
13718
14269
  ], SubscriptionFeature.prototype, "tooltip", 2);
13719
14270
  __decorateClass([
13720
- (0, import_typeorm88.Column)({ name: "sort_order", type: "smallint", default: 0 })
14271
+ (0, import_typeorm93.Column)({ name: "sort_order", type: "smallint", default: 0 })
13721
14272
  ], SubscriptionFeature.prototype, "sortOrder", 2);
13722
14273
  __decorateClass([
13723
- (0, import_typeorm88.Column)({ name: "is_active", type: "boolean", default: true })
14274
+ (0, import_typeorm93.Column)({ name: "is_active", type: "boolean", default: true })
13724
14275
  ], SubscriptionFeature.prototype, "isActive", 2);
13725
14276
  __decorateClass([
13726
- (0, import_typeorm88.BeforeInsert)(),
13727
- (0, import_typeorm88.BeforeUpdate)()
14277
+ (0, import_typeorm93.BeforeInsert)(),
14278
+ (0, import_typeorm93.BeforeUpdate)()
13728
14279
  ], SubscriptionFeature.prototype, "createSlug", 1);
13729
14280
  SubscriptionFeature = __decorateClass([
13730
- (0, import_typeorm88.Entity)("subscription_features"),
13731
- (0, import_typeorm88.Index)("idx_subscription_features_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
13732
- (0, import_typeorm88.Index)("idx_subscription_features_active_sort", ["isActive", "sortOrder"]),
13733
- (0, import_typeorm88.Check)("chk_subscription_features_sort_order_positive", '"sort_order" >= 0')
14281
+ (0, import_typeorm93.Entity)("subscription_features"),
14282
+ (0, import_typeorm93.Index)("idx_subscription_features_slug", ["slug"], { unique: true, where: '"is_deleted" IS FALSE' }),
14283
+ (0, import_typeorm93.Index)("idx_subscription_features_active_sort", ["isActive", "sortOrder"]),
14284
+ (0, import_typeorm93.Check)("chk_subscription_features_sort_order_positive", '"sort_order" >= 0')
13734
14285
  ], SubscriptionFeature);
13735
14286
  // Annotate the CommonJS export names for ESM import in node:
13736
14287
  0 && (module.exports = {
@@ -13743,6 +14294,7 @@ SubscriptionFeature = __decorateClass([
13743
14294
  AUTHENTICATION_PATTERN,
13744
14295
  AccountStatus,
13745
14296
  AccountType,
14297
+ AddClientRemarkDto,
13746
14298
  AddGlobalSettingDto,
13747
14299
  AddTopupEscrowAmountDto,
13748
14300
  AdminCreateJobInformationDto,
@@ -13860,6 +14412,7 @@ SubscriptionFeature = __decorateClass([
13860
14412
  CreateQuestionDto,
13861
14413
  CreateRatingDto,
13862
14414
  CreateSubAdminDto,
14415
+ CreateTaskDto,
13863
14416
  CreateUserSigningDto,
13864
14417
  CustomQuestionItemDto,
13865
14418
  DISPUTE_PATTERN,
@@ -14000,6 +14553,7 @@ SubscriptionFeature = __decorateClass([
14000
14553
  MAINTENANCE_PATTERN,
14001
14554
  MarkCandidateStatusBulkDto,
14002
14555
  MarkCandidateStatusDto,
14556
+ MarkTaskAsCompletedDto,
14003
14557
  McqStatusEnum,
14004
14558
  ModeOfHire,
14005
14559
  ModeOfWork,
@@ -14089,8 +14643,20 @@ SubscriptionFeature = __decorateClass([
14089
14643
  SubscriptionFeature,
14090
14644
  SystemPreference,
14091
14645
  SystemPreferenceDto,
14646
+ TASK_PATTERN,
14092
14647
  TIMESHEET_CLIENT_PATTERN,
14093
14648
  TIMESHEET_FREELANCER_PATTERN,
14649
+ Task,
14650
+ TaskChecklistItem,
14651
+ TaskDeliverable,
14652
+ TaskDeliverableTypeEnum,
14653
+ TaskPriorityEnum,
14654
+ TaskResource,
14655
+ TaskResourceTypeEnum,
14656
+ TaskStatusEnum,
14657
+ TaskSubtask,
14658
+ TaskSubtaskStatusEnum,
14659
+ TaskUuidParamDto,
14094
14660
  TestNotificationDto,
14095
14661
  Timesheet,
14096
14662
  TimesheetLine,
@@ -14117,6 +14683,7 @@ SubscriptionFeature = __decorateClass([
14117
14683
  UpdateCompanyMemberDto,
14118
14684
  UpdateCompanyProfileDto,
14119
14685
  UpdateCompanyRoleDto,
14686
+ UpdateEstimateTimeDto,
14120
14687
  UpdateFreelancerDto,
14121
14688
  UpdateFreelancerProfileDto,
14122
14689
  UpdateFreelancerTimesheetDto,
@@ -14127,6 +14694,7 @@ SubscriptionFeature = __decorateClass([
14127
14694
  UpdateIsReadDto,
14128
14695
  UpdateSubAdminAccountStatusDto,
14129
14696
  UpdateSubAdminDto,
14697
+ UpdateTaskDto,
14130
14698
  User,
14131
14699
  UserRMQAdapter,
14132
14700
  UserTCPAdapter,