@experts_hub/shared 1.0.424 → 1.0.426

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -72,6 +72,8 @@ __export(index_exports, {
72
72
  CategoryEmum: () => CategoryEmum,
73
73
  CategoryEmumDto: () => CategoryEmumDto,
74
74
  City: () => City,
75
+ ClientCandidatePreference: () => ClientCandidatePreference,
76
+ ClientCandidatePreferenceEnum: () => ClientCandidatePreferenceEnum,
75
77
  ClientChangePasswordDto: () => ClientChangePasswordDto,
76
78
  ClientCreateAccountDto: () => ClientCreateAccountDto,
77
79
  ClientFreelancerRecommendation: () => ClientFreelancerRecommendation,
@@ -1275,6 +1277,18 @@ __decorateClass([
1275
1277
  __decorateClass([
1276
1278
  (0, import_class_validator33.IsOptional)()
1277
1279
  ], JobBasicInformationDto.prototype, "hideExpectedSalaryTo", 2);
1280
+ __decorateClass([
1281
+ (0, import_class_validator33.IsOptional)()
1282
+ ], JobBasicInformationDto.prototype, "years", 2);
1283
+ __decorateClass([
1284
+ (0, import_class_validator33.IsOptional)()
1285
+ ], JobBasicInformationDto.prototype, "months", 2);
1286
+ __decorateClass([
1287
+ (0, import_class_validator33.IsOptional)()
1288
+ ], JobBasicInformationDto.prototype, "weeks", 2);
1289
+ __decorateClass([
1290
+ (0, import_class_validator33.IsOptional)()
1291
+ ], JobBasicInformationDto.prototype, "days", 2);
1278
1292
  __decorateClass([
1279
1293
  (0, import_class_validator33.IsOptional)(),
1280
1294
  (0, import_class_validator33.IsNumber)({}, { message: "Number of hours must be a number" }),
@@ -1598,10 +1612,10 @@ var RATING_PATTERN = {
1598
1612
  var import_class_validator42 = require("class-validator");
1599
1613
 
1600
1614
  // src/entities/rating.entity.ts
1601
- var import_typeorm55 = require("typeorm");
1615
+ var import_typeorm56 = require("typeorm");
1602
1616
 
1603
1617
  // src/entities/user.entity.ts
1604
- var import_typeorm54 = require("typeorm");
1618
+ var import_typeorm55 = require("typeorm");
1605
1619
 
1606
1620
  // src/entities/base.entity.ts
1607
1621
  var import_typeorm = require("typeorm");
@@ -2295,7 +2309,7 @@ CompanyProfile = __decorateClass([
2295
2309
  ], CompanyProfile);
2296
2310
 
2297
2311
  // src/entities/job.entity.ts
2298
- var import_typeorm26 = require("typeorm");
2312
+ var import_typeorm27 = require("typeorm");
2299
2313
 
2300
2314
  // src/entities/job-skill.entity.ts
2301
2315
  var import_typeorm10 = require("typeorm");
@@ -3432,6 +3446,51 @@ TimesheetLine = __decorateClass([
3432
3446
  (0, import_typeorm25.Entity)("timesheet_lines")
3433
3447
  ], TimesheetLine);
3434
3448
 
3449
+ // src/entities/client-candidate-preference.entity.ts
3450
+ var import_typeorm26 = require("typeorm");
3451
+ var ClientCandidatePreferenceEnum = /* @__PURE__ */ ((ClientCandidatePreferenceEnum2) => {
3452
+ ClientCandidatePreferenceEnum2["NOT_SUITABLE"] = "NOT_SUITABLE";
3453
+ ClientCandidatePreferenceEnum2["SHORTLISTED"] = "SHORTLISTED";
3454
+ return ClientCandidatePreferenceEnum2;
3455
+ })(ClientCandidatePreferenceEnum || {});
3456
+ var ClientCandidatePreference = class extends BaseEntity {
3457
+ };
3458
+ __decorateClass([
3459
+ (0, import_typeorm26.Column)({ name: "client_id", type: "integer" }),
3460
+ (0, import_typeorm26.Index)()
3461
+ ], ClientCandidatePreference.prototype, "clientId", 2);
3462
+ __decorateClass([
3463
+ (0, import_typeorm26.ManyToOne)(() => User),
3464
+ (0, import_typeorm26.JoinColumn)({ name: "client_id" })
3465
+ ], ClientCandidatePreference.prototype, "client", 2);
3466
+ __decorateClass([
3467
+ (0, import_typeorm26.Column)({ name: "candidate_id", type: "integer" }),
3468
+ (0, import_typeorm26.Index)()
3469
+ ], ClientCandidatePreference.prototype, "candidateId", 2);
3470
+ __decorateClass([
3471
+ (0, import_typeorm26.ManyToOne)(() => User),
3472
+ (0, import_typeorm26.JoinColumn)({ name: "candidate_id" })
3473
+ ], ClientCandidatePreference.prototype, "candidate", 2);
3474
+ __decorateClass([
3475
+ (0, import_typeorm26.Column)({ name: "job_id", type: "integer", nullable: true }),
3476
+ (0, import_typeorm26.Index)()
3477
+ ], ClientCandidatePreference.prototype, "jobId", 2);
3478
+ __decorateClass([
3479
+ (0, import_typeorm26.ManyToOne)(() => Job, (job) => job.clientCandidatePreferences, { nullable: true }),
3480
+ (0, import_typeorm26.JoinColumn)({ name: "job_id" })
3481
+ ], ClientCandidatePreference.prototype, "job", 2);
3482
+ __decorateClass([
3483
+ (0, import_typeorm26.Column)({
3484
+ name: "preference",
3485
+ type: "enum",
3486
+ enum: ClientCandidatePreferenceEnum
3487
+ }),
3488
+ (0, import_typeorm26.Index)()
3489
+ ], ClientCandidatePreference.prototype, "preference", 2);
3490
+ ClientCandidatePreference = __decorateClass([
3491
+ (0, import_typeorm26.Entity)("client_candidate_preferences")
3492
+ ], ClientCandidatePreference);
3493
+
3435
3494
  // src/entities/job.entity.ts
3436
3495
  var JobLocationEnum = /* @__PURE__ */ ((JobLocationEnum2) => {
3437
3496
  JobLocationEnum2["ONSITE"] = "ONSITE";
@@ -3472,52 +3531,52 @@ var DurationTypeEnum = /* @__PURE__ */ ((DurationTypeEnum2) => {
3472
3531
  var Job = class extends BaseEntity {
3473
3532
  };
3474
3533
  __decorateClass([
3475
- (0, import_typeorm26.Column)({ name: "job_id", type: "varchar", unique: true, nullable: true })
3534
+ (0, import_typeorm27.Column)({ name: "job_id", type: "varchar", unique: true, nullable: true })
3476
3535
  ], Job.prototype, "jobId", 2);
3477
3536
  // individual index to find jobs by user
3478
3537
  __decorateClass([
3479
- (0, import_typeorm26.Column)({ name: "user_id", type: "integer", nullable: true }),
3480
- (0, import_typeorm26.Index)()
3538
+ (0, import_typeorm27.Column)({ name: "user_id", type: "integer", nullable: true }),
3539
+ (0, import_typeorm27.Index)()
3481
3540
  ], Job.prototype, "userId", 2);
3482
3541
  __decorateClass([
3483
- (0, import_typeorm26.ManyToOne)(() => User, (user) => user.jobs),
3484
- (0, import_typeorm26.JoinColumn)({ name: "user_id" })
3542
+ (0, import_typeorm27.ManyToOne)(() => User, (user) => user.jobs),
3543
+ (0, import_typeorm27.JoinColumn)({ name: "user_id" })
3485
3544
  ], Job.prototype, "user", 2);
3486
3545
  __decorateClass([
3487
- (0, import_typeorm26.Column)({ name: "country_id", type: "int", nullable: true })
3546
+ (0, import_typeorm27.Column)({ name: "country_id", type: "int", nullable: true })
3488
3547
  ], Job.prototype, "countryId", 2);
3489
3548
  __decorateClass([
3490
- (0, import_typeorm26.ManyToOne)(() => Country),
3491
- (0, import_typeorm26.JoinColumn)({ name: "country_id" })
3549
+ (0, import_typeorm27.ManyToOne)(() => Country),
3550
+ (0, import_typeorm27.JoinColumn)({ name: "country_id" })
3492
3551
  ], Job.prototype, "country", 2);
3493
3552
  __decorateClass([
3494
- (0, import_typeorm26.Column)({ name: "state_id", type: "int", nullable: true })
3553
+ (0, import_typeorm27.Column)({ name: "state_id", type: "int", nullable: true })
3495
3554
  ], Job.prototype, "stateId", 2);
3496
3555
  __decorateClass([
3497
- (0, import_typeorm26.ManyToOne)(() => State),
3498
- (0, import_typeorm26.JoinColumn)({ name: "state_id" })
3556
+ (0, import_typeorm27.ManyToOne)(() => State),
3557
+ (0, import_typeorm27.JoinColumn)({ name: "state_id" })
3499
3558
  ], Job.prototype, "state", 2);
3500
3559
  __decorateClass([
3501
- (0, import_typeorm26.Column)({ name: "city_id", type: "int", nullable: true })
3560
+ (0, import_typeorm27.Column)({ name: "city_id", type: "int", nullable: true })
3502
3561
  ], Job.prototype, "cityId", 2);
3503
3562
  __decorateClass([
3504
- (0, import_typeorm26.ManyToOne)(() => City),
3505
- (0, import_typeorm26.JoinColumn)({ name: "city_id" })
3563
+ (0, import_typeorm27.ManyToOne)(() => City),
3564
+ (0, import_typeorm27.JoinColumn)({ name: "city_id" })
3506
3565
  ], Job.prototype, "city", 2);
3507
3566
  __decorateClass([
3508
- (0, import_typeorm26.Column)({ name: "job_role", type: "varchar", nullable: true })
3567
+ (0, import_typeorm27.Column)({ name: "job_role", type: "varchar", nullable: true })
3509
3568
  ], Job.prototype, "jobRole", 2);
3510
3569
  __decorateClass([
3511
- (0, import_typeorm26.Column)({ name: "project_name", type: "varchar", nullable: true })
3570
+ (0, import_typeorm27.Column)({ name: "project_name", type: "varchar", nullable: true })
3512
3571
  ], Job.prototype, "projectName", 2);
3513
3572
  __decorateClass([
3514
- (0, import_typeorm26.Column)({ name: "note", type: "varchar", nullable: true })
3573
+ (0, import_typeorm27.Column)({ name: "note", type: "varchar", nullable: true })
3515
3574
  ], Job.prototype, "note", 2);
3516
3575
  __decorateClass([
3517
- (0, import_typeorm26.Column)({ name: "openings", type: "integer", default: 0 })
3576
+ (0, import_typeorm27.Column)({ name: "openings", type: "integer", default: 0 })
3518
3577
  ], Job.prototype, "openings", 2);
3519
3578
  __decorateClass([
3520
- (0, import_typeorm26.Column)({
3579
+ (0, import_typeorm27.Column)({
3521
3580
  name: "location",
3522
3581
  type: "enum",
3523
3582
  enum: JobLocationEnum,
@@ -3525,7 +3584,7 @@ __decorateClass([
3525
3584
  })
3526
3585
  ], Job.prototype, "location", 2);
3527
3586
  __decorateClass([
3528
- (0, import_typeorm26.Column)({
3587
+ (0, import_typeorm27.Column)({
3529
3588
  name: "type_of_employment",
3530
3589
  type: "enum",
3531
3590
  enum: TypeOfEmploymentEnum,
@@ -3533,19 +3592,19 @@ __decorateClass([
3533
3592
  })
3534
3593
  ], Job.prototype, "typeOfEmployment", 2);
3535
3594
  __decorateClass([
3536
- (0, import_typeorm26.Column)({ name: "academic_qualifictaion", type: "varchar", nullable: true })
3595
+ (0, import_typeorm27.Column)({ name: "academic_qualifictaion", type: "varchar", nullable: true })
3537
3596
  ], Job.prototype, "academicQualification", 2);
3538
3597
  __decorateClass([
3539
- (0, import_typeorm26.Column)({ name: "years_of_experience", type: "varchar", nullable: true })
3598
+ (0, import_typeorm27.Column)({ name: "years_of_experience", type: "varchar", nullable: true })
3540
3599
  ], Job.prototype, "yearsOfExperience", 2);
3541
3600
  __decorateClass([
3542
- (0, import_typeorm26.Column)({ name: "business_industry", type: "varchar", nullable: true })
3601
+ (0, import_typeorm27.Column)({ name: "business_industry", type: "varchar", nullable: true })
3543
3602
  ], Job.prototype, "businessIndustry", 2);
3544
3603
  __decorateClass([
3545
- (0, import_typeorm26.Column)({ name: "currency", type: "varchar", default: "USD" })
3604
+ (0, import_typeorm27.Column)({ name: "currency", type: "varchar", default: "USD" })
3546
3605
  ], Job.prototype, "currency", 2);
3547
3606
  __decorateClass([
3548
- (0, import_typeorm26.Column)({
3607
+ (0, import_typeorm27.Column)({
3549
3608
  name: "expected_salary_from",
3550
3609
  type: "decimal",
3551
3610
  precision: 10,
@@ -3554,14 +3613,14 @@ __decorateClass([
3554
3613
  })
3555
3614
  ], Job.prototype, "expectedSalaryFrom", 2);
3556
3615
  __decorateClass([
3557
- (0, import_typeorm26.Column)({
3616
+ (0, import_typeorm27.Column)({
3558
3617
  name: "hide_expected_salary_from",
3559
3618
  type: "boolean",
3560
3619
  default: false
3561
3620
  })
3562
3621
  ], Job.prototype, "hideExpectedSalaryFrom", 2);
3563
3622
  __decorateClass([
3564
- (0, import_typeorm26.Column)({
3623
+ (0, import_typeorm27.Column)({
3565
3624
  name: "expected_salary_to",
3566
3625
  type: "decimal",
3567
3626
  precision: 10,
@@ -3570,20 +3629,32 @@ __decorateClass([
3570
3629
  })
3571
3630
  ], Job.prototype, "expectedSalaryTo", 2);
3572
3631
  __decorateClass([
3573
- (0, import_typeorm26.Column)({
3632
+ (0, import_typeorm27.Column)({
3574
3633
  name: "hide_expected_salary_to",
3575
3634
  type: "boolean",
3576
3635
  default: false
3577
3636
  })
3578
3637
  ], Job.prototype, "hideExpectedSalaryTo", 2);
3579
3638
  __decorateClass([
3580
- (0, import_typeorm26.Column)({ name: "tentative_start_date", type: "date", nullable: true })
3639
+ (0, import_typeorm27.Column)({ name: "years", type: "varchar", nullable: true })
3640
+ ], Job.prototype, "years", 2);
3641
+ __decorateClass([
3642
+ (0, import_typeorm27.Column)({ name: "months", type: "varchar", nullable: true })
3643
+ ], Job.prototype, "months", 2);
3644
+ __decorateClass([
3645
+ (0, import_typeorm27.Column)({ name: "weeks", type: "varchar", nullable: true })
3646
+ ], Job.prototype, "weeks", 2);
3647
+ __decorateClass([
3648
+ (0, import_typeorm27.Column)({ name: "days", type: "varchar", nullable: true })
3649
+ ], Job.prototype, "days", 2);
3650
+ __decorateClass([
3651
+ (0, import_typeorm27.Column)({ name: "tentative_start_date", type: "date", nullable: true })
3581
3652
  ], Job.prototype, "tentativeStartDate", 2);
3582
3653
  __decorateClass([
3583
- (0, import_typeorm26.Column)({ name: "tentative_end_date", type: "date", nullable: true })
3654
+ (0, import_typeorm27.Column)({ name: "tentative_end_date", type: "date", nullable: true })
3584
3655
  ], Job.prototype, "tentativeEndDate", 2);
3585
3656
  __decorateClass([
3586
- (0, import_typeorm26.Column)({
3657
+ (0, import_typeorm27.Column)({
3587
3658
  name: "duration_type",
3588
3659
  type: "enum",
3589
3660
  enum: DurationTypeEnum,
@@ -3591,10 +3662,10 @@ __decorateClass([
3591
3662
  })
3592
3663
  ], Job.prototype, "durationType", 2);
3593
3664
  __decorateClass([
3594
- (0, import_typeorm26.Column)({ name: "duration", type: "varchar", nullable: true })
3665
+ (0, import_typeorm27.Column)({ name: "duration", type: "varchar", nullable: true })
3595
3666
  ], Job.prototype, "duration", 2);
3596
3667
  __decorateClass([
3597
- (0, import_typeorm26.Column)({
3668
+ (0, import_typeorm27.Column)({
3598
3669
  name: "number_of_hours",
3599
3670
  type: "decimal",
3600
3671
  precision: 4,
@@ -3603,13 +3674,13 @@ __decorateClass([
3603
3674
  })
3604
3675
  ], Job.prototype, "numberOfHours", 2);
3605
3676
  __decorateClass([
3606
- (0, import_typeorm26.Column)({ name: "description", type: "varchar", nullable: true })
3677
+ (0, import_typeorm27.Column)({ name: "description", type: "varchar", nullable: true })
3607
3678
  ], Job.prototype, "description", 2);
3608
3679
  __decorateClass([
3609
- (0, import_typeorm26.Column)({ name: "additional_comment", type: "varchar", nullable: true })
3680
+ (0, import_typeorm27.Column)({ name: "additional_comment", type: "varchar", nullable: true })
3610
3681
  ], Job.prototype, "additionalComment", 2);
3611
3682
  __decorateClass([
3612
- (0, import_typeorm26.Column)({
3683
+ (0, import_typeorm27.Column)({
3613
3684
  name: "onboarding_tat",
3614
3685
  type: "varchar",
3615
3686
  length: 50,
@@ -3617,14 +3688,14 @@ __decorateClass([
3617
3688
  })
3618
3689
  ], Job.prototype, "onboardingTat", 2);
3619
3690
  __decorateClass([
3620
- (0, import_typeorm26.Column)({
3691
+ (0, import_typeorm27.Column)({
3621
3692
  name: "candidate_communication_skills",
3622
3693
  type: "varchar",
3623
3694
  nullable: true
3624
3695
  })
3625
3696
  ], Job.prototype, "candidateCommunicationSkills", 2);
3626
3697
  __decorateClass([
3627
- (0, import_typeorm26.Column)({
3698
+ (0, import_typeorm27.Column)({
3628
3699
  name: "step_completed",
3629
3700
  type: "enum",
3630
3701
  enum: Step,
@@ -3632,7 +3703,7 @@ __decorateClass([
3632
3703
  })
3633
3704
  ], Job.prototype, "stepCompleted", 2);
3634
3705
  __decorateClass([
3635
- (0, import_typeorm26.Column)({
3706
+ (0, import_typeorm27.Column)({
3636
3707
  name: "status",
3637
3708
  type: "enum",
3638
3709
  enum: JobStatusEnum,
@@ -3640,32 +3711,32 @@ __decorateClass([
3640
3711
  })
3641
3712
  ], Job.prototype, "status", 2);
3642
3713
  __decorateClass([
3643
- (0, import_typeorm26.Column)({ name: "viewed_count", type: "integer", default: 0 })
3714
+ (0, import_typeorm27.Column)({ name: "viewed_count", type: "integer", default: 0 })
3644
3715
  ], Job.prototype, "viewedCount", 2);
3645
3716
  __decorateClass([
3646
- (0, import_typeorm26.Column)({ name: "application_count", type: "integer", default: 0 })
3717
+ (0, import_typeorm27.Column)({ name: "application_count", type: "integer", default: 0 })
3647
3718
  ], Job.prototype, "applicationCount", 2);
3648
3719
  __decorateClass([
3649
- (0, import_typeorm26.Column)({ name: "is_contract_signed", type: "boolean", default: false })
3720
+ (0, import_typeorm27.Column)({ name: "is_contract_signed", type: "boolean", default: false })
3650
3721
  ], Job.prototype, "isContractSigned", 2);
3651
3722
  __decorateClass([
3652
- (0, import_typeorm26.Column)({ name: "is_interview_created", type: "boolean", default: false })
3723
+ (0, import_typeorm27.Column)({ name: "is_interview_created", type: "boolean", default: false })
3653
3724
  ], Job.prototype, "isInterviewCreated", 2);
3654
3725
  __decorateClass([
3655
- (0, import_typeorm26.OneToMany)(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
3726
+ (0, import_typeorm27.OneToMany)(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
3656
3727
  ], Job.prototype, "jobSkills", 2);
3657
3728
  __decorateClass([
3658
- (0, import_typeorm26.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.job, {
3729
+ (0, import_typeorm27.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.job, {
3659
3730
  cascade: true
3660
3731
  })
3661
3732
  ], Job.prototype, "jobApplications", 2);
3662
3733
  __decorateClass([
3663
- (0, import_typeorm26.OneToMany)(() => Interview, (interview) => interview.job, {
3734
+ (0, import_typeorm27.OneToMany)(() => Interview, (interview) => interview.job, {
3664
3735
  cascade: true
3665
3736
  })
3666
3737
  ], Job.prototype, "interviews", 2);
3667
3738
  __decorateClass([
3668
- (0, import_typeorm26.OneToMany)(
3739
+ (0, import_typeorm27.OneToMany)(
3669
3740
  () => JobRecommendation,
3670
3741
  (jobRecommendation) => jobRecommendation.job,
3671
3742
  {
@@ -3674,38 +3745,29 @@ __decorateClass([
3674
3745
  )
3675
3746
  ], Job.prototype, "recommendations", 2);
3676
3747
  __decorateClass([
3677
- (0, import_typeorm26.OneToMany)(
3678
- () => Contract,
3679
- (contract) => contract.job,
3680
- {
3681
- cascade: true
3682
- }
3683
- )
3748
+ (0, import_typeorm27.OneToMany)(() => Contract, (contract) => contract.job, {
3749
+ cascade: true
3750
+ })
3684
3751
  ], Job.prototype, "contracts", 2);
3685
3752
  __decorateClass([
3686
- (0, import_typeorm26.OneToMany)(
3687
- () => Timesheet,
3688
- (timesheet) => timesheet.job,
3689
- {
3690
- cascade: true
3691
- }
3692
- )
3753
+ (0, import_typeorm27.OneToMany)(() => Timesheet, (timesheet) => timesheet.job, {
3754
+ cascade: true
3755
+ })
3693
3756
  ], Job.prototype, "timesheets", 2);
3694
3757
  __decorateClass([
3695
- (0, import_typeorm26.OneToMany)(
3696
- () => TimesheetLine,
3697
- (timesheetLine) => timesheetLine.job,
3698
- {
3699
- cascade: true
3700
- }
3701
- )
3758
+ (0, import_typeorm27.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.job, {
3759
+ cascade: true
3760
+ })
3702
3761
  ], Job.prototype, "timesheetLine", 2);
3762
+ __decorateClass([
3763
+ (0, import_typeorm27.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.job)
3764
+ ], Job.prototype, "clientCandidatePreferences", 2);
3703
3765
  Job = __decorateClass([
3704
- (0, import_typeorm26.Entity)("jobs")
3766
+ (0, import_typeorm27.Entity)("jobs")
3705
3767
  ], Job);
3706
3768
 
3707
3769
  // src/entities/bank-details.entity.ts
3708
- var import_typeorm27 = require("typeorm");
3770
+ var import_typeorm28 = require("typeorm");
3709
3771
  var BankAccountTypeEnum = /* @__PURE__ */ ((BankAccountTypeEnum2) => {
3710
3772
  BankAccountTypeEnum2["PRIMARY"] = "PRIMARY";
3711
3773
  BankAccountTypeEnum2["SECONDARY"] = "SECONDARY";
@@ -3720,48 +3782,48 @@ var BankDetail = class extends BaseEntity {
3720
3782
  };
3721
3783
  // individual index to find bank details by user
3722
3784
  __decorateClass([
3723
- (0, import_typeorm27.Column)({ name: "user_id", type: "integer", nullable: true }),
3724
- (0, import_typeorm27.Index)()
3785
+ (0, import_typeorm28.Column)({ name: "user_id", type: "integer", nullable: true }),
3786
+ (0, import_typeorm28.Index)()
3725
3787
  ], BankDetail.prototype, "userId", 2);
3726
3788
  __decorateClass([
3727
- (0, import_typeorm27.ManyToOne)(() => User, (user) => user.bankDetail),
3728
- (0, import_typeorm27.JoinColumn)({ name: "user_id" })
3789
+ (0, import_typeorm28.ManyToOne)(() => User, (user) => user.bankDetail),
3790
+ (0, import_typeorm28.JoinColumn)({ name: "user_id" })
3729
3791
  ], BankDetail.prototype, "user", 2);
3730
3792
  __decorateClass([
3731
- (0, import_typeorm27.Column)({ name: "name", type: "varchar", nullable: true })
3793
+ (0, import_typeorm28.Column)({ name: "name", type: "varchar", nullable: true })
3732
3794
  ], BankDetail.prototype, "name", 2);
3733
3795
  __decorateClass([
3734
- (0, import_typeorm27.Column)({ name: "mobile", type: "varchar", unique: true, nullable: true })
3796
+ (0, import_typeorm28.Column)({ name: "mobile", type: "varchar", unique: true, nullable: true })
3735
3797
  ], BankDetail.prototype, "mobile", 2);
3736
3798
  __decorateClass([
3737
- (0, import_typeorm27.Column)({ name: "email", type: "varchar", unique: true })
3799
+ (0, import_typeorm28.Column)({ name: "email", type: "varchar", unique: true })
3738
3800
  ], BankDetail.prototype, "email", 2);
3739
3801
  __decorateClass([
3740
- (0, import_typeorm27.Column)({ name: "address", type: "varchar", nullable: true })
3802
+ (0, import_typeorm28.Column)({ name: "address", type: "varchar", nullable: true })
3741
3803
  ], BankDetail.prototype, "address", 2);
3742
3804
  __decorateClass([
3743
- (0, import_typeorm27.Column)({ name: "account_number", type: "varchar", unique: true, nullable: true })
3805
+ (0, import_typeorm28.Column)({ name: "account_number", type: "varchar", unique: true, nullable: true })
3744
3806
  ], BankDetail.prototype, "accountNumber", 2);
3745
3807
  __decorateClass([
3746
- (0, import_typeorm27.Column)({ name: "bank_name", type: "varchar", nullable: true })
3808
+ (0, import_typeorm28.Column)({ name: "bank_name", type: "varchar", nullable: true })
3747
3809
  ], BankDetail.prototype, "bankName", 2);
3748
3810
  __decorateClass([
3749
- (0, import_typeorm27.Column)({ name: "ifsc_code", type: "varchar", nullable: true })
3811
+ (0, import_typeorm28.Column)({ name: "ifsc_code", type: "varchar", nullable: true })
3750
3812
  ], BankDetail.prototype, "ifscCode", 2);
3751
3813
  __decorateClass([
3752
- (0, import_typeorm27.Column)({ name: "branch_name", type: "varchar", nullable: true })
3814
+ (0, import_typeorm28.Column)({ name: "branch_name", type: "varchar", nullable: true })
3753
3815
  ], BankDetail.prototype, "branchName", 2);
3754
3816
  __decorateClass([
3755
- (0, import_typeorm27.Column)({ name: "routing_no", type: "varchar", nullable: true })
3817
+ (0, import_typeorm28.Column)({ name: "routing_no", type: "varchar", nullable: true })
3756
3818
  ], BankDetail.prototype, "routingNo", 2);
3757
3819
  __decorateClass([
3758
- (0, import_typeorm27.Column)({ name: "aba_no", type: "varchar", nullable: true })
3820
+ (0, import_typeorm28.Column)({ name: "aba_no", type: "varchar", nullable: true })
3759
3821
  ], BankDetail.prototype, "abaNumber", 2);
3760
3822
  __decorateClass([
3761
- (0, import_typeorm27.Column)({ name: "iban", type: "varchar", nullable: true })
3823
+ (0, import_typeorm28.Column)({ name: "iban", type: "varchar", nullable: true })
3762
3824
  ], BankDetail.prototype, "iban", 2);
3763
3825
  __decorateClass([
3764
- (0, import_typeorm27.Column)({
3826
+ (0, import_typeorm28.Column)({
3765
3827
  name: "account_type",
3766
3828
  type: "enum",
3767
3829
  enum: BankAccountTypeEnum,
@@ -3769,7 +3831,7 @@ __decorateClass([
3769
3831
  })
3770
3832
  ], BankDetail.prototype, "accountType", 2);
3771
3833
  __decorateClass([
3772
- (0, import_typeorm27.Column)({
3834
+ (0, import_typeorm28.Column)({
3773
3835
  name: "account_scope",
3774
3836
  type: "enum",
3775
3837
  enum: BankAccountScopeEnum,
@@ -3777,210 +3839,210 @@ __decorateClass([
3777
3839
  })
3778
3840
  ], BankDetail.prototype, "accountScope", 2);
3779
3841
  BankDetail = __decorateClass([
3780
- (0, import_typeorm27.Entity)("bank_details")
3842
+ (0, import_typeorm28.Entity)("bank_details")
3781
3843
  ], BankDetail);
3782
3844
 
3783
3845
  // src/entities/system-preference.entity.ts
3784
- var import_typeorm28 = require("typeorm");
3846
+ var import_typeorm29 = require("typeorm");
3785
3847
  var SystemPreference = class extends BaseEntity {
3786
3848
  };
3787
3849
  // individual index to find system preference by user
3788
3850
  __decorateClass([
3789
- (0, import_typeorm28.Column)({ name: "user_id", type: "integer", nullable: true }),
3790
- (0, import_typeorm28.Index)()
3851
+ (0, import_typeorm29.Column)({ name: "user_id", type: "integer", nullable: true }),
3852
+ (0, import_typeorm29.Index)()
3791
3853
  ], SystemPreference.prototype, "userId", 2);
3792
3854
  __decorateClass([
3793
- (0, import_typeorm28.ManyToOne)(() => User, (user) => user.systemPreference),
3794
- (0, import_typeorm28.JoinColumn)({ name: "user_id" })
3855
+ (0, import_typeorm29.ManyToOne)(() => User, (user) => user.systemPreference),
3856
+ (0, import_typeorm29.JoinColumn)({ name: "user_id" })
3795
3857
  ], SystemPreference.prototype, "user", 2);
3796
3858
  __decorateClass([
3797
- (0, import_typeorm28.Column)({ name: "key", type: "varchar", nullable: false })
3859
+ (0, import_typeorm29.Column)({ name: "key", type: "varchar", nullable: false })
3798
3860
  ], SystemPreference.prototype, "key", 2);
3799
3861
  __decorateClass([
3800
- (0, import_typeorm28.Column)({ name: "value", type: "boolean", default: false })
3862
+ (0, import_typeorm29.Column)({ name: "value", type: "boolean", default: false })
3801
3863
  ], SystemPreference.prototype, "value", 2);
3802
3864
  SystemPreference = __decorateClass([
3803
- (0, import_typeorm28.Entity)("system_preferences")
3865
+ (0, import_typeorm29.Entity)("system_preferences")
3804
3866
  ], SystemPreference);
3805
3867
 
3806
3868
  // src/entities/freelancer-experience.entity.ts
3807
- var import_typeorm29 = require("typeorm");
3869
+ var import_typeorm30 = require("typeorm");
3808
3870
  var FreelancerExperience = class extends BaseEntity {
3809
3871
  };
3810
3872
  // individual index to find experence by user
3811
3873
  __decorateClass([
3812
- (0, import_typeorm29.Column)({ name: "user_id", type: "integer", nullable: true }),
3813
- (0, import_typeorm29.Index)()
3874
+ (0, import_typeorm30.Column)({ name: "user_id", type: "integer", nullable: true }),
3875
+ (0, import_typeorm30.Index)()
3814
3876
  ], FreelancerExperience.prototype, "userId", 2);
3815
3877
  __decorateClass([
3816
- (0, import_typeorm29.ManyToOne)(() => User, (user) => user.freelancerExperience),
3817
- (0, import_typeorm29.JoinColumn)({ name: "user_id" })
3878
+ (0, import_typeorm30.ManyToOne)(() => User, (user) => user.freelancerExperience),
3879
+ (0, import_typeorm30.JoinColumn)({ name: "user_id" })
3818
3880
  ], FreelancerExperience.prototype, "user", 2);
3819
3881
  __decorateClass([
3820
- (0, import_typeorm29.Column)({ name: "company_name", type: "varchar", nullable: true })
3882
+ (0, import_typeorm30.Column)({ name: "company_name", type: "varchar", nullable: true })
3821
3883
  ], FreelancerExperience.prototype, "companyName", 2);
3822
3884
  __decorateClass([
3823
- (0, import_typeorm29.Column)({ name: "designation", type: "varchar", nullable: true })
3885
+ (0, import_typeorm30.Column)({ name: "designation", type: "varchar", nullable: true })
3824
3886
  ], FreelancerExperience.prototype, "designation", 2);
3825
3887
  __decorateClass([
3826
- (0, import_typeorm29.Column)({ name: "job_duration", type: "varchar", nullable: true })
3888
+ (0, import_typeorm30.Column)({ name: "job_duration", type: "varchar", nullable: true })
3827
3889
  ], FreelancerExperience.prototype, "jobDuration", 2);
3828
3890
  __decorateClass([
3829
- (0, import_typeorm29.Column)({ name: "description", type: "varchar", nullable: true })
3891
+ (0, import_typeorm30.Column)({ name: "description", type: "varchar", nullable: true })
3830
3892
  ], FreelancerExperience.prototype, "description", 2);
3831
3893
  FreelancerExperience = __decorateClass([
3832
- (0, import_typeorm29.Entity)("freelancer_experiences")
3894
+ (0, import_typeorm30.Entity)("freelancer_experiences")
3833
3895
  ], FreelancerExperience);
3834
3896
 
3835
3897
  // src/entities/freelancer-education.entity.ts
3836
- var import_typeorm30 = require("typeorm");
3898
+ var import_typeorm31 = require("typeorm");
3837
3899
  var FreelancerEducation = class extends BaseEntity {
3838
3900
  };
3839
3901
  // individual index to find education by user
3840
3902
  __decorateClass([
3841
- (0, import_typeorm30.Column)({ name: "user_id", type: "integer", nullable: true }),
3842
- (0, import_typeorm30.Index)()
3903
+ (0, import_typeorm31.Column)({ name: "user_id", type: "integer", nullable: true }),
3904
+ (0, import_typeorm31.Index)()
3843
3905
  ], FreelancerEducation.prototype, "userId", 2);
3844
3906
  __decorateClass([
3845
- (0, import_typeorm30.ManyToOne)(() => User, (user) => user.freelancerEducation),
3846
- (0, import_typeorm30.JoinColumn)({ name: "user_id" })
3907
+ (0, import_typeorm31.ManyToOne)(() => User, (user) => user.freelancerEducation),
3908
+ (0, import_typeorm31.JoinColumn)({ name: "user_id" })
3847
3909
  ], FreelancerEducation.prototype, "user", 2);
3848
3910
  __decorateClass([
3849
- (0, import_typeorm30.Column)({ name: "degree", type: "varchar", nullable: true })
3911
+ (0, import_typeorm31.Column)({ name: "degree", type: "varchar", nullable: true })
3850
3912
  ], FreelancerEducation.prototype, "degree", 2);
3851
3913
  __decorateClass([
3852
- (0, import_typeorm30.Column)({ name: "university", type: "varchar", nullable: true })
3914
+ (0, import_typeorm31.Column)({ name: "university", type: "varchar", nullable: true })
3853
3915
  ], FreelancerEducation.prototype, "university", 2);
3854
3916
  __decorateClass([
3855
- (0, import_typeorm30.Column)({ name: "year_of_graduation", type: "varchar", nullable: true })
3917
+ (0, import_typeorm31.Column)({ name: "year_of_graduation", type: "varchar", nullable: true })
3856
3918
  ], FreelancerEducation.prototype, "yearOfGraduation", 2);
3857
3919
  FreelancerEducation = __decorateClass([
3858
- (0, import_typeorm30.Entity)("freelancer_educations")
3920
+ (0, import_typeorm31.Entity)("freelancer_educations")
3859
3921
  ], FreelancerEducation);
3860
3922
 
3861
3923
  // src/entities/freelancer-project.entity.ts
3862
- var import_typeorm31 = require("typeorm");
3924
+ var import_typeorm32 = require("typeorm");
3863
3925
  var FreelancerProject = class extends BaseEntity {
3864
3926
  };
3865
3927
  // individual index to find project by user
3866
3928
  __decorateClass([
3867
- (0, import_typeorm31.Column)({ name: "user_id", type: "integer", nullable: true }),
3868
- (0, import_typeorm31.Index)()
3929
+ (0, import_typeorm32.Column)({ name: "user_id", type: "integer", nullable: true }),
3930
+ (0, import_typeorm32.Index)()
3869
3931
  ], FreelancerProject.prototype, "userId", 2);
3870
3932
  __decorateClass([
3871
- (0, import_typeorm31.ManyToOne)(() => User, (user) => user.freelancerProject),
3872
- (0, import_typeorm31.JoinColumn)({ name: "user_id" })
3933
+ (0, import_typeorm32.ManyToOne)(() => User, (user) => user.freelancerProject),
3934
+ (0, import_typeorm32.JoinColumn)({ name: "user_id" })
3873
3935
  ], FreelancerProject.prototype, "user", 2);
3874
3936
  __decorateClass([
3875
- (0, import_typeorm31.Column)({ name: "project_name", type: "varchar", nullable: true })
3937
+ (0, import_typeorm32.Column)({ name: "project_name", type: "varchar", nullable: true })
3876
3938
  ], FreelancerProject.prototype, "projectName", 2);
3877
3939
  __decorateClass([
3878
- (0, import_typeorm31.Column)({ name: "start_date", type: "date", nullable: true })
3940
+ (0, import_typeorm32.Column)({ name: "start_date", type: "date", nullable: true })
3879
3941
  ], FreelancerProject.prototype, "startDate", 2);
3880
3942
  __decorateClass([
3881
- (0, import_typeorm31.Column)({ name: "end_date", type: "date", nullable: true })
3943
+ (0, import_typeorm32.Column)({ name: "end_date", type: "date", nullable: true })
3882
3944
  ], FreelancerProject.prototype, "endDate", 2);
3883
3945
  __decorateClass([
3884
- (0, import_typeorm31.Column)({ name: "client_name", type: "varchar", nullable: true })
3946
+ (0, import_typeorm32.Column)({ name: "client_name", type: "varchar", nullable: true })
3885
3947
  ], FreelancerProject.prototype, "clientName", 2);
3886
3948
  __decorateClass([
3887
- (0, import_typeorm31.Column)({ name: "git_link", type: "varchar", nullable: true })
3949
+ (0, import_typeorm32.Column)({ name: "git_link", type: "varchar", nullable: true })
3888
3950
  ], FreelancerProject.prototype, "gitLink", 2);
3889
3951
  __decorateClass([
3890
- (0, import_typeorm31.Column)({ name: "description", type: "varchar", nullable: true })
3952
+ (0, import_typeorm32.Column)({ name: "description", type: "varchar", nullable: true })
3891
3953
  ], FreelancerProject.prototype, "description", 2);
3892
3954
  FreelancerProject = __decorateClass([
3893
- (0, import_typeorm31.Entity)("freelancer_projects")
3955
+ (0, import_typeorm32.Entity)("freelancer_projects")
3894
3956
  ], FreelancerProject);
3895
3957
 
3896
3958
  // src/entities/freelancer-casestudy.entity.ts
3897
- var import_typeorm32 = require("typeorm");
3959
+ var import_typeorm33 = require("typeorm");
3898
3960
  var FreelancerCaseStudy = class extends BaseEntity {
3899
3961
  };
3900
3962
  // individual index to find case study by user
3901
3963
  __decorateClass([
3902
- (0, import_typeorm32.Column)({ name: "user_id", type: "integer", nullable: true }),
3903
- (0, import_typeorm32.Index)()
3964
+ (0, import_typeorm33.Column)({ name: "user_id", type: "integer", nullable: true }),
3965
+ (0, import_typeorm33.Index)()
3904
3966
  ], FreelancerCaseStudy.prototype, "userId", 2);
3905
3967
  __decorateClass([
3906
- (0, import_typeorm32.ManyToOne)(() => User, (user) => user.freelancerCaseStudy),
3907
- (0, import_typeorm32.JoinColumn)({ name: "user_id" })
3968
+ (0, import_typeorm33.ManyToOne)(() => User, (user) => user.freelancerCaseStudy),
3969
+ (0, import_typeorm33.JoinColumn)({ name: "user_id" })
3908
3970
  ], FreelancerCaseStudy.prototype, "user", 2);
3909
3971
  __decorateClass([
3910
- (0, import_typeorm32.Column)({ name: "project_name", type: "varchar", nullable: true })
3972
+ (0, import_typeorm33.Column)({ name: "project_name", type: "varchar", nullable: true })
3911
3973
  ], FreelancerCaseStudy.prototype, "projectName", 2);
3912
3974
  __decorateClass([
3913
- (0, import_typeorm32.Column)({ name: "case_study_link", type: "varchar", nullable: true })
3975
+ (0, import_typeorm33.Column)({ name: "case_study_link", type: "varchar", nullable: true })
3914
3976
  ], FreelancerCaseStudy.prototype, "caseStudyLink", 2);
3915
3977
  __decorateClass([
3916
- (0, import_typeorm32.Column)({ name: "description", type: "varchar", nullable: true })
3978
+ (0, import_typeorm33.Column)({ name: "description", type: "varchar", nullable: true })
3917
3979
  ], FreelancerCaseStudy.prototype, "description", 2);
3918
3980
  FreelancerCaseStudy = __decorateClass([
3919
- (0, import_typeorm32.Entity)("freelancer_case_studies")
3981
+ (0, import_typeorm33.Entity)("freelancer_case_studies")
3920
3982
  ], FreelancerCaseStudy);
3921
3983
 
3922
3984
  // src/entities/freelancer-skill.entity.ts
3923
- var import_typeorm33 = require("typeorm");
3985
+ var import_typeorm34 = require("typeorm");
3924
3986
  var FreelancerSkill = class extends BaseEntity {
3925
3987
  };
3926
3988
  // individual index to find core skills by user
3927
3989
  __decorateClass([
3928
- (0, import_typeorm33.Column)({ name: "user_id", type: "integer", nullable: true }),
3929
- (0, import_typeorm33.Index)()
3990
+ (0, import_typeorm34.Column)({ name: "user_id", type: "integer", nullable: true }),
3991
+ (0, import_typeorm34.Index)()
3930
3992
  ], FreelancerSkill.prototype, "userId", 2);
3931
3993
  __decorateClass([
3932
- (0, import_typeorm33.ManyToOne)(() => User, (user) => user.freelancerSkills),
3933
- (0, import_typeorm33.JoinColumn)({ name: "user_id" })
3994
+ (0, import_typeorm34.ManyToOne)(() => User, (user) => user.freelancerSkills),
3995
+ (0, import_typeorm34.JoinColumn)({ name: "user_id" })
3934
3996
  ], FreelancerSkill.prototype, "user", 2);
3935
3997
  __decorateClass([
3936
- (0, import_typeorm33.Column)({ name: "skill_name", type: "varchar", nullable: true })
3998
+ (0, import_typeorm34.Column)({ name: "skill_name", type: "varchar", nullable: true })
3937
3999
  ], FreelancerSkill.prototype, "skillName", 2);
3938
4000
  FreelancerSkill = __decorateClass([
3939
- (0, import_typeorm33.Entity)("freelancer_skills")
4001
+ (0, import_typeorm34.Entity)("freelancer_skills")
3940
4002
  ], FreelancerSkill);
3941
4003
 
3942
4004
  // src/entities/freelancer-tool.entity.ts
3943
- var import_typeorm34 = require("typeorm");
4005
+ var import_typeorm35 = require("typeorm");
3944
4006
  var FreelancerTool = class extends BaseEntity {
3945
4007
  };
3946
4008
  // individual index to find tool by user
3947
4009
  __decorateClass([
3948
- (0, import_typeorm34.Column)({ name: "user_id", type: "integer", nullable: true }),
3949
- (0, import_typeorm34.Index)()
4010
+ (0, import_typeorm35.Column)({ name: "user_id", type: "integer", nullable: true }),
4011
+ (0, import_typeorm35.Index)()
3950
4012
  ], FreelancerTool.prototype, "userId", 2);
3951
4013
  __decorateClass([
3952
- (0, import_typeorm34.ManyToOne)(() => User, (user) => user.freelancerTool),
3953
- (0, import_typeorm34.JoinColumn)({ name: "user_id" })
4014
+ (0, import_typeorm35.ManyToOne)(() => User, (user) => user.freelancerTool),
4015
+ (0, import_typeorm35.JoinColumn)({ name: "user_id" })
3954
4016
  ], FreelancerTool.prototype, "user", 2);
3955
4017
  __decorateClass([
3956
- (0, import_typeorm34.Column)({ name: "tool_name", type: "varchar", nullable: true })
4018
+ (0, import_typeorm35.Column)({ name: "tool_name", type: "varchar", nullable: true })
3957
4019
  ], FreelancerTool.prototype, "toolName", 2);
3958
4020
  FreelancerTool = __decorateClass([
3959
- (0, import_typeorm34.Entity)("freelancer_tools")
4021
+ (0, import_typeorm35.Entity)("freelancer_tools")
3960
4022
  ], FreelancerTool);
3961
4023
 
3962
4024
  // src/entities/freelancer-framework.entity.ts
3963
- var import_typeorm35 = require("typeorm");
4025
+ var import_typeorm36 = require("typeorm");
3964
4026
  var FreelancerFramework = class extends BaseEntity {
3965
4027
  };
3966
4028
  // individual index to find framework by user
3967
4029
  __decorateClass([
3968
- (0, import_typeorm35.Column)({ name: "user_id", type: "integer", nullable: true }),
3969
- (0, import_typeorm35.Index)()
4030
+ (0, import_typeorm36.Column)({ name: "user_id", type: "integer", nullable: true }),
4031
+ (0, import_typeorm36.Index)()
3970
4032
  ], FreelancerFramework.prototype, "userId", 2);
3971
4033
  __decorateClass([
3972
- (0, import_typeorm35.ManyToOne)(() => User, (user) => user.freelancerFramework),
3973
- (0, import_typeorm35.JoinColumn)({ name: "user_id" })
4034
+ (0, import_typeorm36.ManyToOne)(() => User, (user) => user.freelancerFramework),
4035
+ (0, import_typeorm36.JoinColumn)({ name: "user_id" })
3974
4036
  ], FreelancerFramework.prototype, "user", 2);
3975
4037
  __decorateClass([
3976
- (0, import_typeorm35.Column)({ name: "framework_name", type: "varchar", nullable: true })
4038
+ (0, import_typeorm36.Column)({ name: "framework_name", type: "varchar", nullable: true })
3977
4039
  ], FreelancerFramework.prototype, "frameworkName", 2);
3978
4040
  FreelancerFramework = __decorateClass([
3979
- (0, import_typeorm35.Entity)("freelancer_frameworks")
4041
+ (0, import_typeorm36.Entity)("freelancer_frameworks")
3980
4042
  ], FreelancerFramework);
3981
4043
 
3982
4044
  // src/entities/freelancer-assessment.entity.ts
3983
- var import_typeorm36 = require("typeorm");
4045
+ var import_typeorm37 = require("typeorm");
3984
4046
  var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
3985
4047
  AssessmentStatusEnum2["NOT_ATTEMPTED"] = "NOT_ATTEMPTED";
3986
4048
  AssessmentStatusEnum2["ACTIVE"] = "ACTIVE";
@@ -3996,30 +4058,30 @@ var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
3996
4058
  var FreelancerAssessment = class extends BaseEntity {
3997
4059
  };
3998
4060
  __decorateClass([
3999
- (0, import_typeorm36.Column)({ name: "user_id", type: "integer", nullable: true }),
4000
- (0, import_typeorm36.Index)()
4061
+ (0, import_typeorm37.Column)({ name: "user_id", type: "integer", nullable: true }),
4062
+ (0, import_typeorm37.Index)()
4001
4063
  ], FreelancerAssessment.prototype, "userId", 2);
4002
4064
  __decorateClass([
4003
- (0, import_typeorm36.ManyToOne)(() => User, (user) => user.assessments),
4004
- (0, import_typeorm36.JoinColumn)({ name: "user_id" })
4065
+ (0, import_typeorm37.ManyToOne)(() => User, (user) => user.assessments),
4066
+ (0, import_typeorm37.JoinColumn)({ name: "user_id" })
4005
4067
  ], FreelancerAssessment.prototype, "user", 2);
4006
4068
  __decorateClass([
4007
- (0, import_typeorm36.Column)({ name: "interview_id", type: "varchar", nullable: true })
4069
+ (0, import_typeorm37.Column)({ name: "interview_id", type: "varchar", nullable: true })
4008
4070
  ], FreelancerAssessment.prototype, "interviewId", 2);
4009
4071
  __decorateClass([
4010
- (0, import_typeorm36.Column)({ name: "interview_link", type: "text", nullable: true })
4072
+ (0, import_typeorm37.Column)({ name: "interview_link", type: "text", nullable: true })
4011
4073
  ], FreelancerAssessment.prototype, "interviewLink", 2);
4012
4074
  __decorateClass([
4013
- (0, import_typeorm36.Column)({ name: "recording_link", type: "text", nullable: true })
4075
+ (0, import_typeorm37.Column)({ name: "recording_link", type: "text", nullable: true })
4014
4076
  ], FreelancerAssessment.prototype, "recordingLink", 2);
4015
4077
  __decorateClass([
4016
- (0, import_typeorm36.Column)({ name: "iframe_response", type: "jsonb", nullable: true })
4078
+ (0, import_typeorm37.Column)({ name: "iframe_response", type: "jsonb", nullable: true })
4017
4079
  ], FreelancerAssessment.prototype, "iframeResponse", 2);
4018
4080
  __decorateClass([
4019
- (0, import_typeorm36.Column)({ name: "interview_summary", type: "jsonb", nullable: true })
4081
+ (0, import_typeorm37.Column)({ name: "interview_summary", type: "jsonb", nullable: true })
4020
4082
  ], FreelancerAssessment.prototype, "interviewSummary", 2);
4021
4083
  __decorateClass([
4022
- (0, import_typeorm36.Column)({
4084
+ (0, import_typeorm37.Column)({
4023
4085
  name: "status",
4024
4086
  type: "enum",
4025
4087
  enum: AssessmentStatusEnum,
@@ -4027,11 +4089,11 @@ __decorateClass([
4027
4089
  })
4028
4090
  ], FreelancerAssessment.prototype, "status", 2);
4029
4091
  FreelancerAssessment = __decorateClass([
4030
- (0, import_typeorm36.Entity)("freelancer_assessments")
4092
+ (0, import_typeorm37.Entity)("freelancer_assessments")
4031
4093
  ], FreelancerAssessment);
4032
4094
 
4033
4095
  // src/entities/freelancer-declaration.entity.ts
4034
- var import_typeorm37 = require("typeorm");
4096
+ var import_typeorm38 = require("typeorm");
4035
4097
  var DocumentType = /* @__PURE__ */ ((DocumentType2) => {
4036
4098
  DocumentType2["AADHAAR"] = "AADHAAR_CARD";
4037
4099
  DocumentType2["PASSPORT"] = "PASSPORT";
@@ -4043,15 +4105,15 @@ var FreelancerDeclaration = class extends BaseEntity {
4043
4105
  };
4044
4106
  // individual index to find declaration by user
4045
4107
  __decorateClass([
4046
- (0, import_typeorm37.Column)({ name: "user_id", type: "integer", nullable: true }),
4047
- (0, import_typeorm37.Index)()
4108
+ (0, import_typeorm38.Column)({ name: "user_id", type: "integer", nullable: true }),
4109
+ (0, import_typeorm38.Index)()
4048
4110
  ], FreelancerDeclaration.prototype, "userId", 2);
4049
4111
  __decorateClass([
4050
- (0, import_typeorm37.ManyToOne)(() => User, (user) => user.freelancerDeclaration),
4051
- (0, import_typeorm37.JoinColumn)({ name: "user_id" })
4112
+ (0, import_typeorm38.ManyToOne)(() => User, (user) => user.freelancerDeclaration),
4113
+ (0, import_typeorm38.JoinColumn)({ name: "user_id" })
4052
4114
  ], FreelancerDeclaration.prototype, "user", 2);
4053
4115
  __decorateClass([
4054
- (0, import_typeorm37.Column)({
4116
+ (0, import_typeorm38.Column)({
4055
4117
  name: "document_type",
4056
4118
  type: "enum",
4057
4119
  enum: DocumentType,
@@ -4059,144 +4121,144 @@ __decorateClass([
4059
4121
  })
4060
4122
  ], FreelancerDeclaration.prototype, "documentType", 2);
4061
4123
  __decorateClass([
4062
- (0, import_typeorm37.Column)({ name: "front_document_url", type: "varchar", nullable: true })
4124
+ (0, import_typeorm38.Column)({ name: "front_document_url", type: "varchar", nullable: true })
4063
4125
  ], FreelancerDeclaration.prototype, "frontDocumentUrl", 2);
4064
4126
  __decorateClass([
4065
- (0, import_typeorm37.Column)({ name: "back_document_url", type: "varchar", nullable: true })
4127
+ (0, import_typeorm38.Column)({ name: "back_document_url", type: "varchar", nullable: true })
4066
4128
  ], FreelancerDeclaration.prototype, "backDocumentUrl", 2);
4067
4129
  __decorateClass([
4068
- (0, import_typeorm37.Column)({ name: "declaration_accepted", type: "boolean", default: false })
4130
+ (0, import_typeorm38.Column)({ name: "declaration_accepted", type: "boolean", default: false })
4069
4131
  ], FreelancerDeclaration.prototype, "declarationAccepted", 2);
4070
4132
  __decorateClass([
4071
- (0, import_typeorm37.Column)({ name: "digital_signature_url", type: "varchar", nullable: true })
4133
+ (0, import_typeorm38.Column)({ name: "digital_signature_url", type: "varchar", nullable: true })
4072
4134
  ], FreelancerDeclaration.prototype, "digitalSignatureUrl", 2);
4073
4135
  FreelancerDeclaration = __decorateClass([
4074
- (0, import_typeorm37.Entity)("freelancer_declaration")
4136
+ (0, import_typeorm38.Entity)("freelancer_declaration")
4075
4137
  ], FreelancerDeclaration);
4076
4138
 
4077
4139
  // src/entities/company-members-roles.entity.ts
4078
- var import_typeorm41 = require("typeorm");
4140
+ var import_typeorm42 = require("typeorm");
4079
4141
 
4080
4142
  // src/entities/company-role.entity.ts
4081
- var import_typeorm40 = require("typeorm");
4143
+ var import_typeorm41 = require("typeorm");
4082
4144
 
4083
4145
  // src/entities/company-role-permission.entity.ts
4084
- var import_typeorm39 = require("typeorm");
4146
+ var import_typeorm40 = require("typeorm");
4085
4147
 
4086
4148
  // src/entities/permission.entity.ts
4087
- var import_typeorm38 = require("typeorm");
4149
+ var import_typeorm39 = require("typeorm");
4088
4150
  var Permission = class extends BaseEntity {
4089
4151
  };
4090
4152
  __decorateClass([
4091
- (0, import_typeorm38.Column)({ name: "name", type: "varchar", nullable: true })
4153
+ (0, import_typeorm39.Column)({ name: "name", type: "varchar", nullable: true })
4092
4154
  ], Permission.prototype, "name", 2);
4093
4155
  __decorateClass([
4094
- (0, import_typeorm38.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
4095
- (0, import_typeorm38.Index)()
4156
+ (0, import_typeorm39.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
4157
+ (0, import_typeorm39.Index)()
4096
4158
  ], Permission.prototype, "slug", 2);
4097
4159
  __decorateClass([
4098
- (0, import_typeorm38.Column)({ name: "description", type: "text", nullable: true })
4160
+ (0, import_typeorm39.Column)({ name: "description", type: "text", nullable: true })
4099
4161
  ], Permission.prototype, "description", 2);
4100
4162
  __decorateClass([
4101
- (0, import_typeorm38.Column)({ name: "is_active", type: "boolean", default: true })
4163
+ (0, import_typeorm39.Column)({ name: "is_active", type: "boolean", default: true })
4102
4164
  ], Permission.prototype, "isActive", 2);
4103
4165
  Permission = __decorateClass([
4104
- (0, import_typeorm38.Entity)("permissions")
4166
+ (0, import_typeorm39.Entity)("permissions")
4105
4167
  ], Permission);
4106
4168
 
4107
4169
  // src/entities/company-role-permission.entity.ts
4108
4170
  var CompanyRolePermission = class extends BaseEntity {
4109
4171
  };
4110
4172
  __decorateClass([
4111
- (0, import_typeorm39.Column)({ name: "company_role_id", type: "integer", nullable: true }),
4112
- (0, import_typeorm39.Index)()
4173
+ (0, import_typeorm40.Column)({ name: "company_role_id", type: "integer", nullable: true }),
4174
+ (0, import_typeorm40.Index)()
4113
4175
  ], CompanyRolePermission.prototype, "companyRoleId", 2);
4114
4176
  __decorateClass([
4115
- (0, import_typeorm39.ManyToOne)(() => CompanyRole, (role) => role.rolePermissions, {
4177
+ (0, import_typeorm40.ManyToOne)(() => CompanyRole, (role) => role.rolePermissions, {
4116
4178
  onDelete: "CASCADE"
4117
4179
  }),
4118
- (0, import_typeorm39.JoinColumn)({ name: "company_role_id" })
4180
+ (0, import_typeorm40.JoinColumn)({ name: "company_role_id" })
4119
4181
  ], CompanyRolePermission.prototype, "companyRole", 2);
4120
4182
  __decorateClass([
4121
- (0, import_typeorm39.Column)({ name: "permission_id", type: "integer" }),
4122
- (0, import_typeorm39.Index)()
4183
+ (0, import_typeorm40.Column)({ name: "permission_id", type: "integer" }),
4184
+ (0, import_typeorm40.Index)()
4123
4185
  ], CompanyRolePermission.prototype, "permissionId", 2);
4124
4186
  __decorateClass([
4125
- (0, import_typeorm39.ManyToOne)(() => Permission, { onDelete: "CASCADE" }),
4126
- (0, import_typeorm39.JoinColumn)({ name: "permission_id" })
4187
+ (0, import_typeorm40.ManyToOne)(() => Permission, { onDelete: "CASCADE" }),
4188
+ (0, import_typeorm40.JoinColumn)({ name: "permission_id" })
4127
4189
  ], CompanyRolePermission.prototype, "permission", 2);
4128
4190
  __decorateClass([
4129
- (0, import_typeorm39.Column)({ name: "assigned_by", type: "integer", nullable: true })
4191
+ (0, import_typeorm40.Column)({ name: "assigned_by", type: "integer", nullable: true })
4130
4192
  ], CompanyRolePermission.prototype, "assignedBy", 2);
4131
4193
  CompanyRolePermission = __decorateClass([
4132
- (0, import_typeorm39.Entity)("company_role_permissions")
4194
+ (0, import_typeorm40.Entity)("company_role_permissions")
4133
4195
  ], CompanyRolePermission);
4134
4196
 
4135
4197
  // src/entities/company-role.entity.ts
4136
4198
  var CompanyRole = class extends BaseEntity {
4137
4199
  };
4138
4200
  __decorateClass([
4139
- (0, import_typeorm40.Column)({ name: "user_id", type: "integer", nullable: true }),
4140
- (0, import_typeorm40.Index)()
4201
+ (0, import_typeorm41.Column)({ name: "user_id", type: "integer", nullable: true }),
4202
+ (0, import_typeorm41.Index)()
4141
4203
  ], CompanyRole.prototype, "userId", 2);
4142
4204
  __decorateClass([
4143
- (0, import_typeorm40.ManyToOne)(() => User, (user) => user.otps),
4144
- (0, import_typeorm40.JoinColumn)({ name: "user_id" })
4205
+ (0, import_typeorm41.ManyToOne)(() => User, (user) => user.otps),
4206
+ (0, import_typeorm41.JoinColumn)({ name: "user_id" })
4145
4207
  ], CompanyRole.prototype, "user", 2);
4146
4208
  __decorateClass([
4147
- (0, import_typeorm40.Column)({ name: "name", type: "varchar" })
4209
+ (0, import_typeorm41.Column)({ name: "name", type: "varchar" })
4148
4210
  ], CompanyRole.prototype, "name", 2);
4149
4211
  __decorateClass([
4150
- (0, import_typeorm40.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
4151
- (0, import_typeorm40.Index)()
4212
+ (0, import_typeorm41.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
4213
+ (0, import_typeorm41.Index)()
4152
4214
  ], CompanyRole.prototype, "slug", 2);
4153
4215
  __decorateClass([
4154
- (0, import_typeorm40.Column)({ name: "description", type: "text", nullable: true })
4216
+ (0, import_typeorm41.Column)({ name: "description", type: "text", nullable: true })
4155
4217
  ], CompanyRole.prototype, "description", 2);
4156
4218
  __decorateClass([
4157
- (0, import_typeorm40.Column)({ name: "is_active", type: "boolean", default: true })
4219
+ (0, import_typeorm41.Column)({ name: "is_active", type: "boolean", default: true })
4158
4220
  ], CompanyRole.prototype, "isActive", 2);
4159
4221
  __decorateClass([
4160
- (0, import_typeorm40.OneToMany)(() => CompanyRolePermission, (rp) => rp.companyRole)
4222
+ (0, import_typeorm41.OneToMany)(() => CompanyRolePermission, (rp) => rp.companyRole)
4161
4223
  ], CompanyRole.prototype, "rolePermissions", 2);
4162
4224
  CompanyRole = __decorateClass([
4163
- (0, import_typeorm40.Entity)("company_roles")
4225
+ (0, import_typeorm41.Entity)("company_roles")
4164
4226
  ], CompanyRole);
4165
4227
 
4166
4228
  // src/entities/company-members-roles.entity.ts
4167
4229
  var CompanyMemberRole = class extends BaseEntity {
4168
4230
  };
4169
4231
  __decorateClass([
4170
- (0, import_typeorm41.Column)({ name: "user_id", type: "integer", nullable: true }),
4171
- (0, import_typeorm41.Index)()
4232
+ (0, import_typeorm42.Column)({ name: "user_id", type: "integer", nullable: true }),
4233
+ (0, import_typeorm42.Index)()
4172
4234
  ], CompanyMemberRole.prototype, "userId", 2);
4173
4235
  __decorateClass([
4174
- (0, import_typeorm41.ManyToOne)(() => User),
4175
- (0, import_typeorm41.JoinColumn)({ name: "user_id" })
4236
+ (0, import_typeorm42.ManyToOne)(() => User),
4237
+ (0, import_typeorm42.JoinColumn)({ name: "user_id" })
4176
4238
  ], CompanyMemberRole.prototype, "user", 2);
4177
4239
  __decorateClass([
4178
- (0, import_typeorm41.ManyToOne)(() => CompanyRole),
4179
- (0, import_typeorm41.JoinColumn)({ name: "company_role_id" })
4240
+ (0, import_typeorm42.ManyToOne)(() => CompanyRole),
4241
+ (0, import_typeorm42.JoinColumn)({ name: "company_role_id" })
4180
4242
  ], CompanyMemberRole.prototype, "role", 2);
4181
4243
  __decorateClass([
4182
- (0, import_typeorm41.Column)({ name: "company_role_id", type: "integer", nullable: true }),
4183
- (0, import_typeorm41.Index)()
4244
+ (0, import_typeorm42.Column)({ name: "company_role_id", type: "integer", nullable: true }),
4245
+ (0, import_typeorm42.Index)()
4184
4246
  ], CompanyMemberRole.prototype, "companyRoleId", 2);
4185
4247
  __decorateClass([
4186
- (0, import_typeorm41.Column)({ name: "assigned_by", type: "integer", nullable: true })
4248
+ (0, import_typeorm42.Column)({ name: "assigned_by", type: "integer", nullable: true })
4187
4249
  ], CompanyMemberRole.prototype, "assignedBy", 2);
4188
4250
  CompanyMemberRole = __decorateClass([
4189
- (0, import_typeorm41.Entity)("company_member_roles")
4251
+ (0, import_typeorm42.Entity)("company_member_roles")
4190
4252
  ], CompanyMemberRole);
4191
4253
 
4192
4254
  // src/entities/assessment-answer.entity.ts
4193
- var import_typeorm44 = require("typeorm");
4255
+ var import_typeorm45 = require("typeorm");
4194
4256
 
4195
4257
  // src/entities/assessment-question.entity.ts
4196
- var import_typeorm43 = require("typeorm");
4258
+ var import_typeorm44 = require("typeorm");
4197
4259
 
4198
4260
  // src/entities/assessment-question-option.entity.ts
4199
- var import_typeorm42 = require("typeorm");
4261
+ var import_typeorm43 = require("typeorm");
4200
4262
  var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
4201
4263
  AnswerTypeEnum2["CORRECT"] = "CORRECT";
4202
4264
  AnswerTypeEnum2["ACCEPTABLE"] = "ACCEPTABLE";
@@ -4206,21 +4268,21 @@ var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
4206
4268
  var AssessmetQuestionOption = class extends BaseEntity {
4207
4269
  };
4208
4270
  __decorateClass([
4209
- (0, import_typeorm42.Column)({ name: "question_id", type: "integer", nullable: true }),
4210
- (0, import_typeorm42.Index)()
4271
+ (0, import_typeorm43.Column)({ name: "question_id", type: "integer", nullable: true }),
4272
+ (0, import_typeorm43.Index)()
4211
4273
  ], AssessmetQuestionOption.prototype, "questionId", 2);
4212
4274
  __decorateClass([
4213
- (0, import_typeorm42.ManyToOne)(
4275
+ (0, import_typeorm43.ManyToOne)(
4214
4276
  () => AssessmetQuestion,
4215
4277
  (assessmentQuestion) => assessmentQuestion.options
4216
4278
  ),
4217
- (0, import_typeorm42.JoinColumn)({ name: "question_id" })
4279
+ (0, import_typeorm43.JoinColumn)({ name: "question_id" })
4218
4280
  ], AssessmetQuestionOption.prototype, "question", 2);
4219
4281
  __decorateClass([
4220
- (0, import_typeorm42.Column)({ name: "text", type: "varchar", nullable: true })
4282
+ (0, import_typeorm43.Column)({ name: "text", type: "varchar", nullable: true })
4221
4283
  ], AssessmetQuestionOption.prototype, "text", 2);
4222
4284
  __decorateClass([
4223
- (0, import_typeorm42.Column)({
4285
+ (0, import_typeorm43.Column)({
4224
4286
  name: "answer_type",
4225
4287
  type: "enum",
4226
4288
  enum: AnswerTypeEnum,
@@ -4228,13 +4290,13 @@ __decorateClass([
4228
4290
  })
4229
4291
  ], AssessmetQuestionOption.prototype, "answerType", 2);
4230
4292
  __decorateClass([
4231
- (0, import_typeorm42.Column)({ name: "is_active", type: "boolean", default: true })
4293
+ (0, import_typeorm43.Column)({ name: "is_active", type: "boolean", default: true })
4232
4294
  ], AssessmetQuestionOption.prototype, "isActive", 2);
4233
4295
  __decorateClass([
4234
- (0, import_typeorm42.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
4296
+ (0, import_typeorm43.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
4235
4297
  ], AssessmetQuestionOption.prototype, "selectedOptions", 2);
4236
4298
  AssessmetQuestionOption = __decorateClass([
4237
- (0, import_typeorm42.Entity)("assessment_question_options")
4299
+ (0, import_typeorm43.Entity)("assessment_question_options")
4238
4300
  ], AssessmetQuestionOption);
4239
4301
 
4240
4302
  // src/entities/assessment-question.entity.ts
@@ -4246,10 +4308,10 @@ var QuestionForEnum = /* @__PURE__ */ ((QuestionForEnum2) => {
4246
4308
  var AssessmetQuestion = class extends BaseEntity {
4247
4309
  };
4248
4310
  __decorateClass([
4249
- (0, import_typeorm43.Column)({ name: "text", type: "varchar", nullable: true })
4311
+ (0, import_typeorm44.Column)({ name: "text", type: "varchar", nullable: true })
4250
4312
  ], AssessmetQuestion.prototype, "text", 2);
4251
4313
  __decorateClass([
4252
- (0, import_typeorm43.Column)({
4314
+ (0, import_typeorm44.Column)({
4253
4315
  name: "question_for",
4254
4316
  type: "enum",
4255
4317
  enum: QuestionForEnum,
@@ -4257,16 +4319,16 @@ __decorateClass([
4257
4319
  })
4258
4320
  ], AssessmetQuestion.prototype, "questionFor", 2);
4259
4321
  __decorateClass([
4260
- (0, import_typeorm43.Column)({ name: "is_active", type: "boolean", default: true })
4322
+ (0, import_typeorm44.Column)({ name: "is_active", type: "boolean", default: true })
4261
4323
  ], AssessmetQuestion.prototype, "isActive", 2);
4262
4324
  __decorateClass([
4263
- (0, import_typeorm43.OneToMany)(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
4325
+ (0, import_typeorm44.OneToMany)(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
4264
4326
  ], AssessmetQuestion.prototype, "options", 2);
4265
4327
  __decorateClass([
4266
- (0, import_typeorm43.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
4328
+ (0, import_typeorm44.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
4267
4329
  ], AssessmetQuestion.prototype, "answers", 2);
4268
4330
  AssessmetQuestion = __decorateClass([
4269
- (0, import_typeorm43.Entity)("assessment_questions")
4331
+ (0, import_typeorm44.Entity)("assessment_questions")
4270
4332
  ], AssessmetQuestion);
4271
4333
 
4272
4334
  // src/entities/assessment-answer.entity.ts
@@ -4279,118 +4341,118 @@ var SelectedAnswerTypeEnum = /* @__PURE__ */ ((SelectedAnswerTypeEnum2) => {
4279
4341
  var AssessmentAnswer = class extends BaseEntity {
4280
4342
  };
4281
4343
  __decorateClass([
4282
- (0, import_typeorm44.Column)({ name: "user_id", type: "integer" }),
4283
- (0, import_typeorm44.Index)()
4344
+ (0, import_typeorm45.Column)({ name: "user_id", type: "integer" }),
4345
+ (0, import_typeorm45.Index)()
4284
4346
  ], AssessmentAnswer.prototype, "userId", 2);
4285
4347
  __decorateClass([
4286
- (0, import_typeorm44.ManyToOne)(() => User, (user) => user.assessmentAnswers),
4287
- (0, import_typeorm44.JoinColumn)({ name: "user_id" })
4348
+ (0, import_typeorm45.ManyToOne)(() => User, (user) => user.assessmentAnswers),
4349
+ (0, import_typeorm45.JoinColumn)({ name: "user_id" })
4288
4350
  ], AssessmentAnswer.prototype, "user", 2);
4289
4351
  __decorateClass([
4290
- (0, import_typeorm44.Column)({ name: "question_id", type: "integer" }),
4291
- (0, import_typeorm44.Index)()
4352
+ (0, import_typeorm45.Column)({ name: "question_id", type: "integer" }),
4353
+ (0, import_typeorm45.Index)()
4292
4354
  ], AssessmentAnswer.prototype, "questionId", 2);
4293
4355
  __decorateClass([
4294
- (0, import_typeorm44.ManyToOne)(
4356
+ (0, import_typeorm45.ManyToOne)(
4295
4357
  () => AssessmetQuestion,
4296
4358
  (assessmentQuestion) => assessmentQuestion.answers
4297
4359
  ),
4298
- (0, import_typeorm44.JoinColumn)({ name: "question_id" })
4360
+ (0, import_typeorm45.JoinColumn)({ name: "question_id" })
4299
4361
  ], AssessmentAnswer.prototype, "question", 2);
4300
4362
  __decorateClass([
4301
- (0, import_typeorm44.Column)({ name: "selected_option_id", type: "integer" }),
4302
- (0, import_typeorm44.Index)()
4363
+ (0, import_typeorm45.Column)({ name: "selected_option_id", type: "integer" }),
4364
+ (0, import_typeorm45.Index)()
4303
4365
  ], AssessmentAnswer.prototype, "selectedOptionId", 2);
4304
4366
  __decorateClass([
4305
- (0, import_typeorm44.ManyToOne)(
4367
+ (0, import_typeorm45.ManyToOne)(
4306
4368
  () => AssessmetQuestionOption,
4307
4369
  (assessmentQuestionOption) => assessmentQuestionOption.selectedOptions
4308
4370
  ),
4309
- (0, import_typeorm44.JoinColumn)({ name: "selected_option_id" })
4371
+ (0, import_typeorm45.JoinColumn)({ name: "selected_option_id" })
4310
4372
  ], AssessmentAnswer.prototype, "option", 2);
4311
4373
  __decorateClass([
4312
- (0, import_typeorm44.Column)({
4374
+ (0, import_typeorm45.Column)({
4313
4375
  name: "selected_answer_type",
4314
4376
  type: "enum",
4315
4377
  enum: SelectedAnswerTypeEnum
4316
4378
  })
4317
4379
  ], AssessmentAnswer.prototype, "selectedAnswerType", 2);
4318
4380
  __decorateClass([
4319
- (0, import_typeorm44.Column)({ name: "score", type: "float" })
4381
+ (0, import_typeorm45.Column)({ name: "score", type: "float" })
4320
4382
  ], AssessmentAnswer.prototype, "score", 2);
4321
4383
  AssessmentAnswer = __decorateClass([
4322
- (0, import_typeorm44.Entity)("assessment_answers")
4384
+ (0, import_typeorm45.Entity)("assessment_answers")
4323
4385
  ], AssessmentAnswer);
4324
4386
 
4325
4387
  // src/entities/company-skill.entity.ts
4326
- var import_typeorm45 = require("typeorm");
4388
+ var import_typeorm46 = require("typeorm");
4327
4389
  var CompanySkill = class extends BaseEntity {
4328
4390
  };
4329
4391
  // individual index to find core skills by user
4330
4392
  __decorateClass([
4331
- (0, import_typeorm45.Column)({ name: "user_id", type: "integer", nullable: true }),
4332
- (0, import_typeorm45.Index)()
4393
+ (0, import_typeorm46.Column)({ name: "user_id", type: "integer", nullable: true }),
4394
+ (0, import_typeorm46.Index)()
4333
4395
  ], CompanySkill.prototype, "userId", 2);
4334
4396
  __decorateClass([
4335
- (0, import_typeorm45.ManyToOne)(() => User, (user) => user.freelancerSkills),
4336
- (0, import_typeorm45.JoinColumn)({ name: "user_id" })
4397
+ (0, import_typeorm46.ManyToOne)(() => User, (user) => user.freelancerSkills),
4398
+ (0, import_typeorm46.JoinColumn)({ name: "user_id" })
4337
4399
  ], CompanySkill.prototype, "user", 2);
4338
4400
  __decorateClass([
4339
- (0, import_typeorm45.Column)({ name: "skill_name", type: "varchar", nullable: true })
4401
+ (0, import_typeorm46.Column)({ name: "skill_name", type: "varchar", nullable: true })
4340
4402
  ], CompanySkill.prototype, "skillName", 2);
4341
4403
  CompanySkill = __decorateClass([
4342
- (0, import_typeorm45.Entity)("company_skills")
4404
+ (0, import_typeorm46.Entity)("company_skills")
4343
4405
  ], CompanySkill);
4344
4406
 
4345
4407
  // src/entities/admin-user-role.entity.ts
4346
- var import_typeorm49 = require("typeorm");
4408
+ var import_typeorm50 = require("typeorm");
4347
4409
 
4348
4410
  // src/entities/admin-role.entity.ts
4349
- var import_typeorm48 = require("typeorm");
4411
+ var import_typeorm49 = require("typeorm");
4350
4412
 
4351
4413
  // src/entities/admin-role-permission.entity.ts
4352
- var import_typeorm47 = require("typeorm");
4414
+ var import_typeorm48 = require("typeorm");
4353
4415
 
4354
4416
  // src/entities/admin-permission.entity.ts
4355
- var import_typeorm46 = require("typeorm");
4417
+ var import_typeorm47 = require("typeorm");
4356
4418
  var AdminPermission = class extends BaseEntity {
4357
4419
  };
4358
4420
  __decorateClass([
4359
- (0, import_typeorm46.Column)({ name: "permission_name", type: "varchar", nullable: true })
4421
+ (0, import_typeorm47.Column)({ name: "permission_name", type: "varchar", nullable: true })
4360
4422
  ], AdminPermission.prototype, "permissionName", 2);
4361
4423
  __decorateClass([
4362
- (0, import_typeorm46.Column)({
4424
+ (0, import_typeorm47.Column)({
4363
4425
  name: "permission_slug",
4364
4426
  type: "varchar",
4365
4427
  unique: true,
4366
4428
  nullable: true
4367
4429
  }),
4368
- (0, import_typeorm46.Index)()
4430
+ (0, import_typeorm47.Index)()
4369
4431
  ], AdminPermission.prototype, "permissionSlug", 2);
4370
4432
  __decorateClass([
4371
- (0, import_typeorm46.Column)({ name: "permission_description", type: "varchar", nullable: true })
4433
+ (0, import_typeorm47.Column)({ name: "permission_description", type: "varchar", nullable: true })
4372
4434
  ], AdminPermission.prototype, "permissionDescription", 2);
4373
4435
  __decorateClass([
4374
- (0, import_typeorm46.Column)({ name: "module", type: "varchar", nullable: true })
4436
+ (0, import_typeorm47.Column)({ name: "module", type: "varchar", nullable: true })
4375
4437
  ], AdminPermission.prototype, "module", 2);
4376
4438
  __decorateClass([
4377
- (0, import_typeorm46.Column)({ name: "is_active", type: "boolean", default: true })
4439
+ (0, import_typeorm47.Column)({ name: "is_active", type: "boolean", default: true })
4378
4440
  ], AdminPermission.prototype, "isActive", 2);
4379
4441
  __decorateClass([
4380
- (0, import_typeorm46.OneToMany)(
4442
+ (0, import_typeorm47.OneToMany)(
4381
4443
  () => AdminRolePermission,
4382
4444
  (adminRolePermission) => adminRolePermission.adminPermissions
4383
4445
  )
4384
4446
  ], AdminPermission.prototype, "adminRole", 2);
4385
4447
  AdminPermission = __decorateClass([
4386
- (0, import_typeorm46.Entity)("admin_permissions")
4448
+ (0, import_typeorm47.Entity)("admin_permissions")
4387
4449
  ], AdminPermission);
4388
4450
 
4389
4451
  // src/entities/admin-role-permission.entity.ts
4390
4452
  var AdminRolePermission = class extends BaseEntity {
4391
4453
  };
4392
4454
  __decorateClass([
4393
- (0, import_typeorm47.Column)({
4455
+ (0, import_typeorm48.Column)({
4394
4456
  name: "role_id",
4395
4457
  type: "int",
4396
4458
  nullable: true,
@@ -4398,11 +4460,11 @@ __decorateClass([
4398
4460
  })
4399
4461
  ], AdminRolePermission.prototype, "roleId", 2);
4400
4462
  __decorateClass([
4401
- (0, import_typeorm47.ManyToOne)(() => AdminRole),
4402
- (0, import_typeorm47.JoinColumn)({ name: "role_id" })
4463
+ (0, import_typeorm48.ManyToOne)(() => AdminRole),
4464
+ (0, import_typeorm48.JoinColumn)({ name: "role_id" })
4403
4465
  ], AdminRolePermission.prototype, "adminRole", 2);
4404
4466
  __decorateClass([
4405
- (0, import_typeorm47.Column)({
4467
+ (0, import_typeorm48.Column)({
4406
4468
  name: "permission_id",
4407
4469
  type: "int",
4408
4470
  nullable: true,
@@ -4410,47 +4472,47 @@ __decorateClass([
4410
4472
  })
4411
4473
  ], AdminRolePermission.prototype, "permissionId", 2);
4412
4474
  __decorateClass([
4413
- (0, import_typeorm47.ManyToOne)(() => AdminPermission),
4414
- (0, import_typeorm47.JoinColumn)({ name: "permission_id" })
4475
+ (0, import_typeorm48.ManyToOne)(() => AdminPermission),
4476
+ (0, import_typeorm48.JoinColumn)({ name: "permission_id" })
4415
4477
  ], AdminRolePermission.prototype, "adminPermissions", 2);
4416
4478
  AdminRolePermission = __decorateClass([
4417
- (0, import_typeorm47.Entity)("admin_role_permissions")
4479
+ (0, import_typeorm48.Entity)("admin_role_permissions")
4418
4480
  ], AdminRolePermission);
4419
4481
 
4420
4482
  // src/entities/admin-role.entity.ts
4421
4483
  var AdminRole = class extends BaseEntity {
4422
4484
  };
4423
4485
  __decorateClass([
4424
- (0, import_typeorm48.Column)({ name: "role_name", type: "varchar", nullable: true })
4486
+ (0, import_typeorm49.Column)({ name: "role_name", type: "varchar", nullable: true })
4425
4487
  ], AdminRole.prototype, "roleName", 2);
4426
4488
  __decorateClass([
4427
- (0, import_typeorm48.Column)({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
4428
- (0, import_typeorm48.Index)()
4489
+ (0, import_typeorm49.Column)({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
4490
+ (0, import_typeorm49.Index)()
4429
4491
  ], AdminRole.prototype, "roleSlug", 2);
4430
4492
  __decorateClass([
4431
- (0, import_typeorm48.Column)({ name: "role_description", type: "varchar", nullable: true })
4493
+ (0, import_typeorm49.Column)({ name: "role_description", type: "varchar", nullable: true })
4432
4494
  ], AdminRole.prototype, "roleDescription", 2);
4433
4495
  __decorateClass([
4434
- (0, import_typeorm48.Column)({ name: "is_active", type: "boolean", default: true })
4496
+ (0, import_typeorm49.Column)({ name: "is_active", type: "boolean", default: true })
4435
4497
  ], AdminRole.prototype, "isActive", 2);
4436
4498
  __decorateClass([
4437
- (0, import_typeorm48.OneToMany)(
4499
+ (0, import_typeorm49.OneToMany)(
4438
4500
  () => AdminRolePermission,
4439
4501
  (addminRolePermission) => addminRolePermission.adminRole
4440
4502
  )
4441
4503
  ], AdminRole.prototype, "adminRolePermission", 2);
4442
4504
  __decorateClass([
4443
- (0, import_typeorm48.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
4505
+ (0, import_typeorm49.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
4444
4506
  ], AdminRole.prototype, "userRoles", 2);
4445
4507
  AdminRole = __decorateClass([
4446
- (0, import_typeorm48.Entity)("admin_roles")
4508
+ (0, import_typeorm49.Entity)("admin_roles")
4447
4509
  ], AdminRole);
4448
4510
 
4449
4511
  // src/entities/admin-user-role.entity.ts
4450
4512
  var AdminUserRole = class extends BaseEntity {
4451
4513
  };
4452
4514
  __decorateClass([
4453
- (0, import_typeorm49.Column)({
4515
+ (0, import_typeorm50.Column)({
4454
4516
  name: "user_id",
4455
4517
  type: "int",
4456
4518
  nullable: true,
@@ -4458,11 +4520,11 @@ __decorateClass([
4458
4520
  })
4459
4521
  ], AdminUserRole.prototype, "userId", 2);
4460
4522
  __decorateClass([
4461
- (0, import_typeorm49.ManyToOne)(() => User),
4462
- (0, import_typeorm49.JoinColumn)({ name: "user_id" })
4523
+ (0, import_typeorm50.ManyToOne)(() => User),
4524
+ (0, import_typeorm50.JoinColumn)({ name: "user_id" })
4463
4525
  ], AdminUserRole.prototype, "user", 2);
4464
4526
  __decorateClass([
4465
- (0, import_typeorm49.Column)({
4527
+ (0, import_typeorm50.Column)({
4466
4528
  name: "role_id",
4467
4529
  type: "int",
4468
4530
  nullable: true,
@@ -4470,41 +4532,41 @@ __decorateClass([
4470
4532
  })
4471
4533
  ], AdminUserRole.prototype, "roleId", 2);
4472
4534
  __decorateClass([
4473
- (0, import_typeorm49.ManyToOne)(() => AdminRole),
4474
- (0, import_typeorm49.JoinColumn)({ name: "role_id" })
4535
+ (0, import_typeorm50.ManyToOne)(() => AdminRole),
4536
+ (0, import_typeorm50.JoinColumn)({ name: "role_id" })
4475
4537
  ], AdminUserRole.prototype, "adminRole", 2);
4476
4538
  AdminUserRole = __decorateClass([
4477
- (0, import_typeorm49.Entity)("admin_user_roles")
4539
+ (0, import_typeorm50.Entity)("admin_user_roles")
4478
4540
  ], AdminUserRole);
4479
4541
 
4480
4542
  // src/entities/freelancer-resume.entity.ts
4481
- var import_typeorm50 = require("typeorm");
4543
+ var import_typeorm51 = require("typeorm");
4482
4544
  var FreelancerResume = class extends BaseEntity {
4483
4545
  };
4484
4546
  // individual index to find profile by user
4485
4547
  __decorateClass([
4486
- (0, import_typeorm50.Column)({ name: "user_id", type: "integer", nullable: true }),
4487
- (0, import_typeorm50.Index)()
4548
+ (0, import_typeorm51.Column)({ name: "user_id", type: "integer", nullable: true }),
4549
+ (0, import_typeorm51.Index)()
4488
4550
  ], FreelancerResume.prototype, "userId", 2);
4489
4551
  __decorateClass([
4490
- (0, import_typeorm50.ManyToOne)(() => User, (user) => user.freelancerProfile),
4491
- (0, import_typeorm50.JoinColumn)({ name: "user_id" })
4552
+ (0, import_typeorm51.ManyToOne)(() => User, (user) => user.freelancerProfile),
4553
+ (0, import_typeorm51.JoinColumn)({ name: "user_id" })
4492
4554
  ], FreelancerResume.prototype, "user", 2);
4493
4555
  __decorateClass([
4494
- (0, import_typeorm50.Column)({ name: "resume_data", type: "jsonb", nullable: true })
4556
+ (0, import_typeorm51.Column)({ name: "resume_data", type: "jsonb", nullable: true })
4495
4557
  ], FreelancerResume.prototype, "resumeData", 2);
4496
4558
  __decorateClass([
4497
- (0, import_typeorm50.Column)({ name: "processed_resume_data", type: "jsonb", nullable: true })
4559
+ (0, import_typeorm51.Column)({ name: "processed_resume_data", type: "jsonb", nullable: true })
4498
4560
  ], FreelancerResume.prototype, "processedResumeData", 2);
4499
4561
  FreelancerResume = __decorateClass([
4500
- (0, import_typeorm50.Entity)("freelancer_resumes")
4562
+ (0, import_typeorm51.Entity)("freelancer_resumes")
4501
4563
  ], FreelancerResume);
4502
4564
 
4503
4565
  // src/entities/stripe-wallet.entity.ts
4504
- var import_typeorm52 = require("typeorm");
4566
+ var import_typeorm53 = require("typeorm");
4505
4567
 
4506
4568
  // src/entities/stripe-wallet-transaction.entity.ts
4507
- var import_typeorm51 = require("typeorm");
4569
+ var import_typeorm52 = require("typeorm");
4508
4570
  var StripeWalletTransactionTypeEnum = /* @__PURE__ */ ((StripeWalletTransactionTypeEnum2) => {
4509
4571
  StripeWalletTransactionTypeEnum2["ADD_FUNDS"] = "ADD_FUNDS";
4510
4572
  StripeWalletTransactionTypeEnum2["TRANSFER"] = "TRANSFER";
@@ -4524,63 +4586,63 @@ var StripeWalletTransactionStatusEnum = /* @__PURE__ */ ((StripeWalletTransactio
4524
4586
  var StripeWalletTransaction = class extends BaseEntity {
4525
4587
  };
4526
4588
  __decorateClass([
4527
- (0, import_typeorm51.Column)({ name: "wallet_id", type: "integer", nullable: true }),
4528
- (0, import_typeorm51.Index)()
4589
+ (0, import_typeorm52.Column)({ name: "wallet_id", type: "integer", nullable: true }),
4590
+ (0, import_typeorm52.Index)()
4529
4591
  ], StripeWalletTransaction.prototype, "walletId", 2);
4530
4592
  __decorateClass([
4531
- (0, import_typeorm51.ManyToOne)(() => StripeWallet, (stripeWallet) => stripeWallet.transactions),
4532
- (0, import_typeorm51.JoinColumn)({ name: "wallet_id" })
4593
+ (0, import_typeorm52.ManyToOne)(() => StripeWallet, (stripeWallet) => stripeWallet.transactions),
4594
+ (0, import_typeorm52.JoinColumn)({ name: "wallet_id" })
4533
4595
  ], StripeWalletTransaction.prototype, "stripeWallet", 2);
4534
4596
  __decorateClass([
4535
- (0, import_typeorm51.Column)({ name: "amount", type: "bigint", nullable: true })
4597
+ (0, import_typeorm52.Column)({ name: "amount", type: "bigint", nullable: true })
4536
4598
  ], StripeWalletTransaction.prototype, "amount", 2);
4537
4599
  __decorateClass([
4538
- (0, import_typeorm51.Column)({ name: "currency", type: "varchar", nullable: true })
4600
+ (0, import_typeorm52.Column)({ name: "currency", type: "varchar", nullable: true })
4539
4601
  ], StripeWalletTransaction.prototype, "currency", 2);
4540
4602
  __decorateClass([
4541
- (0, import_typeorm51.Column)({ name: "type", type: "enum", enum: StripeWalletTransactionTypeEnum })
4603
+ (0, import_typeorm52.Column)({ name: "type", type: "enum", enum: StripeWalletTransactionTypeEnum })
4542
4604
  ], StripeWalletTransaction.prototype, "type", 2);
4543
4605
  __decorateClass([
4544
- (0, import_typeorm51.Column)({ name: "status", type: "enum", enum: StripeWalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
4606
+ (0, import_typeorm52.Column)({ name: "status", type: "enum", enum: StripeWalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
4545
4607
  ], StripeWalletTransaction.prototype, "status", 2);
4546
4608
  __decorateClass([
4547
- (0, import_typeorm51.Column)({ name: "stripe_session_id", type: "varchar", nullable: true })
4609
+ (0, import_typeorm52.Column)({ name: "stripe_session_id", type: "varchar", nullable: true })
4548
4610
  ], StripeWalletTransaction.prototype, "stripeSessionId", 2);
4549
4611
  __decorateClass([
4550
- (0, import_typeorm51.Column)({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
4612
+ (0, import_typeorm52.Column)({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
4551
4613
  ], StripeWalletTransaction.prototype, "stripePaymentIntentId", 2);
4552
4614
  __decorateClass([
4553
- (0, import_typeorm51.Column)({ name: "description", type: "text", nullable: true })
4615
+ (0, import_typeorm52.Column)({ name: "description", type: "text", nullable: true })
4554
4616
  ], StripeWalletTransaction.prototype, "description", 2);
4555
4617
  __decorateClass([
4556
- (0, import_typeorm51.Column)({ name: "deposit_amount_cents", type: "bigint", nullable: true, default: 0 })
4618
+ (0, import_typeorm52.Column)({ name: "deposit_amount_cents", type: "bigint", nullable: true, default: 0 })
4557
4619
  ], StripeWalletTransaction.prototype, "depositAmountCents", 2);
4558
4620
  __decorateClass([
4559
- (0, import_typeorm51.Column)({ name: "platform_fee_cents", type: "bigint", nullable: true, default: 0 })
4621
+ (0, import_typeorm52.Column)({ name: "platform_fee_cents", type: "bigint", nullable: true, default: 0 })
4560
4622
  ], StripeWalletTransaction.prototype, "platformFeeCents", 2);
4561
4623
  __decorateClass([
4562
- (0, import_typeorm51.Column)({ name: "tax_cents", type: "bigint", nullable: true, default: 0 })
4624
+ (0, import_typeorm52.Column)({ name: "tax_cents", type: "bigint", nullable: true, default: 0 })
4563
4625
  ], StripeWalletTransaction.prototype, "taxCents", 2);
4564
4626
  __decorateClass([
4565
- (0, import_typeorm51.Column)({ name: "stripe_fee_cents", type: "bigint", nullable: true, default: 0 })
4627
+ (0, import_typeorm52.Column)({ name: "stripe_fee_cents", type: "bigint", nullable: true, default: 0 })
4566
4628
  ], StripeWalletTransaction.prototype, "stripeFeeCents", 2);
4567
4629
  __decorateClass([
4568
- (0, import_typeorm51.Column)({ name: "total_paid_cents", type: "bigint", nullable: true, default: 0 })
4630
+ (0, import_typeorm52.Column)({ name: "total_paid_cents", type: "bigint", nullable: true, default: 0 })
4569
4631
  ], StripeWalletTransaction.prototype, "totalPaidCents", 2);
4570
4632
  __decorateClass([
4571
- (0, import_typeorm51.Column)({ name: "net_received_cents", type: "bigint", nullable: true, default: 0 })
4633
+ (0, import_typeorm52.Column)({ name: "net_received_cents", type: "bigint", nullable: true, default: 0 })
4572
4634
  ], StripeWalletTransaction.prototype, "netReceivedCents", 2);
4573
4635
  __decorateClass([
4574
- (0, import_typeorm51.Column)({ name: "stripe_charge_id", type: "varchar", nullable: true })
4636
+ (0, import_typeorm52.Column)({ name: "stripe_charge_id", type: "varchar", nullable: true })
4575
4637
  ], StripeWalletTransaction.prototype, "stripeChargeId", 2);
4576
4638
  __decorateClass([
4577
- (0, import_typeorm51.Column)({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
4639
+ (0, import_typeorm52.Column)({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
4578
4640
  ], StripeWalletTransaction.prototype, "stripeBalanceTransactionId", 2);
4579
4641
  __decorateClass([
4580
- (0, import_typeorm51.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
4642
+ (0, import_typeorm52.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
4581
4643
  ], StripeWalletTransaction.prototype, "completedAt", 2);
4582
4644
  StripeWalletTransaction = __decorateClass([
4583
- (0, import_typeorm51.Entity)("stripe_wallet_transactions")
4645
+ (0, import_typeorm52.Entity)("stripe_wallet_transactions")
4584
4646
  ], StripeWalletTransaction);
4585
4647
 
4586
4648
  // src/entities/stripe-wallet.entity.ts
@@ -4597,59 +4659,59 @@ var StripeWalletOnboardingStatusEnum = /* @__PURE__ */ ((StripeWalletOnboardingS
4597
4659
  var StripeWallet = class extends BaseEntity {
4598
4660
  };
4599
4661
  __decorateClass([
4600
- (0, import_typeorm52.Column)({ name: "user_id", type: "integer", nullable: true }),
4601
- (0, import_typeorm52.Index)()
4662
+ (0, import_typeorm53.Column)({ name: "user_id", type: "integer", nullable: true }),
4663
+ (0, import_typeorm53.Index)()
4602
4664
  ], StripeWallet.prototype, "userId", 2);
4603
4665
  __decorateClass([
4604
- (0, import_typeorm52.OneToOne)(() => User, (user) => user.stripeWallet),
4605
- (0, import_typeorm52.JoinColumn)({ name: "user_id" })
4666
+ (0, import_typeorm53.OneToOne)(() => User, (user) => user.stripeWallet),
4667
+ (0, import_typeorm53.JoinColumn)({ name: "user_id" })
4606
4668
  ], StripeWallet.prototype, "user", 2);
4607
4669
  __decorateClass([
4608
- (0, import_typeorm52.Column)({ name: "account_type", type: "enum", enum: StripeWalletAccountTypeEnum, nullable: true })
4670
+ (0, import_typeorm53.Column)({ name: "account_type", type: "enum", enum: StripeWalletAccountTypeEnum, nullable: true })
4609
4671
  ], StripeWallet.prototype, "accountType", 2);
4610
4672
  __decorateClass([
4611
- (0, import_typeorm52.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
4673
+ (0, import_typeorm53.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
4612
4674
  ], StripeWallet.prototype, "stripeAccountId", 2);
4613
4675
  __decorateClass([
4614
- (0, import_typeorm52.Column)({ name: "stripe_customer_id", type: "varchar", nullable: true })
4676
+ (0, import_typeorm53.Column)({ name: "stripe_customer_id", type: "varchar", nullable: true })
4615
4677
  ], StripeWallet.prototype, "stripeCustomerId", 2);
4616
4678
  __decorateClass([
4617
- (0, import_typeorm52.Column)({ name: "wallet_balance", type: "bigint", default: 0 })
4679
+ (0, import_typeorm53.Column)({ name: "wallet_balance", type: "bigint", default: 0 })
4618
4680
  ], StripeWallet.prototype, "walletBalance", 2);
4619
4681
  __decorateClass([
4620
- (0, import_typeorm52.Column)({ name: "wallet_balance_cents", type: "bigint", default: 0 })
4682
+ (0, import_typeorm53.Column)({ name: "wallet_balance_cents", type: "bigint", default: 0 })
4621
4683
  ], StripeWallet.prototype, "walletBalanceCents", 2);
4622
4684
  __decorateClass([
4623
- (0, import_typeorm52.Column)({ name: "onboarding_status", type: "enum", enum: StripeWalletOnboardingStatusEnum, nullable: true })
4685
+ (0, import_typeorm53.Column)({ name: "onboarding_status", type: "enum", enum: StripeWalletOnboardingStatusEnum, nullable: true })
4624
4686
  ], StripeWallet.prototype, "onboardingStatus", 2);
4625
4687
  __decorateClass([
4626
- (0, import_typeorm52.Column)({ name: "stripe_metadata", type: "jsonb", nullable: true })
4688
+ (0, import_typeorm53.Column)({ name: "stripe_metadata", type: "jsonb", nullable: true })
4627
4689
  ], StripeWallet.prototype, "stripeMetadata", 2);
4628
4690
  __decorateClass([
4629
- (0, import_typeorm52.OneToMany)(() => StripeWalletTransaction, (stripeWalletTransaction) => stripeWalletTransaction.stripeWallet)
4691
+ (0, import_typeorm53.OneToMany)(() => StripeWalletTransaction, (stripeWalletTransaction) => stripeWalletTransaction.stripeWallet)
4630
4692
  ], StripeWallet.prototype, "transactions", 2);
4631
4693
  StripeWallet = __decorateClass([
4632
- (0, import_typeorm52.Entity)("stripe_wallets")
4694
+ (0, import_typeorm53.Entity)("stripe_wallets")
4633
4695
  ], StripeWallet);
4634
4696
 
4635
4697
  // src/entities/signature.entity.ts
4636
- var import_typeorm53 = require("typeorm");
4698
+ var import_typeorm54 = require("typeorm");
4637
4699
  var Signature = class extends BaseEntity {
4638
4700
  };
4639
4701
  // individual index to find profile by user
4640
4702
  __decorateClass([
4641
- (0, import_typeorm53.Column)({ name: "user_id", type: "integer", nullable: true }),
4642
- (0, import_typeorm53.Index)()
4703
+ (0, import_typeorm54.Column)({ name: "user_id", type: "integer", nullable: true }),
4704
+ (0, import_typeorm54.Index)()
4643
4705
  ], Signature.prototype, "userId", 2);
4644
4706
  __decorateClass([
4645
- (0, import_typeorm53.ManyToOne)(() => User, (user) => user.signatures),
4646
- (0, import_typeorm53.JoinColumn)({ name: "user_id" })
4707
+ (0, import_typeorm54.ManyToOne)(() => User, (user) => user.signatures),
4708
+ (0, import_typeorm54.JoinColumn)({ name: "user_id" })
4647
4709
  ], Signature.prototype, "user", 2);
4648
4710
  __decorateClass([
4649
- (0, import_typeorm53.Column)({ name: "signature_url", type: "text", nullable: true })
4711
+ (0, import_typeorm54.Column)({ name: "signature_url", type: "text", nullable: true })
4650
4712
  ], Signature.prototype, "signatureUrl", 2);
4651
4713
  Signature = __decorateClass([
4652
- (0, import_typeorm53.Entity)("signatures")
4714
+ (0, import_typeorm54.Entity)("signatures")
4653
4715
  ], Signature);
4654
4716
 
4655
4717
  // src/entities/user.entity.ts
@@ -4677,51 +4739,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
4677
4739
  var User = class extends BaseEntity {
4678
4740
  };
4679
4741
  __decorateClass([
4680
- (0, import_typeorm54.Column)({ name: "unique_id", type: "varchar", unique: true })
4742
+ (0, import_typeorm55.Column)({ name: "unique_id", type: "varchar", unique: true })
4681
4743
  ], User.prototype, "uniqueId", 2);
4682
4744
  __decorateClass([
4683
- (0, import_typeorm54.Column)({ name: "parent_id", type: "integer", nullable: true }),
4684
- (0, import_typeorm54.Index)()
4745
+ (0, import_typeorm55.Column)({ name: "parent_id", type: "integer", nullable: true }),
4746
+ (0, import_typeorm55.Index)()
4685
4747
  ], User.prototype, "parentId", 2);
4686
4748
  __decorateClass([
4687
- (0, import_typeorm54.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
4688
- (0, import_typeorm54.JoinColumn)({ name: "parent_id" })
4749
+ (0, import_typeorm55.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
4750
+ (0, import_typeorm55.JoinColumn)({ name: "parent_id" })
4689
4751
  ], User.prototype, "parent", 2);
4690
4752
  __decorateClass([
4691
- (0, import_typeorm54.OneToMany)(() => User, (user) => user.parent)
4753
+ (0, import_typeorm55.OneToMany)(() => User, (user) => user.parent)
4692
4754
  ], User.prototype, "children", 2);
4693
4755
  __decorateClass([
4694
- (0, import_typeorm54.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
4756
+ (0, import_typeorm55.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
4695
4757
  ], User.prototype, "username", 2);
4696
4758
  __decorateClass([
4697
- (0, import_typeorm54.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
4759
+ (0, import_typeorm55.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
4698
4760
  ], User.prototype, "firstName", 2);
4699
4761
  __decorateClass([
4700
- (0, import_typeorm54.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
4762
+ (0, import_typeorm55.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
4701
4763
  ], User.prototype, "lastName", 2);
4702
4764
  __decorateClass([
4703
- (0, import_typeorm54.Column)({ name: "date_of_birth", type: "date", nullable: true })
4765
+ (0, import_typeorm55.Column)({ name: "date_of_birth", type: "date", nullable: true })
4704
4766
  ], User.prototype, "dateOfBirth", 2);
4705
4767
  __decorateClass([
4706
- (0, import_typeorm54.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
4768
+ (0, import_typeorm55.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
4707
4769
  ], User.prototype, "gender", 2);
4708
4770
  __decorateClass([
4709
- (0, import_typeorm54.Column)({ name: "profile_picture_url", type: "text", nullable: true })
4771
+ (0, import_typeorm55.Column)({ name: "profile_picture_url", type: "text", nullable: true })
4710
4772
  ], User.prototype, "profilePictureUrl", 2);
4711
4773
  __decorateClass([
4712
- (0, import_typeorm54.Column)({ name: "email", type: "varchar", unique: true })
4774
+ (0, import_typeorm55.Column)({ name: "email", type: "varchar", unique: true })
4713
4775
  ], User.prototype, "email", 2);
4714
4776
  __decorateClass([
4715
- (0, import_typeorm54.Column)({ name: "mobile_code", type: "varchar", nullable: true })
4777
+ (0, import_typeorm55.Column)({ name: "mobile_code", type: "varchar", nullable: true })
4716
4778
  ], User.prototype, "mobileCode", 2);
4717
4779
  __decorateClass([
4718
- (0, import_typeorm54.Column)({ name: "mobile", type: "varchar", nullable: true })
4780
+ (0, import_typeorm55.Column)({ name: "mobile", type: "varchar", nullable: true })
4719
4781
  ], User.prototype, "mobile", 2);
4720
4782
  __decorateClass([
4721
- (0, import_typeorm54.Column)({ name: "password", type: "varchar", nullable: true })
4783
+ (0, import_typeorm55.Column)({ name: "password", type: "varchar", nullable: true })
4722
4784
  ], User.prototype, "password", 2);
4723
4785
  __decorateClass([
4724
- (0, import_typeorm54.Column)({
4786
+ (0, import_typeorm55.Column)({
4725
4787
  name: "account_type",
4726
4788
  type: "enum",
4727
4789
  enum: AccountType,
@@ -4729,7 +4791,7 @@ __decorateClass([
4729
4791
  })
4730
4792
  ], User.prototype, "accountType", 2);
4731
4793
  __decorateClass([
4732
- (0, import_typeorm54.Column)({
4794
+ (0, import_typeorm55.Column)({
4733
4795
  name: "account_status",
4734
4796
  type: "enum",
4735
4797
  enum: AccountStatus,
@@ -4737,42 +4799,42 @@ __decorateClass([
4737
4799
  })
4738
4800
  ], User.prototype, "accountStatus", 2);
4739
4801
  __decorateClass([
4740
- (0, import_typeorm54.Column)({ name: "is_email_verified", type: "boolean", default: false })
4802
+ (0, import_typeorm55.Column)({ name: "is_email_verified", type: "boolean", default: false })
4741
4803
  ], User.prototype, "isEmailVerified", 2);
4742
4804
  __decorateClass([
4743
- (0, import_typeorm54.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
4805
+ (0, import_typeorm55.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
4744
4806
  ], User.prototype, "isMobileVerified", 2);
4745
4807
  __decorateClass([
4746
- (0, import_typeorm54.Column)({ name: "is_social", type: "boolean", default: false })
4808
+ (0, import_typeorm55.Column)({ name: "is_social", type: "boolean", default: false })
4747
4809
  ], User.prototype, "isSocial", 2);
4748
4810
  __decorateClass([
4749
- (0, import_typeorm54.Column)({
4811
+ (0, import_typeorm55.Column)({
4750
4812
  name: "last_login_at",
4751
4813
  type: "timestamp with time zone",
4752
4814
  nullable: true
4753
4815
  })
4754
4816
  ], User.prototype, "lastLoginAt", 2);
4755
4817
  __decorateClass([
4756
- (0, import_typeorm54.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
4818
+ (0, import_typeorm55.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
4757
4819
  ], User.prototype, "lastLoginIp", 2);
4758
4820
  __decorateClass([
4759
- (0, import_typeorm54.Column)({ name: "reset_token", type: "varchar", nullable: true })
4821
+ (0, import_typeorm55.Column)({ name: "reset_token", type: "varchar", nullable: true })
4760
4822
  ], User.prototype, "resetToken", 2);
4761
4823
  __decorateClass([
4762
- (0, import_typeorm54.Column)({
4824
+ (0, import_typeorm55.Column)({
4763
4825
  name: "reset_token_expire_at",
4764
4826
  type: "timestamp with time zone",
4765
4827
  nullable: true
4766
4828
  })
4767
4829
  ], User.prototype, "resetTokenExpireAt", 2);
4768
4830
  __decorateClass([
4769
- (0, import_typeorm54.Column)({ name: "set_password_token", type: "varchar", nullable: true })
4831
+ (0, import_typeorm55.Column)({ name: "set_password_token", type: "varchar", nullable: true })
4770
4832
  ], User.prototype, "setPasswordToken", 2);
4771
4833
  __decorateClass([
4772
- (0, import_typeorm54.OneToMany)(() => RefreshToken, (token) => token.user)
4834
+ (0, import_typeorm55.OneToMany)(() => RefreshToken, (token) => token.user)
4773
4835
  ], User.prototype, "refreshTokens", 2);
4774
4836
  __decorateClass([
4775
- (0, import_typeorm54.Column)({
4837
+ (0, import_typeorm55.Column)({
4776
4838
  name: "provider",
4777
4839
  type: "enum",
4778
4840
  enum: Provider,
@@ -4781,172 +4843,178 @@ __decorateClass([
4781
4843
  })
4782
4844
  ], User.prototype, "provider", 2);
4783
4845
  __decorateClass([
4784
- (0, import_typeorm54.Column)({ name: "provider_token", type: "varchar", nullable: true })
4846
+ (0, import_typeorm55.Column)({ name: "provider_token", type: "varchar", nullable: true })
4785
4847
  ], User.prototype, "providerToken", 2);
4786
4848
  __decorateClass([
4787
- (0, import_typeorm54.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
4849
+ (0, import_typeorm55.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
4788
4850
  ], User.prototype, "linkedInId", 2);
4789
4851
  __decorateClass([
4790
- (0, import_typeorm54.Column)({ name: "google_id", type: "varchar", nullable: true })
4852
+ (0, import_typeorm55.Column)({ name: "google_id", type: "varchar", nullable: true })
4791
4853
  ], User.prototype, "googleId", 2);
4792
4854
  __decorateClass([
4793
- (0, import_typeorm54.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
4855
+ (0, import_typeorm55.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
4794
4856
  ], User.prototype, "gitLabsId", 2);
4795
4857
  __decorateClass([
4796
- (0, import_typeorm54.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
4858
+ (0, import_typeorm55.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
4797
4859
  ], User.prototype, "onBoardedBy", 2);
4798
4860
  __decorateClass([
4799
- (0, import_typeorm54.OneToMany)(() => Otp, (otp) => otp.user)
4861
+ (0, import_typeorm55.OneToMany)(() => Otp, (otp) => otp.user)
4800
4862
  ], User.prototype, "otps", 2);
4801
4863
  __decorateClass([
4802
- (0, import_typeorm54.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
4864
+ (0, import_typeorm55.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
4803
4865
  ], User.prototype, "senseloafLogs", 2);
4804
4866
  __decorateClass([
4805
- (0, import_typeorm54.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
4867
+ (0, import_typeorm55.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
4806
4868
  ], User.prototype, "companyProfile", 2);
4807
4869
  __decorateClass([
4808
- (0, import_typeorm54.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
4870
+ (0, import_typeorm55.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
4809
4871
  ], User.prototype, "companySkills", 2);
4810
4872
  __decorateClass([
4811
- (0, import_typeorm54.OneToMany)(
4873
+ (0, import_typeorm55.OneToMany)(
4812
4874
  () => CompanyMemberRole,
4813
4875
  (companyMemberRole) => companyMemberRole.user
4814
4876
  )
4815
4877
  ], User.prototype, "companyMemberRoles", 2);
4816
4878
  __decorateClass([
4817
- (0, import_typeorm54.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
4879
+ (0, import_typeorm55.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
4818
4880
  ], User.prototype, "companyAiInterview", 2);
4819
4881
  __decorateClass([
4820
- (0, import_typeorm54.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
4882
+ (0, import_typeorm55.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
4821
4883
  ], User.prototype, "clientF2FInterviews", 2);
4822
4884
  __decorateClass([
4823
- (0, import_typeorm54.OneToOne)(
4885
+ (0, import_typeorm55.OneToOne)(
4824
4886
  () => FreelancerProfile,
4825
4887
  (freelancerProfile) => freelancerProfile.user
4826
4888
  )
4827
4889
  ], User.prototype, "freelancerProfile", 2);
4828
4890
  __decorateClass([
4829
- (0, import_typeorm54.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
4891
+ (0, import_typeorm55.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
4830
4892
  ], User.prototype, "freelancerResume", 2);
4831
4893
  __decorateClass([
4832
- (0, import_typeorm54.OneToMany)(
4894
+ (0, import_typeorm55.OneToMany)(
4833
4895
  () => FreelancerAssessment,
4834
4896
  (freelancerAssessment) => freelancerAssessment.user
4835
4897
  )
4836
4898
  ], User.prototype, "assessments", 2);
4837
4899
  __decorateClass([
4838
- (0, import_typeorm54.OneToMany)(
4900
+ (0, import_typeorm55.OneToMany)(
4839
4901
  () => AssessmentAnswer,
4840
4902
  (assessmentAnswer) => assessmentAnswer.user
4841
4903
  )
4842
4904
  ], User.prototype, "assessmentAnswers", 2);
4843
4905
  __decorateClass([
4844
- (0, import_typeorm54.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
4906
+ (0, import_typeorm55.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
4845
4907
  ], User.prototype, "freelancerSkills", 2);
4846
4908
  __decorateClass([
4847
- (0, import_typeorm54.OneToMany)(
4909
+ (0, import_typeorm55.OneToMany)(
4848
4910
  () => FreelancerExperience,
4849
4911
  (freelancerExperience) => freelancerExperience.user
4850
4912
  )
4851
4913
  ], User.prototype, "freelancerExperience", 2);
4852
4914
  __decorateClass([
4853
- (0, import_typeorm54.OneToMany)(
4915
+ (0, import_typeorm55.OneToMany)(
4854
4916
  () => FreelancerEducation,
4855
4917
  (freelancerEducation) => freelancerEducation.user
4856
4918
  )
4857
4919
  ], User.prototype, "freelancerEducation", 2);
4858
4920
  __decorateClass([
4859
- (0, import_typeorm54.OneToMany)(
4921
+ (0, import_typeorm55.OneToMany)(
4860
4922
  () => FreelancerProject,
4861
4923
  (freelancerProject) => freelancerProject.user
4862
4924
  )
4863
4925
  ], User.prototype, "freelancerProject", 2);
4864
4926
  __decorateClass([
4865
- (0, import_typeorm54.OneToMany)(
4927
+ (0, import_typeorm55.OneToMany)(
4866
4928
  () => FreelancerCaseStudy,
4867
4929
  (freelancerCaseStudy) => freelancerCaseStudy.user
4868
4930
  )
4869
4931
  ], User.prototype, "freelancerCaseStudy", 2);
4870
4932
  __decorateClass([
4871
- (0, import_typeorm54.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
4933
+ (0, import_typeorm55.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
4872
4934
  ], User.prototype, "freelancerTool", 2);
4873
4935
  __decorateClass([
4874
- (0, import_typeorm54.OneToMany)(
4936
+ (0, import_typeorm55.OneToMany)(
4875
4937
  () => FreelancerFramework,
4876
4938
  (freelancerFramework) => freelancerFramework.user
4877
4939
  )
4878
4940
  ], User.prototype, "freelancerFramework", 2);
4879
4941
  __decorateClass([
4880
- (0, import_typeorm54.OneToOne)(
4942
+ (0, import_typeorm55.OneToOne)(
4881
4943
  () => FreelancerDeclaration,
4882
4944
  (freelancerDeclaration) => freelancerDeclaration.user
4883
4945
  )
4884
4946
  ], User.prototype, "freelancerDeclaration", 2);
4885
4947
  __decorateClass([
4886
- (0, import_typeorm54.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
4948
+ (0, import_typeorm55.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
4887
4949
  ], User.prototype, "freelancerAiInterview", 2);
4888
4950
  __decorateClass([
4889
- (0, import_typeorm54.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
4951
+ (0, import_typeorm55.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
4890
4952
  ], User.prototype, "freelancerF2FInterviews", 2);
4891
4953
  __decorateClass([
4892
- (0, import_typeorm54.OneToMany)(
4954
+ (0, import_typeorm55.OneToMany)(
4893
4955
  () => F2fInterviewRescheduleRequest,
4894
4956
  (f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
4895
4957
  )
4896
4958
  ], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
4897
4959
  __decorateClass([
4898
- (0, import_typeorm54.OneToMany)(() => Job, (job) => job.user)
4960
+ (0, import_typeorm55.OneToMany)(() => Job, (job) => job.user)
4899
4961
  ], User.prototype, "jobs", 2);
4900
4962
  __decorateClass([
4901
- (0, import_typeorm54.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
4963
+ (0, import_typeorm55.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
4902
4964
  ], User.prototype, "jobApplications", 2);
4903
4965
  __decorateClass([
4904
- (0, import_typeorm54.OneToMany)(() => Interview, (interview) => interview.user)
4966
+ (0, import_typeorm55.OneToMany)(() => Interview, (interview) => interview.user)
4905
4967
  ], User.prototype, "interviews", 2);
4906
4968
  __decorateClass([
4907
- (0, import_typeorm54.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
4969
+ (0, import_typeorm55.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
4908
4970
  ], User.prototype, "bankDetail", 2);
4909
4971
  __decorateClass([
4910
- (0, import_typeorm54.OneToMany)(
4972
+ (0, import_typeorm55.OneToMany)(
4911
4973
  () => SystemPreference,
4912
4974
  (systemPreference) => systemPreference.user
4913
4975
  )
4914
4976
  ], User.prototype, "systemPreference", 2);
4915
4977
  __decorateClass([
4916
- (0, import_typeorm54.OneToMany)(() => Rating, (rating) => rating.reviewer)
4978
+ (0, import_typeorm55.OneToMany)(() => Rating, (rating) => rating.reviewer)
4917
4979
  ], User.prototype, "givenRatings", 2);
4918
4980
  __decorateClass([
4919
- (0, import_typeorm54.OneToMany)(() => Rating, (rating) => rating.reviewee)
4981
+ (0, import_typeorm55.OneToMany)(() => Rating, (rating) => rating.reviewee)
4920
4982
  ], User.prototype, "receivedRatings", 2);
4921
4983
  __decorateClass([
4922
- (0, import_typeorm54.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
4984
+ (0, import_typeorm55.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
4923
4985
  ], User.prototype, "adminUserRoles", 2);
4924
4986
  __decorateClass([
4925
- (0, import_typeorm54.OneToMany)(() => Contract, (contract) => contract.client)
4987
+ (0, import_typeorm55.OneToMany)(() => Contract, (contract) => contract.client)
4926
4988
  ], User.prototype, "clientContracts", 2);
4927
4989
  __decorateClass([
4928
- (0, import_typeorm54.OneToMany)(() => Contract, (contract) => contract.freelancer)
4990
+ (0, import_typeorm55.OneToMany)(() => Contract, (contract) => contract.freelancer)
4929
4991
  ], User.prototype, "freelancerContracts", 2);
4930
4992
  __decorateClass([
4931
- (0, import_typeorm54.OneToOne)(() => StripeWallet, (stripeWallet) => stripeWallet.user)
4993
+ (0, import_typeorm55.OneToOne)(() => StripeWallet, (stripeWallet) => stripeWallet.user)
4932
4994
  ], User.prototype, "stripeWallet", 2);
4933
4995
  __decorateClass([
4934
- (0, import_typeorm54.OneToOne)(() => Signature, (signature) => signature.user)
4996
+ (0, import_typeorm55.OneToOne)(() => Signature, (signature) => signature.user)
4935
4997
  ], User.prototype, "signatures", 2);
4936
4998
  __decorateClass([
4937
- (0, import_typeorm54.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
4999
+ (0, import_typeorm55.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
4938
5000
  ], User.prototype, "clientTimesheets", 2);
4939
5001
  __decorateClass([
4940
- (0, import_typeorm54.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
5002
+ (0, import_typeorm55.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
4941
5003
  ], User.prototype, "freelancerTimesheets", 2);
4942
5004
  __decorateClass([
4943
- (0, import_typeorm54.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
5005
+ (0, import_typeorm55.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
4944
5006
  ], User.prototype, "clientTimesheetLine", 2);
4945
5007
  __decorateClass([
4946
- (0, import_typeorm54.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
5008
+ (0, import_typeorm55.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
4947
5009
  ], User.prototype, "freelancerTimesheetLine", 2);
5010
+ __decorateClass([
5011
+ (0, import_typeorm55.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
5012
+ ], User.prototype, "clientPreferencesGiven", 2);
5013
+ __decorateClass([
5014
+ (0, import_typeorm55.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
5015
+ ], User.prototype, "clientPreferencesReceived", 2);
4948
5016
  User = __decorateClass([
4949
- (0, import_typeorm54.Entity)("users")
5017
+ (0, import_typeorm55.Entity)("users")
4950
5018
  ], User);
4951
5019
 
4952
5020
  // src/entities/rating.entity.ts
@@ -4958,36 +5026,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
4958
5026
  var Rating = class extends BaseEntity {
4959
5027
  };
4960
5028
  __decorateClass([
4961
- (0, import_typeorm55.Column)({ name: "reviewer_id", type: "integer" }),
4962
- (0, import_typeorm55.Index)()
5029
+ (0, import_typeorm56.Column)({ name: "reviewer_id", type: "integer" }),
5030
+ (0, import_typeorm56.Index)()
4963
5031
  ], Rating.prototype, "reviewer_id", 2);
4964
5032
  __decorateClass([
4965
- (0, import_typeorm55.ManyToOne)(() => User, { onDelete: "CASCADE" }),
4966
- (0, import_typeorm55.JoinColumn)({ name: "reviewer_id" })
5033
+ (0, import_typeorm56.ManyToOne)(() => User, { onDelete: "CASCADE" }),
5034
+ (0, import_typeorm56.JoinColumn)({ name: "reviewer_id" })
4967
5035
  ], Rating.prototype, "reviewer", 2);
4968
5036
  __decorateClass([
4969
- (0, import_typeorm55.Column)({ name: "reviewee_id", type: "integer" }),
4970
- (0, import_typeorm55.Index)()
5037
+ (0, import_typeorm56.Column)({ name: "reviewee_id", type: "integer" }),
5038
+ (0, import_typeorm56.Index)()
4971
5039
  ], Rating.prototype, "reviewee_id", 2);
4972
5040
  __decorateClass([
4973
- (0, import_typeorm55.ManyToOne)(() => User, { onDelete: "CASCADE" }),
4974
- (0, import_typeorm55.JoinColumn)({ name: "reviewee_id" })
5041
+ (0, import_typeorm56.ManyToOne)(() => User, { onDelete: "CASCADE" }),
5042
+ (0, import_typeorm56.JoinColumn)({ name: "reviewee_id" })
4975
5043
  ], Rating.prototype, "reviewee", 2);
4976
5044
  __decorateClass([
4977
- (0, import_typeorm55.Column)({
5045
+ (0, import_typeorm56.Column)({
4978
5046
  type: "enum",
4979
5047
  enum: RatingTypeEnum,
4980
5048
  nullable: true
4981
5049
  })
4982
5050
  ], Rating.prototype, "ratingType", 2);
4983
5051
  __decorateClass([
4984
- (0, import_typeorm55.Column)({ type: "integer", nullable: true })
5052
+ (0, import_typeorm56.Column)({ type: "integer", nullable: true })
4985
5053
  ], Rating.prototype, "rating", 2);
4986
5054
  __decorateClass([
4987
- (0, import_typeorm55.Column)({ type: "text", nullable: true })
5055
+ (0, import_typeorm56.Column)({ type: "text", nullable: true })
4988
5056
  ], Rating.prototype, "review", 2);
4989
5057
  Rating = __decorateClass([
4990
- (0, import_typeorm55.Entity)("ratings")
5058
+ (0, import_typeorm56.Entity)("ratings")
4991
5059
  ], Rating);
4992
5060
 
4993
5061
  // src/modules/rating/dto/add.rating.dto.ts
@@ -6666,11 +6734,11 @@ var NotificationRMQAdapter = (mode = "microservice") => {
6666
6734
  };
6667
6735
 
6668
6736
  // src/entities/sequence-generator.entity.ts
6669
- var import_typeorm56 = require("typeorm");
6737
+ var import_typeorm57 = require("typeorm");
6670
6738
  var SequenceGenerator = class extends BaseEntity {
6671
6739
  };
6672
6740
  __decorateClass([
6673
- (0, import_typeorm56.Column)({
6741
+ (0, import_typeorm57.Column)({
6674
6742
  name: "module",
6675
6743
  type: "varchar",
6676
6744
  length: 50,
@@ -6679,7 +6747,7 @@ __decorateClass([
6679
6747
  })
6680
6748
  ], SequenceGenerator.prototype, "module", 2);
6681
6749
  __decorateClass([
6682
- (0, import_typeorm56.Column)({
6750
+ (0, import_typeorm57.Column)({
6683
6751
  name: "prefix",
6684
6752
  type: "varchar",
6685
6753
  length: 10,
@@ -6688,7 +6756,7 @@ __decorateClass([
6688
6756
  })
6689
6757
  ], SequenceGenerator.prototype, "prefix", 2);
6690
6758
  __decorateClass([
6691
- (0, import_typeorm56.Column)({
6759
+ (0, import_typeorm57.Column)({
6692
6760
  name: "last_sequence",
6693
6761
  type: "int",
6694
6762
  nullable: false,
@@ -6696,7 +6764,7 @@ __decorateClass([
6696
6764
  })
6697
6765
  ], SequenceGenerator.prototype, "lastSequence", 2);
6698
6766
  __decorateClass([
6699
- (0, import_typeorm56.Column)({
6767
+ (0, import_typeorm57.Column)({
6700
6768
  name: "year",
6701
6769
  type: "int",
6702
6770
  nullable: true,
@@ -6704,11 +6772,11 @@ __decorateClass([
6704
6772
  })
6705
6773
  ], SequenceGenerator.prototype, "year", 2);
6706
6774
  SequenceGenerator = __decorateClass([
6707
- (0, import_typeorm56.Entity)("sequence_generators")
6775
+ (0, import_typeorm57.Entity)("sequence_generators")
6708
6776
  ], SequenceGenerator);
6709
6777
 
6710
6778
  // src/entities/question.entity.ts
6711
- var import_typeorm57 = require("typeorm");
6779
+ var import_typeorm58 = require("typeorm");
6712
6780
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
6713
6781
  QuestionFor2["CLIENT"] = "CLIENT";
6714
6782
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -6717,16 +6785,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
6717
6785
  var Question = class extends BaseEntity {
6718
6786
  };
6719
6787
  __decorateClass([
6720
- (0, import_typeorm57.Column)({ name: "question", type: "varchar" })
6788
+ (0, import_typeorm58.Column)({ name: "question", type: "varchar" })
6721
6789
  ], Question.prototype, "question", 2);
6722
6790
  __decorateClass([
6723
- (0, import_typeorm57.Column)({ name: "hint", type: "varchar", nullable: true })
6791
+ (0, import_typeorm58.Column)({ name: "hint", type: "varchar", nullable: true })
6724
6792
  ], Question.prototype, "hint", 2);
6725
6793
  __decorateClass([
6726
- (0, import_typeorm57.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6794
+ (0, import_typeorm58.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6727
6795
  ], Question.prototype, "slug", 2);
6728
6796
  __decorateClass([
6729
- (0, import_typeorm57.Column)({
6797
+ (0, import_typeorm58.Column)({
6730
6798
  name: "question_for",
6731
6799
  type: "enum",
6732
6800
  enum: QuestionFor,
@@ -6734,117 +6802,117 @@ __decorateClass([
6734
6802
  })
6735
6803
  ], Question.prototype, "questionFor", 2);
6736
6804
  __decorateClass([
6737
- (0, import_typeorm57.Column)({ name: "type", type: "varchar", nullable: true })
6805
+ (0, import_typeorm58.Column)({ name: "type", type: "varchar", nullable: true })
6738
6806
  ], Question.prototype, "type", 2);
6739
6807
  __decorateClass([
6740
- (0, import_typeorm57.Column)({ name: "options", type: "jsonb", nullable: true })
6808
+ (0, import_typeorm58.Column)({ name: "options", type: "jsonb", nullable: true })
6741
6809
  ], Question.prototype, "options", 2);
6742
6810
  __decorateClass([
6743
- (0, import_typeorm57.Column)({ name: "is_active", type: "boolean", default: false })
6811
+ (0, import_typeorm58.Column)({ name: "is_active", type: "boolean", default: false })
6744
6812
  ], Question.prototype, "isActive", 2);
6745
6813
  Question = __decorateClass([
6746
- (0, import_typeorm57.Entity)("questions")
6814
+ (0, import_typeorm58.Entity)("questions")
6747
6815
  ], Question);
6748
6816
 
6749
6817
  // src/entities/skill.entity.ts
6750
- var import_typeorm58 = require("typeorm");
6818
+ var import_typeorm59 = require("typeorm");
6751
6819
  var Skill = class extends BaseEntity {
6752
6820
  };
6753
6821
  __decorateClass([
6754
- (0, import_typeorm58.Column)({ name: "name", type: "varchar", nullable: true })
6822
+ (0, import_typeorm59.Column)({ name: "name", type: "varchar", nullable: true })
6755
6823
  ], Skill.prototype, "name", 2);
6756
6824
  __decorateClass([
6757
- (0, import_typeorm58.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6825
+ (0, import_typeorm59.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6758
6826
  ], Skill.prototype, "slug", 2);
6759
6827
  __decorateClass([
6760
- (0, import_typeorm58.Column)({ name: "is_active", type: "boolean", default: false })
6828
+ (0, import_typeorm59.Column)({ name: "is_active", type: "boolean", default: false })
6761
6829
  ], Skill.prototype, "isActive", 2);
6762
6830
  Skill = __decorateClass([
6763
- (0, import_typeorm58.Entity)("skills")
6831
+ (0, import_typeorm59.Entity)("skills")
6764
6832
  ], Skill);
6765
6833
 
6766
6834
  // src/entities/job-role.entity.ts
6767
- var import_typeorm59 = require("typeorm");
6835
+ var import_typeorm60 = require("typeorm");
6768
6836
  var JobRoles = class extends BaseEntity {
6769
6837
  };
6770
6838
  __decorateClass([
6771
- (0, import_typeorm59.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6839
+ (0, import_typeorm60.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6772
6840
  ], JobRoles.prototype, "slug", 2);
6773
6841
  __decorateClass([
6774
- (0, import_typeorm59.Column)({ name: "name", type: "varchar", nullable: true })
6842
+ (0, import_typeorm60.Column)({ name: "name", type: "varchar", nullable: true })
6775
6843
  ], JobRoles.prototype, "name", 2);
6776
6844
  __decorateClass([
6777
- (0, import_typeorm59.Column)({ name: "is_active", type: "boolean", default: true })
6845
+ (0, import_typeorm60.Column)({ name: "is_active", type: "boolean", default: true })
6778
6846
  ], JobRoles.prototype, "isActive", 2);
6779
6847
  JobRoles = __decorateClass([
6780
- (0, import_typeorm59.Entity)("job_roles")
6848
+ (0, import_typeorm60.Entity)("job_roles")
6781
6849
  ], JobRoles);
6782
6850
 
6783
6851
  // src/entities/plan.entity.ts
6784
- var import_typeorm61 = require("typeorm");
6852
+ var import_typeorm62 = require("typeorm");
6785
6853
 
6786
6854
  // src/entities/feature.entity.ts
6787
- var import_typeorm60 = require("typeorm");
6855
+ var import_typeorm61 = require("typeorm");
6788
6856
  var Feature = class extends BaseEntity {
6789
6857
  };
6790
6858
  __decorateClass([
6791
- (0, import_typeorm60.Column)({ name: "name", type: "varchar", unique: true })
6859
+ (0, import_typeorm61.Column)({ name: "name", type: "varchar", unique: true })
6792
6860
  ], Feature.prototype, "name", 2);
6793
6861
  __decorateClass([
6794
- (0, import_typeorm60.ManyToMany)(() => Plan, (plan) => plan.features)
6862
+ (0, import_typeorm61.ManyToMany)(() => Plan, (plan) => plan.features)
6795
6863
  ], Feature.prototype, "plans", 2);
6796
6864
  Feature = __decorateClass([
6797
- (0, import_typeorm60.Entity)("features")
6865
+ (0, import_typeorm61.Entity)("features")
6798
6866
  ], Feature);
6799
6867
 
6800
6868
  // src/entities/plan.entity.ts
6801
6869
  var Plan = class extends BaseEntity {
6802
6870
  };
6803
6871
  __decorateClass([
6804
- (0, import_typeorm61.Column)({ name: "name", type: "varchar", unique: true })
6872
+ (0, import_typeorm62.Column)({ name: "name", type: "varchar", unique: true })
6805
6873
  ], Plan.prototype, "name", 2);
6806
6874
  __decorateClass([
6807
- (0, import_typeorm61.Column)({ name: "description", type: "varchar", nullable: true })
6875
+ (0, import_typeorm62.Column)({ name: "description", type: "varchar", nullable: true })
6808
6876
  ], Plan.prototype, "description", 2);
6809
6877
  __decorateClass([
6810
- (0, import_typeorm61.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
6878
+ (0, import_typeorm62.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
6811
6879
  ], Plan.prototype, "price", 2);
6812
6880
  __decorateClass([
6813
- (0, import_typeorm61.Column)({ name: "billing_period", type: "varchar" })
6881
+ (0, import_typeorm62.Column)({ name: "billing_period", type: "varchar" })
6814
6882
  ], Plan.prototype, "billingPeriod", 2);
6815
6883
  __decorateClass([
6816
- (0, import_typeorm61.Column)({ name: "is_current", type: "boolean", default: false })
6884
+ (0, import_typeorm62.Column)({ name: "is_current", type: "boolean", default: false })
6817
6885
  ], Plan.prototype, "isCurrent", 2);
6818
6886
  __decorateClass([
6819
- (0, import_typeorm61.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
6820
- (0, import_typeorm61.JoinTable)()
6887
+ (0, import_typeorm62.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
6888
+ (0, import_typeorm62.JoinTable)()
6821
6889
  ], Plan.prototype, "features", 2);
6822
6890
  Plan = __decorateClass([
6823
- (0, import_typeorm61.Entity)("plans")
6891
+ (0, import_typeorm62.Entity)("plans")
6824
6892
  ], Plan);
6825
6893
 
6826
6894
  // src/entities/cms.entity.ts
6827
- var import_typeorm62 = require("typeorm");
6895
+ var import_typeorm63 = require("typeorm");
6828
6896
  var Cms = class extends BaseEntity {
6829
6897
  };
6830
6898
  __decorateClass([
6831
- (0, import_typeorm62.Column)({ name: "title", type: "varchar", nullable: true })
6899
+ (0, import_typeorm63.Column)({ name: "title", type: "varchar", nullable: true })
6832
6900
  ], Cms.prototype, "title", 2);
6833
6901
  __decorateClass([
6834
- (0, import_typeorm62.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6902
+ (0, import_typeorm63.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6835
6903
  ], Cms.prototype, "slug", 2);
6836
6904
  __decorateClass([
6837
- (0, import_typeorm62.Column)({ name: "content", type: "varchar", nullable: true })
6905
+ (0, import_typeorm63.Column)({ name: "content", type: "varchar", nullable: true })
6838
6906
  ], Cms.prototype, "content", 2);
6839
6907
  __decorateClass([
6840
- (0, import_typeorm62.Column)({ name: "is_active", type: "boolean", default: true })
6908
+ (0, import_typeorm63.Column)({ name: "is_active", type: "boolean", default: true })
6841
6909
  ], Cms.prototype, "isActive", 2);
6842
6910
  Cms = __decorateClass([
6843
- (0, import_typeorm62.Entity)("cms")
6911
+ (0, import_typeorm63.Entity)("cms")
6844
6912
  ], Cms);
6845
6913
 
6846
6914
  // src/entities/lead.entity.ts
6847
- var import_typeorm63 = require("typeorm");
6915
+ var import_typeorm64 = require("typeorm");
6848
6916
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
6849
6917
  CategoryEmum2["BUSINESS"] = "BUSINESS";
6850
6918
  CategoryEmum2["FREELANCER"] = "FREELANCER";
@@ -6853,22 +6921,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
6853
6921
  var Lead = class extends BaseEntity {
6854
6922
  };
6855
6923
  __decorateClass([
6856
- (0, import_typeorm63.Column)({ name: "name", type: "varchar", nullable: true })
6924
+ (0, import_typeorm64.Column)({ name: "name", type: "varchar", nullable: true })
6857
6925
  ], Lead.prototype, "name", 2);
6858
6926
  __decorateClass([
6859
- (0, import_typeorm63.Column)({ name: "mobile_code", type: "varchar", nullable: true })
6927
+ (0, import_typeorm64.Column)({ name: "mobile_code", type: "varchar", nullable: true })
6860
6928
  ], Lead.prototype, "mobileCode", 2);
6861
6929
  __decorateClass([
6862
- (0, import_typeorm63.Column)({ name: "mobile", type: "varchar", nullable: true })
6930
+ (0, import_typeorm64.Column)({ name: "mobile", type: "varchar", nullable: true })
6863
6931
  ], Lead.prototype, "mobile", 2);
6864
6932
  __decorateClass([
6865
- (0, import_typeorm63.Column)({ name: "email", type: "varchar", nullable: true })
6933
+ (0, import_typeorm64.Column)({ name: "email", type: "varchar", nullable: true })
6866
6934
  ], Lead.prototype, "email", 2);
6867
6935
  __decorateClass([
6868
- (0, import_typeorm63.Column)({ name: "description", type: "varchar", nullable: true })
6936
+ (0, import_typeorm64.Column)({ name: "description", type: "varchar", nullable: true })
6869
6937
  ], Lead.prototype, "description", 2);
6870
6938
  __decorateClass([
6871
- (0, import_typeorm63.Column)({
6939
+ (0, import_typeorm64.Column)({
6872
6940
  name: "category",
6873
6941
  type: "enum",
6874
6942
  enum: CategoryEmum,
@@ -6876,129 +6944,129 @@ __decorateClass([
6876
6944
  })
6877
6945
  ], Lead.prototype, "category", 2);
6878
6946
  Lead = __decorateClass([
6879
- (0, import_typeorm63.Entity)("leads")
6947
+ (0, import_typeorm64.Entity)("leads")
6880
6948
  ], Lead);
6881
6949
 
6882
6950
  // src/entities/job-freelancer-recommendation.entity.ts
6883
- var import_typeorm64 = require("typeorm");
6951
+ var import_typeorm65 = require("typeorm");
6884
6952
  var JobFreelancerRecommendation = class {
6885
6953
  };
6886
6954
  __decorateClass([
6887
- (0, import_typeorm64.ViewColumn)({ name: "job_id" })
6955
+ (0, import_typeorm65.ViewColumn)({ name: "job_id" })
6888
6956
  ], JobFreelancerRecommendation.prototype, "jobId", 2);
6889
6957
  __decorateClass([
6890
- (0, import_typeorm64.ViewColumn)({ name: "job_uuid" })
6958
+ (0, import_typeorm65.ViewColumn)({ name: "job_uuid" })
6891
6959
  ], JobFreelancerRecommendation.prototype, "jobUuid", 2);
6892
6960
  __decorateClass([
6893
- (0, import_typeorm64.ViewColumn)({ name: "job_unique_id" })
6961
+ (0, import_typeorm65.ViewColumn)({ name: "job_unique_id" })
6894
6962
  ], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
6895
6963
  __decorateClass([
6896
- (0, import_typeorm64.ViewColumn)({ name: "job_role" })
6964
+ (0, import_typeorm65.ViewColumn)({ name: "job_role" })
6897
6965
  ], JobFreelancerRecommendation.prototype, "jobRole", 2);
6898
6966
  __decorateClass([
6899
- (0, import_typeorm64.ViewColumn)({ name: "job_openings" })
6967
+ (0, import_typeorm65.ViewColumn)({ name: "job_openings" })
6900
6968
  ], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
6901
6969
  __decorateClass([
6902
- (0, import_typeorm64.ViewColumn)({ name: "job_location" })
6970
+ (0, import_typeorm65.ViewColumn)({ name: "job_location" })
6903
6971
  ], JobFreelancerRecommendation.prototype, "jobLocation", 2);
6904
6972
  __decorateClass([
6905
- (0, import_typeorm64.ViewColumn)({ name: "job_currency" })
6973
+ (0, import_typeorm65.ViewColumn)({ name: "job_currency" })
6906
6974
  ], JobFreelancerRecommendation.prototype, "jobCurrency", 2);
6907
6975
  __decorateClass([
6908
- (0, import_typeorm64.ViewColumn)({ name: "job_salary_from" })
6976
+ (0, import_typeorm65.ViewColumn)({ name: "job_salary_from" })
6909
6977
  ], JobFreelancerRecommendation.prototype, "jobSalaryFrom", 2);
6910
6978
  __decorateClass([
6911
- (0, import_typeorm64.ViewColumn)({ name: "job_salary_to" })
6979
+ (0, import_typeorm65.ViewColumn)({ name: "job_salary_to" })
6912
6980
  ], JobFreelancerRecommendation.prototype, "jobSalaryTo", 2);
6913
6981
  __decorateClass([
6914
- (0, import_typeorm64.ViewColumn)({ name: "job_employment_type" })
6982
+ (0, import_typeorm65.ViewColumn)({ name: "job_employment_type" })
6915
6983
  ], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
6916
6984
  __decorateClass([
6917
- (0, import_typeorm64.ViewColumn)({ name: "application_received" })
6985
+ (0, import_typeorm65.ViewColumn)({ name: "application_received" })
6918
6986
  ], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
6919
6987
  __decorateClass([
6920
- (0, import_typeorm64.ViewColumn)({ name: "job_posted_at" })
6988
+ (0, import_typeorm65.ViewColumn)({ name: "job_posted_at" })
6921
6989
  ], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
6922
6990
  __decorateClass([
6923
- (0, import_typeorm64.ViewColumn)({ name: "freelancer_id" })
6991
+ (0, import_typeorm65.ViewColumn)({ name: "freelancer_id" })
6924
6992
  ], JobFreelancerRecommendation.prototype, "freelancerId", 2);
6925
6993
  __decorateClass([
6926
- (0, import_typeorm64.ViewColumn)({ name: "freelancer_uuid" })
6994
+ (0, import_typeorm65.ViewColumn)({ name: "freelancer_uuid" })
6927
6995
  ], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
6928
6996
  __decorateClass([
6929
- (0, import_typeorm64.ViewColumn)({ name: "freelancer_unique_id" })
6997
+ (0, import_typeorm65.ViewColumn)({ name: "freelancer_unique_id" })
6930
6998
  ], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
6931
6999
  __decorateClass([
6932
- (0, import_typeorm64.ViewColumn)({ name: "freelancer_first_name" })
7000
+ (0, import_typeorm65.ViewColumn)({ name: "freelancer_first_name" })
6933
7001
  ], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
6934
7002
  __decorateClass([
6935
- (0, import_typeorm64.ViewColumn)({ name: "freelancer_last_name" })
7003
+ (0, import_typeorm65.ViewColumn)({ name: "freelancer_last_name" })
6936
7004
  ], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
6937
7005
  __decorateClass([
6938
- (0, import_typeorm64.ViewColumn)({ name: "freelancer_email" })
7006
+ (0, import_typeorm65.ViewColumn)({ name: "freelancer_email" })
6939
7007
  ], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
6940
7008
  __decorateClass([
6941
- (0, import_typeorm64.ViewColumn)({ name: "freelancer_profile_picture" })
7009
+ (0, import_typeorm65.ViewColumn)({ name: "freelancer_profile_picture" })
6942
7010
  ], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
6943
7011
  __decorateClass([
6944
- (0, import_typeorm64.ViewColumn)({ name: "freelancer_is_social" })
7012
+ (0, import_typeorm65.ViewColumn)({ name: "freelancer_is_social" })
6945
7013
  ], JobFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
6946
7014
  __decorateClass([
6947
- (0, import_typeorm64.ViewColumn)({ name: "freelancer_created_at" })
7015
+ (0, import_typeorm65.ViewColumn)({ name: "freelancer_created_at" })
6948
7016
  ], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
6949
7017
  __decorateClass([
6950
- (0, import_typeorm64.ViewColumn)({ name: "freelancer_designation" })
7018
+ (0, import_typeorm65.ViewColumn)({ name: "freelancer_designation" })
6951
7019
  ], JobFreelancerRecommendation.prototype, "freelancerDesignation", 2);
6952
7020
  __decorateClass([
6953
- (0, import_typeorm64.ViewColumn)({ name: "freelancer_experience" })
7021
+ (0, import_typeorm65.ViewColumn)({ name: "freelancer_experience" })
6954
7022
  ], JobFreelancerRecommendation.prototype, "freelancerExperience", 2);
6955
7023
  __decorateClass([
6956
- (0, import_typeorm64.ViewColumn)({ name: "freelancer_expertshub_verified" })
7024
+ (0, import_typeorm65.ViewColumn)({ name: "freelancer_expertshub_verified" })
6957
7025
  ], JobFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
6958
7026
  __decorateClass([
6959
- (0, import_typeorm64.ViewColumn)({ name: "freelancer_hourly_compensation" })
7027
+ (0, import_typeorm65.ViewColumn)({ name: "freelancer_hourly_compensation" })
6960
7028
  ], JobFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
6961
7029
  __decorateClass([
6962
- (0, import_typeorm64.ViewColumn)({ name: "freelancer_country_name" })
7030
+ (0, import_typeorm65.ViewColumn)({ name: "freelancer_country_name" })
6963
7031
  ], JobFreelancerRecommendation.prototype, "freelancerCountryName", 2);
6964
7032
  __decorateClass([
6965
- (0, import_typeorm64.ViewColumn)({ name: "freelancer_country_iso_code" })
7033
+ (0, import_typeorm65.ViewColumn)({ name: "freelancer_country_iso_code" })
6966
7034
  ], JobFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
6967
7035
  __decorateClass([
6968
- (0, import_typeorm64.ViewColumn)({ name: "client_id" })
7036
+ (0, import_typeorm65.ViewColumn)({ name: "client_id" })
6969
7037
  ], JobFreelancerRecommendation.prototype, "clientId", 2);
6970
7038
  __decorateClass([
6971
- (0, import_typeorm64.ViewColumn)({ name: "client_uuid" })
7039
+ (0, import_typeorm65.ViewColumn)({ name: "client_uuid" })
6972
7040
  ], JobFreelancerRecommendation.prototype, "clientUuid", 2);
6973
7041
  __decorateClass([
6974
- (0, import_typeorm64.ViewColumn)({ name: "client_first_name" })
7042
+ (0, import_typeorm65.ViewColumn)({ name: "client_first_name" })
6975
7043
  ], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
6976
7044
  __decorateClass([
6977
- (0, import_typeorm64.ViewColumn)({ name: "client_last_name" })
7045
+ (0, import_typeorm65.ViewColumn)({ name: "client_last_name" })
6978
7046
  ], JobFreelancerRecommendation.prototype, "clientLastName", 2);
6979
7047
  __decorateClass([
6980
- (0, import_typeorm64.ViewColumn)({ name: "client_email" })
7048
+ (0, import_typeorm65.ViewColumn)({ name: "client_email" })
6981
7049
  ], JobFreelancerRecommendation.prototype, "clientEmail", 2);
6982
7050
  __decorateClass([
6983
- (0, import_typeorm64.ViewColumn)({ name: "client_company_logo" })
7051
+ (0, import_typeorm65.ViewColumn)({ name: "client_company_logo" })
6984
7052
  ], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
6985
7053
  __decorateClass([
6986
- (0, import_typeorm64.ViewColumn)({ name: "client_company_name" })
7054
+ (0, import_typeorm65.ViewColumn)({ name: "client_company_name" })
6987
7055
  ], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
6988
7056
  __decorateClass([
6989
- (0, import_typeorm64.ViewColumn)({ name: "matching_skills" })
7057
+ (0, import_typeorm65.ViewColumn)({ name: "matching_skills" })
6990
7058
  ], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
6991
7059
  __decorateClass([
6992
- (0, import_typeorm64.ViewColumn)({ name: "matching_skills_count" })
7060
+ (0, import_typeorm65.ViewColumn)({ name: "matching_skills_count" })
6993
7061
  ], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
6994
7062
  __decorateClass([
6995
- (0, import_typeorm64.ViewColumn)({ name: "required_skills" })
7063
+ (0, import_typeorm65.ViewColumn)({ name: "required_skills" })
6996
7064
  ], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
6997
7065
  __decorateClass([
6998
- (0, import_typeorm64.ViewColumn)({ name: "required_skills_count" })
7066
+ (0, import_typeorm65.ViewColumn)({ name: "required_skills_count" })
6999
7067
  ], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
7000
7068
  JobFreelancerRecommendation = __decorateClass([
7001
- (0, import_typeorm64.ViewEntity)({
7069
+ (0, import_typeorm65.ViewEntity)({
7002
7070
  name: "job_freelancer_recommendations",
7003
7071
  materialized: true,
7004
7072
  synchronize: false
@@ -7007,32 +7075,32 @@ JobFreelancerRecommendation = __decorateClass([
7007
7075
  ], JobFreelancerRecommendation);
7008
7076
 
7009
7077
  // src/entities/job-freelancer-recommendation-v2.entity.ts
7010
- var import_typeorm65 = require("typeorm");
7078
+ var import_typeorm66 = require("typeorm");
7011
7079
  var JobFreelancerRecommendationV2 = class {
7012
7080
  };
7013
7081
  __decorateClass([
7014
- (0, import_typeorm65.ViewColumn)({ name: "job_id" })
7082
+ (0, import_typeorm66.ViewColumn)({ name: "job_id" })
7015
7083
  ], JobFreelancerRecommendationV2.prototype, "jobId", 2);
7016
7084
  __decorateClass([
7017
- (0, import_typeorm65.ViewColumn)({ name: "job_owner_id" })
7085
+ (0, import_typeorm66.ViewColumn)({ name: "job_owner_id" })
7018
7086
  ], JobFreelancerRecommendationV2.prototype, "jobOwnerId", 2);
7019
7087
  __decorateClass([
7020
- (0, import_typeorm65.ViewColumn)({ name: "freelancer_id" })
7088
+ (0, import_typeorm66.ViewColumn)({ name: "freelancer_id" })
7021
7089
  ], JobFreelancerRecommendationV2.prototype, "freelancerId", 2);
7022
7090
  __decorateClass([
7023
- (0, import_typeorm65.ViewColumn)({ name: "matching_skills" })
7091
+ (0, import_typeorm66.ViewColumn)({ name: "matching_skills" })
7024
7092
  ], JobFreelancerRecommendationV2.prototype, "matchingSkills", 2);
7025
7093
  __decorateClass([
7026
- (0, import_typeorm65.ViewColumn)({ name: "matching_skills_count" })
7094
+ (0, import_typeorm66.ViewColumn)({ name: "matching_skills_count" })
7027
7095
  ], JobFreelancerRecommendationV2.prototype, "matchingSkillsCount", 2);
7028
7096
  __decorateClass([
7029
- (0, import_typeorm65.ViewColumn)({ name: "required_skills" })
7097
+ (0, import_typeorm66.ViewColumn)({ name: "required_skills" })
7030
7098
  ], JobFreelancerRecommendationV2.prototype, "requiredSkills", 2);
7031
7099
  __decorateClass([
7032
- (0, import_typeorm65.ViewColumn)({ name: "required_skills_count" })
7100
+ (0, import_typeorm66.ViewColumn)({ name: "required_skills_count" })
7033
7101
  ], JobFreelancerRecommendationV2.prototype, "requiredSkillsCount", 2);
7034
7102
  JobFreelancerRecommendationV2 = __decorateClass([
7035
- (0, import_typeorm65.ViewEntity)({
7103
+ (0, import_typeorm66.ViewEntity)({
7036
7104
  name: "job_freelancer_recommendations_v2",
7037
7105
  materialized: true,
7038
7106
  synchronize: false
@@ -7041,74 +7109,74 @@ JobFreelancerRecommendationV2 = __decorateClass([
7041
7109
  ], JobFreelancerRecommendationV2);
7042
7110
 
7043
7111
  // src/entities/client-freelancer-recommendation.entity.ts
7044
- var import_typeorm66 = require("typeorm");
7112
+ var import_typeorm67 = require("typeorm");
7045
7113
  var ClientFreelancerRecommendation = class {
7046
7114
  };
7047
7115
  __decorateClass([
7048
- (0, import_typeorm66.ViewColumn)({ name: "client_id" })
7116
+ (0, import_typeorm67.ViewColumn)({ name: "client_id" })
7049
7117
  ], ClientFreelancerRecommendation.prototype, "clientId", 2);
7050
7118
  __decorateClass([
7051
- (0, import_typeorm66.ViewColumn)({ name: "client_uuid" })
7119
+ (0, import_typeorm67.ViewColumn)({ name: "client_uuid" })
7052
7120
  ], ClientFreelancerRecommendation.prototype, "clientUuid", 2);
7053
7121
  __decorateClass([
7054
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_id" })
7122
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_id" })
7055
7123
  ], ClientFreelancerRecommendation.prototype, "freelancerId", 2);
7056
7124
  __decorateClass([
7057
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_uuid" })
7125
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_uuid" })
7058
7126
  ], ClientFreelancerRecommendation.prototype, "freelancerUuid", 2);
7059
7127
  __decorateClass([
7060
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_unique_id" })
7128
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_unique_id" })
7061
7129
  ], ClientFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
7062
7130
  __decorateClass([
7063
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_first_name" })
7131
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_first_name" })
7064
7132
  ], ClientFreelancerRecommendation.prototype, "freelancerFirstName", 2);
7065
7133
  __decorateClass([
7066
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_last_name" })
7134
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_last_name" })
7067
7135
  ], ClientFreelancerRecommendation.prototype, "freelancerLastName", 2);
7068
7136
  __decorateClass([
7069
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_email" })
7137
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_email" })
7070
7138
  ], ClientFreelancerRecommendation.prototype, "freelancerEmail", 2);
7071
7139
  __decorateClass([
7072
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_profile_picture" })
7140
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_profile_picture" })
7073
7141
  ], ClientFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
7074
7142
  __decorateClass([
7075
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_is_social" })
7143
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_is_social" })
7076
7144
  ], ClientFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
7077
7145
  __decorateClass([
7078
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_created_at" })
7146
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_created_at" })
7079
7147
  ], ClientFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
7080
7148
  __decorateClass([
7081
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_designation" })
7149
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_designation" })
7082
7150
  ], ClientFreelancerRecommendation.prototype, "freelancerDesignation", 2);
7083
7151
  __decorateClass([
7084
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_experience" })
7152
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_experience" })
7085
7153
  ], ClientFreelancerRecommendation.prototype, "freelancerExperience", 2);
7086
7154
  __decorateClass([
7087
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_expertshub_verified" })
7155
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_expertshub_verified" })
7088
7156
  ], ClientFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
7089
7157
  __decorateClass([
7090
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_hourly_compensation" })
7158
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_hourly_compensation" })
7091
7159
  ], ClientFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
7092
7160
  __decorateClass([
7093
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_country_name" })
7161
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_country_name" })
7094
7162
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryName", 2);
7095
7163
  __decorateClass([
7096
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_country_iso_code" })
7164
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_country_iso_code" })
7097
7165
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
7098
7166
  __decorateClass([
7099
- (0, import_typeorm66.ViewColumn)({ name: "matching_skills" })
7167
+ (0, import_typeorm67.ViewColumn)({ name: "matching_skills" })
7100
7168
  ], ClientFreelancerRecommendation.prototype, "matchingSkills", 2);
7101
7169
  __decorateClass([
7102
- (0, import_typeorm66.ViewColumn)({ name: "matching_skills_count" })
7170
+ (0, import_typeorm67.ViewColumn)({ name: "matching_skills_count" })
7103
7171
  ], ClientFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
7104
7172
  __decorateClass([
7105
- (0, import_typeorm66.ViewColumn)({ name: "required_skills" })
7173
+ (0, import_typeorm67.ViewColumn)({ name: "required_skills" })
7106
7174
  ], ClientFreelancerRecommendation.prototype, "requiredSkills", 2);
7107
7175
  __decorateClass([
7108
- (0, import_typeorm66.ViewColumn)({ name: "required_skills_count" })
7176
+ (0, import_typeorm67.ViewColumn)({ name: "required_skills_count" })
7109
7177
  ], ClientFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
7110
7178
  ClientFreelancerRecommendation = __decorateClass([
7111
- (0, import_typeorm66.ViewEntity)({
7179
+ (0, import_typeorm67.ViewEntity)({
7112
7180
  name: "client_freelancer_recommendations",
7113
7181
  materialized: true,
7114
7182
  synchronize: false
@@ -7117,7 +7185,7 @@ ClientFreelancerRecommendation = __decorateClass([
7117
7185
  ], ClientFreelancerRecommendation);
7118
7186
 
7119
7187
  // src/entities/commission.entity.ts
7120
- var import_typeorm67 = require("typeorm");
7188
+ var import_typeorm68 = require("typeorm");
7121
7189
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
7122
7190
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
7123
7191
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -7126,7 +7194,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
7126
7194
  var Commission = class extends BaseEntity {
7127
7195
  };
7128
7196
  __decorateClass([
7129
- (0, import_typeorm67.Column)({
7197
+ (0, import_typeorm68.Column)({
7130
7198
  name: "freelancer_commission_type",
7131
7199
  type: "enum",
7132
7200
  enum: CommissionTypeEnum,
@@ -7134,10 +7202,10 @@ __decorateClass([
7134
7202
  })
7135
7203
  ], Commission.prototype, "freelancerCommissionType", 2);
7136
7204
  __decorateClass([
7137
- (0, import_typeorm67.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
7205
+ (0, import_typeorm68.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
7138
7206
  ], Commission.prototype, "freelancerCommission", 2);
7139
7207
  __decorateClass([
7140
- (0, import_typeorm67.Column)({
7208
+ (0, import_typeorm68.Column)({
7141
7209
  name: "client_commission_type",
7142
7210
  type: "enum",
7143
7211
  enum: CommissionTypeEnum,
@@ -7145,66 +7213,66 @@ __decorateClass([
7145
7213
  })
7146
7214
  ], Commission.prototype, "clientCommissionType", 2);
7147
7215
  __decorateClass([
7148
- (0, import_typeorm67.Column)({ name: "client_commission", type: "integer", default: 0 })
7216
+ (0, import_typeorm68.Column)({ name: "client_commission", type: "integer", default: 0 })
7149
7217
  ], Commission.prototype, "clientCommission", 2);
7150
7218
  Commission = __decorateClass([
7151
- (0, import_typeorm67.Entity)("commissions")
7219
+ (0, import_typeorm68.Entity)("commissions")
7152
7220
  ], Commission);
7153
7221
 
7154
7222
  // src/entities/calendly-meeting-log.entity.ts
7155
- var import_typeorm68 = require("typeorm");
7223
+ var import_typeorm69 = require("typeorm");
7156
7224
  var CalendlyMeetingLog = class extends BaseEntity {
7157
7225
  };
7158
7226
  __decorateClass([
7159
- (0, import_typeorm68.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
7160
- (0, import_typeorm68.Index)()
7227
+ (0, import_typeorm69.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
7228
+ (0, import_typeorm69.Index)()
7161
7229
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
7162
7230
  __decorateClass([
7163
- (0, import_typeorm68.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
7231
+ (0, import_typeorm69.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
7164
7232
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
7165
7233
  __decorateClass([
7166
- (0, import_typeorm68.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7234
+ (0, import_typeorm69.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7167
7235
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
7168
7236
  CalendlyMeetingLog = __decorateClass([
7169
- (0, import_typeorm68.Entity)("calendly_meeting_logs")
7237
+ (0, import_typeorm69.Entity)("calendly_meeting_logs")
7170
7238
  ], CalendlyMeetingLog);
7171
7239
 
7172
7240
  // src/entities/zoom-meeting-log.entity.ts
7173
- var import_typeorm69 = require("typeorm");
7241
+ var import_typeorm70 = require("typeorm");
7174
7242
  var ZoomMeetingLog = class extends BaseEntity {
7175
7243
  };
7176
7244
  __decorateClass([
7177
- (0, import_typeorm69.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
7178
- (0, import_typeorm69.Index)()
7245
+ (0, import_typeorm70.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
7246
+ (0, import_typeorm70.Index)()
7179
7247
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
7180
7248
  __decorateClass([
7181
- (0, import_typeorm69.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
7249
+ (0, import_typeorm70.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
7182
7250
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
7183
7251
  __decorateClass([
7184
- (0, import_typeorm69.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7252
+ (0, import_typeorm70.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7185
7253
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
7186
7254
  ZoomMeetingLog = __decorateClass([
7187
- (0, import_typeorm69.Entity)("zoom_meeting_logs")
7255
+ (0, import_typeorm70.Entity)("zoom_meeting_logs")
7188
7256
  ], ZoomMeetingLog);
7189
7257
 
7190
7258
  // src/entities/stripe-logs.entity.ts
7191
- var import_typeorm70 = require("typeorm");
7259
+ var import_typeorm71 = require("typeorm");
7192
7260
  var StripeLog = class extends BaseEntity {
7193
7261
  };
7194
7262
  __decorateClass([
7195
- (0, import_typeorm70.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
7263
+ (0, import_typeorm71.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
7196
7264
  ], StripeLog.prototype, "stripeEventId", 2);
7197
7265
  __decorateClass([
7198
- (0, import_typeorm70.Column)({ name: "event_type", type: "varchar", nullable: true })
7266
+ (0, import_typeorm71.Column)({ name: "event_type", type: "varchar", nullable: true })
7199
7267
  ], StripeLog.prototype, "eventType", 2);
7200
7268
  __decorateClass([
7201
- (0, import_typeorm70.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
7269
+ (0, import_typeorm71.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
7202
7270
  ], StripeLog.prototype, "stripeAccountId", 2);
7203
7271
  __decorateClass([
7204
- (0, import_typeorm70.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7272
+ (0, import_typeorm71.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7205
7273
  ], StripeLog.prototype, "rawWebhookData", 2);
7206
7274
  StripeLog = __decorateClass([
7207
- (0, import_typeorm70.Entity)("stripe_logs")
7275
+ (0, import_typeorm71.Entity)("stripe_logs")
7208
7276
  ], StripeLog);
7209
7277
  // Annotate the CommonJS export names for ESM import in node:
7210
7278
  0 && (module.exports = {
@@ -7253,6 +7321,8 @@ StripeLog = __decorateClass([
7253
7321
  CategoryEmum,
7254
7322
  CategoryEmumDto,
7255
7323
  City,
7324
+ ClientCandidatePreference,
7325
+ ClientCandidatePreferenceEnum,
7256
7326
  ClientChangePasswordDto,
7257
7327
  ClientCreateAccountDto,
7258
7328
  ClientFreelancerRecommendation,