@experts_hub/shared 1.0.393 → 1.0.394

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1420,17 +1420,17 @@ import {
1420
1420
  } from "class-validator";
1421
1421
 
1422
1422
  // src/entities/rating.entity.ts
1423
- import { Entity as Entity51, Column as Column52, ManyToOne as ManyToOne45, JoinColumn as JoinColumn46, Index as Index44 } from "typeorm";
1423
+ import { Entity as Entity53, Column as Column54, ManyToOne as ManyToOne47, JoinColumn as JoinColumn48, Index as Index46 } from "typeorm";
1424
1424
 
1425
1425
  // src/entities/user.entity.ts
1426
1426
  import {
1427
- Entity as Entity50,
1428
- Column as Column51,
1429
- OneToMany as OneToMany18,
1430
- OneToOne as OneToOne4,
1431
- Index as Index43,
1432
- ManyToOne as ManyToOne44,
1433
- JoinColumn as JoinColumn45
1427
+ Entity as Entity52,
1428
+ Column as Column53,
1429
+ OneToMany as OneToMany19,
1430
+ OneToOne as OneToOne5,
1431
+ Index as Index45,
1432
+ ManyToOne as ManyToOne46,
1433
+ JoinColumn as JoinColumn47
1434
1434
  } from "typeorm";
1435
1435
 
1436
1436
  // src/entities/base.entity.ts
