@experts_hub/shared 1.0.436 → 1.0.438

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -110,6 +110,8 @@ __export(index_exports, {
110
110
  CreateQuestionDto: () => CreateQuestionDto,
111
111
  CreateRatingDto: () => CreateRatingDto,
112
112
  CreateSubAdminDto: () => CreateSubAdminDto,
113
+ Dispute: () => Dispute,
114
+ DisputeStatusEnum: () => DisputeStatusEnum,
113
115
  DocumentType: () => DocumentType,
114
116
  DocumentTypeEnum: () => DocumentTypeEnum,
115
117
  DurationTypeEnum: () => DurationTypeEnum,
@@ -168,7 +170,9 @@ __export(index_exports, {
168
170
  InterviewSkill: () => InterviewSkill,
169
171
  InterviewStatusEnum: () => InterviewStatusEnum,
170
172
  Invoice: () => Invoice,
173
+ InvoicePaymentStatusEnum: () => InvoicePaymentStatusEnum,
171
174
  InvoiceStatusEnum: () => InvoiceStatusEnum,
175
+ InvoiceTypeEnum: () => InvoiceTypeEnum,
172
176
  JOB_PATTERN: () => JOB_PATTERN,
173
177
  JOB_ROLE_PATTERN: () => JOB_ROLE_PATTERN,
174
178
  Job: () => Job,
@@ -1462,6 +1466,10 @@ __decorateClass([
1462
1466
  __decorateClass([
1463
1467
  (0, import_class_validator39.IsNotEmpty)({ message: "Please enter expected hourly compensation." })
1464
1468
  ], UpdateFreelancerProfileDto.prototype, "expectedHourlyCompensation", 2);
1469
+ __decorateClass([
1470
+ (0, import_class_validator39.IsOptional)(),
1471
+ (0, import_class_validator39.IsNotEmpty)({ message: "Please enter weekly availability hours." })
1472
+ ], UpdateFreelancerProfileDto.prototype, "numberOfHours", 2);
1465
1473
  __decorateClass([
1466
1474
  (0, import_class_validator39.IsNotEmpty)({ message: "Please select engagement type." }),
1467
1475
  (0, import_class_validator39.IsEnum)(NatureOfWorkDto, {
@@ -1623,10 +1631,10 @@ var RATING_PATTERN = {
1623
1631
  var import_class_validator42 = require("class-validator");
1624
1632
 
1625
1633
  // src/entities/rating.entity.ts
1626
- var import_typeorm57 = require("typeorm");
1634
+ var import_typeorm58 = require("typeorm");
1627
1635
 
1628
1636
  // src/entities/user.entity.ts
1629
- var import_typeorm56 = require("typeorm");
1637
+ var import_typeorm57 = require("typeorm");
1630
1638
 
1631
1639
  // src/entities/base.entity.ts
1632
1640
  var import_typeorm = require("typeorm");
@@ -3331,7 +3339,7 @@ Timesheet = __decorateClass([
3331
3339
  ], Timesheet);
3332
3340
 
3333
3341
  // src/entities/timesheet-line.entity.ts
3334
- var import_typeorm26 = require("typeorm");
3342
+ var import_typeorm27 = require("typeorm");
3335
3343
 
3336
3344
  // src/entities/timesheet-logs.entity.ts
3337
3345
  var import_typeorm24 = require("typeorm");
@@ -3454,167 +3462,196 @@ TimesheetLineHistory = __decorateClass([
3454
3462
  (0, import_typeorm25.Entity)("timesheet_line_histories")
3455
3463
  ], TimesheetLineHistory);
3456
3464
 
3457
- // src/entities/timesheet-line.entity.ts
3458
- var TimesheetLineStatusEnum = /* @__PURE__ */ ((TimesheetLineStatusEnum2) => {
3459
- TimesheetLineStatusEnum2["DRAFT"] = "DRAFT";
3460
- TimesheetLineStatusEnum2["SEND"] = "SEND";
3461
- TimesheetLineStatusEnum2["SEND_BACK"] = "SEND_BACK";
3462
- TimesheetLineStatusEnum2["APPROVED"] = "APPROVED";
3463
- TimesheetLineStatusEnum2["REJECTED"] = "REJECTED";
3464
- TimesheetLineStatusEnum2["PAID"] = "PAID";
3465
- TimesheetLineStatusEnum2["MISSING"] = "MISSING";
3466
- TimesheetLineStatusEnum2["ACTIVE"] = "ACTIVE";
3467
- return TimesheetLineStatusEnum2;
3468
- })(TimesheetLineStatusEnum || {});
3469
- var TimesheetLine = class extends BaseEntity {
3465
+ // src/entities/invoice.entity.ts
3466
+ var import_typeorm26 = require("typeorm");
3467
+ var InvoiceTypeEnum = /* @__PURE__ */ ((InvoiceTypeEnum2) => {
3468
+ InvoiceTypeEnum2["WEEKLY"] = "WEEKLY";
3469
+ InvoiceTypeEnum2["MONTHLY"] = "MONTHLY";
3470
+ return InvoiceTypeEnum2;
3471
+ })(InvoiceTypeEnum || {});
3472
+ var InvoiceStatusEnum = /* @__PURE__ */ ((InvoiceStatusEnum2) => {
3473
+ InvoiceStatusEnum2["SUBMITTED"] = "SUBMITTED";
3474
+ InvoiceStatusEnum2["UNDER_REVIEW"] = "UNDER_REVIEW";
3475
+ InvoiceStatusEnum2["APPROVED"] = "APPROVED";
3476
+ InvoiceStatusEnum2["REJECTED"] = "REJECTED";
3477
+ return InvoiceStatusEnum2;
3478
+ })(InvoiceStatusEnum || {});
3479
+ var InvoicePaymentStatusEnum = /* @__PURE__ */ ((InvoicePaymentStatusEnum2) => {
3480
+ InvoicePaymentStatusEnum2["PENDING"] = "PENDING";
3481
+ InvoicePaymentStatusEnum2["OVERDUE"] = "OVERDUE";
3482
+ InvoicePaymentStatusEnum2["INTRANSACTION"] = "INTRANSACTION";
3483
+ InvoicePaymentStatusEnum2["PAID"] = "PAID";
3484
+ InvoicePaymentStatusEnum2["REFUNDED"] = "REFUNDED";
3485
+ return InvoicePaymentStatusEnum2;
3486
+ })(InvoicePaymentStatusEnum || {});
3487
+ var Invoice = class extends BaseEntity {
3470
3488
  };
3489
+ __decorateClass([
3490
+ (0, import_typeorm26.Column)({ name: "timesheet_line_id", type: "integer", nullable: true }),
3491
+ (0, import_typeorm26.Index)()
3492
+ ], Invoice.prototype, "timesheetLineId", 2);
3493
+ __decorateClass([
3494
+ (0, import_typeorm26.ManyToOne)(() => TimesheetLine, (timesheetLine) => timesheetLine.invoice),
3495
+ (0, import_typeorm26.JoinColumn)({ name: "timesheet_line_id" })
3496
+ ], Invoice.prototype, "timesheetLine", 2);
3471
3497
  __decorateClass([
3472
3498
  (0, import_typeorm26.Column)({ name: "job_id", type: "integer", nullable: true }),
3473
3499
  (0, import_typeorm26.Index)()
3474
- ], TimesheetLine.prototype, "jobId", 2);
3500
+ ], Invoice.prototype, "jobId", 2);
3475
3501
  __decorateClass([
3476
- (0, import_typeorm26.ManyToOne)(() => Job, (job) => job.timesheetLine),
3502
+ (0, import_typeorm26.ManyToOne)(() => Job, (job) => job.invoice),
3477
3503
  (0, import_typeorm26.JoinColumn)({ name: "job_id" })
3478
- ], TimesheetLine.prototype, "job", 2);
3504
+ ], Invoice.prototype, "job", 2);
3479
3505
  __decorateClass([
3480
3506
  (0, import_typeorm26.Column)({ name: "client_id", type: "integer", nullable: true }),
3481
3507
  (0, import_typeorm26.Index)()
3482
- ], TimesheetLine.prototype, "clientId", 2);
3508
+ ], Invoice.prototype, "clientId", 2);
3483
3509
  __decorateClass([
3484
- (0, import_typeorm26.ManyToOne)(() => User, (user) => user.clientTimesheetLine),
3510
+ (0, import_typeorm26.ManyToOne)(() => User, (user) => user.clientInvoice),
3485
3511
  (0, import_typeorm26.JoinColumn)({ name: "client_id" })
3486
- ], TimesheetLine.prototype, "client", 2);
3512
+ ], Invoice.prototype, "client", 2);
3487
3513
  __decorateClass([
3488
3514
  (0, import_typeorm26.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
3489
3515
  (0, import_typeorm26.Index)()
3490
- ], TimesheetLine.prototype, "freelancerId", 2);
3516
+ ], Invoice.prototype, "freelancerId", 2);
3491
3517
  __decorateClass([
3492
- (0, import_typeorm26.ManyToOne)(() => User, (user) => user.freelancerTimesheetLine),
3518
+ (0, import_typeorm26.ManyToOne)(() => User, (user) => user.freelancerInvoice),
3493
3519
  (0, import_typeorm26.JoinColumn)({ name: "freelancer_id" })
3494
- ], TimesheetLine.prototype, "freelancer", 2);
3520
+ ], Invoice.prototype, "freelancer", 2);
3495
3521
  __decorateClass([
3496
- (0, import_typeorm26.OneToMany)(() => TimesheetLogs, (timesheetLogs) => timesheetLogs.timesheetLine)
3497
- ], TimesheetLine.prototype, "timesheetLogs", 2);
3522
+ (0, import_typeorm26.Column)({ name: "invoice_unique_id", type: "varchar", nullable: true })
3523
+ ], Invoice.prototype, "invoiceUniqueId", 2);
3498
3524
  __decorateClass([
3499
- (0, import_typeorm26.OneToMany)(() => TimesheetLineHistory, (timesheetLineHistory) => timesheetLineHistory.timesheetLine)
3500
- ], TimesheetLine.prototype, "timesheetLineHistory", 2);
3525
+ (0, import_typeorm26.Column)({
3526
+ name: "issued_at",
3527
+ type: "date",
3528
+ nullable: true
3529
+ })
3530
+ ], Invoice.prototype, "issuedAt", 2);
3501
3531
  __decorateClass([
3502
- (0, import_typeorm26.Column)({ name: "unique_id", type: "varchar", nullable: true })
3503
- ], TimesheetLine.prototype, "uniqueId", 2);
3532
+ (0, import_typeorm26.Column)({
3533
+ name: "due_at",
3534
+ type: "date",
3535
+ nullable: true
3536
+ })
3537
+ ], Invoice.prototype, "dueAt", 2);
3504
3538
  __decorateClass([
3505
3539
  (0, import_typeorm26.Column)({
3506
- name: "week_start_date",
3540
+ name: "billing_cycle_from",
3507
3541
  type: "date",
3508
3542
  nullable: true
3509
3543
  })
3510
- ], TimesheetLine.prototype, "weekStartDate", 2);
3544
+ ], Invoice.prototype, "billingCycleFrom", 2);
3511
3545
  __decorateClass([
3512
3546
  (0, import_typeorm26.Column)({
3513
- name: "week_end_date",
3547
+ name: "billing_cycle_to",
3514
3548
  type: "date",
3515
3549
  nullable: true
3516
3550
  })
3517
- ], TimesheetLine.prototype, "weekEndDate", 2);
3551
+ ], Invoice.prototype, "billingCycleTo", 2);
3518
3552
  __decorateClass([
3519
- (0, import_typeorm26.Column)({ name: "status", type: "enum", enum: TimesheetLineStatusEnum, nullable: true })
3520
- ], TimesheetLine.prototype, "status", 2);
3553
+ (0, import_typeorm26.Column)({ name: "billing_hours", type: "varchar", nullable: true })
3554
+ ], Invoice.prototype, "billingHours", 2);
3521
3555
  __decorateClass([
3522
- (0, import_typeorm26.Column)({ name: "weekly_hours_sum", type: "varchar", nullable: true })
3523
- ], TimesheetLine.prototype, "weeklyHoursSum", 2);
3556
+ (0, import_typeorm26.Column)({ name: "hourly_rate", type: "varchar", nullable: true })
3557
+ ], Invoice.prototype, "hourlyRate", 2);
3524
3558
  __decorateClass([
3525
- (0, import_typeorm26.Column)({ name: "is_invoice_genrated", type: "boolean", default: false })
3526
- ], TimesheetLine.prototype, "isInvoiceGenrated", 2);
3559
+ (0, import_typeorm26.Column)({ name: "billing_amount", type: "varchar", nullable: true })
3560
+ ], Invoice.prototype, "billingAmount", 2);
3527
3561
  __decorateClass([
3528
- (0, import_typeorm26.Column)({ name: "is_invoice_approved", type: "boolean", default: false })
3529
- ], TimesheetLine.prototype, "isInvoiceApproved", 2);
3530
- TimesheetLine = __decorateClass([
3531
- (0, import_typeorm26.Entity)("timesheet_lines")
3532
- ], TimesheetLine);
3562
+ (0, import_typeorm26.Column)({ name: "invoice_type", type: "enum", enum: InvoiceTypeEnum, nullable: true })
3563
+ ], Invoice.prototype, "invoiceType", 2);
3564
+ __decorateClass([
3565
+ (0, import_typeorm26.Column)({ name: "status", type: "enum", enum: InvoiceStatusEnum, nullable: true })
3566
+ ], Invoice.prototype, "status", 2);
3567
+ __decorateClass([
3568
+ (0, import_typeorm26.Column)({ name: "payment_status", type: "enum", enum: InvoicePaymentStatusEnum, nullable: true })
3569
+ ], Invoice.prototype, "paymentStatus", 2);
3570
+ Invoice = __decorateClass([
3571
+ (0, import_typeorm26.Entity)("invoices")
3572
+ ], Invoice);
3533
3573
 
