@experts_hub/shared 1.0.336 → 1.0.337

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
@@ -104,6 +104,8 @@ __export(index_exports, {
104
104
  EmploymentType: () => EmploymentType,
105
105
  ExperienceDto: () => ExperienceDto,
106
106
  F2FInterview: () => F2FInterview,
107
+ F2fInterviewRescheduleRequest: () => F2fInterviewRescheduleRequest,
108
+ F2fInterviewRescheduleRequestStatusEnum: () => F2fInterviewRescheduleRequestStatusEnum,
107
109
  F2fInterviewStatusEnum: () => F2fInterviewStatusEnum,
108
110
  FREELANCER_DECLARATION_PATTERN: () => FREELANCER_DECLARATION_PATTERN,
109
111
  FREELANCER_EDUCATION_PATTERN: () => FREELANCER_EDUCATION_PATTERN,
@@ -1522,10 +1524,10 @@ var RATING_PATTERN = {
1522
1524
  var import_class_validator40 = require("class-validator");
1523
1525
 
1524
1526
  // src/entities/rating.entity.ts
1525
- var import_typeorm46 = require("typeorm");
1527
+ var import_typeorm47 = require("typeorm");
1526
1528
 
1527
1529
  // src/entities/user.entity.ts
1528
- var import_typeorm45 = require("typeorm");
1530
+ var import_typeorm46 = require("typeorm");
1529
1531
 
1530
1532
  // src/entities/base.entity.ts
1531
1533
  var import_typeorm = require("typeorm");
@@ -2192,7 +2194,7 @@ CompanyProfile = __decorateClass([
2192
2194
  ], CompanyProfile);
2193
2195
 
2194
2196
  // src/entities/job.entity.ts
2195
- var import_typeorm20 = require("typeorm");
2197
+ var import_typeorm21 = require("typeorm");
2196
2198
 
2197
2199
  // src/entities/job-skill.entity.ts
2198
2200
  var import_typeorm10 = require("typeorm");
@@ -2330,7 +2332,7 @@ JobApplication = __decorateClass([
2330
2332
  ], JobApplication);
2331
2333
 
2332
2334
  // src/entities/interview.entity.ts
2333
- var import_typeorm18 = require("typeorm");
2335
+ var import_typeorm19 = require("typeorm");
2334
2336
 
2335
2337
  // src/entities/interview-skill.entity.ts
2336
2338
  var import_typeorm12 = require("typeorm");
@@ -2540,7 +2542,7 @@ AiInterview = __decorateClass([
2540
2542
  ], AiInterview);
2541
2543
 
2542
2544
  // src/entities/f2f-interview.entity.ts
2543
- var import_typeorm17 = require("typeorm");
2545
+ var import_typeorm18 = require("typeorm");
2544
2546
 
2545
2547
  // src/entities/calendly-meeting.entity.ts
2546
2548
  var import_typeorm16 = require("typeorm");
@@ -2583,6 +2585,48 @@ CalendlyMeeting = __decorateClass([
2583
2585
  (0, import_typeorm16.Unique)("UQ_calendly_meeting_time_email", ["inviteeEmail", "startTime", "eventName"])
2584
2586
  ], CalendlyMeeting);
2585
2587
 
2588
+ // src/entities/f2f-interview-reschedule-request.entity.ts
2589
+ var import_typeorm17 = require("typeorm");
2590
+ var F2fInterviewRescheduleRequestStatusEnum = /* @__PURE__ */ ((F2fInterviewRescheduleRequestStatusEnum2) => {
2591
+ F2fInterviewRescheduleRequestStatusEnum2["PENDING"] = "PENDING";
2592
+ F2fInterviewRescheduleRequestStatusEnum2["APPROVED"] = "APPROVED";
2593
+ F2fInterviewRescheduleRequestStatusEnum2["REJECTED"] = "REJECTED";
2594
+ return F2fInterviewRescheduleRequestStatusEnum2;
2595
+ })(F2fInterviewRescheduleRequestStatusEnum || {});
2596
+ var F2fInterviewRescheduleRequest = class extends BaseEntity {
2597
+ };
2598
+ __decorateClass([
2599
+ (0, import_typeorm17.Column)({ name: "candidate_id", type: "integer", nullable: true })
2600
+ ], F2fInterviewRescheduleRequest.prototype, "candidateId", 2);
2601
+ __decorateClass([
2602
+ (0, import_typeorm17.ManyToOne)(() => User, (user) => user.freelancerF2FInterviewRescheduleRequests, { nullable: true }),
2603
+ (0, import_typeorm17.JoinColumn)({ name: "candidate_id" })
2604
+ ], F2fInterviewRescheduleRequest.prototype, "candidate", 2);
2605
+ __decorateClass([
2606
+ (0, import_typeorm17.Column)({ name: "f2finterview_id", type: "integer", nullable: true })
2607
+ ], F2fInterviewRescheduleRequest.prototype, "f2fInterviewId", 2);
2608
+ __decorateClass([
2609
+ (0, import_typeorm17.ManyToOne)(() => F2FInterview, (f2FInterview) => f2FInterview.rescheduleRequests),
2610
+ (0, import_typeorm17.JoinColumn)({ name: "f2finterview_id" })
2611
+ ], F2fInterviewRescheduleRequest.prototype, "f2fInterview", 2);
2612
+ __decorateClass([
2613
+ (0, import_typeorm17.Column)({ name: "rescheduled_date", type: "timestamp with time zone", nullable: true })
2614
+ ], F2fInterviewRescheduleRequest.prototype, "rescheduledDate", 2);
2615
+ __decorateClass([
2616
+ (0, import_typeorm17.Column)({ name: "rescheduled_slot", type: "varchar", nullable: true })
2617
+ ], F2fInterviewRescheduleRequest.prototype, "rescheduledSlot", 2);
2618
+ __decorateClass([
2619
+ (0, import_typeorm17.Column)({
2620
+ name: "status",
2621
+ type: "enum",
2622
+ enum: F2fInterviewRescheduleRequestStatusEnum,
2623
+ default: "PENDING" /* PENDING */
2624
+ })
2625
+ ], F2fInterviewRescheduleRequest.prototype, "status", 2);
2626
+ F2fInterviewRescheduleRequest = __decorateClass([
2627
+ (0, import_typeorm17.Entity)("f2f_interview_reschedule_requests")
2628
+ ], F2fInterviewRescheduleRequest);
2629
+
2586
2630
  // src/entities/f2f-interview.entity.ts
2587
2631
  var F2fInterviewStatusEnum = /* @__PURE__ */ ((F2fInterviewStatusEnum2) => {
2588
2632
  F2fInterviewStatusEnum2["DRAFTED"] = "DRAFTED";
@@ -2598,58 +2642,58 @@ var F2fInterviewStatusEnum = /* @__PURE__ */ ((F2fInterviewStatusEnum2) => {
2598
2642
  var F2FInterview = class extends BaseEntity {
2599
2643
  };
2600
2644
  __decorateClass([
2601
- (0, import_typeorm17.Column)({ name: "interview_unique_id", type: "varchar", nullable: true, unique: true })
2645
+ (0, import_typeorm18.Column)({ name: "interview_unique_id", type: "varchar", nullable: true, unique: true })
2602
2646
  ], F2FInterview.prototype, "interviewUniqueId", 2);
2603
2647
  __decorateClass([
2604
- (0, import_typeorm17.Column)({ name: "interview_id", type: "integer", nullable: true })
2648
+ (0, import_typeorm18.Column)({ name: "interview_id", type: "integer", nullable: true })
2605
2649
  ], F2FInterview.prototype, "interviewId", 2);
2606
2650
  __decorateClass([
2607
- (0, import_typeorm17.ManyToOne)(() => Interview, (interview) => interview.aiInterviews),
2608
- (0, import_typeorm17.JoinColumn)({ name: "interview_id" })
2651
+ (0, import_typeorm18.ManyToOne)(() => Interview, (interview) => interview.aiInterviews),
2652
+ (0, import_typeorm18.JoinColumn)({ name: "interview_id" })
2609
2653
  ], F2FInterview.prototype, "interview", 2);
2610
2654
  __decorateClass([
2611
- (0, import_typeorm17.Column)({ name: "interviwer_id", type: "integer", nullable: true })
2655
+ (0, import_typeorm18.Column)({ name: "interviwer_id", type: "integer", nullable: true })
2612
2656
  ], F2FInterview.prototype, "interviwerId", 2);
2613
2657
  __decorateClass([
2614
- (0, import_typeorm17.ManyToOne)(() => User, (user) => user.clientF2FInterviews),
2615
- (0, import_typeorm17.JoinColumn)({ name: "interviwer_id" })
2658
+ (0, import_typeorm18.ManyToOne)(() => User, (user) => user.clientF2FInterviews),
2659
+ (0, import_typeorm18.JoinColumn)({ name: "interviwer_id" })
2616
2660
  ], F2FInterview.prototype, "interviwer", 2);
2617
2661
  __decorateClass([
2618
- (0, import_typeorm17.Column)({ name: "candidate_id", type: "integer", nullable: true })
2662
+ (0, import_typeorm18.Column)({ name: "candidate_id", type: "integer", nullable: true })
2619
2663
  ], F2FInterview.prototype, "candidateId", 2);
2620
2664
  __decorateClass([
2621
- (0, import_typeorm17.ManyToOne)(() => User, (user) => user.freelancerF2FInterviews, { nullable: true }),
2622
- (0, import_typeorm17.JoinColumn)({ name: "candidate_id" })
2665
+ (0, import_typeorm18.ManyToOne)(() => User, (user) => user.freelancerF2FInterviews, { nullable: true }),
2666
+ (0, import_typeorm18.JoinColumn)({ name: "candidate_id" })
2623
2667
  ], F2FInterview.prototype, "candidate", 2);
2624
2668
  __decorateClass([
2625
- (0, import_typeorm17.Column)({ name: "invitee_email", type: "varchar", nullable: true })
2669
+ (0, import_typeorm18.Column)({ name: "invitee_email", type: "varchar", nullable: true })
2626
2670
  ], F2FInterview.prototype, "inviteeEmail", 2);
2627
2671
  __decorateClass([
2628
- (0, import_typeorm17.Column)({ name: "invitee_name", type: "varchar", nullable: true })
2672
+ (0, import_typeorm18.Column)({ name: "invitee_name", type: "varchar", nullable: true })
2629
2673
  ], F2FInterview.prototype, "inviteeName", 2);
2630
2674
  __decorateClass([
2631
- (0, import_typeorm17.Column)({ name: "zoom_link", type: "varchar", nullable: true })
2675
+ (0, import_typeorm18.Column)({ name: "zoom_link", type: "varchar", nullable: true })
2632
2676
  ], F2FInterview.prototype, "meetingZoomLink", 2);
2633
2677
  __decorateClass([
2634
- (0, import_typeorm17.Column)({ name: "meeting_id", type: "varchar", nullable: true })
2678
+ (0, import_typeorm18.Column)({ name: "meeting_id", type: "varchar", nullable: true })
2635
2679
  ], F2FInterview.prototype, "meetingId", 2);
2636
2680
  __decorateClass([
2637
- (0, import_typeorm17.Column)({ name: "meeting_passcode", type: "varchar", nullable: true })
2681
+ (0, import_typeorm18.Column)({ name: "meeting_passcode", type: "varchar", nullable: true })
2638
2682
  ], F2FInterview.prototype, "meetingPasscode", 2);
2639
2683
  __decorateClass([
2640
- (0, import_typeorm17.Column)({ name: "reschedule_url", type: "varchar", nullable: true })
2684
+ (0, import_typeorm18.Column)({ name: "reschedule_url", type: "varchar", nullable: true })
2641
2685
  ], F2FInterview.prototype, "rescheduleUrl", 2);
2642
2686
  __decorateClass([
2643
- (0, import_typeorm17.Column)({ name: "cancel_url", type: "varchar", nullable: true })
2687
+ (0, import_typeorm18.Column)({ name: "cancel_url", type: "varchar", nullable: true })
2644
2688
  ], F2FInterview.prototype, "cancelUrl", 2);
2645
2689
  __decorateClass([
2646
- (0, import_typeorm17.Column)({ name: "event_name", type: "varchar", nullable: true })
2690
+ (0, import_typeorm18.Column)({ name: "event_name", type: "varchar", nullable: true })
2647
2691
  ], F2FInterview.prototype, "eventName", 2);
2648
2692
  __decorateClass([
2649
- (0, import_typeorm17.Column)({ name: "is_rescheduled", type: "boolean", default: false })
2693
+ (0, import_typeorm18.Column)({ name: "is_rescheduled", type: "boolean", default: false })
2650
2694
  ], F2FInterview.prototype, "isRescheduled", 2);
2651
2695
  __decorateClass([
2652
- (0, import_typeorm17.Column)({
2696
+ (0, import_typeorm18.Column)({
2653
2697
  name: "status",
2654
2698
  type: "enum",
2655
2699
  enum: F2fInterviewStatusEnum,
@@ -2657,32 +2701,35 @@ __decorateClass([
2657
2701
  })
2658
2702
  ], F2FInterview.prototype, "status", 2);
2659
2703
  __decorateClass([
2660
- (0, import_typeorm17.Column)({ name: "cancelled_at", type: "timestamp with time zone", nullable: true })
2704
+ (0, import_typeorm18.Column)({ name: "cancelled_at", type: "timestamp with time zone", nullable: true })
2661
2705
  ], F2FInterview.prototype, "cancelledAt", 2);
2662
2706
  __decorateClass([
2663
- (0, import_typeorm17.Column)({ name: "cancel_reason", type: "varchar", nullable: true })
2707
+ (0, import_typeorm18.Column)({ name: "cancel_reason", type: "varchar", nullable: true })
2664
2708
  ], F2FInterview.prototype, "cancelReason", 2);
2665
2709
  __decorateClass([
2666
- (0, import_typeorm17.Column)({ name: "rescheduled_at", type: "timestamp with time zone", nullable: true })
2710
+ (0, import_typeorm18.Column)({ name: "rescheduled_at", type: "timestamp with time zone", nullable: true })
2667
2711
  ], F2FInterview.prototype, "rescheduledAt", 2);
2668
2712
  __decorateClass([
2669
- (0, import_typeorm17.Column)({ name: "is_completed", type: "boolean", default: false })
2713
+ (0, import_typeorm18.Column)({ name: "is_completed", type: "boolean", default: false })
2670
2714
  ], F2FInterview.prototype, "isCompleted", 2);
2671
2715
  __decorateClass([
2672
- (0, import_typeorm17.Column)({ name: "meeting_start_time", type: "timestamp with time zone", nullable: true })
2716
+ (0, import_typeorm18.Column)({ name: "meeting_start_time", type: "timestamp with time zone", nullable: true })
2673
2717
  ], F2FInterview.prototype, "meetingStartTime", 2);
2674
2718
  __decorateClass([
2675
- (0, import_typeorm17.Column)({ name: "meeting_end_time", type: "timestamp with time zone", nullable: true })
2719
+ (0, import_typeorm18.Column)({ name: "meeting_end_time", type: "timestamp with time zone", nullable: true })
2676
2720
  ], F2FInterview.prototype, "meetingEndTime", 2);
2677
2721
  __decorateClass([
2678
- (0, import_typeorm17.Column)({ name: "calendly_meeting_id", type: "integer", nullable: true })
2722
+ (0, import_typeorm18.Column)({ name: "calendly_meeting_id", type: "integer", nullable: true })
2679
2723
  ], F2FInterview.prototype, "calendlyMeetingId", 2);
2680
2724
  __decorateClass([
2681
- (0, import_typeorm17.OneToOne)(() => CalendlyMeeting),
2682
- (0, import_typeorm17.JoinColumn)({ name: "calendly_meeting_id" })
2725
+ (0, import_typeorm18.OneToOne)(() => CalendlyMeeting),
2726
+ (0, import_typeorm18.JoinColumn)({ name: "calendly_meeting_id" })
2683
2727
  ], F2FInterview.prototype, "calendlyMeeting", 2);
2728
+ __decorateClass([
2729
+ (0, import_typeorm18.OneToMany)(() => F2fInterviewRescheduleRequest, (f2FInterviewRescheduleRequest) => f2FInterviewRescheduleRequest.f2fInterview)
2730
+ ], F2FInterview.prototype, "rescheduleRequests", 2);
2684
2731
  F2FInterview = __decorateClass([
2685
- (0, import_typeorm17.Entity)("f2f_interviews")
2732
+ (0, import_typeorm18.Entity)("f2f_interviews")
2686
2733
  ], F2FInterview);
2687
2734
 
2688
2735
  // src/entities/interview.entity.ts
@@ -2697,44 +2744,44 @@ var InterviewStatusEnum = /* @__PURE__ */ ((InterviewStatusEnum2) => {
2697
2744
  var Interview = class extends BaseEntity {
2698
2745
  };
2699
2746
  __decorateClass([
2700
- (0, import_typeorm18.Column)({
2747
+ (0, import_typeorm19.Column)({
2701
2748
  name: "interview_id",
2702
2749
  type: "varchar",
2703
2750
  unique: true,
2704
2751
  nullable: true
2705
2752
  }),
2706
- (0, import_typeorm18.Index)()
2753
+ (0, import_typeorm19.Index)()
2707
2754
  ], Interview.prototype, "interviewId", 2);
2708
2755
  __decorateClass([
2709
- (0, import_typeorm18.Column)({ name: "user_id", type: "integer", nullable: true }),
2710
- (0, import_typeorm18.Index)()
2756
+ (0, import_typeorm19.Column)({ name: "user_id", type: "integer", nullable: true }),
2757
+ (0, import_typeorm19.Index)()
2711
2758
  ], Interview.prototype, "userId", 2);
2712
2759
  __decorateClass([
2713
- (0, import_typeorm18.ManyToOne)(() => User, (user) => user.interviews),
2714
- (0, import_typeorm18.JoinColumn)({ name: "user_id" })
2760
+ (0, import_typeorm19.ManyToOne)(() => User, (user) => user.interviews),
2761
+ (0, import_typeorm19.JoinColumn)({ name: "user_id" })
2715
2762
  ], Interview.prototype, "user", 2);
2716
2763
  __decorateClass([
2717
- (0, import_typeorm18.Column)({ name: "interview_name", type: "varchar", nullable: true })
2764
+ (0, import_typeorm19.Column)({ name: "interview_name", type: "varchar", nullable: true })
2718
2765
  ], Interview.prototype, "interviewName", 2);
2719
2766
  __decorateClass([
2720
- (0, import_typeorm18.Column)({ name: "job_id", type: "integer" }),
2721
- (0, import_typeorm18.Index)()
2767
+ (0, import_typeorm19.Column)({ name: "job_id", type: "integer" }),
2768
+ (0, import_typeorm19.Index)()
2722
2769
  ], Interview.prototype, "jobId", 2);
2723
2770
  __decorateClass([
2724
- (0, import_typeorm18.ManyToOne)(() => Job, (job) => job.interviews, { onDelete: "CASCADE" }),
2725
- (0, import_typeorm18.JoinColumn)({ name: "job_id" })
2771
+ (0, import_typeorm19.ManyToOne)(() => Job, (job) => job.interviews, { onDelete: "CASCADE" }),
2772
+ (0, import_typeorm19.JoinColumn)({ name: "job_id" })
2726
2773
  ], Interview.prototype, "job", 2);
2727
2774
  __decorateClass([
2728
- (0, import_typeorm18.Column)({ name: "interview_type", type: "varchar", nullable: true })
2775
+ (0, import_typeorm19.Column)({ name: "interview_type", type: "varchar", nullable: true })
2729
2776
  ], Interview.prototype, "interviewType", 2);
2730
2777
  __decorateClass([
2731
- (0, import_typeorm18.Column)({ name: "interview_language", type: "varchar", nullable: true })
2778
+ (0, import_typeorm19.Column)({ name: "interview_language", type: "varchar", nullable: true })
2732
2779
  ], Interview.prototype, "interviewLanguage", 2);
2733
2780
  __decorateClass([
2734
- (0, import_typeorm18.Column)({ name: "allow_proctoring", type: "boolean", default: false })
2781
+ (0, import_typeorm19.Column)({ name: "allow_proctoring", type: "boolean", default: false })
2735
2782
  ], Interview.prototype, "allowProctoring", 2);
2736
2783
  __decorateClass([
2737
- (0, import_typeorm18.Column)({
2784
+ (0, import_typeorm19.Column)({
2738
2785
  name: "status",
2739
2786
  type: "enum",
2740
2787
  enum: InterviewStatusEnum,
@@ -2742,70 +2789,70 @@ __decorateClass([
2742
2789
  })
2743
2790
  ], Interview.prototype, "status", 2);
2744
2791
  __decorateClass([
2745
- (0, import_typeorm18.OneToMany)(
2792
+ (0, import_typeorm19.OneToMany)(
2746
2793
  () => InterviewSkill,
2747
2794
  (interviewSkill) => interviewSkill.interview,
2748
2795
  { cascade: true }
2749
2796
  )
2750
2797
  ], Interview.prototype, "interviewSkills", 2);
2751
2798
  __decorateClass([
2752
- (0, import_typeorm18.OneToMany)(
2799
+ (0, import_typeorm19.OneToMany)(
2753
2800
  () => InterviewQuestion,
2754
2801
  (interviewQuestion) => interviewQuestion.interview,
2755
2802
  { cascade: true }
2756
2803
  )
2757
2804
  ], Interview.prototype, "interviewQuestions", 2);
2758
2805
  __decorateClass([
2759
- (0, import_typeorm18.OneToMany)(() => InterviewInvite, (interviewInvite) => interviewInvite.interview)
2806
+ (0, import_typeorm19.OneToMany)(() => InterviewInvite, (interviewInvite) => interviewInvite.interview)
2760
2807
  ], Interview.prototype, "invites", 2);
2761
2808
  __decorateClass([
2762
- (0, import_typeorm18.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interview)
2809
+ (0, import_typeorm19.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interview)
2763
2810
  ], Interview.prototype, "aiInterviews", 2);
2764
2811
  __decorateClass([
2765
- (0, import_typeorm18.OneToMany)(() => F2FInterview, (f2fInterview) => f2fInterview.interview)
2812
+ (0, import_typeorm19.OneToMany)(() => F2FInterview, (f2fInterview) => f2fInterview.interview)
2766
2813
  ], Interview.prototype, "f2fInterviews", 2);
2767
2814
  Interview = __decorateClass([
2768
- (0, import_typeorm18.Entity)("interviews")
2815
+ (0, import_typeorm19.Entity)("interviews")
2769
2816
  ], Interview);
2770
2817
 
2771
2818
  // src/entities/job-recommendation.entity.ts
2772
- var import_typeorm19 = require("typeorm");
2819
+ var import_typeorm20 = require("typeorm");
2773
2820
  var JobRecommendation = class {
2774
2821
  };
2775
2822
  __decorateClass([
2776
- (0, import_typeorm19.PrimaryGeneratedColumn)("increment", { type: "integer" })
2823
+ (0, import_typeorm20.PrimaryGeneratedColumn)("increment", { type: "integer" })
2777
2824
  ], JobRecommendation.prototype, "id", 2);
2778
2825
  __decorateClass([
2779
- (0, import_typeorm19.Column)({ name: "job_id", type: "integer" }),
2780
- (0, import_typeorm19.Index)()
2826
+ (0, import_typeorm20.Column)({ name: "job_id", type: "integer" }),
2827
+ (0, import_typeorm20.Index)()
2781
2828
  ], JobRecommendation.prototype, "jobId", 2);
2782
2829
  __decorateClass([
2783
- (0, import_typeorm19.ManyToOne)(() => Job, (job) => job.recommendations, { onDelete: "CASCADE" }),
2784
- (0, import_typeorm19.JoinColumn)({ name: "job_id" })
2830
+ (0, import_typeorm20.ManyToOne)(() => Job, (job) => job.recommendations, { onDelete: "CASCADE" }),
2831
+ (0, import_typeorm20.JoinColumn)({ name: "job_id" })
2785
2832
  ], JobRecommendation.prototype, "job", 2);
2786
2833
  __decorateClass([
2787
- (0, import_typeorm19.Column)({ name: "freelancer_id", type: "integer" }),
2788
- (0, import_typeorm19.Index)()
2834
+ (0, import_typeorm20.Column)({ name: "freelancer_id", type: "integer" }),
2835
+ (0, import_typeorm20.Index)()
2789
2836
  ], JobRecommendation.prototype, "freelancerId", 2);
2790
2837
  __decorateClass([
2791
- (0, import_typeorm19.Column)({ name: "client_id", type: "integer" }),
2792
- (0, import_typeorm19.Index)()
2838
+ (0, import_typeorm20.Column)({ name: "client_id", type: "integer" }),
2839
+ (0, import_typeorm20.Index)()
2793
2840
  ], JobRecommendation.prototype, "clientId", 2);
2794
2841
  __decorateClass([
2795
- (0, import_typeorm19.Column)({ name: "match_score", type: "numeric", precision: 5, scale: 4 })
2842
+ (0, import_typeorm20.Column)({ name: "match_score", type: "numeric", precision: 5, scale: 4 })
2796
2843
  ], JobRecommendation.prototype, "matchScore", 2);
2797
2844
  __decorateClass([
2798
- (0, import_typeorm19.Column)({ name: "match_score_summary", type: "jsonb", nullable: true })
2845
+ (0, import_typeorm20.Column)({ name: "match_score_summary", type: "jsonb", nullable: true })
2799
2846
  ], JobRecommendation.prototype, "matchScoreSummary", 2);
2800
2847
  __decorateClass([
2801
- (0, import_typeorm19.Column)({
2848
+ (0, import_typeorm20.Column)({
2802
2849
  name: "last_calculated_at",
2803
2850
  type: "timestamp with time zone",
2804
2851
  nullable: true
2805
2852
  })
2806
2853
  ], JobRecommendation.prototype, "lastCalculatedAt", 2);
2807
2854
  JobRecommendation = __decorateClass([
2808
- (0, import_typeorm19.Entity)("job_recommendations")
2855
+ (0, import_typeorm20.Entity)("job_recommendations")
2809
2856
  ], JobRecommendation);
2810
2857
 
2811
2858
  // src/entities/job.entity.ts
@@ -2845,49 +2892,49 @@ var DurationTypeEnum = /* @__PURE__ */ ((DurationTypeEnum2) => {
2845
2892
  var Job = class extends BaseEntity {
2846
2893
  };
2847
2894
  __decorateClass([
2848
- (0, import_typeorm20.Column)({ name: "job_id", type: "varchar", unique: true, nullable: true })
2895
+ (0, import_typeorm21.Column)({ name: "job_id", type: "varchar", unique: true, nullable: true })
2849
2896
  ], Job.prototype, "jobId", 2);
2850
2897
  // individual index to find jobs by user
2851
2898
  __decorateClass([
2852
- (0, import_typeorm20.Column)({ name: "user_id", type: "integer", nullable: true }),
2853
- (0, import_typeorm20.Index)()
2899
+ (0, import_typeorm21.Column)({ name: "user_id", type: "integer", nullable: true }),
2900
+ (0, import_typeorm21.Index)()
2854
2901
  ], Job.prototype, "userId", 2);
2855
2902
  __decorateClass([
2856
- (0, import_typeorm20.ManyToOne)(() => User, (user) => user.jobs),
2857
- (0, import_typeorm20.JoinColumn)({ name: "user_id" })
2903
+ (0, import_typeorm21.ManyToOne)(() => User, (user) => user.jobs),
2904
+ (0, import_typeorm21.JoinColumn)({ name: "user_id" })
2858
2905
  ], Job.prototype, "user", 2);
2859
2906
  __decorateClass([
2860
- (0, import_typeorm20.Column)({ name: "country_id", type: "int", nullable: true })
2907
+ (0, import_typeorm21.Column)({ name: "country_id", type: "int", nullable: true })
2861
2908
  ], Job.prototype, "countryId", 2);
2862
2909
  __decorateClass([
2863
- (0, import_typeorm20.ManyToOne)(() => Country),
2864
- (0, import_typeorm20.JoinColumn)({ name: "country_id" })
2910
+ (0, import_typeorm21.ManyToOne)(() => Country),
2911
+ (0, import_typeorm21.JoinColumn)({ name: "country_id" })
2865
2912
  ], Job.prototype, "country", 2);
2866
2913
  __decorateClass([
2867
- (0, import_typeorm20.Column)({ name: "state_id", type: "int", nullable: true })
2914
+ (0, import_typeorm21.Column)({ name: "state_id", type: "int", nullable: true })
2868
2915
  ], Job.prototype, "stateId", 2);
2869
2916
  __decorateClass([
2870
- (0, import_typeorm20.ManyToOne)(() => State),
2871
- (0, import_typeorm20.JoinColumn)({ name: "state_id" })
2917
+ (0, import_typeorm21.ManyToOne)(() => State),
2918
+ (0, import_typeorm21.JoinColumn)({ name: "state_id" })
2872
2919
  ], Job.prototype, "state", 2);
2873
2920
  __decorateClass([
2874
- (0, import_typeorm20.Column)({ name: "city_id", type: "int", nullable: true })
2921
+ (0, import_typeorm21.Column)({ name: "city_id", type: "int", nullable: true })
2875
2922
  ], Job.prototype, "cityId", 2);
2876
2923
  __decorateClass([
2877
- (0, import_typeorm20.ManyToOne)(() => City),
2878
- (0, import_typeorm20.JoinColumn)({ name: "city_id" })
2924
+ (0, import_typeorm21.ManyToOne)(() => City),
2925
+ (0, import_typeorm21.JoinColumn)({ name: "city_id" })
2879
2926
  ], Job.prototype, "city", 2);
2880
2927
  __decorateClass([
2881
- (0, import_typeorm20.Column)({ name: "job_role", type: "varchar", nullable: true })
2928
+ (0, import_typeorm21.Column)({ name: "job_role", type: "varchar", nullable: true })
2882
2929
  ], Job.prototype, "jobRole", 2);
2883
2930
  __decorateClass([
2884
- (0, import_typeorm20.Column)({ name: "note", type: "varchar", nullable: true })
2931
+ (0, import_typeorm21.Column)({ name: "note", type: "varchar", nullable: true })
2885
2932
  ], Job.prototype, "note", 2);
2886
2933
  __decorateClass([
2887
- (0, import_typeorm20.Column)({ name: "openings", type: "integer", default: 0 })
2934
+ (0, import_typeorm21.Column)({ name: "openings", type: "integer", default: 0 })
2888
2935
  ], Job.prototype, "openings", 2);
2889
2936
  __decorateClass([
2890
- (0, import_typeorm20.Column)({
2937
+ (0, import_typeorm21.Column)({
2891
2938
  name: "location",
2892
2939
  type: "enum",
2893
2940
  enum: JobLocationEnum,
@@ -2895,7 +2942,7 @@ __decorateClass([
2895
2942
  })
2896
2943
  ], Job.prototype, "location", 2);
2897
2944
  __decorateClass([
2898
- (0, import_typeorm20.Column)({
2945
+ (0, import_typeorm21.Column)({
2899
2946
  name: "type_of_employment",
2900
2947
  type: "enum",
2901
2948
  enum: TypeOfEmploymentEnum,
@@ -2903,19 +2950,19 @@ __decorateClass([
2903
2950
  })
2904
2951
  ], Job.prototype, "typeOfEmployment", 2);
2905
2952
  __decorateClass([
2906
- (0, import_typeorm20.Column)({ name: "academic_qualifictaion", type: "varchar", nullable: true })
2953
+ (0, import_typeorm21.Column)({ name: "academic_qualifictaion", type: "varchar", nullable: true })
2907
2954
  ], Job.prototype, "academicQualification", 2);
2908
2955
  __decorateClass([
2909
- (0, import_typeorm20.Column)({ name: "years_of_experience", type: "varchar", nullable: true })
2956
+ (0, import_typeorm21.Column)({ name: "years_of_experience", type: "varchar", nullable: true })
2910
2957
  ], Job.prototype, "yearsOfExperience", 2);
2911
2958
  __decorateClass([
2912
- (0, import_typeorm20.Column)({ name: "business_industry", type: "varchar", nullable: true })
2959
+ (0, import_typeorm21.Column)({ name: "business_industry", type: "varchar", nullable: true })
2913
2960
  ], Job.prototype, "businessIndustry", 2);
2914
2961
  __decorateClass([
2915
- (0, import_typeorm20.Column)({ name: "currency", type: "varchar", default: "USD" })
2962
+ (0, import_typeorm21.Column)({ name: "currency", type: "varchar", default: "USD" })
2916
2963
  ], Job.prototype, "currency", 2);
2917
2964
  __decorateClass([
2918
- (0, import_typeorm20.Column)({
2965
+ (0, import_typeorm21.Column)({
2919
2966
  name: "expected_salary_from",
2920
2967
  type: "decimal",
2921
2968
  precision: 10,
@@ -2924,7 +2971,7 @@ __decorateClass([
2924
2971
  })
2925
2972
  ], Job.prototype, "expectedSalaryFrom", 2);
2926
2973
  __decorateClass([
2927
- (0, import_typeorm20.Column)({
2974
+ (0, import_typeorm21.Column)({
2928
2975
  name: "expected_salary_to",
2929
2976
  type: "decimal",
2930
2977
  precision: 10,
@@ -2933,16 +2980,16 @@ __decorateClass([
2933
2980
  })
2934
2981
  ], Job.prototype, "expectedSalaryTo", 2);
2935
2982
  __decorateClass([
2936
- (0, import_typeorm20.Column)({ name: "tentative_start_date", type: "date", nullable: true })
2983
+ (0, import_typeorm21.Column)({ name: "tentative_start_date", type: "date", nullable: true })
2937
2984
  ], Job.prototype, "tentativeStartDate", 2);
2938
2985
  __decorateClass([
2939
- (0, import_typeorm20.Column)({ name: "tentative_end_date", type: "date", nullable: true })
2986
+ (0, import_typeorm21.Column)({ name: "tentative_end_date", type: "date", nullable: true })
2940
2987
  ], Job.prototype, "tentativeEndDate", 2);
2941
2988
  __decorateClass([
2942
- (0, import_typeorm20.Column)({ name: "duration", type: "varchar", nullable: true })
2989
+ (0, import_typeorm21.Column)({ name: "duration", type: "varchar", nullable: true })
2943
2990
  ], Job.prototype, "duration", 2);
2944
2991
  __decorateClass([
2945
- (0, import_typeorm20.Column)({
2992
+ (0, import_typeorm21.Column)({
2946
2993
  name: "duration_type",
2947
2994
  type: "enum",
2948
2995
  enum: DurationTypeEnum,
@@ -2950,13 +2997,13 @@ __decorateClass([
2950
2997
  })
2951
2998
  ], Job.prototype, "durationType", 2);
2952
2999
  __decorateClass([
2953
- (0, import_typeorm20.Column)({ name: "description", type: "varchar", nullable: true })
3000
+ (0, import_typeorm21.Column)({ name: "description", type: "varchar", nullable: true })
2954
3001
  ], Job.prototype, "description", 2);
2955
3002
  __decorateClass([
2956
- (0, import_typeorm20.Column)({ name: "additional_comment", type: "varchar", nullable: true })
3003
+ (0, import_typeorm21.Column)({ name: "additional_comment", type: "varchar", nullable: true })
2957
3004
  ], Job.prototype, "additionalComment", 2);
2958
3005
  __decorateClass([
2959
- (0, import_typeorm20.Column)({
3006
+ (0, import_typeorm21.Column)({
2960
3007
  name: "onboarding_tat",
2961
3008
  type: "varchar",
2962
3009
  length: 50,
@@ -2964,14 +3011,14 @@ __decorateClass([
2964
3011
  })
2965
3012
  ], Job.prototype, "onboardingTat", 2);
2966
3013
  __decorateClass([
2967
- (0, import_typeorm20.Column)({
3014
+ (0, import_typeorm21.Column)({
2968
3015
  name: "candidate_communication_skills",
2969
3016
  type: "varchar",
2970
3017
  nullable: true
2971
3018
  })
2972
3019
  ], Job.prototype, "candidateCommunicationSkills", 2);
2973
3020
  __decorateClass([
2974
- (0, import_typeorm20.Column)({
3021
+ (0, import_typeorm21.Column)({
2975
3022
  name: "step_completed",
2976
3023
  type: "enum",
2977
3024
  enum: Step,
@@ -2979,7 +3026,7 @@ __decorateClass([
2979
3026
  })
2980
3027
  ], Job.prototype, "stepCompleted", 2);
2981
3028
  __decorateClass([
2982
- (0, import_typeorm20.Column)({
3029
+ (0, import_typeorm21.Column)({
2983
3030
  name: "status",
2984
3031
  type: "enum",
2985
3032
  enum: JobStatusEnum,
@@ -2987,35 +3034,35 @@ __decorateClass([
2987
3034
  })
2988
3035
  ], Job.prototype, "status", 2);
2989
3036
  __decorateClass([
2990
- (0, import_typeorm20.Column)({ name: "viewed_count", type: "integer", default: 0 })
3037
+ (0, import_typeorm21.Column)({ name: "viewed_count", type: "integer", default: 0 })
2991
3038
  ], Job.prototype, "viewedCount", 2);
2992
3039
  __decorateClass([
2993
- (0, import_typeorm20.Column)({ name: "application_count", type: "integer", default: 0 })
3040
+ (0, import_typeorm21.Column)({ name: "application_count", type: "integer", default: 0 })
2994
3041
  ], Job.prototype, "applicationCount", 2);
2995
3042
  __decorateClass([
2996
- (0, import_typeorm20.OneToMany)(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
3043
+ (0, import_typeorm21.OneToMany)(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
2997
3044
  ], Job.prototype, "jobSkills", 2);
2998
3045
  __decorateClass([
2999
- (0, import_typeorm20.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.job, {
3046
+ (0, import_typeorm21.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.job, {
3000
3047
  cascade: true
3001
3048
  })
3002
3049
  ], Job.prototype, "jobApplications", 2);
3003
3050
  __decorateClass([
3004
- (0, import_typeorm20.OneToMany)(() => Interview, (interview) => interview.job, {
3051
+ (0, import_typeorm21.OneToMany)(() => Interview, (interview) => interview.job, {
3005
3052
  cascade: true
3006
3053
  })
3007
3054
  ], Job.prototype, "interviews", 2);
3008
3055
  __decorateClass([
3009
- (0, import_typeorm20.OneToMany)(() => JobRecommendation, (jobRecommendation) => jobRecommendation.job, {
3056
+ (0, import_typeorm21.OneToMany)(() => JobRecommendation, (jobRecommendation) => jobRecommendation.job, {
3010
3057
  cascade: true
3011
3058
  })
3012
3059
  ], Job.prototype, "recommendations", 2);
3013
3060
  Job = __decorateClass([
3014
- (0, import_typeorm20.Entity)("jobs")
3061
+ (0, import_typeorm21.Entity)("jobs")
3015
3062
  ], Job);
3016
3063
 
3017
3064
  // src/entities/bank-details.entity.ts
3018
- var import_typeorm21 = require("typeorm");
3065
+ var import_typeorm22 = require("typeorm");
3019
3066
  var BankAccountTypeEnum = /* @__PURE__ */ ((BankAccountTypeEnum2) => {
3020
3067
  BankAccountTypeEnum2["PRIMARY"] = "PRIMARY";
3021
3068
  BankAccountTypeEnum2["SECONDARY"] = "SECONDARY";
@@ -3030,48 +3077,48 @@ var BankDetail = class extends BaseEntity {
3030
3077
  };
3031
3078
  // individual index to find bank details by user
3032
3079
  __decorateClass([
3033
- (0, import_typeorm21.Column)({ name: "user_id", type: "integer", nullable: true }),
3034
- (0, import_typeorm21.Index)()
3080
+ (0, import_typeorm22.Column)({ name: "user_id", type: "integer", nullable: true }),
3081
+ (0, import_typeorm22.Index)()
3035
3082
  ], BankDetail.prototype, "userId", 2);
3036
3083
  __decorateClass([
3037
- (0, import_typeorm21.ManyToOne)(() => User, (user) => user.bankDetail),
3038
- (0, import_typeorm21.JoinColumn)({ name: "user_id" })
3084
+ (0, import_typeorm22.ManyToOne)(() => User, (user) => user.bankDetail),
3085
+ (0, import_typeorm22.JoinColumn)({ name: "user_id" })
3039
3086
  ], BankDetail.prototype, "user", 2);
3040
3087
  __decorateClass([
3041
- (0, import_typeorm21.Column)({ name: "name", type: "varchar", nullable: true })
3088
+ (0, import_typeorm22.Column)({ name: "name", type: "varchar", nullable: true })
3042
3089
  ], BankDetail.prototype, "name", 2);
3043
3090
  __decorateClass([
3044
- (0, import_typeorm21.Column)({ name: "mobile", type: "varchar", unique: true, nullable: true })
3091
+ (0, import_typeorm22.Column)({ name: "mobile", type: "varchar", unique: true, nullable: true })
3045
3092
  ], BankDetail.prototype, "mobile", 2);
3046
3093
  __decorateClass([
3047
- (0, import_typeorm21.Column)({ name: "email", type: "varchar", unique: true })
3094
+ (0, import_typeorm22.Column)({ name: "email", type: "varchar", unique: true })
3048
3095
  ], BankDetail.prototype, "email", 2);
3049
3096
  __decorateClass([
3050
- (0, import_typeorm21.Column)({ name: "address", type: "varchar", nullable: true })
3097
+ (0, import_typeorm22.Column)({ name: "address", type: "varchar", nullable: true })
3051
3098
  ], BankDetail.prototype, "address", 2);
3052
3099
  __decorateClass([
3053
- (0, import_typeorm21.Column)({ name: "account_number", type: "varchar", unique: true, nullable: true })
3100
+ (0, import_typeorm22.Column)({ name: "account_number", type: "varchar", unique: true, nullable: true })
3054
3101
  ], BankDetail.prototype, "accountNumber", 2);
3055
3102
  __decorateClass([
3056
- (0, import_typeorm21.Column)({ name: "bank_name", type: "varchar", nullable: true })
3103
+ (0, import_typeorm22.Column)({ name: "bank_name", type: "varchar", nullable: true })
3057
3104
  ], BankDetail.prototype, "bankName", 2);
3058
3105
  __decorateClass([
3059
- (0, import_typeorm21.Column)({ name: "ifsc_code", type: "varchar", nullable: true })
3106
+ (0, import_typeorm22.Column)({ name: "ifsc_code", type: "varchar", nullable: true })
3060
3107
  ], BankDetail.prototype, "ifscCode", 2);
3061
3108
  __decorateClass([
3062
- (0, import_typeorm21.Column)({ name: "branch_name", type: "varchar", nullable: true })
3109
+ (0, import_typeorm22.Column)({ name: "branch_name", type: "varchar", nullable: true })
3063
3110
  ], BankDetail.prototype, "branchName", 2);
3064
3111
  __decorateClass([
3065
- (0, import_typeorm21.Column)({ name: "routing_no", type: "varchar", nullable: true })
3112
+ (0, import_typeorm22.Column)({ name: "routing_no", type: "varchar", nullable: true })
3066
3113
  ], BankDetail.prototype, "routingNo", 2);
3067
3114
  __decorateClass([
3068
- (0, import_typeorm21.Column)({ name: "aba_no", type: "varchar", nullable: true })
3115
+ (0, import_typeorm22.Column)({ name: "aba_no", type: "varchar", nullable: true })
3069
3116
  ], BankDetail.prototype, "abaNumber", 2);
3070
3117
  __decorateClass([
3071
- (0, import_typeorm21.Column)({ name: "iban", type: "varchar", nullable: true })
3118
+ (0, import_typeorm22.Column)({ name: "iban", type: "varchar", nullable: true })
3072
3119
  ], BankDetail.prototype, "iban", 2);
3073
3120
  __decorateClass([
3074
- (0, import_typeorm21.Column)({
3121
+ (0, import_typeorm22.Column)({
3075
3122
  name: "account_type",
3076
3123
  type: "enum",
3077
3124
  enum: BankAccountTypeEnum,
@@ -3079,7 +3126,7 @@ __decorateClass([
3079
3126
  })
3080
3127
  ], BankDetail.prototype, "accountType", 2);
3081
3128
  __decorateClass([
3082
- (0, import_typeorm21.Column)({
3129
+ (0, import_typeorm22.Column)({
3083
3130
  name: "account_scope",
3084
3131
  type: "enum",
3085
3132
  enum: BankAccountScopeEnum,
@@ -3087,210 +3134,210 @@ __decorateClass([
3087
3134
  })
3088
3135
  ], BankDetail.prototype, "accountScope", 2);
3089
3136
  BankDetail = __decorateClass([
3090
- (0, import_typeorm21.Entity)("bank_details")
3137
+ (0, import_typeorm22.Entity)("bank_details")
3091
3138
  ], BankDetail);
3092
3139
 
3093
3140
  // src/entities/system-preference.entity.ts
3094
- var import_typeorm22 = require("typeorm");
3141
+ var import_typeorm23 = require("typeorm");
3095
3142
  var SystemPreference = class extends BaseEntity {
3096
3143
  };
3097
3144
  // individual index to find system preference by user
3098
3145
  __decorateClass([
3099
- (0, import_typeorm22.Column)({ name: "user_id", type: "integer", nullable: true }),
3100
- (0, import_typeorm22.Index)()
3146
+ (0, import_typeorm23.Column)({ name: "user_id", type: "integer", nullable: true }),
3147
+ (0, import_typeorm23.Index)()
3101
3148
  ], SystemPreference.prototype, "userId", 2);
3102
3149
  __decorateClass([
3103
- (0, import_typeorm22.ManyToOne)(() => User, (user) => user.systemPreference),
3104
- (0, import_typeorm22.JoinColumn)({ name: "user_id" })
3150
+ (0, import_typeorm23.ManyToOne)(() => User, (user) => user.systemPreference),
3151
+ (0, import_typeorm23.JoinColumn)({ name: "user_id" })
3105
3152
  ], SystemPreference.prototype, "user", 2);
3106
3153
  __decorateClass([
3107
- (0, import_typeorm22.Column)({ name: "key", type: "varchar", nullable: false })
3154
+ (0, import_typeorm23.Column)({ name: "key", type: "varchar", nullable: false })
3108
3155
  ], SystemPreference.prototype, "key", 2);
3109
3156
  __decorateClass([
3110
- (0, import_typeorm22.Column)({ name: "value", type: "boolean", default: false })
3157
+ (0, import_typeorm23.Column)({ name: "value", type: "boolean", default: false })
3111
3158
  ], SystemPreference.prototype, "value", 2);
3112
3159
  SystemPreference = __decorateClass([
3113
- (0, import_typeorm22.Entity)("system_preferences")
3160
+ (0, import_typeorm23.Entity)("system_preferences")
3114
3161
  ], SystemPreference);
3115
3162
 
3116
3163
  // src/entities/freelancer-experience.entity.ts
3117
- var import_typeorm23 = require("typeorm");
3164
+ var import_typeorm24 = require("typeorm");
3118
3165
  var FreelancerExperience = class extends BaseEntity {
3119
3166
  };
3120
3167
  // individual index to find experence by user
3121
3168
  __decorateClass([
3122
- (0, import_typeorm23.Column)({ name: "user_id", type: "integer", nullable: true }),
3123
- (0, import_typeorm23.Index)()
3169
+ (0, import_typeorm24.Column)({ name: "user_id", type: "integer", nullable: true }),
3170
+ (0, import_typeorm24.Index)()
3124
3171
  ], FreelancerExperience.prototype, "userId", 2);
3125
3172
  __decorateClass([
3126
- (0, import_typeorm23.ManyToOne)(() => User, (user) => user.freelancerExperience),
3127
- (0, import_typeorm23.JoinColumn)({ name: "user_id" })
3173
+ (0, import_typeorm24.ManyToOne)(() => User, (user) => user.freelancerExperience),
3174
+ (0, import_typeorm24.JoinColumn)({ name: "user_id" })
3128
3175
  ], FreelancerExperience.prototype, "user", 2);
3129
3176
  __decorateClass([
3130
- (0, import_typeorm23.Column)({ name: "company_name", type: "varchar", nullable: true })
3177
+ (0, import_typeorm24.Column)({ name: "company_name", type: "varchar", nullable: true })
3131
3178
  ], FreelancerExperience.prototype, "companyName", 2);
3132
3179
  __decorateClass([
3133
- (0, import_typeorm23.Column)({ name: "designation", type: "varchar", nullable: true })
3180
+ (0, import_typeorm24.Column)({ name: "designation", type: "varchar", nullable: true })
3134
3181
  ], FreelancerExperience.prototype, "designation", 2);
3135
3182
  __decorateClass([
3136
- (0, import_typeorm23.Column)({ name: "job_duration", type: "varchar", nullable: true })
3183
+ (0, import_typeorm24.Column)({ name: "job_duration", type: "varchar", nullable: true })
3137
3184
  ], FreelancerExperience.prototype, "jobDuration", 2);
3138
3185
  __decorateClass([
3139
- (0, import_typeorm23.Column)({ name: "description", type: "varchar", nullable: true })
3186
+ (0, import_typeorm24.Column)({ name: "description", type: "varchar", nullable: true })
3140
3187
  ], FreelancerExperience.prototype, "description", 2);
3141
3188
  FreelancerExperience = __decorateClass([
3142
- (0, import_typeorm23.Entity)("freelancer_experiences")
3189
+ (0, import_typeorm24.Entity)("freelancer_experiences")
3143
3190
  ], FreelancerExperience);
3144
3191
 
3145
3192
  // src/entities/freelancer-education.entity.ts
3146
- var import_typeorm24 = require("typeorm");
3193
+ var import_typeorm25 = require("typeorm");
3147
3194
  var FreelancerEducation = class extends BaseEntity {
3148
3195
  };
3149
3196
  // individual index to find education by user
3150
3197
  __decorateClass([
3151
- (0, import_typeorm24.Column)({ name: "user_id", type: "integer", nullable: true }),
3152
- (0, import_typeorm24.Index)()
3198
+ (0, import_typeorm25.Column)({ name: "user_id", type: "integer", nullable: true }),
3199
+ (0, import_typeorm25.Index)()
3153
3200
  ], FreelancerEducation.prototype, "userId", 2);
3154
3201
  __decorateClass([
3155
- (0, import_typeorm24.ManyToOne)(() => User, (user) => user.freelancerEducation),
3156
- (0, import_typeorm24.JoinColumn)({ name: "user_id" })
3202
+ (0, import_typeorm25.ManyToOne)(() => User, (user) => user.freelancerEducation),
3203
+ (0, import_typeorm25.JoinColumn)({ name: "user_id" })
3157
3204
  ], FreelancerEducation.prototype, "user", 2);
3158
3205
  __decorateClass([
3159
- (0, import_typeorm24.Column)({ name: "degree", type: "varchar", nullable: true })
3206
+ (0, import_typeorm25.Column)({ name: "degree", type: "varchar", nullable: true })
3160
3207
  ], FreelancerEducation.prototype, "degree", 2);
3161
3208
  __decorateClass([
3162
- (0, import_typeorm24.Column)({ name: "university", type: "varchar", nullable: true })
3209
+ (0, import_typeorm25.Column)({ name: "university", type: "varchar", nullable: true })
3163
3210
  ], FreelancerEducation.prototype, "university", 2);
3164
3211
  __decorateClass([
3165
- (0, import_typeorm24.Column)({ name: "year_of_graduation", type: "varchar", nullable: true })
3212
+ (0, import_typeorm25.Column)({ name: "year_of_graduation", type: "varchar", nullable: true })
3166
3213
  ], FreelancerEducation.prototype, "yearOfGraduation", 2);
3167
3214
  FreelancerEducation = __decorateClass([
3168
- (0, import_typeorm24.Entity)("freelancer_educations")
3215
+ (0, import_typeorm25.Entity)("freelancer_educations")
3169
3216
  ], FreelancerEducation);
3170
3217
 
3171
3218
  // src/entities/freelancer-project.entity.ts
3172
- var import_typeorm25 = require("typeorm");
3219
+ var import_typeorm26 = require("typeorm");
3173
3220
  var FreelancerProject = class extends BaseEntity {
3174
3221
  };
3175
3222
  // individual index to find project by user
3176
3223
  __decorateClass([
3177
- (0, import_typeorm25.Column)({ name: "user_id", type: "integer", nullable: true }),
3178
- (0, import_typeorm25.Index)()
3224
+ (0, import_typeorm26.Column)({ name: "user_id", type: "integer", nullable: true }),
3225
+ (0, import_typeorm26.Index)()
3179
3226
  ], FreelancerProject.prototype, "userId", 2);
3180
3227
  __decorateClass([
3181
- (0, import_typeorm25.ManyToOne)(() => User, (user) => user.freelancerProject),
3182
- (0, import_typeorm25.JoinColumn)({ name: "user_id" })
3228
+ (0, import_typeorm26.ManyToOne)(() => User, (user) => user.freelancerProject),
3229
+ (0, import_typeorm26.JoinColumn)({ name: "user_id" })
3183
3230
  ], FreelancerProject.prototype, "user", 2);
3184
3231
  __decorateClass([
3185
- (0, import_typeorm25.Column)({ name: "project_name", type: "varchar", nullable: true })
3232
+ (0, import_typeorm26.Column)({ name: "project_name", type: "varchar", nullable: true })
3186
3233
  ], FreelancerProject.prototype, "projectName", 2);
3187
3234
  __decorateClass([
3188
- (0, import_typeorm25.Column)({ name: "start_date", type: "date", nullable: true })
3235
+ (0, import_typeorm26.Column)({ name: "start_date", type: "date", nullable: true })
3189
3236
  ], FreelancerProject.prototype, "startDate", 2);
3190
3237
  __decorateClass([
3191
- (0, import_typeorm25.Column)({ name: "end_date", type: "date", nullable: true })
3238
+ (0, import_typeorm26.Column)({ name: "end_date", type: "date", nullable: true })
3192
3239
  ], FreelancerProject.prototype, "endDate", 2);
3193
3240
  __decorateClass([
3194
- (0, import_typeorm25.Column)({ name: "client_name", type: "varchar", nullable: true })
3241
+ (0, import_typeorm26.Column)({ name: "client_name", type: "varchar", nullable: true })
3195
3242
  ], FreelancerProject.prototype, "clientName", 2);
3196
3243
  __decorateClass([
3197
- (0, import_typeorm25.Column)({ name: "git_link", type: "varchar", nullable: true })
3244
+ (0, import_typeorm26.Column)({ name: "git_link", type: "varchar", nullable: true })
3198
3245
  ], FreelancerProject.prototype, "gitLink", 2);
3199
3246
  __decorateClass([
3200
- (0, import_typeorm25.Column)({ name: "description", type: "varchar", nullable: true })
3247
+ (0, import_typeorm26.Column)({ name: "description", type: "varchar", nullable: true })
3201
3248
  ], FreelancerProject.prototype, "description", 2);
3202
3249
  FreelancerProject = __decorateClass([
3203
- (0, import_typeorm25.Entity)("freelancer_projects")
3250
+ (0, import_typeorm26.Entity)("freelancer_projects")
3204
3251
  ], FreelancerProject);
3205
3252
 
3206
3253
  // src/entities/freelancer-casestudy.entity.ts
3207
- var import_typeorm26 = require("typeorm");
3254
+ var import_typeorm27 = require("typeorm");
3208
3255
  var FreelancerCaseStudy = class extends BaseEntity {
3209
3256
  };
3210
3257
  // individual index to find case study by user
3211
3258
  __decorateClass([
3212
- (0, import_typeorm26.Column)({ name: "user_id", type: "integer", nullable: true }),
3213
- (0, import_typeorm26.Index)()
3259
+ (0, import_typeorm27.Column)({ name: "user_id", type: "integer", nullable: true }),
3260
+ (0, import_typeorm27.Index)()
3214
3261
  ], FreelancerCaseStudy.prototype, "userId", 2);
3215
3262
  __decorateClass([
3216
- (0, import_typeorm26.ManyToOne)(() => User, (user) => user.freelancerCaseStudy),
3217
- (0, import_typeorm26.JoinColumn)({ name: "user_id" })
3263
+ (0, import_typeorm27.ManyToOne)(() => User, (user) => user.freelancerCaseStudy),
3264
+ (0, import_typeorm27.JoinColumn)({ name: "user_id" })
3218
3265
  ], FreelancerCaseStudy.prototype, "user", 2);
3219
3266
  __decorateClass([
3220
- (0, import_typeorm26.Column)({ name: "project_name", type: "varchar", nullable: true })
3267
+ (0, import_typeorm27.Column)({ name: "project_name", type: "varchar", nullable: true })
3221
3268
  ], FreelancerCaseStudy.prototype, "projectName", 2);
3222
3269
  __decorateClass([
3223
- (0, import_typeorm26.Column)({ name: "case_study_link", type: "varchar", nullable: true })
3270
+ (0, import_typeorm27.Column)({ name: "case_study_link", type: "varchar", nullable: true })
3224
3271
  ], FreelancerCaseStudy.prototype, "caseStudyLink", 2);
3225
3272
  __decorateClass([
3226
- (0, import_typeorm26.Column)({ name: "description", type: "varchar", nullable: true })
3273
+ (0, import_typeorm27.Column)({ name: "description", type: "varchar", nullable: true })
3227
3274
  ], FreelancerCaseStudy.prototype, "description", 2);
3228
3275
  FreelancerCaseStudy = __decorateClass([
3229
- (0, import_typeorm26.Entity)("freelancer_case_studies")
3276
+ (0, import_typeorm27.Entity)("freelancer_case_studies")
3230
3277
  ], FreelancerCaseStudy);
3231
3278
 
3232
3279
  // src/entities/freelancer-skill.entity.ts
3233
- var import_typeorm27 = require("typeorm");
3280
+ var import_typeorm28 = require("typeorm");
3234
3281
  var FreelancerSkill = class extends BaseEntity {
3235
3282
  };
3236
3283
  // individual index to find core skills by user
3237
3284
  __decorateClass([
3238
- (0, import_typeorm27.Column)({ name: "user_id", type: "integer", nullable: true }),
3239
- (0, import_typeorm27.Index)()
3285
+ (0, import_typeorm28.Column)({ name: "user_id", type: "integer", nullable: true }),
3286
+ (0, import_typeorm28.Index)()
3240
3287
  ], FreelancerSkill.prototype, "userId", 2);
3241
3288
  __decorateClass([
3242
- (0, import_typeorm27.ManyToOne)(() => User, (user) => user.freelancerSkills),
3243
- (0, import_typeorm27.JoinColumn)({ name: "user_id" })
3289
+ (0, import_typeorm28.ManyToOne)(() => User, (user) => user.freelancerSkills),
3290
+ (0, import_typeorm28.JoinColumn)({ name: "user_id" })
3244
3291
  ], FreelancerSkill.prototype, "user", 2);
3245
3292
  __decorateClass([
3246
- (0, import_typeorm27.Column)({ name: "skill_name", type: "varchar", nullable: true })
3293
+ (0, import_typeorm28.Column)({ name: "skill_name", type: "varchar", nullable: true })
3247
3294
  ], FreelancerSkill.prototype, "skillName", 2);
3248
3295
  FreelancerSkill = __decorateClass([
3249
- (0, import_typeorm27.Entity)("freelancer_skills")
3296
+ (0, import_typeorm28.Entity)("freelancer_skills")
3250
3297
  ], FreelancerSkill);
3251
3298
 
3252
3299
  // src/entities/freelancer-tool.entity.ts
3253
- var import_typeorm28 = require("typeorm");
3300
+ var import_typeorm29 = require("typeorm");
3254
3301
  var FreelancerTool = class extends BaseEntity {
3255
3302
  };
3256
3303
  // individual index to find tool by user
3257
3304
  __decorateClass([
3258
- (0, import_typeorm28.Column)({ name: "user_id", type: "integer", nullable: true }),
3259
- (0, import_typeorm28.Index)()
3305
+ (0, import_typeorm29.Column)({ name: "user_id", type: "integer", nullable: true }),
3306
+ (0, import_typeorm29.Index)()
3260
3307
  ], FreelancerTool.prototype, "userId", 2);
3261
3308
  __decorateClass([
3262
- (0, import_typeorm28.ManyToOne)(() => User, (user) => user.freelancerTool),
3263
- (0, import_typeorm28.JoinColumn)({ name: "user_id" })
3309
+ (0, import_typeorm29.ManyToOne)(() => User, (user) => user.freelancerTool),
3310
+ (0, import_typeorm29.JoinColumn)({ name: "user_id" })
3264
3311
  ], FreelancerTool.prototype, "user", 2);
3265
3312
  __decorateClass([
3266
- (0, import_typeorm28.Column)({ name: "tool_name", type: "varchar", nullable: true })
3313
+ (0, import_typeorm29.Column)({ name: "tool_name", type: "varchar", nullable: true })
3267
3314
  ], FreelancerTool.prototype, "toolName", 2);
3268
3315
  FreelancerTool = __decorateClass([
3269
- (0, import_typeorm28.Entity)("freelancer_tools")
3316
+ (0, import_typeorm29.Entity)("freelancer_tools")
3270
3317
  ], FreelancerTool);
3271
3318
 
3272
3319
  // src/entities/freelancer-framework.entity.ts
3273
- var import_typeorm29 = require("typeorm");
3320
+ var import_typeorm30 = require("typeorm");
3274
3321
  var FreelancerFramework = class extends BaseEntity {
3275
3322
  };
3276
3323
  // individual index to find framework by user
3277
3324
  __decorateClass([
3278
- (0, import_typeorm29.Column)({ name: "user_id", type: "integer", nullable: true }),
3279
- (0, import_typeorm29.Index)()
3325
+ (0, import_typeorm30.Column)({ name: "user_id", type: "integer", nullable: true }),
3326
+ (0, import_typeorm30.Index)()
3280
3327
  ], FreelancerFramework.prototype, "userId", 2);
3281
3328
  __decorateClass([
3282
- (0, import_typeorm29.ManyToOne)(() => User, (user) => user.freelancerFramework),
3283
- (0, import_typeorm29.JoinColumn)({ name: "user_id" })
3329
+ (0, import_typeorm30.ManyToOne)(() => User, (user) => user.freelancerFramework),
3330
+ (0, import_typeorm30.JoinColumn)({ name: "user_id" })
3284
3331
  ], FreelancerFramework.prototype, "user", 2);
3285
3332
  __decorateClass([
3286
- (0, import_typeorm29.Column)({ name: "framework_name", type: "varchar", nullable: true })
3333
+ (0, import_typeorm30.Column)({ name: "framework_name", type: "varchar", nullable: true })
3287
3334
  ], FreelancerFramework.prototype, "frameworkName", 2);
3288
3335
  FreelancerFramework = __decorateClass([
3289
- (0, import_typeorm29.Entity)("freelancer_frameworks")
3336
+ (0, import_typeorm30.Entity)("freelancer_frameworks")
3290
3337
  ], FreelancerFramework);
3291
3338
 
3292
3339
  // src/entities/freelancer-assessment.entity.ts
3293
- var import_typeorm30 = require("typeorm");
3340
+ var import_typeorm31 = require("typeorm");
3294
3341
  var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
3295
3342
  AssessmentStatusEnum2["NOT_ATTEMPTED"] = "NOT_ATTEMPTED";
3296
3343
  AssessmentStatusEnum2["ACTIVE"] = "ACTIVE";
@@ -3306,30 +3353,30 @@ var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
3306
3353
  var FreelancerAssessment = class extends BaseEntity {
3307
3354
  };
3308
3355
  __decorateClass([
3309
- (0, import_typeorm30.Column)({ name: "user_id", type: "integer", nullable: true }),
3310
- (0, import_typeorm30.Index)()
3356
+ (0, import_typeorm31.Column)({ name: "user_id", type: "integer", nullable: true }),
3357
+ (0, import_typeorm31.Index)()
3311
3358
  ], FreelancerAssessment.prototype, "userId", 2);
3312
3359
  __decorateClass([
3313
- (0, import_typeorm30.ManyToOne)(() => User, (user) => user.assessments),
3314
- (0, import_typeorm30.JoinColumn)({ name: "user_id" })
3360
+ (0, import_typeorm31.ManyToOne)(() => User, (user) => user.assessments),
3361
+ (0, import_typeorm31.JoinColumn)({ name: "user_id" })
3315
3362
  ], FreelancerAssessment.prototype, "user", 2);
3316
3363
  __decorateClass([
3317
- (0, import_typeorm30.Column)({ name: "interview_id", type: "varchar", nullable: true })
3364
+ (0, import_typeorm31.Column)({ name: "interview_id", type: "varchar", nullable: true })
3318
3365
  ], FreelancerAssessment.prototype, "interviewId", 2);
3319
3366
  __decorateClass([
3320
- (0, import_typeorm30.Column)({ name: "interview_link", type: "text", nullable: true })
3367
+ (0, import_typeorm31.Column)({ name: "interview_link", type: "text", nullable: true })
3321
3368
  ], FreelancerAssessment.prototype, "interviewLink", 2);
3322
3369
  __decorateClass([
3323
- (0, import_typeorm30.Column)({ name: "recording_link", type: "text", nullable: true })
3370
+ (0, import_typeorm31.Column)({ name: "recording_link", type: "text", nullable: true })
3324
3371
  ], FreelancerAssessment.prototype, "recordingLink", 2);
3325
3372
  __decorateClass([
3326
- (0, import_typeorm30.Column)({ name: "iframe_response", type: "jsonb", nullable: true })
3373
+ (0, import_typeorm31.Column)({ name: "iframe_response", type: "jsonb", nullable: true })
3327
3374
  ], FreelancerAssessment.prototype, "iframeResponse", 2);
3328
3375
  __decorateClass([
3329
- (0, import_typeorm30.Column)({ name: "interview_summary", type: "jsonb", nullable: true })
3376
+ (0, import_typeorm31.Column)({ name: "interview_summary", type: "jsonb", nullable: true })
3330
3377
  ], FreelancerAssessment.prototype, "interviewSummary", 2);
3331
3378
  __decorateClass([
3332
- (0, import_typeorm30.Column)({
3379
+ (0, import_typeorm31.Column)({
3333
3380
  name: "status",
3334
3381
  type: "enum",
3335
3382
  enum: AssessmentStatusEnum,
@@ -3337,11 +3384,11 @@ __decorateClass([
3337
3384
  })
3338
3385
  ], FreelancerAssessment.prototype, "status", 2);
3339
3386
  FreelancerAssessment = __decorateClass([
3340
- (0, import_typeorm30.Entity)("freelancer_assessments")
3387
+ (0, import_typeorm31.Entity)("freelancer_assessments")
3341
3388
  ], FreelancerAssessment);
3342
3389
 
3343
3390
  // src/entities/freelancer-declaration.entity.ts
3344
- var import_typeorm31 = require("typeorm");
3391
+ var import_typeorm32 = require("typeorm");
3345
3392
  var DocumentType = /* @__PURE__ */ ((DocumentType2) => {
3346
3393
  DocumentType2["AADHAAR"] = "AADHAAR_CARD";
3347
3394
  DocumentType2["PASSPORT"] = "PASSPORT";
@@ -3353,15 +3400,15 @@ var FreelancerDeclaration = class extends BaseEntity {
3353
3400
  };
3354
3401
  // individual index to find declaration by user
3355
3402
  __decorateClass([
3356
- (0, import_typeorm31.Column)({ name: "user_id", type: "integer", nullable: true }),
3357
- (0, import_typeorm31.Index)()
3403
+ (0, import_typeorm32.Column)({ name: "user_id", type: "integer", nullable: true }),
3404
+ (0, import_typeorm32.Index)()
3358
3405
  ], FreelancerDeclaration.prototype, "userId", 2);
3359
3406
  __decorateClass([
3360
- (0, import_typeorm31.ManyToOne)(() => User, (user) => user.freelancerDeclaration),
3361
- (0, import_typeorm31.JoinColumn)({ name: "user_id" })
3407
+ (0, import_typeorm32.ManyToOne)(() => User, (user) => user.freelancerDeclaration),
3408
+ (0, import_typeorm32.JoinColumn)({ name: "user_id" })
3362
3409
  ], FreelancerDeclaration.prototype, "user", 2);
3363
3410
  __decorateClass([
3364
- (0, import_typeorm31.Column)({
3411
+ (0, import_typeorm32.Column)({
3365
3412
  name: "document_type",
3366
3413
  type: "enum",
3367
3414
  enum: DocumentType,
@@ -3369,144 +3416,144 @@ __decorateClass([
3369
3416
  })
3370
3417
  ], FreelancerDeclaration.prototype, "documentType", 2);
3371
3418
  __decorateClass([
3372
- (0, import_typeorm31.Column)({ name: "front_document_url", type: "varchar", nullable: true })
3419
+ (0, import_typeorm32.Column)({ name: "front_document_url", type: "varchar", nullable: true })
3373
3420
  ], FreelancerDeclaration.prototype, "frontDocumentUrl", 2);
3374
3421
  __decorateClass([
3375
- (0, import_typeorm31.Column)({ name: "back_document_url", type: "varchar", nullable: true })
3422
+ (0, import_typeorm32.Column)({ name: "back_document_url", type: "varchar", nullable: true })
3376
3423
  ], FreelancerDeclaration.prototype, "backDocumentUrl", 2);
3377
3424
  __decorateClass([
3378
- (0, import_typeorm31.Column)({ name: "declaration_accepted", type: "boolean", default: false })
3425
+ (0, import_typeorm32.Column)({ name: "declaration_accepted", type: "boolean", default: false })
3379
3426
  ], FreelancerDeclaration.prototype, "declarationAccepted", 2);
3380
3427
  __decorateClass([
3381
- (0, import_typeorm31.Column)({ name: "digital_signature_url", type: "varchar", nullable: true })
3428
+ (0, import_typeorm32.Column)({ name: "digital_signature_url", type: "varchar", nullable: true })
3382
3429
  ], FreelancerDeclaration.prototype, "digitalSignatureUrl", 2);
3383
3430
  FreelancerDeclaration = __decorateClass([
3384
- (0, import_typeorm31.Entity)("freelancer_declaration")
3431
+ (0, import_typeorm32.Entity)("freelancer_declaration")
3385
3432
  ], FreelancerDeclaration);
3386
3433
 
3387
3434
  // src/entities/company-members-roles.entity.ts
3388
- var import_typeorm35 = require("typeorm");
3435
+ var import_typeorm36 = require("typeorm");
3389
3436
 
3390
3437
  // src/entities/company-role.entity.ts
3391
- var import_typeorm34 = require("typeorm");
3438
+ var import_typeorm35 = require("typeorm");
3392
3439
 
3393
3440
  // src/entities/company-role-permission.entity.ts
3394
- var import_typeorm33 = require("typeorm");
3441
+ var import_typeorm34 = require("typeorm");
3395
3442
 
3396
3443
  // src/entities/permission.entity.ts
3397
- var import_typeorm32 = require("typeorm");
3444
+ var import_typeorm33 = require("typeorm");
3398
3445
  var Permission = class extends BaseEntity {
3399
3446
  };
3400
3447
  __decorateClass([
3401
- (0, import_typeorm32.Column)({ name: "name", type: "varchar", nullable: true })
3448
+ (0, import_typeorm33.Column)({ name: "name", type: "varchar", nullable: true })
3402
3449
  ], Permission.prototype, "name", 2);
3403
3450
  __decorateClass([
3404
- (0, import_typeorm32.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
3405
- (0, import_typeorm32.Index)()
3451
+ (0, import_typeorm33.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
3452
+ (0, import_typeorm33.Index)()
3406
3453
  ], Permission.prototype, "slug", 2);
3407
3454
  __decorateClass([
3408
- (0, import_typeorm32.Column)({ name: "description", type: "text", nullable: true })
3455
+ (0, import_typeorm33.Column)({ name: "description", type: "text", nullable: true })
3409
3456
  ], Permission.prototype, "description", 2);
3410
3457
  __decorateClass([
3411
- (0, import_typeorm32.Column)({ name: "is_active", type: "boolean", default: true })
3458
+ (0, import_typeorm33.Column)({ name: "is_active", type: "boolean", default: true })
3412
3459
  ], Permission.prototype, "isActive", 2);
3413
3460
  Permission = __decorateClass([
3414
- (0, import_typeorm32.Entity)("permissions")
3461
+ (0, import_typeorm33.Entity)("permissions")
3415
3462
  ], Permission);
3416
3463
 
3417
3464
  // src/entities/company-role-permission.entity.ts
3418
3465
  var CompanyRolePermission = class extends BaseEntity {
3419
3466
  };
3420
3467
  __decorateClass([
3421
- (0, import_typeorm33.Column)({ name: "company_role_id", type: "integer", nullable: true }),
3422
- (0, import_typeorm33.Index)()
3468
+ (0, import_typeorm34.Column)({ name: "company_role_id", type: "integer", nullable: true }),
3469
+ (0, import_typeorm34.Index)()
3423
3470
  ], CompanyRolePermission.prototype, "companyRoleId", 2);
3424
3471
  __decorateClass([
3425
- (0, import_typeorm33.ManyToOne)(() => CompanyRole, (role) => role.rolePermissions, {
3472
+ (0, import_typeorm34.ManyToOne)(() => CompanyRole, (role) => role.rolePermissions, {
3426
3473
  onDelete: "CASCADE"
3427
3474
  }),
3428
- (0, import_typeorm33.JoinColumn)({ name: "company_role_id" })
3475
+ (0, import_typeorm34.JoinColumn)({ name: "company_role_id" })
3429
3476
  ], CompanyRolePermission.prototype, "companyRole", 2);
3430
3477
  __decorateClass([
3431
- (0, import_typeorm33.Column)({ name: "permission_id", type: "integer" }),
3432
- (0, import_typeorm33.Index)()
3478
+ (0, import_typeorm34.Column)({ name: "permission_id", type: "integer" }),
3479
+ (0, import_typeorm34.Index)()
3433
3480
  ], CompanyRolePermission.prototype, "permissionId", 2);
3434
3481
  __decorateClass([
3435
- (0, import_typeorm33.ManyToOne)(() => Permission, { onDelete: "CASCADE" }),
3436
- (0, import_typeorm33.JoinColumn)({ name: "permission_id" })
3482
+ (0, import_typeorm34.ManyToOne)(() => Permission, { onDelete: "CASCADE" }),
3483
+ (0, import_typeorm34.JoinColumn)({ name: "permission_id" })
3437
3484
  ], CompanyRolePermission.prototype, "permission", 2);
3438
3485
  __decorateClass([
3439
- (0, import_typeorm33.Column)({ name: "assigned_by", type: "integer", nullable: true })
3486
+ (0, import_typeorm34.Column)({ name: "assigned_by", type: "integer", nullable: true })
3440
3487
  ], CompanyRolePermission.prototype, "assignedBy", 2);
3441
3488
  CompanyRolePermission = __decorateClass([
3442
- (0, import_typeorm33.Entity)("company_role_permissions")
3489
+ (0, import_typeorm34.Entity)("company_role_permissions")
3443
3490
  ], CompanyRolePermission);
3444
3491
 
3445
3492
  // src/entities/company-role.entity.ts
3446
3493
  var CompanyRole = class extends BaseEntity {
3447
3494
  };
3448
3495
  __decorateClass([
3449
- (0, import_typeorm34.Column)({ name: "user_id", type: "integer", nullable: true }),
3450
- (0, import_typeorm34.Index)()
3496
+ (0, import_typeorm35.Column)({ name: "user_id", type: "integer", nullable: true }),
3497
+ (0, import_typeorm35.Index)()
3451
3498
  ], CompanyRole.prototype, "userId", 2);
3452
3499
  __decorateClass([
3453
- (0, import_typeorm34.ManyToOne)(() => User, (user) => user.otps),
3454
- (0, import_typeorm34.JoinColumn)({ name: "user_id" })
3500
+ (0, import_typeorm35.ManyToOne)(() => User, (user) => user.otps),
3501
+ (0, import_typeorm35.JoinColumn)({ name: "user_id" })
3455
3502
  ], CompanyRole.prototype, "user", 2);
3456
3503
  __decorateClass([
3457
- (0, import_typeorm34.Column)({ name: "name", type: "varchar" })
3504
+ (0, import_typeorm35.Column)({ name: "name", type: "varchar" })
3458
3505
  ], CompanyRole.prototype, "name", 2);
3459
3506
  __decorateClass([
3460
- (0, import_typeorm34.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
3461
- (0, import_typeorm34.Index)()
3507
+ (0, import_typeorm35.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
3508
+ (0, import_typeorm35.Index)()
3462
3509
  ], CompanyRole.prototype, "slug", 2);
3463
3510
  __decorateClass([
3464
- (0, import_typeorm34.Column)({ name: "description", type: "text", nullable: true })
3511
+ (0, import_typeorm35.Column)({ name: "description", type: "text", nullable: true })
3465
3512
  ], CompanyRole.prototype, "description", 2);
3466
3513
  __decorateClass([
3467
- (0, import_typeorm34.Column)({ name: "is_active", type: "boolean", default: true })
3514
+ (0, import_typeorm35.Column)({ name: "is_active", type: "boolean", default: true })
3468
3515
  ], CompanyRole.prototype, "isActive", 2);
3469
3516
  __decorateClass([
3470
- (0, import_typeorm34.OneToMany)(() => CompanyRolePermission, (rp) => rp.companyRole)
3517
+ (0, import_typeorm35.OneToMany)(() => CompanyRolePermission, (rp) => rp.companyRole)
3471
3518
  ], CompanyRole.prototype, "rolePermissions", 2);
3472
3519
  CompanyRole = __decorateClass([
3473
- (0, import_typeorm34.Entity)("company_roles")
3520
+ (0, import_typeorm35.Entity)("company_roles")
3474
3521
  ], CompanyRole);
3475
3522
 
3476
3523
  // src/entities/company-members-roles.entity.ts
3477
3524
  var CompanyMemberRole = class extends BaseEntity {
3478
3525
  };
3479
3526
  __decorateClass([
3480
- (0, import_typeorm35.Column)({ name: "user_id", type: "integer", nullable: true }),
3481
- (0, import_typeorm35.Index)()
3527
+ (0, import_typeorm36.Column)({ name: "user_id", type: "integer", nullable: true }),
3528
+ (0, import_typeorm36.Index)()
3482
3529
  ], CompanyMemberRole.prototype, "userId", 2);
3483
3530
  __decorateClass([
3484
- (0, import_typeorm35.ManyToOne)(() => User),
3485
- (0, import_typeorm35.JoinColumn)({ name: "user_id" })
3531
+ (0, import_typeorm36.ManyToOne)(() => User),
3532
+ (0, import_typeorm36.JoinColumn)({ name: "user_id" })
3486
3533
  ], CompanyMemberRole.prototype, "user", 2);
3487
3534
  __decorateClass([
3488
- (0, import_typeorm35.ManyToOne)(() => CompanyRole),
3489
- (0, import_typeorm35.JoinColumn)({ name: "company_role_id" })
3535
+ (0, import_typeorm36.ManyToOne)(() => CompanyRole),
3536
+ (0, import_typeorm36.JoinColumn)({ name: "company_role_id" })
3490
3537
  ], CompanyMemberRole.prototype, "role", 2);
3491
3538
  __decorateClass([
3492
- (0, import_typeorm35.Column)({ name: "company_role_id", type: "integer", nullable: true }),
3493
- (0, import_typeorm35.Index)()
3539
+ (0, import_typeorm36.Column)({ name: "company_role_id", type: "integer", nullable: true }),
3540
+ (0, import_typeorm36.Index)()
3494
3541
  ], CompanyMemberRole.prototype, "companyRoleId", 2);
3495
3542
  __decorateClass([
3496
- (0, import_typeorm35.Column)({ name: "assigned_by", type: "integer", nullable: true })
3543
+ (0, import_typeorm36.Column)({ name: "assigned_by", type: "integer", nullable: true })
3497
3544
  ], CompanyMemberRole.prototype, "assignedBy", 2);
3498
3545
  CompanyMemberRole = __decorateClass([
3499
- (0, import_typeorm35.Entity)("company_member_roles")
3546
+ (0, import_typeorm36.Entity)("company_member_roles")
3500
3547
  ], CompanyMemberRole);
3501
3548
 
3502
3549
  // src/entities/assessment-answer.entity.ts
3503
- var import_typeorm38 = require("typeorm");
3550
+ var import_typeorm39 = require("typeorm");
3504
3551
 
3505
3552
  // src/entities/assessment-question.entity.ts
3506
- var import_typeorm37 = require("typeorm");
3553
+ var import_typeorm38 = require("typeorm");
3507
3554
 
3508
3555
  // src/entities/assessment-question-option.entity.ts
3509
- var import_typeorm36 = require("typeorm");
3556
+ var import_typeorm37 = require("typeorm");
3510
3557
  var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
3511
3558
  AnswerTypeEnum2["CORRECT"] = "CORRECT";
3512
3559
  AnswerTypeEnum2["ACCEPTABLE"] = "ACCEPTABLE";
@@ -3516,21 +3563,21 @@ var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
3516
3563
  var AssessmetQuestionOption = class extends BaseEntity {
3517
3564
  };
3518
3565
  __decorateClass([
3519
- (0, import_typeorm36.Column)({ name: "question_id", type: "integer", nullable: true }),
3520
- (0, import_typeorm36.Index)()
3566
+ (0, import_typeorm37.Column)({ name: "question_id", type: "integer", nullable: true }),
3567
+ (0, import_typeorm37.Index)()
3521
3568
  ], AssessmetQuestionOption.prototype, "questionId", 2);
3522
3569
  __decorateClass([
3523
- (0, import_typeorm36.ManyToOne)(
3570
+ (0, import_typeorm37.ManyToOne)(
3524
3571
  () => AssessmetQuestion,
3525
3572
  (assessmentQuestion) => assessmentQuestion.options
3526
3573
  ),
3527
- (0, import_typeorm36.JoinColumn)({ name: "question_id" })
3574
+ (0, import_typeorm37.JoinColumn)({ name: "question_id" })
3528
3575
  ], AssessmetQuestionOption.prototype, "question", 2);
3529
3576
  __decorateClass([
3530
- (0, import_typeorm36.Column)({ name: "text", type: "varchar", nullable: true })
3577
+ (0, import_typeorm37.Column)({ name: "text", type: "varchar", nullable: true })
3531
3578
  ], AssessmetQuestionOption.prototype, "text", 2);
3532
3579
  __decorateClass([
3533
- (0, import_typeorm36.Column)({
3580
+ (0, import_typeorm37.Column)({
3534
3581
  name: "answer_type",
3535
3582
  type: "enum",
3536
3583
  enum: AnswerTypeEnum,
@@ -3538,13 +3585,13 @@ __decorateClass([
3538
3585
  })
3539
3586
  ], AssessmetQuestionOption.prototype, "answerType", 2);
3540
3587
  __decorateClass([
3541
- (0, import_typeorm36.Column)({ name: "is_active", type: "boolean", default: true })
3588
+ (0, import_typeorm37.Column)({ name: "is_active", type: "boolean", default: true })
3542
3589
  ], AssessmetQuestionOption.prototype, "isActive", 2);
3543
3590
  __decorateClass([
3544
- (0, import_typeorm36.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
3591
+ (0, import_typeorm37.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
3545
3592
  ], AssessmetQuestionOption.prototype, "selectedOptions", 2);
3546
3593
  AssessmetQuestionOption = __decorateClass([
3547
- (0, import_typeorm36.Entity)("assessment_question_options")
3594
+ (0, import_typeorm37.Entity)("assessment_question_options")
3548
3595
  ], AssessmetQuestionOption);
3549
3596
 
3550
3597
  // src/entities/assessment-question.entity.ts
@@ -3556,10 +3603,10 @@ var QuestionForEnum = /* @__PURE__ */ ((QuestionForEnum2) => {
3556
3603
  var AssessmetQuestion = class extends BaseEntity {
3557
3604
  };
3558
3605
  __decorateClass([
3559
- (0, import_typeorm37.Column)({ name: "text", type: "varchar", nullable: true })
3606
+ (0, import_typeorm38.Column)({ name: "text", type: "varchar", nullable: true })
3560
3607
  ], AssessmetQuestion.prototype, "text", 2);
3561
3608
  __decorateClass([
3562
- (0, import_typeorm37.Column)({
3609
+ (0, import_typeorm38.Column)({
3563
3610
  name: "question_for",
3564
3611
  type: "enum",
3565
3612
  enum: QuestionForEnum,
@@ -3567,16 +3614,16 @@ __decorateClass([
3567
3614
  })
3568
3615
  ], AssessmetQuestion.prototype, "questionFor", 2);
3569
3616
  __decorateClass([
3570
- (0, import_typeorm37.Column)({ name: "is_active", type: "boolean", default: true })
3617
+ (0, import_typeorm38.Column)({ name: "is_active", type: "boolean", default: true })
3571
3618
  ], AssessmetQuestion.prototype, "isActive", 2);
3572
3619
  __decorateClass([
3573
- (0, import_typeorm37.OneToMany)(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
3620
+ (0, import_typeorm38.OneToMany)(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
3574
3621
  ], AssessmetQuestion.prototype, "options", 2);
3575
3622
  __decorateClass([
3576
- (0, import_typeorm37.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
3623
+ (0, import_typeorm38.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
3577
3624
  ], AssessmetQuestion.prototype, "answers", 2);
3578
3625
  AssessmetQuestion = __decorateClass([
3579
- (0, import_typeorm37.Entity)("assessment_questions")
3626
+ (0, import_typeorm38.Entity)("assessment_questions")
3580
3627
  ], AssessmetQuestion);
3581
3628
 
3582
3629
  // src/entities/assessment-answer.entity.ts
@@ -3589,118 +3636,118 @@ var SelectedAnswerTypeEnum = /* @__PURE__ */ ((SelectedAnswerTypeEnum2) => {
3589
3636
  var AssessmentAnswer = class extends BaseEntity {
3590
3637
  };
3591
3638
  __decorateClass([
3592
- (0, import_typeorm38.Column)({ name: "user_id", type: "integer" }),
3593
- (0, import_typeorm38.Index)()
3639
+ (0, import_typeorm39.Column)({ name: "user_id", type: "integer" }),
3640
+ (0, import_typeorm39.Index)()
3594
3641
  ], AssessmentAnswer.prototype, "userId", 2);
3595
3642
  __decorateClass([
3596
- (0, import_typeorm38.ManyToOne)(() => User, (user) => user.assessmentAnswers),
3597
- (0, import_typeorm38.JoinColumn)({ name: "user_id" })
3643
+ (0, import_typeorm39.ManyToOne)(() => User, (user) => user.assessmentAnswers),
3644
+ (0, import_typeorm39.JoinColumn)({ name: "user_id" })
3598
3645
  ], AssessmentAnswer.prototype, "user", 2);
3599
3646
  __decorateClass([
3600
- (0, import_typeorm38.Column)({ name: "question_id", type: "integer" }),
3601
- (0, import_typeorm38.Index)()
3647
+ (0, import_typeorm39.Column)({ name: "question_id", type: "integer" }),
3648
+ (0, import_typeorm39.Index)()
3602
3649
  ], AssessmentAnswer.prototype, "questionId", 2);
3603
3650
  __decorateClass([
3604
- (0, import_typeorm38.ManyToOne)(
3651
+ (0, import_typeorm39.ManyToOne)(
3605
3652
  () => AssessmetQuestion,
3606
3653
  (assessmentQuestion) => assessmentQuestion.answers
3607
3654
  ),
3608
- (0, import_typeorm38.JoinColumn)({ name: "question_id" })
3655
+ (0, import_typeorm39.JoinColumn)({ name: "question_id" })
3609
3656
  ], AssessmentAnswer.prototype, "question", 2);
3610
3657
  __decorateClass([
3611
- (0, import_typeorm38.Column)({ name: "selected_option_id", type: "integer" }),
3612
- (0, import_typeorm38.Index)()
3658
+ (0, import_typeorm39.Column)({ name: "selected_option_id", type: "integer" }),
3659
+ (0, import_typeorm39.Index)()
3613
3660
  ], AssessmentAnswer.prototype, "selectedOptionId", 2);
3614
3661
  __decorateClass([
3615
- (0, import_typeorm38.ManyToOne)(
3662
+ (0, import_typeorm39.ManyToOne)(
3616
3663
  () => AssessmetQuestionOption,
3617
3664
  (assessmentQuestionOption) => assessmentQuestionOption.selectedOptions
3618
3665
  ),
3619
- (0, import_typeorm38.JoinColumn)({ name: "selected_option_id" })
3666
+ (0, import_typeorm39.JoinColumn)({ name: "selected_option_id" })
3620
3667
  ], AssessmentAnswer.prototype, "option", 2);
3621
3668
  __decorateClass([
3622
- (0, import_typeorm38.Column)({
3669
+ (0, import_typeorm39.Column)({
3623
3670
  name: "selected_answer_type",
3624
3671
  type: "enum",
3625
3672
  enum: SelectedAnswerTypeEnum
3626
3673
  })
3627
3674
  ], AssessmentAnswer.prototype, "selectedAnswerType", 2);
3628
3675
  __decorateClass([
3629
- (0, import_typeorm38.Column)({ name: "score", type: "float" })
3676
+ (0, import_typeorm39.Column)({ name: "score", type: "float" })
3630
3677
  ], AssessmentAnswer.prototype, "score", 2);
3631
3678
  AssessmentAnswer = __decorateClass([
3632
- (0, import_typeorm38.Entity)("assessment_answers")
3679
+ (0, import_typeorm39.Entity)("assessment_answers")
3633
3680
  ], AssessmentAnswer);
3634
3681
 
3635
3682
  // src/entities/company-skill.entity.ts
3636
- var import_typeorm39 = require("typeorm");
3683
+ var import_typeorm40 = require("typeorm");
3637
3684
  var CompanySkill = class extends BaseEntity {
3638
3685
  };
3639
3686
  // individual index to find core skills by user
3640
3687
  __decorateClass([
3641
- (0, import_typeorm39.Column)({ name: "user_id", type: "integer", nullable: true }),
3642
- (0, import_typeorm39.Index)()
3688
+ (0, import_typeorm40.Column)({ name: "user_id", type: "integer", nullable: true }),
3689
+ (0, import_typeorm40.Index)()
3643
3690
  ], CompanySkill.prototype, "userId", 2);
3644
3691
  __decorateClass([
3645
- (0, import_typeorm39.ManyToOne)(() => User, (user) => user.freelancerSkills),
3646
- (0, import_typeorm39.JoinColumn)({ name: "user_id" })
3692
+ (0, import_typeorm40.ManyToOne)(() => User, (user) => user.freelancerSkills),
3693
+ (0, import_typeorm40.JoinColumn)({ name: "user_id" })
3647
3694
  ], CompanySkill.prototype, "user", 2);
3648
3695
  __decorateClass([
3649
- (0, import_typeorm39.Column)({ name: "skill_name", type: "varchar", nullable: true })
3696
+ (0, import_typeorm40.Column)({ name: "skill_name", type: "varchar", nullable: true })
3650
3697
  ], CompanySkill.prototype, "skillName", 2);
3651
3698
  CompanySkill = __decorateClass([
3652
- (0, import_typeorm39.Entity)("company_skills")
3699
+ (0, import_typeorm40.Entity)("company_skills")
3653
3700
  ], CompanySkill);
3654
3701
 
3655
3702
  // src/entities/admin-user-role.entity.ts
3656
- var import_typeorm43 = require("typeorm");
3703
+ var import_typeorm44 = require("typeorm");
3657
3704
 
3658
3705
  // src/entities/admin-role.entity.ts
3659
- var import_typeorm42 = require("typeorm");
3706
+ var import_typeorm43 = require("typeorm");
3660
3707
 
3661
3708
  // src/entities/admin-role-permission.entity.ts
3662
- var import_typeorm41 = require("typeorm");
3709
+ var import_typeorm42 = require("typeorm");
3663
3710
 
3664
3711
  // src/entities/admin-permission.entity.ts
3665
- var import_typeorm40 = require("typeorm");
3712
+ var import_typeorm41 = require("typeorm");
3666
3713
  var AdminPermission = class extends BaseEntity {
3667
3714
  };
3668
3715
  __decorateClass([
3669
- (0, import_typeorm40.Column)({ name: "permission_name", type: "varchar", nullable: true })
3716
+ (0, import_typeorm41.Column)({ name: "permission_name", type: "varchar", nullable: true })
3670
3717
  ], AdminPermission.prototype, "permissionName", 2);
3671
3718
  __decorateClass([
3672
- (0, import_typeorm40.Column)({
3719
+ (0, import_typeorm41.Column)({
3673
3720
  name: "permission_slug",
3674
3721
  type: "varchar",
3675
3722
  unique: true,
3676
3723
  nullable: true
3677
3724
  }),
3678
- (0, import_typeorm40.Index)()
3725
+ (0, import_typeorm41.Index)()
3679
3726
  ], AdminPermission.prototype, "permissionSlug", 2);
3680
3727
  __decorateClass([
3681
- (0, import_typeorm40.Column)({ name: "permission_description", type: "varchar", nullable: true })
3728
+ (0, import_typeorm41.Column)({ name: "permission_description", type: "varchar", nullable: true })
3682
3729
  ], AdminPermission.prototype, "permissionDescription", 2);
3683
3730
  __decorateClass([
3684
- (0, import_typeorm40.Column)({ name: "module", type: "varchar", nullable: true })
3731
+ (0, import_typeorm41.Column)({ name: "module", type: "varchar", nullable: true })
3685
3732
  ], AdminPermission.prototype, "module", 2);
3686
3733
  __decorateClass([
3687
- (0, import_typeorm40.Column)({ name: "is_active", type: "boolean", default: true })
3734
+ (0, import_typeorm41.Column)({ name: "is_active", type: "boolean", default: true })
3688
3735
  ], AdminPermission.prototype, "isActive", 2);
3689
3736
  __decorateClass([
3690
- (0, import_typeorm40.OneToMany)(
3737
+ (0, import_typeorm41.OneToMany)(
3691
3738
  () => AdminRolePermission,
3692
3739
  (adminRolePermission) => adminRolePermission.adminPermissions
3693
3740
  )
3694
3741
  ], AdminPermission.prototype, "adminRole", 2);
3695
3742
  AdminPermission = __decorateClass([
3696
- (0, import_typeorm40.Entity)("admin_permissions")
3743
+ (0, import_typeorm41.Entity)("admin_permissions")
3697
3744
  ], AdminPermission);
3698
3745
 
3699
3746
  // src/entities/admin-role-permission.entity.ts
3700
3747
  var AdminRolePermission = class extends BaseEntity {
3701
3748
  };
3702
3749
  __decorateClass([
3703
- (0, import_typeorm41.Column)({
3750
+ (0, import_typeorm42.Column)({
3704
3751
  name: "role_id",
3705
3752
  type: "int",
3706
3753
  nullable: true,
@@ -3708,11 +3755,11 @@ __decorateClass([
3708
3755
  })
3709
3756
  ], AdminRolePermission.prototype, "roleId", 2);
3710
3757
  __decorateClass([
3711
- (0, import_typeorm41.ManyToOne)(() => AdminRole),
3712
- (0, import_typeorm41.JoinColumn)({ name: "role_id" })
3758
+ (0, import_typeorm42.ManyToOne)(() => AdminRole),
3759
+ (0, import_typeorm42.JoinColumn)({ name: "role_id" })
3713
3760
  ], AdminRolePermission.prototype, "adminRole", 2);
3714
3761
  __decorateClass([
3715
- (0, import_typeorm41.Column)({
3762
+ (0, import_typeorm42.Column)({
3716
3763
  name: "permission_id",
3717
3764
  type: "int",
3718
3765
  nullable: true,
@@ -3720,47 +3767,47 @@ __decorateClass([
3720
3767
  })
3721
3768
  ], AdminRolePermission.prototype, "permissionId", 2);
3722
3769
  __decorateClass([
3723
- (0, import_typeorm41.ManyToOne)(() => AdminPermission),
3724
- (0, import_typeorm41.JoinColumn)({ name: "permission_id" })
3770
+ (0, import_typeorm42.ManyToOne)(() => AdminPermission),
3771
+ (0, import_typeorm42.JoinColumn)({ name: "permission_id" })
3725
3772
  ], AdminRolePermission.prototype, "adminPermissions", 2);
3726
3773
  AdminRolePermission = __decorateClass([
3727
- (0, import_typeorm41.Entity)("admin_role_permissions")
3774
+ (0, import_typeorm42.Entity)("admin_role_permissions")
3728
3775
  ], AdminRolePermission);
3729
3776
 
3730
3777
  // src/entities/admin-role.entity.ts
3731
3778
  var AdminRole = class extends BaseEntity {
3732
3779
  };
3733
3780
  __decorateClass([
3734
- (0, import_typeorm42.Column)({ name: "role_name", type: "varchar", nullable: true })
3781
+ (0, import_typeorm43.Column)({ name: "role_name", type: "varchar", nullable: true })
3735
3782
  ], AdminRole.prototype, "roleName", 2);
3736
3783
  __decorateClass([
3737
- (0, import_typeorm42.Column)({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
3738
- (0, import_typeorm42.Index)()
3784
+ (0, import_typeorm43.Column)({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
3785
+ (0, import_typeorm43.Index)()
3739
3786
  ], AdminRole.prototype, "roleSlug", 2);
3740
3787
  __decorateClass([
3741
- (0, import_typeorm42.Column)({ name: "role_description", type: "varchar", nullable: true })
3788
+ (0, import_typeorm43.Column)({ name: "role_description", type: "varchar", nullable: true })
3742
3789
  ], AdminRole.prototype, "roleDescription", 2);
3743
3790
  __decorateClass([
3744
- (0, import_typeorm42.Column)({ name: "is_active", type: "boolean", default: true })
3791
+ (0, import_typeorm43.Column)({ name: "is_active", type: "boolean", default: true })
3745
3792
  ], AdminRole.prototype, "isActive", 2);
3746
3793
  __decorateClass([
3747
- (0, import_typeorm42.OneToMany)(
3794
+ (0, import_typeorm43.OneToMany)(
3748
3795
  () => AdminRolePermission,
3749
3796
  (addminRolePermission) => addminRolePermission.adminRole
3750
3797
  )
3751
3798
  ], AdminRole.prototype, "adminRolePermission", 2);
3752
3799
  __decorateClass([
3753
- (0, import_typeorm42.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
3800
+ (0, import_typeorm43.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
3754
3801
  ], AdminRole.prototype, "userRoles", 2);
3755
3802
  AdminRole = __decorateClass([
3756
- (0, import_typeorm42.Entity)("admin_roles")
3803
+ (0, import_typeorm43.Entity)("admin_roles")
3757
3804
  ], AdminRole);
3758
3805
 
3759
3806
  // src/entities/admin-user-role.entity.ts
3760
3807
  var AdminUserRole = class extends BaseEntity {
3761
3808
  };
3762
3809
  __decorateClass([
3763
- (0, import_typeorm43.Column)({
3810
+ (0, import_typeorm44.Column)({
3764
3811
  name: "user_id",
3765
3812
  type: "int",
3766
3813
  nullable: true,
@@ -3768,11 +3815,11 @@ __decorateClass([
3768
3815
  })
3769
3816
  ], AdminUserRole.prototype, "userId", 2);
3770
3817
  __decorateClass([
3771
- (0, import_typeorm43.ManyToOne)(() => User),
3772
- (0, import_typeorm43.JoinColumn)({ name: "user_id" })
3818
+ (0, import_typeorm44.ManyToOne)(() => User),
3819
+ (0, import_typeorm44.JoinColumn)({ name: "user_id" })
3773
3820
  ], AdminUserRole.prototype, "user", 2);
3774
3821
  __decorateClass([
3775
- (0, import_typeorm43.Column)({
3822
+ (0, import_typeorm44.Column)({
3776
3823
  name: "role_id",
3777
3824
  type: "int",
3778
3825
  nullable: true,
@@ -3780,34 +3827,34 @@ __decorateClass([
3780
3827
  })
3781
3828
  ], AdminUserRole.prototype, "roleId", 2);
3782
3829
  __decorateClass([
3783
- (0, import_typeorm43.ManyToOne)(() => AdminRole),
3784
- (0, import_typeorm43.JoinColumn)({ name: "role_id" })
3830
+ (0, import_typeorm44.ManyToOne)(() => AdminRole),
3831
+ (0, import_typeorm44.JoinColumn)({ name: "role_id" })
3785
3832
  ], AdminUserRole.prototype, "adminRole", 2);
3786
3833
  AdminUserRole = __decorateClass([
3787
- (0, import_typeorm43.Entity)("admin_user_roles")
3834
+ (0, import_typeorm44.Entity)("admin_user_roles")
3788
3835
  ], AdminUserRole);
3789
3836
 
3790
3837
  // src/entities/freelancer-resume.entity.ts
3791
- var import_typeorm44 = require("typeorm");
3838
+ var import_typeorm45 = require("typeorm");
3792
3839
  var FreelancerResume = class extends BaseEntity {
3793
3840
  };
3794
3841
  // individual index to find profile by user
3795
3842
  __decorateClass([
3796
- (0, import_typeorm44.Column)({ name: "user_id", type: "integer", nullable: true }),
3797
- (0, import_typeorm44.Index)()
3843
+ (0, import_typeorm45.Column)({ name: "user_id", type: "integer", nullable: true }),
3844
+ (0, import_typeorm45.Index)()
3798
3845
  ], FreelancerResume.prototype, "userId", 2);
3799
3846
  __decorateClass([
3800
- (0, import_typeorm44.ManyToOne)(() => User, (user) => user.freelancerProfile),
3801
- (0, import_typeorm44.JoinColumn)({ name: "user_id" })
3847
+ (0, import_typeorm45.ManyToOne)(() => User, (user) => user.freelancerProfile),
3848
+ (0, import_typeorm45.JoinColumn)({ name: "user_id" })
3802
3849
  ], FreelancerResume.prototype, "user", 2);
3803
3850
  __decorateClass([
3804
- (0, import_typeorm44.Column)({ name: "resume_data", type: "jsonb", nullable: true })
3851
+ (0, import_typeorm45.Column)({ name: "resume_data", type: "jsonb", nullable: true })
3805
3852
  ], FreelancerResume.prototype, "resumeData", 2);
3806
3853
  __decorateClass([
3807
- (0, import_typeorm44.Column)({ name: "processed_resume_data", type: "jsonb", nullable: true })
3854
+ (0, import_typeorm45.Column)({ name: "processed_resume_data", type: "jsonb", nullable: true })
3808
3855
  ], FreelancerResume.prototype, "processedResumeData", 2);
3809
3856
  FreelancerResume = __decorateClass([
3810
- (0, import_typeorm44.Entity)("freelancer_resumes")
3857
+ (0, import_typeorm45.Entity)("freelancer_resumes")
3811
3858
  ], FreelancerResume);
3812
3859
 
3813
3860
  // src/entities/user.entity.ts
@@ -3835,51 +3882,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
3835
3882
  var User = class extends BaseEntity {
3836
3883
  };
3837
3884
  __decorateClass([
3838
- (0, import_typeorm45.Column)({ name: "unique_id", type: "varchar", unique: true })
3885
+ (0, import_typeorm46.Column)({ name: "unique_id", type: "varchar", unique: true })
3839
3886
  ], User.prototype, "uniqueId", 2);
3840
3887
  __decorateClass([
3841
- (0, import_typeorm45.Column)({ name: "parent_id", type: "integer", nullable: true }),
3842
- (0, import_typeorm45.Index)()
3888
+ (0, import_typeorm46.Column)({ name: "parent_id", type: "integer", nullable: true }),
3889
+ (0, import_typeorm46.Index)()
3843
3890
  ], User.prototype, "parentId", 2);
3844
3891
  __decorateClass([
3845
- (0, import_typeorm45.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
3846
- (0, import_typeorm45.JoinColumn)({ name: "parent_id" })
3892
+ (0, import_typeorm46.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
3893
+ (0, import_typeorm46.JoinColumn)({ name: "parent_id" })
3847
3894
  ], User.prototype, "parent", 2);
3848
3895
  __decorateClass([
3849
- (0, import_typeorm45.OneToMany)(() => User, (user) => user.parent)
3896
+ (0, import_typeorm46.OneToMany)(() => User, (user) => user.parent)
3850
3897
  ], User.prototype, "children", 2);
3851
3898
  __decorateClass([
3852
- (0, import_typeorm45.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
3899
+ (0, import_typeorm46.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
3853
3900
  ], User.prototype, "username", 2);
3854
3901
  __decorateClass([
3855
- (0, import_typeorm45.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
3902
+ (0, import_typeorm46.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
3856
3903
  ], User.prototype, "firstName", 2);
3857
3904
  __decorateClass([
3858
- (0, import_typeorm45.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
3905
+ (0, import_typeorm46.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
3859
3906
  ], User.prototype, "lastName", 2);
3860
3907
  __decorateClass([
3861
- (0, import_typeorm45.Column)({ name: "date_of_birth", type: "date", nullable: true })
3908
+ (0, import_typeorm46.Column)({ name: "date_of_birth", type: "date", nullable: true })
3862
3909
  ], User.prototype, "dateOfBirth", 2);
3863
3910
  __decorateClass([
3864
- (0, import_typeorm45.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
3911
+ (0, import_typeorm46.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
3865
3912
  ], User.prototype, "gender", 2);
3866
3913
  __decorateClass([
3867
- (0, import_typeorm45.Column)({ name: "profile_picture_url", type: "text", nullable: true })
3914
+ (0, import_typeorm46.Column)({ name: "profile_picture_url", type: "text", nullable: true })
3868
3915
  ], User.prototype, "profilePictureUrl", 2);
3869
3916
  __decorateClass([
3870
- (0, import_typeorm45.Column)({ name: "email", type: "varchar", unique: true })
3917
+ (0, import_typeorm46.Column)({ name: "email", type: "varchar", unique: true })
3871
3918
  ], User.prototype, "email", 2);
3872
3919
  __decorateClass([
3873
- (0, import_typeorm45.Column)({ name: "mobile_code", type: "varchar", nullable: true })
3920
+ (0, import_typeorm46.Column)({ name: "mobile_code", type: "varchar", nullable: true })
3874
3921
  ], User.prototype, "mobileCode", 2);
3875
3922
  __decorateClass([
3876
- (0, import_typeorm45.Column)({ name: "mobile", type: "varchar", nullable: true })
3923
+ (0, import_typeorm46.Column)({ name: "mobile", type: "varchar", nullable: true })
3877
3924
  ], User.prototype, "mobile", 2);
3878
3925
  __decorateClass([
3879
- (0, import_typeorm45.Column)({ name: "password", type: "varchar", nullable: true })
3926
+ (0, import_typeorm46.Column)({ name: "password", type: "varchar", nullable: true })
3880
3927
  ], User.prototype, "password", 2);
3881
3928
  __decorateClass([
3882
- (0, import_typeorm45.Column)({
3929
+ (0, import_typeorm46.Column)({
3883
3930
  name: "account_type",
3884
3931
  type: "enum",
3885
3932
  enum: AccountType,
@@ -3887,7 +3934,7 @@ __decorateClass([
3887
3934
  })
3888
3935
  ], User.prototype, "accountType", 2);
3889
3936
  __decorateClass([
3890
- (0, import_typeorm45.Column)({
3937
+ (0, import_typeorm46.Column)({
3891
3938
  name: "account_status",
3892
3939
  type: "enum",
3893
3940
  enum: AccountStatus,
@@ -3895,39 +3942,39 @@ __decorateClass([
3895
3942
  })
3896
3943
  ], User.prototype, "accountStatus", 2);
3897
3944
  __decorateClass([
3898
- (0, import_typeorm45.Column)({ name: "is_email_verified", type: "boolean", default: false })
3945
+ (0, import_typeorm46.Column)({ name: "is_email_verified", type: "boolean", default: false })
3899
3946
  ], User.prototype, "isEmailVerified", 2);
3900
3947
  __decorateClass([
3901
- (0, import_typeorm45.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
3948
+ (0, import_typeorm46.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
3902
3949
  ], User.prototype, "isMobileVerified", 2);
3903
3950
  __decorateClass([
3904
- (0, import_typeorm45.Column)({ name: "is_social", type: "boolean", default: false })
3951
+ (0, import_typeorm46.Column)({ name: "is_social", type: "boolean", default: false })
3905
3952
  ], User.prototype, "isSocial", 2);
3906
3953
  __decorateClass([
3907
- (0, import_typeorm45.Column)({
3954
+ (0, import_typeorm46.Column)({
3908
3955
  name: "last_login_at",
3909
3956
  type: "timestamp with time zone",
3910
3957
  nullable: true
3911
3958
  })
3912
3959
  ], User.prototype, "lastLoginAt", 2);
3913
3960
  __decorateClass([
3914
- (0, import_typeorm45.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
3961
+ (0, import_typeorm46.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
3915
3962
  ], User.prototype, "lastLoginIp", 2);
3916
3963
  __decorateClass([
3917
- (0, import_typeorm45.Column)({ name: "reset_token", type: "varchar", nullable: true })
3964
+ (0, import_typeorm46.Column)({ name: "reset_token", type: "varchar", nullable: true })
3918
3965
  ], User.prototype, "resetToken", 2);
3919
3966
  __decorateClass([
3920
- (0, import_typeorm45.Column)({
3967
+ (0, import_typeorm46.Column)({
3921
3968
  name: "reset_token_expire_at",
3922
3969
  type: "timestamp with time zone",
3923
3970
  nullable: true
3924
3971
  })
3925
3972
  ], User.prototype, "resetTokenExpireAt", 2);
3926
3973
  __decorateClass([
3927
- (0, import_typeorm45.OneToMany)(() => RefreshToken, (token) => token.user)
3974
+ (0, import_typeorm46.OneToMany)(() => RefreshToken, (token) => token.user)
3928
3975
  ], User.prototype, "refreshTokens", 2);
3929
3976
  __decorateClass([
3930
- (0, import_typeorm45.Column)({
3977
+ (0, import_typeorm46.Column)({
3931
3978
  name: "provider",
3932
3979
  type: "enum",
3933
3980
  enum: Provider,
@@ -3936,109 +3983,112 @@ __decorateClass([
3936
3983
  })
3937
3984
  ], User.prototype, "provider", 2);
3938
3985
  __decorateClass([
3939
- (0, import_typeorm45.Column)({ name: "provider_token", type: "varchar", nullable: true })
3986
+ (0, import_typeorm46.Column)({ name: "provider_token", type: "varchar", nullable: true })
3940
3987
  ], User.prototype, "providerToken", 2);
3941
3988
  __decorateClass([
3942
- (0, import_typeorm45.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
3989
+ (0, import_typeorm46.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
3943
3990
  ], User.prototype, "linkedInId", 2);
3944
3991
  __decorateClass([
3945
- (0, import_typeorm45.Column)({ name: "google_id", type: "varchar", nullable: true })
3992
+ (0, import_typeorm46.Column)({ name: "google_id", type: "varchar", nullable: true })
3946
3993
  ], User.prototype, "googleId", 2);
3947
3994
  __decorateClass([
3948
- (0, import_typeorm45.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
3995
+ (0, import_typeorm46.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
3949
3996
  ], User.prototype, "gitLabsId", 2);
3950
3997
  __decorateClass([
3951
- (0, import_typeorm45.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
3998
+ (0, import_typeorm46.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
3952
3999
  ], User.prototype, "onBoardedBy", 2);
3953
4000
  __decorateClass([
3954
- (0, import_typeorm45.OneToMany)(() => Otp, (otp) => otp.user)
4001
+ (0, import_typeorm46.OneToMany)(() => Otp, (otp) => otp.user)
3955
4002
  ], User.prototype, "otps", 2);
3956
4003
  __decorateClass([
3957
- (0, import_typeorm45.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
4004
+ (0, import_typeorm46.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
3958
4005
  ], User.prototype, "senseloafLogs", 2);
3959
4006
  __decorateClass([
3960
- (0, import_typeorm45.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
4007
+ (0, import_typeorm46.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
3961
4008
  ], User.prototype, "companyProfile", 2);
3962
4009
  __decorateClass([
3963
- (0, import_typeorm45.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
4010
+ (0, import_typeorm46.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
3964
4011
  ], User.prototype, "companySkills", 2);
3965
4012
  __decorateClass([
3966
- (0, import_typeorm45.OneToMany)(() => CompanyMemberRole, (companyMemberRole) => companyMemberRole.user)
4013
+ (0, import_typeorm46.OneToMany)(() => CompanyMemberRole, (companyMemberRole) => companyMemberRole.user)
3967
4014
  ], User.prototype, "companyMemberRoles", 2);
3968
4015
  __decorateClass([
3969
- (0, import_typeorm45.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
4016
+ (0, import_typeorm46.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
3970
4017
  ], User.prototype, "companyAiInterview", 2);
3971
4018
  __decorateClass([
3972
- (0, import_typeorm45.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
4019
+ (0, import_typeorm46.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
3973
4020
  ], User.prototype, "clientF2FInterviews", 2);
3974
4021
  __decorateClass([
3975
- (0, import_typeorm45.OneToOne)(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.user)
4022
+ (0, import_typeorm46.OneToOne)(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.user)
3976
4023
  ], User.prototype, "freelancerProfile", 2);
3977
4024
  __decorateClass([
3978
- (0, import_typeorm45.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
4025
+ (0, import_typeorm46.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
3979
4026
  ], User.prototype, "freelancerResume", 2);
3980
4027
  __decorateClass([
3981
- (0, import_typeorm45.OneToMany)(() => FreelancerAssessment, (freelancerAssessment) => freelancerAssessment.user)
4028
+ (0, import_typeorm46.OneToMany)(() => FreelancerAssessment, (freelancerAssessment) => freelancerAssessment.user)
3982
4029
  ], User.prototype, "assessments", 2);
3983
4030
  __decorateClass([
3984
- (0, import_typeorm45.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.user)
4031
+ (0, import_typeorm46.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.user)
3985
4032
  ], User.prototype, "assessmentAnswers", 2);
3986
4033
  __decorateClass([
3987
- (0, import_typeorm45.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
4034
+ (0, import_typeorm46.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
3988
4035
  ], User.prototype, "freelancerSkills", 2);
3989
4036
  __decorateClass([
3990
- (0, import_typeorm45.OneToMany)(() => FreelancerExperience, (freelancerExperience) => freelancerExperience.user)
4037
+ (0, import_typeorm46.OneToMany)(() => FreelancerExperience, (freelancerExperience) => freelancerExperience.user)
3991
4038
  ], User.prototype, "freelancerExperience", 2);
3992
4039
  __decorateClass([
3993
- (0, import_typeorm45.OneToMany)(() => FreelancerEducation, (freelancerEducation) => freelancerEducation.user)
4040
+ (0, import_typeorm46.OneToMany)(() => FreelancerEducation, (freelancerEducation) => freelancerEducation.user)
3994
4041
  ], User.prototype, "freelancerEducation", 2);
3995
4042
  __decorateClass([
3996
- (0, import_typeorm45.OneToMany)(() => FreelancerProject, (freelancerProject) => freelancerProject.user)
4043
+ (0, import_typeorm46.OneToMany)(() => FreelancerProject, (freelancerProject) => freelancerProject.user)
3997
4044
  ], User.prototype, "freelancerProject", 2);
3998
4045
  __decorateClass([
3999
- (0, import_typeorm45.OneToMany)(() => FreelancerCaseStudy, (freelancerCaseStudy) => freelancerCaseStudy.user)
4046
+ (0, import_typeorm46.OneToMany)(() => FreelancerCaseStudy, (freelancerCaseStudy) => freelancerCaseStudy.user)
4000
4047
  ], User.prototype, "freelancerCaseStudy", 2);
4001
4048
  __decorateClass([
4002
- (0, import_typeorm45.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
4049
+ (0, import_typeorm46.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
4003
4050
  ], User.prototype, "freelancerTool", 2);
4004
4051
  __decorateClass([
4005
- (0, import_typeorm45.OneToMany)(() => FreelancerFramework, (freelancerFramework) => freelancerFramework.user)
4052
+ (0, import_typeorm46.OneToMany)(() => FreelancerFramework, (freelancerFramework) => freelancerFramework.user)
4006
4053
  ], User.prototype, "freelancerFramework", 2);
4007
4054
  __decorateClass([
4008
- (0, import_typeorm45.OneToOne)(() => FreelancerDeclaration, (freelancerDeclaration) => freelancerDeclaration.user)
4055
+ (0, import_typeorm46.OneToOne)(() => FreelancerDeclaration, (freelancerDeclaration) => freelancerDeclaration.user)
4009
4056
  ], User.prototype, "freelancerDeclaration", 2);
4010
4057
  __decorateClass([
4011
- (0, import_typeorm45.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
4058
+ (0, import_typeorm46.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
4012
4059
  ], User.prototype, "freelancerAiInterview", 2);
4013
4060
  __decorateClass([
4014
- (0, import_typeorm45.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
4061
+ (0, import_typeorm46.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
4015
4062
  ], User.prototype, "freelancerF2FInterviews", 2);
4016
4063
  __decorateClass([
4017
- (0, import_typeorm45.OneToMany)(() => Job, (job) => job.user)
4064
+ (0, import_typeorm46.OneToMany)(() => F2fInterviewRescheduleRequest, (f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate)
4065
+ ], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
4066
+ __decorateClass([
4067
+ (0, import_typeorm46.OneToMany)(() => Job, (job) => job.user)
4018
4068
  ], User.prototype, "jobs", 2);
4019
4069
  __decorateClass([
4020
- (0, import_typeorm45.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
4070
+ (0, import_typeorm46.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
4021
4071
  ], User.prototype, "jobApplications", 2);
4022
4072
  __decorateClass([
4023
- (0, import_typeorm45.OneToMany)(() => Interview, (interview) => interview.user)
4073
+ (0, import_typeorm46.OneToMany)(() => Interview, (interview) => interview.user)
4024
4074
  ], User.prototype, "interviews", 2);
4025
4075
  __decorateClass([
4026
- (0, import_typeorm45.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
4076
+ (0, import_typeorm46.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
4027
4077
  ], User.prototype, "bankDetail", 2);
4028
4078
  __decorateClass([
4029
- (0, import_typeorm45.OneToMany)(() => SystemPreference, (systemPreference) => systemPreference.user)
4079
+ (0, import_typeorm46.OneToMany)(() => SystemPreference, (systemPreference) => systemPreference.user)
4030
4080
  ], User.prototype, "systemPreference", 2);
4031
4081
  __decorateClass([
4032
- (0, import_typeorm45.OneToMany)(() => Rating, (rating) => rating.reviewer)
4082
+ (0, import_typeorm46.OneToMany)(() => Rating, (rating) => rating.reviewer)
4033
4083
  ], User.prototype, "givenRatings", 2);
4034
4084
  __decorateClass([
4035
- (0, import_typeorm45.OneToMany)(() => Rating, (rating) => rating.reviewee)
4085
+ (0, import_typeorm46.OneToMany)(() => Rating, (rating) => rating.reviewee)
4036
4086
  ], User.prototype, "receivedRatings", 2);
4037
4087
  __decorateClass([
4038
- (0, import_typeorm45.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
4088
+ (0, import_typeorm46.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
4039
4089
  ], User.prototype, "adminUserRoles", 2);
4040
4090
  User = __decorateClass([
4041
- (0, import_typeorm45.Entity)("users")
4091
+ (0, import_typeorm46.Entity)("users")
4042
4092
  ], User);
4043
4093
 
4044
4094
  // src/entities/rating.entity.ts
@@ -4050,36 +4100,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
4050
4100
  var Rating = class extends BaseEntity {
4051
4101
  };
4052
4102
  __decorateClass([
4053
- (0, import_typeorm46.Column)({ name: "reviewer_id", type: "integer" }),
4054
- (0, import_typeorm46.Index)()
4103
+ (0, import_typeorm47.Column)({ name: "reviewer_id", type: "integer" }),
4104
+ (0, import_typeorm47.Index)()
4055
4105
  ], Rating.prototype, "reviewer_id", 2);
4056
4106
  __decorateClass([
4057
- (0, import_typeorm46.ManyToOne)(() => User, { onDelete: "CASCADE" }),
4058
- (0, import_typeorm46.JoinColumn)({ name: "reviewer_id" })
4107
+ (0, import_typeorm47.ManyToOne)(() => User, { onDelete: "CASCADE" }),
4108
+ (0, import_typeorm47.JoinColumn)({ name: "reviewer_id" })
4059
4109
  ], Rating.prototype, "reviewer", 2);
4060
4110
  __decorateClass([
4061
- (0, import_typeorm46.Column)({ name: "reviewee_id", type: "integer" }),
4062
- (0, import_typeorm46.Index)()
4111
+ (0, import_typeorm47.Column)({ name: "reviewee_id", type: "integer" }),
4112
+ (0, import_typeorm47.Index)()
4063
4113
  ], Rating.prototype, "reviewee_id", 2);
4064
4114
  __decorateClass([
4065
- (0, import_typeorm46.ManyToOne)(() => User, { onDelete: "CASCADE" }),
4066
- (0, import_typeorm46.JoinColumn)({ name: "reviewee_id" })
4115
+ (0, import_typeorm47.ManyToOne)(() => User, { onDelete: "CASCADE" }),
4116
+ (0, import_typeorm47.JoinColumn)({ name: "reviewee_id" })
4067
4117
  ], Rating.prototype, "reviewee", 2);
4068
4118
  __decorateClass([
4069
- (0, import_typeorm46.Column)({
4119
+ (0, import_typeorm47.Column)({
4070
4120
  type: "enum",
4071
4121
  enum: RatingTypeEnum,
4072
4122
  nullable: true
4073
4123
  })
4074
4124
  ], Rating.prototype, "ratingType", 2);
4075
4125
  __decorateClass([
4076
- (0, import_typeorm46.Column)({ type: "integer", nullable: true })
4126
+ (0, import_typeorm47.Column)({ type: "integer", nullable: true })
4077
4127
  ], Rating.prototype, "rating", 2);
4078
4128
  __decorateClass([
4079
- (0, import_typeorm46.Column)({ type: "text", nullable: true })
4129
+ (0, import_typeorm47.Column)({ type: "text", nullable: true })
4080
4130
  ], Rating.prototype, "review", 2);
4081
4131
  Rating = __decorateClass([
4082
- (0, import_typeorm46.Entity)("ratings")
4132
+ (0, import_typeorm47.Entity)("ratings")
4083
4133
  ], Rating);
4084
4134
 
4085
4135
  // src/modules/rating/dto/add.rating.dto.ts
@@ -5425,11 +5475,11 @@ var NotificationRMQAdapter = (mode = "microservice") => {
5425
5475
  };
5426
5476
 
5427
5477
  // src/entities/sequence-generator.entity.ts
5428
- var import_typeorm47 = require("typeorm");
5478
+ var import_typeorm48 = require("typeorm");
5429
5479
  var SequenceGenerator = class extends BaseEntity {
5430
5480
  };
5431
5481
  __decorateClass([
5432
- (0, import_typeorm47.Column)({
5482
+ (0, import_typeorm48.Column)({
5433
5483
  name: "module",
5434
5484
  type: "varchar",
5435
5485
  length: 50,
@@ -5438,7 +5488,7 @@ __decorateClass([
5438
5488
  })
5439
5489
  ], SequenceGenerator.prototype, "module", 2);
5440
5490
  __decorateClass([
5441
- (0, import_typeorm47.Column)({
5491
+ (0, import_typeorm48.Column)({
5442
5492
  name: "prefix",
5443
5493
  type: "varchar",
5444
5494
  length: 10,
@@ -5447,7 +5497,7 @@ __decorateClass([
5447
5497
  })
5448
5498
  ], SequenceGenerator.prototype, "prefix", 2);
5449
5499
  __decorateClass([
5450
- (0, import_typeorm47.Column)({
5500
+ (0, import_typeorm48.Column)({
5451
5501
  name: "last_sequence",
5452
5502
  type: "int",
5453
5503
  nullable: false,
@@ -5455,7 +5505,7 @@ __decorateClass([
5455
5505
  })
5456
5506
  ], SequenceGenerator.prototype, "lastSequence", 2);
5457
5507
  __decorateClass([
5458
- (0, import_typeorm47.Column)({
5508
+ (0, import_typeorm48.Column)({
5459
5509
  name: "year",
5460
5510
  type: "int",
5461
5511
  nullable: true,
@@ -5463,11 +5513,11 @@ __decorateClass([
5463
5513
  })
5464
5514
  ], SequenceGenerator.prototype, "year", 2);
5465
5515
  SequenceGenerator = __decorateClass([
5466
- (0, import_typeorm47.Entity)("sequence_generators")
5516
+ (0, import_typeorm48.Entity)("sequence_generators")
5467
5517
  ], SequenceGenerator);
5468
5518
 
5469
5519
  // src/entities/question.entity.ts
5470
- var import_typeorm48 = require("typeorm");
5520
+ var import_typeorm49 = require("typeorm");
5471
5521
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
5472
5522
  QuestionFor2["CLIENT"] = "CLIENT";
5473
5523
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -5476,16 +5526,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
5476
5526
  var Question = class extends BaseEntity {
5477
5527
  };
5478
5528
  __decorateClass([
5479
- (0, import_typeorm48.Column)({ name: "question", type: "varchar" })
5529
+ (0, import_typeorm49.Column)({ name: "question", type: "varchar" })
5480
5530
  ], Question.prototype, "question", 2);
5481
5531
  __decorateClass([
5482
- (0, import_typeorm48.Column)({ name: "hint", type: "varchar", nullable: true })
5532
+ (0, import_typeorm49.Column)({ name: "hint", type: "varchar", nullable: true })
5483
5533
  ], Question.prototype, "hint", 2);
5484
5534
  __decorateClass([
5485
- (0, import_typeorm48.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
5535
+ (0, import_typeorm49.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
5486
5536
  ], Question.prototype, "slug", 2);
5487
5537
  __decorateClass([
5488
- (0, import_typeorm48.Column)({
5538
+ (0, import_typeorm49.Column)({
5489
5539
  name: "question_for",
5490
5540
  type: "enum",
5491
5541
  enum: QuestionFor,
@@ -5493,117 +5543,117 @@ __decorateClass([
5493
5543
  })
5494
5544
  ], Question.prototype, "questionFor", 2);
5495
5545
  __decorateClass([
5496
- (0, import_typeorm48.Column)({ name: "type", type: "varchar", nullable: true })
5546
+ (0, import_typeorm49.Column)({ name: "type", type: "varchar", nullable: true })
5497
5547
  ], Question.prototype, "type", 2);
5498
5548
  __decorateClass([
5499
- (0, import_typeorm48.Column)({ name: "options", type: "jsonb", nullable: true })
5549
+ (0, import_typeorm49.Column)({ name: "options", type: "jsonb", nullable: true })
5500
5550
  ], Question.prototype, "options", 2);
5501
5551
  __decorateClass([
5502
- (0, import_typeorm48.Column)({ name: "is_active", type: "boolean", default: false })
5552
+ (0, import_typeorm49.Column)({ name: "is_active", type: "boolean", default: false })
5503
5553
  ], Question.prototype, "isActive", 2);
5504
5554
  Question = __decorateClass([
5505
- (0, import_typeorm48.Entity)("questions")
5555
+ (0, import_typeorm49.Entity)("questions")
5506
5556
  ], Question);
5507
5557
 
5508
5558
  // src/entities/skill.entity.ts
5509
- var import_typeorm49 = require("typeorm");
5559
+ var import_typeorm50 = require("typeorm");
5510
5560
  var Skill = class extends BaseEntity {
5511
5561
  };
5512
5562
  __decorateClass([
5513
- (0, import_typeorm49.Column)({ name: "name", type: "varchar", nullable: true })
5563
+ (0, import_typeorm50.Column)({ name: "name", type: "varchar", nullable: true })
5514
5564
  ], Skill.prototype, "name", 2);
5515
5565
  __decorateClass([
5516
- (0, import_typeorm49.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
5566
+ (0, import_typeorm50.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
5517
5567
  ], Skill.prototype, "slug", 2);
5518
5568
  __decorateClass([
5519
- (0, import_typeorm49.Column)({ name: "is_active", type: "boolean", default: false })
5569
+ (0, import_typeorm50.Column)({ name: "is_active", type: "boolean", default: false })
5520
5570
  ], Skill.prototype, "isActive", 2);
5521
5571
  Skill = __decorateClass([
5522
- (0, import_typeorm49.Entity)("skills")
5572
+ (0, import_typeorm50.Entity)("skills")
5523
5573
  ], Skill);
5524
5574
 
5525
5575
  // src/entities/job-role.entity.ts
5526
- var import_typeorm50 = require("typeorm");
5576
+ var import_typeorm51 = require("typeorm");
5527
5577
  var JobRoles = class extends BaseEntity {
5528
5578
  };
5529
5579
  __decorateClass([
5530
- (0, import_typeorm50.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
5580
+ (0, import_typeorm51.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
5531
5581
  ], JobRoles.prototype, "slug", 2);
5532
5582
  __decorateClass([
5533
- (0, import_typeorm50.Column)({ name: "name", type: "varchar", nullable: true })
5583
+ (0, import_typeorm51.Column)({ name: "name", type: "varchar", nullable: true })
5534
5584
  ], JobRoles.prototype, "name", 2);
5535
5585
  __decorateClass([
5536
- (0, import_typeorm50.Column)({ name: "is_active", type: "boolean", default: true })
5586
+ (0, import_typeorm51.Column)({ name: "is_active", type: "boolean", default: true })
5537
5587
  ], JobRoles.prototype, "isActive", 2);
5538
5588
  JobRoles = __decorateClass([
5539
- (0, import_typeorm50.Entity)("job_roles")
5589
+ (0, import_typeorm51.Entity)("job_roles")
5540
5590
  ], JobRoles);
5541
5591
 
5542
5592
  // src/entities/plan.entity.ts
5543
- var import_typeorm52 = require("typeorm");
5593
+ var import_typeorm53 = require("typeorm");
5544
5594
 
5545
5595
  // src/entities/feature.entity.ts
5546
- var import_typeorm51 = require("typeorm");
5596
+ var import_typeorm52 = require("typeorm");
5547
5597
  var Feature = class extends BaseEntity {
5548
5598
  };
5549
5599
  __decorateClass([
5550
- (0, import_typeorm51.Column)({ name: "name", type: "varchar", unique: true })
5600
+ (0, import_typeorm52.Column)({ name: "name", type: "varchar", unique: true })
5551
5601
  ], Feature.prototype, "name", 2);
5552
5602
  __decorateClass([
5553
- (0, import_typeorm51.ManyToMany)(() => Plan, (plan) => plan.features)
5603
+ (0, import_typeorm52.ManyToMany)(() => Plan, (plan) => plan.features)
5554
5604
  ], Feature.prototype, "plans", 2);
5555
5605
  Feature = __decorateClass([
5556
- (0, import_typeorm51.Entity)("features")
5606
+ (0, import_typeorm52.Entity)("features")
5557
5607
  ], Feature);
5558
5608
 
5559
5609
  // src/entities/plan.entity.ts
5560
5610
  var Plan = class extends BaseEntity {
5561
5611
  };
5562
5612
  __decorateClass([
5563
- (0, import_typeorm52.Column)({ name: "name", type: "varchar", unique: true })
5613
+ (0, import_typeorm53.Column)({ name: "name", type: "varchar", unique: true })
5564
5614
  ], Plan.prototype, "name", 2);
5565
5615
  __decorateClass([
5566
- (0, import_typeorm52.Column)({ name: "description", type: "varchar", nullable: true })
5616
+ (0, import_typeorm53.Column)({ name: "description", type: "varchar", nullable: true })
5567
5617
  ], Plan.prototype, "description", 2);
5568
5618
  __decorateClass([
5569
- (0, import_typeorm52.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
5619
+ (0, import_typeorm53.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
5570
5620
  ], Plan.prototype, "price", 2);
5571
5621
  __decorateClass([
5572
- (0, import_typeorm52.Column)({ name: "billing_period", type: "varchar" })
5622
+ (0, import_typeorm53.Column)({ name: "billing_period", type: "varchar" })
5573
5623
  ], Plan.prototype, "billingPeriod", 2);
5574
5624
  __decorateClass([
5575
- (0, import_typeorm52.Column)({ name: "is_current", type: "boolean", default: false })
5625
+ (0, import_typeorm53.Column)({ name: "is_current", type: "boolean", default: false })
5576
5626
  ], Plan.prototype, "isCurrent", 2);
5577
5627
  __decorateClass([
5578
- (0, import_typeorm52.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
5579
- (0, import_typeorm52.JoinTable)()
5628
+ (0, import_typeorm53.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
5629
+ (0, import_typeorm53.JoinTable)()
5580
5630
  ], Plan.prototype, "features", 2);
5581
5631
  Plan = __decorateClass([
5582
- (0, import_typeorm52.Entity)("plans")
5632
+ (0, import_typeorm53.Entity)("plans")
5583
5633
  ], Plan);
5584
5634
 
5585
5635
  // src/entities/cms.entity.ts
5586
- var import_typeorm53 = require("typeorm");
5636
+ var import_typeorm54 = require("typeorm");
5587
5637
  var Cms = class extends BaseEntity {
5588
5638
  };
5589
5639
  __decorateClass([
5590
- (0, import_typeorm53.Column)({ name: "title", type: "varchar", nullable: true })
5640
+ (0, import_typeorm54.Column)({ name: "title", type: "varchar", nullable: true })
5591
5641
  ], Cms.prototype, "title", 2);
5592
5642
  __decorateClass([
5593
- (0, import_typeorm53.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
5643
+ (0, import_typeorm54.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
5594
5644
  ], Cms.prototype, "slug", 2);
5595
5645
  __decorateClass([
5596
- (0, import_typeorm53.Column)({ name: "content", type: "varchar", nullable: true })
5646
+ (0, import_typeorm54.Column)({ name: "content", type: "varchar", nullable: true })
5597
5647
  ], Cms.prototype, "content", 2);
5598
5648
  __decorateClass([
5599
- (0, import_typeorm53.Column)({ name: "is_active", type: "boolean", default: true })
5649
+ (0, import_typeorm54.Column)({ name: "is_active", type: "boolean", default: true })
5600
5650
  ], Cms.prototype, "isActive", 2);
5601
5651
  Cms = __decorateClass([
5602
- (0, import_typeorm53.Entity)("cms")
5652
+ (0, import_typeorm54.Entity)("cms")
5603
5653
  ], Cms);
5604
5654
 
5605
5655
  // src/entities/lead.entity.ts
5606
- var import_typeorm54 = require("typeorm");
5656
+ var import_typeorm55 = require("typeorm");
5607
5657
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
5608
5658
  CategoryEmum2["BUSINESS"] = "BUSINESS";
5609
5659
  CategoryEmum2["FREELANCER"] = "FREELANCER";
@@ -5612,22 +5662,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
5612
5662
  var Lead = class extends BaseEntity {
5613
5663
  };
5614
5664
  __decorateClass([
5615
- (0, import_typeorm54.Column)({ name: "name", type: "varchar", nullable: true })
5665
+ (0, import_typeorm55.Column)({ name: "name", type: "varchar", nullable: true })
5616
5666
  ], Lead.prototype, "name", 2);
5617
5667
  __decorateClass([
5618
- (0, import_typeorm54.Column)({ name: "mobile_code", type: "varchar", nullable: true })
5668
+ (0, import_typeorm55.Column)({ name: "mobile_code", type: "varchar", nullable: true })
5619
5669
  ], Lead.prototype, "mobileCode", 2);
5620
5670
  __decorateClass([
5621
- (0, import_typeorm54.Column)({ name: "mobile", type: "varchar", nullable: true })
5671
+ (0, import_typeorm55.Column)({ name: "mobile", type: "varchar", nullable: true })
5622
5672
  ], Lead.prototype, "mobile", 2);
5623
5673
  __decorateClass([
5624
- (0, import_typeorm54.Column)({ name: "email", type: "varchar", nullable: true })
5674
+ (0, import_typeorm55.Column)({ name: "email", type: "varchar", nullable: true })
5625
5675
  ], Lead.prototype, "email", 2);
5626
5676
  __decorateClass([
5627
- (0, import_typeorm54.Column)({ name: "description", type: "varchar", nullable: true })
5677
+ (0, import_typeorm55.Column)({ name: "description", type: "varchar", nullable: true })
5628
5678
  ], Lead.prototype, "description", 2);
5629
5679
  __decorateClass([
5630
- (0, import_typeorm54.Column)({
5680
+ (0, import_typeorm55.Column)({
5631
5681
  name: "category",
5632
5682
  type: "enum",
5633
5683
  enum: CategoryEmum,
@@ -5635,129 +5685,129 @@ __decorateClass([
5635
5685
  })
5636
5686
  ], Lead.prototype, "category", 2);
5637
5687
  Lead = __decorateClass([
5638
- (0, import_typeorm54.Entity)("leads")
5688
+ (0, import_typeorm55.Entity)("leads")
5639
5689
  ], Lead);
5640
5690
 
5641
5691
  // src/entities/job-freelancer-recommendation.entity.ts
5642
- var import_typeorm55 = require("typeorm");
5692
+ var import_typeorm56 = require("typeorm");
5643
5693
  var JobFreelancerRecommendation = class {
5644
5694
  };
5645
5695
  __decorateClass([
5646
- (0, import_typeorm55.ViewColumn)({ name: "job_id" })
5696
+ (0, import_typeorm56.ViewColumn)({ name: "job_id" })
5647
5697
  ], JobFreelancerRecommendation.prototype, "jobId", 2);
5648
5698
  __decorateClass([
5649
- (0, import_typeorm55.ViewColumn)({ name: "job_uuid" })
5699
+ (0, import_typeorm56.ViewColumn)({ name: "job_uuid" })
5650
5700
  ], JobFreelancerRecommendation.prototype, "jobUuid", 2);
5651
5701
  __decorateClass([
5652
- (0, import_typeorm55.ViewColumn)({ name: "job_unique_id" })
5702
+ (0, import_typeorm56.ViewColumn)({ name: "job_unique_id" })
5653
5703
  ], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
5654
5704
  __decorateClass([
5655
- (0, import_typeorm55.ViewColumn)({ name: "job_role" })
5705
+ (0, import_typeorm56.ViewColumn)({ name: "job_role" })
5656
5706
  ], JobFreelancerRecommendation.prototype, "jobRole", 2);
5657
5707
  __decorateClass([
5658
- (0, import_typeorm55.ViewColumn)({ name: "job_openings" })
5708
+ (0, import_typeorm56.ViewColumn)({ name: "job_openings" })
5659
5709
  ], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
5660
5710
  __decorateClass([
5661
- (0, import_typeorm55.ViewColumn)({ name: "job_location" })
5711
+ (0, import_typeorm56.ViewColumn)({ name: "job_location" })
5662
5712
  ], JobFreelancerRecommendation.prototype, "jobLocation", 2);
5663
5713
  __decorateClass([
5664
- (0, import_typeorm55.ViewColumn)({ name: "job_currency" })
5714
+ (0, import_typeorm56.ViewColumn)({ name: "job_currency" })
5665
5715
  ], JobFreelancerRecommendation.prototype, "jobCurrency", 2);
5666
5716
  __decorateClass([
5667
- (0, import_typeorm55.ViewColumn)({ name: "job_salary_from" })
5717
+ (0, import_typeorm56.ViewColumn)({ name: "job_salary_from" })
5668
5718
  ], JobFreelancerRecommendation.prototype, "jobSalaryFrom", 2);
5669
5719
  __decorateClass([
5670
- (0, import_typeorm55.ViewColumn)({ name: "job_salary_to" })
5720
+ (0, import_typeorm56.ViewColumn)({ name: "job_salary_to" })
5671
5721
  ], JobFreelancerRecommendation.prototype, "jobSalaryTo", 2);
5672
5722
  __decorateClass([
5673
- (0, import_typeorm55.ViewColumn)({ name: "job_employment_type" })
5723
+ (0, import_typeorm56.ViewColumn)({ name: "job_employment_type" })
5674
5724
  ], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
5675
5725
  __decorateClass([
5676
- (0, import_typeorm55.ViewColumn)({ name: "application_received" })
5726
+ (0, import_typeorm56.ViewColumn)({ name: "application_received" })
5677
5727
  ], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
5678
5728
  __decorateClass([
5679
- (0, import_typeorm55.ViewColumn)({ name: "job_posted_at" })
5729
+ (0, import_typeorm56.ViewColumn)({ name: "job_posted_at" })
5680
5730
  ], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
5681
5731
  __decorateClass([
5682
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_id" })
5732
+ (0, import_typeorm56.ViewColumn)({ name: "freelancer_id" })
5683
5733
  ], JobFreelancerRecommendation.prototype, "freelancerId", 2);
5684
5734
  __decorateClass([
5685
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_uuid" })
5735
+ (0, import_typeorm56.ViewColumn)({ name: "freelancer_uuid" })
5686
5736
  ], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
5687
5737
  __decorateClass([
5688
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_unique_id" })
5738
+ (0, import_typeorm56.ViewColumn)({ name: "freelancer_unique_id" })
5689
5739
  ], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
5690
5740
  __decorateClass([
5691
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_first_name" })
5741
+ (0, import_typeorm56.ViewColumn)({ name: "freelancer_first_name" })
5692
5742
  ], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
5693
5743
  __decorateClass([
5694
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_last_name" })
5744
+ (0, import_typeorm56.ViewColumn)({ name: "freelancer_last_name" })
5695
5745
  ], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
5696
5746
  __decorateClass([
5697
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_email" })
5747
+ (0, import_typeorm56.ViewColumn)({ name: "freelancer_email" })
5698
5748
  ], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
5699
5749
  __decorateClass([
5700
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_profile_picture" })
5750
+ (0, import_typeorm56.ViewColumn)({ name: "freelancer_profile_picture" })
5701
5751
  ], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
5702
5752
  __decorateClass([
5703
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_is_social" })
5753
+ (0, import_typeorm56.ViewColumn)({ name: "freelancer_is_social" })
5704
5754
  ], JobFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
5705
5755
  __decorateClass([
5706
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_created_at" })
5756
+ (0, import_typeorm56.ViewColumn)({ name: "freelancer_created_at" })
5707
5757
  ], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
5708
5758
  __decorateClass([
5709
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_designation" })
5759
+ (0, import_typeorm56.ViewColumn)({ name: "freelancer_designation" })
5710
5760
  ], JobFreelancerRecommendation.prototype, "freelancerDesignation", 2);
5711
5761
  __decorateClass([
5712
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_experience" })
5762
+ (0, import_typeorm56.ViewColumn)({ name: "freelancer_experience" })
5713
5763
  ], JobFreelancerRecommendation.prototype, "freelancerExperience", 2);
5714
5764
  __decorateClass([
5715
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_expertshub_verified" })
5765
+ (0, import_typeorm56.ViewColumn)({ name: "freelancer_expertshub_verified" })
5716
5766
  ], JobFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
5717
5767
  __decorateClass([
5718
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_hourly_compensation" })
5768
+ (0, import_typeorm56.ViewColumn)({ name: "freelancer_hourly_compensation" })
5719
5769
  ], JobFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
5720
5770
  __decorateClass([
5721
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_country_name" })
5771
+ (0, import_typeorm56.ViewColumn)({ name: "freelancer_country_name" })
5722
5772
  ], JobFreelancerRecommendation.prototype, "freelancerCountryName", 2);
5723
5773
  __decorateClass([
5724
- (0, import_typeorm55.ViewColumn)({ name: "freelancer_country_iso_code" })
5774
+ (0, import_typeorm56.ViewColumn)({ name: "freelancer_country_iso_code" })
5725
5775
  ], JobFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
5726
5776
  __decorateClass([
5727
- (0, import_typeorm55.ViewColumn)({ name: "client_id" })
5777
+ (0, import_typeorm56.ViewColumn)({ name: "client_id" })
5728
5778
  ], JobFreelancerRecommendation.prototype, "clientId", 2);
5729
5779
  __decorateClass([
5730
- (0, import_typeorm55.ViewColumn)({ name: "client_uuid" })
5780
+ (0, import_typeorm56.ViewColumn)({ name: "client_uuid" })
5731
5781
  ], JobFreelancerRecommendation.prototype, "clientUuid", 2);
5732
5782
  __decorateClass([
5733
- (0, import_typeorm55.ViewColumn)({ name: "client_first_name" })
5783
+ (0, import_typeorm56.ViewColumn)({ name: "client_first_name" })
5734
5784
  ], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
5735
5785
  __decorateClass([
5736
- (0, import_typeorm55.ViewColumn)({ name: "client_last_name" })
5786
+ (0, import_typeorm56.ViewColumn)({ name: "client_last_name" })
5737
5787
  ], JobFreelancerRecommendation.prototype, "clientLastName", 2);
5738
5788
  __decorateClass([
5739
- (0, import_typeorm55.ViewColumn)({ name: "client_email" })
5789
+ (0, import_typeorm56.ViewColumn)({ name: "client_email" })
5740
5790
  ], JobFreelancerRecommendation.prototype, "clientEmail", 2);
5741
5791
  __decorateClass([
5742
- (0, import_typeorm55.ViewColumn)({ name: "client_company_logo" })
5792
+ (0, import_typeorm56.ViewColumn)({ name: "client_company_logo" })
5743
5793
  ], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
5744
5794
  __decorateClass([
5745
- (0, import_typeorm55.ViewColumn)({ name: "client_company_name" })
5795
+ (0, import_typeorm56.ViewColumn)({ name: "client_company_name" })
5746
5796
  ], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
5747
5797
  __decorateClass([
5748
- (0, import_typeorm55.ViewColumn)({ name: "matching_skills" })
5798
+ (0, import_typeorm56.ViewColumn)({ name: "matching_skills" })
5749
5799
  ], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
5750
5800
  __decorateClass([
5751
- (0, import_typeorm55.ViewColumn)({ name: "matching_skills_count" })
5801
+ (0, import_typeorm56.ViewColumn)({ name: "matching_skills_count" })
5752
5802
  ], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
5753
5803
  __decorateClass([
5754
- (0, import_typeorm55.ViewColumn)({ name: "required_skills" })
5804
+ (0, import_typeorm56.ViewColumn)({ name: "required_skills" })
5755
5805
  ], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
5756
5806
  __decorateClass([
5757
- (0, import_typeorm55.ViewColumn)({ name: "required_skills_count" })
5807
+ (0, import_typeorm56.ViewColumn)({ name: "required_skills_count" })
5758
5808
  ], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
5759
5809
  JobFreelancerRecommendation = __decorateClass([
5760
- (0, import_typeorm55.ViewEntity)({
5810
+ (0, import_typeorm56.ViewEntity)({
5761
5811
  name: "job_freelancer_recommendations",
5762
5812
  materialized: true,
5763
5813
  synchronize: false
@@ -5766,32 +5816,32 @@ JobFreelancerRecommendation = __decorateClass([
5766
5816
  ], JobFreelancerRecommendation);
5767
5817
 
5768
5818
  // src/entities/job-freelancer-recommendation-v2.entity.ts
5769
- var import_typeorm56 = require("typeorm");
5819
+ var import_typeorm57 = require("typeorm");
5770
5820
  var JobFreelancerRecommendationV2 = class {
5771
5821
  };
5772
5822
  __decorateClass([
5773
- (0, import_typeorm56.ViewColumn)({ name: "job_id" })
5823
+ (0, import_typeorm57.ViewColumn)({ name: "job_id" })
5774
5824
  ], JobFreelancerRecommendationV2.prototype, "jobId", 2);
5775
5825
  __decorateClass([
5776
- (0, import_typeorm56.ViewColumn)({ name: "job_owner_id" })
5826
+ (0, import_typeorm57.ViewColumn)({ name: "job_owner_id" })
5777
5827
  ], JobFreelancerRecommendationV2.prototype, "jobOwnerId", 2);
5778
5828
  __decorateClass([
5779
- (0, import_typeorm56.ViewColumn)({ name: "freelancer_id" })
5829
+ (0, import_typeorm57.ViewColumn)({ name: "freelancer_id" })
5780
5830
  ], JobFreelancerRecommendationV2.prototype, "freelancerId", 2);
5781
5831
  __decorateClass([
5782
- (0, import_typeorm56.ViewColumn)({ name: "matching_skills" })
5832
+ (0, import_typeorm57.ViewColumn)({ name: "matching_skills" })
5783
5833
  ], JobFreelancerRecommendationV2.prototype, "matchingSkills", 2);
5784
5834
  __decorateClass([
5785
- (0, import_typeorm56.ViewColumn)({ name: "matching_skills_count" })
5835
+ (0, import_typeorm57.ViewColumn)({ name: "matching_skills_count" })
5786
5836
  ], JobFreelancerRecommendationV2.prototype, "matchingSkillsCount", 2);
5787
5837
  __decorateClass([
5788
- (0, import_typeorm56.ViewColumn)({ name: "required_skills" })
5838
+ (0, import_typeorm57.ViewColumn)({ name: "required_skills" })
5789
5839
  ], JobFreelancerRecommendationV2.prototype, "requiredSkills", 2);
5790
5840
  __decorateClass([
5791
- (0, import_typeorm56.ViewColumn)({ name: "required_skills_count" })
5841
+ (0, import_typeorm57.ViewColumn)({ name: "required_skills_count" })
5792
5842
  ], JobFreelancerRecommendationV2.prototype, "requiredSkillsCount", 2);
5793
5843
  JobFreelancerRecommendationV2 = __decorateClass([
5794
- (0, import_typeorm56.ViewEntity)({
5844
+ (0, import_typeorm57.ViewEntity)({
5795
5845
  name: "job_freelancer_recommendations_v2",
5796
5846
  materialized: true,
5797
5847
  synchronize: false
@@ -5800,74 +5850,74 @@ JobFreelancerRecommendationV2 = __decorateClass([
5800
5850
  ], JobFreelancerRecommendationV2);
5801
5851
 
5802
5852
  // src/entities/client-freelancer-recommendation.entity.ts
5803
- var import_typeorm57 = require("typeorm");
5853
+ var import_typeorm58 = require("typeorm");
5804
5854
  var ClientFreelancerRecommendation = class {
5805
5855
  };
5806
5856
  __decorateClass([
5807
- (0, import_typeorm57.ViewColumn)({ name: "client_id" })
5857
+ (0, import_typeorm58.ViewColumn)({ name: "client_id" })
5808
5858
  ], ClientFreelancerRecommendation.prototype, "clientId", 2);
5809
5859
  __decorateClass([
5810
- (0, import_typeorm57.ViewColumn)({ name: "client_uuid" })
5860
+ (0, import_typeorm58.ViewColumn)({ name: "client_uuid" })
5811
5861
  ], ClientFreelancerRecommendation.prototype, "clientUuid", 2);
5812
5862
  __decorateClass([
5813
- (0, import_typeorm57.ViewColumn)({ name: "freelancer_id" })
5863
+ (0, import_typeorm58.ViewColumn)({ name: "freelancer_id" })
5814
5864
  ], ClientFreelancerRecommendation.prototype, "freelancerId", 2);
5815
5865
  __decorateClass([
5816
- (0, import_typeorm57.ViewColumn)({ name: "freelancer_uuid" })
5866
+ (0, import_typeorm58.ViewColumn)({ name: "freelancer_uuid" })
5817
5867
  ], ClientFreelancerRecommendation.prototype, "freelancerUuid", 2);
5818
5868
  __decorateClass([
5819
- (0, import_typeorm57.ViewColumn)({ name: "freelancer_unique_id" })
5869
+ (0, import_typeorm58.ViewColumn)({ name: "freelancer_unique_id" })
5820
5870
  ], ClientFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
5821
5871
  __decorateClass([
5822
- (0, import_typeorm57.ViewColumn)({ name: "freelancer_first_name" })
5872
+ (0, import_typeorm58.ViewColumn)({ name: "freelancer_first_name" })
5823
5873
  ], ClientFreelancerRecommendation.prototype, "freelancerFirstName", 2);
5824
5874
  __decorateClass([
5825
- (0, import_typeorm57.ViewColumn)({ name: "freelancer_last_name" })
5875
+ (0, import_typeorm58.ViewColumn)({ name: "freelancer_last_name" })
5826
5876
  ], ClientFreelancerRecommendation.prototype, "freelancerLastName", 2);
5827
5877
  __decorateClass([
5828
- (0, import_typeorm57.ViewColumn)({ name: "freelancer_email" })
5878
+ (0, import_typeorm58.ViewColumn)({ name: "freelancer_email" })
5829
5879
  ], ClientFreelancerRecommendation.prototype, "freelancerEmail", 2);
5830
5880
  __decorateClass([
5831
- (0, import_typeorm57.ViewColumn)({ name: "freelancer_profile_picture" })
5881
+ (0, import_typeorm58.ViewColumn)({ name: "freelancer_profile_picture" })
5832
5882
  ], ClientFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
5833
5883
  __decorateClass([
5834
- (0, import_typeorm57.ViewColumn)({ name: "freelancer_is_social" })
5884
+ (0, import_typeorm58.ViewColumn)({ name: "freelancer_is_social" })
5835
5885
  ], ClientFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
5836
5886
  __decorateClass([
5837
- (0, import_typeorm57.ViewColumn)({ name: "freelancer_created_at" })
5887
+ (0, import_typeorm58.ViewColumn)({ name: "freelancer_created_at" })
5838
5888
  ], ClientFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
5839
5889
  __decorateClass([
5840
- (0, import_typeorm57.ViewColumn)({ name: "freelancer_designation" })
5890
+ (0, import_typeorm58.ViewColumn)({ name: "freelancer_designation" })
5841
5891
  ], ClientFreelancerRecommendation.prototype, "freelancerDesignation", 2);
5842
5892
  __decorateClass([
5843
- (0, import_typeorm57.ViewColumn)({ name: "freelancer_experience" })
5893
+ (0, import_typeorm58.ViewColumn)({ name: "freelancer_experience" })
5844
5894
  ], ClientFreelancerRecommendation.prototype, "freelancerExperience", 2);
5845
5895
  __decorateClass([
5846
- (0, import_typeorm57.ViewColumn)({ name: "freelancer_expertshub_verified" })
5896
+ (0, import_typeorm58.ViewColumn)({ name: "freelancer_expertshub_verified" })
5847
5897
  ], ClientFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
5848
5898
  __decorateClass([
5849
- (0, import_typeorm57.ViewColumn)({ name: "freelancer_hourly_compensation" })
5899
+ (0, import_typeorm58.ViewColumn)({ name: "freelancer_hourly_compensation" })
5850
5900
  ], ClientFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
5851
5901
  __decorateClass([
5852
- (0, import_typeorm57.ViewColumn)({ name: "freelancer_country_name" })
5902
+ (0, import_typeorm58.ViewColumn)({ name: "freelancer_country_name" })
5853
5903
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryName", 2);
5854
5904
  __decorateClass([
5855
- (0, import_typeorm57.ViewColumn)({ name: "freelancer_country_iso_code" })
5905
+ (0, import_typeorm58.ViewColumn)({ name: "freelancer_country_iso_code" })
5856
5906
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
5857
5907
  __decorateClass([
5858
- (0, import_typeorm57.ViewColumn)({ name: "matching_skills" })
5908
+ (0, import_typeorm58.ViewColumn)({ name: "matching_skills" })
5859
5909
  ], ClientFreelancerRecommendation.prototype, "matchingSkills", 2);
5860
5910
  __decorateClass([
5861
- (0, import_typeorm57.ViewColumn)({ name: "matching_skills_count" })
5911
+ (0, import_typeorm58.ViewColumn)({ name: "matching_skills_count" })
5862
5912
  ], ClientFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
5863
5913
  __decorateClass([
5864
- (0, import_typeorm57.ViewColumn)({ name: "required_skills" })
5914
+ (0, import_typeorm58.ViewColumn)({ name: "required_skills" })
5865
5915
  ], ClientFreelancerRecommendation.prototype, "requiredSkills", 2);
5866
5916
  __decorateClass([
5867
- (0, import_typeorm57.ViewColumn)({ name: "required_skills_count" })
5917
+ (0, import_typeorm58.ViewColumn)({ name: "required_skills_count" })
5868
5918
  ], ClientFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
5869
5919
  ClientFreelancerRecommendation = __decorateClass([
5870
- (0, import_typeorm57.ViewEntity)({
5920
+ (0, import_typeorm58.ViewEntity)({
5871
5921
  name: "client_freelancer_recommendations",
5872
5922
  materialized: true,
5873
5923
  synchronize: false
@@ -5876,7 +5926,7 @@ ClientFreelancerRecommendation = __decorateClass([
5876
5926
  ], ClientFreelancerRecommendation);
5877
5927
 
5878
5928
  // src/entities/commission.entity.ts
5879
- var import_typeorm58 = require("typeorm");
5929
+ var import_typeorm59 = require("typeorm");
5880
5930
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
5881
5931
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
5882
5932
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -5885,7 +5935,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
5885
5935
  var Commission = class extends BaseEntity {
5886
5936
  };
5887
5937
  __decorateClass([
5888
- (0, import_typeorm58.Column)({
5938
+ (0, import_typeorm59.Column)({
5889
5939
  name: "freelancer_commission_type",
5890
5940
  type: "enum",
5891
5941
  enum: CommissionTypeEnum,
@@ -5893,10 +5943,10 @@ __decorateClass([
5893
5943
  })
5894
5944
  ], Commission.prototype, "freelancerCommissionType", 2);
5895
5945
  __decorateClass([
5896
- (0, import_typeorm58.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
5946
+ (0, import_typeorm59.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
5897
5947
  ], Commission.prototype, "freelancerCommission", 2);
5898
5948
  __decorateClass([
5899
- (0, import_typeorm58.Column)({
5949
+ (0, import_typeorm59.Column)({
5900
5950
  name: "client_commission_type",
5901
5951
  type: "enum",
5902
5952
  enum: CommissionTypeEnum,
@@ -5904,10 +5954,10 @@ __decorateClass([
5904
5954
  })
5905
5955
  ], Commission.prototype, "clientCommissionType", 2);
5906
5956
  __decorateClass([
5907
- (0, import_typeorm58.Column)({ name: "client_commission", type: "integer", default: 0 })
5957
+ (0, import_typeorm59.Column)({ name: "client_commission", type: "integer", default: 0 })
5908
5958
  ], Commission.prototype, "clientCommission", 2);
5909
5959
  Commission = __decorateClass([
5910
- (0, import_typeorm58.Entity)("commissions")
5960
+ (0, import_typeorm59.Entity)("commissions")
5911
5961
  ], Commission);
5912
5962
  // Annotate the CommonJS export names for ESM import in node:
5913
5963
  0 && (module.exports = {
@@ -5988,6 +6038,8 @@ Commission = __decorateClass([
5988
6038
  EmploymentType,
5989
6039
  ExperienceDto,
5990
6040
  F2FInterview,
6041
+ F2fInterviewRescheduleRequest,
6042
+ F2fInterviewRescheduleRequestStatusEnum,
5991
6043
  F2fInterviewStatusEnum,
5992
6044
  FREELANCER_DECLARATION_PATTERN,
5993
6045
  FREELANCER_EDUCATION_PATTERN,