@experts_hub/shared 1.0.425 → 1.0.427

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