3534
- // src/entities/invoice.entity.ts
3535
- var import_typeorm27 = require("typeorm");
3536
- var InvoiceStatusEnum = /* @__PURE__ */ ((InvoiceStatusEnum2) => {
3537
- InvoiceStatusEnum2["SUBMITTED"] = "SUBMITTED";
3538
- InvoiceStatusEnum2["PENDING"] = "PENDING";
3539
- InvoiceStatusEnum2["APPROVED"] = "APPROVED";
3540
- InvoiceStatusEnum2["OVERDUE"] = "OVERDUE";
3541
- InvoiceStatusEnum2["REJECTED"] = "REJECTED";
3542
- InvoiceStatusEnum2["PAID"] = "PAID";
3543
- InvoiceStatusEnum2["INTRANSACTION"] = "INTRANSACTION";
3544
- return InvoiceStatusEnum2;
3545
- })(InvoiceStatusEnum || {});
3546
- var Invoice = class extends BaseEntity {
3574
+ // src/entities/timesheet-line.entity.ts
3575
+ var TimesheetLineStatusEnum = /* @__PURE__ */ ((TimesheetLineStatusEnum2) => {
3576
+ TimesheetLineStatusEnum2["DRAFT"] = "DRAFT";
3577
+ TimesheetLineStatusEnum2["SEND"] = "SEND";
3578
+ TimesheetLineStatusEnum2["SEND_BACK"] = "SEND_BACK";
3579
+ TimesheetLineStatusEnum2["APPROVED"] = "APPROVED";
3580
+ TimesheetLineStatusEnum2["REJECTED"] = "REJECTED";
3581
+ TimesheetLineStatusEnum2["PAID"] = "PAID";
3582
+ TimesheetLineStatusEnum2["MISSING"] = "MISSING";
3583
+ TimesheetLineStatusEnum2["ACTIVE"] = "ACTIVE";
3584
+ return TimesheetLineStatusEnum2;
3585
+ })(TimesheetLineStatusEnum || {});
3586
+ var TimesheetLine = class extends BaseEntity {
3547
3587
  };
3548
3588
  __decorateClass([
3549
3589
  (0, import_typeorm27.Column)({ name: "job_id", type: "integer", nullable: true }),
3550
3590
  (0, import_typeorm27.Index)()
3551
- ], Invoice.prototype, "jobId", 2);
3591
+ ], TimesheetLine.prototype, "jobId", 2);
3552
3592
  __decorateClass([
3553
- (0, import_typeorm27.ManyToOne)(() => Job, (job) => job.invoice),
3593
+ (0, import_typeorm27.ManyToOne)(() => Job, (job) => job.timesheetLine),
3554
3594
  (0, import_typeorm27.JoinColumn)({ name: "job_id" })
3555
- ], Invoice.prototype, "job", 2);
3595
+ ], TimesheetLine.prototype, "job", 2);
3556
3596
  __decorateClass([
3557
3597
  (0, import_typeorm27.Column)({ name: "client_id", type: "integer", nullable: true }),
3558
3598
  (0, import_typeorm27.Index)()
3559
- ], Invoice.prototype, "clientId", 2);
3599
+ ], TimesheetLine.prototype, "clientId", 2);
3560
3600
  __decorateClass([
3561
- (0, import_typeorm27.ManyToOne)(() => User, (user) => user.clientInvoice),
3601
+ (0, import_typeorm27.ManyToOne)(() => User, (user) => user.clientTimesheetLine),
3562
3602
  (0, import_typeorm27.JoinColumn)({ name: "client_id" })
3563
- ], Invoice.prototype, "client", 2);
3603
+ ], TimesheetLine.prototype, "client", 2);
3564
3604
  __decorateClass([
3565
3605
  (0, import_typeorm27.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
3566
3606
  (0, import_typeorm27.Index)()
3567
- ], Invoice.prototype, "freelancerId", 2);
3607
+ ], TimesheetLine.prototype, "freelancerId", 2);
3568
3608
  __decorateClass([
3569
- (0, import_typeorm27.ManyToOne)(() => User, (user) => user.freelancerInvoice),
3609
+ (0, import_typeorm27.ManyToOne)(() => User, (user) => user.freelancerTimesheetLine),
3570
3610
  (0, import_typeorm27.JoinColumn)({ name: "freelancer_id" })
3571
- ], Invoice.prototype, "freelancer", 2);
3611
+ ], TimesheetLine.prototype, "freelancer", 2);
3572
3612
  __decorateClass([
3573
- (0, import_typeorm27.Column)({ name: "invoice_unique_id", type: "varchar", nullable: true })
3574
- ], Invoice.prototype, "invoiceUniqueId", 2);
3613
+ (0, import_typeorm27.OneToMany)(() => TimesheetLogs, (timesheetLogs) => timesheetLogs.timesheetLine)
3614
+ ], TimesheetLine.prototype, "timesheetLogs", 2);
3575
3615
  __decorateClass([
3576
- (0, import_typeorm27.Column)({
3577
- name: "issued_at",
3578
- type: "date",
3579
- nullable: true
3580
- })
3581
- ], Invoice.prototype, "issuedAt", 2);
3616
+ (0, import_typeorm27.OneToMany)(() => TimesheetLineHistory, (timesheetLineHistory) => timesheetLineHistory.timesheetLine)
3617
+ ], TimesheetLine.prototype, "timesheetLineHistory", 2);
3582
3618
  __decorateClass([
3583
- (0, import_typeorm27.Column)({
3584
- name: "due_at",
3585
- type: "date",
3586
- nullable: true
3587
- })
3588
- ], Invoice.prototype, "dueAt", 2);
3619
+ (0, import_typeorm27.Column)({ name: "unique_id", type: "varchar", nullable: true })
3620
+ ], TimesheetLine.prototype, "uniqueId", 2);
3589
3621
  __decorateClass([
3590
3622
  (0, import_typeorm27.Column)({
3591
- name: "billing_cycle_from",
3623
+ name: "week_start_date",
3592
3624
  type: "date",
3593
3625
  nullable: true
3594
3626
  })
3595
- ], Invoice.prototype, "billingCycleFrom", 2);
3627
+ ], TimesheetLine.prototype, "weekStartDate", 2);
3596
3628
  __decorateClass([
3597
3629
  (0, import_typeorm27.Column)({
3598
- name: "billing_cycle_to",
3630
+ name: "week_end_date",
3599
3631
  type: "date",
3600
3632
  nullable: true
3601
3633
  })
3602
- ], Invoice.prototype, "billingCycleTo", 2);
3634
+ ], TimesheetLine.prototype, "weekEndDate", 2);
3603
3635
  __decorateClass([
3604
- (0, import_typeorm27.Column)({ name: "billing_hours", type: "varchar", nullable: true })
3605
- ], Invoice.prototype, "billingHours", 2);
3636
+ (0, import_typeorm27.Column)({ name: "status", type: "enum", enum: TimesheetLineStatusEnum, nullable: true })
3637
+ ], TimesheetLine.prototype, "status", 2);
3606
3638
  __decorateClass([
3607
- (0, import_typeorm27.Column)({ name: "hourly_rate", type: "varchar", nullable: true })
3608
- ], Invoice.prototype, "hourlyRate", 2);
3639
+ (0, import_typeorm27.Column)({ name: "weekly_hours_sum", type: "varchar", nullable: true })
3640
+ ], TimesheetLine.prototype, "weeklyHoursSum", 2);
3609
3641
  __decorateClass([
3610
- (0, import_typeorm27.Column)({ name: "billing_amount", type: "varchar", nullable: true })
3611
- ], Invoice.prototype, "billingAmount", 2);
3642
+ (0, import_typeorm27.Column)({ name: "is_invoice_genrated", type: "boolean", default: false })
3643
+ ], TimesheetLine.prototype, "isInvoiceGenrated", 2);
3612
3644
  __decorateClass([
3613
- (0, import_typeorm27.Column)({ name: "status", type: "enum", enum: InvoiceStatusEnum, nullable: true })
3614
- ], Invoice.prototype, "status", 2);
3615
- Invoice = __decorateClass([
3616
- (0, import_typeorm27.Entity)("invoices")
3617
- ], Invoice);
3645
+ (0, import_typeorm27.Column)({ name: "is_invoice_approved", type: "boolean", default: false })
3646
+ ], TimesheetLine.prototype, "isInvoiceApproved", 2);
3647
+ __decorateClass([
3648
+ (0, import_typeorm27.OneToMany)(() => Invoice, (invoice) => invoice.timesheetLine, {
3649
+ cascade: true
3650
+ })
3651
+ ], TimesheetLine.prototype, "invoice", 2);
3652
+ TimesheetLine = __decorateClass([
3653
+ (0, import_typeorm27.Entity)("timesheet_lines")
3654
+ ], TimesheetLine);
3618
3655
 