@@ -2148,12 +2148,12 @@ CompanyProfile = __decorateClass([
2148
2148
 
2149
2149
  // src/entities/job.entity.ts
2150
2150
  import {
2151
- Entity as Entity22,
2152
- Column as Column23,
2153
- Index as Index16,
2154
- ManyToOne as ManyToOne21,
2155
- JoinColumn as JoinColumn21,
2156
- OneToMany as OneToMany9
2151
+ Entity as Entity24,
2152
+ Column as Column25,
2153
+ Index as Index18,
2154
+ ManyToOne as ManyToOne23,
2155
+ JoinColumn as JoinColumn23,
2156
+ OneToMany as OneToMany10
2157
2157
  } from "typeorm";
2158
2158
 
2159
2159
  // src/entities/job-skill.entity.ts
@@ -3130,6 +3130,122 @@ Timesheet = __decorateClass([
3130
3130
  Entity21("timesheets")
3131
3131
  ], Timesheet);
3132
3132
 
3133
+ // src/entities/timesheet-line.entity.ts
3134
+ import { Entity as Entity23, Column as Column24, Index as Index17, JoinColumn as JoinColumn22, OneToMany as OneToMany9, ManyToOne as ManyToOne22 } from "typeorm";
3135
+
3136
+ // src/entities/timesheet-logs.entity.ts
3137
+ import { Entity as Entity22, Column as Column23, Index as Index16, ManyToOne as ManyToOne21, JoinColumn as JoinColumn21 } from "typeorm";
3138
+ var TimesheetLogs = class extends BaseEntity {
3139
+ };
3140
+ __decorateClass([
3141
+ Column23({ name: "timesheet_line_id", type: "integer", nullable: false }),
3142
+ Index16()
3143
+ ], TimesheetLogs.prototype, "timesheetLineId", 2);
3144
+ __decorateClass([
3145
+ ManyToOne21(() => TimesheetLine, (timesheetLine) => timesheetLine.timesheetLogs),
3146
+ JoinColumn21({ name: "timesheet_line_id" })
3147
+ ], TimesheetLogs.prototype, "timesheetLine", 2);
3148
+ __decorateClass([
3149
+ Column23({
3150
+ name: "start_date",
3151
+ type: "date",
3152
+ nullable: true
3153
+ })
3154
+ ], TimesheetLogs.prototype, "startDate", 2);
3155
+ __decorateClass([
3156
+ Column23({
3157
+ name: "end_date",
3158
+ type: "date",
3159
+ nullable: true
3160
+ })
3161
+ ], TimesheetLogs.prototype, "endDate", 2);
3162
+ __decorateClass([
3163
+ Column23({ name: "start_time", type: "varchar", nullable: true })
3164
+ ], TimesheetLogs.prototype, "startTime", 2);
3165
+ __decorateClass([
3166
+ Column23({ name: "end_time", type: "varchar", nullable: true })
3167
+ ], TimesheetLogs.prototype, "endTime", 2);
3168
+ __decorateClass([
3169
+ Column23({ name: "worked_hours", type: "varchar", nullable: true })
3170
+ ], TimesheetLogs.prototype, "workedHours", 2);
3171
+ __decorateClass([
3172
+ Column23({ name: "task_id", type: "integer", nullable: true })
3173
+ ], TimesheetLogs.prototype, "taskId", 2);
3174
+ __decorateClass([
3175
+ Column23({ name: "task_name", type: "varchar", nullable: true })
3176
+ ], TimesheetLogs.prototype, "taskName", 2);
3177
+ __decorateClass([
3178
+ Column23({ name: "description", type: "varchar", nullable: true })
3179
+ ], TimesheetLogs.prototype, "description", 2);
3180
+ TimesheetLogs = __decorateClass([
3181
+ Entity22("timesheet-logs")
3182
+ ], TimesheetLogs);
3183
+
3184
+ // src/entities/timesheet-line.entity.ts
3185
+ var TimesheetLineStatusEnum = /* @__PURE__ */ ((TimesheetLineStatusEnum2) => {
3186
+ TimesheetLineStatusEnum2["DRAFT"] = "DRAFT";
3187
+ TimesheetLineStatusEnum2["SEND"] = "SEND";
3188
+ TimesheetLineStatusEnum2["SEND_BACK"] = "SEND_BACK";
3189
+ TimesheetLineStatusEnum2["APPROVED"] = "APPROVED";
3190
+ TimesheetLineStatusEnum2["REJECTED"] = "REJECTED";
3191
+ TimesheetLineStatusEnum2["PAID"] = "PAID";
3192
+ TimesheetLineStatusEnum2["MISSING"] = "MISSING";
3193
+ TimesheetLineStatusEnum2["ACTIVE"] = "ACTIVE";
3194
+ return TimesheetLineStatusEnum2;
3195
+ })(TimesheetLineStatusEnum || {});
3196
+ var TimesheetLine = class extends BaseEntity {
3197
+ };
3198
+ __decorateClass([
3199
+ Column24({ name: "job_id", type: "integer", nullable: true }),
3200
+ Index17()
3201
+ ], TimesheetLine.prototype, "jobId", 2);
3202
+ __decorateClass([
3203
+ ManyToOne22(() => Job, (job) => job.timesheetLine),
3204
+ JoinColumn22({ name: "job_id" })
3205
+ ], TimesheetLine.prototype, "job", 2);
3206
+ __decorateClass([
3207
+ Column24({ name: "client_id", type: "integer", nullable: true }),
3208
+ Index17()
3209
+ ], TimesheetLine.prototype, "clientId", 2);
3210
+ __decorateClass([
3211
+ ManyToOne22(() => User, (user) => user.clientTimesheetLine),
3212
+ JoinColumn22({ name: "client_id" })
3213
+ ], TimesheetLine.prototype, "client", 2);
3214
+ __decorateClass([
3215
+ Column24({ name: "freelancer_id", type: "integer", nullable: true }),
3216
+ Index17()
3217
+ ], TimesheetLine.prototype, "freelancerId", 2);
3218
+ __decorateClass([
3219
+ ManyToOne22(() => User, (user) => user.freelancerTimesheetLine),
3220
+ JoinColumn22({ name: "freelancer_id" })
3221
+ ], TimesheetLine.prototype, "freelancer", 2);
3222
+ __decorateClass([
3223
+ OneToMany9(() => TimesheetLogs, (timesheetLogs) => timesheetLogs.timesheetLineId)
3224
+ ], TimesheetLine.prototype, "timesheetLogs", 2);
3225
+ __decorateClass([
3226
+ Column24({ name: "unique_id", type: "varchar", nullable: true })
3227
+ ], TimesheetLine.prototype, "uniqueId", 2);
3228
+ __decorateClass([
3229
+ Column24({
3230
+ name: "week_start_date",
3231
+ type: "date",
3232
+ nullable: true
3233
+ })
3234
+ ], TimesheetLine.prototype, "weekStartDate", 2);
3235
+ __decorateClass([
3236
+ Column24({
3237
+ name: "week_end_date",
3238
+ type: "date",
3239
+ nullable: true
3240
+ })
3241
+ ], TimesheetLine.prototype, "weekEndDate", 2);
3242
+ __decorateClass([
3243
+ Column24({ name: "status", type: "enum", enum: TimesheetLineStatusEnum, nullable: true })
3244
+ ], TimesheetLine.prototype, "status", 2);
3245
+ TimesheetLine = __decorateClass([
3246
+ Entity23("timesheet-line")
3247
+ ], TimesheetLine);
3248
+
3133
3249
  // src/entities/job.entity.ts
3134
3250
  var JobLocationEnum = /* @__PURE__ */ ((JobLocationEnum2) => {
3135
3251
  JobLocationEnum2["ONSITE"] = "ONSITE";
@@ -3167,52 +3283,52 @@ var DurationTypeEnum = /* @__PURE__ */ ((DurationTypeEnum2) => {
3167
3283
  var Job = class extends BaseEntity {
3168
3284
  };
3169
3285
  __decorateClass([
3170
- Column23({ name: "job_id", type: "varchar", unique: true, nullable: true })
3286
+ Column25({ name: "job_id", type: "varchar", unique: true, nullable: true })
3171
3287
  ], Job.prototype, "jobId", 2);
3172
3288
  // individual index to find jobs by user
3173
3289
  __decorateClass([
3174
- Column23({ name: "user_id", type: "integer", nullable: true }),
3175
- Index16()
3290
+ Column25({ name: "user_id", type: "integer", nullable: true }),
3291
+ Index18()
3176
3292
  ], Job.prototype, "userId", 2);
3177
3293
  __decorateClass([
3178
- ManyToOne21(() => User, (user) => user.jobs),
3179
- JoinColumn21({ name: "user_id" })
3294
+ ManyToOne23(() => User, (user) => user.jobs),
3295
+ JoinColumn23({ name: "user_id" })
3180
3296
  ], Job.prototype, "user", 2);
3181
3297
  __decorateClass([
3182
- Column23({ name: "country_id", type: "int", nullable: true })
3298
+ Column25({ name: "country_id", type: "int", nullable: true })
3183
3299
  ], Job.prototype, "countryId", 2);
3184
3300
  __decorateClass([
3185
- ManyToOne21(() => Country),
3186
- JoinColumn21({ name: "country_id" })
3301
+ ManyToOne23(() => Country),
3302
+ JoinColumn23({ name: "country_id" })
3187
3303
  ], Job.prototype, "country", 2);
3188
3304
  __decorateClass([
3189
- Column23({ name: "state_id", type: "int", nullable: true })
3305
+ Column25({ name: "state_id", type: "int", nullable: true })
3190
3306
  ], Job.prototype, "stateId", 2);
3191
3307
  __decorateClass([
3192
- ManyToOne21(() => State),
3193
- JoinColumn21({ name: "state_id" })
3308
+ ManyToOne23(() => State),
3309
+ JoinColumn23({ name: "state_id" })
3194
3310
  ], Job.prototype, "state", 2);
3195
3311
  __decorateClass([
3196
- Column23({ name: "city_id", type: "int", nullable: true })
3312
+ Column25({ name: "city_id", type: "int", nullable: true })
3197
3313
  ], Job.prototype, "cityId", 2);
3198
3314
  __decorateClass([
3199
- ManyToOne21(() => City),
3200
- JoinColumn21({ name: "city_id" })
3315
+ ManyToOne23(() => City),
3316
+ JoinColumn23({ name: "city_id" })
3201
3317
  ], Job.prototype, "city", 2);
3202
3318
  __decorateClass([
3203
- Column23({ name: "job_role", type: "varchar", nullable: true })
3319
+ Column25({ name: "job_role", type: "varchar", nullable: true })
3204
3320
  ], Job.prototype, "jobRole", 2);
3205
3321
  __decorateClass([
3206
- Column23({ name: "project_name", type: "varchar", nullable: true })
3322
+ Column25({ name: "project_name", type: "varchar", nullable: true })
3207
3323
  ], Job.prototype, "projectName", 2);
3208
3324
  __decorateClass([
3209
- Column23({ name: "note", type: "varchar", nullable: true })
3325
+ Column25({ name: "note", type: "varchar", nullable: true })
3210
3326
  ], Job.prototype, "note", 2);
3211
3327
  __decorateClass([
3212
- Column23({ name: "openings", type: "integer", default: 0 })
3328
+ Column25({ name: "openings", type: "integer", default: 0 })
3213
3329
  ], Job.prototype, "openings", 2);
3214
3330
  __decorateClass([
3215
- Column23({
3331
+ Column25({
3216
3332
  name: "location",
3217
3333
  type: "enum",
3218
3334
  enum: JobLocationEnum,
@@ -3220,7 +3336,7 @@ __decorateClass([
3220
3336
  })
3221
3337
  ], Job.prototype, "location", 2);
3222
3338
  __decorateClass([
3223
- Column23({
3339
+ Column25({
3224
3340
  name: "type_of_employment",
3225
3341
  type: "enum",
3226
3342
  enum: TypeOfEmploymentEnum,
@@ -3228,19 +3344,19 @@ __decorateClass([
3228
3344
  })
3229
3345
  ], Job.prototype, "typeOfEmployment", 2);
3230
3346
  __decorateClass([
3231
- Column23({ name: "academic_qualifictaion", type: "varchar", nullable: true })
3347
+ Column25({ name: "academic_qualifictaion", type: "varchar", nullable: true })
3232
3348
  ], Job.prototype, "academicQualification", 2);
3233
3349
  __decorateClass([
3234
- Column23({ name: "years_of_experience", type: "varchar", nullable: true })
3350
+ Column25({ name: "years_of_experience", type: "varchar", nullable: true })
3235
3351
  ], Job.prototype, "yearsOfExperience", 2);
3236
3352
  __decorateClass([
3237
- Column23({ name: "business_industry", type: "varchar", nullable: true })
3353
+ Column25({ name: "business_industry", type: "varchar", nullable: true })
3238
3354
  ], Job.prototype, "businessIndustry", 2);
3239
3355
  __decorateClass([
3240
- Column23({ name: "currency", type: "varchar", default: "USD" })
3356
+ Column25({ name: "currency", type: "varchar", default: "USD" })
3241
3357
  ], Job.prototype, "currency", 2);
3242
3358
  __decorateClass([
3243
- Column23({
3359
+ Column25({
3244
3360
  name: "expected_salary_from",
3245
3361
  type: "decimal",
3246
3362
  precision: 10,
@@ -3249,7 +3365,7 @@ __decorateClass([
3249
3365
  })
3250
3366
  ], Job.prototype, "expectedSalaryFrom", 2);
3251
3367
  __decorateClass([
3252
- Column23({
3368
+ Column25({
3253
3369
  name: "expected_salary_to",
3254
3370
  type: "decimal",
3255
3371
  precision: 10,
@@ -3258,16 +3374,16 @@ __decorateClass([
3258
3374
  })
3259
3375
  ], Job.prototype, "expectedSalaryTo", 2);
3260
3376
  __decorateClass([
3261
- Column23({ name: "tentative_start_date", type: "date", nullable: true })
3377
+ Column25({ name: "tentative_start_date", type: "date", nullable: true })
3262
3378
  ], Job.prototype, "tentativeStartDate", 2);
3263
3379
  __decorateClass([
3264
- Column23({ name: "tentative_end_date", type: "date", nullable: true })
3380
+ Column25({ name: "tentative_end_date", type: "date", nullable: true })
3265
3381
  ], Job.prototype, "tentativeEndDate", 2);
3266
3382
  __decorateClass([
3267
- Column23({ name: "duration", type: "varchar", nullable: true })
3383
+ Column25({ name: "duration", type: "varchar", nullable: true })
3268
3384
  ], Job.prototype, "duration", 2);
3269
3385
  __decorateClass([
3270
- Column23({
3386
+ Column25({
3271
3387
  name: "duration_type",
3272
3388
  type: "enum",
3273
3389
  enum: DurationTypeEnum,
@@ -3275,13 +3391,13 @@ __decorateClass([
3275
3391
  })
3276
3392
  ], Job.prototype, "durationType", 2);
3277
3393
  __decorateClass([
3278
- Column23({ name: "description", type: "varchar", nullable: true })
3394
+ Column25({ name: "description", type: "varchar", nullable: true })
3279
3395
  ], Job.prototype, "description", 2);
3280
3396
  __decorateClass([
3281
- Column23({ name: "additional_comment", type: "varchar", nullable: true })
3397
+ Column25({ name: "additional_comment", type: "varchar", nullable: true })
3282
3398
  ], Job.prototype, "additionalComment", 2);
3283
3399
  __decorateClass([
3284
- Column23({
3400
+ Column25({
3285
3401
  name: "onboarding_tat",
3286
3402
  type: "varchar",
3287
3403
  length: 50,
@@ -3289,14 +3405,14 @@ __decorateClass([
3289
3405
  })
3290
3406
  ], Job.prototype, "onboardingTat", 2);
3291
3407
  __decorateClass([
3292
- Column23({
3408
+ Column25({
3293
3409
  name: "candidate_communication_skills",
3294
3410
  type: "varchar",
3295
3411
  nullable: true
3296
3412
  })
3297
3413
  ], Job.prototype, "candidateCommunicationSkills", 2);
3298
3414
  __decorateClass([
3299
- Column23({
3415
+ Column25({
3300
3416
  name: "step_completed",
3301
3417
  type: "enum",
3302
3418
  enum: Step,
@@ -3304,7 +3420,7 @@ __decorateClass([
3304
3420
  })
3305
3421
  ], Job.prototype, "stepCompleted", 2);
3306
3422
  __decorateClass([
3307
- Column23({
3423
+ Column25({
3308
3424
  name: "status",
3309
3425
  type: "enum",
3310
3426
  enum: JobStatusEnum,
@@ -3312,32 +3428,32 @@ __decorateClass([
3312
3428
  })
3313
3429
  ], Job.prototype, "status", 2);
3314
3430
  __decorateClass([
3315
- Column23({ name: "viewed_count", type: "integer", default: 0 })
3431
+ Column25({ name: "viewed_count", type: "integer", default: 0 })
3316
3432
  ], Job.prototype, "viewedCount", 2);
3317
3433
  __decorateClass([
3318
- Column23({ name: "application_count", type: "integer", default: 0 })
3434
+ Column25({ name: "application_count", type: "integer", default: 0 })
3319
3435
  ], Job.prototype, "applicationCount", 2);
3320
3436
  __decorateClass([
3321
- Column23({ name: "is_contract_signed", type: "boolean", default: false })
3437
+ Column25({ name: "is_contract_signed", type: "boolean", default: false })
3322
3438
  ], Job.prototype, "isContractSigned", 2);
3323
3439
  __decorateClass([
3324
- Column23({ name: "is_interview_created", type: "boolean", default: false })
3440
+ Column25({ name: "is_interview_created", type: "boolean", default: false })
3325
3441
  ], Job.prototype, "isInterviewCreated", 2);
3326
3442
  __decorateClass([
3327
- OneToMany9(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
3443
+ OneToMany10(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
3328
3444
  ], Job.prototype, "jobSkills", 2);
3329
3445
  __decorateClass([
3330
- OneToMany9(() => JobApplication, (jobApplication) => jobApplication.job, {
3446
+ OneToMany10(() => JobApplication, (jobApplication) => jobApplication.job, {
3331
3447
  cascade: true
3332
3448
  })
3333
3449
  ], Job.prototype, "jobApplications", 2);
3334
3450
  __decorateClass([
3335
- OneToMany9(() => Interview, (interview) => interview.job, {
3451
+ OneToMany10(() => Interview, (interview) => interview.job, {
3336
3452
  cascade: true
3337
3453
  })
3338
3454
  ], Job.prototype, "interviews", 2);
3339
3455
  __decorateClass([
3340
- OneToMany9(
3456
+ OneToMany10(
3341
3457
  () => JobRecommendation,
3342
3458
  (jobRecommendation) => jobRecommendation.job,
3343
3459
  {
@@ -3346,7 +3462,7 @@ __decorateClass([
3346
3462
  )
3347
3463
  ], Job.prototype, "recommendations", 2);
3348
3464
  __decorateClass([
3349
- OneToMany9(
3465
+ OneToMany10(
3350
3466
  () => Contract,
3351
3467
  (contract) => contract.job,
3352
3468
  {
@@ -3355,7 +3471,7 @@ __decorateClass([
3355
3471
  )
3356
3472
  ], Job.prototype, "contracts", 2);
3357
3473
  __decorateClass([
3358
- OneToMany9(
3474
+ OneToMany10(
3359
3475
  () => Timesheet,
3360
3476
  (timesheet) => timesheet.job,
3361
3477
  {
@@ -3363,17 +3479,26 @@ __decorateClass([
3363
3479
  }
3364
3480
  )
3365
3481
  ], Job.prototype, "timesheets", 2);
3482
+ __decorateClass([
3483
+ OneToMany10(
3484
+ () => TimesheetLine,
3485
+ (timesheetLine) => timesheetLine.job,
3486
+ {
3487
+ cascade: true
3488
+ }
3489
+ )
3490
+ ], Job.prototype, "timesheetLine", 2);
3366
3491
  Job = __decorateClass([
3367
- Entity22("jobs")
3492
+ Entity24("jobs")
3368
3493
  ], Job);
3369
3494
 
3370
3495
  // src/entities/bank-details.entity.ts
3371
3496
  import {
3372
- Entity as Entity23,
3373
- Column as Column24,
3374
- Index as Index17,
3375
- ManyToOne as ManyToOne22,
3376
- JoinColumn as JoinColumn22
3497
+ Entity as Entity25,
3498
+ Column as Column26,
3499
+ Index as Index19,
3500
+ ManyToOne as ManyToOne24,
3501
+ JoinColumn as JoinColumn24
3377
3502
  } from "typeorm";
3378
3503
  var BankAccountTypeEnum = /* @__PURE__ */ ((BankAccountTypeEnum2) => {
3379
3504
  BankAccountTypeEnum2["PRIMARY"] = "PRIMARY";
@@ -3389,48 +3514,48 @@ var BankDetail = class extends BaseEntity {
3389
3514
  };
3390
3515
  // individual index to find bank details by user
3391
3516
  __decorateClass([
3392
- Column24({ name: "user_id", type: "integer", nullable: true }),
3393
- Index17()
3517
+ Column26({ name: "user_id", type: "integer", nullable: true }),
3518
+ Index19()
3394
3519
  ], BankDetail.prototype, "userId", 2);
3395
3520
  __decorateClass([
3396
- ManyToOne22(() => User, (user) => user.bankDetail),
3397
- JoinColumn22({ name: "user_id" })
3521
+ ManyToOne24(() => User, (user) => user.bankDetail),
3522
+ JoinColumn24({ name: "user_id" })
3398
3523
  ], BankDetail.prototype, "user", 2);
3399
3524
  __decorateClass([
3400
- Column24({ name: "name", type: "varchar", nullable: true })
3525
+ Column26({ name: "name", type: "varchar", nullable: true })
3401
3526
  ], BankDetail.prototype, "name", 2);
3402
3527
  __decorateClass([
3403
- Column24({ name: "mobile", type: "varchar", unique: true, nullable: true })
3528
+ Column26({ name: "mobile", type: "varchar", unique: true, nullable: true })
3404
3529
  ], BankDetail.prototype, "mobile", 2);
3405
3530
  __decorateClass([
3406
- Column24({ name: "email", type: "varchar", unique: true })
3531
+ Column26({ name: "email", type: "varchar", unique: true })
3407
3532
  ], BankDetail.prototype, "email", 2);
3408
3533
  __decorateClass([
3409
- Column24({ name: "address", type: "varchar", nullable: true })
3534
+ Column26({ name: "address", type: "varchar", nullable: true })
3410
3535
  ], BankDetail.prototype, "address", 2);
3411
3536
  __decorateClass([
3412
- Column24({ name: "account_number", type: "varchar", unique: true, nullable: true })
3537
+ Column26({ name: "account_number", type: "varchar", unique: true, nullable: true })
3413
3538
  ], BankDetail.prototype, "accountNumber", 2);
3414
3539
  __decorateClass([
3415
- Column24({ name: "bank_name", type: "varchar", nullable: true })
3540
+ Column26({ name: "bank_name", type: "varchar", nullable: true })
3416
3541
  ], BankDetail.prototype, "bankName", 2);
3417
3542
  __decorateClass([
3418
- Column24({ name: "ifsc_code", type: "varchar", nullable: true })
3543
+ Column26({ name: "ifsc_code", type: "varchar", nullable: true })
3419
3544
  ], BankDetail.prototype, "ifscCode", 2);
3420
3545
  __decorateClass([
3421
- Column24({ name: "branch_name", type: "varchar", nullable: true })
3546
+ Column26({ name: "branch_name", type: "varchar", nullable: true })
3422
3547
  ], BankDetail.prototype, "branchName", 2);
3423
3548
  __decorateClass([
3424
- Column24({ name: "routing_no", type: "varchar", nullable: true })
3549
+ Column26({ name: "routing_no", type: "varchar", nullable: true })
3425
3550
  ], BankDetail.prototype, "routingNo", 2);
3426
3551
  __decorateClass([
3427
- Column24({ name: "aba_no", type: "varchar", nullable: true })
3552
+ Column26({ name: "aba_no", type: "varchar", nullable: true })
3428
3553
  ], BankDetail.prototype, "abaNumber", 2);
3429
3554
  __decorateClass([
3430
- Column24({ name: "iban", type: "varchar", nullable: true })
3555
+ Column26({ name: "iban", type: "varchar", nullable: true })
3431
3556
  ], BankDetail.prototype, "iban", 2);
3432
3557
  __decorateClass([
3433
- Column24({
3558
+ Column26({
3434
3559
  name: "account_type",
3435
3560
  type: "enum",
3436
3561
  enum: BankAccountTypeEnum,
@@ -3438,7 +3563,7 @@ __decorateClass([
3438
3563
  })
3439
3564
  ], BankDetail.prototype, "accountType", 2);
3440
3565
  __decorateClass([
3441
- Column24({
3566
+ Column26({
3442
3567
  name: "account_scope",
3443
3568
  type: "enum",
3444
3569
  enum: BankAccountScopeEnum,
@@ -3446,263 +3571,263 @@ __decorateClass([
3446
3571
  })
3447
3572
  ], BankDetail.prototype, "accountScope", 2);
3448
3573
  BankDetail = __decorateClass([
3449
- Entity23("bank_details")
3574
+ Entity25("bank_details")
3450
3575
  ], BankDetail);
3451
3576
 
3452
3577
  // src/entities/system-preference.entity.ts
3453
3578
  import {
3454
- Entity as Entity24,
3455
- Column as Column25,
3456
- Index as Index18,
3457
- ManyToOne as ManyToOne23,
3458
- JoinColumn as JoinColumn23
3579
+ Entity as Entity26,
3580
+ Column as Column27,
3581
+ Index as Index20,
3582
+ ManyToOne as ManyToOne25,
3583
+ JoinColumn as JoinColumn25
3459
3584
  } from "typeorm";
3460
3585
  var SystemPreference = class extends BaseEntity {
3461
3586
  };
3462
3587
  // individual index to find system preference by user
3463
3588
  __decorateClass([
3464
- Column25({ name: "user_id", type: "integer", nullable: true }),
3465
- Index18()
3589
+ Column27({ name: "user_id", type: "integer", nullable: true }),
3590
+ Index20()
3466
3591
  ], SystemPreference.prototype, "userId", 2);
3467
3592
  __decorateClass([
3468
- ManyToOne23(() => User, (user) => user.systemPreference),
3469
- JoinColumn23({ name: "user_id" })
3593
+ ManyToOne25(() => User, (user) => user.systemPreference),
3594
+ JoinColumn25({ name: "user_id" })
3470
3595
  ], SystemPreference.prototype, "user", 2);
3471
3596
  __decorateClass([
3472
- Column25({ name: "key", type: "varchar", nullable: false })
3597
+ Column27({ name: "key", type: "varchar", nullable: false })
3473
3598
  ], SystemPreference.prototype, "key", 2);
3474
3599
  __decorateClass([
3475
- Column25({ name: "value", type: "boolean", default: false })
3600
+ Column27({ name: "value", type: "boolean", default: false })
3476
3601
  ], SystemPreference.prototype, "value", 2);
3477
3602
  SystemPreference = __decorateClass([
3478
- Entity24("system_preferences")
3603
+ Entity26("system_preferences")
3479
3604
  ], SystemPreference);
3480
3605
 
3481
3606
  // src/entities/freelancer-experience.entity.ts
3482
3607
  import {
3483
- Entity as Entity25,
3484
- Column as Column26,
3485
- Index as Index19,
3486
- ManyToOne as ManyToOne24,
3487
- JoinColumn as JoinColumn24
3608
+ Entity as Entity27,
3609
+ Column as Column28,
3610
+ Index as Index21,
3611
+ ManyToOne as ManyToOne26,
3612
+ JoinColumn as JoinColumn26
3488
3613
  } from "typeorm";
3489
3614
  var FreelancerExperience = class extends BaseEntity {
3490
3615
  };
3491
3616
  // individual index to find experence by user
3492
3617
  __decorateClass([
3493
- Column26({ name: "user_id", type: "integer", nullable: true }),
3494
- Index19()
3618
+ Column28({ name: "user_id", type: "integer", nullable: true }),
3619
+ Index21()
3495
3620
  ], FreelancerExperience.prototype, "userId", 2);
3496
3621
  __decorateClass([
3497
- ManyToOne24(() => User, (user) => user.freelancerExperience),
3498
- JoinColumn24({ name: "user_id" })
3622
+ ManyToOne26(() => User, (user) => user.freelancerExperience),
3623
+ JoinColumn26({ name: "user_id" })
3499
3624
  ], FreelancerExperience.prototype, "user", 2);
3500
3625
  __decorateClass([
3501
- Column26({ name: "company_name", type: "varchar", nullable: true })
3626
+ Column28({ name: "company_name", type: "varchar", nullable: true })
3502
3627
  ], FreelancerExperience.prototype, "companyName", 2);
3503
3628
  __decorateClass([
3504
- Column26({ name: "designation", type: "varchar", nullable: true })
3629
+ Column28({ name: "designation", type: "varchar", nullable: true })
3505
3630
  ], FreelancerExperience.prototype, "designation", 2);
3506
3631
  __decorateClass([
3507
- Column26({ name: "job_duration", type: "varchar", nullable: true })
3632
+ Column28({ name: "job_duration", type: "varchar", nullable: true })
3508
3633
  ], FreelancerExperience.prototype, "jobDuration", 2);
3509
3634
  __decorateClass([
3510
- Column26({ name: "description", type: "varchar", nullable: true })
3635
+ Column28({ name: "description", type: "varchar", nullable: true })
3511
3636
  ], FreelancerExperience.prototype, "description", 2);
3512
3637
  FreelancerExperience = __decorateClass([
3513
- Entity25("freelancer_experiences")
3638
+ Entity27("freelancer_experiences")
3514
3639
  ], FreelancerExperience);
3515
3640
 
3516
3641
  // src/entities/freelancer-education.entity.ts
3517
3642
  import {
3518
- Entity as Entity26,
3519
- Column as Column27,
3520
- Index as Index20,
3521
- ManyToOne as ManyToOne25,
3522
- JoinColumn as JoinColumn25
3643
+ Entity as Entity28,
3644
+ Column as Column29,
3645
+ Index as Index22,
3646
+ ManyToOne as ManyToOne27,
3647
+ JoinColumn as JoinColumn27
3523
3648
  } from "typeorm";
3524
3649
  var FreelancerEducation = class extends BaseEntity {
3525
3650
  };
3526
3651
  // individual index to find education by user
3527
3652
  __decorateClass([
3528
- Column27({ name: "user_id", type: "integer", nullable: true }),
3529
- Index20()
3653
+ Column29({ name: "user_id", type: "integer", nullable: true }),
3654
+ Index22()
3530
3655
  ], FreelancerEducation.prototype, "userId", 2);
3531
3656
  __decorateClass([
3532
- ManyToOne25(() => User, (user) => user.freelancerEducation),
3533
- JoinColumn25({ name: "user_id" })
3657
+ ManyToOne27(() => User, (user) => user.freelancerEducation),
3658
+ JoinColumn27({ name: "user_id" })
3534
3659
  ], FreelancerEducation.prototype, "user", 2);
3535
3660
  __decorateClass([
3536
- Column27({ name: "degree", type: "varchar", nullable: true })
3661
+ Column29({ name: "degree", type: "varchar", nullable: true })
3537
3662
  ], FreelancerEducation.prototype, "degree", 2);
3538
3663
  __decorateClass([
3539
- Column27({ name: "university", type: "varchar", nullable: true })
3664
+ Column29({ name: "university", type: "varchar", nullable: true })
3540
3665
  ], FreelancerEducation.prototype, "university", 2);
3541
3666
  __decorateClass([
3542
- Column27({ name: "year_of_graduation", type: "varchar", nullable: true })
3667
+ Column29({ name: "year_of_graduation", type: "varchar", nullable: true })
3543
3668
  ], FreelancerEducation.prototype, "yearOfGraduation", 2);
3544
3669
  FreelancerEducation = __decorateClass([
3545
- Entity26("freelancer_educations")
3670
+ Entity28("freelancer_educations")
3546
3671
  ], FreelancerEducation);
3547
3672
 
3548
3673
  // src/entities/freelancer-project.entity.ts
3549
3674
  import {
3550
- Entity as Entity27,
3551
- Column as Column28,
3552
- Index as Index21,
3553
- ManyToOne as ManyToOne26,
3554
- JoinColumn as JoinColumn26
3675
+ Entity as Entity29,
3676
+ Column as Column30,
3677
+ Index as Index23,
3678
+ ManyToOne as ManyToOne28,
3679
+ JoinColumn as JoinColumn28
3555
3680
  } from "typeorm";
3556
3681
  var FreelancerProject = class extends BaseEntity {
3557
3682
  };
3558
3683
  // individual index to find project by user
3559
3684
  __decorateClass([
3560
- Column28({ name: "user_id", type: "integer", nullable: true }),
3561
- Index21()
3685
+ Column30({ name: "user_id", type: "integer", nullable: true }),
3686
+ Index23()
3562
3687
  ], FreelancerProject.prototype, "userId", 2);
3563
3688
  __decorateClass([
3564
- ManyToOne26(() => User, (user) => user.freelancerProject),
3565
- JoinColumn26({ name: "user_id" })
3689
+ ManyToOne28(() => User, (user) => user.freelancerProject),
3690
+ JoinColumn28({ name: "user_id" })
3566
3691
  ], FreelancerProject.prototype, "user", 2);
3567
3692
  __decorateClass([
3568
- Column28({ name: "project_name", type: "varchar", nullable: true })
3693
+ Column30({ name: "project_name", type: "varchar", nullable: true })
3569
3694
  ], FreelancerProject.prototype, "projectName", 2);
3570
3695
  __decorateClass([
3571
- Column28({ name: "start_date", type: "date", nullable: true })
3696
+ Column30({ name: "start_date", type: "date", nullable: true })
3572
3697
  ], FreelancerProject.prototype, "startDate", 2);
3573
3698
  __decorateClass([
3574
- Column28({ name: "end_date", type: "date", nullable: true })
3699
+ Column30({ name: "end_date", type: "date", nullable: true })
3575
3700
  ], FreelancerProject.prototype, "endDate", 2);
3576
3701
  __decorateClass([
3577
- Column28({ name: "client_name", type: "varchar", nullable: true })
3702
+ Column30({ name: "client_name", type: "varchar", nullable: true })
3578
3703
  ], FreelancerProject.prototype, "clientName", 2);
3579
3704
  __decorateClass([
3580
- Column28({ name: "git_link", type: "varchar", nullable: true })
3705
+ Column30({ name: "git_link", type: "varchar", nullable: true })
3581
3706
  ], FreelancerProject.prototype, "gitLink", 2);
3582
3707
  __decorateClass([
3583
- Column28({ name: "description", type: "varchar", nullable: true })
3708
+ Column30({ name: "description", type: "varchar", nullable: true })
3584
3709
  ], FreelancerProject.prototype, "description", 2);
3585
3710
  FreelancerProject = __decorateClass([
3586
- Entity27("freelancer_projects")
3711
+ Entity29("freelancer_projects")
3587
3712
  ], FreelancerProject);
3588
3713
 
3589
3714
  // src/entities/freelancer-casestudy.entity.ts
3590
3715
  import {
3591
- Entity as Entity28,
3592
- Column as Column29,
3593
- Index as Index22,
3594
- ManyToOne as ManyToOne27,
3595
- JoinColumn as JoinColumn27
3716
+ Entity as Entity30,
3717
+ Column as Column31,
3718
+ Index as Index24,
3719
+ ManyToOne as ManyToOne29,
3720
+ JoinColumn as JoinColumn29
3596
3721
  } from "typeorm";
3597
3722
  var FreelancerCaseStudy = class extends BaseEntity {
3598
3723
  };
3599
3724
  // individual index to find case study by user
3600
3725
  __decorateClass([
3601
- Column29({ name: "user_id", type: "integer", nullable: true }),
3602
- Index22()
3726
+ Column31({ name: "user_id", type: "integer", nullable: true }),
3727
+ Index24()
3603
3728
  ], FreelancerCaseStudy.prototype, "userId", 2);
3604
3729
  __decorateClass([
3605
- ManyToOne27(() => User, (user) => user.freelancerCaseStudy),
3606
- JoinColumn27({ name: "user_id" })
3730
+ ManyToOne29(() => User, (user) => user.freelancerCaseStudy),
3731
+ JoinColumn29({ name: "user_id" })
3607
3732
  ], FreelancerCaseStudy.prototype, "user", 2);
3608
3733
  __decorateClass([
3609
- Column29({ name: "project_name", type: "varchar", nullable: true })
3734
+ Column31({ name: "project_name", type: "varchar", nullable: true })
3610
3735
  ], FreelancerCaseStudy.prototype, "projectName", 2);
3611
3736
  __decorateClass([
3612
- Column29({ name: "case_study_link", type: "varchar", nullable: true })
3737
+ Column31({ name: "case_study_link", type: "varchar", nullable: true })
3613
3738
  ], FreelancerCaseStudy.prototype, "caseStudyLink", 2);
3614
3739
  __decorateClass([
3615
- Column29({ name: "description", type: "varchar", nullable: true })
3740
+ Column31({ name: "description", type: "varchar", nullable: true })
3616
3741
  ], FreelancerCaseStudy.prototype, "description", 2);
3617
3742
  FreelancerCaseStudy = __decorateClass([
3618
- Entity28("freelancer_case_studies")
3743
+ Entity30("freelancer_case_studies")
3619
3744
  ], FreelancerCaseStudy);
3620
3745
 
3621
3746
  // src/entities/freelancer-skill.entity.ts
3622
3747
  import {
3623
- Entity as Entity29,
3624
- Column as Column30,
3625
- Index as Index23,
3626
- ManyToOne as ManyToOne28,
3627
- JoinColumn as JoinColumn28
3748
+ Entity as Entity31,
3749
+ Column as Column32,
3750
+ Index as Index25,
3751
+ ManyToOne as ManyToOne30,
3752
+ JoinColumn as JoinColumn30
3628
3753
  } from "typeorm";
3629
3754
  var FreelancerSkill = class extends BaseEntity {
3630
3755
  };
3631
3756
  // individual index to find core skills by user
3632
3757
  __decorateClass([
3633
- Column30({ name: "user_id", type: "integer", nullable: true }),
3634
- Index23()
3758
+ Column32({ name: "user_id", type: "integer", nullable: true }),
3759
+ Index25()
3635
3760
  ], FreelancerSkill.prototype, "userId", 2);
3636
3761
  __decorateClass([
3637
- ManyToOne28(() => User, (user) => user.freelancerSkills),
3638
- JoinColumn28({ name: "user_id" })
3762
+ ManyToOne30(() => User, (user) => user.freelancerSkills),
3763
+ JoinColumn30({ name: "user_id" })
3639
3764
  ], FreelancerSkill.prototype, "user", 2);
3640
3765
  __decorateClass([
3641
- Column30({ name: "skill_name", type: "varchar", nullable: true })
3766
+ Column32({ name: "skill_name", type: "varchar", nullable: true })
3642
3767
  ], FreelancerSkill.prototype, "skillName", 2);
3643
3768
  FreelancerSkill = __decorateClass([
3644
- Entity29("freelancer_skills")
3769
+ Entity31("freelancer_skills")
3645
3770
  ], FreelancerSkill);
3646
3771
 
3647
3772
  // src/entities/freelancer-tool.entity.ts
3648
3773
  import {
3649
- Entity as Entity30,
3650
- Column as Column31,
3651
- Index as Index24,
3652
- ManyToOne as ManyToOne29,
3653
- JoinColumn as JoinColumn29
3774
+ Entity as Entity32,
3775
+ Column as Column33,
3776
+ Index as Index26,
3777
+ ManyToOne as ManyToOne31,
3778
+ JoinColumn as JoinColumn31
3654
3779
  } from "typeorm";
3655
3780
  var FreelancerTool = class extends BaseEntity {
3656
3781
  };
3657
3782
  // individual index to find tool by user
3658
3783
  __decorateClass([
3659
- Column31({ name: "user_id", type: "integer", nullable: true }),
3660
- Index24()
3784
+ Column33({ name: "user_id", type: "integer", nullable: true }),
3785
+ Index26()
3661
3786
  ], FreelancerTool.prototype, "userId", 2);
3662
3787
  __decorateClass([
3663
- ManyToOne29(() => User, (user) => user.freelancerTool),
3664
- JoinColumn29({ name: "user_id" })
3788
+ ManyToOne31(() => User, (user) => user.freelancerTool),
3789
+ JoinColumn31({ name: "user_id" })
3665
3790
  ], FreelancerTool.prototype, "user", 2);
3666
3791
  __decorateClass([
3667
- Column31({ name: "tool_name", type: "varchar", nullable: true })
3792
+ Column33({ name: "tool_name", type: "varchar", nullable: true })
3668
3793
  ], FreelancerTool.prototype, "toolName", 2);
3669
3794
  FreelancerTool = __decorateClass([
3670
- Entity30("freelancer_tools")
3795
+ Entity32("freelancer_tools")
3671
3796
  ], FreelancerTool);
3672
3797
 
3673
3798
  // src/entities/freelancer-framework.entity.ts
3674
3799
  import {
3675
- Entity as Entity31,
3676
- Column as Column32,
3677
- Index as Index25,
3678
- ManyToOne as ManyToOne30,
3679
- JoinColumn as JoinColumn30
3800
+ Entity as Entity33,
3801
+ Column as Column34,
3802
+ Index as Index27,
3803
+ ManyToOne as ManyToOne32,
3804
+ JoinColumn as JoinColumn32
3680
3805
  } from "typeorm";
3681
3806
  var FreelancerFramework = class extends BaseEntity {
3682
3807
  };
3683
3808
  // individual index to find framework by user
3684
3809
  __decorateClass([
3685
- Column32({ name: "user_id", type: "integer", nullable: true }),
3686
- Index25()
3810
+ Column34({ name: "user_id", type: "integer", nullable: true }),
3811
+ Index27()
3687
3812
  ], FreelancerFramework.prototype, "userId", 2);
3688
3813
  __decorateClass([
3689
- ManyToOne30(() => User, (user) => user.freelancerFramework),
3690
- JoinColumn30({ name: "user_id" })
3814
+ ManyToOne32(() => User, (user) => user.freelancerFramework),
3815
+ JoinColumn32({ name: "user_id" })
3691
3816
  ], FreelancerFramework.prototype, "user", 2);
3692
3817
  __decorateClass([
3693
- Column32({ name: "framework_name", type: "varchar", nullable: true })
3818
+ Column34({ name: "framework_name", type: "varchar", nullable: true })
3694
3819
  ], FreelancerFramework.prototype, "frameworkName", 2);
3695
3820
  FreelancerFramework = __decorateClass([
3696
- Entity31("freelancer_frameworks")
3821
+ Entity33("freelancer_frameworks")
3697
3822
  ], FreelancerFramework);
3698
3823
 
3699
3824
  // src/entities/freelancer-assessment.entity.ts
3700
3825
  import {
3701
- Entity as Entity32,
3702
- Column as Column33,
3703
- Index as Index26,
3704
- ManyToOne as ManyToOne31,
3705
- JoinColumn as JoinColumn31
3826
+ Entity as Entity34,
3827
+ Column as Column35,
3828
+ Index as Index28,
3829
+ ManyToOne as ManyToOne33,
3830
+ JoinColumn as JoinColumn33
3706
3831
  } from "typeorm";
3707
3832
  var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
3708
3833
  AssessmentStatusEnum2["NOT_ATTEMPTED"] = "NOT_ATTEMPTED";
@@ -3719,30 +3844,30 @@ var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
3719
3844
  var FreelancerAssessment = class extends BaseEntity {
3720
3845
  };
3721
3846
  __decorateClass([
3722
- Column33({ name: "user_id", type: "integer", nullable: true }),
3723
- Index26()
3847
+ Column35({ name: "user_id", type: "integer", nullable: true }),
3848
+ Index28()
3724
3849
  ], FreelancerAssessment.prototype, "userId", 2);
3725
3850
  __decorateClass([
3726
- ManyToOne31(() => User, (user) => user.assessments),
3727
- JoinColumn31({ name: "user_id" })
3851
+ ManyToOne33(() => User, (user) => user.assessments),
3852
+ JoinColumn33({ name: "user_id" })
3728
3853
  ], FreelancerAssessment.prototype, "user", 2);
3729
3854
  __decorateClass([
3730
- Column33({ name: "interview_id", type: "varchar", nullable: true })
3855
+ Column35({ name: "interview_id", type: "varchar", nullable: true })
3731
3856
  ], FreelancerAssessment.prototype, "interviewId", 2);
3732
3857
  __decorateClass([
3733
- Column33({ name: "interview_link", type: "text", nullable: true })
3858
+ Column35({ name: "interview_link", type: "text", nullable: true })
3734
3859
  ], FreelancerAssessment.prototype, "interviewLink", 2);
3735
3860
  __decorateClass([
3736
- Column33({ name: "recording_link", type: "text", nullable: true })
3861
+ Column35({ name: "recording_link", type: "text", nullable: true })
3737
3862
  ], FreelancerAssessment.prototype, "recordingLink", 2);
3738
3863
  __decorateClass([
3739
- Column33({ name: "iframe_response", type: "jsonb", nullable: true })
3864
+ Column35({ name: "iframe_response", type: "jsonb", nullable: true })
3740
3865
  ], FreelancerAssessment.prototype, "iframeResponse", 2);
3741
3866
  __decorateClass([
3742
- Column33({ name: "interview_summary", type: "jsonb", nullable: true })
3867
+ Column35({ name: "interview_summary", type: "jsonb", nullable: true })
3743
3868
  ], FreelancerAssessment.prototype, "interviewSummary", 2);
3744
3869
  __decorateClass([
3745
- Column33({
3870
+ Column35({
3746
3871
  name: "status",
3747
3872
  type: "enum",
3748
3873
  enum: AssessmentStatusEnum,
@@ -3750,11 +3875,11 @@ __decorateClass([
3750
3875
  })
3751
3876
  ], FreelancerAssessment.prototype, "status", 2);
3752
3877
  FreelancerAssessment = __decorateClass([
3753
- Entity32("freelancer_assessments")
3878
+ Entity34("freelancer_assessments")
3754
3879
  ], FreelancerAssessment);
3755
3880
 
3756
3881
  // src/entities/freelancer-declaration.entity.ts
3757
- import { Entity as Entity33, Column as Column34, Index as Index27, ManyToOne as ManyToOne32, JoinColumn as JoinColumn32 } from "typeorm";
3882
+ import { Entity as Entity35, Column as Column36, Index as Index29, ManyToOne as ManyToOne34, JoinColumn as JoinColumn34 } from "typeorm";
3758
3883
  var DocumentType = /* @__PURE__ */ ((DocumentType2) => {
3759
3884
  DocumentType2["AADHAAR"] = "AADHAAR_CARD";
3760
3885
  DocumentType2["PASSPORT"] = "PASSPORT";
@@ -3766,15 +3891,15 @@ var FreelancerDeclaration = class extends BaseEntity {
3766
3891
  };
3767
3892
  // individual index to find declaration by user
3768
3893
  __decorateClass([
3769
- Column34({ name: "user_id", type: "integer", nullable: true }),
3770
- Index27()
3894
+ Column36({ name: "user_id", type: "integer", nullable: true }),
3895
+ Index29()
3771
3896
  ], FreelancerDeclaration.prototype, "userId", 2);
3772
3897
  __decorateClass([
3773
- ManyToOne32(() => User, (user) => user.freelancerDeclaration),
3774
- JoinColumn32({ name: "user_id" })
3898
+ ManyToOne34(() => User, (user) => user.freelancerDeclaration),
3899
+ JoinColumn34({ name: "user_id" })
3775
3900
  ], FreelancerDeclaration.prototype, "user", 2);
3776
3901
  __decorateClass([
3777
- Column34({
3902
+ Column36({
3778
3903
  name: "document_type",
3779
3904
  type: "enum",
3780
3905
  enum: DocumentType,
@@ -3782,175 +3907,175 @@ __decorateClass([
3782
3907
  })
3783
3908
  ], FreelancerDeclaration.prototype, "documentType", 2);
3784
3909
  __decorateClass([
3785
- Column34({ name: "front_document_url", type: "varchar", nullable: true })
3910
+ Column36({ name: "front_document_url", type: "varchar", nullable: true })
3786
3911
  ], FreelancerDeclaration.prototype, "frontDocumentUrl", 2);
3787
3912
  __decorateClass([
3788
- Column34({ name: "back_document_url", type: "varchar", nullable: true })
3913
+ Column36({ name: "back_document_url", type: "varchar", nullable: true })
3789
3914
  ], FreelancerDeclaration.prototype, "backDocumentUrl", 2);
3790
3915
  __decorateClass([
3791
- Column34({ name: "declaration_accepted", type: "boolean", default: false })
3916
+ Column36({ name: "declaration_accepted", type: "boolean", default: false })
3792
3917
  ], FreelancerDeclaration.prototype, "declarationAccepted", 2);
3793
3918
  __decorateClass([
3794
- Column34({ name: "digital_signature_url", type: "varchar", nullable: true })
3919
+ Column36({ name: "digital_signature_url", type: "varchar", nullable: true })
3795
3920
  ], FreelancerDeclaration.prototype, "digitalSignatureUrl", 2);
3796
3921
  FreelancerDeclaration = __decorateClass([
3797
- Entity33("freelancer_declaration")
3922
+ Entity35("freelancer_declaration")
3798
3923
  ], FreelancerDeclaration);
3799
3924
 
3800
3925
  // src/entities/company-members-roles.entity.ts
3801
3926
  import {
3802
- Column as Column38,
3803
- Entity as Entity37,
3804
- ManyToOne as ManyToOne35,
3805
- JoinColumn as JoinColumn35,
3806
- Index as Index31
3927
+ Column as Column40,
3928
+ Entity as Entity39,
3929
+ ManyToOne as ManyToOne37,
3930
+ JoinColumn as JoinColumn37,
3931
+ Index as Index33
3807
3932
  } from "typeorm";
3808
3933
 
3809
3934
  // src/entities/company-role.entity.ts
3810
3935
  import {
3811
- Column as Column37,
3812
- Entity as Entity36,
3813
- Index as Index30,
3814
- JoinColumn as JoinColumn34,
3815
- ManyToOne as ManyToOne34,
3816
- OneToMany as OneToMany11
3936
+ Column as Column39,
3937
+ Entity as Entity38,
3938
+ Index as Index32,
3939
+ JoinColumn as JoinColumn36,
3940
+ ManyToOne as ManyToOne36,
3941
+ OneToMany as OneToMany12
3817
3942
  } from "typeorm";
3818
3943
 
3819
3944
  // src/entities/company-role-permission.entity.ts
3820
3945
  import {
3821
- Column as Column36,
3822
- Entity as Entity35,
3823
- ManyToOne as ManyToOne33,
3824
- JoinColumn as JoinColumn33,
3825
- Index as Index29
3946
+ Column as Column38,
3947
+ Entity as Entity37,
3948
+ ManyToOne as ManyToOne35,
3949
+ JoinColumn as JoinColumn35,
3950
+ Index as Index31
3826
3951
  } from "typeorm";
3827
3952
 
3828
3953
  // src/entities/permission.entity.ts
3829
- import { Column as Column35, Entity as Entity34, Index as Index28 } from "typeorm";
3954
+ import { Column as Column37, Entity as Entity36, Index as Index30 } from "typeorm";
3830
3955
  var Permission = class extends BaseEntity {
3831
3956
  };
3832
3957
  __decorateClass([
3833
- Column35({ name: "name", type: "varchar", nullable: true })
3958
+ Column37({ name: "name", type: "varchar", nullable: true })
3834
3959
  ], Permission.prototype, "name", 2);
3835
3960
  __decorateClass([
3836
- Column35({ name: "slug", type: "varchar", nullable: true, unique: true }),
3837
- Index28()
3961
+ Column37({ name: "slug", type: "varchar", nullable: true, unique: true }),
3962
+ Index30()
3838
3963
  ], Permission.prototype, "slug", 2);
3839
3964
  __decorateClass([
3840
- Column35({ name: "description", type: "text", nullable: true })
3965
+ Column37({ name: "description", type: "text", nullable: true })
3841
3966
  ], Permission.prototype, "description", 2);
3842
3967
  __decorateClass([
3843
- Column35({ name: "is_active", type: "boolean", default: true })
3968
+ Column37({ name: "is_active", type: "boolean", default: true })
3844
3969
  ], Permission.prototype, "isActive", 2);
3845
3970
  Permission = __decorateClass([
3846
- Entity34("permissions")
3971
+ Entity36("permissions")
3847
3972
  ], Permission);
3848
3973
 
3849
3974
  // src/entities/company-role-permission.entity.ts
3850
3975
  var CompanyRolePermission = class extends BaseEntity {
3851
3976
  };
3852
3977
  __decorateClass([
3853
- Column36({ name: "company_role_id", type: "integer", nullable: true }),
3854
- Index29()
3978
+ Column38({ name: "company_role_id", type: "integer", nullable: true }),
3979
+ Index31()
3855
3980
  ], CompanyRolePermission.prototype, "companyRoleId", 2);
3856
3981
  __decorateClass([
3857
- ManyToOne33(() => CompanyRole, (role) => role.rolePermissions, {
3982
+ ManyToOne35(() => CompanyRole, (role) => role.rolePermissions, {
3858
3983
  onDelete: "CASCADE"
3859
3984
  }),
3860
- JoinColumn33({ name: "company_role_id" })
3985
+ JoinColumn35({ name: "company_role_id" })
3861
3986
  ], CompanyRolePermission.prototype, "companyRole", 2);
3862
3987
  __decorateClass([
3863
- Column36({ name: "permission_id", type: "integer" }),
3864
- Index29()
3988
+ Column38({ name: "permission_id", type: "integer" }),
3989
+ Index31()
3865
3990
  ], CompanyRolePermission.prototype, "permissionId", 2);
3866
3991
  __decorateClass([
3867
- ManyToOne33(() => Permission, { onDelete: "CASCADE" }),
3868
- JoinColumn33({ name: "permission_id" })
3992
+ ManyToOne35(() => Permission, { onDelete: "CASCADE" }),
3993
+ JoinColumn35({ name: "permission_id" })
3869
3994
  ], CompanyRolePermission.prototype, "permission", 2);
3870
3995
  __decorateClass([
3871
- Column36({ name: "assigned_by", type: "integer", nullable: true })
3996
+ Column38({ name: "assigned_by", type: "integer", nullable: true })
3872
3997
  ], CompanyRolePermission.prototype, "assignedBy", 2);
3873
3998
  CompanyRolePermission = __decorateClass([
3874
- Entity35("company_role_permissions")
3999
+ Entity37("company_role_permissions")
3875
4000
  ], CompanyRolePermission);
3876
4001
 
3877
4002
  // src/entities/company-role.entity.ts
3878
4003
  var CompanyRole = class extends BaseEntity {
3879
4004
  };
3880
4005
  __decorateClass([
3881
- Column37({ name: "user_id", type: "integer", nullable: true }),
3882
- Index30()
4006
+ Column39({ name: "user_id", type: "integer", nullable: true }),
4007
+ Index32()
3883
4008
  ], CompanyRole.prototype, "userId", 2);
3884
4009
  __decorateClass([
3885
- ManyToOne34(() => User, (user) => user.otps),
3886
- JoinColumn34({ name: "user_id" })
4010
+ ManyToOne36(() => User, (user) => user.otps),
4011
+ JoinColumn36({ name: "user_id" })
3887
4012
  ], CompanyRole.prototype, "user", 2);
3888
4013
  __decorateClass([
3889
- Column37({ name: "name", type: "varchar" })
4014
+ Column39({ name: "name", type: "varchar" })
3890
4015
  ], CompanyRole.prototype, "name", 2);
3891
4016
  __decorateClass([
3892
- Column37({ name: "slug", type: "varchar", nullable: true, unique: true }),
3893
- Index30()
4017
+ Column39({ name: "slug", type: "varchar", nullable: true, unique: true }),
4018
+ Index32()
3894
4019
  ], CompanyRole.prototype, "slug", 2);
3895
4020
  __decorateClass([
3896
- Column37({ name: "description", type: "text", nullable: true })
4021
+ Column39({ name: "description", type: "text", nullable: true })
3897
4022
  ], CompanyRole.prototype, "description", 2);
3898
4023
  __decorateClass([
3899
- Column37({ name: "is_active", type: "boolean", default: true })
4024
+ Column39({ name: "is_active", type: "boolean", default: true })
3900
4025
  ], CompanyRole.prototype, "isActive", 2);
3901
4026
  __decorateClass([
3902
- OneToMany11(() => CompanyRolePermission, (rp) => rp.companyRole)
4027
+ OneToMany12(() => CompanyRolePermission, (rp) => rp.companyRole)
3903
4028
  ], CompanyRole.prototype, "rolePermissions", 2);
3904
4029
  CompanyRole = __decorateClass([
3905
- Entity36("company_roles")
4030
+ Entity38("company_roles")
3906
4031
  ], CompanyRole);
3907
4032
 
3908
4033
  // src/entities/company-members-roles.entity.ts
3909
4034
  var CompanyMemberRole = class extends BaseEntity {
3910
4035
  };
3911
4036
  __decorateClass([
3912
- Column38({ name: "user_id", type: "integer", nullable: true }),
3913
- Index31()
4037
+ Column40({ name: "user_id", type: "integer", nullable: true }),
4038
+ Index33()
3914
4039
  ], CompanyMemberRole.prototype, "userId", 2);
3915
4040
  __decorateClass([
3916
- ManyToOne35(() => User),
3917
- JoinColumn35({ name: "user_id" })
4041
+ ManyToOne37(() => User),
4042
+ JoinColumn37({ name: "user_id" })
3918
4043
  ], CompanyMemberRole.prototype, "user", 2);
3919
4044
  __decorateClass([
3920
- ManyToOne35(() => CompanyRole),
3921
- JoinColumn35({ name: "company_role_id" })
4045
+ ManyToOne37(() => CompanyRole),
4046
+ JoinColumn37({ name: "company_role_id" })
3922
4047
  ], CompanyMemberRole.prototype, "role", 2);
3923
4048
  __decorateClass([
3924
- Column38({ name: "company_role_id", type: "integer", nullable: true }),
3925
- Index31()
4049
+ Column40({ name: "company_role_id", type: "integer", nullable: true }),
4050
+ Index33()
3926
4051
  ], CompanyMemberRole.prototype, "companyRoleId", 2);
3927
4052
  __decorateClass([
3928
- Column38({ name: "assigned_by", type: "integer", nullable: true })
4053
+ Column40({ name: "assigned_by", type: "integer", nullable: true })
3929
4054
  ], CompanyMemberRole.prototype, "assignedBy", 2);
3930
4055
  CompanyMemberRole = __decorateClass([
3931
- Entity37("company_member_roles")
4056
+ Entity39("company_member_roles")
3932
4057
  ], CompanyMemberRole);
3933
4058
 
3934
4059
  // src/entities/assessment-answer.entity.ts
3935
4060
  import {
3936
- Entity as Entity40,
3937
- Column as Column41,
3938
- ManyToOne as ManyToOne37,
3939
- Index as Index33,
3940
- JoinColumn as JoinColumn37
4061
+ Entity as Entity42,
4062
+ Column as Column43,
4063
+ ManyToOne as ManyToOne39,
4064
+ Index as Index35,
4065
+ JoinColumn as JoinColumn39
3941
4066
  } from "typeorm";
3942
4067
 
3943
4068
  // src/entities/assessment-question.entity.ts
3944
- import { Entity as Entity39, Column as Column40, OneToMany as OneToMany13 } from "typeorm";
4069
+ import { Entity as Entity41, Column as Column42, OneToMany as OneToMany14 } from "typeorm";
3945
4070
 
3946
4071
  // src/entities/assessment-question-option.entity.ts
3947
4072
  import {
3948
- Entity as Entity38,
3949
- Column as Column39,
3950
- OneToMany as OneToMany12,
3951
- ManyToOne as ManyToOne36,
3952
- Index as Index32,
3953
- JoinColumn as JoinColumn36
4073
+ Entity as Entity40,
4074
+ Column as Column41,
4075
+ OneToMany as OneToMany13,
4076
+ ManyToOne as ManyToOne38,
4077
+ Index as Index34,
4078
+ JoinColumn as JoinColumn38
3954
4079
  } from "typeorm";
3955
4080
  var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
3956
4081
  AnswerTypeEnum2["CORRECT"] = "CORRECT";
@@ -3961,21 +4086,21 @@ var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
3961
4086
  var AssessmetQuestionOption = class extends BaseEntity {
3962
4087
  };
3963
4088
  __decorateClass([
3964
- Column39({ name: "question_id", type: "integer", nullable: true }),
3965
- Index32()
4089
+ Column41({ name: "question_id", type: "integer", nullable: true }),
4090
+ Index34()
3966
4091
  ], AssessmetQuestionOption.prototype, "questionId", 2);
3967
4092
  __decorateClass([
3968
- ManyToOne36(
4093
+ ManyToOne38(
3969
4094
  () => AssessmetQuestion,
3970
4095
  (assessmentQuestion) => assessmentQuestion.options
3971
4096
  ),
3972
- JoinColumn36({ name: "question_id" })
4097
+ JoinColumn38({ name: "question_id" })
3973
4098
  ], AssessmetQuestionOption.prototype, "question", 2);
3974
4099
  __decorateClass([
3975
- Column39({ name: "text", type: "varchar", nullable: true })
4100
+ Column41({ name: "text", type: "varchar", nullable: true })
3976
4101
  ], AssessmetQuestionOption.prototype, "text", 2);
3977
4102
  __decorateClass([
3978
- Column39({
4103
+ Column41({
3979
4104
  name: "answer_type",
3980
4105
  type: "enum",
3981
4106
  enum: AnswerTypeEnum,
@@ -3983,13 +4108,13 @@ __decorateClass([
3983
4108
  })
3984
4109
  ], AssessmetQuestionOption.prototype, "answerType", 2);
3985
4110
  __decorateClass([
3986
- Column39({ name: "is_active", type: "boolean", default: true })
4111
+ Column41({ name: "is_active", type: "boolean", default: true })
3987
4112
  ], AssessmetQuestionOption.prototype, "isActive", 2);
3988
4113
  __decorateClass([
3989
- OneToMany12(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
4114
+ OneToMany13(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
3990
4115
  ], AssessmetQuestionOption.prototype, "selectedOptions", 2);
3991
4116
  AssessmetQuestionOption = __decorateClass([
3992
- Entity38("assessment_question_options")
4117
+ Entity40("assessment_question_options")
3993
4118
  ], AssessmetQuestionOption);
3994
4119
 
3995
4120
  // src/entities/assessment-question.entity.ts
@@ -4001,10 +4126,10 @@ var QuestionForEnum = /* @__PURE__ */ ((QuestionForEnum2) => {
4001
4126
  var AssessmetQuestion = class extends BaseEntity {
4002
4127
  };
4003
4128
  __decorateClass([
4004
- Column40({ name: "text", type: "varchar", nullable: true })
4129
+ Column42({ name: "text", type: "varchar", nullable: true })
4005
4130
  ], AssessmetQuestion.prototype, "text", 2);
4006
4131
  __decorateClass([
4007
- Column40({
4132
+ Column42({
4008
4133
  name: "question_for",
4009
4134
  type: "enum",
4010
4135
  enum: QuestionForEnum,
@@ -4012,16 +4137,16 @@ __decorateClass([
4012
4137
  })
4013
4138
  ], AssessmetQuestion.prototype, "questionFor", 2);
4014
4139
  __decorateClass([
4015
- Column40({ name: "is_active", type: "boolean", default: true })
4140
+ Column42({ name: "is_active", type: "boolean", default: true })
4016
4141
  ], AssessmetQuestion.prototype, "isActive", 2);
4017
4142
  __decorateClass([
4018
- OneToMany13(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
4143
+ OneToMany14(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
4019
4144
  ], AssessmetQuestion.prototype, "options", 2);
4020
4145
  __decorateClass([
4021
- OneToMany13(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
4146
+ OneToMany14(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
4022
4147
  ], AssessmetQuestion.prototype, "answers", 2);
4023
4148
  AssessmetQuestion = __decorateClass([
4024
- Entity39("assessment_questions")
4149
+ Entity41("assessment_questions")
4025
4150
  ], AssessmetQuestion);
4026
4151
 
4027
4152
  // src/entities/assessment-answer.entity.ts
@@ -4034,118 +4159,118 @@ var SelectedAnswerTypeEnum = /* @__PURE__ */ ((SelectedAnswerTypeEnum2) => {
4034
4159
  var AssessmentAnswer = class extends BaseEntity {
4035
4160
  };
4036
4161
  __decorateClass([
4037
- Column41({ name: "user_id", type: "integer" }),
4038
- Index33()
4162
+ Column43({ name: "user_id", type: "integer" }),
4163
+ Index35()
4039
4164
  ], AssessmentAnswer.prototype, "userId", 2);
4040
4165
  __decorateClass([
4041
- ManyToOne37(() => User, (user) => user.assessmentAnswers),
4042
- JoinColumn37({ name: "user_id" })
4166
+ ManyToOne39(() => User, (user) => user.assessmentAnswers),
4167
+ JoinColumn39({ name: "user_id" })
4043
4168
  ], AssessmentAnswer.prototype, "user", 2);
4044
4169
  __decorateClass([
4045
- Column41({ name: "question_id", type: "integer" }),
4046
- Index33()
4170
+ Column43({ name: "question_id", type: "integer" }),
4171
+ Index35()
4047
4172
  ], AssessmentAnswer.prototype, "questionId", 2);
4048
4173
  __decorateClass([
4049
- ManyToOne37(
4174
+ ManyToOne39(
4050
4175
  () => AssessmetQuestion,
4051
4176
  (assessmentQuestion) => assessmentQuestion.answers
4052
4177
  ),
4053
- JoinColumn37({ name: "question_id" })
4178
+ JoinColumn39({ name: "question_id" })
4054
4179
  ], AssessmentAnswer.prototype, "question", 2);
4055
4180
  __decorateClass([
4056
- Column41({ name: "selected_option_id", type: "integer" }),
4057
- Index33()
4181
+ Column43({ name: "selected_option_id", type: "integer" }),
4182
+ Index35()
4058
4183
  ], AssessmentAnswer.prototype, "selectedOptionId", 2);
4059
4184
  __decorateClass([
4060
- ManyToOne37(
4185
+ ManyToOne39(
4061
4186
  () => AssessmetQuestionOption,
4062
4187
  (assessmentQuestionOption) => assessmentQuestionOption.selectedOptions
4063
4188
  ),
4064
- JoinColumn37({ name: "selected_option_id" })
4189
+ JoinColumn39({ name: "selected_option_id" })
4065
4190
  ], AssessmentAnswer.prototype, "option", 2);
4066
4191
  __decorateClass([
4067
- Column41({
4192
+ Column43({
4068
4193
  name: "selected_answer_type",
4069
4194
  type: "enum",
4070
4195
  enum: SelectedAnswerTypeEnum
4071
4196
  })
4072
4197
  ], AssessmentAnswer.prototype, "selectedAnswerType", 2);
4073
4198
  __decorateClass([
4074
- Column41({ name: "score", type: "float" })
4199
+ Column43({ name: "score", type: "float" })
4075
4200
  ], AssessmentAnswer.prototype, "score", 2);
4076
4201
  AssessmentAnswer = __decorateClass([
4077
- Entity40("assessment_answers")
4202
+ Entity42("assessment_answers")
4078
4203
  ], AssessmentAnswer);
4079
4204
 
4080
4205
  // src/entities/company-skill.entity.ts
4081
- import { Entity as Entity41, Column as Column42, Index as Index34, ManyToOne as ManyToOne38, JoinColumn as JoinColumn38 } from "typeorm";
4206
+ import { Entity as Entity43, Column as Column44, Index as Index36, ManyToOne as ManyToOne40, JoinColumn as JoinColumn40 } from "typeorm";
4082
4207
  var CompanySkill = class extends BaseEntity {
4083
4208
  };
4084
4209
  // individual index to find core skills by user
4085
4210
  __decorateClass([
4086
- Column42({ name: "user_id", type: "integer", nullable: true }),
4087
- Index34()
4211
+ Column44({ name: "user_id", type: "integer", nullable: true }),
4212
+ Index36()
4088
4213
  ], CompanySkill.prototype, "userId", 2);
4089
4214
  __decorateClass([
4090
- ManyToOne38(() => User, (user) => user.freelancerSkills),
4091
- JoinColumn38({ name: "user_id" })
4215
+ ManyToOne40(() => User, (user) => user.freelancerSkills),
4216
+ JoinColumn40({ name: "user_id" })
4092
4217
  ], CompanySkill.prototype, "user", 2);
4093
4218
  __decorateClass([
4094
- Column42({ name: "skill_name", type: "varchar", nullable: true })
4219
+ Column44({ name: "skill_name", type: "varchar", nullable: true })
4095
4220
  ], CompanySkill.prototype, "skillName", 2);
4096
4221
  CompanySkill = __decorateClass([
4097
- Entity41("company_skills")
4222
+ Entity43("company_skills")
4098
4223
  ], CompanySkill);
4099
4224
 
4100
4225
  // src/entities/admin-user-role.entity.ts
4101
- import { Entity as Entity45, Column as Column46, ManyToOne as ManyToOne40, JoinColumn as JoinColumn40 } from "typeorm";
4226
+ import { Entity as Entity47, Column as Column48, ManyToOne as ManyToOne42, JoinColumn as JoinColumn42 } from "typeorm";
4102
4227
 
4103
4228
  // src/entities/admin-role.entity.ts
4104
- import { Entity as Entity44, Column as Column45, Index as Index37, OneToMany as OneToMany16 } from "typeorm";
4229
+ import { Entity as Entity46, Column as Column47, Index as Index39, OneToMany as OneToMany17 } from "typeorm";
4105
4230
 
4106
4231
  // src/entities/admin-role-permission.entity.ts
4107
- import { Entity as Entity43, Column as Column44, ManyToOne as ManyToOne39, JoinColumn as JoinColumn39 } from "typeorm";
4232
+ import { Entity as Entity45, Column as Column46, ManyToOne as ManyToOne41, JoinColumn as JoinColumn41 } from "typeorm";
4108
4233
 
4109
4234
  // src/entities/admin-permission.entity.ts
4110
- import { Entity as Entity42, Column as Column43, Index as Index35, OneToMany as OneToMany15 } from "typeorm";
4235
+ import { Entity as Entity44, Column as Column45, Index as Index37, OneToMany as OneToMany16 } from "typeorm";
4111
4236
  var AdminPermission = class extends BaseEntity {
4112
4237
  };
4113
4238
  __decorateClass([
4114
- Column43({ name: "permission_name", type: "varchar", nullable: true })
4239
+ Column45({ name: "permission_name", type: "varchar", nullable: true })
4115
4240
  ], AdminPermission.prototype, "permissionName", 2);
4116
4241
  __decorateClass([
4117
- Column43({
4242
+ Column45({
4118
4243
  name: "permission_slug",
4119
4244
  type: "varchar",
4120
4245
  unique: true,
4121
4246
  nullable: true
4122
4247
  }),
4123
- Index35()
4248
+ Index37()
4124
4249
  ], AdminPermission.prototype, "permissionSlug", 2);
4125
4250
  __decorateClass([
4126
- Column43({ name: "permission_description", type: "varchar", nullable: true })
4251
+ Column45({ name: "permission_description", type: "varchar", nullable: true })
4127
4252
  ], AdminPermission.prototype, "permissionDescription", 2);
4128
4253
  __decorateClass([
4129
- Column43({ name: "module", type: "varchar", nullable: true })
4254
+ Column45({ name: "module", type: "varchar", nullable: true })
4130
4255
  ], AdminPermission.prototype, "module", 2);
4131
4256
  __decorateClass([
4132
- Column43({ name: "is_active", type: "boolean", default: true })
4257
+ Column45({ name: "is_active", type: "boolean", default: true })
4133
4258
  ], AdminPermission.prototype, "isActive", 2);
4134
4259
  __decorateClass([
4135
- OneToMany15(
4260
+ OneToMany16(
4136
4261
  () => AdminRolePermission,
4137
4262
  (adminRolePermission) => adminRolePermission.adminPermissions
4138
4263
  )
4139
4264
  ], AdminPermission.prototype, "adminRole", 2);
4140
4265
  AdminPermission = __decorateClass([
4141
- Entity42("admin_permissions")
4266
+ Entity44("admin_permissions")
4142
4267
  ], AdminPermission);
4143
4268
 
4144
4269
  // src/entities/admin-role-permission.entity.ts
4145
4270
  var AdminRolePermission = class extends BaseEntity {
4146
4271
  };
4147
4272
  __decorateClass([
4148
- Column44({
4273
+ Column46({
4149
4274
  name: "role_id",
4150
4275
  type: "int",
4151
4276
  nullable: true,
@@ -4153,11 +4278,11 @@ __decorateClass([
4153
4278
  })
4154
4279
  ], AdminRolePermission.prototype, "roleId", 2);
4155
4280
  __decorateClass([
4156
- ManyToOne39(() => AdminRole),
4157
- JoinColumn39({ name: "role_id" })
4281
+ ManyToOne41(() => AdminRole),
4282
+ JoinColumn41({ name: "role_id" })
4158
4283
  ], AdminRolePermission.prototype, "adminRole", 2);
4159
4284
  __decorateClass([
4160
- Column44({
4285
+ Column46({
4161
4286
  name: "permission_id",
4162
4287
  type: "int",
4163
4288
  nullable: true,
@@ -4165,47 +4290,47 @@ __decorateClass([
4165
4290
  })
4166
4291
  ], AdminRolePermission.prototype, "permissionId", 2);
4167
4292
  __decorateClass([
4168
- ManyToOne39(() => AdminPermission),
4169
- JoinColumn39({ name: "permission_id" })
4293
+ ManyToOne41(() => AdminPermission),
4294
+ JoinColumn41({ name: "permission_id" })
4170
4295
  ], AdminRolePermission.prototype, "adminPermissions", 2);
4171
4296
  AdminRolePermission = __decorateClass([
4172
- Entity43("admin_role_permissions")
4297
+ Entity45("admin_role_permissions")
4173
4298
  ], AdminRolePermission);
4174
4299
 
4175
4300
  // src/entities/admin-role.entity.ts
4176
4301
  var AdminRole = class extends BaseEntity {
4177
4302
  };
4178
4303
  __decorateClass([
4179
- Column45({ name: "role_name", type: "varchar", nullable: true })
4304
+ Column47({ name: "role_name", type: "varchar", nullable: true })
4180
4305
  ], AdminRole.prototype, "roleName", 2);
4181
4306
  __decorateClass([
4182
- Column45({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
4183
- Index37()
4307
+ Column47({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
4308
+ Index39()
4184
4309
  ], AdminRole.prototype, "roleSlug", 2);
4185
4310
  __decorateClass([
4186
- Column45({ name: "role_description", type: "varchar", nullable: true })
4311
+ Column47({ name: "role_description", type: "varchar", nullable: true })
4187
4312
  ], AdminRole.prototype, "roleDescription", 2);
4188
4313
  __decorateClass([
4189
- Column45({ name: "is_active", type: "boolean", default: true })
4314
+ Column47({ name: "is_active", type: "boolean", default: true })
4190
4315
  ], AdminRole.prototype, "isActive", 2);
4191
4316
  __decorateClass([
4192
- OneToMany16(
4317
+ OneToMany17(
4193
4318
  () => AdminRolePermission,
4194
4319
  (addminRolePermission) => addminRolePermission.adminRole
4195
4320
  )
4196
4321
  ], AdminRole.prototype, "adminRolePermission", 2);
4197
4322
  __decorateClass([
4198
- OneToMany16(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
4323
+ OneToMany17(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
4199
4324
  ], AdminRole.prototype, "userRoles", 2);
4200
4325
  AdminRole = __decorateClass([
4201
- Entity44("admin_roles")
4326
+ Entity46("admin_roles")
4202
4327
  ], AdminRole);
4203
4328
 
4204
4329
  // src/entities/admin-user-role.entity.ts
4205
4330
  var AdminUserRole = class extends BaseEntity {
4206
4331
  };
4207
4332
  __decorateClass([
4208
- Column46({
4333
+ Column48({
4209
4334
  name: "user_id",
4210
4335
  type: "int",
4211
4336
  nullable: true,
@@ -4213,11 +4338,11 @@ __decorateClass([
4213
4338
  })
4214
4339
  ], AdminUserRole.prototype, "userId", 2);
4215
4340
  __decorateClass([
4216
- ManyToOne40(() => User),
4217
- JoinColumn40({ name: "user_id" })
4341
+ ManyToOne42(() => User),
4342
+ JoinColumn42({ name: "user_id" })
4218
4343
  ], AdminUserRole.prototype, "user", 2);
4219
4344
  __decorateClass([
4220
- Column46({
4345
+ Column48({
4221
4346
  name: "role_id",
4222
4347
  type: "int",
4223
4348
  nullable: true,
@@ -4225,47 +4350,47 @@ __decorateClass([
4225
4350
  })
4226
4351
  ], AdminUserRole.prototype, "roleId", 2);
4227
4352
  __decorateClass([
4228
- ManyToOne40(() => AdminRole),
4229
- JoinColumn40({ name: "role_id" })
4353
+ ManyToOne42(() => AdminRole),
4354
+ JoinColumn42({ name: "role_id" })
4230
4355
  ], AdminUserRole.prototype, "adminRole", 2);
4231
4356
  AdminUserRole = __decorateClass([
4232
- Entity45("admin_user_roles")
4357
+ Entity47("admin_user_roles")
4233
4358
  ], AdminUserRole);
4234
4359
 
4235
4360
  // src/entities/freelancer-resume.entity.ts
4236
4361
  import {
4237
- Entity as Entity46,
4238
- Column as Column47,
4239
- Index as Index39,
4240
- ManyToOne as ManyToOne41,
4241
- JoinColumn as JoinColumn41
4362
+ Entity as Entity48,
4363
+ Column as Column49,
4364
+ Index as Index41,
4365
+ ManyToOne as ManyToOne43,
4366
+ JoinColumn as JoinColumn43
4242
4367
  } from "typeorm";
4243
4368
  var FreelancerResume = class extends BaseEntity {
4244
4369
  };
4245
4370
  // individual index to find profile by user
4246
4371
  __decorateClass([
4247
- Column47({ name: "user_id", type: "integer", nullable: true }),
4248
- Index39()
4372
+ Column49({ name: "user_id", type: "integer", nullable: true }),
4373
+ Index41()
4249
4374
  ], FreelancerResume.prototype, "userId", 2);
4250
4375
  __decorateClass([
4251
- ManyToOne41(() => User, (user) => user.freelancerProfile),
4252
- JoinColumn41({ name: "user_id" })
4376
+ ManyToOne43(() => User, (user) => user.freelancerProfile),
4377
+ JoinColumn43({ name: "user_id" })
4253
4378
  ], FreelancerResume.prototype, "user", 2);
4254
4379
  __decorateClass([
4255
- Column47({ name: "resume_data", type: "jsonb", nullable: true })
4380
+ Column49({ name: "resume_data", type: "jsonb", nullable: true })
4256
4381
  ], FreelancerResume.prototype, "resumeData", 2);
4257
4382
  __decorateClass([
4258
- Column47({ name: "processed_resume_data", type: "jsonb", nullable: true })
4383
+ Column49({ name: "processed_resume_data", type: "jsonb", nullable: true })
4259
4384
  ], FreelancerResume.prototype, "processedResumeData", 2);
4260
4385
  FreelancerResume = __decorateClass([
4261
- Entity46("freelancer_resumes")
4386
+ Entity48("freelancer_resumes")
4262
4387
  ], FreelancerResume);
4263
4388
 
4264
4389
  // src/entities/stripe-wallet.entity.ts
4265
- import { Entity as Entity48, Column as Column49, Index as Index41, JoinColumn as JoinColumn43, OneToOne as OneToOne3, OneToMany as OneToMany17 } from "typeorm";
4390
+ import { Entity as Entity50, Column as Column51, Index as Index43, JoinColumn as JoinColumn45, OneToOne as OneToOne4, OneToMany as OneToMany18 } from "typeorm";
4266
4391
 
4267
4392
  // src/entities/stripe-wallet-transaction.entity.ts
4268
- import { Entity as Entity47, Column as Column48, Index as Index40, ManyToOne as ManyToOne42, JoinColumn as JoinColumn42 } from "typeorm";
4393
+ import { Entity as Entity49, Column as Column50, Index as Index42, ManyToOne as ManyToOne44, JoinColumn as JoinColumn44 } from "typeorm";
4269
4394
  var StripeWalletTransactionTypeEnum = /* @__PURE__ */ ((StripeWalletTransactionTypeEnum2) => {
4270
4395
  StripeWalletTransactionTypeEnum2["ADD_FUNDS"] = "ADD_FUNDS";
4271
4396
  StripeWalletTransactionTypeEnum2["TRANSFER"] = "TRANSFER";
@@ -4285,36 +4410,36 @@ var StripeWalletTransactionStatusEnum = /* @__PURE__ */ ((StripeWalletTransactio
4285
4410
  var StripeWalletTransaction = class extends BaseEntity {
4286
4411
  };
4287
4412
  __decorateClass([
4288
- Column48({ name: "wallet_id", type: "integer", nullable: true }),
4289
- Index40()
4413
+ Column50({ name: "wallet_id", type: "integer", nullable: true }),
4414
+ Index42()
4290
4415
  ], StripeWalletTransaction.prototype, "walletId", 2);
4291
4416
  __decorateClass([
4292
- ManyToOne42(() => StripeWallet, (stripeWallet) => stripeWallet.transactions),
4293
- JoinColumn42({ name: "wallet_id" })
4417
+ ManyToOne44(() => StripeWallet, (stripeWallet) => stripeWallet.transactions),
4418
+ JoinColumn44({ name: "wallet_id" })
4294
4419
  ], StripeWalletTransaction.prototype, "stripeWallet", 2);
4295
4420
  __decorateClass([
4296
- Column48({ name: "amount", type: "bigint", nullable: true })
4421
+ Column50({ name: "amount", type: "bigint", nullable: true })
4297
4422
  ], StripeWalletTransaction.prototype, "amount", 2);
4298
4423
  __decorateClass([
4299
- Column48({ name: "currency", type: "varchar", nullable: true })
4424
+ Column50({ name: "currency", type: "varchar", nullable: true })
4300
4425
  ], StripeWalletTransaction.prototype, "currency", 2);
4301
4426
  __decorateClass([
4302
- Column48({ name: "type", type: "enum", enum: StripeWalletTransactionTypeEnum })
4427
+ Column50({ name: "type", type: "enum", enum: StripeWalletTransactionTypeEnum })
4303
4428
  ], StripeWalletTransaction.prototype, "type", 2);
4304
4429
  __decorateClass([
4305
- Column48({ name: "status", type: "enum", enum: StripeWalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
4430
+ Column50({ name: "status", type: "enum", enum: StripeWalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
4306
4431
  ], StripeWalletTransaction.prototype, "status", 2);
4307
4432
  __decorateClass([
4308
- Column48({ name: "stripe_session_id", type: "varchar", nullable: true })
4433
+ Column50({ name: "stripe_session_id", type: "varchar", nullable: true })
4309
4434
  ], StripeWalletTransaction.prototype, "stripeSessionId", 2);
4310
4435
  __decorateClass([
4311
- Column48({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
4436
+ Column50({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
4312
4437
  ], StripeWalletTransaction.prototype, "stripePaymentIntentId", 2);
4313
4438
  __decorateClass([
4314
- Column48({ name: "description", type: "text", nullable: true })
4439
+ Column50({ name: "description", type: "text", nullable: true })
4315
4440
  ], StripeWalletTransaction.prototype, "description", 2);
4316
4441
  StripeWalletTransaction = __decorateClass([
4317
- Entity47("stripe_wallet_transactions")
4442
+ Entity49("stripe_wallet_transactions")
4318
4443
  ], StripeWalletTransaction);
4319
4444
 
4320
4445
  // src/entities/stripe-wallet.entity.ts
@@ -4331,62 +4456,62 @@ var StripeWalletOnboardingStatusEnum = /* @__PURE__ */ ((StripeWalletOnboardingS
4331
4456
  var StripeWallet = class extends BaseEntity {
4332
4457
  };
4333
4458
  __decorateClass([
4334
- Column49({ name: "user_id", type: "integer", nullable: true }),
4335
- Index41()
4459
+ Column51({ name: "user_id", type: "integer", nullable: true }),
4460
+ Index43()
4336
4461
  ], StripeWallet.prototype, "userId", 2);
4337
4462
  __decorateClass([
4338
- OneToOne3(() => User, (user) => user.stripeWallet),
4339
- JoinColumn43({ name: "user_id" })
4463
+ OneToOne4(() => User, (user) => user.stripeWallet),
4464
+ JoinColumn45({ name: "user_id" })
4340
4465
  ], StripeWallet.prototype, "user", 2);
4341
4466
  __decorateClass([
4342
- Column49({ name: "account_type", type: "enum", enum: StripeWalletAccountTypeEnum, nullable: true })
4467
+ Column51({ name: "account_type", type: "enum", enum: StripeWalletAccountTypeEnum, nullable: true })
4343
4468
  ], StripeWallet.prototype, "accountType", 2);
4344
4469
  __decorateClass([
4345
- Column49({ name: "stripe_account_id", type: "varchar", nullable: true })
4470
+ Column51({ name: "stripe_account_id", type: "varchar", nullable: true })
4346
4471
  ], StripeWallet.prototype, "stripeAccountId", 2);
4347
4472
  __decorateClass([
4348
- Column49({ name: "stripe_customer_id", type: "varchar", nullable: true })
4473
+ Column51({ name: "stripe_customer_id", type: "varchar", nullable: true })
4349
4474
  ], StripeWallet.prototype, "stripeCustomerId", 2);
4350
4475
  __decorateClass([
4351
- Column49({ name: "wallet_balance", type: "bigint", default: 0 })
4476
+ Column51({ name: "wallet_balance", type: "bigint", default: 0 })
4352
4477
  ], StripeWallet.prototype, "walletBalance", 2);
4353
4478
  __decorateClass([
4354
- Column49({ name: "onboarding_status", type: "enum", enum: StripeWalletOnboardingStatusEnum, nullable: true })
4479
+ Column51({ name: "onboarding_status", type: "enum", enum: StripeWalletOnboardingStatusEnum, nullable: true })
4355
4480
  ], StripeWallet.prototype, "onboardingStatus", 2);
4356
4481
  __decorateClass([
4357
- Column49({ name: "stripe_metadata", type: "jsonb", nullable: true })
4482
+ Column51({ name: "stripe_metadata", type: "jsonb", nullable: true })
4358
4483
  ], StripeWallet.prototype, "stripeMetadata", 2);
4359
4484
  __decorateClass([
4360
- OneToMany17(() => StripeWalletTransaction, (stripeWalletTransaction) => stripeWalletTransaction.stripeWallet)
4485
+ OneToMany18(() => StripeWalletTransaction, (stripeWalletTransaction) => stripeWalletTransaction.stripeWallet)
4361
4486
  ], StripeWallet.prototype, "transactions", 2);
4362
4487
  StripeWallet = __decorateClass([
4363
- Entity48("stripe_wallets")
4488
+ Entity50("stripe_wallets")
4364
4489
  ], StripeWallet);
4365
4490
 
4366
4491
  // src/entities/signature.entity.ts
4367
4492
  import {
4368
- Entity as Entity49,
4369
- Column as Column50,
4370
- Index as Index42,
4371
- ManyToOne as ManyToOne43,
4372
- JoinColumn as JoinColumn44
4493
+ Entity as Entity51,
4494
+ Column as Column52,
4495
+ Index as Index44,
4496
+ ManyToOne as ManyToOne45,
4497
+ JoinColumn as JoinColumn46
4373
4498
  } from "typeorm";
4374
4499
  var Signature = class extends BaseEntity {
4375
4500
  };
4376
4501
  // individual index to find profile by user
4377
4502
  __decorateClass([
4378
- Column50({ name: "user_id", type: "integer", nullable: true }),
4379
- Index42()
4503
+ Column52({ name: "user_id", type: "integer", nullable: true }),
4504
+ Index44()
4380
4505
  ], Signature.prototype, "userId", 2);
4381
4506
  __decorateClass([
4382
- ManyToOne43(() => User, (user) => user.signatures),
4383
- JoinColumn44({ name: "user_id" })
4507
+ ManyToOne45(() => User, (user) => user.signatures),
4508
+ JoinColumn46({ name: "user_id" })
4384
4509
  ], Signature.prototype, "user", 2);
4385
4510
  __decorateClass([
4386
- Column50({ name: "signature_url", type: "text", nullable: true })
4511
+ Column52({ name: "signature_url", type: "text", nullable: true })
4387
4512
  ], Signature.prototype, "signatureUrl", 2);
4388
4513
  Signature = __decorateClass([
4389
- Entity49("signatures")
4514
+ Entity51("signatures")
4390
4515
  ], Signature);
4391
4516
 
4392
4517
  // src/entities/user.entity.ts
@@ -4414,51 +4539,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
4414
4539
  var User = class extends BaseEntity {
4415
4540
  };
4416
4541
  __decorateClass([
4417
- Column51({ name: "unique_id", type: "varchar", unique: true })
4542
+ Column53({ name: "unique_id", type: "varchar", unique: true })
4418
4543
  ], User.prototype, "uniqueId", 2);
4419
4544
  __decorateClass([
4420
- Column51({ name: "parent_id", type: "integer", nullable: true }),
4421
- Index43()
4545
+ Column53({ name: "parent_id", type: "integer", nullable: true }),
4546
+ Index45()
4422
4547
  ], User.prototype, "parentId", 2);
4423
4548
  __decorateClass([
4424
- ManyToOne44(() => User, (user) => user.children, { nullable: true }),
4425
- JoinColumn45({ name: "parent_id" })
4549
+ ManyToOne46(() => User, (user) => user.children, { nullable: true }),
4550
+ JoinColumn47({ name: "parent_id" })
4426
4551
  ], User.prototype, "parent", 2);
4427
4552
  __decorateClass([
4428
- OneToMany18(() => User, (user) => user.parent)
4553
+ OneToMany19(() => User, (user) => user.parent)
4429
4554
  ], User.prototype, "children", 2);
4430
4555
  __decorateClass([
4431
- Column51({ name: "username", type: "varchar", unique: true, nullable: true })
4556
+ Column53({ name: "username", type: "varchar", unique: true, nullable: true })
4432
4557
  ], User.prototype, "username", 2);
4433
4558
  __decorateClass([
4434
- Column51({ name: "first_name", type: "varchar", length: 100, nullable: true })
4559
+ Column53({ name: "first_name", type: "varchar", length: 100, nullable: true })
4435
4560
  ], User.prototype, "firstName", 2);
4436
4561
  __decorateClass([
4437
- Column51({ name: "last_name", type: "varchar", length: 100, nullable: true })
4562
+ Column53({ name: "last_name", type: "varchar", length: 100, nullable: true })
4438
4563
  ], User.prototype, "lastName", 2);
4439
4564
  __decorateClass([
4440
- Column51({ name: "date_of_birth", type: "date", nullable: true })
4565
+ Column53({ name: "date_of_birth", type: "date", nullable: true })
4441
4566
  ], User.prototype, "dateOfBirth", 2);
4442
4567
  __decorateClass([
4443
- Column51({ name: "gender", type: "varchar", length: 10, nullable: true })
4568
+ Column53({ name: "gender", type: "varchar", length: 10, nullable: true })
4444
4569
  ], User.prototype, "gender", 2);
4445
4570
  __decorateClass([
4446
- Column51({ name: "profile_picture_url", type: "text", nullable: true })
4571
+ Column53({ name: "profile_picture_url", type: "text", nullable: true })
4447
4572
  ], User.prototype, "profilePictureUrl", 2);
4448
4573
  __decorateClass([
4449
- Column51({ name: "email", type: "varchar", unique: true })
4574
+ Column53({ name: "email", type: "varchar", unique: true })
4450
4575
  ], User.prototype, "email", 2);
4451
4576
  __decorateClass([
4452
- Column51({ name: "mobile_code", type: "varchar", nullable: true })
4577
+ Column53({ name: "mobile_code", type: "varchar", nullable: true })
4453
4578
  ], User.prototype, "mobileCode", 2);
4454
4579
  __decorateClass([
4455
- Column51({ name: "mobile", type: "varchar", nullable: true })
4580
+ Column53({ name: "mobile", type: "varchar", nullable: true })
4456
4581
  ], User.prototype, "mobile", 2);
4457
4582
  __decorateClass([
4458
- Column51({ name: "password", type: "varchar", nullable: true })
4583
+ Column53({ name: "password", type: "varchar", nullable: true })
4459
4584
  ], User.prototype, "password", 2);
4460
4585
  __decorateClass([
4461
- Column51({
4586
+ Column53({
4462
4587
  name: "account_type",
4463
4588
  type: "enum",
4464
4589
  enum: AccountType,
@@ -4466,7 +4591,7 @@ __decorateClass([
4466
4591
  })
4467
4592
  ], User.prototype, "accountType", 2);
4468
4593
  __decorateClass([
4469
- Column51({
4594
+ Column53({
4470
4595
  name: "account_status",
4471
4596
  type: "enum",
4472
4597
  enum: AccountStatus,
@@ -4474,42 +4599,42 @@ __decorateClass([
4474
4599
  })
4475
4600
  ], User.prototype, "accountStatus", 2);
4476
4601
  __decorateClass([
4477
- Column51({ name: "is_email_verified", type: "boolean", default: false })
4602
+ Column53({ name: "is_email_verified", type: "boolean", default: false })
4478
4603
  ], User.prototype, "isEmailVerified", 2);
4479
4604
  __decorateClass([
4480
- Column51({ name: "is_mobile_verified", type: "boolean", default: false })
4605
+ Column53({ name: "is_mobile_verified", type: "boolean", default: false })
4481
4606
  ], User.prototype, "isMobileVerified", 2);
4482
4607
  __decorateClass([
4483
- Column51({ name: "is_social", type: "boolean", default: false })
4608
+ Column53({ name: "is_social", type: "boolean", default: false })
4484
4609
  ], User.prototype, "isSocial", 2);
4485
4610
  __decorateClass([
4486
- Column51({
4611
+ Column53({
4487
4612
  name: "last_login_at",
4488
4613
  type: "timestamp with time zone",
4489
4614
  nullable: true
4490
4615
  })
4491
4616
  ], User.prototype, "lastLoginAt", 2);
4492
4617
  __decorateClass([
4493
- Column51({ name: "last_login_ip", type: "varchar", nullable: true })
4618
+ Column53({ name: "last_login_ip", type: "varchar", nullable: true })
4494
4619
  ], User.prototype, "lastLoginIp", 2);
4495
4620
  __decorateClass([
4496
- Column51({ name: "reset_token", type: "varchar", nullable: true })
4621
+ Column53({ name: "reset_token", type: "varchar", nullable: true })
4497
4622
  ], User.prototype, "resetToken", 2);
4498
4623
  __decorateClass([
4499
- Column51({
4624
+ Column53({
4500
4625
  name: "reset_token_expire_at",
4501
4626
  type: "timestamp with time zone",
4502
4627
  nullable: true
4503
4628
  })
4504
4629
  ], User.prototype, "resetTokenExpireAt", 2);
4505
4630
  __decorateClass([
4506
- Column51({ name: "set_password_token", type: "varchar", nullable: true })
4631
+ Column53({ name: "set_password_token", type: "varchar", nullable: true })
4507
4632
  ], User.prototype, "setPasswordToken", 2);
4508
4633
  __decorateClass([
4509
- OneToMany18(() => RefreshToken, (token) => token.user)
4634
+ OneToMany19(() => RefreshToken, (token) => token.user)
4510
4635
  ], User.prototype, "refreshTokens", 2);
4511
4636
  __decorateClass([
4512
- Column51({
4637
+ Column53({
4513
4638
  name: "provider",
4514
4639
  type: "enum",
4515
4640
  enum: Provider,
@@ -4518,166 +4643,172 @@ __decorateClass([
4518
4643
  })
4519
4644
  ], User.prototype, "provider", 2);
4520
4645
  __decorateClass([
4521
- Column51({ name: "provider_token", type: "varchar", nullable: true })
4646
+ Column53({ name: "provider_token", type: "varchar", nullable: true })
4522
4647
  ], User.prototype, "providerToken", 2);
4523
4648
  __decorateClass([
4524
- Column51({ name: "linkedin_id", type: "varchar", nullable: true })
4649
+ Column53({ name: "linkedin_id", type: "varchar", nullable: true })
4525
4650
  ], User.prototype, "linkedInId", 2);
4526
4651
  __decorateClass([
4527
- Column51({ name: "google_id", type: "varchar", nullable: true })
4652
+ Column53({ name: "google_id", type: "varchar", nullable: true })
4528
4653
  ], User.prototype, "googleId", 2);
4529
4654
  __decorateClass([
4530
- Column51({ name: "gitlabs_id", type: "varchar", nullable: true })
4655
+ Column53({ name: "gitlabs_id", type: "varchar", nullable: true })
4531
4656
  ], User.prototype, "gitLabsId", 2);
4532
4657
  __decorateClass([
4533
- Column51({ name: "onboarded_by", type: "varchar", nullable: true })
4658
+ Column53({ name: "onboarded_by", type: "varchar", nullable: true })
4534
4659
  ], User.prototype, "onBoardedBy", 2);
4535
4660
  __decorateClass([
4536
- OneToMany18(() => Otp, (otp) => otp.user)
4661
+ OneToMany19(() => Otp, (otp) => otp.user)
4537
4662
  ], User.prototype, "otps", 2);
4538
4663
  __decorateClass([
4539
- OneToMany18(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
4664
+ OneToMany19(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
4540
4665
  ], User.prototype, "senseloafLogs", 2);
4541
4666
  __decorateClass([
4542
- OneToOne4(() => CompanyProfile, (companyProfile) => companyProfile.user)
4667
+ OneToOne5(() => CompanyProfile, (companyProfile) => companyProfile.user)
4543
4668
  ], User.prototype, "companyProfile", 2);
4544
4669
  __decorateClass([
4545
- OneToMany18(() => CompanySkill, (companySkill) => companySkill.user)
4670
+ OneToMany19(() => CompanySkill, (companySkill) => companySkill.user)
4546
4671
  ], User.prototype, "companySkills", 2);
4547
4672
  __decorateClass([
4548
- OneToMany18(
4673
+ OneToMany19(
4549
4674
  () => CompanyMemberRole,
4550
4675
  (companyMemberRole) => companyMemberRole.user
4551
4676
  )
4552
4677
  ], User.prototype, "companyMemberRoles", 2);
4553
4678
  __decorateClass([
4554
- OneToMany18(() => AiInterview, (aiInterview) => aiInterview.interviwer)
4679
+ OneToMany19(() => AiInterview, (aiInterview) => aiInterview.interviwer)
4555
4680
  ], User.prototype, "companyAiInterview", 2);
4556
4681
  __decorateClass([
4557
- OneToMany18(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
4682
+ OneToMany19(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
4558
4683
  ], User.prototype, "clientF2FInterviews", 2);
4559
4684
  __decorateClass([
4560
- OneToOne4(
4685
+ OneToOne5(
4561
4686
  () => FreelancerProfile,
4562
4687
  (freelancerProfile) => freelancerProfile.user
4563
4688
  )
4564
4689
  ], User.prototype, "freelancerProfile", 2);
4565
4690
  __decorateClass([
4566
- OneToOne4(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
4691
+ OneToOne5(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
4567
4692
  ], User.prototype, "freelancerResume", 2);
4568
4693
  __decorateClass([
4569
- OneToMany18(
4694
+ OneToMany19(
4570
4695
  () => FreelancerAssessment,
4571
4696
  (freelancerAssessment) => freelancerAssessment.user
4572
4697
  )
4573
4698
  ], User.prototype, "assessments", 2);
4574
4699
  __decorateClass([
4575
- OneToMany18(
4700
+ OneToMany19(
4576
4701
  () => AssessmentAnswer,
4577
4702
  (assessmentAnswer) => assessmentAnswer.user
4578
4703
  )
4579
4704
  ], User.prototype, "assessmentAnswers", 2);
4580
4705
  __decorateClass([
4581
- OneToMany18(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
4706
+ OneToMany19(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
4582
4707
  ], User.prototype, "freelancerSkills", 2);
4583
4708
  __decorateClass([
4584
- OneToMany18(
4709
+ OneToMany19(
4585
4710
  () => FreelancerExperience,
4586
4711
  (freelancerExperience) => freelancerExperience.user
4587
4712
  )
4588
4713
  ], User.prototype, "freelancerExperience", 2);
4589
4714
  __decorateClass([
4590
- OneToMany18(
4715
+ OneToMany19(
4591
4716
  () => FreelancerEducation,
4592
4717
  (freelancerEducation) => freelancerEducation.user
4593
4718
  )
4594
4719
  ], User.prototype, "freelancerEducation", 2);
4595
4720
  __decorateClass([
4596
- OneToMany18(
4721
+ OneToMany19(
4597
4722
  () => FreelancerProject,
4598
4723
  (freelancerProject) => freelancerProject.user
4599
4724
  )
4600
4725
  ], User.prototype, "freelancerProject", 2);
4601
4726
  __decorateClass([
4602
- OneToMany18(
4727
+ OneToMany19(
4603
4728
  () => FreelancerCaseStudy,
4604
4729
  (freelancerCaseStudy) => freelancerCaseStudy.user
4605
4730
  )
4606
4731
  ], User.prototype, "freelancerCaseStudy", 2);
4607
4732
  __decorateClass([
4608
- OneToMany18(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
4733
+ OneToMany19(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
4609
4734
  ], User.prototype, "freelancerTool", 2);
4610
4735
  __decorateClass([
4611
- OneToMany18(
4736
+ OneToMany19(
4612
4737
  () => FreelancerFramework,
4613
4738
  (freelancerFramework) => freelancerFramework.user
4614
4739
  )
4615
4740
  ], User.prototype, "freelancerFramework", 2);
4616
4741
  __decorateClass([
4617
- OneToOne4(
4742
+ OneToOne5(
4618
4743
  () => FreelancerDeclaration,
4619
4744
  (freelancerDeclaration) => freelancerDeclaration.user
4620
4745
  )
4621
4746
  ], User.prototype, "freelancerDeclaration", 2);
4622
4747
  __decorateClass([
4623
- OneToMany18(() => AiInterview, (aiInterview) => aiInterview.candidate)
4748
+ OneToMany19(() => AiInterview, (aiInterview) => aiInterview.candidate)
4624
4749
  ], User.prototype, "freelancerAiInterview", 2);
4625
4750
  __decorateClass([
4626
- OneToMany18(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
4751
+ OneToMany19(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
4627
4752
  ], User.prototype, "freelancerF2FInterviews", 2);
4628
4753
  __decorateClass([
4629
- OneToMany18(
4754
+ OneToMany19(
4630
4755
  () => F2fInterviewRescheduleRequest,
4631
4756
  (f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
4632
4757
  )
4633
4758
  ], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
4634
4759
  __decorateClass([
4635
- OneToMany18(() => Job, (job) => job.user)
4760
+ OneToMany19(() => Job, (job) => job.user)
4636
4761
  ], User.prototype, "jobs", 2);
4637
4762
  __decorateClass([
4638
- OneToMany18(() => JobApplication, (jobApplication) => jobApplication.user)
4763
+ OneToMany19(() => JobApplication, (jobApplication) => jobApplication.user)
4639
4764
  ], User.prototype, "jobApplications", 2);
4640
4765
  __decorateClass([
4641
- OneToMany18(() => Interview, (interview) => interview.user)
4766
+ OneToMany19(() => Interview, (interview) => interview.user)
4642
4767
  ], User.prototype, "interviews", 2);
4643
4768
  __decorateClass([
4644
- OneToMany18(() => BankDetail, (bankDetail) => bankDetail.user)
4769
+ OneToMany19(() => BankDetail, (bankDetail) => bankDetail.user)
4645
4770
  ], User.prototype, "bankDetail", 2);
4646
4771
  __decorateClass([
4647
- OneToMany18(
4772
+ OneToMany19(
4648
4773
  () => SystemPreference,
4649
4774
  (systemPreference) => systemPreference.user
4650
4775
  )
4651
4776
  ], User.prototype, "systemPreference", 2);
4652
4777
  __decorateClass([
4653
- OneToMany18(() => Rating, (rating) => rating.reviewer)
4778
+ OneToMany19(() => Rating, (rating) => rating.reviewer)
4654
4779
  ], User.prototype, "givenRatings", 2);
4655
4780
  __decorateClass([
4656
- OneToMany18(() => Rating, (rating) => rating.reviewee)
4781
+ OneToMany19(() => Rating, (rating) => rating.reviewee)
4657
4782
  ], User.prototype, "receivedRatings", 2);
4658
4783
  __decorateClass([
4659
- OneToMany18(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
4784
+ OneToMany19(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
4660
4785
  ], User.prototype, "adminUserRoles", 2);
4661
4786
  __decorateClass([
4662
- OneToMany18(() => Contract, (contract) => contract.client)
4787
+ OneToMany19(() => Contract, (contract) => contract.client)
4663
4788
  ], User.prototype, "clientContracts", 2);
4664
4789
  __decorateClass([
4665
- OneToMany18(() => Contract, (contract) => contract.freelancer)
4790
+ OneToMany19(() => Contract, (contract) => contract.freelancer)
4666
4791
  ], User.prototype, "freelancerContracts", 2);
4667
4792
  __decorateClass([
4668
- OneToOne4(() => StripeWallet, (stripeWallet) => stripeWallet.user)
4793
+ OneToOne5(() => StripeWallet, (stripeWallet) => stripeWallet.user)
4669
4794
  ], User.prototype, "stripeWallet", 2);
4670
4795
  __decorateClass([
4671
- OneToOne4(() => Signature, (signature) => signature.user)
4796
+ OneToOne5(() => Signature, (signature) => signature.user)
4672
4797
  ], User.prototype, "signatures", 2);
4673
4798
  __decorateClass([
4674
- OneToMany18(() => Timesheet, (timesheet) => timesheet.client)
4799
+ OneToMany19(() => Timesheet, (timesheet) => timesheet.client)
4675
4800
  ], User.prototype, "clientTimesheets", 2);
4676
4801
  __decorateClass([
4677
- OneToMany18(() => Timesheet, (timesheet) => timesheet.freelancer)
4802
+ OneToMany19(() => Timesheet, (timesheet) => timesheet.freelancer)
4678
4803
  ], User.prototype, "freelancerTimesheets", 2);
4804
+ __decorateClass([
4805
+ OneToMany19(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
4806
+ ], User.prototype, "clientTimesheetLine", 2);
4807
+ __decorateClass([
4808
+ OneToMany19(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
4809
+ ], User.prototype, "freelancerTimesheetLine", 2);
4679
4810
  User = __decorateClass([
4680
- Entity50("users")
4811
+ Entity52("users")
4681
4812
  ], User);
4682
4813
 
4683
4814
  // src/entities/rating.entity.ts
@@ -4689,36 +4820,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
4689
4820
  var Rating = class extends BaseEntity {
4690
4821
  };
4691
4822
  __decorateClass([
4692
- Column52({ name: "reviewer_id", type: "integer" }),
4693
- Index44()
4823
+ Column54({ name: "reviewer_id", type: "integer" }),
4824
+ Index46()
4694
4825
  ], Rating.prototype, "reviewer_id", 2);
4695
4826
  __decorateClass([
4696
- ManyToOne45(() => User, { onDelete: "CASCADE" }),
4697
- JoinColumn46({ name: "reviewer_id" })
4827
+ ManyToOne47(() => User, { onDelete: "CASCADE" }),
4828
+ JoinColumn48({ name: "reviewer_id" })
4698
4829
  ], Rating.prototype, "reviewer", 2);
4699
4830
  __decorateClass([
4700
- Column52({ name: "reviewee_id", type: "integer" }),
4701
- Index44()
4831
+ Column54({ name: "reviewee_id", type: "integer" }),
4832
+ Index46()
4702
4833
  ], Rating.prototype, "reviewee_id", 2);
4703
4834
  __decorateClass([
4704
- ManyToOne45(() => User, { onDelete: "CASCADE" }),
4705
- JoinColumn46({ name: "reviewee_id" })
4835
+ ManyToOne47(() => User, { onDelete: "CASCADE" }),
4836
+ JoinColumn48({ name: "reviewee_id" })
4706
4837
  ], Rating.prototype, "reviewee", 2);
4707
4838
  __decorateClass([
4708
- Column52({
4839
+ Column54({
4709
4840
  type: "enum",
4710
4841
  enum: RatingTypeEnum,
4711
4842
  nullable: true
4712
4843
  })
4713
4844
  ], Rating.prototype, "ratingType", 2);
4714
4845
  __decorateClass([
4715
- Column52({ type: "integer", nullable: true })
4846
+ Column54({ type: "integer", nullable: true })
4716
4847
  ], Rating.prototype, "rating", 2);
4717
4848
  __decorateClass([
4718
- Column52({ type: "text", nullable: true })
4849
+ Column54({ type: "text", nullable: true })
4719
4850
  ], Rating.prototype, "review", 2);
4720
4851
  Rating = __decorateClass([
4721
- Entity51("ratings")
4852
+ Entity53("ratings")
4722
4853
  ], Rating);
4723
4854
 
4724
4855
  // src/modules/rating/dto/add.rating.dto.ts
@@ -6494,11 +6625,11 @@ var NotificationRMQAdapter = (mode = "microservice") => {
6494
6625
  };
6495
6626
 
6496
6627
  // src/entities/sequence-generator.entity.ts
6497
- import { Entity as Entity52, Column as Column53 } from "typeorm";
6628
+ import { Entity as Entity54, Column as Column55 } from "typeorm";
6498
6629
  var SequenceGenerator = class extends BaseEntity {
6499
6630
  };
6500
6631
  __decorateClass([
6501
- Column53({
6632
+ Column55({
6502
6633
  name: "module",
6503
6634
  type: "varchar",
6504
6635
  length: 50,
@@ -6507,7 +6638,7 @@ __decorateClass([
6507
6638
  })
6508
6639
  ], SequenceGenerator.prototype, "module", 2);
6509
6640
  __decorateClass([
6510
- Column53({
6641
+ Column55({
6511
6642
  name: "prefix",
6512
6643
  type: "varchar",
6513
6644
  length: 10,
@@ -6516,7 +6647,7 @@ __decorateClass([
6516
6647
  })
6517
6648
  ], SequenceGenerator.prototype, "prefix", 2);
6518
6649
  __decorateClass([
6519
- Column53({
6650
+ Column55({
6520
6651
  name: "last_sequence",
6521
6652
  type: "int",
6522
6653
  nullable: false,
@@ -6524,7 +6655,7 @@ __decorateClass([
6524
6655
  })
6525
6656
  ], SequenceGenerator.prototype, "lastSequence", 2);
6526
6657
  __decorateClass([
6527
- Column53({
6658
+ Column55({
6528
6659
  name: "year",
6529
6660
  type: "int",
6530
6661
  nullable: true,
@@ -6532,11 +6663,11 @@ __decorateClass([
6532
6663
  })
6533
6664
  ], SequenceGenerator.prototype, "year", 2);
6534
6665
  SequenceGenerator = __decorateClass([
6535
- Entity52("sequence_generators")
6666
+ Entity54("sequence_generators")
6536
6667
  ], SequenceGenerator);
6537
6668
 
6538
6669
  // src/entities/question.entity.ts
6539
- import { Entity as Entity53, Column as Column54 } from "typeorm";
6670
+ import { Entity as Entity55, Column as Column56 } from "typeorm";
6540
6671
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
6541
6672
  QuestionFor2["CLIENT"] = "CLIENT";
6542
6673
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -6545,16 +6676,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
6545
6676
  var Question = class extends BaseEntity {
6546
6677
  };
6547
6678
  __decorateClass([
6548
- Column54({ name: "question", type: "varchar" })
6679
+ Column56({ name: "question", type: "varchar" })
6549
6680
  ], Question.prototype, "question", 2);
6550
6681
  __decorateClass([
6551
- Column54({ name: "hint", type: "varchar", nullable: true })
6682
+ Column56({ name: "hint", type: "varchar", nullable: true })
6552
6683
  ], Question.prototype, "hint", 2);
6553
6684
  __decorateClass([
6554
- Column54({ name: "slug", type: "varchar", nullable: true, unique: true })
6685
+ Column56({ name: "slug", type: "varchar", nullable: true, unique: true })
6555
6686
  ], Question.prototype, "slug", 2);
6556
6687
  __decorateClass([
6557
- Column54({
6688
+ Column56({
6558
6689
  name: "question_for",
6559
6690
  type: "enum",
6560
6691
  enum: QuestionFor,
@@ -6562,119 +6693,119 @@ __decorateClass([
6562
6693
  })
6563
6694
  ], Question.prototype, "questionFor", 2);
6564
6695
  __decorateClass([
6565
- Column54({ name: "type", type: "varchar", nullable: true })
6696
+ Column56({ name: "type", type: "varchar", nullable: true })
6566
6697
  ], Question.prototype, "type", 2);
6567
6698
  __decorateClass([
6568
- Column54({ name: "options", type: "jsonb", nullable: true })
6699
+ Column56({ name: "options", type: "jsonb", nullable: true })
6569
6700
  ], Question.prototype, "options", 2);
6570
6701
  __decorateClass([
6571
- Column54({ name: "is_active", type: "boolean", default: false })
6702
+ Column56({ name: "is_active", type: "boolean", default: false })
6572
6703
  ], Question.prototype, "isActive", 2);
6573
6704
  Question = __decorateClass([
6574
- Entity53("questions")
6705
+ Entity55("questions")
6575
6706
  ], Question);
6576
6707
 
6577
6708
  // src/entities/skill.entity.ts
6578
- import { Entity as Entity54, Column as Column55 } from "typeorm";
6709
+ import { Entity as Entity56, Column as Column57 } from "typeorm";
6579
6710
  var Skill = class extends BaseEntity {
6580
6711
  };
6581
6712
  __decorateClass([
6582
- Column55({ name: "name", type: "varchar", nullable: true })
6713
+ Column57({ name: "name", type: "varchar", nullable: true })
6583
6714
  ], Skill.prototype, "name", 2);
6584
6715
  __decorateClass([
6585
- Column55({ name: "slug", type: "varchar", nullable: true, unique: true })
6716
+ Column57({ name: "slug", type: "varchar", nullable: true, unique: true })
6586
6717
  ], Skill.prototype, "slug", 2);
6587
6718
  __decorateClass([
6588
- Column55({ name: "is_active", type: "boolean", default: false })
6719
+ Column57({ name: "is_active", type: "boolean", default: false })
6589
6720
  ], Skill.prototype, "isActive", 2);
6590
6721
  Skill = __decorateClass([
6591
- Entity54("skills")
6722
+ Entity56("skills")
6592
6723
  ], Skill);
6593
6724
 
6594
6725
  // src/entities/job-role.entity.ts
6595
- import { Entity as Entity55, Column as Column56 } from "typeorm";
6726
+ import { Entity as Entity57, Column as Column58 } from "typeorm";
6596
6727
  var JobRoles = class extends BaseEntity {
6597
6728
  };
6598
6729
  __decorateClass([
6599
- Column56({ name: "slug", type: "varchar", nullable: true, unique: true })
6730
+ Column58({ name: "slug", type: "varchar", nullable: true, unique: true })
6600
6731
  ], JobRoles.prototype, "slug", 2);
6601
6732
  __decorateClass([
6602
- Column56({ name: "name", type: "varchar", nullable: true })
6733
+ Column58({ name: "name", type: "varchar", nullable: true })
6603
6734
  ], JobRoles.prototype, "name", 2);
6604
6735
  __decorateClass([
6605
- Column56({ name: "is_active", type: "boolean", default: true })
6736
+ Column58({ name: "is_active", type: "boolean", default: true })
6606
6737
  ], JobRoles.prototype, "isActive", 2);
6607
6738
  JobRoles = __decorateClass([
6608
- Entity55("job_roles")
6739
+ Entity57("job_roles")
6609
6740
  ], JobRoles);
6610
6741
 
6611
6742
  // src/entities/plan.entity.ts
6612
- import { Entity as Entity57, Column as Column58, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
6743
+ import { Entity as Entity59, Column as Column60, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
6613
6744
 
6614
6745
  // src/entities/feature.entity.ts
6615
- import { Entity as Entity56, Column as Column57, ManyToMany as ManyToMany2 } from "typeorm";
6746
+ import { Entity as Entity58, Column as Column59, ManyToMany as ManyToMany2 } from "typeorm";
6616
6747
  var Feature = class extends BaseEntity {
6617
6748
  };
6618
6749
  __decorateClass([
6619
- Column57({ name: "name", type: "varchar", unique: true })
6750
+ Column59({ name: "name", type: "varchar", unique: true })
6620
6751
  ], Feature.prototype, "name", 2);
6621
6752
  __decorateClass([
6622
6753
  ManyToMany2(() => Plan, (plan) => plan.features)
6623
6754
  ], Feature.prototype, "plans", 2);
6624
6755
  Feature = __decorateClass([
6625
- Entity56("features")
6756
+ Entity58("features")
6626
6757
  ], Feature);
6627
6758
 
6628
6759
  // src/entities/plan.entity.ts
6629
6760
  var Plan = class extends BaseEntity {
6630
6761
  };
6631
6762
  __decorateClass([
6632
- Column58({ name: "name", type: "varchar", unique: true })
6763
+ Column60({ name: "name", type: "varchar", unique: true })
6633
6764
  ], Plan.prototype, "name", 2);
6634
6765
  __decorateClass([
6635
- Column58({ name: "description", type: "varchar", nullable: true })
6766
+ Column60({ name: "description", type: "varchar", nullable: true })
6636
6767
  ], Plan.prototype, "description", 2);
6637
6768
  __decorateClass([
6638
- Column58({ name: "price", type: "decimal", precision: 10, scale: 2 })
6769
+ Column60({ name: "price", type: "decimal", precision: 10, scale: 2 })
6639
6770
  ], Plan.prototype, "price", 2);
6640
6771
  __decorateClass([
6641
- Column58({ name: "billing_period", type: "varchar" })
6772
+ Column60({ name: "billing_period", type: "varchar" })
6642
6773
  ], Plan.prototype, "billingPeriod", 2);
6643
6774
  __decorateClass([
6644
- Column58({ name: "is_current", type: "boolean", default: false })
6775
+ Column60({ name: "is_current", type: "boolean", default: false })
6645
6776
  ], Plan.prototype, "isCurrent", 2);
6646
6777
  __decorateClass([
6647
6778
  ManyToMany3(() => Feature, (feature) => feature.plans, { cascade: true }),
6648
6779
  JoinTable()
6649
6780
  ], Plan.prototype, "features", 2);
6650
6781
  Plan = __decorateClass([
6651
- Entity57("plans")
6782
+ Entity59("plans")
6652
6783
  ], Plan);
6653
6784
 
6654
6785
  // src/entities/cms.entity.ts
6655
- import { Entity as Entity58, Column as Column59 } from "typeorm";
6786
+ import { Entity as Entity60, Column as Column61 } from "typeorm";
6656
6787
  var Cms = class extends BaseEntity {
6657
6788
  };
6658
6789
  __decorateClass([
6659
- Column59({ name: "title", type: "varchar", nullable: true })
6790
+ Column61({ name: "title", type: "varchar", nullable: true })
6660
6791
  ], Cms.prototype, "title", 2);
6661
6792
  __decorateClass([
6662
- Column59({ name: "slug", type: "varchar", nullable: true, unique: true })
6793
+ Column61({ name: "slug", type: "varchar", nullable: true, unique: true })
6663
6794
  ], Cms.prototype, "slug", 2);
6664
6795
  __decorateClass([
6665
- Column59({ name: "content", type: "varchar", nullable: true })
6796
+ Column61({ name: "content", type: "varchar", nullable: true })
6666
6797
  ], Cms.prototype, "content", 2);
6667
6798
  __decorateClass([
6668
- Column59({ name: "is_active", type: "boolean", default: true })
6799
+ Column61({ name: "is_active", type: "boolean", default: true })
6669
6800
  ], Cms.prototype, "isActive", 2);
6670
6801
  Cms = __decorateClass([
6671
- Entity58("cms")
6802
+ Entity60("cms")
6672
6803
  ], Cms);
6673
6804
 
6674
6805
  // src/entities/lead.entity.ts
6675
6806
  import {
6676
- Entity as Entity59,
6677
- Column as Column60
6807
+ Entity as Entity61,
6808
+ Column as Column62
6678
6809
  } from "typeorm";
6679
6810
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
6680
6811
  CategoryEmum2["BUSINESS"] = "BUSINESS";
@@ -6684,22 +6815,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
6684
6815
  var Lead = class extends BaseEntity {
6685
6816
  };
6686
6817
  __decorateClass([
6687
- Column60({ name: "name", type: "varchar", nullable: true })
6818
+ Column62({ name: "name", type: "varchar", nullable: true })
6688
6819
  ], Lead.prototype, "name", 2);
6689
6820
  __decorateClass([
6690
- Column60({ name: "mobile_code", type: "varchar", nullable: true })
6821
+ Column62({ name: "mobile_code", type: "varchar", nullable: true })
6691
6822
  ], Lead.prototype, "mobileCode", 2);
6692
6823
  __decorateClass([
6693
- Column60({ name: "mobile", type: "varchar", nullable: true })
6824
+ Column62({ name: "mobile", type: "varchar", nullable: true })
6694
6825
  ], Lead.prototype, "mobile", 2);
6695
6826
  __decorateClass([
6696
- Column60({ name: "email", type: "varchar", nullable: true })
6827
+ Column62({ name: "email", type: "varchar", nullable: true })
6697
6828
  ], Lead.prototype, "email", 2);
6698
6829
  __decorateClass([
6699
- Column60({ name: "description", type: "varchar", nullable: true })
6830
+ Column62({ name: "description", type: "varchar", nullable: true })
6700
6831
  ], Lead.prototype, "description", 2);
6701
6832
  __decorateClass([
6702
- Column60({
6833
+ Column62({
6703
6834
  name: "category",
6704
6835
  type: "enum",
6705
6836
  enum: CategoryEmum,
@@ -6707,7 +6838,7 @@ __decorateClass([
6707
6838
  })
6708
6839
  ], Lead.prototype, "category", 2);
6709
6840
  Lead = __decorateClass([
6710
- Entity59("leads")
6841
+ Entity61("leads")
6711
6842
  ], Lead);
6712
6843
 
6713
6844
  // src/entities/job-freelancer-recommendation.entity.ts
@@ -6948,7 +7079,7 @@ ClientFreelancerRecommendation = __decorateClass([
6948
7079
  ], ClientFreelancerRecommendation);
6949
7080
 
6950
7081
  // src/entities/commission.entity.ts
6951
- import { Entity as Entity60, Column as Column61 } from "typeorm";
7082
+ import { Entity as Entity62, Column as Column63 } from "typeorm";
6952
7083
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
6953
7084
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
6954
7085
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -6957,7 +7088,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
6957
7088
  var Commission = class extends BaseEntity {
6958
7089
  };
6959
7090
  __decorateClass([
6960
- Column61({
7091
+ Column63({
6961
7092
  name: "freelancer_commission_type",
6962
7093
  type: "enum",
6963
7094
  enum: CommissionTypeEnum,
@@ -6965,10 +7096,10 @@ __decorateClass([
6965
7096
  })
6966
7097
  ], Commission.prototype, "freelancerCommissionType", 2);
6967
7098
  __decorateClass([
6968
- Column61({ name: "freelancer_commission", type: "integer", default: 0 })
7099
+ Column63({ name: "freelancer_commission", type: "integer", default: 0 })
6969
7100
  ], Commission.prototype, "freelancerCommission", 2);
6970
7101
  __decorateClass([
6971
- Column61({
7102
+ Column63({
6972
7103
  name: "client_commission_type",
6973
7104
  type: "enum",
6974
7105
  enum: CommissionTypeEnum,
@@ -6976,74 +7107,74 @@ __decorateClass([
6976
7107
  })
6977
7108
  ], Commission.prototype, "clientCommissionType", 2);
6978
7109
  __decorateClass([
6979
- Column61({ name: "client_commission", type: "integer", default: 0 })
7110
+ Column63({ name: "client_commission", type: "integer", default: 0 })
6980
7111
  ], Commission.prototype, "clientCommission", 2);
6981
7112
  Commission = __decorateClass([
6982
- Entity60("commissions")
7113
+ Entity62("commissions")
6983
7114
  ], Commission);
6984
7115
 
6985
7116
  // src/entities/calendly-meeting-log.entity.ts
6986
7117
  import {
6987
- Entity as Entity61,
6988
- Column as Column62,
6989
- Index as Index45
7118
+ Entity as Entity63,
7119
+ Column as Column64,
7120
+ Index as Index47
6990
7121
  } from "typeorm";
6991
7122
  var CalendlyMeetingLog = class extends BaseEntity {
6992
7123
  };
6993
7124
  __decorateClass([
6994
- Column62({ name: "calendly_event_id", type: "varchar", nullable: true }),
6995
- Index45()
7125
+ Column64({ name: "calendly_event_id", type: "varchar", nullable: true }),
7126
+ Index47()
6996
7127
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
6997
7128
  __decorateClass([
6998
- Column62({ name: "calendly_event_type", type: "varchar", nullable: true })
7129
+ Column64({ name: "calendly_event_type", type: "varchar", nullable: true })
6999
7130
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
7000
7131
  __decorateClass([
7001
- Column62({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7132
+ Column64({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7002
7133
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
7003
7134
  CalendlyMeetingLog = __decorateClass([
7004
- Entity61("calendly_meeting_logs")
7135
+ Entity63("calendly_meeting_logs")
7005
7136
  ], CalendlyMeetingLog);
7006
7137
 
7007
7138
  // src/entities/zoom-meeting-log.entity.ts
7008
7139
  import {
7009
- Entity as Entity62,
7010
- Column as Column63,
7011
- Index as Index46
7140
+ Entity as Entity64,
7141
+ Column as Column65,
7142
+ Index as Index48
7012
7143
  } from "typeorm";
7013
7144
  var ZoomMeetingLog = class extends BaseEntity {
7014
7145
  };
7015
7146
  __decorateClass([
7016
- Column63({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
7017
- Index46()
7147
+ Column65({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
7148
+ Index48()
7018
7149
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
7019
7150
  __decorateClass([
7020
- Column63({ name: "zoom_event_type", type: "varchar", nullable: true })
7151
+ Column65({ name: "zoom_event_type", type: "varchar", nullable: true })
7021
7152
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
7022
7153
  __decorateClass([
7023
- Column63({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7154
+ Column65({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7024
7155
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
7025
7156
  ZoomMeetingLog = __decorateClass([
7026
- Entity62("zoom_meeting_logs")
7157
+ Entity64("zoom_meeting_logs")
7027
7158
  ], ZoomMeetingLog);
7028
7159
 
7029
7160
  // src/entities/stripe-logs.entity.ts
7030
- import { Entity as Entity63, Column as Column64 } from "typeorm";
7161
+ import { Entity as Entity65, Column as Column66 } from "typeorm";
7031
7162
  var StripeLog = class extends BaseEntity {
7032
7163
  };
7033
7164
  __decorateClass([
7034
- Column64({ name: "stripe_event_id", type: "varchar", nullable: true })
7165
+ Column66({ name: "stripe_event_id", type: "varchar", nullable: true })
7035
7166
  ], StripeLog.prototype, "stripeEventId", 2);
7036
7167
  __decorateClass([
7037
- Column64({ name: "event_type", type: "varchar", nullable: true })
7168
+ Column66({ name: "event_type", type: "varchar", nullable: true })
7038
7169
  ], StripeLog.prototype, "eventType", 2);
7039
7170
  __decorateClass([
7040
- Column64({ name: "stripe_account_id", type: "varchar", nullable: true })
7171
+ Column66({ name: "stripe_account_id", type: "varchar", nullable: true })
7041
7172
  ], StripeLog.prototype, "stripeAccountId", 2);
7042
7173
  __decorateClass([
7043
- Column64({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7174
+ Column66({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7044
7175
  ], StripeLog.prototype, "rawWebhookData", 2);
7045
7176
  StripeLog = __decorateClass([
7046
- Entity63("stripe_logs")
7177
+ Entity65("stripe_logs")
7047
7178
  ], StripeLog);
7048
7179
  export {
7049
7180
  ADMIN_FREELANCER_PATTERN,
@@ -7278,6 +7409,9 @@ export {
7278
7409
  TIMESHEET_CLIENT_PATTERN,
7279
7410
  TIMESHEET_FREELANCER_PATTERN,
7280
7411
  Timesheet,
7412
+ TimesheetLine,
7413
+ TimesheetLineStatusEnum,
7414
+ TimesheetLogs,
7281
7415
  TimesheetStatusEnum,
7282
7416
  ToggleCompanyMemberVisibilityDto,
7283
7417
  ToggleCompanyRoleVisibilityDto,