@experts_hub/shared 1.0.517 → 1.0.520

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1713,17 +1713,17 @@ import {
1713
1713
  } from "class-validator";
1714
1714
 
1715
1715
  // src/entities/rating.entity.ts
1716
- import { Entity as Entity61, Column as Column62, ManyToOne as ManyToOne56, JoinColumn as JoinColumn57, Index as Index55 } from "typeorm";
1716
+ import { Entity as Entity62, Column as Column63, ManyToOne as ManyToOne57, JoinColumn as JoinColumn58, Index as Index56 } from "typeorm";
1717
1717
 
1718
1718
  // src/entities/user.entity.ts
1719
1719
  import {
1720
- Entity as Entity60,
1721
- Column as Column61,
1720
+ Entity as Entity61,
1721
+ Column as Column62,
1722
1722
  OneToMany as OneToMany21,
1723
- OneToOne as OneToOne11,
1724
- Index as Index54,
1725
- ManyToOne as ManyToOne55,
1726
- JoinColumn as JoinColumn56
1723
+ OneToOne as OneToOne12,
1724
+ Index as Index55,
1725
+ ManyToOne as ManyToOne56,
1726
+ JoinColumn as JoinColumn57
1727
1727
  } from "typeorm";
1728
1728
 
1729
1729
  // src/entities/base.entity.ts