3619
3656
  // src/entities/job.entity.ts
3620
3657
  var JobLocationEnum = /* @__PURE__ */ ((JobLocationEnum2) => {
@@ -4849,6 +4886,65 @@ Signature = __decorateClass([
4849
4886
  (0, import_typeorm55.Entity)("signatures")
4850
4887
  ], Signature);
4851
4888
 
4889
+ // src/entities/dispute.entity.ts
4890
+ var import_typeorm56 = require("typeorm");
4891
+ var DisputeStatusEnum = /* @__PURE__ */ ((DisputeStatusEnum2) => {
4892
+ DisputeStatusEnum2["OPEN"] = "OPEN";
4893
+ DisputeStatusEnum2["IN_REVIEW"] = "IN_REVIEW";
4894
+ DisputeStatusEnum2["PENDING_RESPONSE"] = "PENDING_RESPONSE";
4895
+ DisputeStatusEnum2["UNDER_INVESTIGATION"] = "UNDER_INVESTIGATION";
4896
+ DisputeStatusEnum2["RESOLVED"] = "RESOLVED";
4897
+ DisputeStatusEnum2["CLOSED"] = "CLOSED";
4898
+ DisputeStatusEnum2["ESCALATED"] = "ESCALATED";
4899
+ DisputeStatusEnum2["CANCELLED"] = "CANCELLED";
4900
+ DisputeStatusEnum2["REOPENED"] = "REOPENED";
4901
+ return DisputeStatusEnum2;
4902
+ })(DisputeStatusEnum || {});
4903
+ var Dispute = class extends BaseEntity {
4904
+ };
4905
+ __decorateClass([
4906
+ (0, import_typeorm56.Column)({ name: "dispute_unique_id", type: "varchar", unique: true })
4907
+ ], Dispute.prototype, "disputeUniqueId", 2);
4908
+ __decorateClass([
4909
+ (0, import_typeorm56.Column)({ name: "dispute_type", type: "varchar", nullable: true })
4910
+ ], Dispute.prototype, "disputeType", 2);
4911
+ __decorateClass([
4912
+ (0, import_typeorm56.Column)({ name: "description", type: "varchar", nullable: true })
4913
+ ], Dispute.prototype, "description", 2);
4914
+ __decorateClass([
4915
+ (0, import_typeorm56.Column)({ name: "comment", type: "varchar", nullable: true })
4916
+ ], Dispute.prototype, "comment", 2);
4917
+ __decorateClass([
4918
+ (0, import_typeorm56.Column)({
4919
+ name: "status",
4920
+ type: "enum",
4921
+ enum: DisputeStatusEnum,
4922
+ default: "OPEN" /* OPEN */
4923
+ })
4924
+ ], Dispute.prototype, "status", 2);
4925
+ __decorateClass([
4926
+ (0, import_typeorm56.Column)({ name: "initiator_id", type: "integer" }),
4927
+ (0, import_typeorm56.Index)()
4928
+ ], Dispute.prototype, "initiatorId", 2);
4929
+ __decorateClass([
4930
+ (0, import_typeorm56.ManyToOne)(() => User, (user) => user.initiatedDisputes),
4931
+ (0, import_typeorm56.JoinColumn)({ name: "initiator_id" })
4932
+ ], Dispute.prototype, "initiator", 2);
4933
+ __decorateClass([
4934
+ (0, import_typeorm56.Column)({ name: "respondent_id", type: "integer" }),
4935
+ (0, import_typeorm56.Index)()
4936
+ ], Dispute.prototype, "respondentId", 2);
4937
+ __decorateClass([
4938
+ (0, import_typeorm56.ManyToOne)(() => User, (user) => user.respondentDisputes),
4939
+ (0, import_typeorm56.JoinColumn)({ name: "respondent_id" })
4940
+ ], Dispute.prototype, "respondent", 2);
4941
+ __decorateClass([
4942
+ (0, import_typeorm56.Column)({ name: "attachments", type: "jsonb", nullable: true })
4943
+ ], Dispute.prototype, "attachments", 2);
4944
+ Dispute = __decorateClass([
4945
+ (0, import_typeorm56.Entity)("disputes")
4946
+ ], Dispute);
4947
+
4852
4948
  // src/entities/user.entity.ts
4853
4949
  var AccountType = /* @__PURE__ */ ((AccountType2) => {
4854
4950
  AccountType2["ADMIN"] = "ADMIN";
@@ -4874,51 +4970,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
4874
4970
  var User = class extends BaseEntity {
4875
4971
  };
4876
4972
  __decorateClass([
4877
- (0, import_typeorm56.Column)({ name: "unique_id", type: "varchar", unique: true })
4973
+ (0, import_typeorm57.Column)({ name: "unique_id", type: "varchar", unique: true })
4878
4974
  ], User.prototype, "uniqueId", 2);
4879
4975
  __decorateClass([
4880
- (0, import_typeorm56.Column)({ name: "parent_id", type: "integer", nullable: true }),
4881
- (0, import_typeorm56.Index)()
4976
+ (0, import_typeorm57.Column)({ name: "parent_id", type: "integer", nullable: true }),
4977
+ (0, import_typeorm57.Index)()
4882
4978
  ], User.prototype, "parentId", 2);
4883
4979
  __decorateClass([
4884
- (0, import_typeorm56.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
4885
- (0, import_typeorm56.JoinColumn)({ name: "parent_id" })
4980
+ (0, import_typeorm57.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
4981
+ (0, import_typeorm57.JoinColumn)({ name: "parent_id" })
4886
4982
  ], User.prototype, "parent", 2);
4887
4983
  __decorateClass([
4888
- (0, import_typeorm56.OneToMany)(() => User, (user) => user.parent)
4984
+ (0, import_typeorm57.OneToMany)(() => User, (user) => user.parent)
4889
4985
  ], User.prototype, "children", 2);
4890
4986
  __decorateClass([
4891
- (0, import_typeorm56.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
4987
+ (0, import_typeorm57.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
4892
4988
  ], User.prototype, "username", 2);
4893
4989
  __decorateClass([
4894
- (0, import_typeorm56.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
4990
+ (0, import_typeorm57.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
4895
4991
  ], User.prototype, "firstName", 2);
4896
4992
  __decorateClass([
4897
- (0, import_typeorm56.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
4993
+ (0, import_typeorm57.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
4898
4994
  ], User.prototype, "lastName", 2);
4899
4995
  __decorateClass([
4900
- (0, import_typeorm56.Column)({ name: "date_of_birth", type: "date", nullable: true })
4996
+ (0, import_typeorm57.Column)({ name: "date_of_birth", type: "date", nullable: true })
4901
4997
  ], User.prototype, "dateOfBirth", 2);
4902
4998
  __decorateClass([
4903
- (0, import_typeorm56.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
4999
+ (0, import_typeorm57.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
4904
5000
  ], User.prototype, "gender", 2);
4905
5001
  __decorateClass([
4906
- (0, import_typeorm56.Column)({ name: "profile_picture_url", type: "text", nullable: true })
5002
+ (0, import_typeorm57.Column)({ name: "profile_picture_url", type: "text", nullable: true })
4907
5003
  ], User.prototype, "profilePictureUrl", 2);
4908
5004
  __decorateClass([
4909
- (0, import_typeorm56.Column)({ name: "email", type: "varchar", unique: true })
5005
+ (0, import_typeorm57.Column)({ name: "email", type: "varchar", unique: true })
4910
5006
  ], User.prototype, "email", 2);
4911
5007
  __decorateClass([
4912
- (0, import_typeorm56.Column)({ name: "mobile_code", type: "varchar", nullable: true })
5008
+ (0, import_typeorm57.Column)({ name: "mobile_code", type: "varchar", nullable: true })
4913
5009
  ], User.prototype, "mobileCode", 2);
4914
5010
  __decorateClass([
4915
- (0, import_typeorm56.Column)({ name: "mobile", type: "varchar", nullable: true })
5011
+ (0, import_typeorm57.Column)({ name: "mobile", type: "varchar", nullable: true })
4916
5012
  ], User.prototype, "mobile", 2);
4917
5013
  __decorateClass([
4918
- (0, import_typeorm56.Column)({ name: "password", type: "varchar", nullable: true })
5014
+ (0, import_typeorm57.Column)({ name: "password", type: "varchar", nullable: true })
4919
5015
  ], User.prototype, "password", 2);
4920
5016
  __decorateClass([
4921
- (0, import_typeorm56.Column)({
5017
+ (0, import_typeorm57.Column)({
4922
5018
  name: "account_type",
4923
5019
  type: "enum",
4924
5020
  enum: AccountType,
@@ -4926,7 +5022,7 @@ __decorateClass([
4926
5022
  })
4927
5023
  ], User.prototype, "accountType", 2);
4928
5024
  __decorateClass([
4929
- (0, import_typeorm56.Column)({
5025
+ (0, import_typeorm57.Column)({
4930
5026
  name: "account_status",
4931
5027
  type: "enum",
4932
5028
  enum: AccountStatus,
@@ -4934,42 +5030,42 @@ __decorateClass([
4934
5030
  })
4935
5031
  ], User.prototype, "accountStatus", 2);
4936
5032
  __decorateClass([
4937
- (0, import_typeorm56.Column)({ name: "is_email_verified", type: "boolean", default: false })
5033
+ (0, import_typeorm57.Column)({ name: "is_email_verified", type: "boolean", default: false })
4938
5034
  ], User.prototype, "isEmailVerified", 2);
4939
5035
  __decorateClass([
4940
- (0, import_typeorm56.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
5036
+ (0, import_typeorm57.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
4941
5037
  ], User.prototype, "isMobileVerified", 2);
4942
5038
  __decorateClass([
4943
- (0, import_typeorm56.Column)({ name: "is_social", type: "boolean", default: false })
5039
+ (0, import_typeorm57.Column)({ name: "is_social", type: "boolean", default: false })
4944
5040
  ], User.prototype, "isSocial", 2);
4945
5041
  __decorateClass([
4946
- (0, import_typeorm56.Column)({
5042
+ (0, import_typeorm57.Column)({
4947
5043
  name: "last_login_at",
4948
5044
  type: "timestamp with time zone",
4949
5045
  nullable: true
4950
5046
  })
4951
5047
  ], User.prototype, "lastLoginAt", 2);
4952
5048
  __decorateClass([
4953
- (0, import_typeorm56.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
5049
+ (0, import_typeorm57.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
4954
5050
  ], User.prototype, "lastLoginIp", 2);
4955
5051
  __decorateClass([
4956
- (0, import_typeorm56.Column)({ name: "reset_token", type: "varchar", nullable: true })
5052
+ (0, import_typeorm57.Column)({ name: "reset_token", type: "varchar", nullable: true })
4957
5053
  ], User.prototype, "resetToken", 2);
4958
5054
  __decorateClass([
4959
- (0, import_typeorm56.Column)({
5055
+ (0, import_typeorm57.Column)({
4960
5056
  name: "reset_token_expire_at",
4961
5057
  type: "timestamp with time zone",
4962
5058
  nullable: true
4963
5059
  })
4964
5060
  ], User.prototype, "resetTokenExpireAt", 2);
4965
5061
  __decorateClass([
4966
- (0, import_typeorm56.Column)({ name: "set_password_token", type: "varchar", nullable: true })
5062
+ (0, import_typeorm57.Column)({ name: "set_password_token", type: "varchar", nullable: true })
4967
5063
  ], User.prototype, "setPasswordToken", 2);
4968
5064
  __decorateClass([
4969
- (0, import_typeorm56.OneToMany)(() => RefreshToken, (token) => token.user)
5065
+ (0, import_typeorm57.OneToMany)(() => RefreshToken, (token) => token.user)
4970
5066
  ], User.prototype, "refreshTokens", 2);
4971
5067
  __decorateClass([
4972
- (0, import_typeorm56.Column)({
5068
+ (0, import_typeorm57.Column)({
4973
5069
  name: "provider",
4974
5070
  type: "enum",
4975
5071
  enum: Provider,
@@ -4978,184 +5074,190 @@ __decorateClass([
4978
5074
  })
4979
5075
  ], User.prototype, "provider", 2);
4980
5076
  __decorateClass([
4981
- (0, import_typeorm56.Column)({ name: "provider_token", type: "varchar", nullable: true })
5077
+ (0, import_typeorm57.Column)({ name: "provider_token", type: "varchar", nullable: true })
4982
5078
  ], User.prototype, "providerToken", 2);
4983
5079
  __decorateClass([
4984
- (0, import_typeorm56.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
5080
+ (0, import_typeorm57.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
4985
5081
  ], User.prototype, "linkedInId", 2);
4986
5082
  __decorateClass([
4987
- (0, import_typeorm56.Column)({ name: "google_id", type: "varchar", nullable: true })
5083
+ (0, import_typeorm57.Column)({ name: "google_id", type: "varchar", nullable: true })
4988
5084
  ], User.prototype, "googleId", 2);
4989
5085
  __decorateClass([
4990
- (0, import_typeorm56.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
5086
+ (0, import_typeorm57.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
4991
5087
  ], User.prototype, "gitLabsId", 2);
4992
5088
  __decorateClass([
4993
- (0, import_typeorm56.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
5089
+ (0, import_typeorm57.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
4994
5090
  ], User.prototype, "onBoardedBy", 2);
4995
5091
  __decorateClass([
4996
- (0, import_typeorm56.OneToMany)(() => Otp, (otp) => otp.user)
5092
+ (0, import_typeorm57.OneToMany)(() => Otp, (otp) => otp.user)
4997
5093
  ], User.prototype, "otps", 2);
4998
5094
  __decorateClass([
4999
- (0, import_typeorm56.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
5095
+ (0, import_typeorm57.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
5000
5096
  ], User.prototype, "senseloafLogs", 2);
5001
5097
  __decorateClass([
5002
- (0, import_typeorm56.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
5098
+ (0, import_typeorm57.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
5003
5099
  ], User.prototype, "companyProfile", 2);
5004
5100
  __decorateClass([
5005
- (0, import_typeorm56.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
5101
+ (0, import_typeorm57.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
5006
5102
  ], User.prototype, "companySkills", 2);
5007
5103
  __decorateClass([
5008
- (0, import_typeorm56.OneToMany)(
5104
+ (0, import_typeorm57.OneToMany)(
5009
5105
  () => CompanyMemberRole,
5010
5106
  (companyMemberRole) => companyMemberRole.user
5011
5107
  )
5012
5108
  ], User.prototype, "companyMemberRoles", 2);
5013
5109
  __decorateClass([
5014
- (0, import_typeorm56.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
5110
+ (0, import_typeorm57.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
5015
5111
  ], User.prototype, "companyAiInterview", 2);
5016
5112
  __decorateClass([
5017
- (0, import_typeorm56.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
5113
+ (0, import_typeorm57.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
5018
5114
  ], User.prototype, "clientF2FInterviews", 2);
5019
5115
  __decorateClass([
5020
- (0, import_typeorm56.OneToOne)(
5116
+ (0, import_typeorm57.OneToOne)(
5021
5117
  () => FreelancerProfile,
5022
5118
  (freelancerProfile) => freelancerProfile.user
5023
5119
  )
5024
5120
  ], User.prototype, "freelancerProfile", 2);
5025
5121
  __decorateClass([
5026
- (0, import_typeorm56.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
5122
+ (0, import_typeorm57.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
5027
5123
  ], User.prototype, "freelancerResume", 2);
5028
5124
  __decorateClass([
5029
- (0, import_typeorm56.OneToMany)(
5125
+ (0, import_typeorm57.OneToMany)(
5030
5126
  () => FreelancerAssessment,
5031
5127
  (freelancerAssessment) => freelancerAssessment.user
5032
5128
  )
5033
5129
  ], User.prototype, "assessments", 2);
5034
5130
  __decorateClass([
5035
- (0, import_typeorm56.OneToMany)(
5131
+ (0, import_typeorm57.OneToMany)(
5036
5132
  () => AssessmentAnswer,
5037
5133
  (assessmentAnswer) => assessmentAnswer.user
5038
5134
  )
5039
5135
  ], User.prototype, "assessmentAnswers", 2);
5040
5136
  __decorateClass([
5041
- (0, import_typeorm56.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
5137
+ (0, import_typeorm57.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
5042
5138
  ], User.prototype, "freelancerSkills", 2);
5043
5139
  __decorateClass([
5044
- (0, import_typeorm56.OneToMany)(
5140
+ (0, import_typeorm57.OneToMany)(
5045
5141
  () => FreelancerExperience,
5046
5142
  (freelancerExperience) => freelancerExperience.user
5047
5143
  )
5048
5144
  ], User.prototype, "freelancerExperience", 2);
5049
5145
  __decorateClass([
5050
- (0, import_typeorm56.OneToMany)(
5146
+ (0, import_typeorm57.OneToMany)(
5051
5147
  () => FreelancerEducation,
5052
5148
  (freelancerEducation) => freelancerEducation.user
5053
5149
  )
5054
5150
  ], User.prototype, "freelancerEducation", 2);
5055
5151
  __decorateClass([
5056
- (0, import_typeorm56.OneToMany)(
5152
+ (0, import_typeorm57.OneToMany)(
5057
5153
  () => FreelancerProject,
5058
5154
  (freelancerProject) => freelancerProject.user
5059
5155
  )
5060
5156
  ], User.prototype, "freelancerProject", 2);
5061
5157
  __decorateClass([
5062
- (0, import_typeorm56.OneToMany)(
5158
+ (0, import_typeorm57.OneToMany)(
5063
5159
  () => FreelancerCaseStudy,
5064
5160
  (freelancerCaseStudy) => freelancerCaseStudy.user
5065
5161
  )
5066
5162
  ], User.prototype, "freelancerCaseStudy", 2);
5067
5163
  __decorateClass([
5068
- (0, import_typeorm56.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
5164
+ (0, import_typeorm57.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
5069
5165
  ], User.prototype, "freelancerTool", 2);
5070
5166
  __decorateClass([
5071
- (0, import_typeorm56.OneToMany)(
5167
+ (0, import_typeorm57.OneToMany)(
5072
5168
  () => FreelancerFramework,
5073
5169
  (freelancerFramework) => freelancerFramework.user
5074
5170
  )
5075
5171
  ], User.prototype, "freelancerFramework", 2);
5076
5172
  __decorateClass([
5077
- (0, import_typeorm56.OneToOne)(
5173
+ (0, import_typeorm57.OneToOne)(
5078
5174
  () => FreelancerDeclaration,
5079
5175
  (freelancerDeclaration) => freelancerDeclaration.user
5080
5176
  )
5081
5177
  ], User.prototype, "freelancerDeclaration", 2);
5082
5178
  __decorateClass([
5083
- (0, import_typeorm56.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
5179
+ (0, import_typeorm57.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
5084
5180
  ], User.prototype, "freelancerAiInterview", 2);
5085
5181
  __decorateClass([
5086
- (0, import_typeorm56.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
5182
+ (0, import_typeorm57.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
5087
5183
  ], User.prototype, "freelancerF2FInterviews", 2);
5088
5184
  __decorateClass([
5089
- (0, import_typeorm56.OneToMany)(
5185
+ (0, import_typeorm57.OneToMany)(
5090
5186
  () => F2fInterviewRescheduleRequest,
5091
5187
  (f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
5092
5188
  )
5093
5189
  ], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
5094
5190
  __decorateClass([
5095
- (0, import_typeorm56.OneToMany)(() => Job, (job) => job.user)
5191
+ (0, import_typeorm57.OneToMany)(() => Job, (job) => job.user)
5096
5192
  ], User.prototype, "jobs", 2);
5097
5193
  __decorateClass([
5098
- (0, import_typeorm56.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
5194
+ (0, import_typeorm57.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
5099
5195
  ], User.prototype, "jobApplications", 2);
5100
5196
  __decorateClass([
5101
- (0, import_typeorm56.OneToMany)(() => Interview, (interview) => interview.user)
5197
+ (0, import_typeorm57.OneToMany)(() => Interview, (interview) => interview.user)
5102
5198
  ], User.prototype, "interviews", 2);
5103
5199
  __decorateClass([
5104
- (0, import_typeorm56.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
5200
+ (0, import_typeorm57.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
5105
5201
  ], User.prototype, "bankDetail", 2);
5106
5202
  __decorateClass([
5107
- (0, import_typeorm56.OneToMany)(
5203
+ (0, import_typeorm57.OneToMany)(
5108
5204
  () => SystemPreference,
5109
5205
  (systemPreference) => systemPreference.user
5110
5206
  )
5111
5207
  ], User.prototype, "systemPreference", 2);
5112
5208
  __decorateClass([
5113
- (0, import_typeorm56.OneToMany)(() => Rating, (rating) => rating.reviewer)
5209
+ (0, import_typeorm57.OneToMany)(() => Rating, (rating) => rating.reviewer)
5114
5210
  ], User.prototype, "givenRatings", 2);
5115
5211
  __decorateClass([
5116
- (0, import_typeorm56.OneToMany)(() => Rating, (rating) => rating.reviewee)
5212
+ (0, import_typeorm57.OneToMany)(() => Rating, (rating) => rating.reviewee)
5117
5213
  ], User.prototype, "receivedRatings", 2);
5118
5214
  __decorateClass([
5119
- (0, import_typeorm56.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
5215
+ (0, import_typeorm57.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
5120
5216
  ], User.prototype, "adminUserRoles", 2);
5121
5217
  __decorateClass([
5122
- (0, import_typeorm56.OneToMany)(() => Contract, (contract) => contract.client)
5218
+ (0, import_typeorm57.OneToMany)(() => Contract, (contract) => contract.client)
5123
5219
  ], User.prototype, "clientContracts", 2);
5124
5220
  __decorateClass([
5125
- (0, import_typeorm56.OneToMany)(() => Contract, (contract) => contract.freelancer)
5221
+ (0, import_typeorm57.OneToMany)(() => Contract, (contract) => contract.freelancer)
5126
5222
  ], User.prototype, "freelancerContracts", 2);
5127
5223
  __decorateClass([
5128
- (0, import_typeorm56.OneToOne)(() => StripeWallet, (stripeWallet) => stripeWallet.user)
5224
+ (0, import_typeorm57.OneToOne)(() => StripeWallet, (stripeWallet) => stripeWallet.user)
5129
5225
  ], User.prototype, "stripeWallet", 2);
5130
5226
  __decorateClass([
5131
- (0, import_typeorm56.OneToOne)(() => Signature, (signature) => signature.user)
5227
+ (0, import_typeorm57.OneToOne)(() => Signature, (signature) => signature.user)
5132
5228
  ], User.prototype, "signatures", 2);
5133
5229
  __decorateClass([
5134
- (0, import_typeorm56.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
5230
+ (0, import_typeorm57.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
5135
5231
  ], User.prototype, "clientTimesheets", 2);
5136
5232
  __decorateClass([
5137
- (0, import_typeorm56.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
5233
+ (0, import_typeorm57.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
5138
5234
  ], User.prototype, "freelancerTimesheets", 2);
5139
5235
  __decorateClass([
5140
- (0, import_typeorm56.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
5236
+ (0, import_typeorm57.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
5141
5237
  ], User.prototype, "clientTimesheetLine", 2);
5142
5238
  __decorateClass([
5143
- (0, import_typeorm56.OneToMany)(() => Invoice, (invoice) => invoice.client)
5239
+ (0, import_typeorm57.OneToMany)(() => Invoice, (invoice) => invoice.client)
5144
5240
  ], User.prototype, "clientInvoice", 2);
5145
5241
  __decorateClass([
5146
- (0, import_typeorm56.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
5242
+ (0, import_typeorm57.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
5147
5243
  ], User.prototype, "freelancerTimesheetLine", 2);
5148
5244
  __decorateClass([
5149
- (0, import_typeorm56.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
5245
+ (0, import_typeorm57.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
5150
5246
  ], User.prototype, "freelancerInvoice", 2);
5151
5247
  __decorateClass([
5152
- (0, import_typeorm56.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
5248
+ (0, import_typeorm57.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
5153
5249
  ], User.prototype, "clientPreferencesGiven", 2);
5154
5250
  __decorateClass([
5155
- (0, import_typeorm56.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
5251
+ (0, import_typeorm57.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
5156
5252
  ], User.prototype, "clientPreferencesReceived", 2);
5253
+ __decorateClass([
5254
+ (0, import_typeorm57.OneToMany)(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
5255
+ ], User.prototype, "initiatedDisputes", 2);
5256
+ __decorateClass([
5257
+ (0, import_typeorm57.OneToMany)(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
5258
+ ], User.prototype, "respondentDisputes", 2);
5157
5259
  User = __decorateClass([
5158
- (0, import_typeorm56.Entity)("users")
5260
+ (0, import_typeorm57.Entity)("users")
5159
5261
  ], User);
5160
5262
 
5161
5263
  // src/entities/rating.entity.ts
@@ -5167,36 +5269,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
5167
5269
  var Rating = class extends BaseEntity {
5168
5270
  };
5169
5271
  __decorateClass([
5170
- (0, import_typeorm57.Column)({ name: "reviewer_id", type: "integer" }),
5171
- (0, import_typeorm57.Index)()
5272
+ (0, import_typeorm58.Column)({ name: "reviewer_id", type: "integer" }),
5273
+ (0, import_typeorm58.Index)()
5172
5274
  ], Rating.prototype, "reviewer_id", 2);
5173
5275
  __decorateClass([
5174
- (0, import_typeorm57.ManyToOne)(() => User, { onDelete: "CASCADE" }),
5175
- (0, import_typeorm57.JoinColumn)({ name: "reviewer_id" })
5276
+ (0, import_typeorm58.ManyToOne)(() => User, { onDelete: "CASCADE" }),
5277
+ (0, import_typeorm58.JoinColumn)({ name: "reviewer_id" })
5176
5278
  ], Rating.prototype, "reviewer", 2);
5177
5279
  __decorateClass([
5178
- (0, import_typeorm57.Column)({ name: "reviewee_id", type: "integer" }),
5179
- (0, import_typeorm57.Index)()
5280
+ (0, import_typeorm58.Column)({ name: "reviewee_id", type: "integer" }),
5281
+ (0, import_typeorm58.Index)()
5180
5282
  ], Rating.prototype, "reviewee_id", 2);
5181
5283
  __decorateClass([
5182
- (0, import_typeorm57.ManyToOne)(() => User, { onDelete: "CASCADE" }),
5183
- (0, import_typeorm57.JoinColumn)({ name: "reviewee_id" })
5284
+ (0, import_typeorm58.ManyToOne)(() => User, { onDelete: "CASCADE" }),
5285
+ (0, import_typeorm58.JoinColumn)({ name: "reviewee_id" })
5184
5286
  ], Rating.prototype, "reviewee", 2);
5185
5287
  __decorateClass([
5186
- (0, import_typeorm57.Column)({
5288
+ (0, import_typeorm58.Column)({
5187
5289
  type: "enum",
5188
5290
  enum: RatingTypeEnum,
5189
5291
  nullable: true
5190
5292
  })
5191
5293
  ], Rating.prototype, "ratingType", 2);
5192
5294
  __decorateClass([
5193
- (0, import_typeorm57.Column)({ type: "integer", nullable: true })
5295
+ (0, import_typeorm58.Column)({ type: "integer", nullable: true })
5194
5296
  ], Rating.prototype, "rating", 2);
5195
5297
  __decorateClass([
5196
- (0, import_typeorm57.Column)({ type: "text", nullable: true })
5298
+ (0, import_typeorm58.Column)({ type: "text", nullable: true })
5197
5299
  ], Rating.prototype, "review", 2);
5198
5300
  Rating = __decorateClass([
5199
- (0, import_typeorm57.Entity)("ratings")
5301
+ (0, import_typeorm58.Entity)("ratings")
5200
5302
  ], Rating);
5201
5303
 
5202
5304
  // src/modules/rating/dto/add.rating.dto.ts
@@ -6894,11 +6996,11 @@ var NotificationRMQAdapter = (mode = "microservice") => {
6894
6996
  };
6895
6997
 
6896
6998
  // src/entities/sequence-generator.entity.ts
6897
- var import_typeorm58 = require("typeorm");
6999
+ var import_typeorm59 = require("typeorm");
6898
7000
  var SequenceGenerator = class extends BaseEntity {
6899
7001
  };
6900
7002
  __decorateClass([
6901
- (0, import_typeorm58.Column)({
7003
+ (0, import_typeorm59.Column)({
6902
7004
  name: "module",
6903
7005
  type: "varchar",
6904
7006
  length: 50,
@@ -6907,7 +7009,7 @@ __decorateClass([
6907
7009
  })
6908
7010
  ], SequenceGenerator.prototype, "module", 2);
6909
7011
  __decorateClass([
6910
- (0, import_typeorm58.Column)({
7012
+ (0, import_typeorm59.Column)({
6911
7013
  name: "prefix",
6912
7014
  type: "varchar",
6913
7015
  length: 10,
@@ -6916,7 +7018,7 @@ __decorateClass([
6916
7018
  })
6917
7019
  ], SequenceGenerator.prototype, "prefix", 2);
6918
7020
  __decorateClass([
6919
- (0, import_typeorm58.Column)({
7021
+ (0, import_typeorm59.Column)({
6920
7022
  name: "last_sequence",
6921
7023
  type: "int",
6922
7024
  nullable: false,
@@ -6924,7 +7026,7 @@ __decorateClass([
6924
7026
  })
6925
7027
  ], SequenceGenerator.prototype, "lastSequence", 2);
6926
7028
  __decorateClass([
6927
- (0, import_typeorm58.Column)({
7029
+ (0, import_typeorm59.Column)({
6928
7030
  name: "year",
6929
7031
  type: "int",
6930
7032
  nullable: true,
@@ -6932,11 +7034,11 @@ __decorateClass([
6932
7034
  })
6933
7035
  ], SequenceGenerator.prototype, "year", 2);
6934
7036
  SequenceGenerator = __decorateClass([
6935
- (0, import_typeorm58.Entity)("sequence_generators")
7037
+ (0, import_typeorm59.Entity)("sequence_generators")
6936
7038
  ], SequenceGenerator);
6937
7039
 
6938
7040
  // src/entities/question.entity.ts
6939
- var import_typeorm59 = require("typeorm");
7041
+ var import_typeorm60 = require("typeorm");
6940
7042
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
6941
7043
  QuestionFor2["CLIENT"] = "CLIENT";
6942
7044
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -6945,16 +7047,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
6945
7047
  var Question = class extends BaseEntity {
6946
7048
  };
6947
7049
  __decorateClass([
6948
- (0, import_typeorm59.Column)({ name: "question", type: "varchar" })
7050
+ (0, import_typeorm60.Column)({ name: "question", type: "varchar" })
6949
7051
  ], Question.prototype, "question", 2);
6950
7052
  __decorateClass([
6951
- (0, import_typeorm59.Column)({ name: "hint", type: "varchar", nullable: true })
7053
+ (0, import_typeorm60.Column)({ name: "hint", type: "varchar", nullable: true })
6952
7054
  ], Question.prototype, "hint", 2);
6953
7055
  __decorateClass([
6954
- (0, import_typeorm59.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
7056
+ (0, import_typeorm60.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6955
7057
  ], Question.prototype, "slug", 2);
6956
7058
  __decorateClass([
6957
- (0, import_typeorm59.Column)({
7059
+ (0, import_typeorm60.Column)({
6958
7060
  name: "question_for",
6959
7061
  type: "enum",
6960
7062
  enum: QuestionFor,
@@ -6962,117 +7064,117 @@ __decorateClass([
6962
7064
  })
6963
7065
  ], Question.prototype, "questionFor", 2);
6964
7066
  __decorateClass([
6965
- (0, import_typeorm59.Column)({ name: "type", type: "varchar", nullable: true })
7067
+ (0, import_typeorm60.Column)({ name: "type", type: "varchar", nullable: true })
6966
7068
  ], Question.prototype, "type", 2);
6967
7069
  __decorateClass([
6968
- (0, import_typeorm59.Column)({ name: "options", type: "jsonb", nullable: true })
7070
+ (0, import_typeorm60.Column)({ name: "options", type: "jsonb", nullable: true })
6969
7071
  ], Question.prototype, "options", 2);
6970
7072
  __decorateClass([
6971
- (0, import_typeorm59.Column)({ name: "is_active", type: "boolean", default: false })
7073
+ (0, import_typeorm60.Column)({ name: "is_active", type: "boolean", default: false })
6972
7074
  ], Question.prototype, "isActive", 2);
6973
7075
  Question = __decorateClass([
6974
- (0, import_typeorm59.Entity)("questions")
7076
+ (0, import_typeorm60.Entity)("questions")
6975
7077
  ], Question);
6976
7078
 
6977
7079
  // src/entities/skill.entity.ts
6978
- var import_typeorm60 = require("typeorm");
7080
+ var import_typeorm61 = require("typeorm");
6979
7081
  var Skill = class extends BaseEntity {
6980
7082
  };
6981
7083
  __decorateClass([
6982
- (0, import_typeorm60.Column)({ name: "name", type: "varchar", nullable: true })
7084
+ (0, import_typeorm61.Column)({ name: "name", type: "varchar", nullable: true })
6983
7085
  ], Skill.prototype, "name", 2);
6984
7086
  __decorateClass([
6985
- (0, import_typeorm60.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
7087
+ (0, import_typeorm61.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6986
7088
  ], Skill.prototype, "slug", 2);
6987
7089
  __decorateClass([
6988
- (0, import_typeorm60.Column)({ name: "is_active", type: "boolean", default: false })
7090
+ (0, import_typeorm61.Column)({ name: "is_active", type: "boolean", default: false })
6989
7091
  ], Skill.prototype, "isActive", 2);
6990
7092
  Skill = __decorateClass([
6991
- (0, import_typeorm60.Entity)("skills")
7093
+ (0, import_typeorm61.Entity)("skills")
6992
7094
  ], Skill);
6993
7095
 
6994
7096
  // src/entities/job-role.entity.ts
6995
- var import_typeorm61 = require("typeorm");
7097
+ var import_typeorm62 = require("typeorm");
6996
7098
  var JobRoles = class extends BaseEntity {
6997
7099
  };
6998
7100
  __decorateClass([
6999
- (0, import_typeorm61.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
7101
+ (0, import_typeorm62.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
7000
7102
  ], JobRoles.prototype, "slug", 2);
7001
7103
  __decorateClass([
7002
- (0, import_typeorm61.Column)({ name: "name", type: "varchar", nullable: true })
7104
+ (0, import_typeorm62.Column)({ name: "name", type: "varchar", nullable: true })
7003
7105
  ], JobRoles.prototype, "name", 2);
7004
7106
  __decorateClass([
7005
- (0, import_typeorm61.Column)({ name: "is_active", type: "boolean", default: true })
7107
+ (0, import_typeorm62.Column)({ name: "is_active", type: "boolean", default: true })
7006
7108
  ], JobRoles.prototype, "isActive", 2);
7007
7109
  JobRoles = __decorateClass([
7008
- (0, import_typeorm61.Entity)("job_roles")
7110
+ (0, import_typeorm62.Entity)("job_roles")
7009
7111
  ], JobRoles);
7010
7112
 
7011
7113
  // src/entities/plan.entity.ts
7012
- var import_typeorm63 = require("typeorm");
7114
+ var import_typeorm64 = require("typeorm");
7013
7115
 
7014
7116
  // src/entities/feature.entity.ts
7015
- var import_typeorm62 = require("typeorm");
7117
+ var import_typeorm63 = require("typeorm");
7016
7118
  var Feature = class extends BaseEntity {
7017
7119
  };
7018
7120
  __decorateClass([
7019
- (0, import_typeorm62.Column)({ name: "name", type: "varchar", unique: true })
7121
+ (0, import_typeorm63.Column)({ name: "name", type: "varchar", unique: true })
7020
7122
  ], Feature.prototype, "name", 2);
7021
7123
  __decorateClass([
7022
- (0, import_typeorm62.ManyToMany)(() => Plan, (plan) => plan.features)
7124
+ (0, import_typeorm63.ManyToMany)(() => Plan, (plan) => plan.features)
7023
7125
  ], Feature.prototype, "plans", 2);
7024
7126
  Feature = __decorateClass([
7025
- (0, import_typeorm62.Entity)("features")
7127
+ (0, import_typeorm63.Entity)("features")
7026
7128
  ], Feature);
7027
7129
 
7028
7130
  // src/entities/plan.entity.ts
7029
7131
  var Plan = class extends BaseEntity {
7030
7132
  };
7031
7133
  __decorateClass([
7032
- (0, import_typeorm63.Column)({ name: "name", type: "varchar", unique: true })
7134
+ (0, import_typeorm64.Column)({ name: "name", type: "varchar", unique: true })
7033
7135
  ], Plan.prototype, "name", 2);
7034
7136
  __decorateClass([
7035
- (0, import_typeorm63.Column)({ name: "description", type: "varchar", nullable: true })
7137
+ (0, import_typeorm64.Column)({ name: "description", type: "varchar", nullable: true })
7036
7138
  ], Plan.prototype, "description", 2);
7037
7139
  __decorateClass([
7038
- (0, import_typeorm63.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
7140
+ (0, import_typeorm64.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
7039
7141
  ], Plan.prototype, "price", 2);
7040
7142
  __decorateClass([
7041
- (0, import_typeorm63.Column)({ name: "billing_period", type: "varchar" })
7143
+ (0, import_typeorm64.Column)({ name: "billing_period", type: "varchar" })
7042
7144
  ], Plan.prototype, "billingPeriod", 2);
7043
7145
  __decorateClass([
7044
- (0, import_typeorm63.Column)({ name: "is_current", type: "boolean", default: false })
7146
+ (0, import_typeorm64.Column)({ name: "is_current", type: "boolean", default: false })
7045
7147
  ], Plan.prototype, "isCurrent", 2);
7046
7148
  __decorateClass([
7047
- (0, import_typeorm63.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
7048
- (0, import_typeorm63.JoinTable)()
7149
+ (0, import_typeorm64.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
7150
+ (0, import_typeorm64.JoinTable)()
7049
7151
  ], Plan.prototype, "features", 2);
7050
7152
  Plan = __decorateClass([
7051
- (0, import_typeorm63.Entity)("plans")
7153
+ (0, import_typeorm64.Entity)("plans")
7052
7154
  ], Plan);
7053
7155
 
7054
7156
  // src/entities/cms.entity.ts
7055
- var import_typeorm64 = require("typeorm");
7157
+ var import_typeorm65 = require("typeorm");
7056
7158
  var Cms = class extends BaseEntity {
7057
7159
  };
7058
7160
  __decorateClass([
7059
- (0, import_typeorm64.Column)({ name: "title", type: "varchar", nullable: true })
7161
+ (0, import_typeorm65.Column)({ name: "title", type: "varchar", nullable: true })
7060
7162
  ], Cms.prototype, "title", 2);
7061
7163
  __decorateClass([
7062
- (0, import_typeorm64.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
7164
+ (0, import_typeorm65.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
7063
7165
  ], Cms.prototype, "slug", 2);
7064
7166
  __decorateClass([
7065
- (0, import_typeorm64.Column)({ name: "content", type: "varchar", nullable: true })
7167
+ (0, import_typeorm65.Column)({ name: "content", type: "varchar", nullable: true })
7066
7168
  ], Cms.prototype, "content", 2);
7067
7169
  __decorateClass([
7068
- (0, import_typeorm64.Column)({ name: "is_active", type: "boolean", default: true })
7170
+ (0, import_typeorm65.Column)({ name: "is_active", type: "boolean", default: true })
7069
7171
  ], Cms.prototype, "isActive", 2);
7070
7172
  Cms = __decorateClass([
7071
- (0, import_typeorm64.Entity)("cms")
7173
+ (0, import_typeorm65.Entity)("cms")
7072
7174
  ], Cms);
7073
7175
 
7074
7176
  // src/entities/lead.entity.ts
7075
- var import_typeorm65 = require("typeorm");
7177
+ var import_typeorm66 = require("typeorm");
7076
7178
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
7077
7179
  CategoryEmum2["BUSINESS"] = "BUSINESS";
7078
7180
  CategoryEmum2["FREELANCER"] = "FREELANCER";
@@ -7081,22 +7183,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
7081
7183
  var Lead = class extends BaseEntity {
7082
7184
  };
7083
7185
  __decorateClass([
7084
- (0, import_typeorm65.Column)({ name: "name", type: "varchar", nullable: true })
7186
+ (0, import_typeorm66.Column)({ name: "name", type: "varchar", nullable: true })
7085
7187
  ], Lead.prototype, "name", 2);
7086
7188
  __decorateClass([
7087
- (0, import_typeorm65.Column)({ name: "mobile_code", type: "varchar", nullable: true })
7189
+ (0, import_typeorm66.Column)({ name: "mobile_code", type: "varchar", nullable: true })
7088
7190
  ], Lead.prototype, "mobileCode", 2);
7089
7191
  __decorateClass([
7090
- (0, import_typeorm65.Column)({ name: "mobile", type: "varchar", nullable: true })
7192
+ (0, import_typeorm66.Column)({ name: "mobile", type: "varchar", nullable: true })
7091
7193
  ], Lead.prototype, "mobile", 2);
7092
7194
  __decorateClass([
7093
- (0, import_typeorm65.Column)({ name: "email", type: "varchar", nullable: true })
7195
+ (0, import_typeorm66.Column)({ name: "email", type: "varchar", nullable: true })
7094
7196
  ], Lead.prototype, "email", 2);
7095
7197
  __decorateClass([
7096
- (0, import_typeorm65.Column)({ name: "description", type: "varchar", nullable: true })
7198
+ (0, import_typeorm66.Column)({ name: "description", type: "varchar", nullable: true })
7097
7199
  ], Lead.prototype, "description", 2);
7098
7200
  __decorateClass([
7099
- (0, import_typeorm65.Column)({
7201
+ (0, import_typeorm66.Column)({
7100
7202
  name: "category",
7101
7203
  type: "enum",
7102
7204
  enum: CategoryEmum,
@@ -7104,129 +7206,129 @@ __decorateClass([
7104
7206
  })
7105
7207
  ], Lead.prototype, "category", 2);
7106
7208
  Lead = __decorateClass([
7107
- (0, import_typeorm65.Entity)("leads")
7209
+ (0, import_typeorm66.Entity)("leads")
7108
7210
  ], Lead);
7109
7211
 
7110
7212
  // src/entities/job-freelancer-recommendation.entity.ts
7111
- var import_typeorm66 = require("typeorm");
7213
+ var import_typeorm67 = require("typeorm");
7112
7214
  var JobFreelancerRecommendation = class {
7113
7215
  };
7114
7216
  __decorateClass([
7115
- (0, import_typeorm66.ViewColumn)({ name: "job_id" })
7217
+ (0, import_typeorm67.ViewColumn)({ name: "job_id" })
7116
7218
  ], JobFreelancerRecommendation.prototype, "jobId", 2);
7117
7219
  __decorateClass([
7118
- (0, import_typeorm66.ViewColumn)({ name: "job_uuid" })
7220
+ (0, import_typeorm67.ViewColumn)({ name: "job_uuid" })
7119
7221
  ], JobFreelancerRecommendation.prototype, "jobUuid", 2);
7120
7222
  __decorateClass([
7121
- (0, import_typeorm66.ViewColumn)({ name: "job_unique_id" })
7223
+ (0, import_typeorm67.ViewColumn)({ name: "job_unique_id" })
7122
7224
  ], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
7123
7225
  __decorateClass([
7124
- (0, import_typeorm66.ViewColumn)({ name: "job_role" })
7226
+ (0, import_typeorm67.ViewColumn)({ name: "job_role" })
7125
7227
  ], JobFreelancerRecommendation.prototype, "jobRole", 2);
7126
7228
  __decorateClass([
7127
- (0, import_typeorm66.ViewColumn)({ name: "job_openings" })
7229
+ (0, import_typeorm67.ViewColumn)({ name: "job_openings" })
7128
7230
  ], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
7129
7231
  __decorateClass([
7130
- (0, import_typeorm66.ViewColumn)({ name: "job_location" })
7232
+ (0, import_typeorm67.ViewColumn)({ name: "job_location" })
7131
7233
  ], JobFreelancerRecommendation.prototype, "jobLocation", 2);
7132
7234
  __decorateClass([
7133
- (0, import_typeorm66.ViewColumn)({ name: "job_currency" })
7235
+ (0, import_typeorm67.ViewColumn)({ name: "job_currency" })
7134
7236
  ], JobFreelancerRecommendation.prototype, "jobCurrency", 2);
7135
7237
  __decorateClass([
7136
- (0, import_typeorm66.ViewColumn)({ name: "job_salary_from" })
7238
+ (0, import_typeorm67.ViewColumn)({ name: "job_salary_from" })
7137
7239
  ], JobFreelancerRecommendation.prototype, "jobSalaryFrom", 2);
7138
7240
  __decorateClass([
7139
- (0, import_typeorm66.ViewColumn)({ name: "job_salary_to" })
7241
+ (0, import_typeorm67.ViewColumn)({ name: "job_salary_to" })
7140
7242
  ], JobFreelancerRecommendation.prototype, "jobSalaryTo", 2);
7141
7243
  __decorateClass([
7142
- (0, import_typeorm66.ViewColumn)({ name: "job_employment_type" })
7244
+ (0, import_typeorm67.ViewColumn)({ name: "job_employment_type" })
7143
7245
  ], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
7144
7246
  __decorateClass([
7145
- (0, import_typeorm66.ViewColumn)({ name: "application_received" })
7247
+ (0, import_typeorm67.ViewColumn)({ name: "application_received" })
7146
7248
  ], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
7147
7249
  __decorateClass([
7148
- (0, import_typeorm66.ViewColumn)({ name: "job_posted_at" })
7250
+ (0, import_typeorm67.ViewColumn)({ name: "job_posted_at" })
7149
7251
  ], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
7150
7252
  __decorateClass([
7151
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_id" })
7253
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_id" })
7152
7254
  ], JobFreelancerRecommendation.prototype, "freelancerId", 2);
7153
7255
  __decorateClass([
7154
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_uuid" })
7256
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_uuid" })
7155
7257
  ], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
7156
7258
  __decorateClass([
7157
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_unique_id" })
7259
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_unique_id" })
7158
7260
  ], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
7159
7261
  __decorateClass([
7160
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_first_name" })
7262
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_first_name" })
7161
7263
  ], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
7162
7264
  __decorateClass([
7163
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_last_name" })
7265
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_last_name" })
7164
7266
  ], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
7165
7267
  __decorateClass([
7166
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_email" })
7268
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_email" })
7167
7269
  ], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
7168
7270
  __decorateClass([
7169
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_profile_picture" })
7271
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_profile_picture" })
7170
7272
  ], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
7171
7273
  __decorateClass([
7172
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_is_social" })
7274
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_is_social" })
7173
7275
  ], JobFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
7174
7276
  __decorateClass([
7175
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_created_at" })
7277
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_created_at" })
7176
7278
  ], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
7177
7279
  __decorateClass([
7178
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_designation" })
7280
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_designation" })
7179
7281
  ], JobFreelancerRecommendation.prototype, "freelancerDesignation", 2);
7180
7282
  __decorateClass([
7181
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_experience" })
7283
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_experience" })
7182
7284
  ], JobFreelancerRecommendation.prototype, "freelancerExperience", 2);
7183
7285
  __decorateClass([
7184
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_expertshub_verified" })
7286
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_expertshub_verified" })
7185
7287
  ], JobFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
7186
7288
  __decorateClass([
7187
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_hourly_compensation" })
7289
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_hourly_compensation" })
7188
7290
  ], JobFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
7189
7291
  __decorateClass([
7190
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_country_name" })
7292
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_country_name" })
7191
7293
  ], JobFreelancerRecommendation.prototype, "freelancerCountryName", 2);
7192
7294
  __decorateClass([
7193
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_country_iso_code" })
7295
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_country_iso_code" })
7194
7296
  ], JobFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
7195
7297
  __decorateClass([
7196
- (0, import_typeorm66.ViewColumn)({ name: "client_id" })
7298
+ (0, import_typeorm67.ViewColumn)({ name: "client_id" })
7197
7299
  ], JobFreelancerRecommendation.prototype, "clientId", 2);
7198
7300
  __decorateClass([
7199
- (0, import_typeorm66.ViewColumn)({ name: "client_uuid" })
7301
+ (0, import_typeorm67.ViewColumn)({ name: "client_uuid" })
7200
7302
  ], JobFreelancerRecommendation.prototype, "clientUuid", 2);
7201
7303
  __decorateClass([
7202
- (0, import_typeorm66.ViewColumn)({ name: "client_first_name" })
7304
+ (0, import_typeorm67.ViewColumn)({ name: "client_first_name" })
7203
7305
  ], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
7204
7306
  __decorateClass([
7205
- (0, import_typeorm66.ViewColumn)({ name: "client_last_name" })
7307
+ (0, import_typeorm67.ViewColumn)({ name: "client_last_name" })
7206
7308
  ], JobFreelancerRecommendation.prototype, "clientLastName", 2);
7207
7309
  __decorateClass([
7208
- (0, import_typeorm66.ViewColumn)({ name: "client_email" })
7310
+ (0, import_typeorm67.ViewColumn)({ name: "client_email" })
7209
7311
  ], JobFreelancerRecommendation.prototype, "clientEmail", 2);
7210
7312
  __decorateClass([
7211
- (0, import_typeorm66.ViewColumn)({ name: "client_company_logo" })
7313
+ (0, import_typeorm67.ViewColumn)({ name: "client_company_logo" })
7212
7314
  ], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
7213
7315
  __decorateClass([
7214
- (0, import_typeorm66.ViewColumn)({ name: "client_company_name" })
7316
+ (0, import_typeorm67.ViewColumn)({ name: "client_company_name" })
7215
7317
  ], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
7216
7318
  __decorateClass([
7217
- (0, import_typeorm66.ViewColumn)({ name: "matching_skills" })
7319
+ (0, import_typeorm67.ViewColumn)({ name: "matching_skills" })
7218
7320
  ], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
7219
7321
  __decorateClass([
7220
- (0, import_typeorm66.ViewColumn)({ name: "matching_skills_count" })
7322
+ (0, import_typeorm67.ViewColumn)({ name: "matching_skills_count" })
7221
7323
  ], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
7222
7324
  __decorateClass([
7223
- (0, import_typeorm66.ViewColumn)({ name: "required_skills" })
7325
+ (0, import_typeorm67.ViewColumn)({ name: "required_skills" })
7224
7326
  ], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
7225
7327
  __decorateClass([
7226
- (0, import_typeorm66.ViewColumn)({ name: "required_skills_count" })
7328
+ (0, import_typeorm67.ViewColumn)({ name: "required_skills_count" })
7227
7329
  ], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
7228
7330
  JobFreelancerRecommendation = __decorateClass([
7229
- (0, import_typeorm66.ViewEntity)({
7331
+ (0, import_typeorm67.ViewEntity)({
7230
7332
  name: "job_freelancer_recommendations",
7231
7333
  materialized: true,
7232
7334
  synchronize: false
@@ -7235,32 +7337,32 @@ JobFreelancerRecommendation = __decorateClass([
7235
7337
  ], JobFreelancerRecommendation);
7236
7338
 
7237
7339
  // src/entities/job-freelancer-recommendation-v2.entity.ts
7238
- var import_typeorm67 = require("typeorm");
7340
+ var import_typeorm68 = require("typeorm");
7239
7341
  var JobFreelancerRecommendationV2 = class {
7240
7342
  };
7241
7343
  __decorateClass([
7242
- (0, import_typeorm67.ViewColumn)({ name: "job_id" })
7344
+ (0, import_typeorm68.ViewColumn)({ name: "job_id" })
7243
7345
  ], JobFreelancerRecommendationV2.prototype, "jobId", 2);
7244
7346
  __decorateClass([
7245
- (0, import_typeorm67.ViewColumn)({ name: "job_owner_id" })
7347
+ (0, import_typeorm68.ViewColumn)({ name: "job_owner_id" })
7246
7348
  ], JobFreelancerRecommendationV2.prototype, "jobOwnerId", 2);
7247
7349
  __decorateClass([
7248
- (0, import_typeorm67.ViewColumn)({ name: "freelancer_id" })
7350
+ (0, import_typeorm68.ViewColumn)({ name: "freelancer_id" })
7249
7351
  ], JobFreelancerRecommendationV2.prototype, "freelancerId", 2);
7250
7352
  __decorateClass([
7251
- (0, import_typeorm67.ViewColumn)({ name: "matching_skills" })
7353
+ (0, import_typeorm68.ViewColumn)({ name: "matching_skills" })
7252
7354
  ], JobFreelancerRecommendationV2.prototype, "matchingSkills", 2);
7253
7355
  __decorateClass([
7254
- (0, import_typeorm67.ViewColumn)({ name: "matching_skills_count" })
7356
+ (0, import_typeorm68.ViewColumn)({ name: "matching_skills_count" })
7255
7357
  ], JobFreelancerRecommendationV2.prototype, "matchingSkillsCount", 2);
7256
7358
  __decorateClass([
7257
- (0, import_typeorm67.ViewColumn)({ name: "required_skills" })
7359
+ (0, import_typeorm68.ViewColumn)({ name: "required_skills" })
7258
7360
  ], JobFreelancerRecommendationV2.prototype, "requiredSkills", 2);
7259
7361
  __decorateClass([
7260
- (0, import_typeorm67.ViewColumn)({ name: "required_skills_count" })
7362
+ (0, import_typeorm68.ViewColumn)({ name: "required_skills_count" })
7261
7363
  ], JobFreelancerRecommendationV2.prototype, "requiredSkillsCount", 2);
7262
7364
  JobFreelancerRecommendationV2 = __decorateClass([
7263
- (0, import_typeorm67.ViewEntity)({
7365
+ (0, import_typeorm68.ViewEntity)({
7264
7366
  name: "job_freelancer_recommendations_v2",
7265
7367
  materialized: true,
7266
7368
  synchronize: false
@@ -7269,74 +7371,74 @@ JobFreelancerRecommendationV2 = __decorateClass([
7269
7371
  ], JobFreelancerRecommendationV2);
7270
7372
 
7271
7373
  // src/entities/client-freelancer-recommendation.entity.ts
7272
- var import_typeorm68 = require("typeorm");
7374
+ var import_typeorm69 = require("typeorm");
7273
7375
  var ClientFreelancerRecommendation = class {
7274
7376
  };
7275
7377
  __decorateClass([
7276
- (0, import_typeorm68.ViewColumn)({ name: "client_id" })
7378
+ (0, import_typeorm69.ViewColumn)({ name: "client_id" })
7277
7379
  ], ClientFreelancerRecommendation.prototype, "clientId", 2);
7278
7380
  __decorateClass([
7279
- (0, import_typeorm68.ViewColumn)({ name: "client_uuid" })
7381
+ (0, import_typeorm69.ViewColumn)({ name: "client_uuid" })
7280
7382
  ], ClientFreelancerRecommendation.prototype, "clientUuid", 2);
7281
7383
  __decorateClass([
7282
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_id" })
7384
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_id" })
7283
7385
  ], ClientFreelancerRecommendation.prototype, "freelancerId", 2);
7284
7386
  __decorateClass([
7285
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_uuid" })
7387
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_uuid" })
7286
7388
  ], ClientFreelancerRecommendation.prototype, "freelancerUuid", 2);
7287
7389
  __decorateClass([
7288
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_unique_id" })
7390
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_unique_id" })
7289
7391
  ], ClientFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
7290
7392
  __decorateClass([
7291
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_first_name" })
7393
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_first_name" })
7292
7394
  ], ClientFreelancerRecommendation.prototype, "freelancerFirstName", 2);
7293
7395
  __decorateClass([
7294
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_last_name" })
7396
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_last_name" })
7295
7397
  ], ClientFreelancerRecommendation.prototype, "freelancerLastName", 2);
7296
7398
  __decorateClass([
7297
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_email" })
7399
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_email" })
7298
7400
  ], ClientFreelancerRecommendation.prototype, "freelancerEmail", 2);
7299
7401
  __decorateClass([
7300
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_profile_picture" })
7402
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_profile_picture" })
7301
7403
  ], ClientFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
7302
7404
  __decorateClass([
7303
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_is_social" })
7405
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_is_social" })
7304
7406
  ], ClientFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
7305
7407
  __decorateClass([
7306
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_created_at" })
7408
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_created_at" })
7307
7409
  ], ClientFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
7308
7410
  __decorateClass([
7309
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_designation" })
7411
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_designation" })
7310
7412
  ], ClientFreelancerRecommendation.prototype, "freelancerDesignation", 2);
7311
7413
  __decorateClass([
7312
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_experience" })
7414
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_experience" })
7313
7415
  ], ClientFreelancerRecommendation.prototype, "freelancerExperience", 2);
7314
7416
  __decorateClass([
7315
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_expertshub_verified" })
7417
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_expertshub_verified" })
7316
7418
  ], ClientFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
7317
7419
  __decorateClass([
7318
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_hourly_compensation" })
7420
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_hourly_compensation" })
7319
7421
  ], ClientFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
7320
7422
  __decorateClass([
7321
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_country_name" })
7423
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_country_name" })
7322
7424
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryName", 2);
7323
7425
  __decorateClass([
7324
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_country_iso_code" })
7426
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_country_iso_code" })
7325
7427
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
7326
7428
  __decorateClass([
7327
- (0, import_typeorm68.ViewColumn)({ name: "matching_skills" })
7429
+ (0, import_typeorm69.ViewColumn)({ name: "matching_skills" })
7328
7430
  ], ClientFreelancerRecommendation.prototype, "matchingSkills", 2);
7329
7431
  __decorateClass([
7330
- (0, import_typeorm68.ViewColumn)({ name: "matching_skills_count" })
7432
+ (0, import_typeorm69.ViewColumn)({ name: "matching_skills_count" })
7331
7433
  ], ClientFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
7332
7434
  __decorateClass([
7333
- (0, import_typeorm68.ViewColumn)({ name: "required_skills" })
7435
+ (0, import_typeorm69.ViewColumn)({ name: "required_skills" })
7334
7436
  ], ClientFreelancerRecommendation.prototype, "requiredSkills", 2);
7335
7437
  __decorateClass([
7336
- (0, import_typeorm68.ViewColumn)({ name: "required_skills_count" })
7438
+ (0, import_typeorm69.ViewColumn)({ name: "required_skills_count" })
7337
7439
  ], ClientFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
7338
7440
  ClientFreelancerRecommendation = __decorateClass([
7339
- (0, import_typeorm68.ViewEntity)({
7441
+ (0, import_typeorm69.ViewEntity)({
7340
7442
  name: "client_freelancer_recommendations",
7341
7443
  materialized: true,
7342
7444
  synchronize: false
@@ -7345,7 +7447,7 @@ ClientFreelancerRecommendation = __decorateClass([
7345
7447
  ], ClientFreelancerRecommendation);
7346
7448
 
7347
7449
  // src/entities/commission.entity.ts
7348
- var import_typeorm69 = require("typeorm");
7450
+ var import_typeorm70 = require("typeorm");
7349
7451
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
7350
7452
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
7351
7453
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -7354,7 +7456,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
7354
7456
  var Commission = class extends BaseEntity {
7355
7457
  };
7356
7458
  __decorateClass([
7357
- (0, import_typeorm69.Column)({
7459
+ (0, import_typeorm70.Column)({
7358
7460
  name: "freelancer_commission_type",
7359
7461
  type: "enum",
7360
7462
  enum: CommissionTypeEnum,
@@ -7362,10 +7464,10 @@ __decorateClass([
7362
7464
  })
7363
7465
  ], Commission.prototype, "freelancerCommissionType", 2);
7364
7466
  __decorateClass([
7365
- (0, import_typeorm69.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
7467
+ (0, import_typeorm70.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
7366
7468
  ], Commission.prototype, "freelancerCommission", 2);
7367
7469
  __decorateClass([
7368
- (0, import_typeorm69.Column)({
7470
+ (0, import_typeorm70.Column)({
7369
7471
  name: "client_commission_type",
7370
7472
  type: "enum",
7371
7473
  enum: CommissionTypeEnum,
@@ -7373,66 +7475,66 @@ __decorateClass([
7373
7475
  })
7374
7476
  ], Commission.prototype, "clientCommissionType", 2);
7375
7477
  __decorateClass([
7376
- (0, import_typeorm69.Column)({ name: "client_commission", type: "integer", default: 0 })
7478
+ (0, import_typeorm70.Column)({ name: "client_commission", type: "integer", default: 0 })
7377
7479
  ], Commission.prototype, "clientCommission", 2);
7378
7480
  Commission = __decorateClass([
7379
- (0, import_typeorm69.Entity)("commissions")
7481
+ (0, import_typeorm70.Entity)("commissions")
7380
7482
  ], Commission);
7381
7483
 
7382
7484
  // src/entities/calendly-meeting-log.entity.ts
7383
- var import_typeorm70 = require("typeorm");
7485
+ var import_typeorm71 = require("typeorm");
7384
7486
  var CalendlyMeetingLog = class extends BaseEntity {
7385
7487
  };
7386
7488
  __decorateClass([
7387
- (0, import_typeorm70.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
7388
- (0, import_typeorm70.Index)()
7489
+ (0, import_typeorm71.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
7490
+ (0, import_typeorm71.Index)()
7389
7491
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
7390
7492
  __decorateClass([
7391
- (0, import_typeorm70.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
7493
+ (0, import_typeorm71.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
7392
7494
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
7393
7495
  __decorateClass([
7394
- (0, import_typeorm70.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7496
+ (0, import_typeorm71.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7395
7497
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
7396
7498
  CalendlyMeetingLog = __decorateClass([
7397
- (0, import_typeorm70.Entity)("calendly_meeting_logs")
7499
+ (0, import_typeorm71.Entity)("calendly_meeting_logs")
7398
7500
  ], CalendlyMeetingLog);
7399
7501
 
7400
7502
  // src/entities/zoom-meeting-log.entity.ts
7401
- var import_typeorm71 = require("typeorm");
7503
+ var import_typeorm72 = require("typeorm");
7402
7504
  var ZoomMeetingLog = class extends BaseEntity {
7403
7505
  };
7404
7506
  __decorateClass([
7405
- (0, import_typeorm71.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
7406
- (0, import_typeorm71.Index)()
7507
+ (0, import_typeorm72.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
7508
+ (0, import_typeorm72.Index)()
7407
7509
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
7408
7510
  __decorateClass([
7409
- (0, import_typeorm71.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
7511
+ (0, import_typeorm72.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
7410
7512
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
7411
7513
  __decorateClass([
7412
- (0, import_typeorm71.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7514
+ (0, import_typeorm72.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7413
7515
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
7414
7516
  ZoomMeetingLog = __decorateClass([
7415
- (0, import_typeorm71.Entity)("zoom_meeting_logs")
7517
+ (0, import_typeorm72.Entity)("zoom_meeting_logs")
7416
7518
  ], ZoomMeetingLog);
7417
7519
 
7418
7520
  // src/entities/stripe-logs.entity.ts
7419
- var import_typeorm72 = require("typeorm");
7521
+ var import_typeorm73 = require("typeorm");
7420
7522
  var StripeLog = class extends BaseEntity {
7421
7523
  };
7422
7524
  __decorateClass([
7423
- (0, import_typeorm72.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
7525
+ (0, import_typeorm73.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
7424
7526
  ], StripeLog.prototype, "stripeEventId", 2);
7425
7527
  __decorateClass([
7426
- (0, import_typeorm72.Column)({ name: "event_type", type: "varchar", nullable: true })
7528
+ (0, import_typeorm73.Column)({ name: "event_type", type: "varchar", nullable: true })
7427
7529
  ], StripeLog.prototype, "eventType", 2);
7428
7530
  __decorateClass([
7429
- (0, import_typeorm72.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
7531
+ (0, import_typeorm73.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
7430
7532
  ], StripeLog.prototype, "stripeAccountId", 2);
7431
7533
  __decorateClass([
7432
- (0, import_typeorm72.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7534
+ (0, import_typeorm73.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7433
7535
  ], StripeLog.prototype, "rawWebhookData", 2);
7434
7536
  StripeLog = __decorateClass([
7435
- (0, import_typeorm72.Entity)("stripe_logs")
7537
+ (0, import_typeorm73.Entity)("stripe_logs")
7436
7538
  ], StripeLog);
7437
7539
  // Annotate the CommonJS export names for ESM import in node:
7438
7540
  0 && (module.exports = {
@@ -7519,6 +7621,8 @@ StripeLog = __decorateClass([
7519
7621
  CreateQuestionDto,
7520
7622
  CreateRatingDto,
7521
7623
  CreateSubAdminDto,
7624
+ Dispute,
7625
+ DisputeStatusEnum,
7522
7626
  DocumentType,
7523
7627
  DocumentTypeEnum,
7524
7628
  DurationTypeEnum,
@@ -7577,7 +7681,9 @@ StripeLog = __decorateClass([
7577
7681
  InterviewSkill,
7578
7682
  InterviewStatusEnum,
7579
7683
  Invoice,
7684
+ InvoicePaymentStatusEnum,
7580
7685
  InvoiceStatusEnum,
7686
+ InvoiceTypeEnum,
7581
7687
  JOB_PATTERN,
7582
7688
  JOB_ROLE_PATTERN,
7583
7689
  Job,