@experts_hub/shared 1.0.429 → 1.0.431

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
@@ -101,6 +101,7 @@ __export(index_exports, {
101
101
  CreateCmsDto: () => CreateCmsDto,
102
102
  CreateCompanyMemberDto: () => CreateCompanyMemberDto,
103
103
  CreateCompanyRoleDto: () => CreateCompanyRoleDto,
104
+ CreateF2FInterviewDirectDto: () => CreateF2FInterviewDirectDto,
104
105
  CreateF2FInterviewDto: () => CreateF2FInterviewDto,
105
106
  CreateF2FInterviewRescheduleRequestDto: () => CreateF2FInterviewRescheduleRequestDto,
106
107
  CreateFreelancerDto: () => CreateFreelancerDto,
@@ -166,6 +167,8 @@ __export(index_exports, {
166
167
  InterviewQuestion: () => InterviewQuestion,
167
168
  InterviewSkill: () => InterviewSkill,
168
169
  InterviewStatusEnum: () => InterviewStatusEnum,
170
+ Invoice: () => Invoice,
171
+ InvoiceStatusEnum: () => InvoiceStatusEnum,
169
172
  JOB_PATTERN: () => JOB_PATTERN,
170
173
  JOB_ROLE_PATTERN: () => JOB_ROLE_PATTERN,
171
174
  Job: () => Job,
@@ -1612,10 +1615,10 @@ var RATING_PATTERN = {
1612
1615
  var import_class_validator42 = require("class-validator");
1613
1616
 
1614
1617
  // src/entities/rating.entity.ts
1615
- var import_typeorm56 = require("typeorm");
1618
+ var import_typeorm57 = require("typeorm");
1616
1619
 
1617
1620
  // src/entities/user.entity.ts
1618
- var import_typeorm55 = require("typeorm");
1621
+ var import_typeorm56 = require("typeorm");
1619
1622
 
1620
1623
  // src/entities/base.entity.ts
1621
1624
  var import_typeorm = require("typeorm");
@@ -2309,7 +2312,7 @@ CompanyProfile = __decorateClass([
2309
2312
  ], CompanyProfile);
2310
2313
 
2311
2314
  // src/entities/job.entity.ts
2312
- var import_typeorm27 = require("typeorm");
2315
+ var import_typeorm28 = require("typeorm");
2313
2316
 
2314
2317
  // src/entities/job-skill.entity.ts
2315
2318
  var import_typeorm10 = require("typeorm");
@@ -3442,6 +3445,15 @@ __decorateClass([
3442
3445
  __decorateClass([
3443
3446
  (0, import_typeorm25.Column)({ name: "status", type: "enum", enum: TimesheetLineStatusEnum, nullable: true })
3444
3447
  ], TimesheetLine.prototype, "status", 2);
3448
+ __decorateClass([
3449
+ (0, import_typeorm25.Column)({ name: "weekly_hours_sum", type: "varchar", nullable: true })
3450
+ ], TimesheetLine.prototype, "weeklyHoursSum", 2);
3451
+ __decorateClass([
3452
+ (0, import_typeorm25.Column)({ name: "is_invoice_genrated", type: "boolean", default: false })
3453
+ ], TimesheetLine.prototype, "isInvoiceGenrated", 2);
3454
+ __decorateClass([
3455
+ (0, import_typeorm25.Column)({ name: "is_invoice_approved", type: "boolean", default: false })
3456
+ ], TimesheetLine.prototype, "isInvoiceApproved", 2);
3445
3457
  TimesheetLine = __decorateClass([
3446
3458
  (0, import_typeorm25.Entity)("timesheet_lines")
3447
3459
  ], TimesheetLine);
@@ -3491,6 +3503,91 @@ ClientCandidatePreference = __decorateClass([
3491
3503
  (0, import_typeorm26.Entity)("client_candidate_preferences")
3492
3504
  ], ClientCandidatePreference);
3493
3505
 
3506
+ // src/entities/invoice.entity.ts
3507
+ var import_typeorm27 = require("typeorm");
3508
+ var InvoiceStatusEnum = /* @__PURE__ */ ((InvoiceStatusEnum2) => {
3509
+ InvoiceStatusEnum2["SUBMITTED"] = "SUBMITTED";
3510
+ InvoiceStatusEnum2["PENDING"] = "PENDING";
3511
+ InvoiceStatusEnum2["APPROVED"] = "APPROVED";
3512
+ InvoiceStatusEnum2["OVERDUE"] = "OVERDUE";
3513
+ InvoiceStatusEnum2["REJECTED"] = "REJECTED";
3514
+ InvoiceStatusEnum2["PAID"] = "PAID";
3515
+ InvoiceStatusEnum2["INTRANSACTION"] = "INTRANSACTION";
3516
+ return InvoiceStatusEnum2;
3517
+ })(InvoiceStatusEnum || {});
3518
+ var Invoice = class extends BaseEntity {
3519
+ };
3520
+ __decorateClass([
3521
+ (0, import_typeorm27.Column)({ name: "job_id", type: "integer", nullable: true }),
3522
+ (0, import_typeorm27.Index)()
3523
+ ], Invoice.prototype, "jobId", 2);
3524
+ __decorateClass([
3525
+ (0, import_typeorm27.ManyToOne)(() => Job, (job) => job.invoice),
3526
+ (0, import_typeorm27.JoinColumn)({ name: "job_id" })
3527
+ ], Invoice.prototype, "job", 2);
3528
+ __decorateClass([
3529
+ (0, import_typeorm27.Column)({ name: "client_id", type: "integer", nullable: true }),
3530
+ (0, import_typeorm27.Index)()
3531
+ ], Invoice.prototype, "clientId", 2);
3532
+ __decorateClass([
3533
+ (0, import_typeorm27.ManyToOne)(() => User, (user) => user.clientInvoice),
3534
+ (0, import_typeorm27.JoinColumn)({ name: "client_id" })
3535
+ ], Invoice.prototype, "client", 2);
3536
+ __decorateClass([
3537
+ (0, import_typeorm27.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
3538
+ (0, import_typeorm27.Index)()
3539
+ ], Invoice.prototype, "freelancerId", 2);
3540
+ __decorateClass([
3541
+ (0, import_typeorm27.ManyToOne)(() => User, (user) => user.freelancerInvoice),
3542
+ (0, import_typeorm27.JoinColumn)({ name: "freelancer_id" })
3543
+ ], Invoice.prototype, "freelancer", 2);
3544
+ __decorateClass([
3545
+ (0, import_typeorm27.Column)({ name: "invoice_unique_id", type: "varchar", nullable: true })
3546
+ ], Invoice.prototype, "invoiceUniqueId", 2);
3547
+ __decorateClass([
3548
+ (0, import_typeorm27.Column)({
3549
+ name: "issued_at",
3550
+ type: "date",
3551
+ nullable: true
3552
+ })
3553
+ ], Invoice.prototype, "issuedAt", 2);
3554
+ __decorateClass([
3555
+ (0, import_typeorm27.Column)({
3556
+ name: "due_at",
3557
+ type: "date",
3558
+ nullable: true
3559
+ })
3560
+ ], Invoice.prototype, "dueAt", 2);
3561
+ __decorateClass([
3562
+ (0, import_typeorm27.Column)({
3563
+ name: "billing_cycle_from",
3564
+ type: "date",
3565
+ nullable: true
3566
+ })
3567
+ ], Invoice.prototype, "billingCycleFrom", 2);
3568
+ __decorateClass([
3569
+ (0, import_typeorm27.Column)({
3570
+ name: "billing_cycle_to",
3571
+ type: "date",
3572
+ nullable: true
3573
+ })
3574
+ ], Invoice.prototype, "billingCycleTo", 2);
3575
+ __decorateClass([
3576
+ (0, import_typeorm27.Column)({ name: "billing_hours", type: "varchar", nullable: true })
3577
+ ], Invoice.prototype, "billingHours", 2);
3578
+ __decorateClass([
3579
+ (0, import_typeorm27.Column)({ name: "hourly_rate", type: "varchar", nullable: true })
3580
+ ], Invoice.prototype, "hourlyRate", 2);
3581
+ __decorateClass([
3582
+ (0, import_typeorm27.Column)({ name: "billing_amount", type: "varchar", nullable: true })
3583
+ ], Invoice.prototype, "billingAmount", 2);
3584
+ __decorateClass([
3585
+ (0, import_typeorm27.Column)({ name: "status", type: "enum", enum: InvoiceStatusEnum, nullable: true })
3586
+ ], Invoice.prototype, "status", 2);
3587
+ Invoice = __decorateClass([
3588
+ (0, import_typeorm27.Entity)("invoices")
3589
+ ], Invoice);
3590
+
3494
3591
  // src/entities/job.entity.ts
3495
3592
  var JobLocationEnum = /* @__PURE__ */ ((JobLocationEnum2) => {
3496
3593
  JobLocationEnum2["ONSITE"] = "ONSITE";
@@ -3531,52 +3628,52 @@ var DurationTypeEnum = /* @__PURE__ */ ((DurationTypeEnum2) => {
3531
3628
  var Job = class extends BaseEntity {
3532
3629
  };
3533
3630
  __decorateClass([
3534
- (0, import_typeorm27.Column)({ name: "job_id", type: "varchar", unique: true, nullable: true })
3631
+ (0, import_typeorm28.Column)({ name: "job_id", type: "varchar", unique: true, nullable: true })
3535
3632
  ], Job.prototype, "jobId", 2);
3536
3633
  // individual index to find jobs by user
3537
3634
  __decorateClass([
3538
- (0, import_typeorm27.Column)({ name: "user_id", type: "integer", nullable: true }),
3539
- (0, import_typeorm27.Index)()
3635
+ (0, import_typeorm28.Column)({ name: "user_id", type: "integer", nullable: true }),
3636
+ (0, import_typeorm28.Index)()
3540
3637
  ], Job.prototype, "userId", 2);
3541
3638
  __decorateClass([
3542
- (0, import_typeorm27.ManyToOne)(() => User, (user) => user.jobs),
3543
- (0, import_typeorm27.JoinColumn)({ name: "user_id" })
3639
+ (0, import_typeorm28.ManyToOne)(() => User, (user) => user.jobs),
3640
+ (0, import_typeorm28.JoinColumn)({ name: "user_id" })
3544
3641
  ], Job.prototype, "user", 2);
3545
3642
  __decorateClass([
3546
- (0, import_typeorm27.Column)({ name: "country_id", type: "int", nullable: true })
3643
+ (0, import_typeorm28.Column)({ name: "country_id", type: "int", nullable: true })
3547
3644
  ], Job.prototype, "countryId", 2);
3548
3645
  __decorateClass([
3549
- (0, import_typeorm27.ManyToOne)(() => Country),
3550
- (0, import_typeorm27.JoinColumn)({ name: "country_id" })
3646
+ (0, import_typeorm28.ManyToOne)(() => Country),
3647
+ (0, import_typeorm28.JoinColumn)({ name: "country_id" })
3551
3648
  ], Job.prototype, "country", 2);
3552
3649
  __decorateClass([
3553
- (0, import_typeorm27.Column)({ name: "state_id", type: "int", nullable: true })
3650
+ (0, import_typeorm28.Column)({ name: "state_id", type: "int", nullable: true })
3554
3651
  ], Job.prototype, "stateId", 2);
3555
3652
  __decorateClass([
3556
- (0, import_typeorm27.ManyToOne)(() => State),
3557
- (0, import_typeorm27.JoinColumn)({ name: "state_id" })
3653
+ (0, import_typeorm28.ManyToOne)(() => State),
3654
+ (0, import_typeorm28.JoinColumn)({ name: "state_id" })
3558
3655
  ], Job.prototype, "state", 2);
3559
3656
  __decorateClass([
3560
- (0, import_typeorm27.Column)({ name: "city_id", type: "int", nullable: true })
3657
+ (0, import_typeorm28.Column)({ name: "city_id", type: "int", nullable: true })
3561
3658
  ], Job.prototype, "cityId", 2);
3562
3659
  __decorateClass([
3563
- (0, import_typeorm27.ManyToOne)(() => City),
3564
- (0, import_typeorm27.JoinColumn)({ name: "city_id" })
3660
+ (0, import_typeorm28.ManyToOne)(() => City),
3661
+ (0, import_typeorm28.JoinColumn)({ name: "city_id" })
3565
3662
  ], Job.prototype, "city", 2);
3566
3663
  __decorateClass([
3567
- (0, import_typeorm27.Column)({ name: "job_role", type: "varchar", nullable: true })
3664
+ (0, import_typeorm28.Column)({ name: "job_role", type: "varchar", nullable: true })
3568
3665
  ], Job.prototype, "jobRole", 2);
3569
3666
  __decorateClass([
3570
- (0, import_typeorm27.Column)({ name: "project_name", type: "varchar", nullable: true })
3667
+ (0, import_typeorm28.Column)({ name: "project_name", type: "varchar", nullable: true })
3571
3668
  ], Job.prototype, "projectName", 2);
3572
3669
  __decorateClass([
3573
- (0, import_typeorm27.Column)({ name: "note", type: "varchar", nullable: true })
3670
+ (0, import_typeorm28.Column)({ name: "note", type: "varchar", nullable: true })
3574
3671
  ], Job.prototype, "note", 2);
3575
3672
  __decorateClass([
3576
- (0, import_typeorm27.Column)({ name: "openings", type: "integer", default: 0 })
3673
+ (0, import_typeorm28.Column)({ name: "openings", type: "integer", default: 0 })
3577
3674
  ], Job.prototype, "openings", 2);
3578
3675
  __decorateClass([
3579
- (0, import_typeorm27.Column)({
3676
+ (0, import_typeorm28.Column)({
3580
3677
  name: "location",
3581
3678
  type: "enum",
3582
3679
  enum: JobLocationEnum,
@@ -3584,7 +3681,7 @@ __decorateClass([
3584
3681
  })
3585
3682
  ], Job.prototype, "location", 2);
3586
3683
  __decorateClass([
3587
- (0, import_typeorm27.Column)({
3684
+ (0, import_typeorm28.Column)({
3588
3685
  name: "type_of_employment",
3589
3686
  type: "enum",
3590
3687
  enum: TypeOfEmploymentEnum,
@@ -3592,19 +3689,19 @@ __decorateClass([
3592
3689
  })
3593
3690
  ], Job.prototype, "typeOfEmployment", 2);
3594
3691
  __decorateClass([
3595
- (0, import_typeorm27.Column)({ name: "academic_qualifictaion", type: "varchar", nullable: true })
3692
+ (0, import_typeorm28.Column)({ name: "academic_qualifictaion", type: "varchar", nullable: true })
3596
3693
  ], Job.prototype, "academicQualification", 2);
3597
3694
  __decorateClass([
3598
- (0, import_typeorm27.Column)({ name: "years_of_experience", type: "varchar", nullable: true })
3695
+ (0, import_typeorm28.Column)({ name: "years_of_experience", type: "varchar", nullable: true })
3599
3696
  ], Job.prototype, "yearsOfExperience", 2);
3600
3697
  __decorateClass([
3601
- (0, import_typeorm27.Column)({ name: "business_industry", type: "varchar", nullable: true })
3698
+ (0, import_typeorm28.Column)({ name: "business_industry", type: "varchar", nullable: true })
3602
3699
  ], Job.prototype, "businessIndustry", 2);
3603
3700
  __decorateClass([
3604
- (0, import_typeorm27.Column)({ name: "currency", type: "varchar", default: "USD" })
3701
+ (0, import_typeorm28.Column)({ name: "currency", type: "varchar", default: "USD" })
3605
3702
  ], Job.prototype, "currency", 2);
3606
3703
  __decorateClass([
3607
- (0, import_typeorm27.Column)({
3704
+ (0, import_typeorm28.Column)({
3608
3705
  name: "expected_salary_from",
3609
3706
  type: "decimal",
3610
3707
  precision: 10,
@@ -3613,14 +3710,14 @@ __decorateClass([
3613
3710
  })
3614
3711
  ], Job.prototype, "expectedSalaryFrom", 2);
3615
3712
  __decorateClass([
3616
- (0, import_typeorm27.Column)({
3713
+ (0, import_typeorm28.Column)({
3617
3714
  name: "hide_expected_salary_from",
3618
3715
  type: "boolean",
3619
3716
  default: false
3620
3717
  })
3621
3718
  ], Job.prototype, "hideExpectedSalaryFrom", 2);
3622
3719
  __decorateClass([
3623
- (0, import_typeorm27.Column)({
3720
+ (0, import_typeorm28.Column)({
3624
3721
  name: "expected_salary_to",
3625
3722
  type: "decimal",
3626
3723
  precision: 10,
@@ -3629,32 +3726,32 @@ __decorateClass([
3629
3726
  })
3630
3727
  ], Job.prototype, "expectedSalaryTo", 2);
3631
3728
  __decorateClass([
3632
- (0, import_typeorm27.Column)({
3729
+ (0, import_typeorm28.Column)({
3633
3730
  name: "hide_expected_salary_to",
3634
3731
  type: "boolean",
3635
3732
  default: false
3636
3733
  })
3637
3734
  ], Job.prototype, "hideExpectedSalaryTo", 2);
3638
3735
  __decorateClass([
3639
- (0, import_typeorm27.Column)({ name: "years", type: "varchar", nullable: true })
3736
+ (0, import_typeorm28.Column)({ name: "years", type: "varchar", nullable: true })
3640
3737
  ], Job.prototype, "years", 2);
3641
3738
  __decorateClass([
3642
- (0, import_typeorm27.Column)({ name: "months", type: "varchar", nullable: true })
3739
+ (0, import_typeorm28.Column)({ name: "months", type: "varchar", nullable: true })
3643
3740
  ], Job.prototype, "months", 2);
3644
3741
  __decorateClass([
3645
- (0, import_typeorm27.Column)({ name: "weeks", type: "varchar", nullable: true })
3742
+ (0, import_typeorm28.Column)({ name: "weeks", type: "varchar", nullable: true })
3646
3743
  ], Job.prototype, "weeks", 2);
3647
3744
  __decorateClass([
3648
- (0, import_typeorm27.Column)({ name: "days", type: "varchar", nullable: true })
3745
+ (0, import_typeorm28.Column)({ name: "days", type: "varchar", nullable: true })
3649
3746
  ], Job.prototype, "days", 2);
3650
3747
  __decorateClass([
3651
- (0, import_typeorm27.Column)({ name: "tentative_start_date", type: "date", nullable: true })
3748
+ (0, import_typeorm28.Column)({ name: "tentative_start_date", type: "date", nullable: true })
3652
3749
  ], Job.prototype, "tentativeStartDate", 2);
3653
3750
  __decorateClass([
3654
- (0, import_typeorm27.Column)({ name: "tentative_end_date", type: "date", nullable: true })
3751
+ (0, import_typeorm28.Column)({ name: "tentative_end_date", type: "date", nullable: true })
3655
3752
  ], Job.prototype, "tentativeEndDate", 2);
3656
3753
  __decorateClass([
3657
- (0, import_typeorm27.Column)({
3754
+ (0, import_typeorm28.Column)({
3658
3755
  name: "duration_type",
3659
3756
  type: "enum",
3660
3757
  enum: DurationTypeEnum,
@@ -3662,10 +3759,10 @@ __decorateClass([
3662
3759
  })
3663
3760
  ], Job.prototype, "durationType", 2);
3664
3761
  __decorateClass([
3665
- (0, import_typeorm27.Column)({ name: "duration", type: "varchar", nullable: true })
3762
+ (0, import_typeorm28.Column)({ name: "duration", type: "varchar", nullable: true })
3666
3763
  ], Job.prototype, "duration", 2);
3667
3764
  __decorateClass([
3668
- (0, import_typeorm27.Column)({
3765
+ (0, import_typeorm28.Column)({
3669
3766
  name: "number_of_hours",
3670
3767
  type: "decimal",
3671
3768
  precision: 4,
@@ -3674,13 +3771,13 @@ __decorateClass([
3674
3771
  })
3675
3772
  ], Job.prototype, "numberOfHours", 2);
3676
3773
  __decorateClass([
3677
- (0, import_typeorm27.Column)({ name: "description", type: "varchar", nullable: true })
3774
+ (0, import_typeorm28.Column)({ name: "description", type: "varchar", nullable: true })
3678
3775
  ], Job.prototype, "description", 2);
3679
3776
  __decorateClass([
3680
- (0, import_typeorm27.Column)({ name: "additional_comment", type: "varchar", nullable: true })
3777
+ (0, import_typeorm28.Column)({ name: "additional_comment", type: "varchar", nullable: true })
3681
3778
  ], Job.prototype, "additionalComment", 2);
3682
3779
  __decorateClass([
3683
- (0, import_typeorm27.Column)({
3780
+ (0, import_typeorm28.Column)({
3684
3781
  name: "onboarding_tat",
3685
3782
  type: "varchar",
3686
3783
  length: 50,
@@ -3688,14 +3785,14 @@ __decorateClass([
3688
3785
  })
3689
3786
  ], Job.prototype, "onboardingTat", 2);
3690
3787
  __decorateClass([
3691
- (0, import_typeorm27.Column)({
3788
+ (0, import_typeorm28.Column)({
3692
3789
  name: "candidate_communication_skills",
3693
3790
  type: "varchar",
3694
3791
  nullable: true
3695
3792
  })
3696
3793
  ], Job.prototype, "candidateCommunicationSkills", 2);
3697
3794
  __decorateClass([
3698
- (0, import_typeorm27.Column)({
3795
+ (0, import_typeorm28.Column)({
3699
3796
  name: "step_completed",
3700
3797
  type: "enum",
3701
3798
  enum: Step,
@@ -3703,7 +3800,7 @@ __decorateClass([
3703
3800
  })
3704
3801
  ], Job.prototype, "stepCompleted", 2);
3705
3802
  __decorateClass([
3706
- (0, import_typeorm27.Column)({
3803
+ (0, import_typeorm28.Column)({
3707
3804
  name: "status",
3708
3805
  type: "enum",
3709
3806
  enum: JobStatusEnum,
@@ -3711,32 +3808,32 @@ __decorateClass([
3711
3808
  })
3712
3809
  ], Job.prototype, "status", 2);
3713
3810
  __decorateClass([
3714
- (0, import_typeorm27.Column)({ name: "viewed_count", type: "integer", default: 0 })
3811
+ (0, import_typeorm28.Column)({ name: "viewed_count", type: "integer", default: 0 })
3715
3812
  ], Job.prototype, "viewedCount", 2);
3716
3813
  __decorateClass([
3717
- (0, import_typeorm27.Column)({ name: "application_count", type: "integer", default: 0 })
3814
+ (0, import_typeorm28.Column)({ name: "application_count", type: "integer", default: 0 })
3718
3815
  ], Job.prototype, "applicationCount", 2);
3719
3816
  __decorateClass([
3720
- (0, import_typeorm27.Column)({ name: "is_contract_signed", type: "boolean", default: false })
3817
+ (0, import_typeorm28.Column)({ name: "is_contract_signed", type: "boolean", default: false })
3721
3818
  ], Job.prototype, "isContractSigned", 2);
3722
3819
  __decorateClass([
3723
- (0, import_typeorm27.Column)({ name: "is_interview_created", type: "boolean", default: false })
3820
+ (0, import_typeorm28.Column)({ name: "is_interview_created", type: "boolean", default: false })
3724
3821
  ], Job.prototype, "isInterviewCreated", 2);
3725
3822
  __decorateClass([
3726
- (0, import_typeorm27.OneToMany)(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
3823
+ (0, import_typeorm28.OneToMany)(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
3727
3824
  ], Job.prototype, "jobSkills", 2);
3728
3825
  __decorateClass([
3729
- (0, import_typeorm27.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.job, {
3826
+ (0, import_typeorm28.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.job, {
3730
3827
  cascade: true
3731
3828
  })
3732
3829
  ], Job.prototype, "jobApplications", 2);
3733
3830
  __decorateClass([
3734
- (0, import_typeorm27.OneToMany)(() => Interview, (interview) => interview.job, {
3831
+ (0, import_typeorm28.OneToMany)(() => Interview, (interview) => interview.job, {
3735
3832
  cascade: true
3736
3833
  })
3737
3834
  ], Job.prototype, "interviews", 2);
3738
3835
  __decorateClass([
3739
- (0, import_typeorm27.OneToMany)(
3836
+ (0, import_typeorm28.OneToMany)(
3740
3837
  () => JobRecommendation,
3741
3838
  (jobRecommendation) => jobRecommendation.job,
3742
3839
  {
@@ -3745,29 +3842,34 @@ __decorateClass([
3745
3842
  )
3746
3843
  ], Job.prototype, "recommendations", 2);
3747
3844
  __decorateClass([
3748
- (0, import_typeorm27.OneToMany)(() => Contract, (contract) => contract.job, {
3845
+ (0, import_typeorm28.OneToMany)(() => Contract, (contract) => contract.job, {
3749
3846
  cascade: true
3750
3847
  })
3751
3848
  ], Job.prototype, "contracts", 2);
3752
3849
  __decorateClass([
3753
- (0, import_typeorm27.OneToMany)(() => Timesheet, (timesheet) => timesheet.job, {
3850
+ (0, import_typeorm28.OneToMany)(() => Timesheet, (timesheet) => timesheet.job, {
3754
3851
  cascade: true
3755
3852
  })
3756
3853
  ], Job.prototype, "timesheets", 2);
3757
3854
  __decorateClass([
3758
- (0, import_typeorm27.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.job, {
3855
+ (0, import_typeorm28.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.job, {
3759
3856
  cascade: true
3760
3857
  })
3761
3858
  ], Job.prototype, "timesheetLine", 2);
3762
3859
  __decorateClass([
3763
- (0, import_typeorm27.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.job)
3860
+ (0, import_typeorm28.OneToMany)(() => Invoice, (invoice) => invoice.job, {
3861
+ cascade: true
3862
+ })
3863
+ ], Job.prototype, "invoice", 2);
3864
+ __decorateClass([
3865
+ (0, import_typeorm28.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.job)
3764
3866
  ], Job.prototype, "clientCandidatePreferences", 2);
3765
3867
  Job = __decorateClass([
3766
- (0, import_typeorm27.Entity)("jobs")
3868
+ (0, import_typeorm28.Entity)("jobs")
3767
3869
  ], Job);
3768
3870
 
3769
3871
  // src/entities/bank-details.entity.ts
3770
- var import_typeorm28 = require("typeorm");
3872
+ var import_typeorm29 = require("typeorm");
3771
3873
  var BankAccountTypeEnum = /* @__PURE__ */ ((BankAccountTypeEnum2) => {
3772
3874
  BankAccountTypeEnum2["PRIMARY"] = "PRIMARY";
3773
3875
  BankAccountTypeEnum2["SECONDARY"] = "SECONDARY";
@@ -3782,48 +3884,48 @@ var BankDetail = class extends BaseEntity {
3782
3884
  };
3783
3885
  // individual index to find bank details by user
3784
3886
  __decorateClass([
3785
- (0, import_typeorm28.Column)({ name: "user_id", type: "integer", nullable: true }),
3786
- (0, import_typeorm28.Index)()
3887
+ (0, import_typeorm29.Column)({ name: "user_id", type: "integer", nullable: true }),
3888
+ (0, import_typeorm29.Index)()
3787
3889
  ], BankDetail.prototype, "userId", 2);
3788
3890
  __decorateClass([
3789
- (0, import_typeorm28.ManyToOne)(() => User, (user) => user.bankDetail),
3790
- (0, import_typeorm28.JoinColumn)({ name: "user_id" })
3891
+ (0, import_typeorm29.ManyToOne)(() => User, (user) => user.bankDetail),
3892
+ (0, import_typeorm29.JoinColumn)({ name: "user_id" })
3791
3893
  ], BankDetail.prototype, "user", 2);
3792
3894
  __decorateClass([
3793
- (0, import_typeorm28.Column)({ name: "name", type: "varchar", nullable: true })
3895
+ (0, import_typeorm29.Column)({ name: "name", type: "varchar", nullable: true })
3794
3896
  ], BankDetail.prototype, "name", 2);
3795
3897
  __decorateClass([
3796
- (0, import_typeorm28.Column)({ name: "mobile", type: "varchar", unique: true, nullable: true })
3898
+ (0, import_typeorm29.Column)({ name: "mobile", type: "varchar", unique: true, nullable: true })
3797
3899
  ], BankDetail.prototype, "mobile", 2);
3798
3900
  __decorateClass([
3799
- (0, import_typeorm28.Column)({ name: "email", type: "varchar", unique: true })
3901
+ (0, import_typeorm29.Column)({ name: "email", type: "varchar", unique: true })
3800
3902
  ], BankDetail.prototype, "email", 2);
3801
3903
  __decorateClass([
3802
- (0, import_typeorm28.Column)({ name: "address", type: "varchar", nullable: true })
3904
+ (0, import_typeorm29.Column)({ name: "address", type: "varchar", nullable: true })
3803
3905
  ], BankDetail.prototype, "address", 2);
3804
3906
  __decorateClass([
3805
- (0, import_typeorm28.Column)({ name: "account_number", type: "varchar", unique: true, nullable: true })
3907
+ (0, import_typeorm29.Column)({ name: "account_number", type: "varchar", unique: true, nullable: true })
3806
3908
  ], BankDetail.prototype, "accountNumber", 2);
3807
3909
  __decorateClass([
3808
- (0, import_typeorm28.Column)({ name: "bank_name", type: "varchar", nullable: true })
3910
+ (0, import_typeorm29.Column)({ name: "bank_name", type: "varchar", nullable: true })
3809
3911
  ], BankDetail.prototype, "bankName", 2);
3810
3912
  __decorateClass([
3811
- (0, import_typeorm28.Column)({ name: "ifsc_code", type: "varchar", nullable: true })
3913
+ (0, import_typeorm29.Column)({ name: "ifsc_code", type: "varchar", nullable: true })
3812
3914
  ], BankDetail.prototype, "ifscCode", 2);
3813
3915
  __decorateClass([
3814
- (0, import_typeorm28.Column)({ name: "branch_name", type: "varchar", nullable: true })
3916
+ (0, import_typeorm29.Column)({ name: "branch_name", type: "varchar", nullable: true })
3815
3917
  ], BankDetail.prototype, "branchName", 2);
3816
3918
  __decorateClass([
3817
- (0, import_typeorm28.Column)({ name: "routing_no", type: "varchar", nullable: true })
3919
+ (0, import_typeorm29.Column)({ name: "routing_no", type: "varchar", nullable: true })
3818
3920
  ], BankDetail.prototype, "routingNo", 2);
3819
3921
  __decorateClass([
3820
- (0, import_typeorm28.Column)({ name: "aba_no", type: "varchar", nullable: true })
3922
+ (0, import_typeorm29.Column)({ name: "aba_no", type: "varchar", nullable: true })
3821
3923
  ], BankDetail.prototype, "abaNumber", 2);
3822
3924
  __decorateClass([
3823
- (0, import_typeorm28.Column)({ name: "iban", type: "varchar", nullable: true })
3925
+ (0, import_typeorm29.Column)({ name: "iban", type: "varchar", nullable: true })
3824
3926
  ], BankDetail.prototype, "iban", 2);
3825
3927
  __decorateClass([
3826
- (0, import_typeorm28.Column)({
3928
+ (0, import_typeorm29.Column)({
3827
3929
  name: "account_type",
3828
3930
  type: "enum",
3829
3931
  enum: BankAccountTypeEnum,
@@ -3831,7 +3933,7 @@ __decorateClass([
3831
3933
  })
3832
3934
  ], BankDetail.prototype, "accountType", 2);
3833
3935
  __decorateClass([
3834
- (0, import_typeorm28.Column)({
3936
+ (0, import_typeorm29.Column)({
3835
3937
  name: "account_scope",
3836
3938
  type: "enum",
3837
3939
  enum: BankAccountScopeEnum,
@@ -3839,210 +3941,210 @@ __decorateClass([
3839
3941
  })
3840
3942
  ], BankDetail.prototype, "accountScope", 2);
3841
3943
  BankDetail = __decorateClass([
3842
- (0, import_typeorm28.Entity)("bank_details")
3944
+ (0, import_typeorm29.Entity)("bank_details")
3843
3945
  ], BankDetail);
3844
3946
 
3845
3947
  // src/entities/system-preference.entity.ts
3846
- var import_typeorm29 = require("typeorm");
3948
+ var import_typeorm30 = require("typeorm");
3847
3949
  var SystemPreference = class extends BaseEntity {
3848
3950
  };
3849
3951
  // individual index to find system preference by user
3850
3952
  __decorateClass([
3851
- (0, import_typeorm29.Column)({ name: "user_id", type: "integer", nullable: true }),
3852
- (0, import_typeorm29.Index)()
3953
+ (0, import_typeorm30.Column)({ name: "user_id", type: "integer", nullable: true }),
3954
+ (0, import_typeorm30.Index)()
3853
3955
  ], SystemPreference.prototype, "userId", 2);
3854
3956
  __decorateClass([
3855
- (0, import_typeorm29.ManyToOne)(() => User, (user) => user.systemPreference),
3856
- (0, import_typeorm29.JoinColumn)({ name: "user_id" })
3957
+ (0, import_typeorm30.ManyToOne)(() => User, (user) => user.systemPreference),
3958
+ (0, import_typeorm30.JoinColumn)({ name: "user_id" })
3857
3959
  ], SystemPreference.prototype, "user", 2);
3858
3960
  __decorateClass([
3859
- (0, import_typeorm29.Column)({ name: "key", type: "varchar", nullable: false })
3961
+ (0, import_typeorm30.Column)({ name: "key", type: "varchar", nullable: false })
3860
3962
  ], SystemPreference.prototype, "key", 2);
3861
3963
  __decorateClass([
3862
- (0, import_typeorm29.Column)({ name: "value", type: "boolean", default: false })
3964
+ (0, import_typeorm30.Column)({ name: "value", type: "boolean", default: false })
3863
3965
  ], SystemPreference.prototype, "value", 2);
3864
3966
  SystemPreference = __decorateClass([
3865
- (0, import_typeorm29.Entity)("system_preferences")
3967
+ (0, import_typeorm30.Entity)("system_preferences")
3866
3968
  ], SystemPreference);
3867
3969
 
3868
3970
  // src/entities/freelancer-experience.entity.ts
3869
- var import_typeorm30 = require("typeorm");
3971
+ var import_typeorm31 = require("typeorm");
3870
3972
  var FreelancerExperience = class extends BaseEntity {
3871
3973
  };
3872
3974
  // individual index to find experence by user
3873
3975
  __decorateClass([
3874
- (0, import_typeorm30.Column)({ name: "user_id", type: "integer", nullable: true }),
3875
- (0, import_typeorm30.Index)()
3976
+ (0, import_typeorm31.Column)({ name: "user_id", type: "integer", nullable: true }),
3977
+ (0, import_typeorm31.Index)()
3876
3978
  ], FreelancerExperience.prototype, "userId", 2);
3877
3979
  __decorateClass([
3878
- (0, import_typeorm30.ManyToOne)(() => User, (user) => user.freelancerExperience),
3879
- (0, import_typeorm30.JoinColumn)({ name: "user_id" })
3980
+ (0, import_typeorm31.ManyToOne)(() => User, (user) => user.freelancerExperience),
3981
+ (0, import_typeorm31.JoinColumn)({ name: "user_id" })
3880
3982
  ], FreelancerExperience.prototype, "user", 2);
3881
3983
  __decorateClass([
3882
- (0, import_typeorm30.Column)({ name: "company_name", type: "varchar", nullable: true })
3984
+ (0, import_typeorm31.Column)({ name: "company_name", type: "varchar", nullable: true })
3883
3985
  ], FreelancerExperience.prototype, "companyName", 2);
3884
3986
  __decorateClass([
3885
- (0, import_typeorm30.Column)({ name: "designation", type: "varchar", nullable: true })
3987
+ (0, import_typeorm31.Column)({ name: "designation", type: "varchar", nullable: true })
3886
3988
  ], FreelancerExperience.prototype, "designation", 2);
3887
3989
  __decorateClass([
3888
- (0, import_typeorm30.Column)({ name: "job_duration", type: "varchar", nullable: true })
3990
+ (0, import_typeorm31.Column)({ name: "job_duration", type: "varchar", nullable: true })
3889
3991
  ], FreelancerExperience.prototype, "jobDuration", 2);
3890
3992
  __decorateClass([
3891
- (0, import_typeorm30.Column)({ name: "description", type: "varchar", nullable: true })
3993
+ (0, import_typeorm31.Column)({ name: "description", type: "varchar", nullable: true })
3892
3994
  ], FreelancerExperience.prototype, "description", 2);
3893
3995
  FreelancerExperience = __decorateClass([
3894
- (0, import_typeorm30.Entity)("freelancer_experiences")
3996
+ (0, import_typeorm31.Entity)("freelancer_experiences")
3895
3997
  ], FreelancerExperience);
3896
3998
 
3897
3999
  // src/entities/freelancer-education.entity.ts
3898
- var import_typeorm31 = require("typeorm");
4000
+ var import_typeorm32 = require("typeorm");
3899
4001
  var FreelancerEducation = class extends BaseEntity {
3900
4002
  };
3901
4003
  // individual index to find education by user
3902
4004
  __decorateClass([
3903
- (0, import_typeorm31.Column)({ name: "user_id", type: "integer", nullable: true }),
3904
- (0, import_typeorm31.Index)()
4005
+ (0, import_typeorm32.Column)({ name: "user_id", type: "integer", nullable: true }),
4006
+ (0, import_typeorm32.Index)()
3905
4007
  ], FreelancerEducation.prototype, "userId", 2);
3906
4008
  __decorateClass([
3907
- (0, import_typeorm31.ManyToOne)(() => User, (user) => user.freelancerEducation),
3908
- (0, import_typeorm31.JoinColumn)({ name: "user_id" })
4009
+ (0, import_typeorm32.ManyToOne)(() => User, (user) => user.freelancerEducation),
4010
+ (0, import_typeorm32.JoinColumn)({ name: "user_id" })
3909
4011
  ], FreelancerEducation.prototype, "user", 2);
3910
4012
  __decorateClass([
3911
- (0, import_typeorm31.Column)({ name: "degree", type: "varchar", nullable: true })
4013
+ (0, import_typeorm32.Column)({ name: "degree", type: "varchar", nullable: true })
3912
4014
  ], FreelancerEducation.prototype, "degree", 2);
3913
4015
  __decorateClass([
3914
- (0, import_typeorm31.Column)({ name: "university", type: "varchar", nullable: true })
4016
+ (0, import_typeorm32.Column)({ name: "university", type: "varchar", nullable: true })
3915
4017
  ], FreelancerEducation.prototype, "university", 2);
3916
4018
  __decorateClass([
3917
- (0, import_typeorm31.Column)({ name: "year_of_graduation", type: "varchar", nullable: true })
4019
+ (0, import_typeorm32.Column)({ name: "year_of_graduation", type: "varchar", nullable: true })
3918
4020
  ], FreelancerEducation.prototype, "yearOfGraduation", 2);
3919
4021
  FreelancerEducation = __decorateClass([
3920
- (0, import_typeorm31.Entity)("freelancer_educations")
4022
+ (0, import_typeorm32.Entity)("freelancer_educations")
3921
4023
  ], FreelancerEducation);
3922
4024
 
3923
4025
  // src/entities/freelancer-project.entity.ts
3924
- var import_typeorm32 = require("typeorm");
4026
+ var import_typeorm33 = require("typeorm");
3925
4027
  var FreelancerProject = class extends BaseEntity {
3926
4028
  };
3927
4029
  // individual index to find project by user
3928
4030
  __decorateClass([
3929
- (0, import_typeorm32.Column)({ name: "user_id", type: "integer", nullable: true }),
3930
- (0, import_typeorm32.Index)()
4031
+ (0, import_typeorm33.Column)({ name: "user_id", type: "integer", nullable: true }),
4032
+ (0, import_typeorm33.Index)()
3931
4033
  ], FreelancerProject.prototype, "userId", 2);
3932
4034
  __decorateClass([
3933
- (0, import_typeorm32.ManyToOne)(() => User, (user) => user.freelancerProject),
3934
- (0, import_typeorm32.JoinColumn)({ name: "user_id" })
4035
+ (0, import_typeorm33.ManyToOne)(() => User, (user) => user.freelancerProject),
4036
+ (0, import_typeorm33.JoinColumn)({ name: "user_id" })
3935
4037
  ], FreelancerProject.prototype, "user", 2);
3936
4038
  __decorateClass([
3937
- (0, import_typeorm32.Column)({ name: "project_name", type: "varchar", nullable: true })
4039
+ (0, import_typeorm33.Column)({ name: "project_name", type: "varchar", nullable: true })
3938
4040
  ], FreelancerProject.prototype, "projectName", 2);
3939
4041
  __decorateClass([
3940
- (0, import_typeorm32.Column)({ name: "start_date", type: "date", nullable: true })
4042
+ (0, import_typeorm33.Column)({ name: "start_date", type: "date", nullable: true })
3941
4043
  ], FreelancerProject.prototype, "startDate", 2);
3942
4044
  __decorateClass([
3943
- (0, import_typeorm32.Column)({ name: "end_date", type: "date", nullable: true })
4045
+ (0, import_typeorm33.Column)({ name: "end_date", type: "date", nullable: true })
3944
4046
  ], FreelancerProject.prototype, "endDate", 2);
3945
4047
  __decorateClass([
3946
- (0, import_typeorm32.Column)({ name: "client_name", type: "varchar", nullable: true })
4048
+ (0, import_typeorm33.Column)({ name: "client_name", type: "varchar", nullable: true })
3947
4049
  ], FreelancerProject.prototype, "clientName", 2);
3948
4050
  __decorateClass([
3949
- (0, import_typeorm32.Column)({ name: "git_link", type: "varchar", nullable: true })
4051
+ (0, import_typeorm33.Column)({ name: "git_link", type: "varchar", nullable: true })
3950
4052
  ], FreelancerProject.prototype, "gitLink", 2);
3951
4053
  __decorateClass([
3952
- (0, import_typeorm32.Column)({ name: "description", type: "varchar", nullable: true })
4054
+ (0, import_typeorm33.Column)({ name: "description", type: "varchar", nullable: true })
3953
4055
  ], FreelancerProject.prototype, "description", 2);
3954
4056
  FreelancerProject = __decorateClass([
3955
- (0, import_typeorm32.Entity)("freelancer_projects")
4057
+ (0, import_typeorm33.Entity)("freelancer_projects")
3956
4058
  ], FreelancerProject);
3957
4059
 
3958
4060
  // src/entities/freelancer-casestudy.entity.ts
3959
- var import_typeorm33 = require("typeorm");
4061
+ var import_typeorm34 = require("typeorm");
3960
4062
  var FreelancerCaseStudy = class extends BaseEntity {
3961
4063
  };
3962
4064
  // individual index to find case study by user
3963
4065
  __decorateClass([
3964
- (0, import_typeorm33.Column)({ name: "user_id", type: "integer", nullable: true }),
3965
- (0, import_typeorm33.Index)()
4066
+ (0, import_typeorm34.Column)({ name: "user_id", type: "integer", nullable: true }),
4067
+ (0, import_typeorm34.Index)()
3966
4068
  ], FreelancerCaseStudy.prototype, "userId", 2);
3967
4069
  __decorateClass([
3968
- (0, import_typeorm33.ManyToOne)(() => User, (user) => user.freelancerCaseStudy),
3969
- (0, import_typeorm33.JoinColumn)({ name: "user_id" })
4070
+ (0, import_typeorm34.ManyToOne)(() => User, (user) => user.freelancerCaseStudy),
4071
+ (0, import_typeorm34.JoinColumn)({ name: "user_id" })
3970
4072
  ], FreelancerCaseStudy.prototype, "user", 2);
3971
4073
  __decorateClass([
3972
- (0, import_typeorm33.Column)({ name: "project_name", type: "varchar", nullable: true })
4074
+ (0, import_typeorm34.Column)({ name: "project_name", type: "varchar", nullable: true })
3973
4075
  ], FreelancerCaseStudy.prototype, "projectName", 2);
3974
4076
  __decorateClass([
3975
- (0, import_typeorm33.Column)({ name: "case_study_link", type: "varchar", nullable: true })
4077
+ (0, import_typeorm34.Column)({ name: "case_study_link", type: "varchar", nullable: true })
3976
4078
  ], FreelancerCaseStudy.prototype, "caseStudyLink", 2);
3977
4079
  __decorateClass([
3978
- (0, import_typeorm33.Column)({ name: "description", type: "varchar", nullable: true })
4080
+ (0, import_typeorm34.Column)({ name: "description", type: "varchar", nullable: true })
3979
4081
  ], FreelancerCaseStudy.prototype, "description", 2);
3980
4082
  FreelancerCaseStudy = __decorateClass([
3981
- (0, import_typeorm33.Entity)("freelancer_case_studies")
4083
+ (0, import_typeorm34.Entity)("freelancer_case_studies")
3982
4084
  ], FreelancerCaseStudy);
3983
4085
 
3984
4086
  // src/entities/freelancer-skill.entity.ts
3985
- var import_typeorm34 = require("typeorm");
4087
+ var import_typeorm35 = require("typeorm");
3986
4088
  var FreelancerSkill = class extends BaseEntity {
3987
4089
  };
3988
4090
  // individual index to find core skills by user
3989
4091
  __decorateClass([
3990
- (0, import_typeorm34.Column)({ name: "user_id", type: "integer", nullable: true }),
3991
- (0, import_typeorm34.Index)()
4092
+ (0, import_typeorm35.Column)({ name: "user_id", type: "integer", nullable: true }),
4093
+ (0, import_typeorm35.Index)()
3992
4094
  ], FreelancerSkill.prototype, "userId", 2);
3993
4095
  __decorateClass([
3994
- (0, import_typeorm34.ManyToOne)(() => User, (user) => user.freelancerSkills),
3995
- (0, import_typeorm34.JoinColumn)({ name: "user_id" })
4096
+ (0, import_typeorm35.ManyToOne)(() => User, (user) => user.freelancerSkills),
4097
+ (0, import_typeorm35.JoinColumn)({ name: "user_id" })
3996
4098
  ], FreelancerSkill.prototype, "user", 2);
3997
4099
  __decorateClass([
3998
- (0, import_typeorm34.Column)({ name: "skill_name", type: "varchar", nullable: true })
4100
+ (0, import_typeorm35.Column)({ name: "skill_name", type: "varchar", nullable: true })
3999
4101
  ], FreelancerSkill.prototype, "skillName", 2);
4000
4102
  FreelancerSkill = __decorateClass([
4001
- (0, import_typeorm34.Entity)("freelancer_skills")
4103
+ (0, import_typeorm35.Entity)("freelancer_skills")
4002
4104
  ], FreelancerSkill);
4003
4105
 
4004
4106
  // src/entities/freelancer-tool.entity.ts
4005
- var import_typeorm35 = require("typeorm");
4107
+ var import_typeorm36 = require("typeorm");
4006
4108
  var FreelancerTool = class extends BaseEntity {
4007
4109
  };
4008
4110
  // individual index to find tool by user
4009
4111
  __decorateClass([
4010
- (0, import_typeorm35.Column)({ name: "user_id", type: "integer", nullable: true }),
4011
- (0, import_typeorm35.Index)()
4112
+ (0, import_typeorm36.Column)({ name: "user_id", type: "integer", nullable: true }),
4113
+ (0, import_typeorm36.Index)()
4012
4114
  ], FreelancerTool.prototype, "userId", 2);
4013
4115
  __decorateClass([
4014
- (0, import_typeorm35.ManyToOne)(() => User, (user) => user.freelancerTool),
4015
- (0, import_typeorm35.JoinColumn)({ name: "user_id" })
4116
+ (0, import_typeorm36.ManyToOne)(() => User, (user) => user.freelancerTool),
4117
+ (0, import_typeorm36.JoinColumn)({ name: "user_id" })
4016
4118
  ], FreelancerTool.prototype, "user", 2);
4017
4119
  __decorateClass([
4018
- (0, import_typeorm35.Column)({ name: "tool_name", type: "varchar", nullable: true })
4120
+ (0, import_typeorm36.Column)({ name: "tool_name", type: "varchar", nullable: true })
4019
4121
  ], FreelancerTool.prototype, "toolName", 2);
4020
4122
  FreelancerTool = __decorateClass([
4021
- (0, import_typeorm35.Entity)("freelancer_tools")
4123
+ (0, import_typeorm36.Entity)("freelancer_tools")
4022
4124
  ], FreelancerTool);
4023
4125
 
4024
4126
  // src/entities/freelancer-framework.entity.ts
4025
- var import_typeorm36 = require("typeorm");
4127
+ var import_typeorm37 = require("typeorm");
4026
4128
  var FreelancerFramework = class extends BaseEntity {
4027
4129
  };
4028
4130
  // individual index to find framework by user
4029
4131
  __decorateClass([
4030
- (0, import_typeorm36.Column)({ name: "user_id", type: "integer", nullable: true }),
4031
- (0, import_typeorm36.Index)()
4132
+ (0, import_typeorm37.Column)({ name: "user_id", type: "integer", nullable: true }),
4133
+ (0, import_typeorm37.Index)()
4032
4134
  ], FreelancerFramework.prototype, "userId", 2);
4033
4135
  __decorateClass([
4034
- (0, import_typeorm36.ManyToOne)(() => User, (user) => user.freelancerFramework),
4035
- (0, import_typeorm36.JoinColumn)({ name: "user_id" })
4136
+ (0, import_typeorm37.ManyToOne)(() => User, (user) => user.freelancerFramework),
4137
+ (0, import_typeorm37.JoinColumn)({ name: "user_id" })
4036
4138
  ], FreelancerFramework.prototype, "user", 2);
4037
4139
  __decorateClass([
4038
- (0, import_typeorm36.Column)({ name: "framework_name", type: "varchar", nullable: true })
4140
+ (0, import_typeorm37.Column)({ name: "framework_name", type: "varchar", nullable: true })
4039
4141
  ], FreelancerFramework.prototype, "frameworkName", 2);
4040
4142
  FreelancerFramework = __decorateClass([
4041
- (0, import_typeorm36.Entity)("freelancer_frameworks")
4143
+ (0, import_typeorm37.Entity)("freelancer_frameworks")
4042
4144
  ], FreelancerFramework);
4043
4145
 
4044
4146
  // src/entities/freelancer-assessment.entity.ts
4045
- var import_typeorm37 = require("typeorm");
4147
+ var import_typeorm38 = require("typeorm");
4046
4148
  var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
4047
4149
  AssessmentStatusEnum2["NOT_ATTEMPTED"] = "NOT_ATTEMPTED";
4048
4150
  AssessmentStatusEnum2["ACTIVE"] = "ACTIVE";
@@ -4058,30 +4160,30 @@ var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
4058
4160
  var FreelancerAssessment = class extends BaseEntity {
4059
4161
  };
4060
4162
  __decorateClass([
4061
- (0, import_typeorm37.Column)({ name: "user_id", type: "integer", nullable: true }),
4062
- (0, import_typeorm37.Index)()
4163
+ (0, import_typeorm38.Column)({ name: "user_id", type: "integer", nullable: true }),
4164
+ (0, import_typeorm38.Index)()
4063
4165
  ], FreelancerAssessment.prototype, "userId", 2);
4064
4166
  __decorateClass([
4065
- (0, import_typeorm37.ManyToOne)(() => User, (user) => user.assessments),
4066
- (0, import_typeorm37.JoinColumn)({ name: "user_id" })
4167
+ (0, import_typeorm38.ManyToOne)(() => User, (user) => user.assessments),
4168
+ (0, import_typeorm38.JoinColumn)({ name: "user_id" })
4067
4169
  ], FreelancerAssessment.prototype, "user", 2);
4068
4170
  __decorateClass([
4069
- (0, import_typeorm37.Column)({ name: "interview_id", type: "varchar", nullable: true })
4171
+ (0, import_typeorm38.Column)({ name: "interview_id", type: "varchar", nullable: true })
4070
4172
  ], FreelancerAssessment.prototype, "interviewId", 2);
4071
4173
  __decorateClass([
4072
- (0, import_typeorm37.Column)({ name: "interview_link", type: "text", nullable: true })
4174
+ (0, import_typeorm38.Column)({ name: "interview_link", type: "text", nullable: true })
4073
4175
  ], FreelancerAssessment.prototype, "interviewLink", 2);
4074
4176
  __decorateClass([
4075
- (0, import_typeorm37.Column)({ name: "recording_link", type: "text", nullable: true })
4177
+ (0, import_typeorm38.Column)({ name: "recording_link", type: "text", nullable: true })
4076
4178
  ], FreelancerAssessment.prototype, "recordingLink", 2);
4077
4179
  __decorateClass([
4078
- (0, import_typeorm37.Column)({ name: "iframe_response", type: "jsonb", nullable: true })
4180
+ (0, import_typeorm38.Column)({ name: "iframe_response", type: "jsonb", nullable: true })
4079
4181
  ], FreelancerAssessment.prototype, "iframeResponse", 2);
4080
4182
  __decorateClass([
4081
- (0, import_typeorm37.Column)({ name: "interview_summary", type: "jsonb", nullable: true })
4183
+ (0, import_typeorm38.Column)({ name: "interview_summary", type: "jsonb", nullable: true })
4082
4184
  ], FreelancerAssessment.prototype, "interviewSummary", 2);
4083
4185
  __decorateClass([
4084
- (0, import_typeorm37.Column)({
4186
+ (0, import_typeorm38.Column)({
4085
4187
  name: "status",
4086
4188
  type: "enum",
4087
4189
  enum: AssessmentStatusEnum,
@@ -4089,11 +4191,11 @@ __decorateClass([
4089
4191
  })
4090
4192
  ], FreelancerAssessment.prototype, "status", 2);
4091
4193
  FreelancerAssessment = __decorateClass([
4092
- (0, import_typeorm37.Entity)("freelancer_assessments")
4194
+ (0, import_typeorm38.Entity)("freelancer_assessments")
4093
4195
  ], FreelancerAssessment);
4094
4196
 
4095
4197
  // src/entities/freelancer-declaration.entity.ts
4096
- var import_typeorm38 = require("typeorm");
4198
+ var import_typeorm39 = require("typeorm");
4097
4199
  var DocumentType = /* @__PURE__ */ ((DocumentType2) => {
4098
4200
  DocumentType2["AADHAAR"] = "AADHAAR_CARD";
4099
4201
  DocumentType2["PASSPORT"] = "PASSPORT";
@@ -4105,15 +4207,15 @@ var FreelancerDeclaration = class extends BaseEntity {
4105
4207
  };
4106
4208
  // individual index to find declaration by user
4107
4209
  __decorateClass([
4108
- (0, import_typeorm38.Column)({ name: "user_id", type: "integer", nullable: true }),
4109
- (0, import_typeorm38.Index)()
4210
+ (0, import_typeorm39.Column)({ name: "user_id", type: "integer", nullable: true }),
4211
+ (0, import_typeorm39.Index)()
4110
4212
  ], FreelancerDeclaration.prototype, "userId", 2);
4111
4213
  __decorateClass([
4112
- (0, import_typeorm38.ManyToOne)(() => User, (user) => user.freelancerDeclaration),
4113
- (0, import_typeorm38.JoinColumn)({ name: "user_id" })
4214
+ (0, import_typeorm39.ManyToOne)(() => User, (user) => user.freelancerDeclaration),
4215
+ (0, import_typeorm39.JoinColumn)({ name: "user_id" })
4114
4216
  ], FreelancerDeclaration.prototype, "user", 2);
4115
4217
  __decorateClass([
4116
- (0, import_typeorm38.Column)({
4218
+ (0, import_typeorm39.Column)({
4117
4219
  name: "document_type",
4118
4220
  type: "enum",
4119
4221
  enum: DocumentType,
@@ -4121,144 +4223,144 @@ __decorateClass([
4121
4223
  })
4122
4224
  ], FreelancerDeclaration.prototype, "documentType", 2);
4123
4225
  __decorateClass([
4124
- (0, import_typeorm38.Column)({ name: "front_document_url", type: "varchar", nullable: true })
4226
+ (0, import_typeorm39.Column)({ name: "front_document_url", type: "varchar", nullable: true })
4125
4227
  ], FreelancerDeclaration.prototype, "frontDocumentUrl", 2);
4126
4228
  __decorateClass([
4127
- (0, import_typeorm38.Column)({ name: "back_document_url", type: "varchar", nullable: true })
4229
+ (0, import_typeorm39.Column)({ name: "back_document_url", type: "varchar", nullable: true })
4128
4230
  ], FreelancerDeclaration.prototype, "backDocumentUrl", 2);
4129
4231
  __decorateClass([
4130
- (0, import_typeorm38.Column)({ name: "declaration_accepted", type: "boolean", default: false })
4232
+ (0, import_typeorm39.Column)({ name: "declaration_accepted", type: "boolean", default: false })
4131
4233
  ], FreelancerDeclaration.prototype, "declarationAccepted", 2);
4132
4234
  __decorateClass([
4133
- (0, import_typeorm38.Column)({ name: "digital_signature_url", type: "varchar", nullable: true })
4235
+ (0, import_typeorm39.Column)({ name: "digital_signature_url", type: "varchar", nullable: true })
4134
4236
  ], FreelancerDeclaration.prototype, "digitalSignatureUrl", 2);
4135
4237
  FreelancerDeclaration = __decorateClass([
4136
- (0, import_typeorm38.Entity)("freelancer_declaration")
4238
+ (0, import_typeorm39.Entity)("freelancer_declaration")
4137
4239
  ], FreelancerDeclaration);
4138
4240
 
4139
4241
  // src/entities/company-members-roles.entity.ts
4140
- var import_typeorm42 = require("typeorm");
4242
+ var import_typeorm43 = require("typeorm");
4141
4243
 
4142
4244
  // src/entities/company-role.entity.ts
4143
- var import_typeorm41 = require("typeorm");
4245
+ var import_typeorm42 = require("typeorm");
4144
4246
 
4145
4247
  // src/entities/company-role-permission.entity.ts
4146
- var import_typeorm40 = require("typeorm");
4248
+ var import_typeorm41 = require("typeorm");
4147
4249
 
4148
4250
  // src/entities/permission.entity.ts
4149
- var import_typeorm39 = require("typeorm");
4251
+ var import_typeorm40 = require("typeorm");
4150
4252
  var Permission = class extends BaseEntity {
4151
4253
  };
4152
4254
  __decorateClass([
4153
- (0, import_typeorm39.Column)({ name: "name", type: "varchar", nullable: true })
4255
+ (0, import_typeorm40.Column)({ name: "name", type: "varchar", nullable: true })
4154
4256
  ], Permission.prototype, "name", 2);
4155
4257
  __decorateClass([
4156
- (0, import_typeorm39.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
4157
- (0, import_typeorm39.Index)()
4258
+ (0, import_typeorm40.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
4259
+ (0, import_typeorm40.Index)()
4158
4260
  ], Permission.prototype, "slug", 2);
4159
4261
  __decorateClass([
4160
- (0, import_typeorm39.Column)({ name: "description", type: "text", nullable: true })
4262
+ (0, import_typeorm40.Column)({ name: "description", type: "text", nullable: true })
4161
4263
  ], Permission.prototype, "description", 2);
4162
4264
  __decorateClass([
4163
- (0, import_typeorm39.Column)({ name: "is_active", type: "boolean", default: true })
4265
+ (0, import_typeorm40.Column)({ name: "is_active", type: "boolean", default: true })
4164
4266
  ], Permission.prototype, "isActive", 2);
4165
4267
  Permission = __decorateClass([
4166
- (0, import_typeorm39.Entity)("permissions")
4268
+ (0, import_typeorm40.Entity)("permissions")
4167
4269
  ], Permission);
4168
4270
 
4169
4271
  // src/entities/company-role-permission.entity.ts
4170
4272
  var CompanyRolePermission = class extends BaseEntity {
4171
4273
  };
4172
4274
  __decorateClass([
4173
- (0, import_typeorm40.Column)({ name: "company_role_id", type: "integer", nullable: true }),
4174
- (0, import_typeorm40.Index)()
4275
+ (0, import_typeorm41.Column)({ name: "company_role_id", type: "integer", nullable: true }),
4276
+ (0, import_typeorm41.Index)()
4175
4277
  ], CompanyRolePermission.prototype, "companyRoleId", 2);
4176
4278
  __decorateClass([
4177
- (0, import_typeorm40.ManyToOne)(() => CompanyRole, (role) => role.rolePermissions, {
4279
+ (0, import_typeorm41.ManyToOne)(() => CompanyRole, (role) => role.rolePermissions, {
4178
4280
  onDelete: "CASCADE"
4179
4281
  }),
4180
- (0, import_typeorm40.JoinColumn)({ name: "company_role_id" })
4282
+ (0, import_typeorm41.JoinColumn)({ name: "company_role_id" })
4181
4283
  ], CompanyRolePermission.prototype, "companyRole", 2);
4182
4284
  __decorateClass([
4183
- (0, import_typeorm40.Column)({ name: "permission_id", type: "integer" }),
4184
- (0, import_typeorm40.Index)()
4285
+ (0, import_typeorm41.Column)({ name: "permission_id", type: "integer" }),
4286
+ (0, import_typeorm41.Index)()
4185
4287
  ], CompanyRolePermission.prototype, "permissionId", 2);
4186
4288
  __decorateClass([
4187
- (0, import_typeorm40.ManyToOne)(() => Permission, { onDelete: "CASCADE" }),
4188
- (0, import_typeorm40.JoinColumn)({ name: "permission_id" })
4289
+ (0, import_typeorm41.ManyToOne)(() => Permission, { onDelete: "CASCADE" }),
4290
+ (0, import_typeorm41.JoinColumn)({ name: "permission_id" })
4189
4291
  ], CompanyRolePermission.prototype, "permission", 2);
4190
4292
  __decorateClass([
4191
- (0, import_typeorm40.Column)({ name: "assigned_by", type: "integer", nullable: true })
4293
+ (0, import_typeorm41.Column)({ name: "assigned_by", type: "integer", nullable: true })
4192
4294
  ], CompanyRolePermission.prototype, "assignedBy", 2);
4193
4295
  CompanyRolePermission = __decorateClass([
4194
- (0, import_typeorm40.Entity)("company_role_permissions")
4296
+ (0, import_typeorm41.Entity)("company_role_permissions")
4195
4297
  ], CompanyRolePermission);
4196
4298
 
4197
4299
  // src/entities/company-role.entity.ts
4198
4300
  var CompanyRole = class extends BaseEntity {
4199
4301
  };
4200
4302
  __decorateClass([
4201
- (0, import_typeorm41.Column)({ name: "user_id", type: "integer", nullable: true }),
4202
- (0, import_typeorm41.Index)()
4303
+ (0, import_typeorm42.Column)({ name: "user_id", type: "integer", nullable: true }),
4304
+ (0, import_typeorm42.Index)()
4203
4305
  ], CompanyRole.prototype, "userId", 2);
4204
4306
  __decorateClass([
4205
- (0, import_typeorm41.ManyToOne)(() => User, (user) => user.otps),
4206
- (0, import_typeorm41.JoinColumn)({ name: "user_id" })
4307
+ (0, import_typeorm42.ManyToOne)(() => User, (user) => user.otps),
4308
+ (0, import_typeorm42.JoinColumn)({ name: "user_id" })
4207
4309
  ], CompanyRole.prototype, "user", 2);
4208
4310
  __decorateClass([
4209
- (0, import_typeorm41.Column)({ name: "name", type: "varchar" })
4311
+ (0, import_typeorm42.Column)({ name: "name", type: "varchar" })
4210
4312
  ], CompanyRole.prototype, "name", 2);
4211
4313
  __decorateClass([
4212
- (0, import_typeorm41.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
4213
- (0, import_typeorm41.Index)()
4314
+ (0, import_typeorm42.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
4315
+ (0, import_typeorm42.Index)()
4214
4316
  ], CompanyRole.prototype, "slug", 2);
4215
4317
  __decorateClass([
4216
- (0, import_typeorm41.Column)({ name: "description", type: "text", nullable: true })
4318
+ (0, import_typeorm42.Column)({ name: "description", type: "text", nullable: true })
4217
4319
  ], CompanyRole.prototype, "description", 2);
4218
4320
  __decorateClass([
4219
- (0, import_typeorm41.Column)({ name: "is_active", type: "boolean", default: true })
4321
+ (0, import_typeorm42.Column)({ name: "is_active", type: "boolean", default: true })
4220
4322
  ], CompanyRole.prototype, "isActive", 2);
4221
4323
  __decorateClass([
4222
- (0, import_typeorm41.OneToMany)(() => CompanyRolePermission, (rp) => rp.companyRole)
4324
+ (0, import_typeorm42.OneToMany)(() => CompanyRolePermission, (rp) => rp.companyRole)
4223
4325
  ], CompanyRole.prototype, "rolePermissions", 2);
4224
4326
  CompanyRole = __decorateClass([
4225
- (0, import_typeorm41.Entity)("company_roles")
4327
+ (0, import_typeorm42.Entity)("company_roles")
4226
4328
  ], CompanyRole);
4227
4329
 
4228
4330
  // src/entities/company-members-roles.entity.ts
4229
4331
  var CompanyMemberRole = class extends BaseEntity {
4230
4332
  };
4231
4333
  __decorateClass([
4232
- (0, import_typeorm42.Column)({ name: "user_id", type: "integer", nullable: true }),
4233
- (0, import_typeorm42.Index)()
4334
+ (0, import_typeorm43.Column)({ name: "user_id", type: "integer", nullable: true }),
4335
+ (0, import_typeorm43.Index)()
4234
4336
  ], CompanyMemberRole.prototype, "userId", 2);
4235
4337
  __decorateClass([
4236
- (0, import_typeorm42.ManyToOne)(() => User),
4237
- (0, import_typeorm42.JoinColumn)({ name: "user_id" })
4338
+ (0, import_typeorm43.ManyToOne)(() => User),
4339
+ (0, import_typeorm43.JoinColumn)({ name: "user_id" })
4238
4340
  ], CompanyMemberRole.prototype, "user", 2);
4239
4341
  __decorateClass([
4240
- (0, import_typeorm42.ManyToOne)(() => CompanyRole),
4241
- (0, import_typeorm42.JoinColumn)({ name: "company_role_id" })
4342
+ (0, import_typeorm43.ManyToOne)(() => CompanyRole),
4343
+ (0, import_typeorm43.JoinColumn)({ name: "company_role_id" })
4242
4344
  ], CompanyMemberRole.prototype, "role", 2);
4243
4345
  __decorateClass([
4244
- (0, import_typeorm42.Column)({ name: "company_role_id", type: "integer", nullable: true }),
4245
- (0, import_typeorm42.Index)()
4346
+ (0, import_typeorm43.Column)({ name: "company_role_id", type: "integer", nullable: true }),
4347
+ (0, import_typeorm43.Index)()
4246
4348
  ], CompanyMemberRole.prototype, "companyRoleId", 2);
4247
4349
  __decorateClass([
4248
- (0, import_typeorm42.Column)({ name: "assigned_by", type: "integer", nullable: true })
4350
+ (0, import_typeorm43.Column)({ name: "assigned_by", type: "integer", nullable: true })
4249
4351
  ], CompanyMemberRole.prototype, "assignedBy", 2);
4250
4352
  CompanyMemberRole = __decorateClass([
4251
- (0, import_typeorm42.Entity)("company_member_roles")
4353
+ (0, import_typeorm43.Entity)("company_member_roles")
4252
4354
  ], CompanyMemberRole);
4253
4355
 
4254
4356
  // src/entities/assessment-answer.entity.ts
4255
- var import_typeorm45 = require("typeorm");
4357
+ var import_typeorm46 = require("typeorm");
4256
4358
 
4257
4359
  // src/entities/assessment-question.entity.ts
4258
- var import_typeorm44 = require("typeorm");
4360
+ var import_typeorm45 = require("typeorm");
4259
4361
 
4260
4362
  // src/entities/assessment-question-option.entity.ts
4261
- var import_typeorm43 = require("typeorm");
4363
+ var import_typeorm44 = require("typeorm");
4262
4364
  var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
4263
4365
  AnswerTypeEnum2["CORRECT"] = "CORRECT";
4264
4366
  AnswerTypeEnum2["ACCEPTABLE"] = "ACCEPTABLE";
@@ -4268,21 +4370,21 @@ var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
4268
4370
  var AssessmetQuestionOption = class extends BaseEntity {
4269
4371
  };
4270
4372
  __decorateClass([
4271
- (0, import_typeorm43.Column)({ name: "question_id", type: "integer", nullable: true }),
4272
- (0, import_typeorm43.Index)()
4373
+ (0, import_typeorm44.Column)({ name: "question_id", type: "integer", nullable: true }),
4374
+ (0, import_typeorm44.Index)()
4273
4375
  ], AssessmetQuestionOption.prototype, "questionId", 2);
4274
4376
  __decorateClass([
4275
- (0, import_typeorm43.ManyToOne)(
4377
+ (0, import_typeorm44.ManyToOne)(
4276
4378
  () => AssessmetQuestion,
4277
4379
  (assessmentQuestion) => assessmentQuestion.options
4278
4380
  ),
4279
- (0, import_typeorm43.JoinColumn)({ name: "question_id" })
4381
+ (0, import_typeorm44.JoinColumn)({ name: "question_id" })
4280
4382
  ], AssessmetQuestionOption.prototype, "question", 2);
4281
4383
  __decorateClass([
4282
- (0, import_typeorm43.Column)({ name: "text", type: "varchar", nullable: true })
4384
+ (0, import_typeorm44.Column)({ name: "text", type: "varchar", nullable: true })
4283
4385
  ], AssessmetQuestionOption.prototype, "text", 2);
4284
4386
  __decorateClass([
4285
- (0, import_typeorm43.Column)({
4387
+ (0, import_typeorm44.Column)({
4286
4388
  name: "answer_type",
4287
4389
  type: "enum",
4288
4390
  enum: AnswerTypeEnum,
@@ -4290,13 +4392,13 @@ __decorateClass([
4290
4392
  })
4291
4393
  ], AssessmetQuestionOption.prototype, "answerType", 2);
4292
4394
  __decorateClass([
4293
- (0, import_typeorm43.Column)({ name: "is_active", type: "boolean", default: true })
4395
+ (0, import_typeorm44.Column)({ name: "is_active", type: "boolean", default: true })
4294
4396
  ], AssessmetQuestionOption.prototype, "isActive", 2);
4295
4397
  __decorateClass([
4296
- (0, import_typeorm43.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
4398
+ (0, import_typeorm44.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
4297
4399
  ], AssessmetQuestionOption.prototype, "selectedOptions", 2);
4298
4400
  AssessmetQuestionOption = __decorateClass([
4299
- (0, import_typeorm43.Entity)("assessment_question_options")
4401
+ (0, import_typeorm44.Entity)("assessment_question_options")
4300
4402
  ], AssessmetQuestionOption);
4301
4403
 
4302
4404
  // src/entities/assessment-question.entity.ts
@@ -4308,10 +4410,10 @@ var QuestionForEnum = /* @__PURE__ */ ((QuestionForEnum2) => {
4308
4410
  var AssessmetQuestion = class extends BaseEntity {
4309
4411
  };
4310
4412
  __decorateClass([
4311
- (0, import_typeorm44.Column)({ name: "text", type: "varchar", nullable: true })
4413
+ (0, import_typeorm45.Column)({ name: "text", type: "varchar", nullable: true })
4312
4414
  ], AssessmetQuestion.prototype, "text", 2);
4313
4415
  __decorateClass([
4314
- (0, import_typeorm44.Column)({
4416
+ (0, import_typeorm45.Column)({
4315
4417
  name: "question_for",
4316
4418
  type: "enum",
4317
4419
  enum: QuestionForEnum,
@@ -4319,16 +4421,16 @@ __decorateClass([
4319
4421
  })
4320
4422
  ], AssessmetQuestion.prototype, "questionFor", 2);
4321
4423
  __decorateClass([
4322
- (0, import_typeorm44.Column)({ name: "is_active", type: "boolean", default: true })
4424
+ (0, import_typeorm45.Column)({ name: "is_active", type: "boolean", default: true })
4323
4425
  ], AssessmetQuestion.prototype, "isActive", 2);
4324
4426
  __decorateClass([
4325
- (0, import_typeorm44.OneToMany)(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
4427
+ (0, import_typeorm45.OneToMany)(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
4326
4428
  ], AssessmetQuestion.prototype, "options", 2);
4327
4429
  __decorateClass([
4328
- (0, import_typeorm44.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
4430
+ (0, import_typeorm45.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
4329
4431
  ], AssessmetQuestion.prototype, "answers", 2);
4330
4432
  AssessmetQuestion = __decorateClass([
4331
- (0, import_typeorm44.Entity)("assessment_questions")
4433
+ (0, import_typeorm45.Entity)("assessment_questions")
4332
4434
  ], AssessmetQuestion);
4333
4435
 
4334
4436
  // src/entities/assessment-answer.entity.ts
@@ -4341,118 +4443,118 @@ var SelectedAnswerTypeEnum = /* @__PURE__ */ ((SelectedAnswerTypeEnum2) => {
4341
4443
  var AssessmentAnswer = class extends BaseEntity {
4342
4444
  };
4343
4445
  __decorateClass([
4344
- (0, import_typeorm45.Column)({ name: "user_id", type: "integer" }),
4345
- (0, import_typeorm45.Index)()
4446
+ (0, import_typeorm46.Column)({ name: "user_id", type: "integer" }),
4447
+ (0, import_typeorm46.Index)()
4346
4448
  ], AssessmentAnswer.prototype, "userId", 2);
4347
4449
  __decorateClass([
4348
- (0, import_typeorm45.ManyToOne)(() => User, (user) => user.assessmentAnswers),
4349
- (0, import_typeorm45.JoinColumn)({ name: "user_id" })
4450
+ (0, import_typeorm46.ManyToOne)(() => User, (user) => user.assessmentAnswers),
4451
+ (0, import_typeorm46.JoinColumn)({ name: "user_id" })
4350
4452
  ], AssessmentAnswer.prototype, "user", 2);
4351
4453
  __decorateClass([
4352
- (0, import_typeorm45.Column)({ name: "question_id", type: "integer" }),
4353
- (0, import_typeorm45.Index)()
4454
+ (0, import_typeorm46.Column)({ name: "question_id", type: "integer" }),
4455
+ (0, import_typeorm46.Index)()
4354
4456
  ], AssessmentAnswer.prototype, "questionId", 2);
4355
4457
  __decorateClass([
4356
- (0, import_typeorm45.ManyToOne)(
4458
+ (0, import_typeorm46.ManyToOne)(
4357
4459
  () => AssessmetQuestion,
4358
4460
  (assessmentQuestion) => assessmentQuestion.answers
4359
4461
  ),
4360
- (0, import_typeorm45.JoinColumn)({ name: "question_id" })
4462
+ (0, import_typeorm46.JoinColumn)({ name: "question_id" })
4361
4463
  ], AssessmentAnswer.prototype, "question", 2);
4362
4464
  __decorateClass([
4363
- (0, import_typeorm45.Column)({ name: "selected_option_id", type: "integer" }),
4364
- (0, import_typeorm45.Index)()
4465
+ (0, import_typeorm46.Column)({ name: "selected_option_id", type: "integer" }),
4466
+ (0, import_typeorm46.Index)()
4365
4467
  ], AssessmentAnswer.prototype, "selectedOptionId", 2);
4366
4468
  __decorateClass([
4367
- (0, import_typeorm45.ManyToOne)(
4469
+ (0, import_typeorm46.ManyToOne)(
4368
4470
  () => AssessmetQuestionOption,
4369
4471
  (assessmentQuestionOption) => assessmentQuestionOption.selectedOptions
4370
4472
  ),
4371
- (0, import_typeorm45.JoinColumn)({ name: "selected_option_id" })
4473
+ (0, import_typeorm46.JoinColumn)({ name: "selected_option_id" })
4372
4474
  ], AssessmentAnswer.prototype, "option", 2);
4373
4475
  __decorateClass([
4374
- (0, import_typeorm45.Column)({
4476
+ (0, import_typeorm46.Column)({
4375
4477
  name: "selected_answer_type",
4376
4478
  type: "enum",
4377
4479
  enum: SelectedAnswerTypeEnum
4378
4480
  })
4379
4481
  ], AssessmentAnswer.prototype, "selectedAnswerType", 2);
4380
4482
  __decorateClass([
4381
- (0, import_typeorm45.Column)({ name: "score", type: "float" })
4483
+ (0, import_typeorm46.Column)({ name: "score", type: "float" })
4382
4484
  ], AssessmentAnswer.prototype, "score", 2);
4383
4485
  AssessmentAnswer = __decorateClass([
4384
- (0, import_typeorm45.Entity)("assessment_answers")
4486
+ (0, import_typeorm46.Entity)("assessment_answers")
4385
4487
  ], AssessmentAnswer);
4386
4488
 
4387
4489
  // src/entities/company-skill.entity.ts
4388
- var import_typeorm46 = require("typeorm");
4490
+ var import_typeorm47 = require("typeorm");
4389
4491
  var CompanySkill = class extends BaseEntity {
4390
4492
  };
4391
4493
  // individual index to find core skills by user
4392
4494
  __decorateClass([
4393
- (0, import_typeorm46.Column)({ name: "user_id", type: "integer", nullable: true }),
4394
- (0, import_typeorm46.Index)()
4495
+ (0, import_typeorm47.Column)({ name: "user_id", type: "integer", nullable: true }),
4496
+ (0, import_typeorm47.Index)()
4395
4497
  ], CompanySkill.prototype, "userId", 2);
4396
4498
  __decorateClass([
4397
- (0, import_typeorm46.ManyToOne)(() => User, (user) => user.freelancerSkills),
4398
- (0, import_typeorm46.JoinColumn)({ name: "user_id" })
4499
+ (0, import_typeorm47.ManyToOne)(() => User, (user) => user.freelancerSkills),
4500
+ (0, import_typeorm47.JoinColumn)({ name: "user_id" })
4399
4501
  ], CompanySkill.prototype, "user", 2);
4400
4502
  __decorateClass([
4401
- (0, import_typeorm46.Column)({ name: "skill_name", type: "varchar", nullable: true })
4503
+ (0, import_typeorm47.Column)({ name: "skill_name", type: "varchar", nullable: true })
4402
4504
  ], CompanySkill.prototype, "skillName", 2);
4403
4505
  CompanySkill = __decorateClass([
4404
- (0, import_typeorm46.Entity)("company_skills")
4506
+ (0, import_typeorm47.Entity)("company_skills")
4405
4507
  ], CompanySkill);
4406
4508
 
4407
4509
  // src/entities/admin-user-role.entity.ts
4408
- var import_typeorm50 = require("typeorm");
4510
+ var import_typeorm51 = require("typeorm");
4409
4511
 
4410
4512
  // src/entities/admin-role.entity.ts
4411
- var import_typeorm49 = require("typeorm");
4513
+ var import_typeorm50 = require("typeorm");
4412
4514
 
4413
4515
  // src/entities/admin-role-permission.entity.ts
4414
- var import_typeorm48 = require("typeorm");
4516
+ var import_typeorm49 = require("typeorm");
4415
4517
 
4416
4518
  // src/entities/admin-permission.entity.ts
4417
- var import_typeorm47 = require("typeorm");
4519
+ var import_typeorm48 = require("typeorm");
4418
4520
  var AdminPermission = class extends BaseEntity {
4419
4521
  };
4420
4522
  __decorateClass([
4421
- (0, import_typeorm47.Column)({ name: "permission_name", type: "varchar", nullable: true })
4523
+ (0, import_typeorm48.Column)({ name: "permission_name", type: "varchar", nullable: true })
4422
4524
  ], AdminPermission.prototype, "permissionName", 2);
4423
4525
  __decorateClass([
4424
- (0, import_typeorm47.Column)({
4526
+ (0, import_typeorm48.Column)({
4425
4527
  name: "permission_slug",
4426
4528
  type: "varchar",
4427
4529
  unique: true,
4428
4530
  nullable: true
4429
4531
  }),
4430
- (0, import_typeorm47.Index)()
4532
+ (0, import_typeorm48.Index)()
4431
4533
  ], AdminPermission.prototype, "permissionSlug", 2);
4432
4534
  __decorateClass([
4433
- (0, import_typeorm47.Column)({ name: "permission_description", type: "varchar", nullable: true })
4535
+ (0, import_typeorm48.Column)({ name: "permission_description", type: "varchar", nullable: true })
4434
4536
  ], AdminPermission.prototype, "permissionDescription", 2);
4435
4537
  __decorateClass([
4436
- (0, import_typeorm47.Column)({ name: "module", type: "varchar", nullable: true })
4538
+ (0, import_typeorm48.Column)({ name: "module", type: "varchar", nullable: true })
4437
4539
  ], AdminPermission.prototype, "module", 2);
4438
4540
  __decorateClass([
4439
- (0, import_typeorm47.Column)({ name: "is_active", type: "boolean", default: true })
4541
+ (0, import_typeorm48.Column)({ name: "is_active", type: "boolean", default: true })
4440
4542
  ], AdminPermission.prototype, "isActive", 2);
4441
4543
  __decorateClass([
4442
- (0, import_typeorm47.OneToMany)(
4544
+ (0, import_typeorm48.OneToMany)(
4443
4545
  () => AdminRolePermission,
4444
4546
  (adminRolePermission) => adminRolePermission.adminPermissions
4445
4547
  )
4446
4548
  ], AdminPermission.prototype, "adminRole", 2);
4447
4549
  AdminPermission = __decorateClass([
4448
- (0, import_typeorm47.Entity)("admin_permissions")
4550
+ (0, import_typeorm48.Entity)("admin_permissions")
4449
4551
  ], AdminPermission);
4450
4552
 
4451
4553
  // src/entities/admin-role-permission.entity.ts
4452
4554
  var AdminRolePermission = class extends BaseEntity {
4453
4555
  };
4454
4556
  __decorateClass([
4455
- (0, import_typeorm48.Column)({
4557
+ (0, import_typeorm49.Column)({
4456
4558
  name: "role_id",
4457
4559
  type: "int",
4458
4560
  nullable: true,
@@ -4460,11 +4562,11 @@ __decorateClass([
4460
4562
  })
4461
4563
  ], AdminRolePermission.prototype, "roleId", 2);
4462
4564
  __decorateClass([
4463
- (0, import_typeorm48.ManyToOne)(() => AdminRole),
4464
- (0, import_typeorm48.JoinColumn)({ name: "role_id" })
4565
+ (0, import_typeorm49.ManyToOne)(() => AdminRole),
4566
+ (0, import_typeorm49.JoinColumn)({ name: "role_id" })
4465
4567
  ], AdminRolePermission.prototype, "adminRole", 2);
4466
4568
  __decorateClass([
4467
- (0, import_typeorm48.Column)({
4569
+ (0, import_typeorm49.Column)({
4468
4570
  name: "permission_id",
4469
4571
  type: "int",
4470
4572
  nullable: true,
@@ -4472,47 +4574,47 @@ __decorateClass([
4472
4574
  })
4473
4575
  ], AdminRolePermission.prototype, "permissionId", 2);
4474
4576
  __decorateClass([
4475
- (0, import_typeorm48.ManyToOne)(() => AdminPermission),
4476
- (0, import_typeorm48.JoinColumn)({ name: "permission_id" })
4577
+ (0, import_typeorm49.ManyToOne)(() => AdminPermission),
4578
+ (0, import_typeorm49.JoinColumn)({ name: "permission_id" })
4477
4579
  ], AdminRolePermission.prototype, "adminPermissions", 2);
4478
4580
  AdminRolePermission = __decorateClass([
4479
- (0, import_typeorm48.Entity)("admin_role_permissions")
4581
+ (0, import_typeorm49.Entity)("admin_role_permissions")
4480
4582
  ], AdminRolePermission);
4481
4583
 
4482
4584
  // src/entities/admin-role.entity.ts
4483
4585
  var AdminRole = class extends BaseEntity {
4484
4586
  };
4485
4587
  __decorateClass([
4486
- (0, import_typeorm49.Column)({ name: "role_name", type: "varchar", nullable: true })
4588
+ (0, import_typeorm50.Column)({ name: "role_name", type: "varchar", nullable: true })
4487
4589
  ], AdminRole.prototype, "roleName", 2);
4488
4590
  __decorateClass([
4489
- (0, import_typeorm49.Column)({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
4490
- (0, import_typeorm49.Index)()
4591
+ (0, import_typeorm50.Column)({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
4592
+ (0, import_typeorm50.Index)()
4491
4593
  ], AdminRole.prototype, "roleSlug", 2);
4492
4594
  __decorateClass([
4493
- (0, import_typeorm49.Column)({ name: "role_description", type: "varchar", nullable: true })
4595
+ (0, import_typeorm50.Column)({ name: "role_description", type: "varchar", nullable: true })
4494
4596
  ], AdminRole.prototype, "roleDescription", 2);
4495
4597
  __decorateClass([
4496
- (0, import_typeorm49.Column)({ name: "is_active", type: "boolean", default: true })
4598
+ (0, import_typeorm50.Column)({ name: "is_active", type: "boolean", default: true })
4497
4599
  ], AdminRole.prototype, "isActive", 2);
4498
4600
  __decorateClass([
4499
- (0, import_typeorm49.OneToMany)(
4601
+ (0, import_typeorm50.OneToMany)(
4500
4602
  () => AdminRolePermission,
4501
4603
  (addminRolePermission) => addminRolePermission.adminRole
4502
4604
  )
4503
4605
  ], AdminRole.prototype, "adminRolePermission", 2);
4504
4606
  __decorateClass([
4505
- (0, import_typeorm49.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
4607
+ (0, import_typeorm50.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
4506
4608
  ], AdminRole.prototype, "userRoles", 2);
4507
4609
  AdminRole = __decorateClass([
4508
- (0, import_typeorm49.Entity)("admin_roles")
4610
+ (0, import_typeorm50.Entity)("admin_roles")
4509
4611
  ], AdminRole);
4510
4612
 
4511
4613
  // src/entities/admin-user-role.entity.ts
4512
4614
  var AdminUserRole = class extends BaseEntity {
4513
4615
  };
4514
4616
  __decorateClass([
4515
- (0, import_typeorm50.Column)({
4617
+ (0, import_typeorm51.Column)({
4516
4618
  name: "user_id",
4517
4619
  type: "int",
4518
4620
  nullable: true,
@@ -4520,11 +4622,11 @@ __decorateClass([
4520
4622
  })
4521
4623
  ], AdminUserRole.prototype, "userId", 2);
4522
4624
  __decorateClass([
4523
- (0, import_typeorm50.ManyToOne)(() => User),
4524
- (0, import_typeorm50.JoinColumn)({ name: "user_id" })
4625
+ (0, import_typeorm51.ManyToOne)(() => User),
4626
+ (0, import_typeorm51.JoinColumn)({ name: "user_id" })
4525
4627
  ], AdminUserRole.prototype, "user", 2);
4526
4628
  __decorateClass([
4527
- (0, import_typeorm50.Column)({
4629
+ (0, import_typeorm51.Column)({
4528
4630
  name: "role_id",
4529
4631
  type: "int",
4530
4632
  nullable: true,
@@ -4532,41 +4634,41 @@ __decorateClass([
4532
4634
  })
4533
4635
  ], AdminUserRole.prototype, "roleId", 2);
4534
4636
  __decorateClass([
4535
- (0, import_typeorm50.ManyToOne)(() => AdminRole),
4536
- (0, import_typeorm50.JoinColumn)({ name: "role_id" })
4637
+ (0, import_typeorm51.ManyToOne)(() => AdminRole),
4638
+ (0, import_typeorm51.JoinColumn)({ name: "role_id" })
4537
4639
  ], AdminUserRole.prototype, "adminRole", 2);
4538
4640
  AdminUserRole = __decorateClass([
4539
- (0, import_typeorm50.Entity)("admin_user_roles")
4641
+ (0, import_typeorm51.Entity)("admin_user_roles")
4540
4642
  ], AdminUserRole);
4541
4643
 
4542
4644
  // src/entities/freelancer-resume.entity.ts
4543
- var import_typeorm51 = require("typeorm");
4645
+ var import_typeorm52 = require("typeorm");
4544
4646
  var FreelancerResume = class extends BaseEntity {
4545
4647
  };
4546
4648
  // individual index to find profile by user
4547
4649
  __decorateClass([
4548
- (0, import_typeorm51.Column)({ name: "user_id", type: "integer", nullable: true }),
4549
- (0, import_typeorm51.Index)()
4650
+ (0, import_typeorm52.Column)({ name: "user_id", type: "integer", nullable: true }),
4651
+ (0, import_typeorm52.Index)()
4550
4652
  ], FreelancerResume.prototype, "userId", 2);
4551
4653
  __decorateClass([
4552
- (0, import_typeorm51.ManyToOne)(() => User, (user) => user.freelancerProfile),
4553
- (0, import_typeorm51.JoinColumn)({ name: "user_id" })
4654
+ (0, import_typeorm52.ManyToOne)(() => User, (user) => user.freelancerProfile),
4655
+ (0, import_typeorm52.JoinColumn)({ name: "user_id" })
4554
4656
  ], FreelancerResume.prototype, "user", 2);
4555
4657
  __decorateClass([
4556
- (0, import_typeorm51.Column)({ name: "resume_data", type: "jsonb", nullable: true })
4658
+ (0, import_typeorm52.Column)({ name: "resume_data", type: "jsonb", nullable: true })
4557
4659
  ], FreelancerResume.prototype, "resumeData", 2);
4558
4660
  __decorateClass([
4559
- (0, import_typeorm51.Column)({ name: "processed_resume_data", type: "jsonb", nullable: true })
4661
+ (0, import_typeorm52.Column)({ name: "processed_resume_data", type: "jsonb", nullable: true })
4560
4662
  ], FreelancerResume.prototype, "processedResumeData", 2);
4561
4663
  FreelancerResume = __decorateClass([
4562
- (0, import_typeorm51.Entity)("freelancer_resumes")
4664
+ (0, import_typeorm52.Entity)("freelancer_resumes")
4563
4665
  ], FreelancerResume);
4564
4666
 
4565
4667
  // src/entities/stripe-wallet.entity.ts
4566
- var import_typeorm53 = require("typeorm");
4668
+ var import_typeorm54 = require("typeorm");
4567
4669
 
4568
4670
  // src/entities/stripe-wallet-transaction.entity.ts
4569
- var import_typeorm52 = require("typeorm");
4671
+ var import_typeorm53 = require("typeorm");
4570
4672
  var StripeWalletTransactionTypeEnum = /* @__PURE__ */ ((StripeWalletTransactionTypeEnum2) => {
4571
4673
  StripeWalletTransactionTypeEnum2["ADD_FUNDS"] = "ADD_FUNDS";
4572
4674
  StripeWalletTransactionTypeEnum2["TRANSFER"] = "TRANSFER";
@@ -4586,63 +4688,63 @@ var StripeWalletTransactionStatusEnum = /* @__PURE__ */ ((StripeWalletTransactio
4586
4688
  var StripeWalletTransaction = class extends BaseEntity {
4587
4689
  };
4588
4690
  __decorateClass([
4589
- (0, import_typeorm52.Column)({ name: "wallet_id", type: "integer", nullable: true }),
4590
- (0, import_typeorm52.Index)()
4691
+ (0, import_typeorm53.Column)({ name: "wallet_id", type: "integer", nullable: true }),
4692
+ (0, import_typeorm53.Index)()
4591
4693
  ], StripeWalletTransaction.prototype, "walletId", 2);
4592
4694
  __decorateClass([
4593
- (0, import_typeorm52.ManyToOne)(() => StripeWallet, (stripeWallet) => stripeWallet.transactions),
4594
- (0, import_typeorm52.JoinColumn)({ name: "wallet_id" })
4695
+ (0, import_typeorm53.ManyToOne)(() => StripeWallet, (stripeWallet) => stripeWallet.transactions),
4696
+ (0, import_typeorm53.JoinColumn)({ name: "wallet_id" })
4595
4697
  ], StripeWalletTransaction.prototype, "stripeWallet", 2);
4596
4698
  __decorateClass([
4597
- (0, import_typeorm52.Column)({ name: "amount", type: "bigint", nullable: true })
4699
+ (0, import_typeorm53.Column)({ name: "amount", type: "bigint", nullable: true })
4598
4700
  ], StripeWalletTransaction.prototype, "amount", 2);
4599
4701
  __decorateClass([
4600
- (0, import_typeorm52.Column)({ name: "currency", type: "varchar", nullable: true })
4702
+ (0, import_typeorm53.Column)({ name: "currency", type: "varchar", nullable: true })
4601
4703
  ], StripeWalletTransaction.prototype, "currency", 2);
4602
4704
  __decorateClass([
4603
- (0, import_typeorm52.Column)({ name: "type", type: "enum", enum: StripeWalletTransactionTypeEnum })
4705
+ (0, import_typeorm53.Column)({ name: "type", type: "enum", enum: StripeWalletTransactionTypeEnum })
4604
4706
  ], StripeWalletTransaction.prototype, "type", 2);
4605
4707
  __decorateClass([
4606
- (0, import_typeorm52.Column)({ name: "status", type: "enum", enum: StripeWalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
4708
+ (0, import_typeorm53.Column)({ name: "status", type: "enum", enum: StripeWalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
4607
4709
  ], StripeWalletTransaction.prototype, "status", 2);
4608
4710
  __decorateClass([
4609
- (0, import_typeorm52.Column)({ name: "stripe_session_id", type: "varchar", nullable: true })
4711
+ (0, import_typeorm53.Column)({ name: "stripe_session_id", type: "varchar", nullable: true })
4610
4712
  ], StripeWalletTransaction.prototype, "stripeSessionId", 2);
4611
4713
  __decorateClass([
4612
- (0, import_typeorm52.Column)({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
4714
+ (0, import_typeorm53.Column)({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
4613
4715
  ], StripeWalletTransaction.prototype, "stripePaymentIntentId", 2);
4614
4716
  __decorateClass([
4615
- (0, import_typeorm52.Column)({ name: "description", type: "text", nullable: true })
4717
+ (0, import_typeorm53.Column)({ name: "description", type: "text", nullable: true })
4616
4718
  ], StripeWalletTransaction.prototype, "description", 2);
4617
4719
  __decorateClass([
4618
- (0, import_typeorm52.Column)({ name: "deposit_amount_cents", type: "bigint", nullable: true, default: 0 })
4720
+ (0, import_typeorm53.Column)({ name: "deposit_amount_cents", type: "bigint", nullable: true, default: 0 })
4619
4721
  ], StripeWalletTransaction.prototype, "depositAmountCents", 2);
4620
4722
  __decorateClass([
4621
- (0, import_typeorm52.Column)({ name: "platform_fee_cents", type: "bigint", nullable: true, default: 0 })
4723
+ (0, import_typeorm53.Column)({ name: "platform_fee_cents", type: "bigint", nullable: true, default: 0 })
4622
4724
  ], StripeWalletTransaction.prototype, "platformFeeCents", 2);
4623
4725
  __decorateClass([
4624
- (0, import_typeorm52.Column)({ name: "tax_cents", type: "bigint", nullable: true, default: 0 })
4726
+ (0, import_typeorm53.Column)({ name: "tax_cents", type: "bigint", nullable: true, default: 0 })
4625
4727
  ], StripeWalletTransaction.prototype, "taxCents", 2);
4626
4728
  __decorateClass([
4627
- (0, import_typeorm52.Column)({ name: "stripe_fee_cents", type: "bigint", nullable: true, default: 0 })
4729
+ (0, import_typeorm53.Column)({ name: "stripe_fee_cents", type: "bigint", nullable: true, default: 0 })
4628
4730
  ], StripeWalletTransaction.prototype, "stripeFeeCents", 2);
4629
4731
  __decorateClass([
4630
- (0, import_typeorm52.Column)({ name: "total_paid_cents", type: "bigint", nullable: true, default: 0 })
4732
+ (0, import_typeorm53.Column)({ name: "total_paid_cents", type: "bigint", nullable: true, default: 0 })
4631
4733
  ], StripeWalletTransaction.prototype, "totalPaidCents", 2);
4632
4734
  __decorateClass([
4633
- (0, import_typeorm52.Column)({ name: "net_received_cents", type: "bigint", nullable: true, default: 0 })
4735
+ (0, import_typeorm53.Column)({ name: "net_received_cents", type: "bigint", nullable: true, default: 0 })
4634
4736
  ], StripeWalletTransaction.prototype, "netReceivedCents", 2);
4635
4737
  __decorateClass([
4636
- (0, import_typeorm52.Column)({ name: "stripe_charge_id", type: "varchar", nullable: true })
4738
+ (0, import_typeorm53.Column)({ name: "stripe_charge_id", type: "varchar", nullable: true })
4637
4739
  ], StripeWalletTransaction.prototype, "stripeChargeId", 2);
4638
4740
  __decorateClass([
4639
- (0, import_typeorm52.Column)({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
4741
+ (0, import_typeorm53.Column)({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
4640
4742
  ], StripeWalletTransaction.prototype, "stripeBalanceTransactionId", 2);
4641
4743
  __decorateClass([
4642
- (0, import_typeorm52.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
4744
+ (0, import_typeorm53.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
4643
4745
  ], StripeWalletTransaction.prototype, "completedAt", 2);
4644
4746
  StripeWalletTransaction = __decorateClass([
4645
- (0, import_typeorm52.Entity)("stripe_wallet_transactions")
4747
+ (0, import_typeorm53.Entity)("stripe_wallet_transactions")
4646
4748
  ], StripeWalletTransaction);
4647
4749
 
4648
4750
  // src/entities/stripe-wallet.entity.ts
@@ -4659,59 +4761,59 @@ var StripeWalletOnboardingStatusEnum = /* @__PURE__ */ ((StripeWalletOnboardingS
4659
4761
  var StripeWallet = class extends BaseEntity {
4660
4762
  };
4661
4763
  __decorateClass([
4662
- (0, import_typeorm53.Column)({ name: "user_id", type: "integer", nullable: true }),
4663
- (0, import_typeorm53.Index)()
4764
+ (0, import_typeorm54.Column)({ name: "user_id", type: "integer", nullable: true }),
4765
+ (0, import_typeorm54.Index)()
4664
4766
  ], StripeWallet.prototype, "userId", 2);
4665
4767
  __decorateClass([
4666
- (0, import_typeorm53.OneToOne)(() => User, (user) => user.stripeWallet),
4667
- (0, import_typeorm53.JoinColumn)({ name: "user_id" })
4768
+ (0, import_typeorm54.OneToOne)(() => User, (user) => user.stripeWallet),
4769
+ (0, import_typeorm54.JoinColumn)({ name: "user_id" })
4668
4770
  ], StripeWallet.prototype, "user", 2);
4669
4771
  __decorateClass([
4670
- (0, import_typeorm53.Column)({ name: "account_type", type: "enum", enum: StripeWalletAccountTypeEnum, nullable: true })
4772
+ (0, import_typeorm54.Column)({ name: "account_type", type: "enum", enum: StripeWalletAccountTypeEnum, nullable: true })
4671
4773
  ], StripeWallet.prototype, "accountType", 2);
4672
4774
  __decorateClass([
4673
- (0, import_typeorm53.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
4775
+ (0, import_typeorm54.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
4674
4776
  ], StripeWallet.prototype, "stripeAccountId", 2);
4675
4777
  __decorateClass([
4676
- (0, import_typeorm53.Column)({ name: "stripe_customer_id", type: "varchar", nullable: true })
4778
+ (0, import_typeorm54.Column)({ name: "stripe_customer_id", type: "varchar", nullable: true })
4677
4779
  ], StripeWallet.prototype, "stripeCustomerId", 2);
4678
4780
  __decorateClass([
4679
- (0, import_typeorm53.Column)({ name: "wallet_balance", type: "bigint", default: 0 })
4781
+ (0, import_typeorm54.Column)({ name: "wallet_balance", type: "bigint", default: 0 })
4680
4782
  ], StripeWallet.prototype, "walletBalance", 2);
4681
4783
  __decorateClass([
4682
- (0, import_typeorm53.Column)({ name: "wallet_balance_cents", type: "bigint", default: 0 })
4784
+ (0, import_typeorm54.Column)({ name: "wallet_balance_cents", type: "bigint", default: 0 })
4683
4785
  ], StripeWallet.prototype, "walletBalanceCents", 2);
4684
4786
  __decorateClass([
4685
- (0, import_typeorm53.Column)({ name: "onboarding_status", type: "enum", enum: StripeWalletOnboardingStatusEnum, nullable: true })
4787
+ (0, import_typeorm54.Column)({ name: "onboarding_status", type: "enum", enum: StripeWalletOnboardingStatusEnum, nullable: true })
4686
4788
  ], StripeWallet.prototype, "onboardingStatus", 2);
4687
4789
  __decorateClass([
4688
- (0, import_typeorm53.Column)({ name: "stripe_metadata", type: "jsonb", nullable: true })
4790
+ (0, import_typeorm54.Column)({ name: "stripe_metadata", type: "jsonb", nullable: true })
4689
4791
  ], StripeWallet.prototype, "stripeMetadata", 2);
4690
4792
  __decorateClass([
4691
- (0, import_typeorm53.OneToMany)(() => StripeWalletTransaction, (stripeWalletTransaction) => stripeWalletTransaction.stripeWallet)
4793
+ (0, import_typeorm54.OneToMany)(() => StripeWalletTransaction, (stripeWalletTransaction) => stripeWalletTransaction.stripeWallet)
4692
4794
  ], StripeWallet.prototype, "transactions", 2);
4693
4795
  StripeWallet = __decorateClass([
4694
- (0, import_typeorm53.Entity)("stripe_wallets")
4796
+ (0, import_typeorm54.Entity)("stripe_wallets")
4695
4797
  ], StripeWallet);
4696
4798
 
4697
4799
  // src/entities/signature.entity.ts
4698
- var import_typeorm54 = require("typeorm");
4800
+ var import_typeorm55 = require("typeorm");
4699
4801
  var Signature = class extends BaseEntity {
4700
4802
  };
4701
4803
  // individual index to find profile by user
4702
4804
  __decorateClass([
4703
- (0, import_typeorm54.Column)({ name: "user_id", type: "integer", nullable: true }),
4704
- (0, import_typeorm54.Index)()
4805
+ (0, import_typeorm55.Column)({ name: "user_id", type: "integer", nullable: true }),
4806
+ (0, import_typeorm55.Index)()
4705
4807
  ], Signature.prototype, "userId", 2);
4706
4808
  __decorateClass([
4707
- (0, import_typeorm54.ManyToOne)(() => User, (user) => user.signatures),
4708
- (0, import_typeorm54.JoinColumn)({ name: "user_id" })
4809
+ (0, import_typeorm55.ManyToOne)(() => User, (user) => user.signatures),
4810
+ (0, import_typeorm55.JoinColumn)({ name: "user_id" })
4709
4811
  ], Signature.prototype, "user", 2);
4710
4812
  __decorateClass([
4711
- (0, import_typeorm54.Column)({ name: "signature_url", type: "text", nullable: true })
4813
+ (0, import_typeorm55.Column)({ name: "signature_url", type: "text", nullable: true })
4712
4814
  ], Signature.prototype, "signatureUrl", 2);
4713
4815
  Signature = __decorateClass([
4714
- (0, import_typeorm54.Entity)("signatures")
4816
+ (0, import_typeorm55.Entity)("signatures")
4715
4817
  ], Signature);
4716
4818
 
4717
4819
  // src/entities/user.entity.ts
@@ -4739,51 +4841,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
4739
4841
  var User = class extends BaseEntity {
4740
4842
  };
4741
4843
  __decorateClass([
4742
- (0, import_typeorm55.Column)({ name: "unique_id", type: "varchar", unique: true })
4844
+ (0, import_typeorm56.Column)({ name: "unique_id", type: "varchar", unique: true })
4743
4845
  ], User.prototype, "uniqueId", 2);
4744
4846
  __decorateClass([
4745
- (0, import_typeorm55.Column)({ name: "parent_id", type: "integer", nullable: true }),
4746
- (0, import_typeorm55.Index)()
4847
+ (0, import_typeorm56.Column)({ name: "parent_id", type: "integer", nullable: true }),
4848
+ (0, import_typeorm56.Index)()
4747
4849
  ], User.prototype, "parentId", 2);
4748
4850
  __decorateClass([
4749
- (0, import_typeorm55.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
4750
- (0, import_typeorm55.JoinColumn)({ name: "parent_id" })
4851
+ (0, import_typeorm56.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
4852
+ (0, import_typeorm56.JoinColumn)({ name: "parent_id" })
4751
4853
  ], User.prototype, "parent", 2);
4752
4854
  __decorateClass([
4753
- (0, import_typeorm55.OneToMany)(() => User, (user) => user.parent)
4855
+ (0, import_typeorm56.OneToMany)(() => User, (user) => user.parent)
4754
4856
  ], User.prototype, "children", 2);
4755
4857
  __decorateClass([
4756
- (0, import_typeorm55.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
4858
+ (0, import_typeorm56.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
4757
4859
  ], User.prototype, "username", 2);
4758
4860
  __decorateClass([
4759
- (0, import_typeorm55.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
4861
+ (0, import_typeorm56.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
4760
4862
  ], User.prototype, "firstName", 2);
4761
4863
  __decorateClass([
4762
- (0, import_typeorm55.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
4864
+ (0, import_typeorm56.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
4763
4865
  ], User.prototype, "lastName", 2);
4764
4866
  __decorateClass([
4765
- (0, import_typeorm55.Column)({ name: "date_of_birth", type: "date", nullable: true })
4867
+ (0, import_typeorm56.Column)({ name: "date_of_birth", type: "date", nullable: true })
4766
4868
  ], User.prototype, "dateOfBirth", 2);
4767
4869
  __decorateClass([
4768
- (0, import_typeorm55.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
4870
+ (0, import_typeorm56.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
4769
4871
  ], User.prototype, "gender", 2);
4770
4872
  __decorateClass([
4771
- (0, import_typeorm55.Column)({ name: "profile_picture_url", type: "text", nullable: true })
4873
+ (0, import_typeorm56.Column)({ name: "profile_picture_url", type: "text", nullable: true })
4772
4874
  ], User.prototype, "profilePictureUrl", 2);
4773
4875
  __decorateClass([
4774
- (0, import_typeorm55.Column)({ name: "email", type: "varchar", unique: true })
4876
+ (0, import_typeorm56.Column)({ name: "email", type: "varchar", unique: true })
4775
4877
  ], User.prototype, "email", 2);
4776
4878
  __decorateClass([
4777
- (0, import_typeorm55.Column)({ name: "mobile_code", type: "varchar", nullable: true })
4879
+ (0, import_typeorm56.Column)({ name: "mobile_code", type: "varchar", nullable: true })
4778
4880
  ], User.prototype, "mobileCode", 2);
4779
4881
  __decorateClass([
4780
- (0, import_typeorm55.Column)({ name: "mobile", type: "varchar", nullable: true })
4882
+ (0, import_typeorm56.Column)({ name: "mobile", type: "varchar", nullable: true })
4781
4883
  ], User.prototype, "mobile", 2);
4782
4884
  __decorateClass([
4783
- (0, import_typeorm55.Column)({ name: "password", type: "varchar", nullable: true })
4885
+ (0, import_typeorm56.Column)({ name: "password", type: "varchar", nullable: true })
4784
4886
  ], User.prototype, "password", 2);
4785
4887
  __decorateClass([
4786
- (0, import_typeorm55.Column)({
4888
+ (0, import_typeorm56.Column)({
4787
4889
  name: "account_type",
4788
4890
  type: "enum",
4789
4891
  enum: AccountType,
@@ -4791,7 +4893,7 @@ __decorateClass([
4791
4893
  })
4792
4894
  ], User.prototype, "accountType", 2);
4793
4895
  __decorateClass([
4794
- (0, import_typeorm55.Column)({
4896
+ (0, import_typeorm56.Column)({
4795
4897
  name: "account_status",
4796
4898
  type: "enum",
4797
4899
  enum: AccountStatus,
@@ -4799,42 +4901,42 @@ __decorateClass([
4799
4901
  })
4800
4902
  ], User.prototype, "accountStatus", 2);
4801
4903
  __decorateClass([
4802
- (0, import_typeorm55.Column)({ name: "is_email_verified", type: "boolean", default: false })
4904
+ (0, import_typeorm56.Column)({ name: "is_email_verified", type: "boolean", default: false })
4803
4905
  ], User.prototype, "isEmailVerified", 2);
4804
4906
  __decorateClass([
4805
- (0, import_typeorm55.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
4907
+ (0, import_typeorm56.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
4806
4908
  ], User.prototype, "isMobileVerified", 2);
4807
4909
  __decorateClass([
4808
- (0, import_typeorm55.Column)({ name: "is_social", type: "boolean", default: false })
4910
+ (0, import_typeorm56.Column)({ name: "is_social", type: "boolean", default: false })
4809
4911
  ], User.prototype, "isSocial", 2);
4810
4912
  __decorateClass([
4811
- (0, import_typeorm55.Column)({
4913
+ (0, import_typeorm56.Column)({
4812
4914
  name: "last_login_at",
4813
4915
  type: "timestamp with time zone",
4814
4916
  nullable: true
4815
4917
  })
4816
4918
  ], User.prototype, "lastLoginAt", 2);
4817
4919
  __decorateClass([
4818
- (0, import_typeorm55.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
4920
+ (0, import_typeorm56.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
4819
4921
  ], User.prototype, "lastLoginIp", 2);
4820
4922
  __decorateClass([
4821
- (0, import_typeorm55.Column)({ name: "reset_token", type: "varchar", nullable: true })
4923
+ (0, import_typeorm56.Column)({ name: "reset_token", type: "varchar", nullable: true })
4822
4924
  ], User.prototype, "resetToken", 2);
4823
4925
  __decorateClass([
4824
- (0, import_typeorm55.Column)({
4926
+ (0, import_typeorm56.Column)({
4825
4927
  name: "reset_token_expire_at",
4826
4928
  type: "timestamp with time zone",
4827
4929
  nullable: true
4828
4930
  })
4829
4931
  ], User.prototype, "resetTokenExpireAt", 2);
4830
4932
  __decorateClass([
4831
- (0, import_typeorm55.Column)({ name: "set_password_token", type: "varchar", nullable: true })
4933
+ (0, import_typeorm56.Column)({ name: "set_password_token", type: "varchar", nullable: true })
4832
4934
  ], User.prototype, "setPasswordToken", 2);
4833
4935
  __decorateClass([
4834
- (0, import_typeorm55.OneToMany)(() => RefreshToken, (token) => token.user)
4936
+ (0, import_typeorm56.OneToMany)(() => RefreshToken, (token) => token.user)
4835
4937
  ], User.prototype, "refreshTokens", 2);
4836
4938
  __decorateClass([
4837
- (0, import_typeorm55.Column)({
4939
+ (0, import_typeorm56.Column)({
4838
4940
  name: "provider",
4839
4941
  type: "enum",
4840
4942
  enum: Provider,
@@ -4843,178 +4945,184 @@ __decorateClass([
4843
4945
  })
4844
4946
  ], User.prototype, "provider", 2);
4845
4947
  __decorateClass([
4846
- (0, import_typeorm55.Column)({ name: "provider_token", type: "varchar", nullable: true })
4948
+ (0, import_typeorm56.Column)({ name: "provider_token", type: "varchar", nullable: true })
4847
4949
  ], User.prototype, "providerToken", 2);
4848
4950
  __decorateClass([
4849
- (0, import_typeorm55.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
4951
+ (0, import_typeorm56.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
4850
4952
  ], User.prototype, "linkedInId", 2);
4851
4953
  __decorateClass([
4852
- (0, import_typeorm55.Column)({ name: "google_id", type: "varchar", nullable: true })
4954
+ (0, import_typeorm56.Column)({ name: "google_id", type: "varchar", nullable: true })
4853
4955
  ], User.prototype, "googleId", 2);
4854
4956
  __decorateClass([
4855
- (0, import_typeorm55.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
4957
+ (0, import_typeorm56.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
4856
4958
  ], User.prototype, "gitLabsId", 2);
4857
4959
  __decorateClass([
4858
- (0, import_typeorm55.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
4960
+ (0, import_typeorm56.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
4859
4961
  ], User.prototype, "onBoardedBy", 2);
4860
4962
  __decorateClass([
4861
- (0, import_typeorm55.OneToMany)(() => Otp, (otp) => otp.user)
4963
+ (0, import_typeorm56.OneToMany)(() => Otp, (otp) => otp.user)
4862
4964
  ], User.prototype, "otps", 2);
4863
4965
  __decorateClass([
4864
- (0, import_typeorm55.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
4966
+ (0, import_typeorm56.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
4865
4967
  ], User.prototype, "senseloafLogs", 2);
4866
4968
  __decorateClass([
4867
- (0, import_typeorm55.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
4969
+ (0, import_typeorm56.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
4868
4970
  ], User.prototype, "companyProfile", 2);
4869
4971
  __decorateClass([
4870
- (0, import_typeorm55.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
4972
+ (0, import_typeorm56.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
4871
4973
  ], User.prototype, "companySkills", 2);
4872
4974
  __decorateClass([
4873
- (0, import_typeorm55.OneToMany)(
4975
+ (0, import_typeorm56.OneToMany)(
4874
4976
  () => CompanyMemberRole,
4875
4977
  (companyMemberRole) => companyMemberRole.user
4876
4978
  )
4877
4979
  ], User.prototype, "companyMemberRoles", 2);
4878
4980
  __decorateClass([
4879
- (0, import_typeorm55.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
4981
+ (0, import_typeorm56.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
4880
4982
  ], User.prototype, "companyAiInterview", 2);
4881
4983
  __decorateClass([
4882
- (0, import_typeorm55.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
4984
+ (0, import_typeorm56.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
4883
4985
  ], User.prototype, "clientF2FInterviews", 2);
4884
4986
  __decorateClass([
4885
- (0, import_typeorm55.OneToOne)(
4987
+ (0, import_typeorm56.OneToOne)(
4886
4988
  () => FreelancerProfile,
4887
4989
  (freelancerProfile) => freelancerProfile.user
4888
4990
  )
4889
4991
  ], User.prototype, "freelancerProfile", 2);
4890
4992
  __decorateClass([
4891
- (0, import_typeorm55.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
4993
+ (0, import_typeorm56.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
4892
4994
  ], User.prototype, "freelancerResume", 2);
4893
4995
  __decorateClass([
4894
- (0, import_typeorm55.OneToMany)(
4996
+ (0, import_typeorm56.OneToMany)(
4895
4997
  () => FreelancerAssessment,
4896
4998
  (freelancerAssessment) => freelancerAssessment.user
4897
4999
  )
4898
5000
  ], User.prototype, "assessments", 2);
4899
5001
  __decorateClass([
4900
- (0, import_typeorm55.OneToMany)(
5002
+ (0, import_typeorm56.OneToMany)(
4901
5003
  () => AssessmentAnswer,
4902
5004
  (assessmentAnswer) => assessmentAnswer.user
4903
5005
  )
4904
5006
  ], User.prototype, "assessmentAnswers", 2);
4905
5007
  __decorateClass([
4906
- (0, import_typeorm55.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
5008
+ (0, import_typeorm56.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
4907
5009
  ], User.prototype, "freelancerSkills", 2);
4908
5010
  __decorateClass([
4909
- (0, import_typeorm55.OneToMany)(
5011
+ (0, import_typeorm56.OneToMany)(
4910
5012
  () => FreelancerExperience,
4911
5013
  (freelancerExperience) => freelancerExperience.user
4912
5014
  )
4913
5015
  ], User.prototype, "freelancerExperience", 2);
4914
5016
  __decorateClass([
4915
- (0, import_typeorm55.OneToMany)(
5017
+ (0, import_typeorm56.OneToMany)(
4916
5018
  () => FreelancerEducation,
4917
5019
  (freelancerEducation) => freelancerEducation.user
4918
5020
  )
4919
5021
  ], User.prototype, "freelancerEducation", 2);
4920
5022
  __decorateClass([
4921
- (0, import_typeorm55.OneToMany)(
5023
+ (0, import_typeorm56.OneToMany)(
4922
5024
  () => FreelancerProject,
4923
5025
  (freelancerProject) => freelancerProject.user
4924
5026
  )
4925
5027
  ], User.prototype, "freelancerProject", 2);
4926
5028
  __decorateClass([
4927
- (0, import_typeorm55.OneToMany)(
5029
+ (0, import_typeorm56.OneToMany)(
4928
5030
  () => FreelancerCaseStudy,
4929
5031
  (freelancerCaseStudy) => freelancerCaseStudy.user
4930
5032
  )
4931
5033
  ], User.prototype, "freelancerCaseStudy", 2);
4932
5034
  __decorateClass([
4933
- (0, import_typeorm55.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
5035
+ (0, import_typeorm56.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
4934
5036
  ], User.prototype, "freelancerTool", 2);
4935
5037
  __decorateClass([
4936
- (0, import_typeorm55.OneToMany)(
5038
+ (0, import_typeorm56.OneToMany)(
4937
5039
  () => FreelancerFramework,
4938
5040
  (freelancerFramework) => freelancerFramework.user
4939
5041
  )
4940
5042
  ], User.prototype, "freelancerFramework", 2);
4941
5043
  __decorateClass([
4942
- (0, import_typeorm55.OneToOne)(
5044
+ (0, import_typeorm56.OneToOne)(
4943
5045
  () => FreelancerDeclaration,
4944
5046
  (freelancerDeclaration) => freelancerDeclaration.user
4945
5047
  )
4946
5048
  ], User.prototype, "freelancerDeclaration", 2);
4947
5049
  __decorateClass([
4948
- (0, import_typeorm55.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
5050
+ (0, import_typeorm56.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
4949
5051
  ], User.prototype, "freelancerAiInterview", 2);
4950
5052
  __decorateClass([
4951
- (0, import_typeorm55.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
5053
+ (0, import_typeorm56.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
4952
5054
  ], User.prototype, "freelancerF2FInterviews", 2);
4953
5055
  __decorateClass([
4954
- (0, import_typeorm55.OneToMany)(
5056
+ (0, import_typeorm56.OneToMany)(
4955
5057
  () => F2fInterviewRescheduleRequest,
4956
5058
  (f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
4957
5059
  )
4958
5060
  ], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
4959
5061
  __decorateClass([
4960
- (0, import_typeorm55.OneToMany)(() => Job, (job) => job.user)
5062
+ (0, import_typeorm56.OneToMany)(() => Job, (job) => job.user)
4961
5063
  ], User.prototype, "jobs", 2);
4962
5064
  __decorateClass([
4963
- (0, import_typeorm55.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
5065
+ (0, import_typeorm56.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
4964
5066
  ], User.prototype, "jobApplications", 2);
4965
5067
  __decorateClass([
4966
- (0, import_typeorm55.OneToMany)(() => Interview, (interview) => interview.user)
5068
+ (0, import_typeorm56.OneToMany)(() => Interview, (interview) => interview.user)
4967
5069
  ], User.prototype, "interviews", 2);
4968
5070
  __decorateClass([
4969
- (0, import_typeorm55.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
5071
+ (0, import_typeorm56.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
4970
5072
  ], User.prototype, "bankDetail", 2);
4971
5073
  __decorateClass([
4972
- (0, import_typeorm55.OneToMany)(
5074
+ (0, import_typeorm56.OneToMany)(
4973
5075
  () => SystemPreference,
4974
5076
  (systemPreference) => systemPreference.user
4975
5077
  )
4976
5078
  ], User.prototype, "systemPreference", 2);
4977
5079
  __decorateClass([
4978
- (0, import_typeorm55.OneToMany)(() => Rating, (rating) => rating.reviewer)
5080
+ (0, import_typeorm56.OneToMany)(() => Rating, (rating) => rating.reviewer)
4979
5081
  ], User.prototype, "givenRatings", 2);
4980
5082
  __decorateClass([
4981
- (0, import_typeorm55.OneToMany)(() => Rating, (rating) => rating.reviewee)
5083
+ (0, import_typeorm56.OneToMany)(() => Rating, (rating) => rating.reviewee)
4982
5084
  ], User.prototype, "receivedRatings", 2);
4983
5085
  __decorateClass([
4984
- (0, import_typeorm55.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
5086
+ (0, import_typeorm56.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
4985
5087
  ], User.prototype, "adminUserRoles", 2);
4986
5088
  __decorateClass([
4987
- (0, import_typeorm55.OneToMany)(() => Contract, (contract) => contract.client)
5089
+ (0, import_typeorm56.OneToMany)(() => Contract, (contract) => contract.client)
4988
5090
  ], User.prototype, "clientContracts", 2);
4989
5091
  __decorateClass([
4990
- (0, import_typeorm55.OneToMany)(() => Contract, (contract) => contract.freelancer)
5092
+ (0, import_typeorm56.OneToMany)(() => Contract, (contract) => contract.freelancer)
4991
5093
  ], User.prototype, "freelancerContracts", 2);
4992
5094
  __decorateClass([
4993
- (0, import_typeorm55.OneToOne)(() => StripeWallet, (stripeWallet) => stripeWallet.user)
5095
+ (0, import_typeorm56.OneToOne)(() => StripeWallet, (stripeWallet) => stripeWallet.user)
4994
5096
  ], User.prototype, "stripeWallet", 2);
4995
5097
  __decorateClass([
4996
- (0, import_typeorm55.OneToOne)(() => Signature, (signature) => signature.user)
5098
+ (0, import_typeorm56.OneToOne)(() => Signature, (signature) => signature.user)
4997
5099
  ], User.prototype, "signatures", 2);
4998
5100
  __decorateClass([
4999
- (0, import_typeorm55.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
5101
+ (0, import_typeorm56.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
5000
5102
  ], User.prototype, "clientTimesheets", 2);
5001
5103
  __decorateClass([
5002
- (0, import_typeorm55.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
5104
+ (0, import_typeorm56.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
5003
5105
  ], User.prototype, "freelancerTimesheets", 2);
5004
5106
  __decorateClass([
5005
- (0, import_typeorm55.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
5107
+ (0, import_typeorm56.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
5006
5108
  ], User.prototype, "clientTimesheetLine", 2);
5007
5109
  __decorateClass([
5008
- (0, import_typeorm55.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
5110
+ (0, import_typeorm56.OneToMany)(() => Invoice, (invoice) => invoice.client)
5111
+ ], User.prototype, "clientInvoice", 2);
5112
+ __decorateClass([
5113
+ (0, import_typeorm56.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
5009
5114
  ], User.prototype, "freelancerTimesheetLine", 2);
5010
5115
  __decorateClass([
5011
- (0, import_typeorm55.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
5116
+ (0, import_typeorm56.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
5117
+ ], User.prototype, "freelancerInvoice", 2);
5118
+ __decorateClass([
5119
+ (0, import_typeorm56.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
5012
5120
  ], User.prototype, "clientPreferencesGiven", 2);
5013
5121
  __decorateClass([
5014
- (0, import_typeorm55.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
5122
+ (0, import_typeorm56.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
5015
5123
  ], User.prototype, "clientPreferencesReceived", 2);
5016
5124
  User = __decorateClass([
5017
- (0, import_typeorm55.Entity)("users")
5125
+ (0, import_typeorm56.Entity)("users")
5018
5126
  ], User);
5019
5127
 
5020
5128
  // src/entities/rating.entity.ts
@@ -5026,36 +5134,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
5026
5134
  var Rating = class extends BaseEntity {
5027
5135
  };
5028
5136
  __decorateClass([
5029
- (0, import_typeorm56.Column)({ name: "reviewer_id", type: "integer" }),
5030
- (0, import_typeorm56.Index)()
5137
+ (0, import_typeorm57.Column)({ name: "reviewer_id", type: "integer" }),
5138
+ (0, import_typeorm57.Index)()
5031
5139
  ], Rating.prototype, "reviewer_id", 2);
5032
5140
  __decorateClass([
5033
- (0, import_typeorm56.ManyToOne)(() => User, { onDelete: "CASCADE" }),
5034
- (0, import_typeorm56.JoinColumn)({ name: "reviewer_id" })
5141
+ (0, import_typeorm57.ManyToOne)(() => User, { onDelete: "CASCADE" }),
5142
+ (0, import_typeorm57.JoinColumn)({ name: "reviewer_id" })
5035
5143
  ], Rating.prototype, "reviewer", 2);
5036
5144
  __decorateClass([
5037
- (0, import_typeorm56.Column)({ name: "reviewee_id", type: "integer" }),
5038
- (0, import_typeorm56.Index)()
5145
+ (0, import_typeorm57.Column)({ name: "reviewee_id", type: "integer" }),
5146
+ (0, import_typeorm57.Index)()
5039
5147
  ], Rating.prototype, "reviewee_id", 2);
5040
5148
  __decorateClass([
5041
- (0, import_typeorm56.ManyToOne)(() => User, { onDelete: "CASCADE" }),
5042
- (0, import_typeorm56.JoinColumn)({ name: "reviewee_id" })
5149
+ (0, import_typeorm57.ManyToOne)(() => User, { onDelete: "CASCADE" }),
5150
+ (0, import_typeorm57.JoinColumn)({ name: "reviewee_id" })
5043
5151
  ], Rating.prototype, "reviewee", 2);
5044
5152
  __decorateClass([
5045
- (0, import_typeorm56.Column)({
5153
+ (0, import_typeorm57.Column)({
5046
5154
  type: "enum",
5047
5155
  enum: RatingTypeEnum,
5048
5156
  nullable: true
5049
5157
  })
5050
5158
  ], Rating.prototype, "ratingType", 2);
5051
5159
  __decorateClass([
5052
- (0, import_typeorm56.Column)({ type: "integer", nullable: true })
5160
+ (0, import_typeorm57.Column)({ type: "integer", nullable: true })
5053
5161
  ], Rating.prototype, "rating", 2);
5054
5162
  __decorateClass([
5055
- (0, import_typeorm56.Column)({ type: "text", nullable: true })
5163
+ (0, import_typeorm57.Column)({ type: "text", nullable: true })
5056
5164
  ], Rating.prototype, "review", 2);
5057
5165
  Rating = __decorateClass([
5058
- (0, import_typeorm56.Entity)("ratings")
5166
+ (0, import_typeorm57.Entity)("ratings")
5059
5167
  ], Rating);
5060
5168
 
5061
5169
  // src/modules/rating/dto/add.rating.dto.ts
@@ -6233,22 +6341,41 @@ __decorateClass([
6233
6341
  (0, import_class_validator68.IsNumber)({}, { message: "Candidate ID must be a number." })
6234
6342
  ], CreateF2FInterviewDto.prototype, "candidateId", 2);
6235
6343
 
6236
- // src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
6344
+ // src/modules/interview/dto/create-f2f-interview-direct.dto.ts
6237
6345
  var import_class_validator69 = require("class-validator");
6346
+ var CreateF2FInterviewDirectDto = class {
6347
+ };
6348
+ __decorateClass([
6349
+ (0, import_class_validator69.IsEmail)({}, { message: "Please enter a valid email address." }),
6350
+ (0, import_class_validator69.IsNotEmpty)({ message: "Invitee email is required." })
6351
+ ], CreateF2FInterviewDirectDto.prototype, "inviteeEmail", 2);
6352
+ __decorateClass([
6353
+ (0, import_class_validator69.IsString)({ message: "Invitee name must be a string." }),
6354
+ (0, import_class_validator69.IsNotEmpty)({ message: "Invitee name is required." })
6355
+ ], CreateF2FInterviewDirectDto.prototype, "inviteeName", 2);
6356
+ __decorateClass([
6357
+ (0, import_class_validator69.IsNumber)({}, { message: "Job ID must be a number." })
6358
+ ], CreateF2FInterviewDirectDto.prototype, "jobId", 2);
6359
+ __decorateClass([
6360
+ (0, import_class_validator69.IsNumber)({}, { message: "Candidate ID must be a number." })
6361
+ ], CreateF2FInterviewDirectDto.prototype, "candidateId", 2);
6362
+
6363
+ // src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
6364
+ var import_class_validator70 = require("class-validator");
6238
6365
  var CreateF2FInterviewRescheduleRequestDto = class {
6239
6366
  };
6240
6367
  __decorateClass([
6241
- (0, import_class_validator69.IsNotEmpty)({ message: "F2F Interview ID is required." })
6368
+ (0, import_class_validator70.IsNotEmpty)({ message: "F2F Interview ID is required." })
6242
6369
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "f2FInterviewId", 2);
6243
6370
  __decorateClass([
6244
- (0, import_class_validator69.IsNotEmpty)({ message: "Rescheduled date is required." })
6371
+ (0, import_class_validator70.IsNotEmpty)({ message: "Rescheduled date is required." })
6245
6372
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledDate", 2);
6246
6373
  __decorateClass([
6247
- (0, import_class_validator69.IsString)({ message: "Rescheduled slot must be a string." }),
6248
- (0, import_class_validator69.IsNotEmpty)({ message: "Rescheduled slot is required." })
6374
+ (0, import_class_validator70.IsString)({ message: "Rescheduled slot must be a string." }),
6375
+ (0, import_class_validator70.IsNotEmpty)({ message: "Rescheduled slot is required." })
6249
6376
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledSlot", 2);
6250
6377
  __decorateClass([
6251
- (0, import_class_validator69.IsString)({ message: "Freelancer reason must be a string." })
6378
+ (0, import_class_validator70.IsString)({ message: "Freelancer reason must be a string." })
6252
6379
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
6253
6380
 
6254
6381
  // src/modules/contract/pattern/pattern.ts
@@ -6271,43 +6398,43 @@ var CONTRACT_PATTERN = {
6271
6398
  };
6272
6399
 
6273
6400
  // src/modules/contract/dto/sign-contract-for-client.dto.ts
6274
- var import_class_validator70 = require("class-validator");
6401
+ var import_class_validator71 = require("class-validator");
6275
6402
  var import_class_transformer13 = require("class-transformer");
6276
6403
  var SignContractForClientDto = class {
6277
6404
  };
6278
6405
  __decorateClass([
6279
- (0, import_class_validator70.IsNotEmpty)({ message: "Job Id is required." }),
6406
+ (0, import_class_validator71.IsNotEmpty)({ message: "Job Id is required." }),
6280
6407
  (0, import_class_transformer13.Type)(() => Number),
6281
- (0, import_class_validator70.IsNumber)({}, { message: "Job ID must be a number." })
6408
+ (0, import_class_validator71.IsNumber)({}, { message: "Job ID must be a number." })
6282
6409
  ], SignContractForClientDto.prototype, "jobId", 2);
6283
6410
  __decorateClass([
6284
- (0, import_class_validator70.IsNotEmpty)({ message: "Freelancer ID is required." }),
6411
+ (0, import_class_validator71.IsNotEmpty)({ message: "Freelancer ID is required." }),
6285
6412
  (0, import_class_transformer13.Type)(() => Number),
6286
- (0, import_class_validator70.IsNumber)({}, { message: "Freelancer ID must be a number." })
6413
+ (0, import_class_validator71.IsNumber)({}, { message: "Freelancer ID must be a number." })
6287
6414
  ], SignContractForClientDto.prototype, "freelancerId", 2);
6288
6415
  __decorateClass([
6289
- (0, import_class_validator70.IsNotEmpty)({ message: "Contract type is required." }),
6290
- (0, import_class_validator70.IsEnum)(ContractTypeEnum)
6416
+ (0, import_class_validator71.IsNotEmpty)({ message: "Contract type is required." }),
6417
+ (0, import_class_validator71.IsEnum)(ContractTypeEnum)
6291
6418
  ], SignContractForClientDto.prototype, "contractType", 2);
6292
6419
 
6293
6420
  // src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
6294
- var import_class_validator71 = require("class-validator");
6421
+ var import_class_validator72 = require("class-validator");
6295
6422
  var import_class_transformer14 = require("class-transformer");
6296
6423
  var SignContractForFreelancerDto = class {
6297
6424
  };
6298
6425
  __decorateClass([
6299
- (0, import_class_validator71.IsNotEmpty)({ message: "Job Id is required." }),
6426
+ (0, import_class_validator72.IsNotEmpty)({ message: "Job Id is required." }),
6300
6427
  (0, import_class_transformer14.Type)(() => Number),
6301
- (0, import_class_validator71.IsNumber)({}, { message: "Job ID must be a number." })
6428
+ (0, import_class_validator72.IsNumber)({}, { message: "Job ID must be a number." })
6302
6429
  ], SignContractForFreelancerDto.prototype, "jobId", 2);
6303
6430
  __decorateClass([
6304
- (0, import_class_validator71.IsNotEmpty)({ message: "Client ID is required." }),
6431
+ (0, import_class_validator72.IsNotEmpty)({ message: "Client ID is required." }),
6305
6432
  (0, import_class_transformer14.Type)(() => Number),
6306
- (0, import_class_validator71.IsNumber)({}, { message: "Client ID must be a number." })
6433
+ (0, import_class_validator72.IsNumber)({}, { message: "Client ID must be a number." })
6307
6434
  ], SignContractForFreelancerDto.prototype, "clientId", 2);
6308
6435
  __decorateClass([
6309
- (0, import_class_validator71.IsNotEmpty)({ message: "Contract type is required." }),
6310
- (0, import_class_validator71.IsEnum)(ContractTypeEnum)
6436
+ (0, import_class_validator72.IsNotEmpty)({ message: "Contract type is required." }),
6437
+ (0, import_class_validator72.IsEnum)(ContractTypeEnum)
6311
6438
  ], SignContractForFreelancerDto.prototype, "contractType", 2);
6312
6439
 
6313
6440
  // src/modules/stripe/pattern/pattern.ts
@@ -6325,11 +6452,11 @@ var STRIPE_PATTERN = {
6325
6452
  };
6326
6453
 
6327
6454
  // src/modules/stripe/dto/create-checkout-session.dto.ts
6328
- var import_class_validator72 = require("class-validator");
6455
+ var import_class_validator73 = require("class-validator");
6329
6456
  var CreateCheckoutSessionDto = class {
6330
6457
  };
6331
6458
  __decorateClass([
6332
- (0, import_class_validator72.IsNotEmpty)({ message: "Amount is required" })
6459
+ (0, import_class_validator73.IsNotEmpty)({ message: "Amount is required" })
6333
6460
  ], CreateCheckoutSessionDto.prototype, "amount", 2);
6334
6461
 
6335
6462
  // src/modules/timesheet/pattern/pattern.ts
@@ -6350,99 +6477,99 @@ var TIMESHEET_CLIENT_PATTERN = {
6350
6477
  };
6351
6478
 
6352
6479
  // src/modules/timesheet/dto/create-freelancer-timesheet.dto.ts
6353
- var import_class_validator73 = require("class-validator");
6480
+ var import_class_validator74 = require("class-validator");
6354
6481
  var CreateFreelancerTimesheetDto = class {
6355
6482
  };
6356
6483
  __decorateClass([
6357
- (0, import_class_validator73.IsNotEmpty)({ message: "Job id is required" }),
6358
- (0, import_class_validator73.IsNumber)({}, { message: "Job id must be a number" })
6484
+ (0, import_class_validator74.IsNotEmpty)({ message: "Job id is required" }),
6485
+ (0, import_class_validator74.IsNumber)({}, { message: "Job id must be a number" })
6359
6486
  ], CreateFreelancerTimesheetDto.prototype, "jobId", 2);
6360
6487
  __decorateClass([
6361
- (0, import_class_validator73.IsNotEmpty)({ message: "start date is required" }),
6362
- (0, import_class_validator73.IsDateString)()
6488
+ (0, import_class_validator74.IsNotEmpty)({ message: "start date is required" }),
6489
+ (0, import_class_validator74.IsDateString)()
6363
6490
  ], CreateFreelancerTimesheetDto.prototype, "startDate", 2);
6364
6491
  __decorateClass([
6365
- (0, import_class_validator73.IsNotEmpty)({ message: "end date is required" }),
6366
- (0, import_class_validator73.IsDateString)()
6492
+ (0, import_class_validator74.IsNotEmpty)({ message: "end date is required" }),
6493
+ (0, import_class_validator74.IsDateString)()
6367
6494
  ], CreateFreelancerTimesheetDto.prototype, "endDate", 2);
6368
6495
  __decorateClass([
6369
- (0, import_class_validator73.IsNotEmpty)({ message: "start time is required" }),
6370
- (0, import_class_validator73.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
6496
+ (0, import_class_validator74.IsNotEmpty)({ message: "start time is required" }),
6497
+ (0, import_class_validator74.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
6371
6498
  message: "startTime must be in HH:mm:ss format"
6372
6499
  })
6373
6500
  ], CreateFreelancerTimesheetDto.prototype, "startTime", 2);
6374
6501
  __decorateClass([
6375
- (0, import_class_validator73.IsNotEmpty)({ message: "end time is required" }),
6376
- (0, import_class_validator73.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
6502
+ (0, import_class_validator74.IsNotEmpty)({ message: "end time is required" }),
6503
+ (0, import_class_validator74.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
6377
6504
  message: "endTime must be in HH:mm:ss format"
6378
6505
  })
6379
6506
  ], CreateFreelancerTimesheetDto.prototype, "endTime", 2);
6380
6507
  __decorateClass([
6381
- (0, import_class_validator73.IsOptional)(),
6382
- (0, import_class_validator73.IsInt)()
6508
+ (0, import_class_validator74.IsOptional)(),
6509
+ (0, import_class_validator74.IsInt)()
6383
6510
  ], CreateFreelancerTimesheetDto.prototype, "taskId", 2);
6384
6511
  __decorateClass([
6385
- (0, import_class_validator73.IsOptional)(),
6386
- (0, import_class_validator73.IsString)()
6512
+ (0, import_class_validator74.IsOptional)(),
6513
+ (0, import_class_validator74.IsString)()
6387
6514
  ], CreateFreelancerTimesheetDto.prototype, "projectName", 2);
6388
6515
  __decorateClass([
6389
- (0, import_class_validator73.IsOptional)(),
6390
- (0, import_class_validator73.IsString)()
6516
+ (0, import_class_validator74.IsOptional)(),
6517
+ (0, import_class_validator74.IsString)()
6391
6518
  ], CreateFreelancerTimesheetDto.prototype, "deliverable", 2);
6392
6519
  __decorateClass([
6393
- (0, import_class_validator73.IsOptional)(),
6394
- (0, import_class_validator73.IsString)()
6520
+ (0, import_class_validator74.IsOptional)(),
6521
+ (0, import_class_validator74.IsString)()
6395
6522
  ], CreateFreelancerTimesheetDto.prototype, "taskName", 2);
6396
6523
  __decorateClass([
6397
- (0, import_class_validator73.IsNotEmpty)({ message: "Description is required" })
6524
+ (0, import_class_validator74.IsNotEmpty)({ message: "Description is required" })
6398
6525
  ], CreateFreelancerTimesheetDto.prototype, "description", 2);
6399
6526
 
6400
6527
  // src/modules/timesheet/dto/update-freelancer-timesheet.dto.ts
6401
- var import_class_validator74 = require("class-validator");
6528
+ var import_class_validator75 = require("class-validator");
6402
6529
  var UpdateFreelancerTimesheetDto = class {
6403
6530
  };
6404
6531
  __decorateClass([
6405
- (0, import_class_validator74.IsNotEmpty)({ message: "Job id is required" }),
6406
- (0, import_class_validator74.IsNumber)({}, { message: "Job id must be a number" })
6532
+ (0, import_class_validator75.IsNotEmpty)({ message: "Job id is required" }),
6533
+ (0, import_class_validator75.IsNumber)({}, { message: "Job id must be a number" })
6407
6534
  ], UpdateFreelancerTimesheetDto.prototype, "jobId", 2);
6408
6535
  __decorateClass([
6409
- (0, import_class_validator74.IsNotEmpty)({ message: "start date is required" }),
6410
- (0, import_class_validator74.IsDateString)()
6536
+ (0, import_class_validator75.IsNotEmpty)({ message: "start date is required" }),
6537
+ (0, import_class_validator75.IsDateString)()
6411
6538
  ], UpdateFreelancerTimesheetDto.prototype, "startDate", 2);
6412
6539
  __decorateClass([
6413
- (0, import_class_validator74.IsNotEmpty)({ message: "end date is required" }),
6414
- (0, import_class_validator74.IsDateString)()
6540
+ (0, import_class_validator75.IsNotEmpty)({ message: "end date is required" }),
6541
+ (0, import_class_validator75.IsDateString)()
6415
6542
  ], UpdateFreelancerTimesheetDto.prototype, "endDate", 2);
6416
6543
  __decorateClass([
6417
- (0, import_class_validator74.IsNotEmpty)({ message: "start time is required" }),
6418
- (0, import_class_validator74.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
6544
+ (0, import_class_validator75.IsNotEmpty)({ message: "start time is required" }),
6545
+ (0, import_class_validator75.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
6419
6546
  message: "startTime must be in HH:mm:ss format"
6420
6547
  })
6421
6548
  ], UpdateFreelancerTimesheetDto.prototype, "startTime", 2);
6422
6549
  __decorateClass([
6423
- (0, import_class_validator74.IsNotEmpty)({ message: "end time is required" }),
6424
- (0, import_class_validator74.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
6550
+ (0, import_class_validator75.IsNotEmpty)({ message: "end time is required" }),
6551
+ (0, import_class_validator75.Matches)(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
6425
6552
  message: "endTime must be in HH:mm:ss format"
6426
6553
  })
6427
6554
  ], UpdateFreelancerTimesheetDto.prototype, "endTime", 2);
6428
6555
  __decorateClass([
6429
- (0, import_class_validator74.IsOptional)(),
6430
- (0, import_class_validator74.IsInt)()
6556
+ (0, import_class_validator75.IsOptional)(),
6557
+ (0, import_class_validator75.IsInt)()
6431
6558
  ], UpdateFreelancerTimesheetDto.prototype, "taskId", 2);
6432
6559
  __decorateClass([
6433
- (0, import_class_validator74.IsOptional)(),
6434
- (0, import_class_validator74.IsString)()
6560
+ (0, import_class_validator75.IsOptional)(),
6561
+ (0, import_class_validator75.IsString)()
6435
6562
  ], UpdateFreelancerTimesheetDto.prototype, "projectName", 2);
6436
6563
  __decorateClass([
6437
- (0, import_class_validator74.IsOptional)(),
6438
- (0, import_class_validator74.IsString)()
6564
+ (0, import_class_validator75.IsOptional)(),
6565
+ (0, import_class_validator75.IsString)()
6439
6566
  ], UpdateFreelancerTimesheetDto.prototype, "deliverable", 2);
6440
6567
  __decorateClass([
6441
- (0, import_class_validator74.IsOptional)(),
6442
- (0, import_class_validator74.IsString)()
6568
+ (0, import_class_validator75.IsOptional)(),
6569
+ (0, import_class_validator75.IsString)()
6443
6570
  ], UpdateFreelancerTimesheetDto.prototype, "taskName", 2);
6444
6571
  __decorateClass([
6445
- (0, import_class_validator74.IsNotEmpty)({ message: "Description is required" })
6572
+ (0, import_class_validator75.IsNotEmpty)({ message: "Description is required" })
6446
6573
  ], UpdateFreelancerTimesheetDto.prototype, "description", 2);
6447
6574
 
6448
6575
  // src/adapters/tcp/user.tcp.adapter.ts
@@ -6734,11 +6861,11 @@ var NotificationRMQAdapter = (mode = "microservice") => {
6734
6861
  };
6735
6862
 
6736
6863
  // src/entities/sequence-generator.entity.ts
6737
- var import_typeorm57 = require("typeorm");
6864
+ var import_typeorm58 = require("typeorm");
6738
6865
  var SequenceGenerator = class extends BaseEntity {
6739
6866
  };
6740
6867
  __decorateClass([
6741
- (0, import_typeorm57.Column)({
6868
+ (0, import_typeorm58.Column)({
6742
6869
  name: "module",
6743
6870
  type: "varchar",
6744
6871
  length: 50,
@@ -6747,7 +6874,7 @@ __decorateClass([
6747
6874
  })
6748
6875
  ], SequenceGenerator.prototype, "module", 2);
6749
6876
  __decorateClass([
6750
- (0, import_typeorm57.Column)({
6877
+ (0, import_typeorm58.Column)({
6751
6878
  name: "prefix",
6752
6879
  type: "varchar",
6753
6880
  length: 10,
@@ -6756,7 +6883,7 @@ __decorateClass([
6756
6883
  })
6757
6884
  ], SequenceGenerator.prototype, "prefix", 2);
6758
6885
  __decorateClass([
6759
- (0, import_typeorm57.Column)({
6886
+ (0, import_typeorm58.Column)({
6760
6887
  name: "last_sequence",
6761
6888
  type: "int",
6762
6889
  nullable: false,
@@ -6764,7 +6891,7 @@ __decorateClass([
6764
6891
  })
6765
6892
  ], SequenceGenerator.prototype, "lastSequence", 2);
6766
6893
  __decorateClass([
6767
- (0, import_typeorm57.Column)({
6894
+ (0, import_typeorm58.Column)({
6768
6895
  name: "year",
6769
6896
  type: "int",
6770
6897
  nullable: true,
@@ -6772,11 +6899,11 @@ __decorateClass([
6772
6899
  })
6773
6900
  ], SequenceGenerator.prototype, "year", 2);
6774
6901
  SequenceGenerator = __decorateClass([
6775
- (0, import_typeorm57.Entity)("sequence_generators")
6902
+ (0, import_typeorm58.Entity)("sequence_generators")
6776
6903
  ], SequenceGenerator);
6777
6904
 
6778
6905
  // src/entities/question.entity.ts
6779
- var import_typeorm58 = require("typeorm");
6906
+ var import_typeorm59 = require("typeorm");
6780
6907
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
6781
6908
  QuestionFor2["CLIENT"] = "CLIENT";
6782
6909
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -6785,16 +6912,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
6785
6912
  var Question = class extends BaseEntity {
6786
6913
  };
6787
6914
  __decorateClass([
6788
- (0, import_typeorm58.Column)({ name: "question", type: "varchar" })
6915
+ (0, import_typeorm59.Column)({ name: "question", type: "varchar" })
6789
6916
  ], Question.prototype, "question", 2);
6790
6917
  __decorateClass([
6791
- (0, import_typeorm58.Column)({ name: "hint", type: "varchar", nullable: true })
6918
+ (0, import_typeorm59.Column)({ name: "hint", type: "varchar", nullable: true })
6792
6919
  ], Question.prototype, "hint", 2);
6793
6920
  __decorateClass([
6794
- (0, import_typeorm58.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6921
+ (0, import_typeorm59.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6795
6922
  ], Question.prototype, "slug", 2);
6796
6923
  __decorateClass([
6797
- (0, import_typeorm58.Column)({
6924
+ (0, import_typeorm59.Column)({
6798
6925
  name: "question_for",
6799
6926
  type: "enum",
6800
6927
  enum: QuestionFor,
@@ -6802,117 +6929,117 @@ __decorateClass([
6802
6929
  })
6803
6930
  ], Question.prototype, "questionFor", 2);
6804
6931
  __decorateClass([
6805
- (0, import_typeorm58.Column)({ name: "type", type: "varchar", nullable: true })
6932
+ (0, import_typeorm59.Column)({ name: "type", type: "varchar", nullable: true })
6806
6933
  ], Question.prototype, "type", 2);
6807
6934
  __decorateClass([
6808
- (0, import_typeorm58.Column)({ name: "options", type: "jsonb", nullable: true })
6935
+ (0, import_typeorm59.Column)({ name: "options", type: "jsonb", nullable: true })
6809
6936
  ], Question.prototype, "options", 2);
6810
6937
  __decorateClass([
6811
- (0, import_typeorm58.Column)({ name: "is_active", type: "boolean", default: false })
6938
+ (0, import_typeorm59.Column)({ name: "is_active", type: "boolean", default: false })
6812
6939
  ], Question.prototype, "isActive", 2);
6813
6940
  Question = __decorateClass([
6814
- (0, import_typeorm58.Entity)("questions")
6941
+ (0, import_typeorm59.Entity)("questions")
6815
6942
  ], Question);
6816
6943
 
6817
6944
  // src/entities/skill.entity.ts
6818
- var import_typeorm59 = require("typeorm");
6945
+ var import_typeorm60 = require("typeorm");
6819
6946
  var Skill = class extends BaseEntity {
6820
6947
  };
6821
6948
  __decorateClass([
6822
- (0, import_typeorm59.Column)({ name: "name", type: "varchar", nullable: true })
6949
+ (0, import_typeorm60.Column)({ name: "name", type: "varchar", nullable: true })
6823
6950
  ], Skill.prototype, "name", 2);
6824
6951
  __decorateClass([
6825
- (0, import_typeorm59.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6952
+ (0, import_typeorm60.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6826
6953
  ], Skill.prototype, "slug", 2);
6827
6954
  __decorateClass([
6828
- (0, import_typeorm59.Column)({ name: "is_active", type: "boolean", default: false })
6955
+ (0, import_typeorm60.Column)({ name: "is_active", type: "boolean", default: false })
6829
6956
  ], Skill.prototype, "isActive", 2);
6830
6957
  Skill = __decorateClass([
6831
- (0, import_typeorm59.Entity)("skills")
6958
+ (0, import_typeorm60.Entity)("skills")
6832
6959
  ], Skill);
6833
6960
 
6834
6961
  // src/entities/job-role.entity.ts
6835
- var import_typeorm60 = require("typeorm");
6962
+ var import_typeorm61 = require("typeorm");
6836
6963
  var JobRoles = class extends BaseEntity {
6837
6964
  };
6838
6965
  __decorateClass([
6839
- (0, import_typeorm60.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6966
+ (0, import_typeorm61.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6840
6967
  ], JobRoles.prototype, "slug", 2);
6841
6968
  __decorateClass([
6842
- (0, import_typeorm60.Column)({ name: "name", type: "varchar", nullable: true })
6969
+ (0, import_typeorm61.Column)({ name: "name", type: "varchar", nullable: true })
6843
6970
  ], JobRoles.prototype, "name", 2);
6844
6971
  __decorateClass([
6845
- (0, import_typeorm60.Column)({ name: "is_active", type: "boolean", default: true })
6972
+ (0, import_typeorm61.Column)({ name: "is_active", type: "boolean", default: true })
6846
6973
  ], JobRoles.prototype, "isActive", 2);
6847
6974
  JobRoles = __decorateClass([
6848
- (0, import_typeorm60.Entity)("job_roles")
6975
+ (0, import_typeorm61.Entity)("job_roles")
6849
6976
  ], JobRoles);
6850
6977
 
6851
6978
  // src/entities/plan.entity.ts
6852
- var import_typeorm62 = require("typeorm");
6979
+ var import_typeorm63 = require("typeorm");
6853
6980
 
6854
6981
  // src/entities/feature.entity.ts
6855
- var import_typeorm61 = require("typeorm");
6982
+ var import_typeorm62 = require("typeorm");
6856
6983
  var Feature = class extends BaseEntity {
6857
6984
  };
6858
6985
  __decorateClass([
6859
- (0, import_typeorm61.Column)({ name: "name", type: "varchar", unique: true })
6986
+ (0, import_typeorm62.Column)({ name: "name", type: "varchar", unique: true })
6860
6987
  ], Feature.prototype, "name", 2);
6861
6988
  __decorateClass([
6862
- (0, import_typeorm61.ManyToMany)(() => Plan, (plan) => plan.features)
6989
+ (0, import_typeorm62.ManyToMany)(() => Plan, (plan) => plan.features)
6863
6990
  ], Feature.prototype, "plans", 2);
6864
6991
  Feature = __decorateClass([
6865
- (0, import_typeorm61.Entity)("features")
6992
+ (0, import_typeorm62.Entity)("features")
6866
6993
  ], Feature);
6867
6994
 
6868
6995
  // src/entities/plan.entity.ts
6869
6996
  var Plan = class extends BaseEntity {
6870
6997
  };
6871
6998
  __decorateClass([
6872
- (0, import_typeorm62.Column)({ name: "name", type: "varchar", unique: true })
6999
+ (0, import_typeorm63.Column)({ name: "name", type: "varchar", unique: true })
6873
7000
  ], Plan.prototype, "name", 2);
6874
7001
  __decorateClass([
6875
- (0, import_typeorm62.Column)({ name: "description", type: "varchar", nullable: true })
7002
+ (0, import_typeorm63.Column)({ name: "description", type: "varchar", nullable: true })
6876
7003
  ], Plan.prototype, "description", 2);
6877
7004
  __decorateClass([
6878
- (0, import_typeorm62.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
7005
+ (0, import_typeorm63.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
6879
7006
  ], Plan.prototype, "price", 2);
6880
7007
  __decorateClass([
6881
- (0, import_typeorm62.Column)({ name: "billing_period", type: "varchar" })
7008
+ (0, import_typeorm63.Column)({ name: "billing_period", type: "varchar" })
6882
7009
  ], Plan.prototype, "billingPeriod", 2);
6883
7010
  __decorateClass([
6884
- (0, import_typeorm62.Column)({ name: "is_current", type: "boolean", default: false })
7011
+ (0, import_typeorm63.Column)({ name: "is_current", type: "boolean", default: false })
6885
7012
  ], Plan.prototype, "isCurrent", 2);
6886
7013
  __decorateClass([
6887
- (0, import_typeorm62.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
6888
- (0, import_typeorm62.JoinTable)()
7014
+ (0, import_typeorm63.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
7015
+ (0, import_typeorm63.JoinTable)()
6889
7016
  ], Plan.prototype, "features", 2);
6890
7017
  Plan = __decorateClass([
6891
- (0, import_typeorm62.Entity)("plans")
7018
+ (0, import_typeorm63.Entity)("plans")
6892
7019
  ], Plan);
6893
7020
 
6894
7021
  // src/entities/cms.entity.ts
6895
- var import_typeorm63 = require("typeorm");
7022
+ var import_typeorm64 = require("typeorm");
6896
7023
  var Cms = class extends BaseEntity {
6897
7024
  };
6898
7025
  __decorateClass([
6899
- (0, import_typeorm63.Column)({ name: "title", type: "varchar", nullable: true })
7026
+ (0, import_typeorm64.Column)({ name: "title", type: "varchar", nullable: true })
6900
7027
  ], Cms.prototype, "title", 2);
6901
7028
  __decorateClass([
6902
- (0, import_typeorm63.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
7029
+ (0, import_typeorm64.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6903
7030
  ], Cms.prototype, "slug", 2);
6904
7031
  __decorateClass([
6905
- (0, import_typeorm63.Column)({ name: "content", type: "varchar", nullable: true })
7032
+ (0, import_typeorm64.Column)({ name: "content", type: "varchar", nullable: true })
6906
7033
  ], Cms.prototype, "content", 2);
6907
7034
  __decorateClass([
6908
- (0, import_typeorm63.Column)({ name: "is_active", type: "boolean", default: true })
7035
+ (0, import_typeorm64.Column)({ name: "is_active", type: "boolean", default: true })
6909
7036
  ], Cms.prototype, "isActive", 2);
6910
7037
  Cms = __decorateClass([
6911
- (0, import_typeorm63.Entity)("cms")
7038
+ (0, import_typeorm64.Entity)("cms")
6912
7039
  ], Cms);
6913
7040
 
6914
7041
  // src/entities/lead.entity.ts
6915
- var import_typeorm64 = require("typeorm");
7042
+ var import_typeorm65 = require("typeorm");
6916
7043
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
6917
7044
  CategoryEmum2["BUSINESS"] = "BUSINESS";
6918
7045
  CategoryEmum2["FREELANCER"] = "FREELANCER";
@@ -6921,22 +7048,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
6921
7048
  var Lead = class extends BaseEntity {
6922
7049
  };
6923
7050
  __decorateClass([
6924
- (0, import_typeorm64.Column)({ name: "name", type: "varchar", nullable: true })
7051
+ (0, import_typeorm65.Column)({ name: "name", type: "varchar", nullable: true })
6925
7052
  ], Lead.prototype, "name", 2);
6926
7053
  __decorateClass([
6927
- (0, import_typeorm64.Column)({ name: "mobile_code", type: "varchar", nullable: true })
7054
+ (0, import_typeorm65.Column)({ name: "mobile_code", type: "varchar", nullable: true })
6928
7055
  ], Lead.prototype, "mobileCode", 2);
6929
7056
  __decorateClass([
6930
- (0, import_typeorm64.Column)({ name: "mobile", type: "varchar", nullable: true })
7057
+ (0, import_typeorm65.Column)({ name: "mobile", type: "varchar", nullable: true })
6931
7058
  ], Lead.prototype, "mobile", 2);
6932
7059
  __decorateClass([
6933
- (0, import_typeorm64.Column)({ name: "email", type: "varchar", nullable: true })
7060
+ (0, import_typeorm65.Column)({ name: "email", type: "varchar", nullable: true })
6934
7061
  ], Lead.prototype, "email", 2);
6935
7062
  __decorateClass([
6936
- (0, import_typeorm64.Column)({ name: "description", type: "varchar", nullable: true })
7063
+ (0, import_typeorm65.Column)({ name: "description", type: "varchar", nullable: true })
6937
7064
  ], Lead.prototype, "description", 2);
6938
7065
  __decorateClass([
6939
- (0, import_typeorm64.Column)({
7066
+ (0, import_typeorm65.Column)({
6940
7067
  name: "category",
6941
7068
  type: "enum",
6942
7069
  enum: CategoryEmum,
@@ -6944,129 +7071,129 @@ __decorateClass([
6944
7071
  })
6945
7072
  ], Lead.prototype, "category", 2);
6946
7073
  Lead = __decorateClass([
6947
- (0, import_typeorm64.Entity)("leads")
7074
+ (0, import_typeorm65.Entity)("leads")
6948
7075
  ], Lead);
6949
7076
 
6950
7077
  // src/entities/job-freelancer-recommendation.entity.ts
6951
- var import_typeorm65 = require("typeorm");
7078
+ var import_typeorm66 = require("typeorm");
6952
7079
  var JobFreelancerRecommendation = class {
6953
7080
  };
6954
7081
  __decorateClass([
6955
- (0, import_typeorm65.ViewColumn)({ name: "job_id" })
7082
+ (0, import_typeorm66.ViewColumn)({ name: "job_id" })
6956
7083
  ], JobFreelancerRecommendation.prototype, "jobId", 2);
6957
7084
  __decorateClass([
6958
- (0, import_typeorm65.ViewColumn)({ name: "job_uuid" })
7085
+ (0, import_typeorm66.ViewColumn)({ name: "job_uuid" })
6959
7086
  ], JobFreelancerRecommendation.prototype, "jobUuid", 2);
6960
7087
  __decorateClass([
6961
- (0, import_typeorm65.ViewColumn)({ name: "job_unique_id" })
7088
+ (0, import_typeorm66.ViewColumn)({ name: "job_unique_id" })
6962
7089
  ], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
6963
7090
  __decorateClass([
6964
- (0, import_typeorm65.ViewColumn)({ name: "job_role" })
7091
+ (0, import_typeorm66.ViewColumn)({ name: "job_role" })
6965
7092
  ], JobFreelancerRecommendation.prototype, "jobRole", 2);
6966
7093
  __decorateClass([
6967
- (0, import_typeorm65.ViewColumn)({ name: "job_openings" })
7094
+ (0, import_typeorm66.ViewColumn)({ name: "job_openings" })
6968
7095
  ], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
6969
7096
  __decorateClass([
6970
- (0, import_typeorm65.ViewColumn)({ name: "job_location" })
7097
+ (0, import_typeorm66.ViewColumn)({ name: "job_location" })
6971
7098
  ], JobFreelancerRecommendation.prototype, "jobLocation", 2);
6972
7099
  __decorateClass([
6973
- (0, import_typeorm65.ViewColumn)({ name: "job_currency" })
7100
+ (0, import_typeorm66.ViewColumn)({ name: "job_currency" })
6974
7101
  ], JobFreelancerRecommendation.prototype, "jobCurrency", 2);
6975
7102
  __decorateClass([
6976
- (0, import_typeorm65.ViewColumn)({ name: "job_salary_from" })
7103
+ (0, import_typeorm66.ViewColumn)({ name: "job_salary_from" })
6977
7104
  ], JobFreelancerRecommendation.prototype, "jobSalaryFrom", 2);
6978
7105
  __decorateClass([
6979
- (0, import_typeorm65.ViewColumn)({ name: "job_salary_to" })
7106
+ (0, import_typeorm66.ViewColumn)({ name: "job_salary_to" })
6980
7107
  ], JobFreelancerRecommendation.prototype, "jobSalaryTo", 2);
6981
7108
  __decorateClass([
6982
- (0, import_typeorm65.ViewColumn)({ name: "job_employment_type" })
7109
+ (0, import_typeorm66.ViewColumn)({ name: "job_employment_type" })
6983
7110
  ], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
6984
7111
  __decorateClass([
6985
- (0, import_typeorm65.ViewColumn)({ name: "application_received" })
7112
+ (0, import_typeorm66.ViewColumn)({ name: "application_received" })
6986
7113
  ], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
6987
7114
  __decorateClass([
6988
- (0, import_typeorm65.ViewColumn)({ name: "job_posted_at" })
7115
+ (0, import_typeorm66.ViewColumn)({ name: "job_posted_at" })
6989
7116
  ], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
6990
7117
  __decorateClass([
6991
- (0, import_typeorm65.ViewColumn)({ name: "freelancer_id" })
7118
+ (0, import_typeorm66.ViewColumn)({ name: "freelancer_id" })
6992
7119
  ], JobFreelancerRecommendation.prototype, "freelancerId", 2);
6993
7120
  __decorateClass([
6994
- (0, import_typeorm65.ViewColumn)({ name: "freelancer_uuid" })
7121
+ (0, import_typeorm66.ViewColumn)({ name: "freelancer_uuid" })
6995
7122
  ], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
6996
7123
  __decorateClass([
6997
- (0, import_typeorm65.ViewColumn)({ name: "freelancer_unique_id" })
7124
+ (0, import_typeorm66.ViewColumn)({ name: "freelancer_unique_id" })
6998
7125
  ], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
6999
7126
  __decorateClass([
7000
- (0, import_typeorm65.ViewColumn)({ name: "freelancer_first_name" })
7127
+ (0, import_typeorm66.ViewColumn)({ name: "freelancer_first_name" })
7001
7128
  ], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
7002
7129
  __decorateClass([
7003
- (0, import_typeorm65.ViewColumn)({ name: "freelancer_last_name" })
7130
+ (0, import_typeorm66.ViewColumn)({ name: "freelancer_last_name" })
7004
7131
  ], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
7005
7132
  __decorateClass([
7006
- (0, import_typeorm65.ViewColumn)({ name: "freelancer_email" })
7133
+ (0, import_typeorm66.ViewColumn)({ name: "freelancer_email" })
7007
7134
  ], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
7008
7135
  __decorateClass([
7009
- (0, import_typeorm65.ViewColumn)({ name: "freelancer_profile_picture" })
7136
+ (0, import_typeorm66.ViewColumn)({ name: "freelancer_profile_picture" })
7010
7137
  ], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
7011
7138
  __decorateClass([
7012
- (0, import_typeorm65.ViewColumn)({ name: "freelancer_is_social" })
7139
+ (0, import_typeorm66.ViewColumn)({ name: "freelancer_is_social" })
7013
7140
  ], JobFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
7014
7141
  __decorateClass([
7015
- (0, import_typeorm65.ViewColumn)({ name: "freelancer_created_at" })
7142
+ (0, import_typeorm66.ViewColumn)({ name: "freelancer_created_at" })
7016
7143
  ], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
7017
7144
  __decorateClass([
7018
- (0, import_typeorm65.ViewColumn)({ name: "freelancer_designation" })
7145
+ (0, import_typeorm66.ViewColumn)({ name: "freelancer_designation" })
7019
7146
  ], JobFreelancerRecommendation.prototype, "freelancerDesignation", 2);
7020
7147
  __decorateClass([
7021
- (0, import_typeorm65.ViewColumn)({ name: "freelancer_experience" })
7148
+ (0, import_typeorm66.ViewColumn)({ name: "freelancer_experience" })
7022
7149
  ], JobFreelancerRecommendation.prototype, "freelancerExperience", 2);
7023
7150
  __decorateClass([
7024
- (0, import_typeorm65.ViewColumn)({ name: "freelancer_expertshub_verified" })
7151
+ (0, import_typeorm66.ViewColumn)({ name: "freelancer_expertshub_verified" })
7025
7152
  ], JobFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
7026
7153
  __decorateClass([
7027
- (0, import_typeorm65.ViewColumn)({ name: "freelancer_hourly_compensation" })
7154
+ (0, import_typeorm66.ViewColumn)({ name: "freelancer_hourly_compensation" })
7028
7155
  ], JobFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
7029
7156
  __decorateClass([
7030
- (0, import_typeorm65.ViewColumn)({ name: "freelancer_country_name" })
7157
+ (0, import_typeorm66.ViewColumn)({ name: "freelancer_country_name" })
7031
7158
  ], JobFreelancerRecommendation.prototype, "freelancerCountryName", 2);
7032
7159
  __decorateClass([
7033
- (0, import_typeorm65.ViewColumn)({ name: "freelancer_country_iso_code" })
7160
+ (0, import_typeorm66.ViewColumn)({ name: "freelancer_country_iso_code" })
7034
7161
  ], JobFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
7035
7162
  __decorateClass([
7036
- (0, import_typeorm65.ViewColumn)({ name: "client_id" })
7163
+ (0, import_typeorm66.ViewColumn)({ name: "client_id" })
7037
7164
  ], JobFreelancerRecommendation.prototype, "clientId", 2);
7038
7165
  __decorateClass([
7039
- (0, import_typeorm65.ViewColumn)({ name: "client_uuid" })
7166
+ (0, import_typeorm66.ViewColumn)({ name: "client_uuid" })
7040
7167
  ], JobFreelancerRecommendation.prototype, "clientUuid", 2);
7041
7168
  __decorateClass([
7042
- (0, import_typeorm65.ViewColumn)({ name: "client_first_name" })
7169
+ (0, import_typeorm66.ViewColumn)({ name: "client_first_name" })
7043
7170
  ], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
7044
7171
  __decorateClass([
7045
- (0, import_typeorm65.ViewColumn)({ name: "client_last_name" })
7172
+ (0, import_typeorm66.ViewColumn)({ name: "client_last_name" })
7046
7173
  ], JobFreelancerRecommendation.prototype, "clientLastName", 2);
7047
7174
  __decorateClass([
7048
- (0, import_typeorm65.ViewColumn)({ name: "client_email" })
7175
+ (0, import_typeorm66.ViewColumn)({ name: "client_email" })
7049
7176
  ], JobFreelancerRecommendation.prototype, "clientEmail", 2);
7050
7177
  __decorateClass([
7051
- (0, import_typeorm65.ViewColumn)({ name: "client_company_logo" })
7178
+ (0, import_typeorm66.ViewColumn)({ name: "client_company_logo" })
7052
7179
  ], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
7053
7180
  __decorateClass([
7054
- (0, import_typeorm65.ViewColumn)({ name: "client_company_name" })
7181
+ (0, import_typeorm66.ViewColumn)({ name: "client_company_name" })
7055
7182
  ], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
7056
7183
  __decorateClass([
7057
- (0, import_typeorm65.ViewColumn)({ name: "matching_skills" })
7184
+ (0, import_typeorm66.ViewColumn)({ name: "matching_skills" })
7058
7185
  ], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
7059
7186
  __decorateClass([
7060
- (0, import_typeorm65.ViewColumn)({ name: "matching_skills_count" })
7187
+ (0, import_typeorm66.ViewColumn)({ name: "matching_skills_count" })
7061
7188
  ], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
7062
7189
  __decorateClass([
7063
- (0, import_typeorm65.ViewColumn)({ name: "required_skills" })
7190
+ (0, import_typeorm66.ViewColumn)({ name: "required_skills" })
7064
7191
  ], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
7065
7192
  __decorateClass([
7066
- (0, import_typeorm65.ViewColumn)({ name: "required_skills_count" })
7193
+ (0, import_typeorm66.ViewColumn)({ name: "required_skills_count" })
7067
7194
  ], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
7068
7195
  JobFreelancerRecommendation = __decorateClass([
7069
- (0, import_typeorm65.ViewEntity)({
7196
+ (0, import_typeorm66.ViewEntity)({
7070
7197
  name: "job_freelancer_recommendations",
7071
7198
  materialized: true,
7072
7199
  synchronize: false
@@ -7075,32 +7202,32 @@ JobFreelancerRecommendation = __decorateClass([
7075
7202
  ], JobFreelancerRecommendation);
7076
7203
 
7077
7204
  // src/entities/job-freelancer-recommendation-v2.entity.ts
7078
- var import_typeorm66 = require("typeorm");
7205
+ var import_typeorm67 = require("typeorm");
7079
7206
  var JobFreelancerRecommendationV2 = class {
7080
7207
  };
7081
7208
  __decorateClass([
7082
- (0, import_typeorm66.ViewColumn)({ name: "job_id" })
7209
+ (0, import_typeorm67.ViewColumn)({ name: "job_id" })
7083
7210
  ], JobFreelancerRecommendationV2.prototype, "jobId", 2);
7084
7211
  __decorateClass([
7085
- (0, import_typeorm66.ViewColumn)({ name: "job_owner_id" })
7212
+ (0, import_typeorm67.ViewColumn)({ name: "job_owner_id" })
7086
7213
  ], JobFreelancerRecommendationV2.prototype, "jobOwnerId", 2);
7087
7214
  __decorateClass([
7088
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_id" })
7215
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_id" })
7089
7216
  ], JobFreelancerRecommendationV2.prototype, "freelancerId", 2);
7090
7217
  __decorateClass([
7091
- (0, import_typeorm66.ViewColumn)({ name: "matching_skills" })
7218
+ (0, import_typeorm67.ViewColumn)({ name: "matching_skills" })
7092
7219
  ], JobFreelancerRecommendationV2.prototype, "matchingSkills", 2);
7093
7220
  __decorateClass([
7094
- (0, import_typeorm66.ViewColumn)({ name: "matching_skills_count" })
7221
+ (0, import_typeorm67.ViewColumn)({ name: "matching_skills_count" })
7095
7222
  ], JobFreelancerRecommendationV2.prototype, "matchingSkillsCount", 2);
7096
7223
  __decorateClass([
7097
- (0, import_typeorm66.ViewColumn)({ name: "required_skills" })
7224
+ (0, import_typeorm67.ViewColumn)({ name: "required_skills" })
7098
7225
  ], JobFreelancerRecommendationV2.prototype, "requiredSkills", 2);
7099
7226
  __decorateClass([
7100
- (0, import_typeorm66.ViewColumn)({ name: "required_skills_count" })
7227
+ (0, import_typeorm67.ViewColumn)({ name: "required_skills_count" })
7101
7228
  ], JobFreelancerRecommendationV2.prototype, "requiredSkillsCount", 2);
7102
7229
  JobFreelancerRecommendationV2 = __decorateClass([
7103
- (0, import_typeorm66.ViewEntity)({
7230
+ (0, import_typeorm67.ViewEntity)({
7104
7231
  name: "job_freelancer_recommendations_v2",
7105
7232
  materialized: true,
7106
7233
  synchronize: false
@@ -7109,74 +7236,74 @@ JobFreelancerRecommendationV2 = __decorateClass([
7109
7236
  ], JobFreelancerRecommendationV2);
7110
7237
 
7111
7238
  // src/entities/client-freelancer-recommendation.entity.ts
7112
- var import_typeorm67 = require("typeorm");
7239
+ var import_typeorm68 = require("typeorm");
7113
7240
  var ClientFreelancerRecommendation = class {
7114
7241
  };
7115
7242
  __decorateClass([
7116
- (0, import_typeorm67.ViewColumn)({ name: "client_id" })
7243
+ (0, import_typeorm68.ViewColumn)({ name: "client_id" })
7117
7244
  ], ClientFreelancerRecommendation.prototype, "clientId", 2);
7118
7245
  __decorateClass([
7119
- (0, import_typeorm67.ViewColumn)({ name: "client_uuid" })
7246
+ (0, import_typeorm68.ViewColumn)({ name: "client_uuid" })
7120
7247
  ], ClientFreelancerRecommendation.prototype, "clientUuid", 2);
7121
7248
  __decorateClass([
7122
- (0, import_typeorm67.ViewColumn)({ name: "freelancer_id" })
7249
+ (0, import_typeorm68.ViewColumn)({ name: "freelancer_id" })
7123
7250
  ], ClientFreelancerRecommendation.prototype, "freelancerId", 2);
7124
7251
  __decorateClass([
7125
- (0, import_typeorm67.ViewColumn)({ name: "freelancer_uuid" })
7252
+ (0, import_typeorm68.ViewColumn)({ name: "freelancer_uuid" })
7126
7253
  ], ClientFreelancerRecommendation.prototype, "freelancerUuid", 2);
7127
7254
  __decorateClass([
7128
- (0, import_typeorm67.ViewColumn)({ name: "freelancer_unique_id" })
7255
+ (0, import_typeorm68.ViewColumn)({ name: "freelancer_unique_id" })
7129
7256
  ], ClientFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
7130
7257
  __decorateClass([
7131
- (0, import_typeorm67.ViewColumn)({ name: "freelancer_first_name" })
7258
+ (0, import_typeorm68.ViewColumn)({ name: "freelancer_first_name" })
7132
7259
  ], ClientFreelancerRecommendation.prototype, "freelancerFirstName", 2);
7133
7260
  __decorateClass([
7134
- (0, import_typeorm67.ViewColumn)({ name: "freelancer_last_name" })
7261
+ (0, import_typeorm68.ViewColumn)({ name: "freelancer_last_name" })
7135
7262
  ], ClientFreelancerRecommendation.prototype, "freelancerLastName", 2);
7136
7263
  __decorateClass([
7137
- (0, import_typeorm67.ViewColumn)({ name: "freelancer_email" })
7264
+ (0, import_typeorm68.ViewColumn)({ name: "freelancer_email" })
7138
7265
  ], ClientFreelancerRecommendation.prototype, "freelancerEmail", 2);
7139
7266
  __decorateClass([
7140
- (0, import_typeorm67.ViewColumn)({ name: "freelancer_profile_picture" })
7267
+ (0, import_typeorm68.ViewColumn)({ name: "freelancer_profile_picture" })
7141
7268
  ], ClientFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
7142
7269
  __decorateClass([
7143
- (0, import_typeorm67.ViewColumn)({ name: "freelancer_is_social" })
7270
+ (0, import_typeorm68.ViewColumn)({ name: "freelancer_is_social" })
7144
7271
  ], ClientFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
7145
7272
  __decorateClass([
7146
- (0, import_typeorm67.ViewColumn)({ name: "freelancer_created_at" })
7273
+ (0, import_typeorm68.ViewColumn)({ name: "freelancer_created_at" })
7147
7274
  ], ClientFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
7148
7275
  __decorateClass([
7149
- (0, import_typeorm67.ViewColumn)({ name: "freelancer_designation" })
7276
+ (0, import_typeorm68.ViewColumn)({ name: "freelancer_designation" })
7150
7277
  ], ClientFreelancerRecommendation.prototype, "freelancerDesignation", 2);
7151
7278
  __decorateClass([
7152
- (0, import_typeorm67.ViewColumn)({ name: "freelancer_experience" })
7279
+ (0, import_typeorm68.ViewColumn)({ name: "freelancer_experience" })
7153
7280
  ], ClientFreelancerRecommendation.prototype, "freelancerExperience", 2);
7154
7281
  __decorateClass([
7155
- (0, import_typeorm67.ViewColumn)({ name: "freelancer_expertshub_verified" })
7282
+ (0, import_typeorm68.ViewColumn)({ name: "freelancer_expertshub_verified" })
7156
7283
  ], ClientFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
7157
7284
  __decorateClass([
7158
- (0, import_typeorm67.ViewColumn)({ name: "freelancer_hourly_compensation" })
7285
+ (0, import_typeorm68.ViewColumn)({ name: "freelancer_hourly_compensation" })
7159
7286
  ], ClientFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
7160
7287
  __decorateClass([
7161
- (0, import_typeorm67.ViewColumn)({ name: "freelancer_country_name" })
7288
+ (0, import_typeorm68.ViewColumn)({ name: "freelancer_country_name" })
7162
7289
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryName", 2);
7163
7290
  __decorateClass([
7164
- (0, import_typeorm67.ViewColumn)({ name: "freelancer_country_iso_code" })
7291
+ (0, import_typeorm68.ViewColumn)({ name: "freelancer_country_iso_code" })
7165
7292
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
7166
7293
  __decorateClass([
7167
- (0, import_typeorm67.ViewColumn)({ name: "matching_skills" })
7294
+ (0, import_typeorm68.ViewColumn)({ name: "matching_skills" })
7168
7295
  ], ClientFreelancerRecommendation.prototype, "matchingSkills", 2);
7169
7296
  __decorateClass([
7170
- (0, import_typeorm67.ViewColumn)({ name: "matching_skills_count" })
7297
+ (0, import_typeorm68.ViewColumn)({ name: "matching_skills_count" })
7171
7298
  ], ClientFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
7172
7299
  __decorateClass([
7173
- (0, import_typeorm67.ViewColumn)({ name: "required_skills" })
7300
+ (0, import_typeorm68.ViewColumn)({ name: "required_skills" })
7174
7301
  ], ClientFreelancerRecommendation.prototype, "requiredSkills", 2);
7175
7302
  __decorateClass([
7176
- (0, import_typeorm67.ViewColumn)({ name: "required_skills_count" })
7303
+ (0, import_typeorm68.ViewColumn)({ name: "required_skills_count" })
7177
7304
  ], ClientFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
7178
7305
  ClientFreelancerRecommendation = __decorateClass([
7179
- (0, import_typeorm67.ViewEntity)({
7306
+ (0, import_typeorm68.ViewEntity)({
7180
7307
  name: "client_freelancer_recommendations",
7181
7308
  materialized: true,
7182
7309
  synchronize: false
@@ -7185,7 +7312,7 @@ ClientFreelancerRecommendation = __decorateClass([
7185
7312
  ], ClientFreelancerRecommendation);
7186
7313
 
7187
7314
  // src/entities/commission.entity.ts
7188
- var import_typeorm68 = require("typeorm");
7315
+ var import_typeorm69 = require("typeorm");
7189
7316
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
7190
7317
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
7191
7318
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -7194,7 +7321,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
7194
7321
  var Commission = class extends BaseEntity {
7195
7322
  };
7196
7323
  __decorateClass([
7197
- (0, import_typeorm68.Column)({
7324
+ (0, import_typeorm69.Column)({
7198
7325
  name: "freelancer_commission_type",
7199
7326
  type: "enum",
7200
7327
  enum: CommissionTypeEnum,
@@ -7202,10 +7329,10 @@ __decorateClass([
7202
7329
  })
7203
7330
  ], Commission.prototype, "freelancerCommissionType", 2);
7204
7331
  __decorateClass([
7205
- (0, import_typeorm68.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
7332
+ (0, import_typeorm69.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
7206
7333
  ], Commission.prototype, "freelancerCommission", 2);
7207
7334
  __decorateClass([
7208
- (0, import_typeorm68.Column)({
7335
+ (0, import_typeorm69.Column)({
7209
7336
  name: "client_commission_type",
7210
7337
  type: "enum",
7211
7338
  enum: CommissionTypeEnum,
@@ -7213,66 +7340,66 @@ __decorateClass([
7213
7340
  })
7214
7341
  ], Commission.prototype, "clientCommissionType", 2);
7215
7342
  __decorateClass([
7216
- (0, import_typeorm68.Column)({ name: "client_commission", type: "integer", default: 0 })
7343
+ (0, import_typeorm69.Column)({ name: "client_commission", type: "integer", default: 0 })
7217
7344
  ], Commission.prototype, "clientCommission", 2);
7218
7345
  Commission = __decorateClass([
7219
- (0, import_typeorm68.Entity)("commissions")
7346
+ (0, import_typeorm69.Entity)("commissions")
7220
7347
  ], Commission);
7221
7348
 
7222
7349
  // src/entities/calendly-meeting-log.entity.ts
7223
- var import_typeorm69 = require("typeorm");
7350
+ var import_typeorm70 = require("typeorm");
7224
7351
  var CalendlyMeetingLog = class extends BaseEntity {
7225
7352
  };
7226
7353
  __decorateClass([
7227
- (0, import_typeorm69.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
7228
- (0, import_typeorm69.Index)()
7354
+ (0, import_typeorm70.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
7355
+ (0, import_typeorm70.Index)()
7229
7356
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
7230
7357
  __decorateClass([
7231
- (0, import_typeorm69.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
7358
+ (0, import_typeorm70.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
7232
7359
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
7233
7360
  __decorateClass([
7234
- (0, import_typeorm69.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7361
+ (0, import_typeorm70.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7235
7362
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
7236
7363
  CalendlyMeetingLog = __decorateClass([
7237
- (0, import_typeorm69.Entity)("calendly_meeting_logs")
7364
+ (0, import_typeorm70.Entity)("calendly_meeting_logs")
7238
7365
  ], CalendlyMeetingLog);
7239
7366
 
7240
7367
  // src/entities/zoom-meeting-log.entity.ts
7241
- var import_typeorm70 = require("typeorm");
7368
+ var import_typeorm71 = require("typeorm");
7242
7369
  var ZoomMeetingLog = class extends BaseEntity {
7243
7370
  };
7244
7371
  __decorateClass([
7245
- (0, import_typeorm70.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
7246
- (0, import_typeorm70.Index)()
7372
+ (0, import_typeorm71.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
7373
+ (0, import_typeorm71.Index)()
7247
7374
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
7248
7375
  __decorateClass([
7249
- (0, import_typeorm70.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
7376
+ (0, import_typeorm71.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
7250
7377
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
7251
7378
  __decorateClass([
7252
- (0, import_typeorm70.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7379
+ (0, import_typeorm71.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7253
7380
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
7254
7381
  ZoomMeetingLog = __decorateClass([
7255
- (0, import_typeorm70.Entity)("zoom_meeting_logs")
7382
+ (0, import_typeorm71.Entity)("zoom_meeting_logs")
7256
7383
  ], ZoomMeetingLog);
7257
7384
 
7258
7385
  // src/entities/stripe-logs.entity.ts
7259
- var import_typeorm71 = require("typeorm");
7386
+ var import_typeorm72 = require("typeorm");
7260
7387
  var StripeLog = class extends BaseEntity {
7261
7388
  };
7262
7389
  __decorateClass([
7263
- (0, import_typeorm71.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
7390
+ (0, import_typeorm72.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
7264
7391
  ], StripeLog.prototype, "stripeEventId", 2);
7265
7392
  __decorateClass([
7266
- (0, import_typeorm71.Column)({ name: "event_type", type: "varchar", nullable: true })
7393
+ (0, import_typeorm72.Column)({ name: "event_type", type: "varchar", nullable: true })
7267
7394
  ], StripeLog.prototype, "eventType", 2);
7268
7395
  __decorateClass([
7269
- (0, import_typeorm71.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
7396
+ (0, import_typeorm72.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
7270
7397
  ], StripeLog.prototype, "stripeAccountId", 2);
7271
7398
  __decorateClass([
7272
- (0, import_typeorm71.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7399
+ (0, import_typeorm72.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7273
7400
  ], StripeLog.prototype, "rawWebhookData", 2);
7274
7401
  StripeLog = __decorateClass([
7275
- (0, import_typeorm71.Entity)("stripe_logs")
7402
+ (0, import_typeorm72.Entity)("stripe_logs")
7276
7403
  ], StripeLog);
7277
7404
  // Annotate the CommonJS export names for ESM import in node:
7278
7405
  0 && (module.exports = {
@@ -7350,6 +7477,7 @@ StripeLog = __decorateClass([
7350
7477
  CreateCmsDto,
7351
7478
  CreateCompanyMemberDto,
7352
7479
  CreateCompanyRoleDto,
7480
+ CreateF2FInterviewDirectDto,
7353
7481
  CreateF2FInterviewDto,
7354
7482
  CreateF2FInterviewRescheduleRequestDto,
7355
7483
  CreateFreelancerDto,
@@ -7415,6 +7543,8 @@ StripeLog = __decorateClass([
7415
7543
  InterviewQuestion,
7416
7544
  InterviewSkill,
7417
7545
  InterviewStatusEnum,
7546
+ Invoice,
7547
+ InvoiceStatusEnum,
7418
7548
  JOB_PATTERN,
7419
7549
  JOB_ROLE_PATTERN,
7420
7550
  Job,