@@ -2545,11 +2545,11 @@ FreelancerProfile = __decorateClass([
2545
2545
 
2546
2546
  // src/entities/job.entity.ts
2547
2547
  import {
2548
- Entity as Entity30,
2549
- Column as Column31,
2550
- Index as Index24,
2551
- ManyToOne as ManyToOne29,
2552
- JoinColumn as JoinColumn29,
2548
+ Entity as Entity31,
2549
+ Column as Column32,
2550
+ Index as Index25,
2551
+ ManyToOne as ManyToOne30,
2552
+ JoinColumn as JoinColumn30,
2553
2553
  OneToMany as OneToMany12
2554
2554
  } from "typeorm";
2555
2555
 
@@ -3499,16 +3499,16 @@ JobRecommendation = __decorateClass([
3499
3499
  ], JobRecommendation);
3500
3500
 
3501
3501
  // src/entities/contract.entity.ts
3502
- import { Entity as Entity27, Column as Column28, Index as Index21, ManyToOne as ManyToOne26, JoinColumn as JoinColumn26, OneToOne as OneToOne8 } from "typeorm";
3502
+ import { Entity as Entity28, Column as Column29, Index as Index22, ManyToOne as ManyToOne27, JoinColumn as JoinColumn27, OneToOne as OneToOne9 } from "typeorm";
3503
3503
 
3504
3504
  // src/entities/escrow-wallet.entity.ts
3505
- import { Entity as Entity26, Column as Column27, Index as Index20, JoinColumn as JoinColumn25, OneToOne as OneToOne7, OneToMany as OneToMany10, ManyToOne as ManyToOne25 } from "typeorm";
3505
+ import { Entity as Entity27, Column as Column28, Index as Index21, JoinColumn as JoinColumn26, OneToOne as OneToOne8, OneToMany as OneToMany10, ManyToOne as ManyToOne26 } from "typeorm";
3506
3506
 
3507
3507
  // src/entities/escrow-wallet-transaction.entity.ts
3508
- import { Entity as Entity25, Column as Column26, Index as Index19, ManyToOne as ManyToOne24, JoinColumn as JoinColumn24, OneToOne as OneToOne6 } from "typeorm";
3508
+ import { Entity as Entity26, Column as Column27, Index as Index20, ManyToOne as ManyToOne25, JoinColumn as JoinColumn25, OneToOne as OneToOne7 } from "typeorm";
3509
3509
 
3510
3510
  // src/entities/invoice.entity.ts
3511
- import { Entity as Entity24, Column as Column25, Index as Index18, JoinColumn as JoinColumn23, ManyToOne as ManyToOne23, OneToOne as OneToOne5 } from "typeorm";
3511
+ import { Entity as Entity25, Column as Column26, Index as Index19, JoinColumn as JoinColumn24, ManyToOne as ManyToOne24, OneToOne as OneToOne6 } from "typeorm";
3512
3512
 
3513
3513
  // src/entities/timesheet-line.entity.ts
3514
3514
  import { Entity as Entity23, Column as Column24, Index as Index17, JoinColumn as JoinColumn22, OneToMany as OneToMany9, ManyToOne as ManyToOne22 } from "typeorm";
@@ -3716,6 +3716,62 @@ TimesheetLine = __decorateClass([
3716
3716
  Entity23("timesheet_lines")
3717
3717
  ], TimesheetLine);
3718
3718
 
3719
+ // src/entities/hiring.entity.ts
3720
+ import { Entity as Entity24, Column as Column25, Index as Index18, ManyToOne as ManyToOne23, JoinColumn as JoinColumn23, OneToOne as OneToOne5 } from "typeorm";
3721
+ var HiredFreelancerNatureOfWorkEnum = /* @__PURE__ */ ((HiredFreelancerNatureOfWorkEnum2) => {
3722
+ HiredFreelancerNatureOfWorkEnum2["FTE"] = "FTE";
3723
+ HiredFreelancerNatureOfWorkEnum2["FREELANCE"] = "FREELANCE";
3724
+ return HiredFreelancerNatureOfWorkEnum2;
3725
+ })(HiredFreelancerNatureOfWorkEnum || {});
3726
+ var Hiring = class extends BaseEntity {
3727
+ };
3728
+ __decorateClass([
3729
+ Column25({ name: "job_id", type: "integer", nullable: true }),
3730
+ Index18()
3731
+ ], Hiring.prototype, "jobId", 2);
3732
+ __decorateClass([
3733
+ ManyToOne23(() => Job, (job) => job.hirings),
3734
+ JoinColumn23({ name: "job_id" })
3735
+ ], Hiring.prototype, "job", 2);
3736
+ __decorateClass([
3737
+ Column25({ name: "client_id", type: "integer", nullable: true }),
3738
+ Index18()
3739
+ ], Hiring.prototype, "clientId", 2);
3740
+ __decorateClass([
3741
+ ManyToOne23(() => User, (user) => user.clientHirings),
3742
+ JoinColumn23({ name: "client_id" })
3743
+ ], Hiring.prototype, "client", 2);
3744
+ __decorateClass([
3745
+ Column25({ name: "freelancer_id", type: "integer", nullable: true }),
3746
+ Index18()
3747
+ ], Hiring.prototype, "freelancerId", 2);
3748
+ __decorateClass([
3749
+ ManyToOne23(() => User, (user) => user.freelancerHirings),
3750
+ JoinColumn23({ name: "freelancer_id" })
3751
+ ], Hiring.prototype, "freelancer", 2);
3752
+ __decorateClass([
3753
+ Column25({ name: "invoice_id", type: "integer", nullable: true }),
3754
+ Index18()
3755
+ ], Hiring.prototype, "invoiceId", 2);
3756
+ __decorateClass([
3757
+ OneToOne5(() => Invoice, (invoice) => invoice.hiring),
3758
+ JoinColumn23({ name: "invoice_id" })
3759
+ ], Hiring.prototype, "invoice", 2);
3760
+ __decorateClass([
3761
+ Column25({
3762
+ name: "freelancer_nature_of_work",
3763
+ type: "enum",
3764
+ enum: HiredFreelancerNatureOfWorkEnum,
3765
+ nullable: true
3766
+ })
3767
+ ], Hiring.prototype, "freelancerNatureOfWork", 2);
3768
+ __decorateClass([
3769
+ Column25({ name: "is_invoice_genrated", type: "boolean", default: false })
3770
+ ], Hiring.prototype, "isInvoiceGenrated", 2);
3771
+ Hiring = __decorateClass([
3772
+ Entity24("hirings")
3773
+ ], Hiring);
3774
+
3719
3775
  // src/entities/invoice.entity.ts
3720
3776
  var InvoiceTypeEnum = /* @__PURE__ */ ((InvoiceTypeEnum2) => {
3721
3777
  InvoiceTypeEnum2["WEEKLY"] = "WEEKLY";
@@ -3740,97 +3796,100 @@ var InvoicePaymentStatusEnum = /* @__PURE__ */ ((InvoicePaymentStatusEnum2) => {
3740
3796
  var Invoice = class extends BaseEntity {
3741
3797
  };
3742
3798
  __decorateClass([
3743
- Column25({ name: "timesheet_line_id", type: "integer", nullable: true }),
3744
- Index18()
3799
+ Column26({ name: "timesheet_line_id", type: "integer", nullable: true }),
3800
+ Index19()
3745
3801
  ], Invoice.prototype, "timesheetLineId", 2);
3746
3802
  __decorateClass([
3747
- ManyToOne23(() => TimesheetLine, (timesheetLine) => timesheetLine.invoice),
3748
- JoinColumn23({ name: "timesheet_line_id" })
3803
+ ManyToOne24(() => TimesheetLine, (timesheetLine) => timesheetLine.invoice),
3804
+ JoinColumn24({ name: "timesheet_line_id" })
3749
3805
  ], Invoice.prototype, "timesheetLine", 2);
3750
3806
  __decorateClass([
3751
- Column25({ name: "job_id", type: "integer", nullable: true }),
3752
- Index18()
3807
+ Column26({ name: "job_id", type: "integer", nullable: true }),
3808
+ Index19()
3753
3809
  ], Invoice.prototype, "jobId", 2);
3754
3810
  __decorateClass([
3755
- ManyToOne23(() => Job, (job) => job.invoice),
3756
- JoinColumn23({ name: "job_id" })
3811
+ ManyToOne24(() => Job, (job) => job.invoice),
3812
+ JoinColumn24({ name: "job_id" })
3757
3813
  ], Invoice.prototype, "job", 2);
3758
3814
  __decorateClass([
3759
- Column25({ name: "client_id", type: "integer", nullable: true }),
3760
- Index18()
3815
+ Column26({ name: "client_id", type: "integer", nullable: true }),
3816
+ Index19()
3761
3817
  ], Invoice.prototype, "clientId", 2);
3762
3818
  __decorateClass([
3763
- ManyToOne23(() => User, (user) => user.clientInvoice),
3764
- JoinColumn23({ name: "client_id" })
3819
+ ManyToOne24(() => User, (user) => user.clientInvoice),
3820
+ JoinColumn24({ name: "client_id" })
3765
3821
  ], Invoice.prototype, "client", 2);
3766
3822
  __decorateClass([
3767
- Column25({ name: "freelancer_id", type: "integer", nullable: true }),
3768
- Index18()
3823
+ Column26({ name: "freelancer_id", type: "integer", nullable: true }),
3824
+ Index19()
3769
3825
  ], Invoice.prototype, "freelancerId", 2);
3770
3826
  __decorateClass([
3771
- ManyToOne23(() => User, (user) => user.freelancerInvoice),
3772
- JoinColumn23({ name: "freelancer_id" })
3827
+ ManyToOne24(() => User, (user) => user.freelancerInvoice),
3828
+ JoinColumn24({ name: "freelancer_id" })
3773
3829
  ], Invoice.prototype, "freelancer", 2);
3774
3830
  __decorateClass([
3775
- Column25({ name: "invoice_unique_id", type: "varchar", nullable: true })
3831
+ Column26({ name: "invoice_unique_id", type: "varchar", nullable: true })
3776
3832
  ], Invoice.prototype, "invoiceUniqueId", 2);
3777
3833
  __decorateClass([
3778
- Column25({
3834
+ Column26({
3779
3835
  name: "issued_at",
3780
3836
  type: "date",
3781
3837
  nullable: true
3782
3838
  })
3783
3839
  ], Invoice.prototype, "issuedAt", 2);
3784
3840
  __decorateClass([
3785
- Column25({
3841
+ Column26({
3786
3842
  name: "due_at",
3787
3843
  type: "date",
3788
3844
  nullable: true
3789
3845
  })
3790
3846
  ], Invoice.prototype, "dueAt", 2);
3791
3847
  __decorateClass([
3792
- Column25({
3848
+ Column26({
3793
3849
  name: "billing_cycle_from",
3794
3850
  type: "date",
3795
3851
  nullable: true
3796
3852
  })
3797
3853
  ], Invoice.prototype, "billingCycleFrom", 2);
3798
3854
  __decorateClass([
3799
- Column25({
3855
+ Column26({
3800
3856
  name: "billing_cycle_to",
3801
3857
  type: "date",
3802
3858
  nullable: true
3803
3859
  })
3804
3860
  ], Invoice.prototype, "billingCycleTo", 2);
3805
3861
  __decorateClass([
3806
- Column25({ name: "billing_hours", type: "varchar", nullable: true })
3862
+ Column26({ name: "billing_hours", type: "varchar", nullable: true })
3807
3863
  ], Invoice.prototype, "billingHours", 2);
3808
3864
  __decorateClass([
3809
- Column25({ name: "hourly_rate", type: "varchar", nullable: true })
3865
+ Column26({ name: "hourly_rate", type: "varchar", nullable: true })
3810
3866
  ], Invoice.prototype, "hourlyRate", 2);
3811
3867
  __decorateClass([
3812
- Column25({ name: "billing_amount", type: "varchar", nullable: true })
3868
+ Column26({ name: "billing_amount", type: "varchar", nullable: true })
3813
3869
  ], Invoice.prototype, "billingAmount", 2);
3814
3870
  __decorateClass([
3815
- Column25({ name: "invoice_type", type: "enum", enum: InvoiceTypeEnum, nullable: true })
3871
+ Column26({ name: "invoice_type", type: "enum", enum: InvoiceTypeEnum, nullable: true })
3816
3872
  ], Invoice.prototype, "invoiceType", 2);
3817
3873
  __decorateClass([
3818
- Column25({ name: "status", type: "enum", enum: InvoiceStatusEnum, nullable: true })
3874
+ Column26({ name: "status", type: "enum", enum: InvoiceStatusEnum, nullable: true })
3819
3875
  ], Invoice.prototype, "status", 2);
3820
3876
  __decorateClass([
3821
- Column25({ name: "payment_status", type: "enum", enum: InvoicePaymentStatusEnum, nullable: true })
3877
+ Column26({ name: "payment_status", type: "enum", enum: InvoicePaymentStatusEnum, nullable: true })
3822
3878
  ], Invoice.prototype, "paymentStatus", 2);
3823
3879
  __decorateClass([
3824
- Column25({ name: "client_invoice_url", type: "varchar", nullable: true })
3880
+ Column26({ name: "client_invoice_url", type: "varchar", nullable: true })
3825
3881
  ], Invoice.prototype, "clientInvoiceUrl", 2);
3826
3882
  __decorateClass([
3827
- Column25({ name: "freelancer_invoice_url", type: "varchar", nullable: true })
3883
+ Column26({ name: "freelancer_invoice_url", type: "varchar", nullable: true })
3828
3884
  ], Invoice.prototype, "freelancerInvoiceUrl", 2);
3829
3885
  __decorateClass([
3830
- OneToOne5(() => EscrowWalletTransaction, (escrowWalletTransaction) => escrowWalletTransaction.invoice)
3886
+ OneToOne6(() => EscrowWalletTransaction, (escrowWalletTransaction) => escrowWalletTransaction.invoice)
3831
3887
  ], Invoice.prototype, "escrowWalletTransaction", 2);
3888
+ __decorateClass([
3889
+ OneToOne6(() => Hiring, (hiring) => hiring.invoice)
3890
+ ], Invoice.prototype, "hiring", 2);
3832
3891
  Invoice = __decorateClass([
3833
- Entity24("invoices")
3892
+ Entity25("invoices")
3834
3893
  ], Invoice);
3835
3894
 
3836
3895
  // src/entities/escrow-wallet-transaction.entity.ts
@@ -3847,89 +3906,89 @@ var EscrowWalletTransactionForEnum = /* @__PURE__ */ ((EscrowWalletTransactionFo
3847
3906
  var EscrowWalletTransaction = class extends BaseEntity {
3848
3907
  };
3849
3908
  __decorateClass([
3850
- Column26({ name: "escrow_wallet_id", type: "integer", nullable: true }),
3851
- Index19()
3909
+ Column27({ name: "escrow_wallet_id", type: "integer", nullable: true }),
3910
+ Index20()
3852
3911
  ], EscrowWalletTransaction.prototype, "escrowWalletId", 2);
3853
3912
  __decorateClass([
3854
- ManyToOne24(() => EscrowWallet, (escrowWallet) => escrowWallet.escrowWalletTransactions),
3855
- JoinColumn24({ name: "wallet_id" })
3913
+ ManyToOne25(() => EscrowWallet, (escrowWallet) => escrowWallet.escrowWalletTransactions),
3914
+ JoinColumn25({ name: "wallet_id" })
3856
3915
  ], EscrowWalletTransaction.prototype, "escrowWallet", 2);
3857
3916
  __decorateClass([
3858
- Column26({ name: "invoice_id", type: "integer", nullable: true }),
3859
- Index19()
3917
+ Column27({ name: "invoice_id", type: "integer", nullable: true }),
3918
+ Index20()
3860
3919
  ], EscrowWalletTransaction.prototype, "invoiceId", 2);
3861
3920
  __decorateClass([
3862
- OneToOne6(() => Invoice, (invoice) => invoice.escrowWalletTransaction),
3863
- JoinColumn24({ name: "invoice_id" })
3921
+ OneToOne7(() => Invoice, (invoice) => invoice.escrowWalletTransaction),
3922
+ JoinColumn25({ name: "invoice_id" })
3864
3923
  ], EscrowWalletTransaction.prototype, "invoice", 2);
3865
3924
  __decorateClass([
3866
- Column26({ name: "amount", type: "bigint", nullable: true })
3925
+ Column27({ name: "amount", type: "bigint", nullable: true })
3867
3926
  ], EscrowWalletTransaction.prototype, "amount", 2);
3868
3927
  __decorateClass([
3869
- Column26({ name: "escrow_type", type: "enum", enum: EscrowWalletTransactionTypeEnum })
3928
+ Column27({ name: "escrow_type", type: "enum", enum: EscrowWalletTransactionTypeEnum })
3870
3929
  ], EscrowWalletTransaction.prototype, "escrowType", 2);
3871
3930
  __decorateClass([
3872
- Column26({ name: "description", type: "text", nullable: true })
3931
+ Column27({ name: "description", type: "text", nullable: true })
3873
3932
  ], EscrowWalletTransaction.prototype, "description", 2);
3874
3933
  __decorateClass([
3875
- Column26({ name: "completed_at", type: "timestamptz", nullable: true })
3934
+ Column27({ name: "completed_at", type: "timestamptz", nullable: true })
3876
3935
  ], EscrowWalletTransaction.prototype, "completedAt", 2);
3877
3936
  __decorateClass([
3878
- Column26({ name: "escrow_transaction_for", type: "enum", enum: EscrowWalletTransactionForEnum })
3937
+ Column27({ name: "escrow_transaction_for", type: "enum", enum: EscrowWalletTransactionForEnum })
3879
3938
  ], EscrowWalletTransaction.prototype, "escrowTransactionFor", 2);
3880
3939
  __decorateClass([
3881
- Column26({ name: "meta_data", type: "varchar", nullable: true })
3940
+ Column27({ name: "meta_data", type: "varchar", nullable: true })
3882
3941
  ], EscrowWalletTransaction.prototype, "metaData", 2);
3883
3942
  EscrowWalletTransaction = __decorateClass([
3884
- Entity25("escrow_wallet_transactions")
3943
+ Entity26("escrow_wallet_transactions")
3885
3944
  ], EscrowWalletTransaction);
3886
3945
 
3887
3946
  // src/entities/escrow-wallet.entity.ts
3888
3947
  var EscrowWallet = class extends BaseEntity {
3889
3948
  };
3890
3949
  __decorateClass([
3891
- Column27({ name: "job_id", type: "integer", nullable: true }),
3892
- Index20()
3950
+ Column28({ name: "job_id", type: "integer", nullable: true }),
3951
+ Index21()
3893
3952
  ], EscrowWallet.prototype, "jobId", 2);
3894
3953
  __decorateClass([
3895
- ManyToOne25(() => Job, (job) => job.escrowWallets),
3896
- JoinColumn25({ name: "job_id" })
3954
+ ManyToOne26(() => Job, (job) => job.escrowWallets),
3955
+ JoinColumn26({ name: "job_id" })
3897
3956
  ], EscrowWallet.prototype, "job", 2);
3898
3957
  __decorateClass([
3899
- Column27({ name: "client_id", type: "integer", nullable: true }),
3900
- Index20()
3958
+ Column28({ name: "client_id", type: "integer", nullable: true }),
3959
+ Index21()
3901
3960
  ], EscrowWallet.prototype, "clientId", 2);
3902
3961
  __decorateClass([
3903
- ManyToOne25(() => User, (user) => user.clientEscrowWallets),
3904
- JoinColumn25({ name: "client_id" })
3962
+ ManyToOne26(() => User, (user) => user.clientEscrowWallets),
3963
+ JoinColumn26({ name: "client_id" })
3905
3964
  ], EscrowWallet.prototype, "client", 2);
3906
3965
  __decorateClass([
3907
- Column27({ name: "freelancer_id", type: "integer", nullable: true }),
3908
- Index20()
3966
+ Column28({ name: "freelancer_id", type: "integer", nullable: true }),
3967
+ Index21()
3909
3968
  ], EscrowWallet.prototype, "freelancerId", 2);
3910
3969
  __decorateClass([
3911
- ManyToOne25(() => User, (user) => user.freelancerEscrowWallets),
3912
- JoinColumn25({ name: "freelancer_id" })
3970
+ ManyToOne26(() => User, (user) => user.freelancerEscrowWallets),
3971
+ JoinColumn26({ name: "freelancer_id" })
3913
3972
  ], EscrowWallet.prototype, "freelancer", 2);
3914
3973
  __decorateClass([
3915
- Column27({ name: "contract_id", type: "integer", nullable: true }),
3916
- Index20()
3974
+ Column28({ name: "contract_id", type: "integer", nullable: true }),
3975
+ Index21()
3917
3976
  ], EscrowWallet.prototype, "contractId", 2);
3918
3977
  __decorateClass([
3919
- OneToOne7(() => Contract, (contract) => contract.escrowWallet),
3920
- JoinColumn25({ name: "contract_id" })
3978
+ OneToOne8(() => Contract, (contract) => contract.escrowWallet),
3979
+ JoinColumn26({ name: "contract_id" })
3921
3980
  ], EscrowWallet.prototype, "contract", 2);
3922
3981
  __decorateClass([
3923
- Column27({ name: "wallet_balance", type: "varchar", default: "0" })
3982
+ Column28({ name: "wallet_balance", type: "varchar", default: "0" })
3924
3983
  ], EscrowWallet.prototype, "escrowBalance", 2);
3925
3984
  __decorateClass([
3926
- Column27({ name: "metadata", type: "jsonb", nullable: true })
3985
+ Column28({ name: "metadata", type: "jsonb", nullable: true })
3927
3986
  ], EscrowWallet.prototype, "metadata", 2);
3928
3987
  __decorateClass([
3929
3988
  OneToMany10(() => EscrowWalletTransaction, (escrowWalletTransaction) => escrowWalletTransaction.escrowWallet)
3930
3989
  ], EscrowWallet.prototype, "escrowWalletTransactions", 2);
3931
3990
  EscrowWallet = __decorateClass([
3932
- Entity26("escrow_wallets")
3991
+ Entity27("escrow_wallets")
3933
3992
  ], EscrowWallet);
3934
3993
 
3935
3994
  // src/entities/contract.entity.ts
@@ -3954,37 +4013,37 @@ var ContractTypeEnum = /* @__PURE__ */ ((ContractTypeEnum2) => {
3954
4013
  var Contract = class extends BaseEntity {
3955
4014
  };
3956
4015
  __decorateClass([
3957
- Column28({ name: "contract_unique_id", type: "varchar", nullable: true, unique: true })
4016
+ Column29({ name: "contract_unique_id", type: "varchar", nullable: true, unique: true })
3958
4017
  ], Contract.prototype, "contractUniqueId", 2);
3959
4018
  __decorateClass([
3960
- Column28({ name: "job_id", type: "integer", nullable: true }),
3961
- Index21()
4019
+ Column29({ name: "job_id", type: "integer", nullable: true }),
4020
+ Index22()
3962
4021
  ], Contract.prototype, "jobId", 2);
3963
4022
  __decorateClass([
3964
- ManyToOne26(() => Job, (job) => job.contracts),
3965
- JoinColumn26({ name: "job_id" })
4023
+ ManyToOne27(() => Job, (job) => job.contracts),
4024
+ JoinColumn27({ name: "job_id" })
3966
4025
  ], Contract.prototype, "job", 2);
3967
4026
  __decorateClass([
3968
- Column28({ name: "client_id", type: "integer", nullable: true }),
3969
- Index21()
4027
+ Column29({ name: "client_id", type: "integer", nullable: true }),
4028
+ Index22()
3970
4029
  ], Contract.prototype, "clientId", 2);
3971
4030
  __decorateClass([
3972
- ManyToOne26(() => User, (user) => user.clientContracts),
3973
- JoinColumn26({ name: "client_id" })
4031
+ ManyToOne27(() => User, (user) => user.clientContracts),
4032
+ JoinColumn27({ name: "client_id" })
3974
4033
  ], Contract.prototype, "client", 2);
3975
4034
  __decorateClass([
3976
- Column28({ name: "freelancer_id", type: "integer", nullable: true }),
3977
- Index21()
4035
+ Column29({ name: "freelancer_id", type: "integer", nullable: true }),
4036
+ Index22()
3978
4037
  ], Contract.prototype, "freelancerId", 2);
3979
4038
  __decorateClass([
3980
- ManyToOne26(() => User, (user) => user.freelancerContracts),
3981
- JoinColumn26({ name: "freelancer_id" })
4039
+ ManyToOne27(() => User, (user) => user.freelancerContracts),
4040
+ JoinColumn27({ name: "freelancer_id" })
3982
4041
  ], Contract.prototype, "freelancer", 2);
3983
4042
  __decorateClass([
3984
- Column28({ name: "duration", type: "integer", nullable: true })
4043
+ Column29({ name: "duration", type: "integer", nullable: true })
3985
4044
  ], Contract.prototype, "duration", 2);
3986
4045
  __decorateClass([
3987
- Column28({
4046
+ Column29({
3988
4047
  name: "status",
3989
4048
  type: "enum",
3990
4049
  enum: ContractStatusEnum,
@@ -3992,7 +4051,7 @@ __decorateClass([
3992
4051
  })
3993
4052
  ], Contract.prototype, "status", 2);
3994
4053
  __decorateClass([
3995
- Column28({
4054
+ Column29({
3996
4055
  name: "type",
3997
4056
  type: "enum",
3998
4057
  enum: ContractTypeEnum,
@@ -4000,10 +4059,10 @@ __decorateClass([
4000
4059
  })
4001
4060
  ], Contract.prototype, "type", 2);
4002
4061
  __decorateClass([
4003
- Column28({ name: "invoicing_cycle", type: "varchar", nullable: true })
4062
+ Column29({ name: "invoicing_cycle", type: "varchar", nullable: true })
4004
4063
  ], Contract.prototype, "invoicingCycle", 2);
4005
4064
  __decorateClass([
4006
- Column28({
4065
+ Column29({
4007
4066
  name: "escrow_deposite_amount",
4008
4067
  type: "decimal",
4009
4068
  precision: 10,
@@ -4012,80 +4071,80 @@ __decorateClass([
4012
4071
  })
4013
4072
  ], Contract.prototype, "escrowDepositeAmount", 2);
4014
4073
  __decorateClass([
4015
- Column28({
4074
+ Column29({
4016
4075
  name: "start_date",
4017
4076
  type: "timestamp with time zone",
4018
4077
  nullable: true
4019
4078
  })
4020
4079
  ], Contract.prototype, "startDate", 2);
4021
4080
  __decorateClass([
4022
- Column28({
4081
+ Column29({
4023
4082
  name: "end_date",
4024
4083
  type: "timestamp with time zone",
4025
4084
  nullable: true
4026
4085
  })
4027
4086
  ], Contract.prototype, "endDate", 2);
4028
4087
  __decorateClass([
4029
- Column28({ name: "original_document_url", type: "varchar", nullable: true })
4088
+ Column29({ name: "original_document_url", type: "varchar", nullable: true })
4030
4089
  ], Contract.prototype, "originalDocumentUrl", 2);
4031
4090
  __decorateClass([
4032
- Column28({ name: "contract_document_url", type: "varchar", nullable: true })
4091
+ Column29({ name: "contract_document_url", type: "varchar", nullable: true })
4033
4092
  ], Contract.prototype, "contractDocumentUrl", 2);
4034
4093
  __decorateClass([
4035
- Column28({
4094
+ Column29({
4036
4095
  name: "client_signed_at",
4037
4096
  type: "timestamp with time zone",
4038
4097
  nullable: true
4039
4098
  })
4040
4099
  ], Contract.prototype, "clientSignedAt", 2);
4041
4100
  __decorateClass([
4042
- Column28({ name: "freelancer_viewed", type: "boolean", default: false })
4101
+ Column29({ name: "freelancer_viewed", type: "boolean", default: false })
4043
4102
  ], Contract.prototype, "freelancerViewed", 2);
4044
4103
  __decorateClass([
4045
- Column28({
4104
+ Column29({
4046
4105
  name: "freelancer_viewed_at",
4047
4106
  type: "timestamp with time zone",
4048
4107
  nullable: true
4049
4108
  })
4050
4109
  ], Contract.prototype, "freelancerViewedAt", 2);
4051
4110
  __decorateClass([
4052
- Column28({
4111
+ Column29({
4053
4112
  name: "freelancer_signed_at",
4054
4113
  type: "timestamp with time zone",
4055
4114
  nullable: true
4056
4115
  })
4057
4116
  ], Contract.prototype, "freelancerSignedAt", 2);
4058
4117
  __decorateClass([
4059
- Column28({
4118
+ Column29({
4060
4119
  name: "rejectd_at",
4061
4120
  type: "timestamp with time zone",
4062
4121
  nullable: true
4063
4122
  })
4064
4123
  ], Contract.prototype, "rejectedAt", 2);
4065
4124
  __decorateClass([
4066
- Column28({ name: "reject_reason", type: "varchar", nullable: true })
4125
+ Column29({ name: "reject_reason", type: "varchar", nullable: true })
4067
4126
  ], Contract.prototype, "rejectReason", 2);
4068
4127
  __decorateClass([
4069
- Column28({ name: "resend_count", type: "integer", default: 0 })
4128
+ Column29({ name: "resend_count", type: "integer", default: 0 })
4070
4129
  ], Contract.prototype, "resendCount", 2);
4071
4130
  __decorateClass([
4072
- Column28({ name: "is_work_contract_sent", type: "boolean", default: false })
4131
+ Column29({ name: "is_work_contract_sent", type: "boolean", default: false })
4073
4132
  ], Contract.prototype, "isWorkContractSent", 2);
4074
4133
  __decorateClass([
4075
- Column28({ name: "is_escrow_deposited", type: "boolean", default: false })
4134
+ Column29({ name: "is_escrow_deposited", type: "boolean", default: false })
4076
4135
  ], Contract.prototype, "isEscrowDeposited", 2);
4077
4136
  __decorateClass([
4078
- Column28({ name: "signature_positions", type: "jsonb", nullable: true })
4137
+ Column29({ name: "signature_positions", type: "jsonb", nullable: true })
4079
4138
  ], Contract.prototype, "signaturePositions", 2);
4080
4139
  __decorateClass([
4081
- OneToOne8(() => EscrowWallet, (escrowWallet) => escrowWallet.contract)
4140
+ OneToOne9(() => EscrowWallet, (escrowWallet) => escrowWallet.contract)
4082
4141
  ], Contract.prototype, "escrowWallet", 2);
4083
4142
  Contract = __decorateClass([
4084
- Entity27("contracts")
4143
+ Entity28("contracts")
4085
4144
  ], Contract);
4086
4145
 
4087
4146
  // src/entities/timesheets.entity.ts
4088
- import { Entity as Entity28, Column as Column29, Index as Index22, JoinColumn as JoinColumn27, ManyToOne as ManyToOne27 } from "typeorm";
4147
+ import { Entity as Entity29, Column as Column30, Index as Index23, JoinColumn as JoinColumn28, ManyToOne as ManyToOne28 } from "typeorm";
4089
4148
  var TimesheetStatusEnum = /* @__PURE__ */ ((TimesheetStatusEnum2) => {
4090
4149
  TimesheetStatusEnum2["DRAFT"] = "DRAFT";
4091
4150
  TimesheetStatusEnum2["SEND"] = "SEND";
@@ -4098,142 +4157,142 @@ var TimesheetStatusEnum = /* @__PURE__ */ ((TimesheetStatusEnum2) => {
4098
4157
  var Timesheet = class extends BaseEntity {
4099
4158
  };
4100
4159
  __decorateClass([
4101
- Column29({ name: "job_id", type: "integer", nullable: true }),
4102
- Index22()
4160
+ Column30({ name: "job_id", type: "integer", nullable: true }),
4161
+ Index23()
4103
4162
  ], Timesheet.prototype, "jobId", 2);
4104
4163
  __decorateClass([
4105
- ManyToOne27(() => Job, (job) => job.timesheets),
4106
- JoinColumn27({ name: "job_id" })
4164
+ ManyToOne28(() => Job, (job) => job.timesheets),
4165
+ JoinColumn28({ name: "job_id" })
4107
4166
  ], Timesheet.prototype, "job", 2);
4108
4167
  __decorateClass([
4109
- Column29({ name: "client_id", type: "integer", nullable: true }),
4110
- Index22()
4168
+ Column30({ name: "client_id", type: "integer", nullable: true }),
4169
+ Index23()
4111
4170
  ], Timesheet.prototype, "clientId", 2);
4112
4171
  __decorateClass([
4113
- ManyToOne27(() => User, (user) => user.clientTimesheets),
4114
- JoinColumn27({ name: "client_id" })
4172
+ ManyToOne28(() => User, (user) => user.clientTimesheets),
4173
+ JoinColumn28({ name: "client_id" })
4115
4174
  ], Timesheet.prototype, "client", 2);
4116
4175
  __decorateClass([
4117
- Column29({ name: "freelancer_id", type: "integer", nullable: true }),
4118
- Index22()
4176
+ Column30({ name: "freelancer_id", type: "integer", nullable: true }),
4177
+ Index23()
4119
4178
  ], Timesheet.prototype, "freelancerId", 2);
4120
4179
  __decorateClass([
4121
- ManyToOne27(() => User, (user) => user.freelancerTimesheets),
4122
- JoinColumn27({ name: "freelancer_id" })
4180
+ ManyToOne28(() => User, (user) => user.freelancerTimesheets),
4181
+ JoinColumn28({ name: "freelancer_id" })
4123
4182
  ], Timesheet.prototype, "freelancer", 2);
4124
4183
  __decorateClass([
4125
- Column29({
4184
+ Column30({
4126
4185
  name: "start_date",
4127
4186
  type: "date",
4128
4187
  nullable: true
4129
4188
  })
4130
4189
  ], Timesheet.prototype, "startDate", 2);
4131
4190
  __decorateClass([
4132
- Column29({
4191
+ Column30({
4133
4192
  name: "end_date",
4134
4193
  type: "date",
4135
4194
  nullable: true
4136
4195
  })
4137
4196
  ], Timesheet.prototype, "endDate", 2);
4138
4197
  __decorateClass([
4139
- Column29({ name: "start_time", type: "varchar", nullable: true })
4198
+ Column30({ name: "start_time", type: "varchar", nullable: true })
4140
4199
  ], Timesheet.prototype, "startTime", 2);
4141
4200
  __decorateClass([
4142
- Column29({ name: "end_time", type: "varchar", nullable: true })
4201
+ Column30({ name: "end_time", type: "varchar", nullable: true })
4143
4202
  ], Timesheet.prototype, "endTime", 2);
4144
4203
  __decorateClass([
4145
- Column29({ name: "worked_hours", type: "varchar", nullable: true })
4204
+ Column30({ name: "worked_hours", type: "varchar", nullable: true })
4146
4205
  ], Timesheet.prototype, "workedHours", 2);
4147
4206
  __decorateClass([
4148
- Column29({ name: "task_id", type: "integer", nullable: true })
4207
+ Column30({ name: "task_id", type: "integer", nullable: true })
4149
4208
  ], Timesheet.prototype, "taskId", 2);
4150
4209
  __decorateClass([
4151
- Column29({ name: "task_name", type: "varchar", nullable: true })
4210
+ Column30({ name: "task_name", type: "varchar", nullable: true })
4152
4211
  ], Timesheet.prototype, "taskName", 2);
4153
4212
  __decorateClass([
4154
- Column29({ name: "description", type: "varchar", nullable: true })
4213
+ Column30({ name: "description", type: "varchar", nullable: true })
4155
4214
  ], Timesheet.prototype, "description", 2);
4156
4215
  __decorateClass([
4157
- Column29({ name: "week_start_date", type: "date", nullable: true })
4216
+ Column30({ name: "week_start_date", type: "date", nullable: true })
4158
4217
  ], Timesheet.prototype, "weekStartDate", 2);
4159
4218
  __decorateClass([
4160
- Column29({ name: "week_end_date", type: "date", nullable: true })
4219
+ Column30({ name: "week_end_date", type: "date", nullable: true })
4161
4220
  ], Timesheet.prototype, "weekEndDate", 2);
4162
4221
  __decorateClass([
4163
- Column29({ name: "rejected_at", type: "timestamp with time zone", nullable: true })
4222
+ Column30({ name: "rejected_at", type: "timestamp with time zone", nullable: true })
4164
4223
  ], Timesheet.prototype, "rejectedAt", 2);
4165
4224
  __decorateClass([
4166
- Column29({ name: "submitted_at", type: "timestamp with time zone", nullable: true })
4225
+ Column30({ name: "submitted_at", type: "timestamp with time zone", nullable: true })
4167
4226
  ], Timesheet.prototype, "submittedAt", 2);
4168
4227
  __decorateClass([
4169
- Column29({ name: "resubmiited_at", type: "timestamp with time zone", nullable: true })
4228
+ Column30({ name: "resubmiited_at", type: "timestamp with time zone", nullable: true })
4170
4229
  ], Timesheet.prototype, "resubmittedAt", 2);
4171
4230
  __decorateClass([
4172
- Column29({ name: "approved_at", type: "timestamp with time zone", nullable: true })
4231
+ Column30({ name: "approved_at", type: "timestamp with time zone", nullable: true })
4173
4232
  ], Timesheet.prototype, "approvedAt", 2);
4174
4233
  __decorateClass([
4175
- Column29({ name: "status", type: "enum", enum: TimesheetStatusEnum, nullable: true })
4234
+ Column30({ name: "status", type: "enum", enum: TimesheetStatusEnum, nullable: true })
4176
4235
  ], Timesheet.prototype, "status", 2);
4177
4236
  __decorateClass([
4178
- Column29({ name: "client_send_back_reason", type: "varchar", nullable: true })
4237
+ Column30({ name: "client_send_back_reason", type: "varchar", nullable: true })
4179
4238
  ], Timesheet.prototype, "clientSendBackReason", 2);
4180
4239
  Timesheet = __decorateClass([
4181
- Entity28("timesheets")
4240
+ Entity29("timesheets")
4182
4241
  ], Timesheet);
4183
4242
 
4184
4243
  // src/entities/job-location.entity.ts
4185
4244
  import {
4186
- Entity as Entity29,
4187
- Column as Column30,
4188
- ManyToOne as ManyToOne28,
4189
- JoinColumn as JoinColumn28,
4190
- Index as Index23
4245
+ Entity as Entity30,
4246
+ Column as Column31,
4247
+ ManyToOne as ManyToOne29,
4248
+ JoinColumn as JoinColumn29,
4249
+ Index as Index24
4191
4250
  } from "typeorm";
4192
4251
  var JobLocation = class extends BaseEntity {
4193
4252
  };
4194
4253
  __decorateClass([
4195
- Column30({ name: "job_id", type: "integer", nullable: false }),
4196
- Index23()
4254
+ Column31({ name: "job_id", type: "integer", nullable: false }),
4255
+ Index24()
4197
4256
  ], JobLocation.prototype, "jobId", 2);
4198
4257
  __decorateClass([
4199
- ManyToOne28(() => Job, (job) => job.jobLocations),
4200
- JoinColumn28({ name: "job_id" })
4258
+ ManyToOne29(() => Job, (job) => job.jobLocations),
4259
+ JoinColumn29({ name: "job_id" })
4201
4260
  ], JobLocation.prototype, "job", 2);
4202
4261
  __decorateClass([
4203
- Column30({ name: "country_id", type: "int", nullable: false })
4262
+ Column31({ name: "country_id", type: "int", nullable: false })
4204
4263
  ], JobLocation.prototype, "countryId", 2);
4205
4264
  __decorateClass([
4206
- Column30({ name: "country_name", type: "varchar", nullable: true })
4265
+ Column31({ name: "country_name", type: "varchar", nullable: true })
4207
4266
  ], JobLocation.prototype, "countryName", 2);
4208
4267
  __decorateClass([
4209
- ManyToOne28(() => Country),
4210
- JoinColumn28({ name: "country_id" })
4268
+ ManyToOne29(() => Country),
4269
+ JoinColumn29({ name: "country_id" })
4211
4270
  ], JobLocation.prototype, "country", 2);
4212
4271
  __decorateClass([
4213
- Column30({ name: "state_id", type: "int", nullable: false })
4272
+ Column31({ name: "state_id", type: "int", nullable: false })
4214
4273
  ], JobLocation.prototype, "stateId", 2);
4215
4274
  __decorateClass([
4216
- Column30({ name: "state_name", type: "varchar", nullable: true })
4275
+ Column31({ name: "state_name", type: "varchar", nullable: true })
4217
4276
  ], JobLocation.prototype, "stateName", 2);
4218
4277
  __decorateClass([
4219
- ManyToOne28(() => State),
4220
- JoinColumn28({ name: "state_id" })
4278
+ ManyToOne29(() => State),
4279
+ JoinColumn29({ name: "state_id" })
4221
4280
  ], JobLocation.prototype, "state", 2);
4222
4281
  __decorateClass([
4223
- Column30({ name: "city_id", type: "int", nullable: false })
4282
+ Column31({ name: "city_id", type: "int", nullable: false })
4224
4283
  ], JobLocation.prototype, "cityId", 2);
4225
4284
  __decorateClass([
4226
- Column30({ name: "city_name", type: "varchar", nullable: true })
4285
+ Column31({ name: "city_name", type: "varchar", nullable: true })
4227
4286
  ], JobLocation.prototype, "cityName", 2);
4228
4287
  __decorateClass([
4229
- ManyToOne28(() => City),
4230
- JoinColumn28({ name: "city_id" })
4288
+ ManyToOne29(() => City),
4289
+ JoinColumn29({ name: "city_id" })
4231
4290
  ], JobLocation.prototype, "city", 2);
4232
4291
  __decorateClass([
4233
- Column30({ name: "location_wise_openings", type: "int", default: 0 })
4292
+ Column31({ name: "location_wise_openings", type: "int", default: 0 })
4234
4293
  ], JobLocation.prototype, "locationWiseOpenings", 2);
4235
4294
  JobLocation = __decorateClass([
4236
- Entity29("job_locations")
4295
+ Entity30("job_locations")
4237
4296
  ], JobLocation);
4238
4297
 
4239
4298
  // src/entities/job.entity.ts
@@ -4282,55 +4341,55 @@ var DurationTypeEnum = /* @__PURE__ */ ((DurationTypeEnum2) => {
4282
4341
  var Job = class extends BaseEntity {
4283
4342
  };
4284
4343
  __decorateClass([
4285
- Column31({ name: "job_id", type: "varchar", unique: true, nullable: true })
4344
+ Column32({ name: "job_id", type: "varchar", unique: true, nullable: true })
4286
4345
  ], Job.prototype, "jobId", 2);
4287
4346
  // individual index to find jobs by user
4288
4347
  __decorateClass([
4289
- Column31({ name: "user_id", type: "integer", nullable: true }),
4290
- Index24()
4348
+ Column32({ name: "user_id", type: "integer", nullable: true }),
4349
+ Index25()
4291
4350
  ], Job.prototype, "userId", 2);
4292
4351
  __decorateClass([
4293
- ManyToOne29(() => User, (user) => user.jobs),
4294
- JoinColumn29({ name: "user_id" })
4352
+ ManyToOne30(() => User, (user) => user.jobs),
4353
+ JoinColumn30({ name: "user_id" })
4295
4354
  ], Job.prototype, "user", 2);
4296
4355
  __decorateClass([
4297
- Column31({ name: "country_id", type: "int", nullable: true })
4356
+ Column32({ name: "country_id", type: "int", nullable: true })
4298
4357
  ], Job.prototype, "countryId", 2);
4299
4358
  __decorateClass([
4300
- ManyToOne29(() => Country),
4301
- JoinColumn29({ name: "country_id" })
4359
+ ManyToOne30(() => Country),
4360
+ JoinColumn30({ name: "country_id" })
4302
4361
  ], Job.prototype, "country", 2);
4303
4362
  __decorateClass([
4304
- Column31({ name: "state_id", type: "int", nullable: true })
4363
+ Column32({ name: "state_id", type: "int", nullable: true })
4305
4364
  ], Job.prototype, "stateId", 2);
4306
4365
  __decorateClass([
4307
- ManyToOne29(() => State),
4308
- JoinColumn29({ name: "state_id" })
4366
+ ManyToOne30(() => State),
4367
+ JoinColumn30({ name: "state_id" })
4309
4368
  ], Job.prototype, "state", 2);
4310
4369
  __decorateClass([
4311
- Column31({ name: "city_id", type: "int", nullable: true })
4370
+ Column32({ name: "city_id", type: "int", nullable: true })
4312
4371
  ], Job.prototype, "cityId", 2);
4313
4372
  __decorateClass([
4314
- ManyToOne29(() => City),
4315
- JoinColumn29({ name: "city_id" })
4373
+ ManyToOne30(() => City),
4374
+ JoinColumn30({ name: "city_id" })
4316
4375
  ], Job.prototype, "city", 2);
4317
4376
  __decorateClass([
4318
- Column31({ name: "job_role", type: "varchar", nullable: true })
4377
+ Column32({ name: "job_role", type: "varchar", nullable: true })
4319
4378
  ], Job.prototype, "jobRole", 2);
4320
4379
  __decorateClass([
4321
- Column31({ name: "job_role_canonical_name", type: "varchar", nullable: true })
4380
+ Column32({ name: "job_role_canonical_name", type: "varchar", nullable: true })
4322
4381
  ], Job.prototype, "jobRoleCanonicalName", 2);
4323
4382
  __decorateClass([
4324
- Column31({ name: "project_name", type: "varchar", nullable: true })
4383
+ Column32({ name: "project_name", type: "varchar", nullable: true })
4325
4384
  ], Job.prototype, "projectName", 2);
4326
4385
  __decorateClass([
4327
- Column31({ name: "note", type: "varchar", nullable: true })
4386
+ Column32({ name: "note", type: "varchar", nullable: true })
4328
4387
  ], Job.prototype, "note", 2);
4329
4388
  __decorateClass([
4330
- Column31({ name: "openings", type: "integer", default: 0 })
4389
+ Column32({ name: "openings", type: "integer", default: 0 })
4331
4390
  ], Job.prototype, "openings", 2);
4332
4391
  __decorateClass([
4333
- Column31({
4392
+ Column32({
4334
4393
  name: "location",
4335
4394
  type: "enum",
4336
4395
  enum: JobLocationEnum2,
@@ -4338,7 +4397,7 @@ __decorateClass([
4338
4397
  })
4339
4398
  ], Job.prototype, "location", 2);
4340
4399
  __decorateClass([
4341
- Column31({
4400
+ Column32({
4342
4401
  name: "type_of_employment",
4343
4402
  type: "enum",
4344
4403
  enum: TypeOfEmploymentEnum,
@@ -4346,10 +4405,10 @@ __decorateClass([
4346
4405
  })
4347
4406
  ], Job.prototype, "typeOfEmployment", 2);
4348
4407
  __decorateClass([
4349
- Column31({ name: "academic_qualifictaion", type: "varchar", nullable: true })
4408
+ Column32({ name: "academic_qualifictaion", type: "varchar", nullable: true })
4350
4409
  ], Job.prototype, "academicQualification", 2);
4351
4410
  __decorateClass([
4352
- Column31({
4411
+ Column32({
4353
4412
  name: "type_of_experience",
4354
4413
  type: "enum",
4355
4414
  enum: typeOfExperienceEnum,
@@ -4357,22 +4416,22 @@ __decorateClass([
4357
4416
  })
4358
4417
  ], Job.prototype, "typeOfExperience", 2);
4359
4418
  __decorateClass([
4360
- Column31({ name: "years_of_experience", type: "varchar", nullable: true })
4419
+ Column32({ name: "years_of_experience", type: "varchar", nullable: true })
4361
4420
  ], Job.prototype, "yearsOfExperience", 2);
4362
4421
  __decorateClass([
4363
- Column31({ name: "years_of_experience_from", type: "varchar", nullable: true })
4422
+ Column32({ name: "years_of_experience_from", type: "varchar", nullable: true })
4364
4423
  ], Job.prototype, "yearsOfExperienceFrom", 2);
4365
4424
  __decorateClass([
4366
- Column31({ name: "years_of_experience_to", type: "varchar", nullable: true })
4425
+ Column32({ name: "years_of_experience_to", type: "varchar", nullable: true })
4367
4426
  ], Job.prototype, "yearsOfExperienceTo", 2);
4368
4427
  __decorateClass([
4369
- Column31({ name: "business_industry", type: "varchar", nullable: true })
4428
+ Column32({ name: "business_industry", type: "varchar", nullable: true })
4370
4429
  ], Job.prototype, "businessIndustry", 2);
4371
4430
  __decorateClass([
4372
- Column31({ name: "currency", type: "varchar", default: "USD" })
4431
+ Column32({ name: "currency", type: "varchar", default: "USD" })
4373
4432
  ], Job.prototype, "currency", 2);
4374
4433
  __decorateClass([
4375
- Column31({
4434
+ Column32({
4376
4435
  name: "expected_salary_from",
4377
4436
  type: "decimal",
4378
4437
  precision: 10,
@@ -4381,14 +4440,14 @@ __decorateClass([
4381
4440
  })
4382
4441
  ], Job.prototype, "expectedSalaryFrom", 2);
4383
4442
  __decorateClass([
4384
- Column31({
4443
+ Column32({
4385
4444
  name: "hide_expected_salary_from",
4386
4445
  type: "boolean",
4387
4446
  default: false
4388
4447
  })
4389
4448
  ], Job.prototype, "hideExpectedSalaryFrom", 2);
4390
4449
  __decorateClass([
4391
- Column31({
4450
+ Column32({
4392
4451
  name: "expected_salary_to",
4393
4452
  type: "decimal",
4394
4453
  precision: 10,
@@ -4397,32 +4456,32 @@ __decorateClass([
4397
4456
  })
4398
4457
  ], Job.prototype, "expectedSalaryTo", 2);
4399
4458
  __decorateClass([
4400
- Column31({
4459
+ Column32({
4401
4460
  name: "hide_expected_salary_to",
4402
4461
  type: "boolean",
4403
4462
  default: false
4404
4463
  })
4405
4464
  ], Job.prototype, "hideExpectedSalaryTo", 2);
4406
4465
  __decorateClass([
4407
- Column31({ name: "years", type: "varchar", nullable: true })
4466
+ Column32({ name: "years", type: "varchar", nullable: true })
4408
4467
  ], Job.prototype, "years", 2);
4409
4468
  __decorateClass([
4410
- Column31({ name: "months", type: "varchar", nullable: true })
4469
+ Column32({ name: "months", type: "varchar", nullable: true })
4411
4470
  ], Job.prototype, "months", 2);
4412
4471
  __decorateClass([
4413
- Column31({ name: "weeks", type: "varchar", nullable: true })
4472
+ Column32({ name: "weeks", type: "varchar", nullable: true })
4414
4473
  ], Job.prototype, "weeks", 2);
4415
4474
  __decorateClass([
4416
- Column31({ name: "days", type: "varchar", nullable: true })
4475
+ Column32({ name: "days", type: "varchar", nullable: true })
4417
4476
  ], Job.prototype, "days", 2);
4418
4477
  __decorateClass([
4419
- Column31({ name: "tentative_start_date", type: "date", nullable: true })
4478
+ Column32({ name: "tentative_start_date", type: "date", nullable: true })
4420
4479
  ], Job.prototype, "tentativeStartDate", 2);
4421
4480
  __decorateClass([
4422
- Column31({ name: "tentative_end_date", type: "date", nullable: true })
4481
+ Column32({ name: "tentative_end_date", type: "date", nullable: true })
4423
4482
  ], Job.prototype, "tentativeEndDate", 2);
4424
4483
  __decorateClass([
4425
- Column31({
4484
+ Column32({
4426
4485
  name: "duration_type",
4427
4486
  type: "enum",
4428
4487
  enum: DurationTypeEnum,
@@ -4430,10 +4489,10 @@ __decorateClass([
4430
4489
  })
4431
4490
  ], Job.prototype, "durationType", 2);
4432
4491
  __decorateClass([
4433
- Column31({ name: "duration", type: "varchar", nullable: true })
4492
+ Column32({ name: "duration", type: "varchar", nullable: true })
4434
4493
  ], Job.prototype, "duration", 2);
4435
4494
  __decorateClass([
4436
- Column31({
4495
+ Column32({
4437
4496
  name: "number_of_hours",
4438
4497
  type: "decimal",
4439
4498
  precision: 4,
@@ -4442,13 +4501,13 @@ __decorateClass([
4442
4501
  })
4443
4502
  ], Job.prototype, "numberOfHours", 2);
4444
4503
  __decorateClass([
4445
- Column31({ name: "description", type: "varchar", nullable: true })
4504
+ Column32({ name: "description", type: "varchar", nullable: true })
4446
4505
  ], Job.prototype, "description", 2);
4447
4506
  __decorateClass([
4448
- Column31({ name: "additional_comment", type: "varchar", nullable: true })
4507
+ Column32({ name: "additional_comment", type: "varchar", nullable: true })
4449
4508
  ], Job.prototype, "additionalComment", 2);
4450
4509
  __decorateClass([
4451
- Column31({
4510
+ Column32({
4452
4511
  name: "onboarding_tat",
4453
4512
  type: "varchar",
4454
4513
  length: 50,
@@ -4456,14 +4515,14 @@ __decorateClass([
4456
4515
  })
4457
4516
  ], Job.prototype, "onboardingTat", 2);
4458
4517
  __decorateClass([
4459
- Column31({
4518
+ Column32({
4460
4519
  name: "candidate_communication_skills",
4461
4520
  type: "varchar",
4462
4521
  nullable: true
4463
4522
  })
4464
4523
  ], Job.prototype, "candidateCommunicationSkills", 2);
4465
4524
  __decorateClass([
4466
- Column31({
4525
+ Column32({
4467
4526
  name: "step_completed",
4468
4527
  type: "enum",
4469
4528
  enum: Step,
@@ -4471,7 +4530,7 @@ __decorateClass([
4471
4530
  })
4472
4531
  ], Job.prototype, "stepCompleted", 2);
4473
4532
  __decorateClass([
4474
- Column31({
4533
+ Column32({
4475
4534
  name: "status",
4476
4535
  type: "enum",
4477
4536
  enum: JobStatusEnum,
@@ -4479,16 +4538,16 @@ __decorateClass([
4479
4538
  })
4480
4539
  ], Job.prototype, "status", 2);
4481
4540
  __decorateClass([
4482
- Column31({ name: "viewed_count", type: "integer", default: 0 })
4541
+ Column32({ name: "viewed_count", type: "integer", default: 0 })
4483
4542
  ], Job.prototype, "viewedCount", 2);
4484
4543
  __decorateClass([
4485
- Column31({ name: "application_count", type: "integer", default: 0 })
4544
+ Column32({ name: "application_count", type: "integer", default: 0 })
4486
4545
  ], Job.prototype, "applicationCount", 2);
4487
4546
  __decorateClass([
4488
- Column31({ name: "is_contract_signed", type: "boolean", default: false })
4547
+ Column32({ name: "is_contract_signed", type: "boolean", default: false })
4489
4548
  ], Job.prototype, "isContractSigned", 2);
4490
4549
  __decorateClass([
4491
- Column31({ name: "is_interview_created", type: "boolean", default: false })
4550
+ Column32({ name: "is_interview_created", type: "boolean", default: false })
4492
4551
  ], Job.prototype, "isInterviewCreated", 2);
4493
4552
  __decorateClass([
4494
4553
  OneToMany12(() => InterviewInvite, (interviewInvite) => interviewInvite.job, { cascade: true })
@@ -4525,6 +4584,11 @@ __decorateClass([
4525
4584
  cascade: true
4526
4585
  })
4527
4586
  ], Job.prototype, "contracts", 2);
4587
+ __decorateClass([
4588
+ OneToMany12(() => Hiring, (hiring) => hiring.job, {
4589
+ cascade: true
4590
+ })
4591
+ ], Job.prototype, "hirings", 2);
4528
4592
  __decorateClass([
4529
4593
  OneToMany12(() => EscrowWallet, (escrowWallet) => escrowWallet.job, {
4530
4594
  cascade: true
@@ -4554,16 +4618,16 @@ __decorateClass([
4554
4618
  })
4555
4619
  ], Job.prototype, "jobLocations", 2);
4556
4620
  Job = __decorateClass([
4557
- Entity30("jobs")
4621
+ Entity31("jobs")
4558
4622
  ], Job);
4559
4623
 
4560
4624
  // src/entities/bank-details.entity.ts
4561
4625
  import {
4562
- Entity as Entity31,
4563
- Column as Column32,
4564
- Index as Index25,
4565
- ManyToOne as ManyToOne30,
4566
- JoinColumn as JoinColumn30
4626
+ Entity as Entity32,
4627
+ Column as Column33,
4628
+ Index as Index26,
4629
+ ManyToOne as ManyToOne31,
4630
+ JoinColumn as JoinColumn31
4567
4631
  } from "typeorm";
4568
4632
  var BankAccountTypeEnum = /* @__PURE__ */ ((BankAccountTypeEnum2) => {
4569
4633
  BankAccountTypeEnum2["PRIMARY"] = "PRIMARY";
@@ -4579,51 +4643,51 @@ var BankDetail = class extends BaseEntity {
4579
4643
  };
4580
4644
  // individual index to find bank details by user
4581
4645
  __decorateClass([
4582
- Column32({ name: "user_id", type: "integer", nullable: true }),
4583
- Index25()
4646
+ Column33({ name: "user_id", type: "integer", nullable: true }),
4647
+ Index26()
4584
4648
  ], BankDetail.prototype, "userId", 2);
4585
4649
  __decorateClass([
4586
- ManyToOne30(() => User, (user) => user.bankDetail),
4587
- JoinColumn30({ name: "user_id" })
4650
+ ManyToOne31(() => User, (user) => user.bankDetail),
4651
+ JoinColumn31({ name: "user_id" })
4588
4652
  ], BankDetail.prototype, "user", 2);
4589
4653
  __decorateClass([
4590
- Column32({ name: "name", type: "varchar", nullable: true })
4654
+ Column33({ name: "name", type: "varchar", nullable: true })
4591
4655
  ], BankDetail.prototype, "name", 2);
4592
4656
  __decorateClass([
4593
- Column32({ name: "mobile_code", type: "varchar", nullable: true })
4657
+ Column33({ name: "mobile_code", type: "varchar", nullable: true })
4594
4658
  ], BankDetail.prototype, "mobileCode", 2);
4595
4659
  __decorateClass([
4596
- Column32({ name: "mobile", type: "varchar", nullable: true })
4660
+ Column33({ name: "mobile", type: "varchar", nullable: true })
4597
4661
  ], BankDetail.prototype, "mobile", 2);
4598
4662
  __decorateClass([
4599
- Column32({ name: "email", type: "varchar" })
4663
+ Column33({ name: "email", type: "varchar" })
4600
4664
  ], BankDetail.prototype, "email", 2);
4601
4665
  __decorateClass([
4602
- Column32({ name: "address", type: "varchar", nullable: true })
4666
+ Column33({ name: "address", type: "varchar", nullable: true })
4603
4667
  ], BankDetail.prototype, "address", 2);
4604
4668
  __decorateClass([
4605
- Column32({ name: "account_number", type: "varchar", unique: true, nullable: true })
4669
+ Column33({ name: "account_number", type: "varchar", unique: true, nullable: true })
4606
4670
  ], BankDetail.prototype, "accountNumber", 2);
4607
4671
  __decorateClass([
4608
- Column32({ name: "bank_name", type: "varchar", nullable: true })
4672
+ Column33({ name: "bank_name", type: "varchar", nullable: true })
4609
4673
  ], BankDetail.prototype, "bankName", 2);
4610
4674
  __decorateClass([
4611
- Column32({ name: "ifsc_code", type: "varchar", nullable: true })
4675
+ Column33({ name: "ifsc_code", type: "varchar", nullable: true })
4612
4676
  ], BankDetail.prototype, "ifscCode", 2);
4613
4677
  __decorateClass([
4614
- Column32({ name: "branch_name", type: "varchar", nullable: true })
4678
+ Column33({ name: "branch_name", type: "varchar", nullable: true })
4615
4679
  ], BankDetail.prototype, "branchName", 2);
4616
4680
  __decorateClass([
4617
- Column32({ name: "routing_no", type: "varchar", nullable: true })
4681
+ Column33({ name: "routing_no", type: "varchar", nullable: true })
4618
4682
  ], BankDetail.prototype, "routingNo", 2);
4619
4683
  __decorateClass([
4620
- Column32({ name: "aba_no", type: "varchar", nullable: true })
4684
+ Column33({ name: "aba_no", type: "varchar", nullable: true })
4621
4685
  ], BankDetail.prototype, "abaNumber", 2);
4622
4686
  __decorateClass([
4623
- Column32({ name: "iban", type: "varchar", nullable: true })
4687
+ Column33({ name: "iban", type: "varchar", nullable: true })
4624
4688
  ], BankDetail.prototype, "iban", 2);
4625
4689
  __decorateClass([
4626
- Column32({
4690
+ Column33({
4627
4691
  name: "account_type",
4628
4692
  type: "enum",
4629
4693
  enum: BankAccountTypeEnum,
@@ -4631,7 +4695,7 @@ __decorateClass([
4631
4695
  })
4632
4696
  ], BankDetail.prototype, "accountType", 2);
4633
4697
  __decorateClass([
4634
- Column32({
4698
+ Column33({
4635
4699
  name: "account_scope",
4636
4700
  type: "enum",
4637
4701
  enum: BankAccountScopeEnum,
@@ -4639,185 +4703,185 @@ __decorateClass([
4639
4703
  })
4640
4704
  ], BankDetail.prototype, "accountScope", 2);
4641
4705
  BankDetail = __decorateClass([
4642
- Entity31("bank_details")
4706
+ Entity32("bank_details")
4643
4707
  ], BankDetail);
4644
4708
 
4645
4709
  // src/entities/system-preference.entity.ts
4646
4710
  import {
4647
- Entity as Entity32,
4648
- Column as Column33,
4649
- Index as Index26,
4650
- ManyToOne as ManyToOne31,
4651
- JoinColumn as JoinColumn31
4711
+ Entity as Entity33,
4712
+ Column as Column34,
4713
+ Index as Index27,
4714
+ ManyToOne as ManyToOne32,
4715
+ JoinColumn as JoinColumn32
4652
4716
  } from "typeorm";
4653
4717
  var SystemPreference = class extends BaseEntity {
4654
4718
  };
4655
4719
  // individual index to find system preference by user
4656
4720
  __decorateClass([
4657
- Column33({ name: "user_id", type: "integer", nullable: true }),
4658
- Index26()
4721
+ Column34({ name: "user_id", type: "integer", nullable: true }),
4722
+ Index27()
4659
4723
  ], SystemPreference.prototype, "userId", 2);
4660
4724
  __decorateClass([
4661
- ManyToOne31(() => User, (user) => user.systemPreference),
4662
- JoinColumn31({ name: "user_id" })
4725
+ ManyToOne32(() => User, (user) => user.systemPreference),
4726
+ JoinColumn32({ name: "user_id" })
4663
4727
  ], SystemPreference.prototype, "user", 2);
4664
4728
  __decorateClass([
4665
- Column33({ name: "key", type: "varchar", nullable: false })
4729
+ Column34({ name: "key", type: "varchar", nullable: false })
4666
4730
  ], SystemPreference.prototype, "key", 2);
4667
4731
  __decorateClass([
4668
- Column33({ name: "value", type: "boolean", default: false })
4732
+ Column34({ name: "value", type: "boolean", default: false })
4669
4733
  ], SystemPreference.prototype, "value", 2);
4670
4734
  SystemPreference = __decorateClass([
4671
- Entity32("system_preferences")
4735
+ Entity33("system_preferences")
4672
4736
  ], SystemPreference);
4673
4737
 
4674
4738
  // src/entities/freelancer-experience.entity.ts
4675
4739
  import {
4676
- Entity as Entity33,
4677
- Column as Column34,
4678
- Index as Index27,
4679
- ManyToOne as ManyToOne32,
4680
- JoinColumn as JoinColumn32
4740
+ Entity as Entity34,
4741
+ Column as Column35,
4742
+ Index as Index28,
4743
+ ManyToOne as ManyToOne33,
4744
+ JoinColumn as JoinColumn33
4681
4745
  } from "typeorm";
4682
4746
  var FreelancerExperience = class extends BaseEntity {
4683
4747
  };
4684
4748
  // individual index to find experence by user
4685
4749
  __decorateClass([
4686
- Column34({ name: "user_id", type: "integer", nullable: true }),
4687
- Index27()
4750
+ Column35({ name: "user_id", type: "integer", nullable: true }),
4751
+ Index28()
4688
4752
  ], FreelancerExperience.prototype, "userId", 2);
4689
4753
  __decorateClass([
4690
- ManyToOne32(() => User, (user) => user.freelancerExperience),
4691
- JoinColumn32({ name: "user_id" })
4754
+ ManyToOne33(() => User, (user) => user.freelancerExperience),
4755
+ JoinColumn33({ name: "user_id" })
4692
4756
  ], FreelancerExperience.prototype, "user", 2);
4693
4757
  __decorateClass([
4694
- Column34({ name: "company_name", type: "varchar", nullable: true })
4758
+ Column35({ name: "company_name", type: "varchar", nullable: true })
4695
4759
  ], FreelancerExperience.prototype, "companyName", 2);
4696
4760
  __decorateClass([
4697
- Column34({ name: "designation", type: "varchar", nullable: true })
4761
+ Column35({ name: "designation", type: "varchar", nullable: true })
4698
4762
  ], FreelancerExperience.prototype, "designation", 2);
4699
4763
  __decorateClass([
4700
- Column34({ name: "job_duration", type: "varchar", nullable: true })
4764
+ Column35({ name: "job_duration", type: "varchar", nullable: true })
4701
4765
  ], FreelancerExperience.prototype, "jobDuration", 2);
4702
4766
  __decorateClass([
4703
- Column34({ name: "description", type: "varchar", nullable: true })
4767
+ Column35({ name: "description", type: "varchar", nullable: true })
4704
4768
  ], FreelancerExperience.prototype, "description", 2);
4705
4769
  FreelancerExperience = __decorateClass([
4706
- Entity33("freelancer_experiences")
4770
+ Entity34("freelancer_experiences")
4707
4771
  ], FreelancerExperience);
4708
4772
 
4709
4773
  // src/entities/freelancer-education.entity.ts
4710
4774
  import {
4711
- Entity as Entity34,
4712
- Column as Column35,
4713
- Index as Index28,
4714
- ManyToOne as ManyToOne33,
4715
- JoinColumn as JoinColumn33
4775
+ Entity as Entity35,
4776
+ Column as Column36,
4777
+ Index as Index29,
4778
+ ManyToOne as ManyToOne34,
4779
+ JoinColumn as JoinColumn34
4716
4780
  } from "typeorm";
4717
4781
  var FreelancerEducation = class extends BaseEntity {
4718
4782
  };
4719
4783
  // individual index to find education by user
4720
4784
  __decorateClass([
4721
- Column35({ name: "user_id", type: "integer", nullable: true }),
4722
- Index28()
4785
+ Column36({ name: "user_id", type: "integer", nullable: true }),
4786
+ Index29()
4723
4787
  ], FreelancerEducation.prototype, "userId", 2);
4724
4788
  __decorateClass([
4725
- ManyToOne33(() => User, (user) => user.freelancerEducation),
4726
- JoinColumn33({ name: "user_id" })
4789
+ ManyToOne34(() => User, (user) => user.freelancerEducation),
4790
+ JoinColumn34({ name: "user_id" })
4727
4791
  ], FreelancerEducation.prototype, "user", 2);
4728
4792
  __decorateClass([
4729
- Column35({ name: "degree", type: "varchar", nullable: true })
4793
+ Column36({ name: "degree", type: "varchar", nullable: true })
4730
4794
  ], FreelancerEducation.prototype, "degree", 2);
4731
4795
  __decorateClass([
4732
- Column35({ name: "university", type: "varchar", nullable: true })
4796
+ Column36({ name: "university", type: "varchar", nullable: true })
4733
4797
  ], FreelancerEducation.prototype, "university", 2);
4734
4798
  __decorateClass([
4735
- Column35({ name: "year_of_graduation", type: "varchar", nullable: true })
4799
+ Column36({ name: "year_of_graduation", type: "varchar", nullable: true })
4736
4800
  ], FreelancerEducation.prototype, "yearOfGraduation", 2);
4737
4801
  FreelancerEducation = __decorateClass([
4738
- Entity34("freelancer_educations")
4802
+ Entity35("freelancer_educations")
4739
4803
  ], FreelancerEducation);
4740
4804
 
4741
4805
  // src/entities/freelancer-project.entity.ts
4742
4806
  import {
4743
- Entity as Entity35,
4744
- Column as Column36,
4745
- Index as Index29,
4746
- ManyToOne as ManyToOne34,
4747
- JoinColumn as JoinColumn34
4807
+ Entity as Entity36,
4808
+ Column as Column37,
4809
+ Index as Index30,
4810
+ ManyToOne as ManyToOne35,
4811
+ JoinColumn as JoinColumn35
4748
4812
  } from "typeorm";
4749
4813
  var FreelancerProject = class extends BaseEntity {
4750
4814
  };
4751
4815
  // individual index to find project by user
4752
4816
  __decorateClass([
4753
- Column36({ name: "user_id", type: "integer", nullable: true }),
4754
- Index29()
4817
+ Column37({ name: "user_id", type: "integer", nullable: true }),
4818
+ Index30()
4755
4819
  ], FreelancerProject.prototype, "userId", 2);
4756
4820
  __decorateClass([
4757
- ManyToOne34(() => User, (user) => user.freelancerProject),
4758
- JoinColumn34({ name: "user_id" })
4821
+ ManyToOne35(() => User, (user) => user.freelancerProject),
4822
+ JoinColumn35({ name: "user_id" })
4759
4823
  ], FreelancerProject.prototype, "user", 2);
4760
4824
  __decorateClass([
4761
- Column36({ name: "project_name", type: "varchar", nullable: true })
4825
+ Column37({ name: "project_name", type: "varchar", nullable: true })
4762
4826
  ], FreelancerProject.prototype, "projectName", 2);
4763
4827
  __decorateClass([
4764
- Column36({ name: "start_date", type: "date", nullable: true })
4828
+ Column37({ name: "start_date", type: "date", nullable: true })
4765
4829
  ], FreelancerProject.prototype, "startDate", 2);
4766
4830
  __decorateClass([
4767
- Column36({ name: "end_date", type: "date", nullable: true })
4831
+ Column37({ name: "end_date", type: "date", nullable: true })
4768
4832
  ], FreelancerProject.prototype, "endDate", 2);
4769
4833
  __decorateClass([
4770
- Column36({ name: "client_name", type: "varchar", nullable: true })
4834
+ Column37({ name: "client_name", type: "varchar", nullable: true })
4771
4835
  ], FreelancerProject.prototype, "clientName", 2);
4772
4836
  __decorateClass([
4773
- Column36({ name: "git_link", type: "varchar", nullable: true })
4837
+ Column37({ name: "git_link", type: "varchar", nullable: true })
4774
4838
  ], FreelancerProject.prototype, "gitLink", 2);
4775
4839
  __decorateClass([
4776
- Column36({ name: "description", type: "varchar", nullable: true })
4840
+ Column37({ name: "description", type: "varchar", nullable: true })
4777
4841
  ], FreelancerProject.prototype, "description", 2);
4778
4842
  FreelancerProject = __decorateClass([
4779
- Entity35("freelancer_projects")
4843
+ Entity36("freelancer_projects")
4780
4844
  ], FreelancerProject);
4781
4845
 
4782
4846
  // src/entities/freelancer-casestudy.entity.ts
4783
4847
  import {
4784
- Entity as Entity36,
4785
- Column as Column37,
4786
- Index as Index30,
4787
- ManyToOne as ManyToOne35,
4788
- JoinColumn as JoinColumn35
4848
+ Entity as Entity37,
4849
+ Column as Column38,
4850
+ Index as Index31,
4851
+ ManyToOne as ManyToOne36,
4852
+ JoinColumn as JoinColumn36
4789
4853
  } from "typeorm";
4790
4854
  var FreelancerCaseStudy = class extends BaseEntity {
4791
4855
  };
4792
4856
  // individual index to find case study by user
4793
4857
  __decorateClass([
4794
- Column37({ name: "user_id", type: "integer", nullable: true }),
4795
- Index30()
4858
+ Column38({ name: "user_id", type: "integer", nullable: true }),
4859
+ Index31()
4796
4860
  ], FreelancerCaseStudy.prototype, "userId", 2);
4797
4861
  __decorateClass([
4798
- ManyToOne35(() => User, (user) => user.freelancerCaseStudy),
4799
- JoinColumn35({ name: "user_id" })
4862
+ ManyToOne36(() => User, (user) => user.freelancerCaseStudy),
4863
+ JoinColumn36({ name: "user_id" })
4800
4864
  ], FreelancerCaseStudy.prototype, "user", 2);
4801
4865
  __decorateClass([
4802
- Column37({ name: "project_name", type: "varchar", nullable: true })
4866
+ Column38({ name: "project_name", type: "varchar", nullable: true })
4803
4867
  ], FreelancerCaseStudy.prototype, "projectName", 2);
4804
4868
  __decorateClass([
4805
- Column37({ name: "case_study_link", type: "varchar", nullable: true })
4869
+ Column38({ name: "case_study_link", type: "varchar", nullable: true })
4806
4870
  ], FreelancerCaseStudy.prototype, "caseStudyLink", 2);
4807
4871
  __decorateClass([
4808
- Column37({ name: "description", type: "varchar", nullable: true })
4872
+ Column38({ name: "description", type: "varchar", nullable: true })
4809
4873
  ], FreelancerCaseStudy.prototype, "description", 2);
4810
4874
  FreelancerCaseStudy = __decorateClass([
4811
- Entity36("freelancer_case_studies")
4875
+ Entity37("freelancer_case_studies")
4812
4876
  ], FreelancerCaseStudy);
4813
4877
 
4814
4878
  // src/entities/freelancer-skill.entity.ts
4815
4879
  import {
4816
- Entity as Entity37,
4817
- Column as Column38,
4818
- Index as Index31,
4819
- ManyToOne as ManyToOne36,
4820
- JoinColumn as JoinColumn36
4880
+ Entity as Entity38,
4881
+ Column as Column39,
4882
+ Index as Index32,
4883
+ ManyToOne as ManyToOne37,
4884
+ JoinColumn as JoinColumn37
4821
4885
  } from "typeorm";
4822
4886
  var FreelancerSkillCategoryEnum = /* @__PURE__ */ ((FreelancerSkillCategoryEnum2) => {
4823
4887
  FreelancerSkillCategoryEnum2[FreelancerSkillCategoryEnum2["GOOD_TO_HAVE"] = 0] = "GOOD_TO_HAVE";
@@ -4828,18 +4892,18 @@ var FreelancerSkill = class extends BaseEntity {
4828
4892
  };
4829
4893
  // individual index to find core skills by user
4830
4894
  __decorateClass([
4831
- Column38({ name: "user_id", type: "integer", nullable: true }),
4832
- Index31()
4895
+ Column39({ name: "user_id", type: "integer", nullable: true }),
4896
+ Index32()
4833
4897
  ], FreelancerSkill.prototype, "userId", 2);
4834
4898
  __decorateClass([
4835
- ManyToOne36(() => User, (user) => user.freelancerSkills),
4836
- JoinColumn36({ name: "user_id" })
4899
+ ManyToOne37(() => User, (user) => user.freelancerSkills),
4900
+ JoinColumn37({ name: "user_id" })
4837
4901
  ], FreelancerSkill.prototype, "user", 2);
4838
4902
  __decorateClass([
4839
- Column38({ name: "skill_name", type: "varchar", nullable: true })
4903
+ Column39({ name: "skill_name", type: "varchar", nullable: true })
4840
4904
  ], FreelancerSkill.prototype, "skillName", 2);
4841
4905
  __decorateClass([
4842
- Column38({
4906
+ Column39({
4843
4907
  name: "skill_category",
4844
4908
  type: "smallint",
4845
4909
  default: 1,
@@ -4847,68 +4911,68 @@ __decorateClass([
4847
4911
  })
4848
4912
  ], FreelancerSkill.prototype, "skillCategory", 2);
4849
4913
  FreelancerSkill = __decorateClass([
4850
- Entity37("freelancer_skills")
4914
+ Entity38("freelancer_skills")
4851
4915
  ], FreelancerSkill);
4852
4916
 
4853
4917
  // src/entities/freelancer-tool.entity.ts
4854
4918
  import {
4855
- Entity as Entity38,
4856
- Column as Column39,
4857
- Index as Index32,
4858
- ManyToOne as ManyToOne37,
4859
- JoinColumn as JoinColumn37
4919
+ Entity as Entity39,
4920
+ Column as Column40,
4921
+ Index as Index33,
4922
+ ManyToOne as ManyToOne38,
4923
+ JoinColumn as JoinColumn38
4860
4924
  } from "typeorm";
4861
4925
  var FreelancerTool = class extends BaseEntity {
4862
4926
  };
4863
4927
  // individual index to find tool by user
4864
4928
  __decorateClass([
4865
- Column39({ name: "user_id", type: "integer", nullable: true }),
4866
- Index32()
4929
+ Column40({ name: "user_id", type: "integer", nullable: true }),
4930
+ Index33()
4867
4931
  ], FreelancerTool.prototype, "userId", 2);
4868
4932
  __decorateClass([
4869
- ManyToOne37(() => User, (user) => user.freelancerTool),
4870
- JoinColumn37({ name: "user_id" })
4933
+ ManyToOne38(() => User, (user) => user.freelancerTool),
4934
+ JoinColumn38({ name: "user_id" })
4871
4935
  ], FreelancerTool.prototype, "user", 2);
4872
4936
  __decorateClass([
4873
- Column39({ name: "tool_name", type: "varchar", nullable: true })
4937
+ Column40({ name: "tool_name", type: "varchar", nullable: true })
4874
4938
  ], FreelancerTool.prototype, "toolName", 2);
4875
4939
  FreelancerTool = __decorateClass([
4876
- Entity38("freelancer_tools")
4940
+ Entity39("freelancer_tools")
4877
4941
  ], FreelancerTool);
4878
4942
 
4879
4943
  // src/entities/freelancer-framework.entity.ts
4880
4944
  import {
4881
- Entity as Entity39,
4882
- Column as Column40,
4883
- Index as Index33,
4884
- ManyToOne as ManyToOne38,
4885
- JoinColumn as JoinColumn38
4945
+ Entity as Entity40,
4946
+ Column as Column41,
4947
+ Index as Index34,
4948
+ ManyToOne as ManyToOne39,
4949
+ JoinColumn as JoinColumn39
4886
4950
  } from "typeorm";
4887
4951
  var FreelancerFramework = class extends BaseEntity {
4888
4952
  };
4889
4953
  // individual index to find framework by user
4890
4954
  __decorateClass([
4891
- Column40({ name: "user_id", type: "integer", nullable: true }),
4892
- Index33()
4955
+ Column41({ name: "user_id", type: "integer", nullable: true }),
4956
+ Index34()
4893
4957
  ], FreelancerFramework.prototype, "userId", 2);
4894
4958
  __decorateClass([
4895
- ManyToOne38(() => User, (user) => user.freelancerFramework),
4896
- JoinColumn38({ name: "user_id" })
4959
+ ManyToOne39(() => User, (user) => user.freelancerFramework),
4960
+ JoinColumn39({ name: "user_id" })
4897
4961
  ], FreelancerFramework.prototype, "user", 2);
4898
4962
  __decorateClass([
4899
- Column40({ name: "framework_name", type: "varchar", nullable: true })
4963
+ Column41({ name: "framework_name", type: "varchar", nullable: true })
4900
4964
  ], FreelancerFramework.prototype, "frameworkName", 2);
4901
4965
  FreelancerFramework = __decorateClass([
4902
- Entity39("freelancer_frameworks")
4966
+ Entity40("freelancer_frameworks")
4903
4967
  ], FreelancerFramework);
4904
4968
 
4905
4969
  // src/entities/freelancer-assessment.entity.ts
4906
4970
  import {
4907
- Entity as Entity40,
4908
- Column as Column41,
4909
- Index as Index34,
4910
- ManyToOne as ManyToOne39,
4911
- JoinColumn as JoinColumn39
4971
+ Entity as Entity41,
4972
+ Column as Column42,
4973
+ Index as Index35,
4974
+ ManyToOne as ManyToOne40,
4975
+ JoinColumn as JoinColumn40
4912
4976
  } from "typeorm";
4913
4977
  var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
4914
4978
  AssessmentStatusEnum2["NOT_ATTEMPTED"] = "NOT_ATTEMPTED";
@@ -4925,30 +4989,30 @@ var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
4925
4989
  var FreelancerAssessment = class extends BaseEntity {
4926
4990
  };
4927
4991
  __decorateClass([
4928
- Column41({ name: "user_id", type: "integer", nullable: true }),
4929
- Index34()
4992
+ Column42({ name: "user_id", type: "integer", nullable: true }),
4993
+ Index35()
4930
4994
  ], FreelancerAssessment.prototype, "userId", 2);
4931
4995
  __decorateClass([
4932
- ManyToOne39(() => User, (user) => user.assessments),
4933
- JoinColumn39({ name: "user_id" })
4996
+ ManyToOne40(() => User, (user) => user.assessments),
4997
+ JoinColumn40({ name: "user_id" })
4934
4998
  ], FreelancerAssessment.prototype, "user", 2);
4935
4999
  __decorateClass([
4936
- Column41({ name: "interview_id", type: "varchar", nullable: true })
5000
+ Column42({ name: "interview_id", type: "varchar", nullable: true })
4937
5001
  ], FreelancerAssessment.prototype, "interviewId", 2);
4938
5002
  __decorateClass([
4939
- Column41({ name: "interview_link", type: "text", nullable: true })
5003
+ Column42({ name: "interview_link", type: "text", nullable: true })
4940
5004
  ], FreelancerAssessment.prototype, "interviewLink", 2);
4941
5005
  __decorateClass([
4942
- Column41({ name: "recording_link", type: "text", nullable: true })
5006
+ Column42({ name: "recording_link", type: "text", nullable: true })
4943
5007
  ], FreelancerAssessment.prototype, "recordingLink", 2);
4944
5008
  __decorateClass([
4945
- Column41({ name: "iframe_response", type: "jsonb", nullable: true })
5009
+ Column42({ name: "iframe_response", type: "jsonb", nullable: true })
4946
5010
  ], FreelancerAssessment.prototype, "iframeResponse", 2);
4947
5011
  __decorateClass([
4948
- Column41({ name: "interview_summary", type: "jsonb", nullable: true })
5012
+ Column42({ name: "interview_summary", type: "jsonb", nullable: true })
4949
5013
  ], FreelancerAssessment.prototype, "interviewSummary", 2);
4950
5014
  __decorateClass([
4951
- Column41({
5015
+ Column42({
4952
5016
  name: "status",
4953
5017
  type: "enum",
4954
5018
  enum: AssessmentStatusEnum,
@@ -4956,11 +5020,11 @@ __decorateClass([
4956
5020
  })
4957
5021
  ], FreelancerAssessment.prototype, "status", 2);
4958
5022
  FreelancerAssessment = __decorateClass([
4959
- Entity40("freelancer_assessments")
5023
+ Entity41("freelancer_assessments")
4960
5024
  ], FreelancerAssessment);
4961
5025
 
4962
5026
  // src/entities/freelancer-declaration.entity.ts
4963
- import { Entity as Entity41, Column as Column42, Index as Index35, ManyToOne as ManyToOne40, JoinColumn as JoinColumn40 } from "typeorm";
5027
+ import { Entity as Entity42, Column as Column43, Index as Index36, ManyToOne as ManyToOne41, JoinColumn as JoinColumn41 } from "typeorm";
4964
5028
  var DocumentType = /* @__PURE__ */ ((DocumentType2) => {
4965
5029
  DocumentType2["AADHAAR"] = "AADHAAR_CARD";
4966
5030
  DocumentType2["PASSPORT"] = "PASSPORT";
@@ -4972,15 +5036,15 @@ var FreelancerDeclaration = class extends BaseEntity {
4972
5036
  };
4973
5037
  // individual index to find declaration by user
4974
5038
  __decorateClass([
4975
- Column42({ name: "user_id", type: "integer", nullable: true }),
4976
- Index35()
5039
+ Column43({ name: "user_id", type: "integer", nullable: true }),
5040
+ Index36()
4977
5041
  ], FreelancerDeclaration.prototype, "userId", 2);
4978
5042
  __decorateClass([
4979
- ManyToOne40(() => User, (user) => user.freelancerDeclaration),
4980
- JoinColumn40({ name: "user_id" })
5043
+ ManyToOne41(() => User, (user) => user.freelancerDeclaration),
5044
+ JoinColumn41({ name: "user_id" })
4981
5045
  ], FreelancerDeclaration.prototype, "user", 2);
4982
5046
  __decorateClass([
4983
- Column42({
5047
+ Column43({
4984
5048
  name: "document_type",
4985
5049
  type: "enum",
4986
5050
  enum: DocumentType,
@@ -4988,175 +5052,175 @@ __decorateClass([
4988
5052
  })
4989
5053
  ], FreelancerDeclaration.prototype, "documentType", 2);
4990
5054
  __decorateClass([
4991
- Column42({ name: "front_document_url", type: "varchar", nullable: true })
5055
+ Column43({ name: "front_document_url", type: "varchar", nullable: true })
4992
5056
  ], FreelancerDeclaration.prototype, "frontDocumentUrl", 2);
4993
5057
  __decorateClass([
4994
- Column42({ name: "back_document_url", type: "varchar", nullable: true })
5058
+ Column43({ name: "back_document_url", type: "varchar", nullable: true })
4995
5059
  ], FreelancerDeclaration.prototype, "backDocumentUrl", 2);
4996
5060
  __decorateClass([
4997
- Column42({ name: "declaration_accepted", type: "boolean", default: false })
5061
+ Column43({ name: "declaration_accepted", type: "boolean", default: false })
4998
5062
  ], FreelancerDeclaration.prototype, "declarationAccepted", 2);
4999
5063
  __decorateClass([
5000
- Column42({ name: "digital_signature_url", type: "varchar", nullable: true })
5064
+ Column43({ name: "digital_signature_url", type: "varchar", nullable: true })
5001
5065
  ], FreelancerDeclaration.prototype, "digitalSignatureUrl", 2);
5002
5066
  FreelancerDeclaration = __decorateClass([
5003
- Entity41("freelancer_declaration")
5067
+ Entity42("freelancer_declaration")
5004
5068
  ], FreelancerDeclaration);
5005
5069
 
5006
5070
  // src/entities/company-members-roles.entity.ts
5007
5071
  import {
5008
- Column as Column46,
5009
- Entity as Entity45,
5010
- ManyToOne as ManyToOne43,
5011
- JoinColumn as JoinColumn43,
5012
- Index as Index39
5072
+ Column as Column47,
5073
+ Entity as Entity46,
5074
+ ManyToOne as ManyToOne44,
5075
+ JoinColumn as JoinColumn44,
5076
+ Index as Index40
5013
5077
  } from "typeorm";
5014
5078
 
5015
5079
  // src/entities/company-role.entity.ts
5016
5080
  import {
5017
- Column as Column45,
5018
- Entity as Entity44,
5019
- Index as Index38,
5020
- JoinColumn as JoinColumn42,
5021
- ManyToOne as ManyToOne42,
5081
+ Column as Column46,
5082
+ Entity as Entity45,
5083
+ Index as Index39,
5084
+ JoinColumn as JoinColumn43,
5085
+ ManyToOne as ManyToOne43,
5022
5086
  OneToMany as OneToMany14
5023
5087
  } from "typeorm";
5024
5088
 
5025
5089
  // src/entities/company-role-permission.entity.ts
5026
5090
  import {
5027
- Column as Column44,
5028
- Entity as Entity43,
5029
- ManyToOne as ManyToOne41,
5030
- JoinColumn as JoinColumn41,
5031
- Index as Index37
5091
+ Column as Column45,
5092
+ Entity as Entity44,
5093
+ ManyToOne as ManyToOne42,
5094
+ JoinColumn as JoinColumn42,
5095
+ Index as Index38
5032
5096
  } from "typeorm";
5033
5097
 
5034
5098
  // src/entities/permission.entity.ts
5035
- import { Column as Column43, Entity as Entity42, Index as Index36 } from "typeorm";
5099
+ import { Column as Column44, Entity as Entity43, Index as Index37 } from "typeorm";
5036
5100
  var Permission = class extends BaseEntity {
5037
5101
  };
5038
5102
  __decorateClass([
5039
- Column43({ name: "name", type: "varchar", nullable: true })
5103
+ Column44({ name: "name", type: "varchar", nullable: true })
5040
5104
  ], Permission.prototype, "name", 2);
5041
5105
  __decorateClass([
5042
- Column43({ name: "slug", type: "varchar", nullable: true, unique: true }),
5043
- Index36()
5106
+ Column44({ name: "slug", type: "varchar", nullable: true, unique: true }),
5107
+ Index37()
5044
5108
  ], Permission.prototype, "slug", 2);
5045
5109
  __decorateClass([
5046
- Column43({ name: "description", type: "text", nullable: true })
5110
+ Column44({ name: "description", type: "text", nullable: true })
5047
5111
  ], Permission.prototype, "description", 2);
5048
5112
  __decorateClass([
5049
- Column43({ name: "is_active", type: "boolean", default: true })
5113
+ Column44({ name: "is_active", type: "boolean", default: true })
5050
5114
  ], Permission.prototype, "isActive", 2);
5051
5115
  Permission = __decorateClass([
5052
- Entity42("permissions")
5116
+ Entity43("permissions")
5053
5117
  ], Permission);
5054
5118
 
5055
5119
  // src/entities/company-role-permission.entity.ts
5056
5120
  var CompanyRolePermission = class extends BaseEntity {
5057
5121
  };
5058
5122
  __decorateClass([
5059
- Column44({ name: "company_role_id", type: "integer", nullable: true }),
5060
- Index37()
5123
+ Column45({ name: "company_role_id", type: "integer", nullable: true }),
5124
+ Index38()
5061
5125
  ], CompanyRolePermission.prototype, "companyRoleId", 2);
5062
5126
  __decorateClass([
5063
- ManyToOne41(() => CompanyRole, (role) => role.rolePermissions, {
5127
+ ManyToOne42(() => CompanyRole, (role) => role.rolePermissions, {
5064
5128
  onDelete: "CASCADE"
5065
5129
  }),
5066
- JoinColumn41({ name: "company_role_id" })
5130
+ JoinColumn42({ name: "company_role_id" })
5067
5131
  ], CompanyRolePermission.prototype, "companyRole", 2);
5068
5132
  __decorateClass([
5069
- Column44({ name: "permission_id", type: "integer" }),
5070
- Index37()
5133
+ Column45({ name: "permission_id", type: "integer" }),
5134
+ Index38()
5071
5135
  ], CompanyRolePermission.prototype, "permissionId", 2);
5072
5136
  __decorateClass([
5073
- ManyToOne41(() => Permission, { onDelete: "CASCADE" }),
5074
- JoinColumn41({ name: "permission_id" })
5137
+ ManyToOne42(() => Permission, { onDelete: "CASCADE" }),
5138
+ JoinColumn42({ name: "permission_id" })
5075
5139
  ], CompanyRolePermission.prototype, "permission", 2);
5076
5140
  __decorateClass([
5077
- Column44({ name: "assigned_by", type: "integer", nullable: true })
5141
+ Column45({ name: "assigned_by", type: "integer", nullable: true })
5078
5142
  ], CompanyRolePermission.prototype, "assignedBy", 2);
5079
5143
  CompanyRolePermission = __decorateClass([
5080
- Entity43("company_role_permissions")
5144
+ Entity44("company_role_permissions")
5081
5145
  ], CompanyRolePermission);
5082
5146
 
5083
5147
  // src/entities/company-role.entity.ts
5084
5148
  var CompanyRole = class extends BaseEntity {
5085
5149
  };
5086
5150
  __decorateClass([
5087
- Column45({ name: "user_id", type: "integer", nullable: true }),
5088
- Index38()
5151
+ Column46({ name: "user_id", type: "integer", nullable: true }),
5152
+ Index39()
5089
5153
  ], CompanyRole.prototype, "userId", 2);
5090
5154
  __decorateClass([
5091
- ManyToOne42(() => User, (user) => user.otps),
5092
- JoinColumn42({ name: "user_id" })
5155
+ ManyToOne43(() => User, (user) => user.otps),
5156
+ JoinColumn43({ name: "user_id" })
5093
5157
  ], CompanyRole.prototype, "user", 2);
5094
5158
  __decorateClass([
5095
- Column45({ name: "name", type: "varchar" })
5159
+ Column46({ name: "name", type: "varchar" })
5096
5160
  ], CompanyRole.prototype, "name", 2);
5097
5161
  __decorateClass([
5098
- Column45({ name: "slug", type: "varchar", nullable: true, unique: true }),
5099
- Index38()
5162
+ Column46({ name: "slug", type: "varchar", nullable: true, unique: true }),
5163
+ Index39()
5100
5164
  ], CompanyRole.prototype, "slug", 2);
5101
5165
  __decorateClass([
5102
- Column45({ name: "description", type: "text", nullable: true })
5166
+ Column46({ name: "description", type: "text", nullable: true })
5103
5167
  ], CompanyRole.prototype, "description", 2);
5104
5168
  __decorateClass([
5105
- Column45({ name: "is_active", type: "boolean", default: true })
5169
+ Column46({ name: "is_active", type: "boolean", default: true })
5106
5170
  ], CompanyRole.prototype, "isActive", 2);
5107
5171
  __decorateClass([
5108
5172
  OneToMany14(() => CompanyRolePermission, (rp) => rp.companyRole)
5109
5173
  ], CompanyRole.prototype, "rolePermissions", 2);
5110
5174
  CompanyRole = __decorateClass([
5111
- Entity44("company_roles")
5175
+ Entity45("company_roles")
5112
5176
  ], CompanyRole);
5113
5177
 
5114
5178
  // src/entities/company-members-roles.entity.ts
5115
5179
  var CompanyMemberRole = class extends BaseEntity {
5116
5180
  };
5117
5181
  __decorateClass([
5118
- Column46({ name: "user_id", type: "integer", nullable: true }),
5119
- Index39()
5182
+ Column47({ name: "user_id", type: "integer", nullable: true }),
5183
+ Index40()
5120
5184
  ], CompanyMemberRole.prototype, "userId", 2);
5121
5185
  __decorateClass([
5122
- ManyToOne43(() => User),
5123
- JoinColumn43({ name: "user_id" })
5186
+ ManyToOne44(() => User),
5187
+ JoinColumn44({ name: "user_id" })
5124
5188
  ], CompanyMemberRole.prototype, "user", 2);
5125
5189
  __decorateClass([
5126
- ManyToOne43(() => CompanyRole),
5127
- JoinColumn43({ name: "company_role_id" })
5190
+ ManyToOne44(() => CompanyRole),
5191
+ JoinColumn44({ name: "company_role_id" })
5128
5192
  ], CompanyMemberRole.prototype, "role", 2);
5129
5193
  __decorateClass([
5130
- Column46({ name: "company_role_id", type: "integer", nullable: true }),
5131
- Index39()
5194
+ Column47({ name: "company_role_id", type: "integer", nullable: true }),
5195
+ Index40()
5132
5196
  ], CompanyMemberRole.prototype, "companyRoleId", 2);
5133
5197
  __decorateClass([
5134
- Column46({ name: "assigned_by", type: "integer", nullable: true })
5198
+ Column47({ name: "assigned_by", type: "integer", nullable: true })
5135
5199
  ], CompanyMemberRole.prototype, "assignedBy", 2);
5136
5200
  CompanyMemberRole = __decorateClass([
5137
- Entity45("company_member_roles")
5201
+ Entity46("company_member_roles")
5138
5202
  ], CompanyMemberRole);
5139
5203
 
5140
5204
  // src/entities/assessment-answer.entity.ts
5141
5205
  import {
5142
- Entity as Entity48,
5143
- Column as Column49,
5144
- ManyToOne as ManyToOne46,
5145
- Index as Index42,
5146
- JoinColumn as JoinColumn46
5206
+ Entity as Entity49,
5207
+ Column as Column50,
5208
+ ManyToOne as ManyToOne47,
5209
+ Index as Index43,
5210
+ JoinColumn as JoinColumn47
5147
5211
  } from "typeorm";
5148
5212
 
5149
5213
  // src/entities/assessment-question.entity.ts
5150
- import { Entity as Entity47, Column as Column48, OneToMany as OneToMany16, Index as Index41, ManyToOne as ManyToOne45, JoinColumn as JoinColumn45 } from "typeorm";
5214
+ import { Entity as Entity48, Column as Column49, OneToMany as OneToMany16, Index as Index42, ManyToOne as ManyToOne46, JoinColumn as JoinColumn46 } from "typeorm";
5151
5215
 
5152
5216
  // src/entities/assessment-question-option.entity.ts
5153
5217
  import {
5154
- Entity as Entity46,
5155
- Column as Column47,
5218
+ Entity as Entity47,
5219
+ Column as Column48,
5156
5220
  OneToMany as OneToMany15,
5157
- ManyToOne as ManyToOne44,
5158
- Index as Index40,
5159
- JoinColumn as JoinColumn44
5221
+ ManyToOne as ManyToOne45,
5222
+ Index as Index41,
5223
+ JoinColumn as JoinColumn45
5160
5224
  } from "typeorm";
5161
5225
  var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
5162
5226
  AnswerTypeEnum2["CORRECT"] = "CORRECT";
@@ -5167,21 +5231,21 @@ var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
5167
5231
  var AssessmetQuestionOption = class extends BaseEntity {
5168
5232
  };
5169
5233
  __decorateClass([
5170
- Column47({ name: "question_id", type: "integer", nullable: true }),
5171
- Index40()
5234
+ Column48({ name: "question_id", type: "integer", nullable: true }),
5235
+ Index41()
5172
5236
  ], AssessmetQuestionOption.prototype, "questionId", 2);
5173
5237
  __decorateClass([
5174
- ManyToOne44(
5238
+ ManyToOne45(
5175
5239
  () => AssessmetQuestion,
5176
5240
  (assessmentQuestion) => assessmentQuestion.options
5177
5241
  ),
5178
- JoinColumn44({ name: "question_id" })
5242
+ JoinColumn45({ name: "question_id" })
5179
5243
  ], AssessmetQuestionOption.prototype, "question", 2);
5180
5244
  __decorateClass([
5181
- Column47({ name: "text", type: "varchar", nullable: true })
5245
+ Column48({ name: "text", type: "varchar", nullable: true })
5182
5246
  ], AssessmetQuestionOption.prototype, "text", 2);
5183
5247
  __decorateClass([
5184
- Column47({
5248
+ Column48({
5185
5249
  name: "answer_type",
5186
5250
  type: "enum",
5187
5251
  enum: AnswerTypeEnum,
@@ -5189,13 +5253,13 @@ __decorateClass([
5189
5253
  })
5190
5254
  ], AssessmetQuestionOption.prototype, "answerType", 2);
5191
5255
  __decorateClass([
5192
- Column47({ name: "is_active", type: "boolean", default: true })
5256
+ Column48({ name: "is_active", type: "boolean", default: true })
5193
5257
  ], AssessmetQuestionOption.prototype, "isActive", 2);
5194
5258
  __decorateClass([
5195
5259
  OneToMany15(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
5196
5260
  ], AssessmetQuestionOption.prototype, "selectedOptions", 2);
5197
5261
  AssessmetQuestionOption = __decorateClass([
5198
- Entity46("assessment_question_options")
5262
+ Entity47("assessment_question_options")
5199
5263
  ], AssessmetQuestionOption);
5200
5264
 
5201
5265
  // src/entities/assessment-question.entity.ts
@@ -5207,10 +5271,10 @@ var QuestionForEnum = /* @__PURE__ */ ((QuestionForEnum2) => {
5207
5271
  var AssessmetQuestion = class extends BaseEntity {
5208
5272
  };
5209
5273
  __decorateClass([
5210
- Column48({ name: "text", type: "varchar", nullable: true })
5274
+ Column49({ name: "text", type: "varchar", nullable: true })
5211
5275
  ], AssessmetQuestion.prototype, "text", 2);
5212
5276
  __decorateClass([
5213
- Column48({
5277
+ Column49({
5214
5278
  name: "question_for",
5215
5279
  type: "enum",
5216
5280
  enum: QuestionForEnum,
@@ -5218,15 +5282,15 @@ __decorateClass([
5218
5282
  })
5219
5283
  ], AssessmetQuestion.prototype, "questionFor", 2);
5220
5284
  __decorateClass([
5221
- Column48({ name: "is_active", type: "boolean", default: true })
5285
+ Column49({ name: "is_active", type: "boolean", default: true })
5222
5286
  ], AssessmetQuestion.prototype, "isActive", 2);
5223
5287
  __decorateClass([
5224
- Column48({ name: "candidate_id", type: "integer", nullable: true }),
5225
- Index41()
5288
+ Column49({ name: "candidate_id", type: "integer", nullable: true }),
5289
+ Index42()
5226
5290
  ], AssessmetQuestion.prototype, "candidateId", 2);
5227
5291
  __decorateClass([
5228
- ManyToOne45(() => User, (user) => user.freelancerMcq, { nullable: true }),
5229
- JoinColumn45({ name: "candidate_id" })
5292
+ ManyToOne46(() => User, (user) => user.freelancerMcq, { nullable: true }),
5293
+ JoinColumn46({ name: "candidate_id" })
5230
5294
  ], AssessmetQuestion.prototype, "candidate", 2);
5231
5295
  __decorateClass([
5232
5296
  OneToMany16(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
@@ -5235,7 +5299,7 @@ __decorateClass([
5235
5299
  OneToMany16(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
5236
5300
  ], AssessmetQuestion.prototype, "answers", 2);
5237
5301
  AssessmetQuestion = __decorateClass([
5238
- Entity47("assessment_questions")
5302
+ Entity48("assessment_questions")
5239
5303
  ], AssessmetQuestion);
5240
5304
 
5241
5305
  // src/entities/assessment-answer.entity.ts
@@ -5248,102 +5312,102 @@ var SelectedAnswerTypeEnum = /* @__PURE__ */ ((SelectedAnswerTypeEnum2) => {
5248
5312
  var AssessmentAnswer = class extends BaseEntity {
5249
5313
  };
5250
5314
  __decorateClass([
5251
- Column49({ name: "user_id", type: "integer" }),
5252
- Index42()
5315
+ Column50({ name: "user_id", type: "integer" }),
5316
+ Index43()
5253
5317
  ], AssessmentAnswer.prototype, "userId", 2);
5254
5318
  __decorateClass([
5255
- ManyToOne46(() => User, (user) => user.assessmentAnswers),
5256
- JoinColumn46({ name: "user_id" })
5319
+ ManyToOne47(() => User, (user) => user.assessmentAnswers),
5320
+ JoinColumn47({ name: "user_id" })
5257
5321
  ], AssessmentAnswer.prototype, "user", 2);
5258
5322
  __decorateClass([
5259
- Column49({ name: "question_id", type: "integer" }),
5260
- Index42()
5323
+ Column50({ name: "question_id", type: "integer" }),
5324
+ Index43()
5261
5325
  ], AssessmentAnswer.prototype, "questionId", 2);
5262
5326
  __decorateClass([
5263
- ManyToOne46(
5327
+ ManyToOne47(
5264
5328
  () => AssessmetQuestion,
5265
5329
  (assessmentQuestion) => assessmentQuestion.answers
5266
5330
  ),
5267
- JoinColumn46({ name: "question_id" })
5331
+ JoinColumn47({ name: "question_id" })
5268
5332
  ], AssessmentAnswer.prototype, "question", 2);
5269
5333
  __decorateClass([
5270
- Column49({ name: "selected_option_id", type: "integer" }),
5271
- Index42()
5334
+ Column50({ name: "selected_option_id", type: "integer" }),
5335
+ Index43()
5272
5336
  ], AssessmentAnswer.prototype, "selectedOptionId", 2);
5273
5337
  __decorateClass([
5274
- ManyToOne46(
5338
+ ManyToOne47(
5275
5339
  () => AssessmetQuestionOption,
5276
5340
  (assessmentQuestionOption) => assessmentQuestionOption.selectedOptions
5277
5341
  ),
5278
- JoinColumn46({ name: "selected_option_id" })
5342
+ JoinColumn47({ name: "selected_option_id" })
5279
5343
  ], AssessmentAnswer.prototype, "option", 2);
5280
5344
  __decorateClass([
5281
- Column49({
5345
+ Column50({
5282
5346
  name: "selected_answer_type",
5283
5347
  type: "enum",
5284
5348
  enum: SelectedAnswerTypeEnum
5285
5349
  })
5286
5350
  ], AssessmentAnswer.prototype, "selectedAnswerType", 2);
5287
5351
  __decorateClass([
5288
- Column49({ name: "score", type: "float" })
5352
+ Column50({ name: "score", type: "float" })
5289
5353
  ], AssessmentAnswer.prototype, "score", 2);
5290
5354
  AssessmentAnswer = __decorateClass([
5291
- Entity48("assessment_answers")
5355
+ Entity49("assessment_answers")
5292
5356
  ], AssessmentAnswer);
5293
5357
 
5294
5358
  // src/entities/company-skill.entity.ts
5295
- import { Entity as Entity49, Column as Column50, Index as Index43, ManyToOne as ManyToOne47, JoinColumn as JoinColumn47 } from "typeorm";
5359
+ import { Entity as Entity50, Column as Column51, Index as Index44, ManyToOne as ManyToOne48, JoinColumn as JoinColumn48 } from "typeorm";
5296
5360
  var CompanySkill = class extends BaseEntity {
5297
5361
  };
5298
5362
  // individual index to find core skills by user
5299
5363
  __decorateClass([
5300
- Column50({ name: "user_id", type: "integer", nullable: true }),
5301
- Index43()
5364
+ Column51({ name: "user_id", type: "integer", nullable: true }),
5365
+ Index44()
5302
5366
  ], CompanySkill.prototype, "userId", 2);
5303
5367
  __decorateClass([
5304
- ManyToOne47(() => User, (user) => user.freelancerSkills),
5305
- JoinColumn47({ name: "user_id" })
5368
+ ManyToOne48(() => User, (user) => user.freelancerSkills),
5369
+ JoinColumn48({ name: "user_id" })
5306
5370
  ], CompanySkill.prototype, "user", 2);
5307
5371
  __decorateClass([
5308
- Column50({ name: "skill_name", type: "varchar", nullable: true })
5372
+ Column51({ name: "skill_name", type: "varchar", nullable: true })
5309
5373
  ], CompanySkill.prototype, "skillName", 2);
5310
5374
  CompanySkill = __decorateClass([
5311
- Entity49("company_skills")
5375
+ Entity50("company_skills")
5312
5376
  ], CompanySkill);
5313
5377
 
5314
5378
  // src/entities/admin-user-role.entity.ts
5315
- import { Entity as Entity53, Column as Column54, ManyToOne as ManyToOne49, JoinColumn as JoinColumn49 } from "typeorm";
5379
+ import { Entity as Entity54, Column as Column55, ManyToOne as ManyToOne50, JoinColumn as JoinColumn50 } from "typeorm";
5316
5380
 
5317
5381
  // src/entities/admin-role.entity.ts
5318
- import { Entity as Entity52, Column as Column53, Index as Index46, OneToMany as OneToMany19 } from "typeorm";
5382
+ import { Entity as Entity53, Column as Column54, Index as Index47, OneToMany as OneToMany19 } from "typeorm";
5319
5383
 
5320
5384
  // src/entities/admin-role-permission.entity.ts
5321
- import { Entity as Entity51, Column as Column52, ManyToOne as ManyToOne48, JoinColumn as JoinColumn48 } from "typeorm";
5385
+ import { Entity as Entity52, Column as Column53, ManyToOne as ManyToOne49, JoinColumn as JoinColumn49 } from "typeorm";
5322
5386
 
5323
5387
  // src/entities/admin-permission.entity.ts
5324
- import { Entity as Entity50, Column as Column51, Index as Index44, OneToMany as OneToMany18 } from "typeorm";
5388
+ import { Entity as Entity51, Column as Column52, Index as Index45, OneToMany as OneToMany18 } from "typeorm";
5325
5389
  var AdminPermission = class extends BaseEntity {
5326
5390
  };
5327
5391
  __decorateClass([
5328
- Column51({ name: "permission_name", type: "varchar", nullable: true })
5392
+ Column52({ name: "permission_name", type: "varchar", nullable: true })
5329
5393
  ], AdminPermission.prototype, "permissionName", 2);
5330
5394
  __decorateClass([
5331
- Column51({
5395
+ Column52({
5332
5396
  name: "permission_slug",
5333
5397
  type: "varchar",
5334
5398
  unique: true,
5335
5399
  nullable: true
5336
5400
  }),
5337
- Index44()
5401
+ Index45()
5338
5402
  ], AdminPermission.prototype, "permissionSlug", 2);
5339
5403
  __decorateClass([
5340
- Column51({ name: "permission_description", type: "varchar", nullable: true })
5404
+ Column52({ name: "permission_description", type: "varchar", nullable: true })
5341
5405
  ], AdminPermission.prototype, "permissionDescription", 2);
5342
5406
  __decorateClass([
5343
- Column51({ name: "module", type: "varchar", nullable: true })
5407
+ Column52({ name: "module", type: "varchar", nullable: true })
5344
5408
  ], AdminPermission.prototype, "module", 2);
5345
5409
  __decorateClass([
5346
- Column51({ name: "is_active", type: "boolean", default: true })
5410
+ Column52({ name: "is_active", type: "boolean", default: true })
5347
5411
  ], AdminPermission.prototype, "isActive", 2);
5348
5412
  __decorateClass([
5349
5413
  OneToMany18(
@@ -5352,14 +5416,14 @@ __decorateClass([
5352
5416
  )
5353
5417
  ], AdminPermission.prototype, "adminRole", 2);
5354
5418
  AdminPermission = __decorateClass([
5355
- Entity50("admin_permissions")
5419
+ Entity51("admin_permissions")
5356
5420
  ], AdminPermission);
5357
5421
 
5358
5422
  // src/entities/admin-role-permission.entity.ts
5359
5423
  var AdminRolePermission = class extends BaseEntity {
5360
5424
  };
5361
5425
  __decorateClass([
5362
- Column52({
5426
+ Column53({
5363
5427
  name: "role_id",
5364
5428
  type: "int",
5365
5429
  nullable: true,
@@ -5367,11 +5431,11 @@ __decorateClass([
5367
5431
  })
5368
5432
  ], AdminRolePermission.prototype, "roleId", 2);
5369
5433
  __decorateClass([
5370
- ManyToOne48(() => AdminRole),
5371
- JoinColumn48({ name: "role_id" })
5434
+ ManyToOne49(() => AdminRole),
5435
+ JoinColumn49({ name: "role_id" })
5372
5436
  ], AdminRolePermission.prototype, "adminRole", 2);
5373
5437
  __decorateClass([
5374
- Column52({
5438
+ Column53({
5375
5439
  name: "permission_id",
5376
5440
  type: "int",
5377
5441
  nullable: true,
@@ -5379,28 +5443,28 @@ __decorateClass([
5379
5443
  })
5380
5444
  ], AdminRolePermission.prototype, "permissionId", 2);
5381
5445
  __decorateClass([
5382
- ManyToOne48(() => AdminPermission),
5383
- JoinColumn48({ name: "permission_id" })
5446
+ ManyToOne49(() => AdminPermission),
5447
+ JoinColumn49({ name: "permission_id" })
5384
5448
  ], AdminRolePermission.prototype, "adminPermissions", 2);
5385
5449
  AdminRolePermission = __decorateClass([
5386
- Entity51("admin_role_permissions")
5450
+ Entity52("admin_role_permissions")
5387
5451
  ], AdminRolePermission);
5388
5452
 
5389
5453
  // src/entities/admin-role.entity.ts
5390
5454
  var AdminRole = class extends BaseEntity {
5391
5455
  };
5392
5456
  __decorateClass([
5393
- Column53({ name: "role_name", type: "varchar", nullable: true })
5457
+ Column54({ name: "role_name", type: "varchar", nullable: true })
5394
5458
  ], AdminRole.prototype, "roleName", 2);
5395
5459
  __decorateClass([
5396
- Column53({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
5397
- Index46()
5460
+ Column54({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
5461
+ Index47()
5398
5462
  ], AdminRole.prototype, "roleSlug", 2);
5399
5463
  __decorateClass([
5400
- Column53({ name: "role_description", type: "varchar", nullable: true })
5464
+ Column54({ name: "role_description", type: "varchar", nullable: true })
5401
5465
  ], AdminRole.prototype, "roleDescription", 2);
5402
5466
  __decorateClass([
5403
- Column53({ name: "is_active", type: "boolean", default: true })
5467
+ Column54({ name: "is_active", type: "boolean", default: true })
5404
5468
  ], AdminRole.prototype, "isActive", 2);
5405
5469
  __decorateClass([
5406
5470
  OneToMany19(
@@ -5412,14 +5476,14 @@ __decorateClass([
5412
5476
  OneToMany19(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
5413
5477
  ], AdminRole.prototype, "userRoles", 2);
5414
5478
  AdminRole = __decorateClass([
5415
- Entity52("admin_roles")
5479
+ Entity53("admin_roles")
5416
5480
  ], AdminRole);
5417
5481
 
5418
5482
  // src/entities/admin-user-role.entity.ts
5419
5483
  var AdminUserRole = class extends BaseEntity {
5420
5484
  };
5421
5485
  __decorateClass([
5422
- Column54({
5486
+ Column55({
5423
5487
  name: "user_id",
5424
5488
  type: "int",
5425
5489
  nullable: true,
@@ -5427,11 +5491,11 @@ __decorateClass([
5427
5491
  })
5428
5492
  ], AdminUserRole.prototype, "userId", 2);
5429
5493
  __decorateClass([
5430
- ManyToOne49(() => User),
5431
- JoinColumn49({ name: "user_id" })
5494
+ ManyToOne50(() => User),
5495
+ JoinColumn50({ name: "user_id" })
5432
5496
  ], AdminUserRole.prototype, "user", 2);
5433
5497
  __decorateClass([
5434
- Column54({
5498
+ Column55({
5435
5499
  name: "role_id",
5436
5500
  type: "int",
5437
5501
  nullable: true,
@@ -5439,70 +5503,70 @@ __decorateClass([
5439
5503
  })
5440
5504
  ], AdminUserRole.prototype, "roleId", 2);
5441
5505
  __decorateClass([
5442
- ManyToOne49(() => AdminRole),
5443
- JoinColumn49({ name: "role_id" })
5506
+ ManyToOne50(() => AdminRole),
5507
+ JoinColumn50({ name: "role_id" })
5444
5508
  ], AdminUserRole.prototype, "adminRole", 2);
5445
5509
  AdminUserRole = __decorateClass([
5446
- Entity53("admin_user_roles")
5510
+ Entity54("admin_user_roles")
5447
5511
  ], AdminUserRole);
5448
5512
 
5449
5513
  // src/entities/freelancer-resume.entity.ts
5450
5514
  import {
5451
- Entity as Entity54,
5452
- Column as Column55,
5453
- Index as Index48,
5454
- ManyToOne as ManyToOne50,
5455
- JoinColumn as JoinColumn50
5515
+ Entity as Entity55,
5516
+ Column as Column56,
5517
+ Index as Index49,
5518
+ ManyToOne as ManyToOne51,
5519
+ JoinColumn as JoinColumn51
5456
5520
  } from "typeorm";
5457
5521
  var FreelancerResume = class extends BaseEntity {
5458
5522
  };
5459
5523
  // individual index to find profile by user
5460
5524
  __decorateClass([
5461
- Column55({ name: "user_id", type: "integer", nullable: true }),
5462
- Index48()
5525
+ Column56({ name: "user_id", type: "integer", nullable: true }),
5526
+ Index49()
5463
5527
  ], FreelancerResume.prototype, "userId", 2);
5464
5528
  __decorateClass([
5465
- ManyToOne50(() => User, (user) => user.freelancerProfile),
5466
- JoinColumn50({ name: "user_id" })
5529
+ ManyToOne51(() => User, (user) => user.freelancerProfile),
5530
+ JoinColumn51({ name: "user_id" })
5467
5531
  ], FreelancerResume.prototype, "user", 2);
5468
5532
  __decorateClass([
5469
- Column55({ name: "resume_data", type: "jsonb", nullable: true })
5533
+ Column56({ name: "resume_data", type: "jsonb", nullable: true })
5470
5534
  ], FreelancerResume.prototype, "resumeData", 2);
5471
5535
  __decorateClass([
5472
- Column55({ name: "processed_resume_data", type: "jsonb", nullable: true })
5536
+ Column56({ name: "processed_resume_data", type: "jsonb", nullable: true })
5473
5537
  ], FreelancerResume.prototype, "processedResumeData", 2);
5474
5538
  FreelancerResume = __decorateClass([
5475
- Entity54("freelancer_resumes")
5539
+ Entity55("freelancer_resumes")
5476
5540
  ], FreelancerResume);
5477
5541
 
5478
5542
  // src/entities/signature.entity.ts
5479
5543
  import {
5480
- Entity as Entity55,
5481
- Column as Column56,
5482
- Index as Index49,
5483
- ManyToOne as ManyToOne51,
5484
- JoinColumn as JoinColumn51
5544
+ Entity as Entity56,
5545
+ Column as Column57,
5546
+ Index as Index50,
5547
+ ManyToOne as ManyToOne52,
5548
+ JoinColumn as JoinColumn52
5485
5549
  } from "typeorm";
5486
5550
  var Signature = class extends BaseEntity {
5487
5551
  };
5488
5552
  // individual index to find profile by user
5489
5553
  __decorateClass([
5490
- Column56({ name: "user_id", type: "integer", nullable: true }),
5491
- Index49()
5554
+ Column57({ name: "user_id", type: "integer", nullable: true }),
5555
+ Index50()
5492
5556
  ], Signature.prototype, "userId", 2);
5493
5557
  __decorateClass([
5494
- ManyToOne51(() => User, (user) => user.signatures),
5495
- JoinColumn51({ name: "user_id" })
5558
+ ManyToOne52(() => User, (user) => user.signatures),
5559
+ JoinColumn52({ name: "user_id" })
5496
5560
  ], Signature.prototype, "user", 2);
5497
5561
  __decorateClass([
5498
- Column56({ name: "signature_url", type: "text", nullable: true })
5562
+ Column57({ name: "signature_url", type: "text", nullable: true })
5499
5563
  ], Signature.prototype, "signatureUrl", 2);
5500
5564
  Signature = __decorateClass([
5501
- Entity55("signatures")
5565
+ Entity56("signatures")
5502
5566
  ], Signature);
5503
5567
 
5504
5568
  // src/entities/dispute.entity.ts
5505
- import { Entity as Entity56, Column as Column57, Index as Index50, JoinColumn as JoinColumn52, ManyToOne as ManyToOne52 } from "typeorm";
5569
+ import { Entity as Entity57, Column as Column58, Index as Index51, JoinColumn as JoinColumn53, ManyToOne as ManyToOne53 } from "typeorm";
5506
5570
  var DisputeStatusEnum = /* @__PURE__ */ ((DisputeStatusEnum2) => {
5507
5571
  DisputeStatusEnum2["OPEN"] = "OPEN";
5508
5572
  DisputeStatusEnum2["IN_REVIEW"] = "IN_REVIEW";
@@ -5523,36 +5587,36 @@ var InitiatorTypeEnum = /* @__PURE__ */ ((InitiatorTypeEnum2) => {
5523
5587
  var Dispute = class extends BaseEntity {
5524
5588
  };
5525
5589
  __decorateClass([
5526
- Column57({ name: "client_id", type: "integer", nullable: true }),
5527
- Index50()
5590
+ Column58({ name: "client_id", type: "integer", nullable: true }),
5591
+ Index51()
5528
5592
  ], Dispute.prototype, "clientId", 2);
5529
5593
  __decorateClass([
5530
- ManyToOne52(() => User, (user) => user.clientDisputes),
5531
- JoinColumn52({ name: "client_id" })
5594
+ ManyToOne53(() => User, (user) => user.clientDisputes),
5595
+ JoinColumn53({ name: "client_id" })
5532
5596
  ], Dispute.prototype, "client", 2);
5533
5597
  __decorateClass([
5534
- Column57({ name: "freelancer_id", type: "integer", nullable: true }),
5535
- Index50()
5598
+ Column58({ name: "freelancer_id", type: "integer", nullable: true }),
5599
+ Index51()
5536
5600
  ], Dispute.prototype, "freelancerId", 2);
5537
5601
  __decorateClass([
5538
- ManyToOne52(() => User, (user) => user.freelancerDisputes),
5539
- JoinColumn52({ name: "freelancer_id" })
5602
+ ManyToOne53(() => User, (user) => user.freelancerDisputes),
5603
+ JoinColumn53({ name: "freelancer_id" })
5540
5604
  ], Dispute.prototype, "freelancer", 2);
5541
5605
  __decorateClass([
5542
- Column57({ name: "dispute_unique_id", type: "varchar", unique: true })
5606
+ Column58({ name: "dispute_unique_id", type: "varchar", unique: true })
5543
5607
  ], Dispute.prototype, "disputeUniqueId", 2);
5544
5608
  __decorateClass([
5545
- Column57({ name: "dispute_type", type: "varchar", nullable: true }),
5546
- Index50()
5609
+ Column58({ name: "dispute_type", type: "varchar", nullable: true }),
5610
+ Index51()
5547
5611
  ], Dispute.prototype, "disputeType", 2);
5548
5612
  __decorateClass([
5549
- Column57({ name: "description", type: "varchar", nullable: true })
5613
+ Column58({ name: "description", type: "varchar", nullable: true })
5550
5614
  ], Dispute.prototype, "description", 2);
5551
5615
  __decorateClass([
5552
- Column57({ name: "comment", type: "varchar", nullable: true })
5616
+ Column58({ name: "comment", type: "varchar", nullable: true })
5553
5617
  ], Dispute.prototype, "comment", 2);
5554
5618
  __decorateClass([
5555
- Column57({
5619
+ Column58({
5556
5620
  name: "status",
5557
5621
  type: "enum",
5558
5622
  enum: DisputeStatusEnum,
@@ -5560,7 +5624,7 @@ __decorateClass([
5560
5624
  })
5561
5625
  ], Dispute.prototype, "status", 2);
5562
5626
  __decorateClass([
5563
- Column57({
5627
+ Column58({
5564
5628
  name: "initiator_type",
5565
5629
  type: "enum",
5566
5630
  enum: InitiatorTypeEnum,
@@ -5569,33 +5633,33 @@ __decorateClass([
5569
5633
  })
5570
5634
  ], Dispute.prototype, "initiatorType", 2);
5571
5635
  __decorateClass([
5572
- Column57({ name: "initiator_id", type: "integer" }),
5573
- Index50()
5636
+ Column58({ name: "initiator_id", type: "integer" }),
5637
+ Index51()
5574
5638
  ], Dispute.prototype, "initiatorId", 2);
5575
5639
  __decorateClass([
5576
- ManyToOne52(() => User, (user) => user.initiatedDisputes),
5577
- JoinColumn52({ name: "initiator_id" })
5640
+ ManyToOne53(() => User, (user) => user.initiatedDisputes),
5641
+ JoinColumn53({ name: "initiator_id" })
5578
5642
  ], Dispute.prototype, "initiator", 2);
5579
5643
  __decorateClass([
5580
- Column57({ name: "respondent_id", type: "integer", nullable: true }),
5581
- Index50()
5644
+ Column58({ name: "respondent_id", type: "integer", nullable: true }),
5645
+ Index51()
5582
5646
  ], Dispute.prototype, "respondentId", 2);
5583
5647
  __decorateClass([
5584
- ManyToOne52(() => User, (user) => user.respondentDisputes, { nullable: true }),
5585
- JoinColumn52({ name: "respondent_id" })
5648
+ ManyToOne53(() => User, (user) => user.respondentDisputes, { nullable: true }),
5649
+ JoinColumn53({ name: "respondent_id" })
5586
5650
  ], Dispute.prototype, "respondent", 2);
5587
5651
  __decorateClass([
5588
- Column57({ name: "attachments", type: "jsonb", nullable: true })
5652
+ Column58({ name: "attachments", type: "jsonb", nullable: true })
5589
5653
  ], Dispute.prototype, "attachments", 2);
5590
5654
  __decorateClass([
5591
- Column57({ name: "dynamic_fields", type: "jsonb", nullable: true })
5655
+ Column58({ name: "dynamic_fields", type: "jsonb", nullable: true })
5592
5656
  ], Dispute.prototype, "dynamicFields", 2);
5593
5657
  Dispute = __decorateClass([
5594
- Entity56("disputes")
5658
+ Entity57("disputes")
5595
5659
  ], Dispute);
5596
5660
 
5597
5661
  // src/entities/stripe-transaction.entity.ts
5598
- import { Entity as Entity57, Column as Column58, Index as Index51, ManyToOne as ManyToOne53, JoinColumn as JoinColumn53 } from "typeorm";
5662
+ import { Entity as Entity58, Column as Column59, Index as Index52, ManyToOne as ManyToOne54, JoinColumn as JoinColumn54 } from "typeorm";
5599
5663
  var StripeTransactionTypeEnum = /* @__PURE__ */ ((StripeTransactionTypeEnum2) => {
5600
5664
  StripeTransactionTypeEnum2["ADD_FUNDS"] = "ADD_FUNDS";
5601
5665
  StripeTransactionTypeEnum2["TRANSFER"] = "TRANSFER";
@@ -5617,97 +5681,97 @@ var StripeTransaction = class extends BaseEntity {
5617
5681
  // Full Stripe session response
5618
5682
  };
5619
5683
  __decorateClass([
5620
- Column58({ name: "user_id", type: "integer", nullable: true }),
5621
- Index51()
5684
+ Column59({ name: "user_id", type: "integer", nullable: true }),
5685
+ Index52()
5622
5686
  ], StripeTransaction.prototype, "userId", 2);
5623
5687
  __decorateClass([
5624
- ManyToOne53(() => User, (user) => user.stripeTransactions),
5625
- JoinColumn53({ name: "user_id" })
5688
+ ManyToOne54(() => User, (user) => user.stripeTransactions),
5689
+ JoinColumn54({ name: "user_id" })
5626
5690
  ], StripeTransaction.prototype, "user", 2);
5627
5691
  __decorateClass([
5628
- Column58({ name: "stripe_session_id", type: "varchar", nullable: true })
5692
+ Column59({ name: "stripe_session_id", type: "varchar", nullable: true })
5629
5693
  ], StripeTransaction.prototype, "stripeSessionId", 2);
5630
5694
  __decorateClass([
5631
- Column58({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
5695
+ Column59({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
5632
5696
  ], StripeTransaction.prototype, "stripePaymentIntentId", 2);
5633
5697
  __decorateClass([
5634
- Column58({ name: "stripe_charge_id", type: "varchar", nullable: true })
5698
+ Column59({ name: "stripe_charge_id", type: "varchar", nullable: true })
5635
5699
  ], StripeTransaction.prototype, "stripeChargeId", 2);
5636
5700
  __decorateClass([
5637
- Column58({ name: "stripe_receipt_url", type: "varchar", nullable: true })
5701
+ Column59({ name: "stripe_receipt_url", type: "varchar", nullable: true })
5638
5702
  ], StripeTransaction.prototype, "stripeReceiptUrl", 2);
5639
5703
  __decorateClass([
5640
- Column58({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
5704
+ Column59({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
5641
5705
  ], StripeTransaction.prototype, "stripeBalanceTransactionId", 2);
5642
5706
  __decorateClass([
5643
- Column58({ name: "stripe_payment_method", type: "varchar", nullable: true })
5707
+ Column59({ name: "stripe_payment_method", type: "varchar", nullable: true })
5644
5708
  ], StripeTransaction.prototype, "stripePaymentMethod", 2);
5645
5709
  __decorateClass([
5646
- Column58({ name: "stripe_payment_status", type: "varchar", nullable: true })
5710
+ Column59({ name: "stripe_payment_status", type: "varchar", nullable: true })
5647
5711
  ], StripeTransaction.prototype, "stripePaymentStatus", 2);
5648
5712
  __decorateClass([
5649
- Column58({ name: "type", type: "enum", enum: StripeTransactionTypeEnum })
5713
+ Column59({ name: "type", type: "enum", enum: StripeTransactionTypeEnum })
5650
5714
  ], StripeTransaction.prototype, "type", 2);
5651
5715
  __decorateClass([
5652
- Column58({ name: "currency", type: "varchar", nullable: true })
5716
+ Column59({ name: "currency", type: "varchar", nullable: true })
5653
5717
  ], StripeTransaction.prototype, "currency", 2);
5654
5718
  __decorateClass([
5655
- Column58({ name: "desired_deposit_cents", type: "bigint", nullable: true, comment: "Amount user wants in their wallet. Example: 10000 cents = $100.00. This is what gets credited to wallet" })
5719
+ Column59({ name: "desired_deposit_cents", type: "bigint", nullable: true, comment: "Amount user wants in their wallet. Example: 10000 cents = $100.00. This is what gets credited to wallet" })
5656
5720
  ], StripeTransaction.prototype, "desiredDepositCents", 2);
5657
5721
  __decorateClass([
5658
- Column58({ name: "platform_fee_cents", type: "bigint", default: 0, comment: "Your platform commission Example: 500 cents = $5.00 (5% of $100)" })
5722
+ Column59({ name: "platform_fee_cents", type: "bigint", default: 0, comment: "Your platform commission Example: 500 cents = $5.00 (5% of $100)" })
5659
5723
  ], StripeTransaction.prototype, "platformFeeCents", 2);
5660
5724
  __decorateClass([
5661
- Column58({ name: "tax_cents", type: "bigint", nullable: true, comment: "Sales tax collected by Stripe" })
5725
+ Column59({ name: "tax_cents", type: "bigint", nullable: true, comment: "Sales tax collected by Stripe" })
5662
5726
  ], StripeTransaction.prototype, "taxCents", 2);
5663
5727
  __decorateClass([
5664
- Column58({ name: "estimated_stripe_fee_cents", type: "bigint", nullable: true, comment: "Your calculated estimate of Stripe fee, Example: 371 cents = $3.71" })
5728
+ Column59({ name: "estimated_stripe_fee_cents", type: "bigint", nullable: true, comment: "Your calculated estimate of Stripe fee, Example: 371 cents = $3.71" })
5665
5729
  ], StripeTransaction.prototype, "estimatedStripeFee", 2);
5666
5730
  __decorateClass([
5667
- Column58({ name: "estimated_total_cents", type: "bigint", nullable: true, comment: "Your calculated total to charge, Example: 11386 cents = $113.86, desired_deposit_cents + platform_fee_cents + estimated_stripe_fee" })
5731
+ Column59({ name: "estimated_total_cents", type: "bigint", nullable: true, comment: "Your calculated total to charge, Example: 11386 cents = $113.86, desired_deposit_cents + platform_fee_cents + estimated_stripe_fee" })
5668
5732
  ], StripeTransaction.prototype, "estimatedTotalCents", 2);
5669
5733
  __decorateClass([
5670
- Column58({ name: "actual_stripe_fee_cents", type: "bigint", nullable: true, comment: "ACTUAL Stripe fee charged, Example: 371 cents = $3.71" })
5734
+ Column59({ name: "actual_stripe_fee_cents", type: "bigint", nullable: true, comment: "ACTUAL Stripe fee charged, Example: 371 cents = $3.71" })
5671
5735
  ], StripeTransaction.prototype, "actualStripeFee", 2);
5672
5736
  __decorateClass([
5673
- Column58({ name: "actual_total_paid_cents", type: "bigint", nullable: true, comment: "What customer ACTUALLY paid, Example: 11757 cents = $117.57, May differ from estimate" })
5737
+ Column59({ name: "actual_total_paid_cents", type: "bigint", nullable: true, comment: "What customer ACTUALLY paid, Example: 11757 cents = $117.57, May differ from estimate" })
5674
5738
  ], StripeTransaction.prototype, "actualTotalPaidCents", 2);
5675
5739
  __decorateClass([
5676
- Column58({ name: "net_received_cents", type: "bigint", nullable: true, comment: "What YOU receive after Stripe fee Example: 11386 cents = $113.86. This is your actual revenue + user deposit" })
5740
+ Column59({ name: "net_received_cents", type: "bigint", nullable: true, comment: "What YOU receive after Stripe fee Example: 11386 cents = $113.86. This is your actual revenue + user deposit" })
5677
5741
  ], StripeTransaction.prototype, "netReceivedCents", 2);
5678
5742
  __decorateClass([
5679
- Column58({ name: "description", type: "text", nullable: true })
5743
+ Column59({ name: "description", type: "text", nullable: true })
5680
5744
  ], StripeTransaction.prototype, "description", 2);
5681
5745
  __decorateClass([
5682
- Column58({ name: "status", type: "enum", enum: StripeTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5746
+ Column59({ name: "status", type: "enum", enum: StripeTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5683
5747
  ], StripeTransaction.prototype, "status", 2);
5684
5748
  __decorateClass([
5685
- Column58({ name: "checkout_session_completed_at", type: "timestamptz", nullable: true })
5749
+ Column59({ name: "checkout_session_completed_at", type: "timestamptz", nullable: true })
5686
5750
  ], StripeTransaction.prototype, "checkoutSessionCompletedAt", 2);
5687
5751
  __decorateClass([
5688
- Column58({ name: "completed_at", type: "timestamptz", nullable: true })
5752
+ Column59({ name: "completed_at", type: "timestamptz", nullable: true })
5689
5753
  ], StripeTransaction.prototype, "completedAt", 2);
5690
5754
  __decorateClass([
5691
- Column58({ name: "billing_details", type: "jsonb", nullable: true })
5755
+ Column59({ name: "billing_details", type: "jsonb", nullable: true })
5692
5756
  ], StripeTransaction.prototype, "billingDetails", 2);
5693
5757
  __decorateClass([
5694
- Column58({ name: "payment_method_details", type: "jsonb", nullable: true })
5758
+ Column59({ name: "payment_method_details", type: "jsonb", nullable: true })
5695
5759
  ], StripeTransaction.prototype, "paymentMethodDetails", 2);
5696
5760
  __decorateClass([
5697
- Column58({ name: "raw_session_payload", type: "jsonb", nullable: true })
5761
+ Column59({ name: "raw_session_payload", type: "jsonb", nullable: true })
5698
5762
  ], StripeTransaction.prototype, "rawSessionPayload", 2);
5699
5763
  __decorateClass([
5700
- Column58({ name: "raw_session_response", type: "jsonb", nullable: true })
5764
+ Column59({ name: "raw_session_response", type: "jsonb", nullable: true })
5701
5765
  ], StripeTransaction.prototype, "rawSessionResponse", 2);
5702
5766
  StripeTransaction = __decorateClass([
5703
- Entity57("stripe_transactions")
5767
+ Entity58("stripe_transactions")
5704
5768
  ], StripeTransaction);
5705
5769
 
5706
5770
  // src/entities/wallet.entity.ts
5707
- import { Entity as Entity59, Column as Column60, Index as Index53, JoinColumn as JoinColumn55, OneToOne as OneToOne10, OneToMany as OneToMany20 } from "typeorm";
5771
+ import { Entity as Entity60, Column as Column61, Index as Index54, JoinColumn as JoinColumn56, OneToOne as OneToOne11, OneToMany as OneToMany20 } from "typeorm";
5708
5772
 
5709
5773
  // src/entities/wallet-transaction.entity.ts
5710
- import { Entity as Entity58, Column as Column59, Index as Index52, ManyToOne as ManyToOne54, JoinColumn as JoinColumn54 } from "typeorm";
5774
+ import { Entity as Entity59, Column as Column60, Index as Index53, ManyToOne as ManyToOne55, JoinColumn as JoinColumn55 } from "typeorm";
5711
5775
  var WalletTransactionTypeEnum = /* @__PURE__ */ ((WalletTransactionTypeEnum2) => {
5712
5776
  WalletTransactionTypeEnum2["CR"] = "CR";
5713
5777
  WalletTransactionTypeEnum2["DR"] = "DR";
@@ -5724,46 +5788,46 @@ var WalletTransactionStatusEnum = /* @__PURE__ */ ((WalletTransactionStatusEnum2
5724
5788
  var WalletTransaction = class extends BaseEntity {
5725
5789
  };
5726
5790
  __decorateClass([
5727
- Column59({ name: "wallet_id", type: "integer", nullable: true }),
5728
- Index52()
5791
+ Column60({ name: "wallet_id", type: "integer", nullable: true }),
5792
+ Index53()
5729
5793
  ], WalletTransaction.prototype, "walletId", 2);
5730
5794
  __decorateClass([
5731
- ManyToOne54(() => Wallet, (wallet) => wallet.walletTransactions),
5732
- JoinColumn54({ name: "wallet_id" })
5795
+ ManyToOne55(() => Wallet, (wallet) => wallet.walletTransactions),
5796
+ JoinColumn55({ name: "wallet_id" })
5733
5797
  ], WalletTransaction.prototype, "wallet", 2);
5734
5798
  __decorateClass([
5735
- Column59({ name: "amount", type: "bigint", nullable: true })
5799
+ Column60({ name: "amount", type: "bigint", nullable: true })
5736
5800
  ], WalletTransaction.prototype, "amount", 2);
5737
5801
  __decorateClass([
5738
- Column59({ name: "balance_before", type: "bigint", nullable: true })
5802
+ Column60({ name: "balance_before", type: "bigint", nullable: true })
5739
5803
  ], WalletTransaction.prototype, "balanceBefore", 2);
5740
5804
  __decorateClass([
5741
- Column59({ name: "balance_after", type: "bigint", nullable: true })
5805
+ Column60({ name: "balance_after", type: "bigint", nullable: true })
5742
5806
  ], WalletTransaction.prototype, "balanceAfter", 2);
5743
5807
  __decorateClass([
5744
- Column59({ name: "type", type: "enum", enum: WalletTransactionTypeEnum })
5808
+ Column60({ name: "type", type: "enum", enum: WalletTransactionTypeEnum })
5745
5809
  ], WalletTransaction.prototype, "type", 2);
5746
5810
  __decorateClass([
5747
- Column59({ name: "status", type: "enum", enum: WalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5811
+ Column60({ name: "status", type: "enum", enum: WalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5748
5812
  ], WalletTransaction.prototype, "status", 2);
5749
5813
  __decorateClass([
5750
- Column59({ name: "description", type: "text", nullable: true })
5814
+ Column60({ name: "description", type: "text", nullable: true })
5751
5815
  ], WalletTransaction.prototype, "description", 2);
5752
5816
  __decorateClass([
5753
- Column59({ name: "completed_at", type: "timestamptz", nullable: true })
5817
+ Column60({ name: "completed_at", type: "timestamptz", nullable: true })
5754
5818
  ], WalletTransaction.prototype, "completedAt", 2);
5755
5819
  __decorateClass([
5756
- Column59({ name: "transaction_for", type: "varchar", nullable: true })
5820
+ Column60({ name: "transaction_for", type: "varchar", nullable: true })
5757
5821
  ], WalletTransaction.prototype, "transactionFor", 2);
5758
5822
  __decorateClass([
5759
- Column59({ name: "meta_data", type: "varchar", nullable: true })
5823
+ Column60({ name: "meta_data", type: "varchar", nullable: true })
5760
5824
  ], WalletTransaction.prototype, "metaData", 2);
5761
5825
  __decorateClass([
5762
- Column59({ name: "stripe_transaction_id", type: "integer", nullable: true }),
5763
- Index52()
5826
+ Column60({ name: "stripe_transaction_id", type: "integer", nullable: true }),
5827
+ Index53()
5764
5828
  ], WalletTransaction.prototype, "stripeTransactionId", 2);
5765
5829
  WalletTransaction = __decorateClass([
5766
- Entity58("wallet_transactions")
5830
+ Entity59("wallet_transactions")
5767
5831
  ], WalletTransaction);
5768
5832
 
5769
5833
  // src/entities/wallet.entity.ts
@@ -5781,39 +5845,39 @@ var WalletOnboardingStatusEnum = /* @__PURE__ */ ((WalletOnboardingStatusEnum2)
5781
5845
  var Wallet = class extends BaseEntity {
5782
5846
  };
5783
5847
  __decorateClass([
5784
- Column60({ name: "user_id", type: "integer", nullable: true }),
5785
- Index53()
5848
+ Column61({ name: "user_id", type: "integer", nullable: true }),
5849
+ Index54()
5786
5850
  ], Wallet.prototype, "userId", 2);
5787
5851
  __decorateClass([
5788
- OneToOne10(() => User, (user) => user.wallet),
5789
- JoinColumn55({ name: "user_id" })
5852
+ OneToOne11(() => User, (user) => user.wallet),
5853
+ JoinColumn56({ name: "user_id" })
5790
5854
  ], Wallet.prototype, "user", 2);
5791
5855
  __decorateClass([
5792
- Column60({ name: "account_type", type: "enum", enum: WalletAccountTypeEnum, nullable: true })
5856
+ Column61({ name: "account_type", type: "enum", enum: WalletAccountTypeEnum, nullable: true })
5793
5857
  ], Wallet.prototype, "accountType", 2);
5794
5858
  __decorateClass([
5795
- Column60({ name: "stripe_account_id", type: "varchar", nullable: true })
5859
+ Column61({ name: "stripe_account_id", type: "varchar", nullable: true })
5796
5860
  ], Wallet.prototype, "stripeAccountId", 2);
5797
5861
  __decorateClass([
5798
- Column60({ name: "stripe_customer_id", type: "varchar", nullable: true })
5862
+ Column61({ name: "stripe_customer_id", type: "varchar", nullable: true })
5799
5863
  ], Wallet.prototype, "stripeCustomerId", 2);
5800
5864
  __decorateClass([
5801
- Column60({ name: "wallet_balance", type: "varchar", default: "0", comment: "This column is just used to show balance, It will not be used in any computation" })
5865
+ Column61({ name: "wallet_balance", type: "varchar", default: "0", comment: "This column is just used to show balance, It will not be used in any computation" })
5802
5866
  ], Wallet.prototype, "walletBalance", 2);
5803
5867
  __decorateClass([
5804
- Column60({ name: "wallet_balance_cents", type: "bigint", default: 0, comment: "This column is used to store wallet balance in cents Example: 371 cents = $3.71, All computation will be handled by this column" })
5868
+ Column61({ name: "wallet_balance_cents", type: "bigint", default: 0, comment: "This column is used to store wallet balance in cents Example: 371 cents = $3.71, All computation will be handled by this column" })
5805
5869
  ], Wallet.prototype, "walletBalanceCents", 2);
5806
5870
  __decorateClass([
5807
- Column60({ name: "onboarding_status", type: "enum", enum: WalletOnboardingStatusEnum, nullable: true })
5871
+ Column61({ name: "onboarding_status", type: "enum", enum: WalletOnboardingStatusEnum, nullable: true })
5808
5872
  ], Wallet.prototype, "onboardingStatus", 2);
5809
5873
  __decorateClass([
5810
- Column60({ name: "stripe_metadata", type: "jsonb", nullable: true })
5874
+ Column61({ name: "stripe_metadata", type: "jsonb", nullable: true })
5811
5875
  ], Wallet.prototype, "stripeMetadata", 2);
5812
5876
  __decorateClass([
5813
5877
  OneToMany20(() => WalletTransaction, (walletTransaction) => walletTransaction.wallet)
5814
5878
  ], Wallet.prototype, "walletTransactions", 2);
5815
5879
  Wallet = __decorateClass([
5816
- Entity59("wallets")
5880
+ Entity60("wallets")
5817
5881
  ], Wallet);
5818
5882
 
5819
5883
  // src/entities/user.entity.ts
@@ -5841,51 +5905,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
5841
5905
  var User = class extends BaseEntity {
5842
5906
  };
5843
5907
  __decorateClass([
5844
- Column61({ name: "unique_id", type: "varchar", unique: true })
5908
+ Column62({ name: "unique_id", type: "varchar", unique: true })
5845
5909
  ], User.prototype, "uniqueId", 2);
5846
5910
  __decorateClass([
5847
- Column61({ name: "parent_id", type: "integer", nullable: true }),
5848
- Index54()
5911
+ Column62({ name: "parent_id", type: "integer", nullable: true }),
5912
+ Index55()
5849
5913
  ], User.prototype, "parentId", 2);
5850
5914
  __decorateClass([
5851
- ManyToOne55(() => User, (user) => user.children, { nullable: true }),
5852
- JoinColumn56({ name: "parent_id" })
5915
+ ManyToOne56(() => User, (user) => user.children, { nullable: true }),
5916
+ JoinColumn57({ name: "parent_id" })
5853
5917
  ], User.prototype, "parent", 2);
5854
5918
  __decorateClass([
5855
5919
  OneToMany21(() => User, (user) => user.parent)
5856
5920
  ], User.prototype, "children", 2);
5857
5921
  __decorateClass([
5858
- Column61({ name: "username", type: "varchar", unique: true, nullable: true })
5922
+ Column62({ name: "username", type: "varchar", unique: true, nullable: true })
5859
5923
  ], User.prototype, "username", 2);
5860
5924
  __decorateClass([
5861
- Column61({ name: "first_name", type: "varchar", length: 100, nullable: true })
5925
+ Column62({ name: "first_name", type: "varchar", length: 100, nullable: true })
5862
5926
  ], User.prototype, "firstName", 2);
5863
5927
  __decorateClass([
5864
- Column61({ name: "last_name", type: "varchar", length: 100, nullable: true })
5928
+ Column62({ name: "last_name", type: "varchar", length: 100, nullable: true })
5865
5929
  ], User.prototype, "lastName", 2);
5866
5930
  __decorateClass([
5867
- Column61({ name: "date_of_birth", type: "date", nullable: true })
5931
+ Column62({ name: "date_of_birth", type: "date", nullable: true })
5868
5932
  ], User.prototype, "dateOfBirth", 2);
5869
5933
  __decorateClass([
5870
- Column61({ name: "gender", type: "varchar", length: 10, nullable: true })
5934
+ Column62({ name: "gender", type: "varchar", length: 10, nullable: true })
5871
5935
  ], User.prototype, "gender", 2);
5872
5936
  __decorateClass([
5873
- Column61({ name: "profile_picture_url", type: "text", nullable: true })
5937
+ Column62({ name: "profile_picture_url", type: "text", nullable: true })
5874
5938
  ], User.prototype, "profilePictureUrl", 2);
5875
5939
  __decorateClass([
5876
- Column61({ name: "email", type: "varchar", unique: true })
5940
+ Column62({ name: "email", type: "varchar", unique: true })
5877
5941
  ], User.prototype, "email", 2);
5878
5942
  __decorateClass([
5879
- Column61({ name: "mobile_code", type: "varchar", nullable: true })
5943
+ Column62({ name: "mobile_code", type: "varchar", nullable: true })
5880
5944
  ], User.prototype, "mobileCode", 2);
5881
5945
  __decorateClass([
5882
- Column61({ name: "mobile", type: "varchar", nullable: true })
5946
+ Column62({ name: "mobile", type: "varchar", nullable: true })
5883
5947
  ], User.prototype, "mobile", 2);
5884
5948
  __decorateClass([
5885
- Column61({ name: "password", type: "varchar", nullable: true })
5949
+ Column62({ name: "password", type: "varchar", nullable: true })
5886
5950
  ], User.prototype, "password", 2);
5887
5951
  __decorateClass([
5888
- Column61({
5952
+ Column62({
5889
5953
  name: "account_type",
5890
5954
  type: "enum",
5891
5955
  enum: AccountType,
@@ -5893,7 +5957,7 @@ __decorateClass([
5893
5957
  })
5894
5958
  ], User.prototype, "accountType", 2);
5895
5959
  __decorateClass([
5896
- Column61({
5960
+ Column62({
5897
5961
  name: "account_status",
5898
5962
  type: "enum",
5899
5963
  enum: AccountStatus,
@@ -5901,42 +5965,42 @@ __decorateClass([
5901
5965
  })
5902
5966
  ], User.prototype, "accountStatus", 2);
5903
5967
  __decorateClass([
5904
- Column61({ name: "is_email_verified", type: "boolean", default: false })
5968
+ Column62({ name: "is_email_verified", type: "boolean", default: false })
5905
5969
  ], User.prototype, "isEmailVerified", 2);
5906
5970
  __decorateClass([
5907
- Column61({ name: "is_mobile_verified", type: "boolean", default: false })
5971
+ Column62({ name: "is_mobile_verified", type: "boolean", default: false })
5908
5972
  ], User.prototype, "isMobileVerified", 2);
5909
5973
  __decorateClass([
5910
- Column61({ name: "is_social", type: "boolean", default: false })
5974
+ Column62({ name: "is_social", type: "boolean", default: false })
5911
5975
  ], User.prototype, "isSocial", 2);
5912
5976
  __decorateClass([
5913
- Column61({
5977
+ Column62({
5914
5978
  name: "last_login_at",
5915
5979
  type: "timestamp with time zone",
5916
5980
  nullable: true
5917
5981
  })
5918
5982
  ], User.prototype, "lastLoginAt", 2);
5919
5983
  __decorateClass([
5920
- Column61({ name: "last_login_ip", type: "varchar", nullable: true })
5984
+ Column62({ name: "last_login_ip", type: "varchar", nullable: true })
5921
5985
  ], User.prototype, "lastLoginIp", 2);
5922
5986
  __decorateClass([
5923
- Column61({ name: "reset_token", type: "varchar", nullable: true })
5987
+ Column62({ name: "reset_token", type: "varchar", nullable: true })
5924
5988
  ], User.prototype, "resetToken", 2);
5925
5989
  __decorateClass([
5926
- Column61({
5990
+ Column62({
5927
5991
  name: "reset_token_expire_at",
5928
5992
  type: "timestamp with time zone",
5929
5993
  nullable: true
5930
5994
  })
5931
5995
  ], User.prototype, "resetTokenExpireAt", 2);
5932
5996
  __decorateClass([
5933
- Column61({ name: "set_password_token", type: "varchar", nullable: true })
5997
+ Column62({ name: "set_password_token", type: "varchar", nullable: true })
5934
5998
  ], User.prototype, "setPasswordToken", 2);
5935
5999
  __decorateClass([
5936
6000
  OneToMany21(() => RefreshToken, (token) => token.user)
5937
6001
  ], User.prototype, "refreshTokens", 2);
5938
6002
  __decorateClass([
5939
- Column61({
6003
+ Column62({
5940
6004
  name: "provider",
5941
6005
  type: "enum",
5942
6006
  enum: Provider,
@@ -5945,19 +6009,19 @@ __decorateClass([
5945
6009
  })
5946
6010
  ], User.prototype, "provider", 2);
5947
6011
  __decorateClass([
5948
- Column61({ name: "provider_token", type: "varchar", nullable: true })
6012
+ Column62({ name: "provider_token", type: "varchar", nullable: true })
5949
6013
  ], User.prototype, "providerToken", 2);
5950
6014
  __decorateClass([
5951
- Column61({ name: "linkedin_id", type: "varchar", nullable: true })
6015
+ Column62({ name: "linkedin_id", type: "varchar", nullable: true })
5952
6016
  ], User.prototype, "linkedInId", 2);
5953
6017
  __decorateClass([
5954
- Column61({ name: "google_id", type: "varchar", nullable: true })
6018
+ Column62({ name: "google_id", type: "varchar", nullable: true })
5955
6019
  ], User.prototype, "googleId", 2);
5956
6020
  __decorateClass([
5957
- Column61({ name: "gitlabs_id", type: "varchar", nullable: true })
6021
+ Column62({ name: "gitlabs_id", type: "varchar", nullable: true })
5958
6022
  ], User.prototype, "gitLabsId", 2);
5959
6023
  __decorateClass([
5960
- Column61({ name: "onboarded_by", type: "varchar", nullable: true })
6024
+ Column62({ name: "onboarded_by", type: "varchar", nullable: true })
5961
6025
  ], User.prototype, "onBoardedBy", 2);
5962
6026
  __decorateClass([
5963
6027
  OneToMany21(() => Otp, (otp) => otp.user)
@@ -5966,7 +6030,7 @@ __decorateClass([
5966
6030
  OneToMany21(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
5967
6031
  ], User.prototype, "senseloafLogs", 2);
5968
6032
  __decorateClass([
5969
- OneToOne11(() => CompanyProfile, (companyProfile) => companyProfile.user)
6033
+ OneToOne12(() => CompanyProfile, (companyProfile) => companyProfile.user)
5970
6034
  ], User.prototype, "companyProfile", 2);
5971
6035
  __decorateClass([
5972
6036
  OneToMany21(() => CompanySkill, (companySkill) => companySkill.user)
@@ -5984,13 +6048,13 @@ __decorateClass([
5984
6048
  OneToMany21(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
5985
6049
  ], User.prototype, "clientF2FInterviews", 2);
5986
6050
  __decorateClass([
5987
- OneToOne11(
6051
+ OneToOne12(
5988
6052
  () => FreelancerProfile,
5989
6053
  (freelancerProfile) => freelancerProfile.user
5990
6054
  )
5991
6055
  ], User.prototype, "freelancerProfile", 2);
5992
6056
  __decorateClass([
5993
- OneToOne11(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
6057
+ OneToOne12(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
5994
6058
  ], User.prototype, "freelancerResume", 2);
5995
6059
  __decorateClass([
5996
6060
  OneToMany21(
@@ -6041,7 +6105,7 @@ __decorateClass([
6041
6105
  )
6042
6106
  ], User.prototype, "freelancerFramework", 2);
6043
6107
  __decorateClass([
6044
- OneToOne11(
6108
+ OneToOne12(
6045
6109
  () => FreelancerDeclaration,
6046
6110
  (freelancerDeclaration) => freelancerDeclaration.user
6047
6111
  )
@@ -6091,17 +6155,23 @@ __decorateClass([
6091
6155
  __decorateClass([
6092
6156
  OneToMany21(() => Contract, (contract) => contract.client)
6093
6157
  ], User.prototype, "clientContracts", 2);
6158
+ __decorateClass([
6159
+ OneToMany21(() => Hiring, (hiring) => hiring.client)
6160
+ ], User.prototype, "clientHirings", 2);
6094
6161
  __decorateClass([
6095
6162
  OneToMany21(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
6096
6163
  ], User.prototype, "clientEscrowWallets", 2);
6097
6164
  __decorateClass([
6098
6165
  OneToMany21(() => Contract, (contract) => contract.freelancer)
6099
6166
  ], User.prototype, "freelancerContracts", 2);
6167
+ __decorateClass([
6168
+ OneToMany21(() => Hiring, (hiring) => hiring.freelancer)
6169
+ ], User.prototype, "freelancerHirings", 2);
6100
6170
  __decorateClass([
6101
6171
  OneToMany21(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
6102
6172
  ], User.prototype, "freelancerEscrowWallets", 2);
6103
6173
  __decorateClass([
6104
- OneToOne11(() => Signature, (signature) => signature.user)
6174
+ OneToOne12(() => Signature, (signature) => signature.user)
6105
6175
  ], User.prototype, "signatures", 2);
6106
6176
  __decorateClass([
6107
6177
  OneToMany21(() => Timesheet, (timesheet) => timesheet.client)
@@ -6134,7 +6204,7 @@ __decorateClass([
6134
6204
  OneToMany21(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
6135
6205
  ], User.prototype, "respondentDisputes", 2);
6136
6206
  __decorateClass([
6137
- OneToOne11(() => Wallet, (wallet) => wallet.user)
6207
+ OneToOne12(() => Wallet, (wallet) => wallet.user)
6138
6208
  ], User.prototype, "wallet", 2);
6139
6209
  __decorateClass([
6140
6210
  OneToMany21(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
@@ -6146,7 +6216,7 @@ __decorateClass([
6146
6216
  OneToMany21(() => Dispute, (dispute) => dispute.freelancer)
6147
6217
  ], User.prototype, "freelancerDisputes", 2);
6148
6218
  User = __decorateClass([
6149
- Entity60("users")
6219
+ Entity61("users")
6150
6220
  ], User);
6151
6221
 
6152
6222
  // src/entities/rating.entity.ts
@@ -6158,36 +6228,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
6158
6228
  var Rating = class extends BaseEntity {
6159
6229
  };
6160
6230
  __decorateClass([
6161
- Column62({ name: "reviewer_id", type: "integer" }),
6162
- Index55()
6231
+ Column63({ name: "reviewer_id", type: "integer" }),
6232
+ Index56()
6163
6233
  ], Rating.prototype, "reviewer_id", 2);
6164
6234
  __decorateClass([
6165
- ManyToOne56(() => User, { onDelete: "CASCADE" }),
6166
- JoinColumn57({ name: "reviewer_id" })
6235
+ ManyToOne57(() => User, { onDelete: "CASCADE" }),
6236
+ JoinColumn58({ name: "reviewer_id" })
6167
6237
  ], Rating.prototype, "reviewer", 2);
6168
6238
  __decorateClass([
6169
- Column62({ name: "reviewee_id", type: "integer" }),
6170
- Index55()
6239
+ Column63({ name: "reviewee_id", type: "integer" }),
6240
+ Index56()
6171
6241
  ], Rating.prototype, "reviewee_id", 2);
6172
6242
  __decorateClass([
6173
- ManyToOne56(() => User, { onDelete: "CASCADE" }),
6174
- JoinColumn57({ name: "reviewee_id" })
6243
+ ManyToOne57(() => User, { onDelete: "CASCADE" }),
6244
+ JoinColumn58({ name: "reviewee_id" })
6175
6245
  ], Rating.prototype, "reviewee", 2);
6176
6246
  __decorateClass([
6177
- Column62({
6247
+ Column63({
6178
6248
  type: "enum",
6179
6249
  enum: RatingTypeEnum,
6180
6250
  nullable: true
6181
6251
  })
6182
6252
  ], Rating.prototype, "ratingType", 2);
6183
6253
  __decorateClass([
6184
- Column62({ type: "integer", nullable: true })
6254
+ Column63({ type: "integer", nullable: true })
6185
6255
  ], Rating.prototype, "rating", 2);
6186
6256
  __decorateClass([
6187
- Column62({ type: "text", nullable: true })
6257
+ Column63({ type: "text", nullable: true })
6188
6258
  ], Rating.prototype, "review", 2);
6189
6259
  Rating = __decorateClass([
6190
- Entity61("ratings")
6260
+ Entity62("ratings")
6191
6261
  ], Rating);
6192
6262
 
6193
6263
  // src/modules/rating/dto/add.rating.dto.ts
@@ -7033,6 +7103,8 @@ var ADMIN_JOB_PATTERN = {
7033
7103
  adminFetchJobById: "admin.fetch.job.by.id",
7034
7104
  adminCreateJob: "admin.create.job",
7035
7105
  adminUpdateJob: "admin.update.job",
7106
+ adminCreateJobV2: "admin.create.job.v2",
7107
+ adminUpdateJobV2: "admin.update.job.v2",
7036
7108
  adminDeleteJob: "admin.delete.job",
7037
7109
  adminCountJob: "admin.count.job",
7038
7110
  adminFetchGraphCount: "admin.fetch.graph.count"
@@ -7254,6 +7326,208 @@ __decorateClass([
7254
7326
  IsInt8({ message: "Client ID must be a valid integer." })
7255
7327
  ], AdminUpdateJobInformationDto.prototype, "clientId", 2);
7256
7328
 
7329
+ // src/modules/job-admin/dto/admin-job-basic-information-v2.dto.ts
7330
+ import {
7331
+ IsString as IsString36,
7332
+ IsNotEmpty as IsNotEmpty55,
7333
+ IsArray as IsArray14,
7334
+ ArrayNotEmpty as ArrayNotEmpty9,
7335
+ IsNumber as IsNumber9,
7336
+ IsOptional as IsOptional36,
7337
+ IsEnum as IsEnum24,
7338
+ Min as Min8,
7339
+ ValidateIf as ValidateIf9,
7340
+ MaxLength as MaxLength20,
7341
+ Max as Max4,
7342
+ ValidateNested as ValidateNested6,
7343
+ IsInt as IsInt9
7344
+ } from "class-validator";
7345
+ import { Type as Type12 } from "class-transformer";
7346
+ var JobLocationAdminEnumDto = /* @__PURE__ */ ((JobLocationAdminEnumDto2) => {
7347
+ JobLocationAdminEnumDto2["ONSITE"] = "ONSITE";
7348
+ JobLocationAdminEnumDto2["REMOTE"] = "REMOTE";
7349
+ JobLocationAdminEnumDto2["HYBRID"] = "HYBRID";
7350
+ return JobLocationAdminEnumDto2;
7351
+ })(JobLocationAdminEnumDto || {});
7352
+ var EmploymentTypeAdminEnumDto = /* @__PURE__ */ ((EmploymentTypeAdminEnumDto2) => {
7353
+ EmploymentTypeAdminEnumDto2["FULLTIME"] = "FULLTIME";
7354
+ EmploymentTypeAdminEnumDto2["PARTTIME"] = "PARTTIME";
7355
+ EmploymentTypeAdminEnumDto2["BOTH"] = "BOTH";
7356
+ EmploymentTypeAdminEnumDto2["HOURLY"] = "HOURLY";
7357
+ EmploymentTypeAdminEnumDto2["FREELANCE"] = "FREELANCE";
7358
+ EmploymentTypeAdminEnumDto2["FTE"] = "FTE";
7359
+ return EmploymentTypeAdminEnumDto2;
7360
+ })(EmploymentTypeAdminEnumDto || {});
7361
+ var typeOfExperienceAdminEnumDto = /* @__PURE__ */ ((typeOfExperienceAdminEnumDto2) => {
7362
+ typeOfExperienceAdminEnumDto2["SINGLE"] = "SINGLE";
7363
+ typeOfExperienceAdminEnumDto2["RANGE"] = "RANGE";
7364
+ return typeOfExperienceAdminEnumDto2;
7365
+ })(typeOfExperienceAdminEnumDto || {});
7366
+ var JobLocationAdminDto = class {
7367
+ };
7368
+ __decorateClass([
7369
+ IsOptional36(),
7370
+ IsNumber9()
7371
+ ], JobLocationAdminDto.prototype, "countryId", 2);
7372
+ __decorateClass([
7373
+ IsOptional36(),
7374
+ IsNumber9()
7375
+ ], JobLocationAdminDto.prototype, "stateId", 2);
7376
+ __decorateClass([
7377
+ IsOptional36(),
7378
+ IsNumber9()
7379
+ ], JobLocationAdminDto.prototype, "cityId", 2);
7380
+ var AdminJobBasicInformationV2Dto = class {
7381
+ constructor() {
7382
+ this.isDraft = false;
7383
+ }
7384
+ };
7385
+ __decorateClass([
7386
+ IsInt9({ message: "Client ID must be a valid integer." })
7387
+ ], AdminJobBasicInformationV2Dto.prototype, "clientId", 2);
7388
+ __decorateClass([
7389
+ IsOptional36(),
7390
+ Type12(() => Boolean)
7391
+ ], AdminJobBasicInformationV2Dto.prototype, "isDraft", 2);
7392
+ __decorateClass([
7393
+ IsNotEmpty55({ message: "Please enter job role" }),
7394
+ IsString36({ message: "Job role must be a string" })
7395
+ ], AdminJobBasicInformationV2Dto.prototype, "jobRole", 2);
7396
+ __decorateClass([
7397
+ IsOptional36()
7398
+ ], AdminJobBasicInformationV2Dto.prototype, "jobRoleCanonicalName", 2);
7399
+ __decorateClass([
7400
+ IsOptional36(),
7401
+ IsString36({ message: "Project name must be a string" })
7402
+ ], AdminJobBasicInformationV2Dto.prototype, "projectName", 2);
7403
+ __decorateClass([
7404
+ IsOptional36(),
7405
+ IsString36({ message: "Note must be a string" })
7406
+ ], AdminJobBasicInformationV2Dto.prototype, "note", 2);
7407
+ __decorateClass([
7408
+ ValidateIf9((o) => !o.isDraft),
7409
+ IsOptional36(),
7410
+ IsArray14({ message: "Skills must be an array" }),
7411
+ ArrayNotEmpty9({ message: "Please select at least one skill" }),
7412
+ IsString36({ each: true, message: "Each skill must be a string" }),
7413
+ Type12(() => String)
7414
+ ], AdminJobBasicInformationV2Dto.prototype, "skills", 2);
7415
+ __decorateClass([
7416
+ ValidateIf9((o) => !o.isDraft),
7417
+ IsArray14({ message: "Good to have skills must be an array" }),
7418
+ IsString36({ each: true, message: "Each skill must be a string" }),
7419
+ IsOptional36(),
7420
+ Type12(() => String)
7421
+ ], AdminJobBasicInformationV2Dto.prototype, "goodToHaveSkills", 2);
7422
+ __decorateClass([
7423
+ ValidateIf9((o) => !o.isDraft),
7424
+ IsArray14({ message: "locations must be an array" }),
7425
+ ArrayNotEmpty9({ message: "Please select at least one location" }),
7426
+ ValidateNested6({ each: true }),
7427
+ Type12(() => JobLocationAdminDto),
7428
+ IsOptional36()
7429
+ ], AdminJobBasicInformationV2Dto.prototype, "locations", 2);
7430
+ __decorateClass([
7431
+ ValidateIf9((o) => !o.isDraft),
7432
+ IsNumber9({}, { message: "Openings must be a number" }),
7433
+ Min8(1, { message: "There must be at least 1 opening" }),
7434
+ Type12(() => Number)
7435
+ ], AdminJobBasicInformationV2Dto.prototype, "openings", 2);
7436
+ __decorateClass([
7437
+ ValidateIf9((o) => !o.isDraft),
7438
+ IsEnum24(JobLocationAdminEnumDto, {
7439
+ message: `Location must be one of: ${Object.values(JobLocationAdminEnumDto).join(
7440
+ ", "
7441
+ )}`
7442
+ })
7443
+ ], AdminJobBasicInformationV2Dto.prototype, "location", 2);
7444
+ __decorateClass([
7445
+ ValidateIf9((o) => !o.isDraft),
7446
+ IsEnum24(EmploymentTypeAdminEnumDto, {
7447
+ message: `Type of employment must be one of: ${Object.values(
7448
+ EmploymentTypeAdminEnumDto
7449
+ ).join(", ")}`
7450
+ })
7451
+ ], AdminJobBasicInformationV2Dto.prototype, "typeOfEmployment", 2);
7452
+ __decorateClass([
7453
+ ValidateIf9((o) => !o.isDraft),
7454
+ IsString36({ message: "Currency must be a string" })
7455
+ ], AdminJobBasicInformationV2Dto.prototype, "currency", 2);
7456
+ __decorateClass([
7457
+ ValidateIf9((o) => !o.isDraft),
7458
+ IsNumber9({}, { message: "Expected salary (from) must be a number" }),
7459
+ Min8(0, { message: "Expected salary (from) cannot be negative" }),
7460
+ Type12(() => Number)
7461
+ ], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryFrom", 2);
7462
+ __decorateClass([
7463
+ IsOptional36()
7464
+ ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedSalaryFrom", 2);
7465
+ __decorateClass([
7466
+ ValidateIf9((o) => !o.isDraft),
7467
+ IsNumber9({}, { message: "Expected salary (to) must be a number" }),
7468
+ Min8(0, { message: "Expected salary (to) cannot be negative" }),
7469
+ Type12(() => Number)
7470
+ ], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryTo", 2);
7471
+ __decorateClass([
7472
+ IsOptional36()
7473
+ ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedSalaryTo", 2);
7474
+ __decorateClass([
7475
+ IsOptional36()
7476
+ ], AdminJobBasicInformationV2Dto.prototype, "years", 2);
7477
+ __decorateClass([
7478
+ IsOptional36()
7479
+ ], AdminJobBasicInformationV2Dto.prototype, "months", 2);
7480
+ __decorateClass([
7481
+ IsOptional36()
7482
+ ], AdminJobBasicInformationV2Dto.prototype, "weeks", 2);
7483
+ __decorateClass([
7484
+ IsOptional36()
7485
+ ], AdminJobBasicInformationV2Dto.prototype, "days", 2);
7486
+ __decorateClass([
7487
+ IsOptional36(),
7488
+ IsNumber9({}, { message: "Number of hours must be a number" }),
7489
+ Min8(0, { message: "Number of hours cannot be negative" }),
7490
+ Max4(40, { message: "Number of hours cannot exceed 40" }),
7491
+ Type12(() => Number)
7492
+ ], AdminJobBasicInformationV2Dto.prototype, "numberOfHours", 2);
7493
+ __decorateClass([
7494
+ ValidateIf9((o) => !o.isDraft),
7495
+ IsString36({ message: "Candidate communication skills must be a string" }),
7496
+ IsOptional36()
7497
+ ], AdminJobBasicInformationV2Dto.prototype, "candidateCommunicationSkills", 2);
7498
+ __decorateClass([
7499
+ ValidateIf9((o) => !o.isDraft),
7500
+ IsNotEmpty55({ message: "Please enter the academic qualification" }),
7501
+ IsString36({ message: "Academic qualification must be a string" })
7502
+ ], AdminJobBasicInformationV2Dto.prototype, "academicQualification", 2);
7503
+ __decorateClass([
7504
+ ValidateIf9((o) => !o.isDraft),
7505
+ IsEnum24(typeOfExperienceAdminEnumDto, {
7506
+ message: `Type of experience must be one of: ${Object.values(
7507
+ typeOfExperienceAdminEnumDto
7508
+ ).join(", ")}`
7509
+ })
7510
+ ], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceType", 2);
7511
+ __decorateClass([
7512
+ ValidateIf9((o) => !o.isDraft),
7513
+ IsNotEmpty55({ message: "Please enter the years of experience" }),
7514
+ IsString36({ message: "Years of experience must be a string" })
7515
+ ], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceFrom", 2);
7516
+ __decorateClass([
7517
+ ValidateIf9((o) => !o.isDraft),
7518
+ IsNotEmpty55({ message: "Please enter the years of experience upto" }),
7519
+ IsString36({ message: "Years of experience must be a string" })
7520
+ ], AdminJobBasicInformationV2Dto.prototype, "yearsOfExperienceTo", 2);
7521
+ __decorateClass([
7522
+ IsOptional36(),
7523
+ IsString36({ message: "Business industry must be a string" })
7524
+ ], AdminJobBasicInformationV2Dto.prototype, "businessIndustry", 2);
7525
+ __decorateClass([
7526
+ IsOptional36(),
7527
+ IsString36({ message: "Additional comment must be a string" }),
7528
+ MaxLength20(500, { message: "Additional comment must not exceed 500 characters" })
7529
+ ], AdminJobBasicInformationV2Dto.prototype, "additionalComment", 2);
7530
+
7257
7531
  // src/modules/lead/pattern/pattern.ts
7258
7532
  var LEAD_PATTERN = {
7259
7533
  fetchLead: "fetch.lead",
@@ -7261,7 +7535,7 @@ var LEAD_PATTERN = {
7261
7535
  };
7262
7536
 
7263
7537
  // src/modules/lead/dto/create-lead.dto.ts
7264
- import { IsString as IsString36, IsEmail as IsEmail14, IsOptional as IsOptional36, IsEnum as IsEnum24 } from "class-validator";
7538
+ import { IsString as IsString37, IsEmail as IsEmail14, IsOptional as IsOptional37, IsEnum as IsEnum25 } from "class-validator";
7265
7539
  var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
7266
7540
  CategoryEmumDto2["BUSINESS"] = "BUSINESS";
7267
7541
  CategoryEmumDto2["FREELANCER"] = "FREELANCER";
@@ -7270,23 +7544,23 @@ var CategoryEmumDto = /* @__PURE__ */ ((CategoryEmumDto2) => {
7270
7544
  var CreateLeadDto = class {
7271
7545
  };
7272
7546
  __decorateClass([
7273
- IsString36({ message: "Name must be a string" })
7547
+ IsString37({ message: "Name must be a string" })
7274
7548
  ], CreateLeadDto.prototype, "name", 2);
7275
7549
  __decorateClass([
7276
7550
  IsEmail14({}, { message: "Invalid email address" })
7277
7551
  ], CreateLeadDto.prototype, "email", 2);
7278
7552
  __decorateClass([
7279
- IsString36({ message: "Mobile code must be a string (e.g., +1)" })
7553
+ IsString37({ message: "Mobile code must be a string (e.g., +1)" })
7280
7554
  ], CreateLeadDto.prototype, "mobileCode", 2);
7281
7555
  __decorateClass([
7282
- IsString36({ message: "Mobile must be a string (e.g., 1243253534)" })
7556
+ IsString37({ message: "Mobile must be a string (e.g., 1243253534)" })
7283
7557
  ], CreateLeadDto.prototype, "mobile", 2);
7284
7558
  __decorateClass([
7285
- IsOptional36(),
7286
- IsString36({ message: "Description must be a string" })
7559
+ IsOptional37(),
7560
+ IsString37({ message: "Description must be a string" })
7287
7561
  ], CreateLeadDto.prototype, "description", 2);
7288
7562
  __decorateClass([
7289
- IsEnum24(CategoryEmumDto, {
7563
+ IsEnum25(CategoryEmumDto, {
7290
7564
  message: `Type of category must be one of: ${Object.values(
7291
7565
  CategoryEmumDto
7292
7566
  ).join(", ")}`
@@ -7306,46 +7580,46 @@ var ADMIN_ROLE_PATTERN = {
7306
7580
  };
7307
7581
 
7308
7582
  // src/modules/admin-role/dto/create-admin-role.dto.ts
7309
- import { IsNotEmpty as IsNotEmpty55, IsOptional as IsOptional37, IsString as IsString37 } from "class-validator";
7583
+ import { IsNotEmpty as IsNotEmpty56, IsOptional as IsOptional38, IsString as IsString38 } from "class-validator";
7310
7584
  var CreateAdminRoleDto = class {
7311
7585
  };
7312
7586
  __decorateClass([
7313
- IsNotEmpty55({ message: "Please enter admin role name." }),
7314
- IsString37({ message: "Role name must be a string." })
7587
+ IsNotEmpty56({ message: "Please enter admin role name." }),
7588
+ IsString38({ message: "Role name must be a string." })
7315
7589
  ], CreateAdminRoleDto.prototype, "roleName", 2);
7316
7590
  __decorateClass([
7317
- IsOptional37(),
7318
- IsString37({ message: "Role description must be a string." })
7591
+ IsOptional38(),
7592
+ IsString38({ message: "Role description must be a string." })
7319
7593
  ], CreateAdminRoleDto.prototype, "roleDescription", 2);
7320
7594
 
7321
7595
  // src/modules/admin-role/dto/update-admin-role.dto.ts
7322
- import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty56, IsOptional as IsOptional38, IsString as IsString38 } from "class-validator";
7596
+ import { IsBoolean as IsBoolean15, IsNotEmpty as IsNotEmpty57, IsOptional as IsOptional39, IsString as IsString39 } from "class-validator";
7323
7597
  var UpdateAdminRoleDto = class {
7324
7598
  };
7325
7599
  __decorateClass([
7326
- IsNotEmpty56({ message: "Please enter admin role name." }),
7327
- IsString38({ message: "Role name must be a string." })
7600
+ IsNotEmpty57({ message: "Please enter admin role name." }),
7601
+ IsString39({ message: "Role name must be a string." })
7328
7602
  ], UpdateAdminRoleDto.prototype, "roleName", 2);
7329
7603
  __decorateClass([
7330
- IsOptional38(),
7331
- IsString38({ message: "Role description must be a string." })
7604
+ IsOptional39(),
7605
+ IsString39({ message: "Role description must be a string." })
7332
7606
  ], UpdateAdminRoleDto.prototype, "roleDescription", 2);
7333
7607
  __decorateClass([
7334
- IsOptional38(),
7608
+ IsOptional39(),
7335
7609
  IsBoolean15({ message: "Is active must be a boolean value." })
7336
7610
  ], UpdateAdminRoleDto.prototype, "isActive", 2);
7337
7611
 
7338
7612
  // src/modules/admin-role/dto/attach-permissions-to-role.dto.ts
7339
- import { IsNotEmpty as IsNotEmpty57, IsString as IsString39 } from "class-validator";
7613
+ import { IsNotEmpty as IsNotEmpty58, IsString as IsString40 } from "class-validator";
7340
7614
  var AttachPermissionsToRoleDto = class {
7341
7615
  };
7342
7616
  __decorateClass([
7343
- IsNotEmpty57({ message: "Please enter admin role ID." }),
7344
- IsString39({ message: "Role ID must be a string." })
7617
+ IsNotEmpty58({ message: "Please enter admin role ID." }),
7618
+ IsString40({ message: "Role ID must be a string." })
7345
7619
  ], AttachPermissionsToRoleDto.prototype, "roleId", 2);
7346
7620
  __decorateClass([
7347
- IsNotEmpty57({ message: "Please enter permission IDs." }),
7348
- IsString39({ message: "Permission IDs must be a comma-separated string." })
7621
+ IsNotEmpty58({ message: "Please enter permission IDs." }),
7622
+ IsString40({ message: "Permission IDs must be a comma-separated string." })
7349
7623
  ], AttachPermissionsToRoleDto.prototype, "permissionIds", 2);
7350
7624
 
7351
7625
  // src/modules/admin-permission/pattern/pattern.ts
@@ -7372,17 +7646,17 @@ var CALENDLY_PATTERN = {
7372
7646
 
7373
7647
  // src/modules/interview/dto/interview-invite.dto.ts
7374
7648
  import {
7375
- IsString as IsString40,
7376
- IsNotEmpty as IsNotEmpty58,
7377
- IsArray as IsArray14,
7378
- ArrayNotEmpty as ArrayNotEmpty9,
7649
+ IsString as IsString41,
7650
+ IsNotEmpty as IsNotEmpty59,
7651
+ IsArray as IsArray15,
7652
+ ArrayNotEmpty as ArrayNotEmpty10,
7379
7653
  IsEmail as IsEmail15,
7380
7654
  IsUUID as IsUUID12,
7381
- IsEnum as IsEnum25,
7382
- ValidateIf as ValidateIf9,
7383
- ValidateNested as ValidateNested6
7655
+ IsEnum as IsEnum26,
7656
+ ValidateIf as ValidateIf10,
7657
+ ValidateNested as ValidateNested7
7384
7658
  } from "class-validator";
7385
- import { Type as Type12 } from "class-transformer";
7659
+ import { Type as Type13 } from "class-transformer";
7386
7660
  var CandidateType = /* @__PURE__ */ ((CandidateType2) => {
7387
7661
  CandidateType2["SHORTLISTED"] = "SHORTLISTED";
7388
7662
  CandidateType2["APPLICATNTS"] = "APPLICATNTS";
@@ -7396,39 +7670,39 @@ __decorateClass([
7396
7670
  IsUUID12()
7397
7671
  ], ExistingCandidateDto.prototype, "id", 2);
7398
7672
  __decorateClass([
7399
- IsEnum25(CandidateType, {
7673
+ IsEnum26(CandidateType, {
7400
7674
  message: "type must be one of SHORTLISTED, APPLICATNTS, or RECOMMENDED"
7401
7675
  })
7402
7676
  ], ExistingCandidateDto.prototype, "type", 2);
7403
7677
  var NewCandidateDto = class {
7404
7678
  };
7405
7679
  __decorateClass([
7406
- IsNotEmpty58({ message: "Please enter the candidate name" }),
7407
- IsString40({ message: "Name must be a string" })
7680
+ IsNotEmpty59({ message: "Please enter the candidate name" }),
7681
+ IsString41({ message: "Name must be a string" })
7408
7682
  ], NewCandidateDto.prototype, "name", 2);
7409
7683
  __decorateClass([
7410
7684
  IsEmail15({}, { message: "Please enter a valid email." })
7411
7685
  ], NewCandidateDto.prototype, "email", 2);
7412
7686
  __decorateClass([
7413
- IsEnum25(CandidateType, {
7687
+ IsEnum26(CandidateType, {
7414
7688
  message: "type must be NEW"
7415
7689
  })
7416
7690
  ], NewCandidateDto.prototype, "type", 2);
7417
7691
  var CandidatesDto = class {
7418
7692
  };
7419
7693
  __decorateClass([
7420
- ValidateIf9((o) => o.exixtingCandidates?.length > 0),
7421
- IsArray14({ message: "Existing candidates should be an array." }),
7422
- ArrayNotEmpty9({ message: "Please select at least one candidate." }),
7423
- ValidateNested6({ each: true }),
7424
- Type12(() => ExistingCandidateDto)
7694
+ ValidateIf10((o) => o.exixtingCandidates?.length > 0),
7695
+ IsArray15({ message: "Existing candidates should be an array." }),
7696
+ ArrayNotEmpty10({ message: "Please select at least one candidate." }),
7697
+ ValidateNested7({ each: true }),
7698
+ Type13(() => ExistingCandidateDto)
7425
7699
  ], CandidatesDto.prototype, "exixtingCandidates", 2);
7426
7700
  __decorateClass([
7427
- ValidateIf9((o) => o.newCandidates?.length > 0),
7428
- IsArray14({ message: "New candidates should be an array." }),
7429
- ArrayNotEmpty9({ message: "Please add at least one candidate." }),
7430
- ValidateNested6({ each: true }),
7431
- Type12(() => NewCandidateDto)
7701
+ ValidateIf10((o) => o.newCandidates?.length > 0),
7702
+ IsArray15({ message: "New candidates should be an array." }),
7703
+ ArrayNotEmpty10({ message: "Please add at least one candidate." }),
7704
+ ValidateNested7({ each: true }),
7705
+ Type13(() => NewCandidateDto)
7432
7706
  ], CandidatesDto.prototype, "newCandidates", 2);
7433
7707
  var InterviewInviteDto = class {
7434
7708
  };
@@ -7436,77 +7710,77 @@ __decorateClass([
7436
7710
  IsUUID12()
7437
7711
  ], InterviewInviteDto.prototype, "jobId", 2);
7438
7712
  __decorateClass([
7439
- ValidateNested6({ each: true }),
7440
- Type12(() => CandidatesDto)
7713
+ ValidateNested7({ each: true }),
7714
+ Type13(() => CandidatesDto)
7441
7715
  ], InterviewInviteDto.prototype, "candidates", 2);
7442
7716
 
7443
7717
  // src/modules/interview/dto/create-f2f-interview.dto.ts
7444
7718
  import {
7445
- IsString as IsString41,
7446
- IsNotEmpty as IsNotEmpty59,
7719
+ IsString as IsString42,
7720
+ IsNotEmpty as IsNotEmpty60,
7447
7721
  IsEmail as IsEmail16,
7448
- IsNumber as IsNumber9
7722
+ IsNumber as IsNumber10
7449
7723
  } from "class-validator";
7450
7724
  var CreateF2FInterviewDto = class {
7451
7725
  };
7452
7726
  __decorateClass([
7453
7727
  IsEmail16({}, { message: "Please enter a valid email address." }),
7454
- IsNotEmpty59({ message: "Invitee email is required." })
7728
+ IsNotEmpty60({ message: "Invitee email is required." })
7455
7729
  ], CreateF2FInterviewDto.prototype, "inviteeEmail", 2);
7456
7730
  __decorateClass([
7457
- IsString41({ message: "Invitee name must be a string." }),
7458
- IsNotEmpty59({ message: "Invitee name is required." })
7731
+ IsString42({ message: "Invitee name must be a string." }),
7732
+ IsNotEmpty60({ message: "Invitee name is required." })
7459
7733
  ], CreateF2FInterviewDto.prototype, "inviteeName", 2);
7460
7734
  __decorateClass([
7461
- IsNumber9({}, { message: "Interview ID must be a number." })
7735
+ IsNumber10({}, { message: "Interview ID must be a number." })
7462
7736
  ], CreateF2FInterviewDto.prototype, "interviewId", 2);
7463
7737
  __decorateClass([
7464
- IsNumber9({}, { message: "Candidate ID must be a number." })
7738
+ IsNumber10({}, { message: "Candidate ID must be a number." })
7465
7739
  ], CreateF2FInterviewDto.prototype, "candidateId", 2);
7466
7740
 
7467
7741
  // src/modules/interview/dto/create-f2f-interview-direct.dto.ts
7468
7742
  import {
7469
- IsString as IsString42,
7470
- IsNotEmpty as IsNotEmpty60,
7743
+ IsString as IsString43,
7744
+ IsNotEmpty as IsNotEmpty61,
7471
7745
  IsEmail as IsEmail17,
7472
- IsNumber as IsNumber10
7746
+ IsNumber as IsNumber11
7473
7747
  } from "class-validator";
7474
7748
  var CreateF2FInterviewDirectDto = class {
7475
7749
  };
7476
7750
  __decorateClass([
7477
7751
  IsEmail17({}, { message: "Please enter a valid email address." }),
7478
- IsNotEmpty60({ message: "Invitee email is required." })
7752
+ IsNotEmpty61({ message: "Invitee email is required." })
7479
7753
  ], CreateF2FInterviewDirectDto.prototype, "inviteeEmail", 2);
7480
7754
  __decorateClass([
7481
- IsString42({ message: "Invitee name must be a string." }),
7482
- IsNotEmpty60({ message: "Invitee name is required." })
7755
+ IsString43({ message: "Invitee name must be a string." }),
7756
+ IsNotEmpty61({ message: "Invitee name is required." })
7483
7757
  ], CreateF2FInterviewDirectDto.prototype, "inviteeName", 2);
7484
7758
  __decorateClass([
7485
- IsNumber10({}, { message: "Job ID must be a number." })
7759
+ IsNumber11({}, { message: "Job ID must be a number." })
7486
7760
  ], CreateF2FInterviewDirectDto.prototype, "jobId", 2);
7487
7761
  __decorateClass([
7488
- IsNumber10({}, { message: "Candidate ID must be a number." })
7762
+ IsNumber11({}, { message: "Candidate ID must be a number." })
7489
7763
  ], CreateF2FInterviewDirectDto.prototype, "candidateId", 2);
7490
7764
 
7491
7765
  // src/modules/interview/dto/create-f2f-interview-reschedule-request.dto.ts
7492
7766
  import {
7493
- IsString as IsString43,
7494
- IsNotEmpty as IsNotEmpty61
7767
+ IsString as IsString44,
7768
+ IsNotEmpty as IsNotEmpty62
7495
7769
  } from "class-validator";
7496
7770
  var CreateF2FInterviewRescheduleRequestDto = class {
7497
7771
  };
7498
7772
  __decorateClass([
7499
- IsNotEmpty61({ message: "F2F Interview ID is required." })
7773
+ IsNotEmpty62({ message: "F2F Interview ID is required." })
7500
7774
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "f2FInterviewId", 2);
7501
7775
  __decorateClass([
7502
- IsNotEmpty61({ message: "Rescheduled date is required." })
7776
+ IsNotEmpty62({ message: "Rescheduled date is required." })
7503
7777
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledDate", 2);
7504
7778
  __decorateClass([
7505
- IsString43({ message: "Rescheduled slot must be a string." }),
7506
- IsNotEmpty61({ message: "Rescheduled slot is required." })
7779
+ IsString44({ message: "Rescheduled slot must be a string." }),
7780
+ IsNotEmpty62({ message: "Rescheduled slot is required." })
7507
7781
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "rescheduledSlot", 2);
7508
7782
  __decorateClass([
7509
- IsString43({ message: "Freelancer reason must be a string." })
7783
+ IsString44({ message: "Freelancer reason must be a string." })
7510
7784
  ], CreateF2FInterviewRescheduleRequestDto.prototype, "freelancerRequestReason", 2);
7511
7785
 
7512
7786
  // src/modules/contract/pattern/pattern.ts
@@ -7530,43 +7804,43 @@ var CONTRACT_PATTERN = {
7530
7804
  };
7531
7805
 
7532
7806
  // src/modules/contract/dto/sign-contract-for-client.dto.ts
7533
- import { IsEnum as IsEnum26, IsNotEmpty as IsNotEmpty62, IsNumber as IsNumber11 } from "class-validator";
7534
- import { Type as Type13 } from "class-transformer";
7807
+ import { IsEnum as IsEnum27, IsNotEmpty as IsNotEmpty63, IsNumber as IsNumber12 } from "class-validator";
7808
+ import { Type as Type14 } from "class-transformer";
7535
7809
  var SignContractForClientDto = class {
7536
7810
  };
7537
7811
  __decorateClass([
7538
- IsNotEmpty62({ message: "Job Id is required." }),
7539
- Type13(() => Number),
7540
- IsNumber11({}, { message: "Job ID must be a number." })
7812
+ IsNotEmpty63({ message: "Job Id is required." }),
7813
+ Type14(() => Number),
7814
+ IsNumber12({}, { message: "Job ID must be a number." })
7541
7815
  ], SignContractForClientDto.prototype, "jobId", 2);
7542
7816
  __decorateClass([
7543
- IsNotEmpty62({ message: "Freelancer ID is required." }),
7544
- Type13(() => Number),
7545
- IsNumber11({}, { message: "Freelancer ID must be a number." })
7817
+ IsNotEmpty63({ message: "Freelancer ID is required." }),
7818
+ Type14(() => Number),
7819
+ IsNumber12({}, { message: "Freelancer ID must be a number." })
7546
7820
  ], SignContractForClientDto.prototype, "freelancerId", 2);
7547
7821
  __decorateClass([
7548
- IsNotEmpty62({ message: "Contract type is required." }),
7549
- IsEnum26(ContractTypeEnum)
7822
+ IsNotEmpty63({ message: "Contract type is required." }),
7823
+ IsEnum27(ContractTypeEnum)
7550
7824
  ], SignContractForClientDto.prototype, "contractType", 2);
7551
7825
 
7552
7826
  // src/modules/contract/dto/sign-contract-for-freelancer.dto.ts
7553
- import { IsEnum as IsEnum27, IsNotEmpty as IsNotEmpty63, IsNumber as IsNumber12 } from "class-validator";
7554
- import { Type as Type14 } from "class-transformer";
7827
+ import { IsEnum as IsEnum28, IsNotEmpty as IsNotEmpty64, IsNumber as IsNumber13 } from "class-validator";
7828
+ import { Type as Type15 } from "class-transformer";
7555
7829
  var SignContractForFreelancerDto = class {
7556
7830
  };
7557
7831
  __decorateClass([
7558
- IsNotEmpty63({ message: "Job Id is required." }),
7559
- Type14(() => Number),
7560
- IsNumber12({}, { message: "Job ID must be a number." })
7832
+ IsNotEmpty64({ message: "Job Id is required." }),
7833
+ Type15(() => Number),
7834
+ IsNumber13({}, { message: "Job ID must be a number." })
7561
7835
  ], SignContractForFreelancerDto.prototype, "jobId", 2);
7562
7836
  __decorateClass([
7563
- IsNotEmpty63({ message: "Client ID is required." }),
7564
- Type14(() => Number),
7565
- IsNumber12({}, { message: "Client ID must be a number." })
7837
+ IsNotEmpty64({ message: "Client ID is required." }),
7838
+ Type15(() => Number),
7839
+ IsNumber13({}, { message: "Client ID must be a number." })
7566
7840
  ], SignContractForFreelancerDto.prototype, "clientId", 2);
7567
7841
  __decorateClass([
7568
- IsNotEmpty63({ message: "Contract type is required." }),
7569
- IsEnum27(ContractTypeEnum)
7842
+ IsNotEmpty64({ message: "Contract type is required." }),
7843
+ IsEnum28(ContractTypeEnum)
7570
7844
  ], SignContractForFreelancerDto.prototype, "contractType", 2);
7571
7845
 
7572
7846
  // src/modules/stripe/pattern/pattern.ts
@@ -7585,12 +7859,12 @@ var STRIPE_PATTERN = {
7585
7859
 
7586
7860
  // src/modules/stripe/dto/create-checkout-session.dto.ts
7587
7861
  import {
7588
- IsNotEmpty as IsNotEmpty64
7862
+ IsNotEmpty as IsNotEmpty65
7589
7863
  } from "class-validator";
7590
7864
  var CreateCheckoutSessionDto = class {
7591
7865
  };
7592
7866
  __decorateClass([
7593
- IsNotEmpty64({ message: "Amount is required" })
7867
+ IsNotEmpty65({ message: "Amount is required" })
7594
7868
  ], CreateCheckoutSessionDto.prototype, "amount", 2);
7595
7869
 
7596
7870
  // src/modules/timesheet/pattern/pattern.ts
@@ -7613,113 +7887,113 @@ var TIMESHEET_CLIENT_PATTERN = {
7613
7887
  // src/modules/timesheet/dto/create-freelancer-timesheet.dto.ts
7614
7888
  import {
7615
7889
  IsDateString as IsDateString6,
7616
- IsInt as IsInt9,
7617
- IsNotEmpty as IsNotEmpty65,
7618
- IsOptional as IsOptional41,
7619
- IsString as IsString44,
7890
+ IsInt as IsInt10,
7891
+ IsNotEmpty as IsNotEmpty66,
7892
+ IsOptional as IsOptional42,
7893
+ IsString as IsString45,
7620
7894
  Matches as Matches13,
7621
- IsNumber as IsNumber13
7895
+ IsNumber as IsNumber14
7622
7896
  } from "class-validator";
7623
7897
  var CreateFreelancerTimesheetDto = class {
7624
7898
  };
7625
7899
  __decorateClass([
7626
- IsNotEmpty65({ message: "Job id is required" }),
7627
- IsNumber13({}, { message: "Job id must be a number" })
7900
+ IsNotEmpty66({ message: "Job id is required" }),
7901
+ IsNumber14({}, { message: "Job id must be a number" })
7628
7902
  ], CreateFreelancerTimesheetDto.prototype, "jobId", 2);
7629
7903
  __decorateClass([
7630
- IsNotEmpty65({ message: "start date is required" }),
7904
+ IsNotEmpty66({ message: "start date is required" }),
7631
7905
  IsDateString6()
7632
7906
  ], CreateFreelancerTimesheetDto.prototype, "startDate", 2);
7633
7907
  __decorateClass([
7634
- IsNotEmpty65({ message: "end date is required" }),
7908
+ IsNotEmpty66({ message: "end date is required" }),
7635
7909
  IsDateString6()
7636
7910
  ], CreateFreelancerTimesheetDto.prototype, "endDate", 2);
7637
7911
  __decorateClass([
7638
- IsNotEmpty65({ message: "start time is required" }),
7912
+ IsNotEmpty66({ message: "start time is required" }),
7639
7913
  Matches13(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
7640
7914
  message: "startTime must be in HH:mm:ss format"
7641
7915
  })
7642
7916
  ], CreateFreelancerTimesheetDto.prototype, "startTime", 2);
7643
7917
  __decorateClass([
7644
- IsNotEmpty65({ message: "end time is required" }),
7918
+ IsNotEmpty66({ message: "end time is required" }),
7645
7919
  Matches13(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
7646
7920
  message: "endTime must be in HH:mm:ss format"
7647
7921
  })
7648
7922
  ], CreateFreelancerTimesheetDto.prototype, "endTime", 2);
7649
7923
  __decorateClass([
7650
- IsOptional41(),
7651
- IsInt9()
7924
+ IsOptional42(),
7925
+ IsInt10()
7652
7926
  ], CreateFreelancerTimesheetDto.prototype, "taskId", 2);
7653
7927
  __decorateClass([
7654
- IsOptional41(),
7655
- IsString44()
7928
+ IsOptional42(),
7929
+ IsString45()
7656
7930
  ], CreateFreelancerTimesheetDto.prototype, "projectName", 2);
7657
7931
  __decorateClass([
7658
- IsOptional41(),
7659
- IsString44()
7932
+ IsOptional42(),
7933
+ IsString45()
7660
7934
  ], CreateFreelancerTimesheetDto.prototype, "deliverable", 2);
7661
7935
  __decorateClass([
7662
- IsOptional41(),
7663
- IsString44()
7936
+ IsOptional42(),
7937
+ IsString45()
7664
7938
  ], CreateFreelancerTimesheetDto.prototype, "taskName", 2);
7665
7939
  __decorateClass([
7666
- IsNotEmpty65({ message: "Description is required" })
7940
+ IsNotEmpty66({ message: "Description is required" })
7667
7941
  ], CreateFreelancerTimesheetDto.prototype, "description", 2);
7668
7942
 
7669
7943
  // src/modules/timesheet/dto/update-freelancer-timesheet.dto.ts
7670
7944
  import {
7671
7945
  IsDateString as IsDateString7,
7672
- IsInt as IsInt10,
7673
- IsNotEmpty as IsNotEmpty66,
7674
- IsOptional as IsOptional42,
7675
- IsString as IsString45,
7946
+ IsInt as IsInt11,
7947
+ IsNotEmpty as IsNotEmpty67,
7948
+ IsOptional as IsOptional43,
7949
+ IsString as IsString46,
7676
7950
  Matches as Matches14,
7677
- IsNumber as IsNumber14
7951
+ IsNumber as IsNumber15
7678
7952
  } from "class-validator";
7679
7953
  var UpdateFreelancerTimesheetDto = class {
7680
7954
  };
7681
7955
  __decorateClass([
7682
- IsNotEmpty66({ message: "Job id is required" }),
7683
- IsNumber14({}, { message: "Job id must be a number" })
7956
+ IsNotEmpty67({ message: "Job id is required" }),
7957
+ IsNumber15({}, { message: "Job id must be a number" })
7684
7958
  ], UpdateFreelancerTimesheetDto.prototype, "jobId", 2);
7685
7959
  __decorateClass([
7686
- IsNotEmpty66({ message: "start date is required" }),
7960
+ IsNotEmpty67({ message: "start date is required" }),
7687
7961
  IsDateString7()
7688
7962
  ], UpdateFreelancerTimesheetDto.prototype, "startDate", 2);
7689
7963
  __decorateClass([
7690
- IsNotEmpty66({ message: "end date is required" }),
7964
+ IsNotEmpty67({ message: "end date is required" }),
7691
7965
  IsDateString7()
7692
7966
  ], UpdateFreelancerTimesheetDto.prototype, "endDate", 2);
7693
7967
  __decorateClass([
7694
- IsNotEmpty66({ message: "start time is required" }),
7968
+ IsNotEmpty67({ message: "start time is required" }),
7695
7969
  Matches14(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
7696
7970
  message: "startTime must be in HH:mm:ss format"
7697
7971
  })
7698
7972
  ], UpdateFreelancerTimesheetDto.prototype, "startTime", 2);
7699
7973
  __decorateClass([
7700
- IsNotEmpty66({ message: "end time is required" }),
7974
+ IsNotEmpty67({ message: "end time is required" }),
7701
7975
  Matches14(/^([01]\d|2[0-3]):([0-5]\d):([0-5]\d)$/, {
7702
7976
  message: "endTime must be in HH:mm:ss format"
7703
7977
  })
7704
7978
  ], UpdateFreelancerTimesheetDto.prototype, "endTime", 2);
7705
7979
  __decorateClass([
7706
- IsOptional42(),
7707
- IsInt10()
7980
+ IsOptional43(),
7981
+ IsInt11()
7708
7982
  ], UpdateFreelancerTimesheetDto.prototype, "taskId", 2);
7709
7983
  __decorateClass([
7710
- IsOptional42(),
7711
- IsString45()
7984
+ IsOptional43(),
7985
+ IsString46()
7712
7986
  ], UpdateFreelancerTimesheetDto.prototype, "projectName", 2);
7713
7987
  __decorateClass([
7714
- IsOptional42(),
7715
- IsString45()
7988
+ IsOptional43(),
7989
+ IsString46()
7716
7990
  ], UpdateFreelancerTimesheetDto.prototype, "deliverable", 2);
7717
7991
  __decorateClass([
7718
- IsOptional42(),
7719
- IsString45()
7992
+ IsOptional43(),
7993
+ IsString46()
7720
7994
  ], UpdateFreelancerTimesheetDto.prototype, "taskName", 2);
7721
7995
  __decorateClass([
7722
- IsNotEmpty66({ message: "Description is required" })
7996
+ IsNotEmpty67({ message: "Description is required" })
7723
7997
  ], UpdateFreelancerTimesheetDto.prototype, "description", 2);
7724
7998
 
7725
7999
  // src/modules/invoice/pattern/pattern.ts
@@ -7734,61 +8008,61 @@ var INVOICE_PATTERN = {
7734
8008
  };
7735
8009
 
7736
8010
  // src/modules/invoice/dto/update-invoice-status.dto.ts
7737
- import { IsEnum as IsEnum30, IsNotEmpty as IsNotEmpty67 } from "class-validator";
8011
+ import { IsEnum as IsEnum31, IsNotEmpty as IsNotEmpty68 } from "class-validator";
7738
8012
  var UpdateInvoiceStatusDto = class {
7739
8013
  };
7740
8014
  __decorateClass([
7741
- IsNotEmpty67({ message: "Please provide invoice status." }),
7742
- IsEnum30(InvoiceStatusEnum, {
8015
+ IsNotEmpty68({ message: "Please provide invoice status." }),
8016
+ IsEnum31(InvoiceStatusEnum, {
7743
8017
  message: "Status must be one of: APPROVED, REJECTED"
7744
8018
  })
7745
8019
  ], UpdateInvoiceStatusDto.prototype, "status", 2);
7746
8020
 
7747
8021
  // src/modules/dispute/dto/create-dispute.dto.ts
7748
8022
  import {
7749
- IsString as IsString46,
7750
- IsNotEmpty as IsNotEmpty68,
8023
+ IsString as IsString47,
8024
+ IsNotEmpty as IsNotEmpty69,
7751
8025
  IsIn as IsIn4,
7752
- IsOptional as IsOptional43,
7753
- MaxLength as MaxLength20,
8026
+ IsOptional as IsOptional44,
8027
+ MaxLength as MaxLength21,
7754
8028
  IsObject,
7755
- IsNumber as IsNumber15,
7756
- ValidateIf as ValidateIf10
8029
+ IsNumber as IsNumber16,
8030
+ ValidateIf as ValidateIf11
7757
8031
  } from "class-validator";
7758
- import { Transform as Transform4, Type as Type15 } from "class-transformer";
8032
+ import { Transform as Transform4, Type as Type16 } from "class-transformer";
7759
8033
  var CreateDisputeDto = class {
7760
8034
  };
7761
8035
  __decorateClass([
7762
- ValidateIf10((o) => o.initiatorType === "FREELANCER" /* FREELANCER */),
7763
- IsNumber15({}, { message: "Client id must be a number" }),
7764
- Type15(() => Number)
8036
+ ValidateIf11((o) => o.initiatorType === "FREELANCER" /* FREELANCER */),
8037
+ IsNumber16({}, { message: "Client id must be a number" }),
8038
+ Type16(() => Number)
7765
8039
  ], CreateDisputeDto.prototype, "clientId", 2);
7766
8040
  __decorateClass([
7767
- ValidateIf10((o) => o.initiatorType === "CLIENT" /* CLIENT */),
7768
- IsNumber15({}, { message: "Freelancer id must be a number" }),
7769
- Type15(() => Number)
8041
+ ValidateIf11((o) => o.initiatorType === "CLIENT" /* CLIENT */),
8042
+ IsNumber16({}, { message: "Freelancer id must be a number" }),
8043
+ Type16(() => Number)
7770
8044
  ], CreateDisputeDto.prototype, "freelancerId", 2);
7771
8045
  __decorateClass([
7772
- IsNotEmpty68({ message: "Please select dispute type." }),
7773
- IsString46(),
8046
+ IsNotEmpty69({ message: "Please select dispute type." }),
8047
+ IsString47(),
7774
8048
  IsIn4(["JOB", "INVOICE"])
7775
8049
  ], CreateDisputeDto.prototype, "disputeType", 2);
7776
8050
  __decorateClass([
7777
- IsNotEmpty68({ message: "Please provide initiator type." }),
7778
- IsString46()
8051
+ IsNotEmpty69({ message: "Please provide initiator type." }),
8052
+ IsString47()
7779
8053
  ], CreateDisputeDto.prototype, "initiatorType", 2);
7780
8054
  __decorateClass([
7781
- IsNotEmpty68({ message: "Please enter description." }),
7782
- IsString46({ message: "Description must be a string" }),
7783
- MaxLength20(500, { message: "Description must not exceed 500 characters" })
8055
+ IsNotEmpty69({ message: "Please enter description." }),
8056
+ IsString47({ message: "Description must be a string" }),
8057
+ MaxLength21(500, { message: "Description must not exceed 500 characters" })
7784
8058
  ], CreateDisputeDto.prototype, "description", 2);
7785
8059
  __decorateClass([
7786
- IsOptional43(),
7787
- IsString46({ message: "Comment must be a string" }),
7788
- MaxLength20(500, { message: "Comment must not exceed 500 characters" })
8060
+ IsOptional44(),
8061
+ IsString47({ message: "Comment must be a string" }),
8062
+ MaxLength21(500, { message: "Comment must not exceed 500 characters" })
7789
8063
  ], CreateDisputeDto.prototype, "comment", 2);
7790
8064
  __decorateClass([
7791
- IsOptional43(),
8065
+ IsOptional44(),
7792
8066
  IsObject({ message: "Dynamic fields must be a valid object" }),
7793
8067
  Transform4(({ value }) => {
7794
8068
  if (typeof value === "string") {
@@ -7804,15 +8078,15 @@ __decorateClass([
7804
8078
 
7805
8079
  // src/modules/senseloaf/dto/ai-interview-question-generate.dto.ts
7806
8080
  import {
7807
- IsNotEmpty as IsNotEmpty69
8081
+ IsNotEmpty as IsNotEmpty70
7808
8082
  } from "class-validator";
7809
8083
  var AiInterviewQuestionGenerateDto = class {
7810
8084
  };
7811
8085
  __decorateClass([
7812
- IsNotEmpty69({ message: "Please enter job description." })
8086
+ IsNotEmpty70({ message: "Please enter job description." })
7813
8087
  ], AiInterviewQuestionGenerateDto.prototype, "jobDescription", 2);
7814
8088
  __decorateClass([
7815
- IsNotEmpty69({ message: "Please enter number of questions." })
8089
+ IsNotEmpty70({ message: "Please enter number of questions." })
7816
8090
  ], AiInterviewQuestionGenerateDto.prototype, "numQuestions", 2);
7817
8091
 
7818
8092
  // src/adapters/tcp/user.tcp.adapter.ts
@@ -8176,11 +8450,11 @@ var ChatRMQAdapter = (mode = "microservice") => {
8176
8450
  };
8177
8451
 
8178
8452
  // src/entities/sequence-generator.entity.ts
8179
- import { Entity as Entity62, Column as Column63 } from "typeorm";
8453
+ import { Entity as Entity63, Column as Column64 } from "typeorm";
8180
8454
  var SequenceGenerator = class extends BaseEntity {
8181
8455
  };
8182
8456
  __decorateClass([
8183
- Column63({
8457
+ Column64({
8184
8458
  name: "module",
8185
8459
  type: "varchar",
8186
8460
  length: 50,
@@ -8189,7 +8463,7 @@ __decorateClass([
8189
8463
  })
8190
8464
  ], SequenceGenerator.prototype, "module", 2);
8191
8465
  __decorateClass([
8192
- Column63({
8466
+ Column64({
8193
8467
  name: "prefix",
8194
8468
  type: "varchar",
8195
8469
  length: 10,
@@ -8198,7 +8472,7 @@ __decorateClass([
8198
8472
  })
8199
8473
  ], SequenceGenerator.prototype, "prefix", 2);
8200
8474
  __decorateClass([
8201
- Column63({
8475
+ Column64({
8202
8476
  name: "last_sequence",
8203
8477
  type: "int",
8204
8478
  nullable: false,
@@ -8206,7 +8480,7 @@ __decorateClass([
8206
8480
  })
8207
8481
  ], SequenceGenerator.prototype, "lastSequence", 2);
8208
8482
  __decorateClass([
8209
- Column63({
8483
+ Column64({
8210
8484
  name: "year",
8211
8485
  type: "int",
8212
8486
  nullable: true,
@@ -8214,11 +8488,11 @@ __decorateClass([
8214
8488
  })
8215
8489
  ], SequenceGenerator.prototype, "year", 2);
8216
8490
  SequenceGenerator = __decorateClass([
8217
- Entity62("sequence_generators")
8491
+ Entity63("sequence_generators")
8218
8492
  ], SequenceGenerator);
8219
8493
 
8220
8494
  // src/entities/question.entity.ts
8221
- import { Entity as Entity63, Column as Column64 } from "typeorm";
8495
+ import { Entity as Entity64, Column as Column65 } from "typeorm";
8222
8496
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
8223
8497
  QuestionFor2["CLIENT"] = "CLIENT";
8224
8498
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -8227,16 +8501,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
8227
8501
  var Question = class extends BaseEntity {
8228
8502
  };
8229
8503
  __decorateClass([
8230
- Column64({ name: "question", type: "varchar" })
8504
+ Column65({ name: "question", type: "varchar" })
8231
8505
  ], Question.prototype, "question", 2);
8232
8506
  __decorateClass([
8233
- Column64({ name: "hint", type: "varchar", nullable: true })
8507
+ Column65({ name: "hint", type: "varchar", nullable: true })
8234
8508
  ], Question.prototype, "hint", 2);
8235
8509
  __decorateClass([
8236
- Column64({ name: "slug", type: "varchar", nullable: true, unique: true })
8510
+ Column65({ name: "slug", type: "varchar", nullable: true, unique: true })
8237
8511
  ], Question.prototype, "slug", 2);
8238
8512
  __decorateClass([
8239
- Column64({
8513
+ Column65({
8240
8514
  name: "question_for",
8241
8515
  type: "enum",
8242
8516
  enum: QuestionFor,
@@ -8244,49 +8518,49 @@ __decorateClass([
8244
8518
  })
8245
8519
  ], Question.prototype, "questionFor", 2);
8246
8520
  __decorateClass([
8247
- Column64({ name: "type", type: "varchar", nullable: true })
8521
+ Column65({ name: "type", type: "varchar", nullable: true })
8248
8522
  ], Question.prototype, "type", 2);
8249
8523
  __decorateClass([
8250
- Column64({ name: "options", type: "jsonb", nullable: true })
8524
+ Column65({ name: "options", type: "jsonb", nullable: true })
8251
8525
  ], Question.prototype, "options", 2);
8252
8526
  __decorateClass([
8253
- Column64({ name: "is_active", type: "boolean", default: false })
8527
+ Column65({ name: "is_active", type: "boolean", default: false })
8254
8528
  ], Question.prototype, "isActive", 2);
8255
8529
  Question = __decorateClass([
8256
- Entity63("questions")
8530
+ Entity64("questions")
8257
8531
  ], Question);
8258
8532
 
8259
8533
  // src/entities/skill.entity.ts
8260
- import { Entity as Entity64, Column as Column65 } from "typeorm";
8534
+ import { Entity as Entity65, Column as Column66 } from "typeorm";
8261
8535
  var Skill = class extends BaseEntity {
8262
8536
  };
8263
8537
  __decorateClass([
8264
- Column65({ name: "name", type: "varchar", nullable: true })
8538
+ Column66({ name: "name", type: "varchar", nullable: true })
8265
8539
  ], Skill.prototype, "name", 2);
8266
8540
  __decorateClass([
8267
- Column65({ name: "slug", type: "varchar", nullable: true, unique: true })
8541
+ Column66({ name: "slug", type: "varchar", nullable: true, unique: true })
8268
8542
  ], Skill.prototype, "slug", 2);
8269
8543
  __decorateClass([
8270
- Column65({ name: "is_active", type: "boolean", default: false })
8544
+ Column66({ name: "is_active", type: "boolean", default: false })
8271
8545
  ], Skill.prototype, "isActive", 2);
8272
8546
  Skill = __decorateClass([
8273
- Entity64("skills")
8547
+ Entity65("skills")
8274
8548
  ], Skill);
8275
8549
 
8276
8550
  // src/entities/skill-catalog.entity.ts
8277
8551
  import {
8278
- Entity as Entity65,
8279
- Column as Column66,
8280
- Index as Index56
8552
+ Entity as Entity66,
8553
+ Column as Column67,
8554
+ Index as Index57
8281
8555
  } from "typeorm";
8282
8556
  var SkillCatalog = class extends BaseEntity {
8283
8557
  };
8284
8558
  __decorateClass([
8285
- Column66({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
8286
- Index56()
8559
+ Column67({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
8560
+ Index57()
8287
8561
  ], SkillCatalog.prototype, "canonicalName", 2);
8288
8562
  __decorateClass([
8289
- Column66({
8563
+ Column67({
8290
8564
  name: "aliases",
8291
8565
  type: "text",
8292
8566
  array: true,
@@ -8294,20 +8568,20 @@ __decorateClass([
8294
8568
  })
8295
8569
  ], SkillCatalog.prototype, "aliases", 2);
8296
8570
  __decorateClass([
8297
- Column66({
8571
+ Column67({
8298
8572
  name: "variations",
8299
8573
  type: "jsonb",
8300
8574
  default: "{}"
8301
8575
  })
8302
8576
  ], SkillCatalog.prototype, "variations", 2);
8303
8577
  __decorateClass([
8304
- Column66({ name: "category", type: "varchar", length: 50, nullable: true })
8578
+ Column67({ name: "category", type: "varchar", length: 50, nullable: true })
8305
8579
  ], SkillCatalog.prototype, "category", 2);
8306
8580
  __decorateClass([
8307
- Column66({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
8581
+ Column67({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
8308
8582
  ], SkillCatalog.prototype, "parentSkill", 2);
8309
8583
  __decorateClass([
8310
- Column66({
8584
+ Column67({
8311
8585
  name: "related_skills",
8312
8586
  type: "text",
8313
8587
  array: true,
@@ -8315,113 +8589,113 @@ __decorateClass([
8315
8589
  })
8316
8590
  ], SkillCatalog.prototype, "relatedSkills", 2);
8317
8591
  __decorateClass([
8318
- Column66({ name: "usage_count", type: "integer", default: 0 }),
8319
- Index56()
8592
+ Column67({ name: "usage_count", type: "integer", default: 0 }),
8593
+ Index57()
8320
8594
  ], SkillCatalog.prototype, "usageCount", 2);
8321
8595
  __decorateClass([
8322
- Column66({ name: "is_verified", type: "boolean", default: false })
8596
+ Column67({ name: "is_verified", type: "boolean", default: false })
8323
8597
  ], SkillCatalog.prototype, "isVerified", 2);
8324
8598
  __decorateClass([
8325
- Column66({ name: "first_seen_date", type: "date" })
8599
+ Column67({ name: "first_seen_date", type: "date" })
8326
8600
  ], SkillCatalog.prototype, "firstSeenDate", 2);
8327
8601
  __decorateClass([
8328
- Column66({ name: "last_updated_date", type: "date" })
8602
+ Column67({ name: "last_updated_date", type: "date" })
8329
8603
  ], SkillCatalog.prototype, "lastUpdatedDate", 2);
8330
8604
  __decorateClass([
8331
- Column66({
8605
+ Column67({
8332
8606
  name: "search_vector",
8333
8607
  type: "tsvector",
8334
8608
  nullable: true
8335
8609
  })
8336
8610
  ], SkillCatalog.prototype, "searchVector", 2);
8337
8611
  SkillCatalog = __decorateClass([
8338
- Entity65("skill_catalogs")
8612
+ Entity66("skill_catalogs")
8339
8613
  ], SkillCatalog);
8340
8614
 
8341
8615
  // src/entities/job-role.entity.ts
8342
- import { Entity as Entity66, Column as Column67 } from "typeorm";
8616
+ import { Entity as Entity67, Column as Column68 } from "typeorm";
8343
8617
  var JobRoles = class extends BaseEntity {
8344
8618
  };
8345
8619
  __decorateClass([
8346
- Column67({ name: "slug", type: "varchar", nullable: true, unique: true })
8620
+ Column68({ name: "slug", type: "varchar", nullable: true, unique: true })
8347
8621
  ], JobRoles.prototype, "slug", 2);
8348
8622
  __decorateClass([
8349
- Column67({ name: "name", type: "varchar", nullable: true })
8623
+ Column68({ name: "name", type: "varchar", nullable: true })
8350
8624
  ], JobRoles.prototype, "name", 2);
8351
8625
  __decorateClass([
8352
- Column67({ name: "is_active", type: "boolean", default: true })
8626
+ Column68({ name: "is_active", type: "boolean", default: true })
8353
8627
  ], JobRoles.prototype, "isActive", 2);
8354
8628
  JobRoles = __decorateClass([
8355
- Entity66("job_roles")
8629
+ Entity67("job_roles")
8356
8630
  ], JobRoles);
8357
8631
 
8358
8632
  // src/entities/plan.entity.ts
8359
- import { Entity as Entity68, Column as Column69, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
8633
+ import { Entity as Entity69, Column as Column70, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
8360
8634
 
8361
8635
  // src/entities/feature.entity.ts
8362
- import { Entity as Entity67, Column as Column68, ManyToMany as ManyToMany2 } from "typeorm";
8636
+ import { Entity as Entity68, Column as Column69, ManyToMany as ManyToMany2 } from "typeorm";
8363
8637
  var Feature = class extends BaseEntity {
8364
8638
  };
8365
8639
  __decorateClass([
8366
- Column68({ name: "name", type: "varchar", unique: true })
8640
+ Column69({ name: "name", type: "varchar", unique: true })
8367
8641
  ], Feature.prototype, "name", 2);
8368
8642
  __decorateClass([
8369
8643
  ManyToMany2(() => Plan, (plan) => plan.features)
8370
8644
  ], Feature.prototype, "plans", 2);
8371
8645
  Feature = __decorateClass([
8372
- Entity67("features")
8646
+ Entity68("features")
8373
8647
  ], Feature);
8374
8648
 
8375
8649
  // src/entities/plan.entity.ts
8376
8650
  var Plan = class extends BaseEntity {
8377
8651
  };
8378
8652
  __decorateClass([
8379
- Column69({ name: "name", type: "varchar", unique: true })
8653
+ Column70({ name: "name", type: "varchar", unique: true })
8380
8654
  ], Plan.prototype, "name", 2);
8381
8655
  __decorateClass([
8382
- Column69({ name: "description", type: "varchar", nullable: true })
8656
+ Column70({ name: "description", type: "varchar", nullable: true })
8383
8657
  ], Plan.prototype, "description", 2);
8384
8658
  __decorateClass([
8385
- Column69({ name: "price", type: "decimal", precision: 10, scale: 2 })
8659
+ Column70({ name: "price", type: "decimal", precision: 10, scale: 2 })
8386
8660
  ], Plan.prototype, "price", 2);
8387
8661
  __decorateClass([
8388
- Column69({ name: "billing_period", type: "varchar" })
8662
+ Column70({ name: "billing_period", type: "varchar" })
8389
8663
  ], Plan.prototype, "billingPeriod", 2);
8390
8664
  __decorateClass([
8391
- Column69({ name: "is_current", type: "boolean", default: false })
8665
+ Column70({ name: "is_current", type: "boolean", default: false })
8392
8666
  ], Plan.prototype, "isCurrent", 2);
8393
8667
  __decorateClass([
8394
8668
  ManyToMany3(() => Feature, (feature) => feature.plans, { cascade: true }),
8395
8669
  JoinTable()
8396
8670
  ], Plan.prototype, "features", 2);
8397
8671
  Plan = __decorateClass([
8398
- Entity68("plans")
8672
+ Entity69("plans")
8399
8673
  ], Plan);
8400
8674
 
8401
8675
  // src/entities/cms.entity.ts
8402
- import { Entity as Entity69, Column as Column70 } from "typeorm";
8676
+ import { Entity as Entity70, Column as Column71 } from "typeorm";
8403
8677
  var Cms = class extends BaseEntity {
8404
8678
  };
8405
8679
  __decorateClass([
8406
- Column70({ name: "title", type: "varchar", nullable: true })
8680
+ Column71({ name: "title", type: "varchar", nullable: true })
8407
8681
  ], Cms.prototype, "title", 2);
8408
8682
  __decorateClass([
8409
- Column70({ name: "slug", type: "varchar", nullable: true, unique: true })
8683
+ Column71({ name: "slug", type: "varchar", nullable: true, unique: true })
8410
8684
  ], Cms.prototype, "slug", 2);
8411
8685
  __decorateClass([
8412
- Column70({ name: "content", type: "varchar", nullable: true })
8686
+ Column71({ name: "content", type: "varchar", nullable: true })
8413
8687
  ], Cms.prototype, "content", 2);
8414
8688
  __decorateClass([
8415
- Column70({ name: "is_active", type: "boolean", default: true })
8689
+ Column71({ name: "is_active", type: "boolean", default: true })
8416
8690
  ], Cms.prototype, "isActive", 2);
8417
8691
  Cms = __decorateClass([
8418
- Entity69("cms")
8692
+ Entity70("cms")
8419
8693
  ], Cms);
8420
8694
 
8421
8695
  // src/entities/lead.entity.ts
8422
8696
  import {
8423
- Entity as Entity70,
8424
- Column as Column71
8697
+ Entity as Entity71,
8698
+ Column as Column72
8425
8699
  } from "typeorm";
8426
8700
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
8427
8701
  CategoryEmum2["BUSINESS"] = "BUSINESS";
@@ -8431,22 +8705,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
8431
8705
  var Lead = class extends BaseEntity {
8432
8706
  };
8433
8707
  __decorateClass([
8434
- Column71({ name: "name", type: "varchar", nullable: true })
8708
+ Column72({ name: "name", type: "varchar", nullable: true })
8435
8709
  ], Lead.prototype, "name", 2);
8436
8710
  __decorateClass([
8437
- Column71({ name: "mobile_code", type: "varchar", nullable: true })
8711
+ Column72({ name: "mobile_code", type: "varchar", nullable: true })
8438
8712
  ], Lead.prototype, "mobileCode", 2);
8439
8713
  __decorateClass([
8440
- Column71({ name: "mobile", type: "varchar", nullable: true })
8714
+ Column72({ name: "mobile", type: "varchar", nullable: true })
8441
8715
  ], Lead.prototype, "mobile", 2);
8442
8716
  __decorateClass([
8443
- Column71({ name: "email", type: "varchar", nullable: true })
8717
+ Column72({ name: "email", type: "varchar", nullable: true })
8444
8718
  ], Lead.prototype, "email", 2);
8445
8719
  __decorateClass([
8446
- Column71({ name: "description", type: "varchar", nullable: true })
8720
+ Column72({ name: "description", type: "varchar", nullable: true })
8447
8721
  ], Lead.prototype, "description", 2);
8448
8722
  __decorateClass([
8449
- Column71({
8723
+ Column72({
8450
8724
  name: "category",
8451
8725
  type: "enum",
8452
8726
  enum: CategoryEmum,
@@ -8454,7 +8728,7 @@ __decorateClass([
8454
8728
  })
8455
8729
  ], Lead.prototype, "category", 2);
8456
8730
  Lead = __decorateClass([
8457
- Entity70("leads")
8731
+ Entity71("leads")
8458
8732
  ], Lead);
8459
8733
 
8460
8734
  // src/entities/job-freelancer-recommendation.entity.ts
@@ -8695,7 +8969,7 @@ ClientFreelancerRecommendation = __decorateClass([
8695
8969
  ], ClientFreelancerRecommendation);
8696
8970
 
8697
8971
  // src/entities/commission.entity.ts
8698
- import { Entity as Entity71, Column as Column72 } from "typeorm";
8972
+ import { Entity as Entity72, Column as Column73 } from "typeorm";
8699
8973
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
8700
8974
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
8701
8975
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -8704,7 +8978,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
8704
8978
  var Commission = class extends BaseEntity {
8705
8979
  };
8706
8980
  __decorateClass([
8707
- Column72({
8981
+ Column73({
8708
8982
  name: "freelancer_commission_type",
8709
8983
  type: "enum",
8710
8984
  enum: CommissionTypeEnum,
@@ -8712,10 +8986,10 @@ __decorateClass([
8712
8986
  })
8713
8987
  ], Commission.prototype, "freelancerCommissionType", 2);
8714
8988
  __decorateClass([
8715
- Column72({ name: "freelancer_commission", type: "integer", default: 0 })
8989
+ Column73({ name: "freelancer_commission", type: "integer", default: 0 })
8716
8990
  ], Commission.prototype, "freelancerCommission", 2);
8717
8991
  __decorateClass([
8718
- Column72({
8992
+ Column73({
8719
8993
  name: "client_commission_type",
8720
8994
  type: "enum",
8721
8995
  enum: CommissionTypeEnum,
@@ -8723,105 +8997,105 @@ __decorateClass([
8723
8997
  })
8724
8998
  ], Commission.prototype, "clientCommissionType", 2);
8725
8999
  __decorateClass([
8726
- Column72({ name: "client_commission", type: "integer", default: 0 })
9000
+ Column73({ name: "client_commission", type: "integer", default: 0 })
8727
9001
  ], Commission.prototype, "clientCommission", 2);
8728
9002
  Commission = __decorateClass([
8729
- Entity71("commissions")
9003
+ Entity72("commissions")
8730
9004
  ], Commission);
8731
9005
 
8732
9006
  // src/entities/calendly-meeting-log.entity.ts
8733
9007
  import {
8734
- Entity as Entity72,
8735
- Column as Column73,
8736
- Index as Index57
9008
+ Entity as Entity73,
9009
+ Column as Column74,
9010
+ Index as Index58
8737
9011
  } from "typeorm";
8738
9012
  var CalendlyMeetingLog = class extends BaseEntity {
8739
9013
  };
8740
9014
  __decorateClass([
8741
- Column73({ name: "calendly_event_id", type: "varchar", nullable: true }),
8742
- Index57()
9015
+ Column74({ name: "calendly_event_id", type: "varchar", nullable: true }),
9016
+ Index58()
8743
9017
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
8744
9018
  __decorateClass([
8745
- Column73({ name: "calendly_event_type", type: "varchar", nullable: true })
9019
+ Column74({ name: "calendly_event_type", type: "varchar", nullable: true })
8746
9020
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
8747
9021
  __decorateClass([
8748
- Column73({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9022
+ Column74({ name: "raw_webhook_data", type: "jsonb", nullable: true })
8749
9023
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
8750
9024
  CalendlyMeetingLog = __decorateClass([
8751
- Entity72("calendly_meeting_logs")
9025
+ Entity73("calendly_meeting_logs")
8752
9026
  ], CalendlyMeetingLog);
8753
9027
 
8754
9028
  // src/entities/zoom-meeting-log.entity.ts
8755
9029
  import {
8756
- Entity as Entity73,
8757
- Column as Column74,
8758
- Index as Index58
9030
+ Entity as Entity74,
9031
+ Column as Column75,
9032
+ Index as Index59
8759
9033
  } from "typeorm";
8760
9034
  var ZoomMeetingLog = class extends BaseEntity {
8761
9035
  };
8762
9036
  __decorateClass([
8763
- Column74({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
8764
- Index58()
9037
+ Column75({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
9038
+ Index59()
8765
9039
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
8766
9040
  __decorateClass([
8767
- Column74({ name: "zoom_event_type", type: "varchar", nullable: true })
9041
+ Column75({ name: "zoom_event_type", type: "varchar", nullable: true })
8768
9042
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
8769
9043
  __decorateClass([
8770
- Column74({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9044
+ Column75({ name: "raw_webhook_data", type: "jsonb", nullable: true })
8771
9045
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
8772
9046
  ZoomMeetingLog = __decorateClass([
8773
- Entity73("zoom_meeting_logs")
9047
+ Entity74("zoom_meeting_logs")
8774
9048
  ], ZoomMeetingLog);
8775
9049
 
8776
9050
  // src/entities/stripe-logs.entity.ts
8777
- import { Entity as Entity74, Column as Column75 } from "typeorm";
9051
+ import { Entity as Entity75, Column as Column76 } from "typeorm";
8778
9052
  var StripeLog = class extends BaseEntity {
8779
9053
  };
8780
9054
  __decorateClass([
8781
- Column75({ name: "stripe_event_id", type: "varchar", nullable: true })
9055
+ Column76({ name: "stripe_event_id", type: "varchar", nullable: true })
8782
9056
  ], StripeLog.prototype, "stripeEventId", 2);
8783
9057
  __decorateClass([
8784
- Column75({ name: "event_type", type: "varchar", nullable: true })
9058
+ Column76({ name: "event_type", type: "varchar", nullable: true })
8785
9059
  ], StripeLog.prototype, "eventType", 2);
8786
9060
  __decorateClass([
8787
- Column75({ name: "stripe_account_id", type: "varchar", nullable: true })
9061
+ Column76({ name: "stripe_account_id", type: "varchar", nullable: true })
8788
9062
  ], StripeLog.prototype, "stripeAccountId", 2);
8789
9063
  __decorateClass([
8790
- Column75({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9064
+ Column76({ name: "raw_webhook_data", type: "jsonb", nullable: true })
8791
9065
  ], StripeLog.prototype, "rawWebhookData", 2);
8792
9066
  StripeLog = __decorateClass([
8793
- Entity74("stripe_logs")
9067
+ Entity75("stripe_logs")
8794
9068
  ], StripeLog);
8795
9069
 
8796
9070
  // src/entities/recommendation-weightage-config.entity.ts
8797
9071
  import {
8798
- Entity as Entity75,
8799
- Column as Column76,
8800
- Index as Index59
9072
+ Entity as Entity76,
9073
+ Column as Column77,
9074
+ Index as Index60
8801
9075
  } from "typeorm";
8802
9076
  var RecommendationWeightageConfig = class extends BaseEntity {
8803
9077
  };
8804
9078
  __decorateClass([
8805
- Column76({
9079
+ Column77({
8806
9080
  type: "varchar",
8807
9081
  length: 100,
8808
9082
  unique: true,
8809
9083
  comment: "Unique key identifier (e.g., full_time_weights, hourly_weights)"
8810
9084
  }),
8811
- Index59()
9085
+ Index60()
8812
9086
  ], RecommendationWeightageConfig.prototype, "key", 2);
8813
9087
  __decorateClass([
8814
- Column76({
9088
+ Column77({
8815
9089
  type: "jsonb",
8816
9090
  comment: "JSON object containing weight values",
8817
9091
  nullable: true
8818
9092
  })
8819
9093
  ], RecommendationWeightageConfig.prototype, "value", 2);
8820
9094
  __decorateClass([
8821
- Column76({ name: "is_active", type: "boolean", default: true })
9095
+ Column77({ name: "is_active", type: "boolean", default: true })
8822
9096
  ], RecommendationWeightageConfig.prototype, "isActive", 2);
8823
9097
  RecommendationWeightageConfig = __decorateClass([
8824
- Entity75("recommendation_weightage_configs")
9098
+ Entity76("recommendation_weightage_configs")
8825
9099
  ], RecommendationWeightageConfig);
8826
9100
  export {
8827
9101
  ADMIN_FREELANCER_PATTERN,
@@ -8833,6 +9107,7 @@ export {
8833
9107
  AccountStatus,
8834
9108
  AccountType,
8835
9109
  AdminCreateJobInformationDto,
9110
+ AdminJobBasicInformationV2Dto,
8836
9111
  AdminPermission,
8837
9112
  AdminRole,
8838
9113
  AdminRolePermission,
@@ -8968,6 +9243,8 @@ export {
8968
9243
  FreelancerUploadResumeDto,
8969
9244
  FreelancerWorkShowcaseDto,
8970
9245
  FromUsOn,
9246
+ HiredFreelancerNatureOfWorkEnum,
9247
+ Hiring,
8971
9248
  INTERVIEW_INVITE_PATTERN,
8972
9249
  INVOICE_PATTERN,
8973
9250
  InitiatorTypeEnum,
@@ -8995,6 +9272,7 @@ export {
8995
9272
  JobFreelancerRecommendationV2,
8996
9273
  JobIdParamDto,
8997
9274
  JobLocation,
9275
+ JobLocationAdminDto,
8998
9276
  JobLocationDto,
8999
9277
  JobLocationEnum2 as JobLocationEnum,
9000
9278
  JobLocationEnumDto,