@experts_hub/shared 1.0.534 → 1.0.536

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1710,17 +1710,17 @@ import {
1710
1710
  } from "class-validator";
1711
1711
 
1712
1712
  // src/entities/rating.entity.ts
1713
- import { Entity as Entity63, Column as Column64, ManyToOne as ManyToOne58, JoinColumn as JoinColumn59, Index as Index57 } from "typeorm";
1713
+ import { Entity as Entity64, Column as Column65, ManyToOne as ManyToOne59, JoinColumn as JoinColumn60, Index as Index57 } from "typeorm";
1714
1714
 
1715
1715
  // src/entities/user.entity.ts
1716
1716
  import {
1717
- Entity as Entity62,
1718
- Column as Column63,
1719
- OneToMany as OneToMany21,
1717
+ Entity as Entity63,
1718
+ Column as Column64,
1719
+ OneToMany as OneToMany22,
1720
1720
  OneToOne as OneToOne12,
1721
1721
  Index as Index56,
1722
- ManyToOne as ManyToOne57,
1723
- JoinColumn as JoinColumn58
1722
+ ManyToOne as ManyToOne58,
1723
+ JoinColumn as JoinColumn59
1724
1724
  } from "typeorm";
1725
1725
 
1726
1726
  // src/entities/base.entity.ts
@@ -2557,12 +2557,12 @@ FreelancerProfile = __decorateClass([
2557
2557
 
2558
2558
  // src/entities/job.entity.ts
2559
2559
  import {
2560
- Entity as Entity31,
2561
- Column as Column32,
2560
+ Entity as Entity32,
2561
+ Column as Column33,
2562
2562
  Index as Index25,
2563
- ManyToOne as ManyToOne30,
2564
- JoinColumn as JoinColumn30,
2565
- OneToMany as OneToMany12
2563
+ ManyToOne as ManyToOne31,
2564
+ JoinColumn as JoinColumn31,
2565
+ OneToMany as OneToMany13
2566
2566
  } from "typeorm";
2567
2567
 
2568
2568
  // src/entities/job-skill.entity.ts
@@ -2721,12 +2721,12 @@ JobApplication = __decorateClass([
2721
2721
 
2722
2722
  // src/entities/interview.entity.ts
2723
2723
  import {
2724
- Entity as Entity18,
2725
- Column as Column19,
2724
+ Entity as Entity19,
2725
+ Column as Column20,
2726
2726
  Index as Index12,
2727
- ManyToOne as ManyToOne17,
2728
- JoinColumn as JoinColumn17,
2729
- OneToMany as OneToMany8
2727
+ ManyToOne as ManyToOne18,
2728
+ JoinColumn as JoinColumn18,
2729
+ OneToMany as OneToMany9
2730
2730
  } from "typeorm";
2731
2731
 
2732
2732
  // src/entities/interview-skill.entity.ts
@@ -2929,13 +2929,66 @@ InterviewInvite = __decorateClass([
2929
2929
  ], InterviewInvite);
2930
2930
 
2931
2931
  // src/entities/ai-interview.entity.ts
2932
- import { Entity as Entity14, Column as Column15, Index as Index10, ManyToOne as ManyToOne13, JoinColumn as JoinColumn13 } from "typeorm";
2932
+ import { Entity as Entity15, Column as Column16, Index as Index10, ManyToOne as ManyToOne14, JoinColumn as JoinColumn14, OneToMany as OneToMany6 } from "typeorm";
2933
+
2934
+ // src/entities/ai-interview-reschedule-request.entity.ts
2935
+ import {
2936
+ Entity as Entity14,
2937
+ Column as Column15,
2938
+ ManyToOne as ManyToOne13,
2939
+ JoinColumn as JoinColumn13
2940
+ } from "typeorm";
2941
+ var AiInterviewRescheduleRequestStatusEnum = /* @__PURE__ */ ((AiInterviewRescheduleRequestStatusEnum2) => {
2942
+ AiInterviewRescheduleRequestStatusEnum2["PENDING"] = "PENDING";
2943
+ AiInterviewRescheduleRequestStatusEnum2["APPROVED"] = "APPROVED";
2944
+ AiInterviewRescheduleRequestStatusEnum2["REJECTED"] = "REJECTED";
2945
+ return AiInterviewRescheduleRequestStatusEnum2;
2946
+ })(AiInterviewRescheduleRequestStatusEnum || {});
2947
+ var AiInterviewRescheduleRequest = class extends BaseEntity {
2948
+ };
2949
+ __decorateClass([
2950
+ Column15({ name: "candidate_id", type: "integer", nullable: true })
2951
+ ], AiInterviewRescheduleRequest.prototype, "candidateId", 2);
2952
+ __decorateClass([
2953
+ ManyToOne13(() => User, (user) => user.freelancerAiInterviewRescheduleRequests, { nullable: true }),
2954
+ JoinColumn13({ name: "candidate_id" })
2955
+ ], AiInterviewRescheduleRequest.prototype, "candidate", 2);
2956
+ __decorateClass([
2957
+ Column15({ name: "aiinterview_id", type: "integer", nullable: true })
2958
+ ], AiInterviewRescheduleRequest.prototype, "aiInterviewId", 2);
2959
+ __decorateClass([
2960
+ ManyToOne13(() => AiInterview, (aiInterview) => aiInterview.rescheduleRequests),
2961
+ JoinColumn13({ name: "aiinterview_id" })
2962
+ ], AiInterviewRescheduleRequest.prototype, "aiInterview", 2);
2963
+ __decorateClass([
2964
+ Column15({ name: "rescheduled_date", type: "timestamp with time zone", nullable: true })
2965
+ ], AiInterviewRescheduleRequest.prototype, "rescheduledDate", 2);
2966
+ __decorateClass([
2967
+ Column15({
2968
+ name: "status",
2969
+ type: "enum",
2970
+ enum: AiInterviewRescheduleRequestStatusEnum,
2971
+ default: "PENDING" /* PENDING */
2972
+ })
2973
+ ], AiInterviewRescheduleRequest.prototype, "status", 2);
2974
+ __decorateClass([
2975
+ Column15({ name: "client_reject_reason", type: "varchar", nullable: true })
2976
+ ], AiInterviewRescheduleRequest.prototype, "clientRejectReason", 2);
2977
+ __decorateClass([
2978
+ Column15({ name: "freelancer_request_reason", type: "varchar", nullable: true })
2979
+ ], AiInterviewRescheduleRequest.prototype, "freelancerRequestReason", 2);
2980
+ AiInterviewRescheduleRequest = __decorateClass([
2981
+ Entity14("ai_interview_reschedule_requests")
2982
+ ], AiInterviewRescheduleRequest);
2983
+
2984
+ // src/entities/ai-interview.entity.ts
2933
2985
  var AiInterviewStatusEnum = /* @__PURE__ */ ((AiInterviewStatusEnum2) => {
2934
2986
  AiInterviewStatusEnum2["NOT_ATTEMPTED"] = "NOT_ATTEMPTED";
2935
2987
  AiInterviewStatusEnum2["ATTEMPTED"] = "ATTEMPTED";
2936
2988
  AiInterviewStatusEnum2["PENDING"] = "PENDING";
2937
2989
  AiInterviewStatusEnum2["ACTIVE"] = "ACTIVE";
2938
2990
  AiInterviewStatusEnum2["IN_PROGRESS"] = "IN_PROGRESS";
2991
+ AiInterviewStatusEnum2["IN_COMPLETE"] = "IN_COMPLETE";
2939
2992
  AiInterviewStatusEnum2["COMPELETED"] = "COMPELETED";
2940
2993
  AiInterviewStatusEnum2["PASSED"] = "PASSED";
2941
2994
  AiInterviewStatusEnum2["FAILED"] = "FAILED";
@@ -2954,43 +3007,43 @@ var ResultStatusEnum = /* @__PURE__ */ ((ResultStatusEnum2) => {
2954
3007
  var AiInterview = class extends BaseEntity {
2955
3008
  };
2956
3009
  __decorateClass([
2957
- Column15({ name: "ai_interview_unique_id", type: "varchar", nullable: true, unique: true })
3010
+ Column16({ name: "ai_interview_unique_id", type: "varchar", nullable: true, unique: true })
2958
3011
  ], AiInterview.prototype, "aiInterviewUniqueId", 2);
2959
3012
  __decorateClass([
2960
- Column15({ name: "candidate_id", type: "integer", nullable: true }),
3013
+ Column16({ name: "candidate_id", type: "integer", nullable: true }),
2961
3014
  Index10()
2962
3015
  ], AiInterview.prototype, "candidateId", 2);
2963
3016
  __decorateClass([
2964
- ManyToOne13(() => User, (user) => user.freelancerAiInterview),
2965
- JoinColumn13({ name: "candidate_id" })
3017
+ ManyToOne14(() => User, (user) => user.freelancerAiInterview),
3018
+ JoinColumn14({ name: "candidate_id" })
2966
3019
  ], AiInterview.prototype, "candidate", 2);
2967
3020
  __decorateClass([
2968
- Column15({ name: "interviwer_id", type: "integer", nullable: true }),
3021
+ Column16({ name: "interviwer_id", type: "integer", nullable: true }),
2969
3022
  Index10()
2970
3023
  ], AiInterview.prototype, "interviwerId", 2);
2971
3024
  __decorateClass([
2972
- ManyToOne13(() => User, (user) => user.companyAiInterview),
2973
- JoinColumn13({ name: "interviwer_id" })
3025
+ ManyToOne14(() => User, (user) => user.companyAiInterview),
3026
+ JoinColumn14({ name: "interviwer_id" })
2974
3027
  ], AiInterview.prototype, "interviwer", 2);
2975
3028
  __decorateClass([
2976
- Column15({ name: "interview_id", type: "integer", nullable: true })
3029
+ Column16({ name: "interview_id", type: "integer", nullable: true })
2977
3030
  ], AiInterview.prototype, "interviewId", 2);
2978
3031
  __decorateClass([
2979
- ManyToOne13(() => Interview, (interview) => interview.aiInterviews),
2980
- JoinColumn13({ name: "interview_id" })
3032
+ ManyToOne14(() => Interview, (interview) => interview.aiInterviews),
3033
+ JoinColumn14({ name: "interview_id" })
2981
3034
  ], AiInterview.prototype, "interview", 2);
2982
3035
  __decorateClass([
2983
- Column15({ name: "invite_id", type: "integer", nullable: true })
3036
+ Column16({ name: "invite_id", type: "integer", nullable: true })
2984
3037
  ], AiInterview.prototype, "inviteId", 2);
2985
3038
  __decorateClass([
2986
- Column15({
3039
+ Column16({
2987
3040
  name: "candidate_interview_id",
2988
3041
  type: "varchar",
2989
3042
  nullable: true
2990
3043
  })
2991
3044
  ], AiInterview.prototype, "candidateInterviewId", 2);
2992
3045
  __decorateClass([
2993
- Column15({
3046
+ Column16({
2994
3047
  name: "candidate_interview_link",
2995
3048
  type: "varchar",
2996
3049
  nullable: true
@@ -2998,22 +3051,22 @@ __decorateClass([
2998
3051
  Index10()
2999
3052
  ], AiInterview.prototype, "candidateInterviewLink", 2);
3000
3053
  __decorateClass([
3001
- Column15({ name: "has_attempted", type: "boolean", default: false })
3054
+ Column16({ name: "has_attempted", type: "boolean", default: false })
3002
3055
  ], AiInterview.prototype, "hasAttempted", 2);
3003
3056
  __decorateClass([
3004
- Column15({ name: "attempted_at", type: "timestamp", nullable: true })
3057
+ Column16({ name: "attempted_at", type: "timestamp", nullable: true })
3005
3058
  ], AiInterview.prototype, "attemptedAt", 2);
3006
3059
  __decorateClass([
3007
- Column15({ name: "completed_at", type: "timestamp", nullable: true })
3060
+ Column16({ name: "completed_at", type: "timestamp", nullable: true })
3008
3061
  ], AiInterview.prototype, "completedAt", 2);
3009
3062
  __decorateClass([
3010
- Column15({ name: "exited_at", type: "timestamp", nullable: true })
3063
+ Column16({ name: "exited_at", type: "timestamp", nullable: true })
3011
3064
  ], AiInterview.prototype, "exitedAt", 2);
3012
3065
  __decorateClass([
3013
- Column15({ name: "expired_at", type: "timestamp", nullable: true })
3066
+ Column16({ name: "expired_at", type: "timestamp", nullable: true })
3014
3067
  ], AiInterview.prototype, "expiredAt", 2);
3015
3068
  __decorateClass([
3016
- Column15({
3069
+ Column16({
3017
3070
  name: "status",
3018
3071
  type: "enum",
3019
3072
  enum: AiInterviewStatusEnum,
@@ -3021,7 +3074,7 @@ __decorateClass([
3021
3074
  })
3022
3075
  ], AiInterview.prototype, "status", 2);
3023
3076
  __decorateClass([
3024
- Column15({
3077
+ Column16({
3025
3078
  name: "result_status",
3026
3079
  type: "enum",
3027
3080
  enum: ResultStatusEnum,
@@ -3029,36 +3082,39 @@ __decorateClass([
3029
3082
  })
3030
3083
  ], AiInterview.prototype, "resultStatus", 2);
3031
3084
  __decorateClass([
3032
- Column15({ name: "iframe_response", type: "jsonb", nullable: true })
3085
+ Column16({ name: "iframe_response", type: "jsonb", nullable: true })
3033
3086
  ], AiInterview.prototype, "iframeResponse", 2);
3034
3087
  __decorateClass([
3035
- Column15({ name: "interview_insight", type: "jsonb", nullable: true })
3088
+ Column16({ name: "interview_insight", type: "jsonb", nullable: true })
3036
3089
  ], AiInterview.prototype, "interviewInsight", 2);
3037
3090
  __decorateClass([
3038
- Column15({ name: "is_f2f_interview_scheduled", type: "boolean", default: false })
3091
+ Column16({ name: "is_f2f_interview_scheduled", type: "boolean", default: false })
3039
3092
  ], AiInterview.prototype, "isF2fInterviewScheduled", 2);
3040
3093
  __decorateClass([
3041
- Column15({ name: "is_contract_sent", type: "boolean", default: false })
3094
+ Column16({ name: "is_contract_sent", type: "boolean", default: false })
3042
3095
  ], AiInterview.prototype, "isContractSent", 2);
3096
+ __decorateClass([
3097
+ OneToMany6(() => AiInterviewRescheduleRequest, (aiInterviewRescheduleRequest) => aiInterviewRescheduleRequest.aiInterview)
3098
+ ], AiInterview.prototype, "rescheduleRequests", 2);
3043
3099
  AiInterview = __decorateClass([
3044
- Entity14("ai_interviews")
3100
+ Entity15("ai_interviews")
3045
3101
  ], AiInterview);
3046
3102
 
3047
3103
  // src/entities/f2f-interview.entity.ts
3048
3104
  import {
3049
- Entity as Entity17,
3050
- Column as Column18,
3051
- ManyToOne as ManyToOne16,
3052
- JoinColumn as JoinColumn16,
3053
- OneToMany as OneToMany7
3105
+ Entity as Entity18,
3106
+ Column as Column19,
3107
+ ManyToOne as ManyToOne17,
3108
+ JoinColumn as JoinColumn17,
3109
+ OneToMany as OneToMany8
3054
3110
  } from "typeorm";
3055
3111
 
3056
3112
  // src/entities/f2f-interview-reschedule-request.entity.ts
3057
3113
  import {
3058
- Entity as Entity15,
3059
- Column as Column16,
3060
- ManyToOne as ManyToOne14,
3061
- JoinColumn as JoinColumn14
3114
+ Entity as Entity16,
3115
+ Column as Column17,
3116
+ ManyToOne as ManyToOne15,
3117
+ JoinColumn as JoinColumn15
3062
3118
  } from "typeorm";
3063
3119
  var F2fInterviewRescheduleRequestStatusEnum = /* @__PURE__ */ ((F2fInterviewRescheduleRequestStatusEnum2) => {
3064
3120
  F2fInterviewRescheduleRequestStatusEnum2["PENDING"] = "PENDING";
@@ -3071,27 +3127,27 @@ var F2fInterviewRescheduleRequestStatusEnum = /* @__PURE__ */ ((F2fInterviewResc
3071
3127
  var F2fInterviewRescheduleRequest = class extends BaseEntity {
3072
3128
  };
3073
3129
  __decorateClass([
3074
- Column16({ name: "candidate_id", type: "integer", nullable: true })
3130
+ Column17({ name: "candidate_id", type: "integer", nullable: true })
3075
3131
  ], F2fInterviewRescheduleRequest.prototype, "candidateId", 2);
3076
3132
  __decorateClass([
3077
- ManyToOne14(() => User, (user) => user.freelancerF2FInterviewRescheduleRequests, { nullable: true }),
3078
- JoinColumn14({ name: "candidate_id" })
3133
+ ManyToOne15(() => User, (user) => user.freelancerF2FInterviewRescheduleRequests, { nullable: true }),
3134
+ JoinColumn15({ name: "candidate_id" })
3079
3135
  ], F2fInterviewRescheduleRequest.prototype, "candidate", 2);
3080
3136
  __decorateClass([
3081
- Column16({ name: "f2finterview_id", type: "integer", nullable: true })
3137
+ Column17({ name: "f2finterview_id", type: "integer", nullable: true })
3082
3138
  ], F2fInterviewRescheduleRequest.prototype, "f2fInterviewId", 2);
3083
3139
  __decorateClass([
3084
- ManyToOne14(() => F2FInterview, (f2FInterview) => f2FInterview.rescheduleRequests),
3085
- JoinColumn14({ name: "f2finterview_id" })
3140
+ ManyToOne15(() => F2FInterview, (f2FInterview) => f2FInterview.rescheduleRequests),
3141
+ JoinColumn15({ name: "f2finterview_id" })
3086
3142
  ], F2fInterviewRescheduleRequest.prototype, "f2fInterview", 2);
3087
3143
  __decorateClass([
3088
- Column16({ name: "rescheduled_date", type: "timestamp with time zone", nullable: true })
3144
+ Column17({ name: "rescheduled_date", type: "timestamp with time zone", nullable: true })
3089
3145
  ], F2fInterviewRescheduleRequest.prototype, "rescheduledDate", 2);
3090
3146
  __decorateClass([
3091
- Column16({ name: "rescheduled_slot", type: "varchar", nullable: true })
3147
+ Column17({ name: "rescheduled_slot", type: "varchar", nullable: true })
3092
3148
  ], F2fInterviewRescheduleRequest.prototype, "rescheduledSlot", 2);
3093
3149
  __decorateClass([
3094
- Column16({
3150
+ Column17({
3095
3151
  name: "status",
3096
3152
  type: "enum",
3097
3153
  enum: F2fInterviewRescheduleRequestStatusEnum,
@@ -3099,21 +3155,21 @@ __decorateClass([
3099
3155
  })
3100
3156
  ], F2fInterviewRescheduleRequest.prototype, "status", 2);
3101
3157
  __decorateClass([
3102
- Column16({ name: "client_reject_reason", type: "varchar", nullable: true })
3158
+ Column17({ name: "client_reject_reason", type: "varchar", nullable: true })
3103
3159
  ], F2fInterviewRescheduleRequest.prototype, "clientRejectReason", 2);
3104
3160
  __decorateClass([
3105
- Column16({ name: "freelancer_request_reason", type: "varchar", nullable: true })
3161
+ Column17({ name: "freelancer_request_reason", type: "varchar", nullable: true })
3106
3162
  ], F2fInterviewRescheduleRequest.prototype, "freelancerRequestReason", 2);
3107
3163
  F2fInterviewRescheduleRequest = __decorateClass([
3108
- Entity15("f2f_interview_reschedule_requests")
3164
+ Entity16("f2f_interview_reschedule_requests")
3109
3165
  ], F2fInterviewRescheduleRequest);
3110
3166
 
3111
3167
  // src/entities/f2f-interview-schedule.entity.ts
3112
3168
  import {
3113
- Entity as Entity16,
3114
- Column as Column17,
3115
- ManyToOne as ManyToOne15,
3116
- JoinColumn as JoinColumn15,
3169
+ Entity as Entity17,
3170
+ Column as Column18,
3171
+ ManyToOne as ManyToOne16,
3172
+ JoinColumn as JoinColumn16,
3117
3173
  Index as Index11
3118
3174
  } from "typeorm";
3119
3175
  var F2fInterviewScheduleStatusEnum = /* @__PURE__ */ ((F2fInterviewScheduleStatusEnum2) => {
@@ -3126,33 +3182,33 @@ var F2fInterviewScheduleStatusEnum = /* @__PURE__ */ ((F2fInterviewScheduleStatu
3126
3182
  var F2FInterviewSchedule = class extends BaseEntity {
3127
3183
  };
3128
3184
  __decorateClass([
3129
- Column17({ name: "f2f_interview_id", type: "integer", nullable: true })
3185
+ Column18({ name: "f2f_interview_id", type: "integer", nullable: true })
3130
3186
  ], F2FInterviewSchedule.prototype, "f2fInterviewId", 2);
3131
3187
  __decorateClass([
3132
- ManyToOne15(() => F2FInterview, (f2fInterview) => f2fInterview.schedules),
3133
- JoinColumn15({ name: "f2f_interview_id" })
3188
+ ManyToOne16(() => F2FInterview, (f2fInterview) => f2fInterview.schedules),
3189
+ JoinColumn16({ name: "f2f_interview_id" })
3134
3190
  ], F2FInterviewSchedule.prototype, "f2fInterview", 2);
3135
3191
  __decorateClass([
3136
- Column17({ name: "event_id", type: "varchar", nullable: true }),
3192
+ Column18({ name: "event_id", type: "varchar", nullable: true }),
3137
3193
  Index11()
3138
3194
  ], F2FInterviewSchedule.prototype, "eventId", 2);
3139
3195
  __decorateClass([
3140
- Column17({ name: "zoom_link", type: "varchar", nullable: true })
3196
+ Column18({ name: "zoom_link", type: "varchar", nullable: true })
3141
3197
  ], F2FInterviewSchedule.prototype, "meetingZoomLink", 2);
3142
3198
  __decorateClass([
3143
- Column17({ name: "meeting_id", type: "varchar", nullable: true })
3199
+ Column18({ name: "meeting_id", type: "varchar", nullable: true })
3144
3200
  ], F2FInterviewSchedule.prototype, "meetingId", 2);
3145
3201
  __decorateClass([
3146
- Column17({ name: "meeting_passcode", type: "varchar", nullable: true })
3202
+ Column18({ name: "meeting_passcode", type: "varchar", nullable: true })
3147
3203
  ], F2FInterviewSchedule.prototype, "meetingPasscode", 2);
3148
3204
  __decorateClass([
3149
- Column17({ name: "reschedule_url", type: "varchar", nullable: true })
3205
+ Column18({ name: "reschedule_url", type: "varchar", nullable: true })
3150
3206
  ], F2FInterviewSchedule.prototype, "rescheduleUrl", 2);
3151
3207
  __decorateClass([
3152
- Column17({ name: "cancel_url", type: "varchar", nullable: true })
3208
+ Column18({ name: "cancel_url", type: "varchar", nullable: true })
3153
3209
  ], F2FInterviewSchedule.prototype, "cancelUrl", 2);
3154
3210
  __decorateClass([
3155
- Column17({
3211
+ Column18({
3156
3212
  name: "status",
3157
3213
  type: "enum",
3158
3214
  enum: F2fInterviewScheduleStatusEnum,
@@ -3160,47 +3216,47 @@ __decorateClass([
3160
3216
  })
3161
3217
  ], F2FInterviewSchedule.prototype, "status", 2);
3162
3218
  __decorateClass([
3163
- Column17({
3219
+ Column18({
3164
3220
  name: "meeting_start_time",
3165
3221
  type: "timestamp with time zone",
3166
3222
  nullable: true
3167
3223
  })
3168
3224
  ], F2FInterviewSchedule.prototype, "meetingStartTime", 2);
3169
3225
  __decorateClass([
3170
- Column17({
3226
+ Column18({
3171
3227
  name: "meeting_end_time",
3172
3228
  type: "timestamp with time zone",
3173
3229
  nullable: true
3174
3230
  })
3175
3231
  ], F2FInterviewSchedule.prototype, "meetingEndTime", 2);
3176
3232
  __decorateClass([
3177
- Column17({
3233
+ Column18({
3178
3234
  name: "meeting_eligible_start_time",
3179
3235
  type: "timestamp with time zone",
3180
3236
  nullable: true
3181
3237
  })
3182
3238
  ], F2FInterviewSchedule.prototype, "meetingEligibleStartTime", 2);
3183
3239
  __decorateClass([
3184
- Column17({
3240
+ Column18({
3185
3241
  name: "meeting_eligible_expiry_time",
3186
3242
  type: "timestamp with time zone",
3187
3243
  nullable: true
3188
3244
  })
3189
3245
  ], F2FInterviewSchedule.prototype, "meetingEligibleExpiryTime", 2);
3190
3246
  __decorateClass([
3191
- Column17({ name: "meeting_video_recording_url", type: "varchar", nullable: true })
3247
+ Column18({ name: "meeting_video_recording_url", type: "varchar", nullable: true })
3192
3248
  ], F2FInterviewSchedule.prototype, "meetingVideoRecordingUrl", 2);
3193
3249
  __decorateClass([
3194
- Column17({ name: "meeting_audio_recording_url", type: "varchar", nullable: true })
3250
+ Column18({ name: "meeting_audio_recording_url", type: "varchar", nullable: true })
3195
3251
  ], F2FInterviewSchedule.prototype, "meetingAudioRecordingUrl", 2);
3196
3252
  __decorateClass([
3197
- Column17({ name: "meeting_transcript", type: "jsonb", nullable: true })
3253
+ Column18({ name: "meeting_transcript", type: "jsonb", nullable: true })
3198
3254
  ], F2FInterviewSchedule.prototype, "meetingTranscript", 2);
3199
3255
  __decorateClass([
3200
- Column17({ name: "meeting_recordings", type: "jsonb", nullable: true })
3256
+ Column18({ name: "meeting_recordings", type: "jsonb", nullable: true })
3201
3257
  ], F2FInterviewSchedule.prototype, "meetingRecordings", 2);
3202
3258
  F2FInterviewSchedule = __decorateClass([
3203
- Entity16("f2f_interview_schedules")
3259
+ Entity17("f2f_interview_schedules")
3204
3260
  ], F2FInterviewSchedule);
3205
3261
 
3206
3262
  // src/entities/f2f-interview.entity.ts
@@ -3219,50 +3275,50 @@ var F2fInterviewStatusEnum = /* @__PURE__ */ ((F2fInterviewStatusEnum2) => {
3219
3275
  var F2FInterview = class extends BaseEntity {
3220
3276
  };
3221
3277
  __decorateClass([
3222
- Column18({ name: "interview_unique_id", type: "varchar", nullable: true, unique: true })
3278
+ Column19({ name: "interview_unique_id", type: "varchar", nullable: true, unique: true })
3223
3279
  ], F2FInterview.prototype, "interviewUniqueId", 2);
3224
3280
  __decorateClass([
3225
- Column18({ name: "round", type: "varchar", nullable: true })
3281
+ Column19({ name: "round", type: "varchar", nullable: true })
3226
3282
  ], F2FInterview.prototype, "round", 2);
3227
3283
  __decorateClass([
3228
- Column18({ name: "job_id", type: "integer", nullable: true })
3284
+ Column19({ name: "job_id", type: "integer", nullable: true })
3229
3285
  ], F2FInterview.prototype, "jobId", 2);
3230
3286
  __decorateClass([
3231
- ManyToOne16(() => Job, (job) => job.f2fInterviews, { nullable: true }),
3232
- JoinColumn16({ name: "job_id" })
3287
+ ManyToOne17(() => Job, (job) => job.f2fInterviews, { nullable: true }),
3288
+ JoinColumn17({ name: "job_id" })
3233
3289
  ], F2FInterview.prototype, "job", 2);
3234
3290
  __decorateClass([
3235
- Column18({ name: "interview_id", type: "integer", nullable: true })
3291
+ Column19({ name: "interview_id", type: "integer", nullable: true })
3236
3292
  ], F2FInterview.prototype, "interviewId", 2);
3237
3293
  __decorateClass([
3238
- ManyToOne16(() => Interview, (interview) => interview.f2fInterviews, { nullable: true }),
3239
- JoinColumn16({ name: "interview_id" })
3294
+ ManyToOne17(() => Interview, (interview) => interview.f2fInterviews, { nullable: true }),
3295
+ JoinColumn17({ name: "interview_id" })
3240
3296
  ], F2FInterview.prototype, "interview", 2);
3241
3297
  __decorateClass([
3242
- Column18({ name: "interviwer_id", type: "integer", nullable: true })
3298
+ Column19({ name: "interviwer_id", type: "integer", nullable: true })
3243
3299
  ], F2FInterview.prototype, "interviwerId", 2);
3244
3300
  __decorateClass([
3245
- ManyToOne16(() => User, (user) => user.clientF2FInterviews),
3246
- JoinColumn16({ name: "interviwer_id" })
3301
+ ManyToOne17(() => User, (user) => user.clientF2FInterviews),
3302
+ JoinColumn17({ name: "interviwer_id" })
3247
3303
  ], F2FInterview.prototype, "interviwer", 2);
3248
3304
  __decorateClass([
3249
- Column18({ name: "candidate_id", type: "integer", nullable: true })
3305
+ Column19({ name: "candidate_id", type: "integer", nullable: true })
3250
3306
  ], F2FInterview.prototype, "candidateId", 2);
3251
3307
  __decorateClass([
3252
- ManyToOne16(() => User, (user) => user.freelancerF2FInterviews, { nullable: true }),
3253
- JoinColumn16({ name: "candidate_id" })
3308
+ ManyToOne17(() => User, (user) => user.freelancerF2FInterviews, { nullable: true }),
3309
+ JoinColumn17({ name: "candidate_id" })
3254
3310
  ], F2FInterview.prototype, "candidate", 2);
3255
3311
  __decorateClass([
3256
- Column18({ name: "invitee_email", type: "varchar", nullable: true })
3312
+ Column19({ name: "invitee_email", type: "varchar", nullable: true })
3257
3313
  ], F2FInterview.prototype, "inviteeEmail", 2);
3258
3314
  __decorateClass([
3259
- Column18({ name: "invitee_name", type: "varchar", nullable: true })
3315
+ Column19({ name: "invitee_name", type: "varchar", nullable: true })
3260
3316
  ], F2FInterview.prototype, "inviteeName", 2);
3261
3317
  __decorateClass([
3262
- Column18({ name: "event_name", type: "varchar", nullable: true })
3318
+ Column19({ name: "event_name", type: "varchar", nullable: true })
3263
3319
  ], F2FInterview.prototype, "eventName", 2);
3264
3320
  __decorateClass([
3265
- Column18({
3321
+ Column19({
3266
3322
  name: "status",
3267
3323
  type: "enum",
3268
3324
  enum: F2fInterviewStatusEnum,
@@ -3270,45 +3326,45 @@ __decorateClass([
3270
3326
  })
3271
3327
  ], F2FInterview.prototype, "status", 2);
3272
3328
  __decorateClass([
3273
- Column18({ name: "is_rescheduled", type: "boolean", default: false })
3329
+ Column19({ name: "is_rescheduled", type: "boolean", default: false })
3274
3330
  ], F2FInterview.prototype, "isRescheduled", 2);
3275
3331
  __decorateClass([
3276
- Column18({ name: "last_rescheduled_at", type: "timestamp with time zone", nullable: true })
3332
+ Column19({ name: "last_rescheduled_at", type: "timestamp with time zone", nullable: true })
3277
3333
  ], F2FInterview.prototype, "lastRescheduledAt", 2);
3278
3334
  __decorateClass([
3279
- Column18({ name: "cancelled_at", type: "timestamp with time zone", nullable: true })
3335
+ Column19({ name: "cancelled_at", type: "timestamp with time zone", nullable: true })
3280
3336
  ], F2FInterview.prototype, "cancelledAt", 2);
3281
3337
  __decorateClass([
3282
- Column18({ name: "cancel_reason", type: "varchar", nullable: true })
3338
+ Column19({ name: "cancel_reason", type: "varchar", nullable: true })
3283
3339
  ], F2FInterview.prototype, "cancelReason", 2);
3284
3340
  __decorateClass([
3285
- Column18({ name: "provider", type: "varchar", nullable: true })
3341
+ Column19({ name: "provider", type: "varchar", nullable: true })
3286
3342
  ], F2FInterview.prototype, "provider", 2);
3287
3343
  __decorateClass([
3288
- Column18({
3344
+ Column19({
3289
3345
  name: "meeting_started_on",
3290
3346
  type: "timestamp with time zone",
3291
3347
  nullable: true
3292
3348
  })
3293
3349
  ], F2FInterview.prototype, "meetingStartedOn", 2);
3294
3350
  __decorateClass([
3295
- Column18({
3351
+ Column19({
3296
3352
  name: "meeting_ended_on",
3297
3353
  type: "timestamp with time zone",
3298
3354
  nullable: true
3299
3355
  })
3300
3356
  ], F2FInterview.prototype, "meetingEndedOn", 2);
3301
3357
  __decorateClass([
3302
- Column18({ name: "is_contract_sent", type: "boolean", default: false })
3358
+ Column19({ name: "is_contract_sent", type: "boolean", default: false })
3303
3359
  ], F2FInterview.prototype, "isContractSent", 2);
3304
3360
  __decorateClass([
3305
- OneToMany7(() => F2FInterviewSchedule, (f2fInterviewSchedule) => f2fInterviewSchedule.f2fInterview)
3361
+ OneToMany8(() => F2FInterviewSchedule, (f2fInterviewSchedule) => f2fInterviewSchedule.f2fInterview)
3306
3362
  ], F2FInterview.prototype, "schedules", 2);
3307
3363
  __decorateClass([
3308
- OneToMany7(() => F2fInterviewRescheduleRequest, (f2FInterviewRescheduleRequest) => f2FInterviewRescheduleRequest.f2fInterview)
3364
+ OneToMany8(() => F2fInterviewRescheduleRequest, (f2FInterviewRescheduleRequest) => f2FInterviewRescheduleRequest.f2fInterview)
3309
3365
  ], F2FInterview.prototype, "rescheduleRequests", 2);
3310
3366
  F2FInterview = __decorateClass([
3311
- Entity17("f2f_interviews")
3367
+ Entity18("f2f_interviews")
3312
3368
  ], F2FInterview);
3313
3369
 
3314
3370
  // src/entities/interview.entity.ts
@@ -3323,7 +3379,7 @@ var InterviewStatusEnum = /* @__PURE__ */ ((InterviewStatusEnum2) => {
3323
3379
  var Interview = class extends BaseEntity {
3324
3380
  };
3325
3381
  __decorateClass([
3326
- Column19({
3382
+ Column20({
3327
3383
  name: "interview_id",
3328
3384
  type: "varchar",
3329
3385
  unique: true,
@@ -3332,53 +3388,53 @@ __decorateClass([
3332
3388
  Index12()
3333
3389
  ], Interview.prototype, "interviewId", 2);
3334
3390
  __decorateClass([
3335
- Column19({ name: "user_id", type: "integer", nullable: true }),
3391
+ Column20({ name: "user_id", type: "integer", nullable: true }),
3336
3392
  Index12()
3337
3393
  ], Interview.prototype, "userId", 2);
3338
3394
  __decorateClass([
3339
- ManyToOne17(() => User, (user) => user.interviews),
3340
- JoinColumn17({ name: "user_id" })
3395
+ ManyToOne18(() => User, (user) => user.interviews),
3396
+ JoinColumn18({ name: "user_id" })
3341
3397
  ], Interview.prototype, "user", 2);
3342
3398
  __decorateClass([
3343
- Column19({ name: "interview_name", type: "varchar", nullable: true })
3399
+ Column20({ name: "interview_name", type: "varchar", nullable: true })
3344
3400
  ], Interview.prototype, "interviewName", 2);
3345
3401
  __decorateClass([
3346
- Column19({ name: "job_id", type: "integer" }),
3402
+ Column20({ name: "job_id", type: "integer" }),
3347
3403
  Index12()
3348
3404
  ], Interview.prototype, "jobId", 2);
3349
3405
  __decorateClass([
3350
- ManyToOne17(() => Job, (job) => job.interviews, { onDelete: "CASCADE" }),
3351
- JoinColumn17({ name: "job_id" })
3406
+ ManyToOne18(() => Job, (job) => job.interviews, { onDelete: "CASCADE" }),
3407
+ JoinColumn18({ name: "job_id" })
3352
3408
  ], Interview.prototype, "job", 2);
3353
3409
  __decorateClass([
3354
- Column19({ name: "interview_type", type: "varchar", nullable: true })
3410
+ Column20({ name: "interview_type", type: "varchar", nullable: true })
3355
3411
  ], Interview.prototype, "interviewType", 2);
3356
3412
  __decorateClass([
3357
- Column19({ name: "interview_language", type: "varchar", nullable: true })
3413
+ Column20({ name: "interview_language", type: "varchar", nullable: true })
3358
3414
  ], Interview.prototype, "interviewLanguage", 2);
3359
3415
  __decorateClass([
3360
- Column19({ name: "allow_proctoring", type: "boolean", default: false })
3416
+ Column20({ name: "allow_proctoring", type: "boolean", default: false })
3361
3417
  ], Interview.prototype, "allowProctoring", 2);
3362
3418
  __decorateClass([
3363
- Column19({ name: "interview_duration", type: "varchar", nullable: true })
3419
+ Column20({ name: "interview_duration", type: "varchar", nullable: true })
3364
3420
  ], Interview.prototype, "interviewDuration", 2);
3365
3421
  __decorateClass([
3366
- Column19({ name: "interview_validity_period", type: "varchar", nullable: true })
3422
+ Column20({ name: "interview_validity_period", type: "varchar", nullable: true })
3367
3423
  ], Interview.prototype, "interviewValidityPeriod", 2);
3368
3424
  __decorateClass([
3369
- Column19({ name: "maximum_attempts_allowed", type: "varchar", nullable: true })
3425
+ Column20({ name: "maximum_attempts_allowed", type: "varchar", nullable: true })
3370
3426
  ], Interview.prototype, "maximumAttemptsAllowed", 2);
3371
3427
  __decorateClass([
3372
- Column19({ name: "start_interview_prompt", type: "varchar", nullable: true })
3428
+ Column20({ name: "start_interview_prompt", type: "varchar", nullable: true })
3373
3429
  ], Interview.prototype, "startInterviewPrompt", 2);
3374
3430
  __decorateClass([
3375
- Column19({ name: "end_interview_prompt", type: "varchar", nullable: true })
3431
+ Column20({ name: "end_interview_prompt", type: "varchar", nullable: true })
3376
3432
  ], Interview.prototype, "endInterviewPrompt", 2);
3377
3433
  __decorateClass([
3378
- Column19({ name: "interview_template_id", type: "varchar", nullable: true })
3434
+ Column20({ name: "interview_template_id", type: "varchar", nullable: true })
3379
3435
  ], Interview.prototype, "interviewTemplateId", 2);
3380
3436
  __decorateClass([
3381
- Column19({
3437
+ Column20({
3382
3438
  name: "status",
3383
3439
  type: "enum",
3384
3440
  enum: InterviewStatusEnum,
@@ -3386,50 +3442,50 @@ __decorateClass([
3386
3442
  })
3387
3443
  ], Interview.prototype, "status", 2);
3388
3444
  __decorateClass([
3389
- OneToMany8(
3445
+ OneToMany9(
3390
3446
  () => InterviewSkill,
3391
3447
  (interviewSkill) => interviewSkill.interview,
3392
3448
  { cascade: true }
3393
3449
  )
3394
3450
  ], Interview.prototype, "interviewSkills", 2);
3395
3451
  __decorateClass([
3396
- OneToMany8(
3452
+ OneToMany9(
3397
3453
  () => InterviewQuestion,
3398
3454
  (interviewQuestion) => interviewQuestion.interview,
3399
3455
  { cascade: true }
3400
3456
  )
3401
3457
  ], Interview.prototype, "interviewQuestions", 2);
3402
3458
  __decorateClass([
3403
- OneToMany8(() => InterviewInvite, (interviewInvite) => interviewInvite.interview)
3459
+ OneToMany9(() => InterviewInvite, (interviewInvite) => interviewInvite.interview)
3404
3460
  ], Interview.prototype, "invites", 2);
3405
3461
  __decorateClass([
3406
- OneToMany8(() => AiInterview, (aiInterview) => aiInterview.interview)
3462
+ OneToMany9(() => AiInterview, (aiInterview) => aiInterview.interview)
3407
3463
  ], Interview.prototype, "aiInterviews", 2);
3408
3464
  __decorateClass([
3409
- OneToMany8(() => F2FInterview, (f2fInterview) => f2fInterview.interview)
3465
+ OneToMany9(() => F2FInterview, (f2fInterview) => f2fInterview.interview)
3410
3466
  ], Interview.prototype, "f2fInterviews", 2);
3411
3467
  Interview = __decorateClass([
3412
- Entity18("interviews")
3468
+ Entity19("interviews")
3413
3469
  ], Interview);
3414
3470
 
3415
3471
  // src/entities/job-recommendation.entity.ts
3416
3472
  import {
3417
- Entity as Entity20,
3418
- Column as Column21,
3473
+ Entity as Entity21,
3474
+ Column as Column22,
3419
3475
  Index as Index14,
3420
- ManyToOne as ManyToOne19,
3421
- JoinColumn as JoinColumn19,
3476
+ ManyToOne as ManyToOne20,
3477
+ JoinColumn as JoinColumn20,
3422
3478
  PrimaryGeneratedColumn as PrimaryGeneratedColumn5,
3423
3479
  OneToOne as OneToOne3
3424
3480
  } from "typeorm";
3425
3481
 
3426
3482
  // src/entities/client-candidate-preference.entity.ts
3427
3483
  import {
3428
- Entity as Entity19,
3429
- Column as Column20,
3484
+ Entity as Entity20,
3485
+ Column as Column21,
3430
3486
  Index as Index13,
3431
- ManyToOne as ManyToOne18,
3432
- JoinColumn as JoinColumn18,
3487
+ ManyToOne as ManyToOne19,
3488
+ JoinColumn as JoinColumn19,
3433
3489
  OneToOne as OneToOne2
3434
3490
  } from "typeorm";
3435
3491
  var ClientCandidatePreferenceEnum = /* @__PURE__ */ ((ClientCandidatePreferenceEnum2) => {
@@ -3440,39 +3496,39 @@ var ClientCandidatePreferenceEnum = /* @__PURE__ */ ((ClientCandidatePreferenceE
3440
3496
  var ClientCandidatePreference = class extends BaseEntity {
3441
3497
  };
3442
3498
  __decorateClass([
3443
- Column20({ name: "client_id", type: "integer" }),
3499
+ Column21({ name: "client_id", type: "integer" }),
3444
3500
  Index13()
3445
3501
  ], ClientCandidatePreference.prototype, "clientId", 2);
3446
3502
  __decorateClass([
3447
- ManyToOne18(() => User, (user) => user.clientPreferencesGiven),
3448
- JoinColumn18({ name: "client_id" })
3503
+ ManyToOne19(() => User, (user) => user.clientPreferencesGiven),
3504
+ JoinColumn19({ name: "client_id" })
3449
3505
  ], ClientCandidatePreference.prototype, "client", 2);
3450
3506
  __decorateClass([
3451
- Column20({ name: "candidate_id", type: "integer" }),
3507
+ Column21({ name: "candidate_id", type: "integer" }),
3452
3508
  Index13()
3453
3509
  ], ClientCandidatePreference.prototype, "candidateId", 2);
3454
3510
  __decorateClass([
3455
- ManyToOne18(() => User, (user) => user.clientPreferencesReceived),
3456
- JoinColumn18({ name: "candidate_id" })
3511
+ ManyToOne19(() => User, (user) => user.clientPreferencesReceived),
3512
+ JoinColumn19({ name: "candidate_id" })
3457
3513
  ], ClientCandidatePreference.prototype, "candidate", 2);
3458
3514
  __decorateClass([
3459
- Column20({ name: "job_id", type: "integer", nullable: true }),
3515
+ Column21({ name: "job_id", type: "integer", nullable: true }),
3460
3516
  Index13()
3461
3517
  ], ClientCandidatePreference.prototype, "jobId", 2);
3462
3518
  __decorateClass([
3463
- ManyToOne18(() => Job, (job) => job.clientCandidatePreferences, { nullable: true }),
3464
- JoinColumn18({ name: "job_id" })
3519
+ ManyToOne19(() => Job, (job) => job.clientCandidatePreferences, { nullable: true }),
3520
+ JoinColumn19({ name: "job_id" })
3465
3521
  ], ClientCandidatePreference.prototype, "job", 2);
3466
3522
  __decorateClass([
3467
- Column20({ name: "recommendation_id", type: "integer", nullable: true }),
3523
+ Column21({ name: "recommendation_id", type: "integer", nullable: true }),
3468
3524
  Index13()
3469
3525
  ], ClientCandidatePreference.prototype, "recommendationId", 2);
3470
3526
  __decorateClass([
3471
3527
  OneToOne2(() => JobRecommendation, (jobRecommendation) => jobRecommendation.preference, { nullable: true }),
3472
- JoinColumn18({ name: "recommendation_id" })
3528
+ JoinColumn19({ name: "recommendation_id" })
3473
3529
  ], ClientCandidatePreference.prototype, "recommendation", 2);
3474
3530
  __decorateClass([
3475
- Column20({
3531
+ Column21({
3476
3532
  name: "preference",
3477
3533
  type: "enum",
3478
3534
  enum: ClientCandidatePreferenceEnum
@@ -3480,7 +3536,7 @@ __decorateClass([
3480
3536
  Index13()
3481
3537
  ], ClientCandidatePreference.prototype, "preference", 2);
3482
3538
  ClientCandidatePreference = __decorateClass([
3483
- Entity19("client_candidate_preferences")
3539
+ Entity20("client_candidate_preferences")
3484
3540
  ], ClientCandidatePreference);
3485
3541
 
3486
3542
  // src/entities/job-recommendation.entity.ts
@@ -3490,29 +3546,29 @@ __decorateClass([
3490
3546
  PrimaryGeneratedColumn5("increment", { type: "integer" })
3491
3547
  ], JobRecommendation.prototype, "id", 2);
3492
3548
  __decorateClass([
3493
- Column21({ name: "job_id", type: "integer" }),
3549
+ Column22({ name: "job_id", type: "integer" }),
3494
3550
  Index14()
3495
3551
  ], JobRecommendation.prototype, "jobId", 2);
3496
3552
  __decorateClass([
3497
- ManyToOne19(() => Job, (job) => job.recommendations, { onDelete: "CASCADE" }),
3498
- JoinColumn19({ name: "job_id" })
3553
+ ManyToOne20(() => Job, (job) => job.recommendations, { onDelete: "CASCADE" }),
3554
+ JoinColumn20({ name: "job_id" })
3499
3555
  ], JobRecommendation.prototype, "job", 2);
3500
3556
  __decorateClass([
3501
- Column21({ name: "freelancer_id", type: "integer" }),
3557
+ Column22({ name: "freelancer_id", type: "integer" }),
3502
3558
  Index14()
3503
3559
  ], JobRecommendation.prototype, "freelancerId", 2);
3504
3560
  __decorateClass([
3505
- Column21({ name: "client_id", type: "integer" }),
3561
+ Column22({ name: "client_id", type: "integer" }),
3506
3562
  Index14()
3507
3563
  ], JobRecommendation.prototype, "clientId", 2);
3508
3564
  __decorateClass([
3509
- Column21({ name: "match_score", type: "numeric", precision: 5, scale: 2 })
3565
+ Column22({ name: "match_score", type: "numeric", precision: 5, scale: 2 })
3510
3566
  ], JobRecommendation.prototype, "matchScore", 2);
3511
3567
  __decorateClass([
3512
- Column21({ name: "match_score_summary", type: "jsonb", nullable: true })
3568
+ Column22({ name: "match_score_summary", type: "jsonb", nullable: true })
3513
3569
  ], JobRecommendation.prototype, "matchScoreSummary", 2);
3514
3570
  __decorateClass([
3515
- Column21({
3571
+ Column22({
3516
3572
  name: "matching_skills",
3517
3573
  type: "text",
3518
3574
  array: true,
@@ -3520,10 +3576,10 @@ __decorateClass([
3520
3576
  })
3521
3577
  ], JobRecommendation.prototype, "matchingSkills", 2);
3522
3578
  __decorateClass([
3523
- Column21({ name: "matching_skills_count", type: "int", nullable: true })
3579
+ Column22({ name: "matching_skills_count", type: "int", nullable: true })
3524
3580
  ], JobRecommendation.prototype, "matchingSkillsCount", 2);
3525
3581
  __decorateClass([
3526
- Column21({
3582
+ Column22({
3527
3583
  name: "required_skills",
3528
3584
  type: "text",
3529
3585
  array: true,
@@ -3531,10 +3587,10 @@ __decorateClass([
3531
3587
  })
3532
3588
  ], JobRecommendation.prototype, "requiredSkills", 2);
3533
3589
  __decorateClass([
3534
- Column21({ name: "required_skills_count", type: "int", nullable: true })
3590
+ Column22({ name: "required_skills_count", type: "int", nullable: true })
3535
3591
  ], JobRecommendation.prototype, "requiredSkillsCount", 2);
3536
3592
  __decorateClass([
3537
- Column21({
3593
+ Column22({
3538
3594
  name: "last_calculated_at",
3539
3595
  type: "timestamp with time zone",
3540
3596
  nullable: true
@@ -3544,80 +3600,80 @@ __decorateClass([
3544
3600
  OneToOne3(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.recommendation)
3545
3601
  ], JobRecommendation.prototype, "preference", 2);
3546
3602
  JobRecommendation = __decorateClass([
3547
- Entity20("job_recommendations")
3603
+ Entity21("job_recommendations")
3548
3604
  ], JobRecommendation);
3549
3605
 
3550
3606
  // src/entities/contract.entity.ts
3551
- import { Entity as Entity28, Column as Column29, Index as Index22, ManyToOne as ManyToOne27, JoinColumn as JoinColumn27, OneToOne as OneToOne9 } from "typeorm";
3607
+ import { Entity as Entity29, Column as Column30, Index as Index22, ManyToOne as ManyToOne28, JoinColumn as JoinColumn28, OneToOne as OneToOne9 } from "typeorm";
3552
3608
 
3553
3609
  // src/entities/escrow-wallet.entity.ts
3554
- import { Entity as Entity27, Column as Column28, Index as Index21, JoinColumn as JoinColumn26, OneToOne as OneToOne8, OneToMany as OneToMany10, ManyToOne as ManyToOne26 } from "typeorm";
3610
+ import { Entity as Entity28, Column as Column29, Index as Index21, JoinColumn as JoinColumn27, OneToOne as OneToOne8, OneToMany as OneToMany11, ManyToOne as ManyToOne27 } from "typeorm";
3555
3611
 
3556
3612
  // src/entities/escrow-wallet-transaction.entity.ts
3557
- import { Entity as Entity26, Column as Column27, Index as Index20, ManyToOne as ManyToOne25, JoinColumn as JoinColumn25, OneToOne as OneToOne7 } from "typeorm";
3613
+ import { Entity as Entity27, Column as Column28, Index as Index20, ManyToOne as ManyToOne26, JoinColumn as JoinColumn26, OneToOne as OneToOne7 } from "typeorm";
3558
3614
 
3559
3615
  // src/entities/invoice.entity.ts
3560
- import { Entity as Entity25, Column as Column26, Index as Index19, JoinColumn as JoinColumn24, ManyToOne as ManyToOne24, OneToOne as OneToOne6 } from "typeorm";
3616
+ import { Entity as Entity26, Column as Column27, Index as Index19, JoinColumn as JoinColumn25, ManyToOne as ManyToOne25, OneToOne as OneToOne6 } from "typeorm";
3561
3617
 
3562
3618
  // src/entities/timesheet-line.entity.ts
3563
- import { Entity as Entity23, Column as Column24, Index as Index17, JoinColumn as JoinColumn22, OneToMany as OneToMany9, ManyToOne as ManyToOne22 } from "typeorm";
3619
+ import { Entity as Entity24, Column as Column25, Index as Index17, JoinColumn as JoinColumn23, OneToMany as OneToMany10, ManyToOne as ManyToOne23 } from "typeorm";
3564
3620
 
3565
3621
  // src/entities/timesheet-logs.entity.ts
3566
- import { Entity as Entity21, Column as Column22, Index as Index15, ManyToOne as ManyToOne20, JoinColumn as JoinColumn20 } from "typeorm";
3622
+ import { Entity as Entity22, Column as Column23, Index as Index15, ManyToOne as ManyToOne21, JoinColumn as JoinColumn21 } from "typeorm";
3567
3623
  var TimesheetLogs = class extends BaseEntity {
3568
3624
  };
3569
3625
  __decorateClass([
3570
- Column22({ name: "timesheet_line_id", type: "integer", nullable: false }),
3626
+ Column23({ name: "timesheet_line_id", type: "integer", nullable: false }),
3571
3627
  Index15()
3572
3628
  ], TimesheetLogs.prototype, "timesheetLineId", 2);
3573
3629
  __decorateClass([
3574
- ManyToOne20(() => TimesheetLine, (timesheetLine) => timesheetLine.timesheetLogs),
3575
- JoinColumn20({ name: "timesheet_line_id" })
3630
+ ManyToOne21(() => TimesheetLine, (timesheetLine) => timesheetLine.timesheetLogs),
3631
+ JoinColumn21({ name: "timesheet_line_id" })
3576
3632
  ], TimesheetLogs.prototype, "timesheetLine", 2);
3577
3633
  __decorateClass([
3578
- Column22({
3634
+ Column23({
3579
3635
  name: "start_date",
3580
3636
  type: "date",
3581
3637
  nullable: true
3582
3638
  })
3583
3639
  ], TimesheetLogs.prototype, "startDate", 2);
3584
3640
  __decorateClass([
3585
- Column22({
3641
+ Column23({
3586
3642
  name: "end_date",
3587
3643
  type: "date",
3588
3644
  nullable: true
3589
3645
  })
3590
3646
  ], TimesheetLogs.prototype, "endDate", 2);
3591
3647
  __decorateClass([
3592
- Column22({ name: "start_time", type: "varchar", nullable: true })
3648
+ Column23({ name: "start_time", type: "varchar", nullable: true })
3593
3649
  ], TimesheetLogs.prototype, "startTime", 2);
3594
3650
  __decorateClass([
3595
- Column22({ name: "end_time", type: "varchar", nullable: true })
3651
+ Column23({ name: "end_time", type: "varchar", nullable: true })
3596
3652
  ], TimesheetLogs.prototype, "endTime", 2);
3597
3653
  __decorateClass([
3598
- Column22({ name: "worked_hours", type: "varchar", nullable: true })
3654
+ Column23({ name: "worked_hours", type: "varchar", nullable: true })
3599
3655
  ], TimesheetLogs.prototype, "workedHours", 2);
3600
3656
  __decorateClass([
3601
- Column22({ name: "task_id", type: "integer", nullable: true })
3657
+ Column23({ name: "task_id", type: "integer", nullable: true })
3602
3658
  ], TimesheetLogs.prototype, "taskId", 2);
3603
3659
  __decorateClass([
3604
- Column22({ name: "project_name", type: "varchar", nullable: true })
3660
+ Column23({ name: "project_name", type: "varchar", nullable: true })
3605
3661
  ], TimesheetLogs.prototype, "projectName", 2);
3606
3662
  __decorateClass([
3607
- Column22({ name: "deliverable", type: "varchar", nullable: true })
3663
+ Column23({ name: "deliverable", type: "varchar", nullable: true })
3608
3664
  ], TimesheetLogs.prototype, "deliverable", 2);
3609
3665
  __decorateClass([
3610
- Column22({ name: "task_name", type: "varchar", nullable: true })
3666
+ Column23({ name: "task_name", type: "varchar", nullable: true })
3611
3667
  ], TimesheetLogs.prototype, "taskName", 2);
3612
3668
  __decorateClass([
3613
- Column22({ name: "description", type: "varchar", nullable: true })
3669
+ Column23({ name: "description", type: "varchar", nullable: true })
3614
3670
  ], TimesheetLogs.prototype, "description", 2);
3615
3671
  TimesheetLogs = __decorateClass([
3616
- Entity21("timesheet_logs")
3672
+ Entity22("timesheet_logs")
3617
3673
  ], TimesheetLogs);
3618
3674
 
3619
3675
  // src/entities/timesheet-line-history.entity.ts
3620
- import { Entity as Entity22, Column as Column23, Index as Index16, ManyToOne as ManyToOne21, JoinColumn as JoinColumn21 } from "typeorm";
3676
+ import { Entity as Entity23, Column as Column24, Index as Index16, ManyToOne as ManyToOne22, JoinColumn as JoinColumn22 } from "typeorm";
3621
3677
  var TimesheetLineHistoryStatusEnum = /* @__PURE__ */ ((TimesheetLineHistoryStatusEnum2) => {
3622
3678
  TimesheetLineHistoryStatusEnum2["DRAFT"] = "DRAFT";
3623
3679
  TimesheetLineHistoryStatusEnum2["SEND"] = "SEND";
@@ -3641,19 +3697,19 @@ var TimesheetSubmissionActionEnum = /* @__PURE__ */ ((TimesheetSubmissionActionE
3641
3697
  var TimesheetLineHistory = class extends BaseEntity {
3642
3698
  };
3643
3699
  __decorateClass([
3644
- Column23({ name: "timesheet_line_id", type: "integer", nullable: false }),
3700
+ Column24({ name: "timesheet_line_id", type: "integer", nullable: false }),
3645
3701
  Index16()
3646
3702
  ], TimesheetLineHistory.prototype, "timesheetLineId", 2);
3647
3703
  __decorateClass([
3648
- ManyToOne21(() => TimesheetLine, (timesheetLine) => timesheetLine.timesheetLineHistory),
3649
- JoinColumn21({ name: "timesheet_line_id" })
3704
+ ManyToOne22(() => TimesheetLine, (timesheetLine) => timesheetLine.timesheetLineHistory),
3705
+ JoinColumn22({ name: "timesheet_line_id" })
3650
3706
  ], TimesheetLineHistory.prototype, "timesheetLine", 2);
3651
3707
  __decorateClass([
3652
- Column23({ name: "changed_by", type: "integer", nullable: true }),
3708
+ Column24({ name: "changed_by", type: "integer", nullable: true }),
3653
3709
  Index16()
3654
3710
  ], TimesheetLineHistory.prototype, "changedBy", 2);
3655
3711
  __decorateClass([
3656
- Column23({
3712
+ Column24({
3657
3713
  name: "previous_status",
3658
3714
  type: "enum",
3659
3715
  enum: TimesheetLineHistoryStatusEnum,
@@ -3661,7 +3717,7 @@ __decorateClass([
3661
3717
  })
3662
3718
  ], TimesheetLineHistory.prototype, "previousStatus", 2);
3663
3719
  __decorateClass([
3664
- Column23({
3720
+ Column24({
3665
3721
  name: "new_status",
3666
3722
  type: "enum",
3667
3723
  enum: TimesheetLineHistoryStatusEnum,
@@ -3669,7 +3725,7 @@ __decorateClass([
3669
3725
  })
3670
3726
  ], TimesheetLineHistory.prototype, "newStatus", 2);
3671
3727
  __decorateClass([
3672
- Column23({
3728
+ Column24({
3673
3729
  name: "action_type",
3674
3730
  type: "enum",
3675
3731
  enum: TimesheetSubmissionActionEnum,
@@ -3677,10 +3733,10 @@ __decorateClass([
3677
3733
  })
3678
3734
  ], TimesheetLineHistory.prototype, "actionType", 2);
3679
3735
  __decorateClass([
3680
- Column23({ name: "remarks", type: "varchar", nullable: true })
3736
+ Column24({ name: "remarks", type: "varchar", nullable: true })
3681
3737
  ], TimesheetLineHistory.prototype, "remarks", 2);
3682
3738
  TimesheetLineHistory = __decorateClass([
3683
- Entity22("timesheet_line_histories")
3739
+ Entity23("timesheet_line_histories")
3684
3740
  ], TimesheetLineHistory);
3685
3741
 
3686
3742
  // src/entities/timesheet-line.entity.ts
@@ -3698,75 +3754,75 @@ var TimesheetLineStatusEnum = /* @__PURE__ */ ((TimesheetLineStatusEnum2) => {
3698
3754
  var TimesheetLine = class extends BaseEntity {
3699
3755
  };
3700
3756
  __decorateClass([
3701
- Column24({ name: "job_id", type: "integer", nullable: true }),
3757
+ Column25({ name: "job_id", type: "integer", nullable: true }),
3702
3758
  Index17()
3703
3759
  ], TimesheetLine.prototype, "jobId", 2);
3704
3760
  __decorateClass([
3705
- ManyToOne22(() => Job, (job) => job.timesheetLine),
3706
- JoinColumn22({ name: "job_id" })
3761
+ ManyToOne23(() => Job, (job) => job.timesheetLine),
3762
+ JoinColumn23({ name: "job_id" })
3707
3763
  ], TimesheetLine.prototype, "job", 2);
3708
3764
  __decorateClass([
3709
- Column24({ name: "client_id", type: "integer", nullable: true }),
3765
+ Column25({ name: "client_id", type: "integer", nullable: true }),
3710
3766
  Index17()
3711
3767
  ], TimesheetLine.prototype, "clientId", 2);
3712
3768
  __decorateClass([
3713
- ManyToOne22(() => User, (user) => user.clientTimesheetLine),
3714
- JoinColumn22({ name: "client_id" })
3769
+ ManyToOne23(() => User, (user) => user.clientTimesheetLine),
3770
+ JoinColumn23({ name: "client_id" })
3715
3771
  ], TimesheetLine.prototype, "client", 2);
3716
3772
  __decorateClass([
3717
- Column24({ name: "freelancer_id", type: "integer", nullable: true }),
3773
+ Column25({ name: "freelancer_id", type: "integer", nullable: true }),
3718
3774
  Index17()
3719
3775
  ], TimesheetLine.prototype, "freelancerId", 2);
3720
3776
  __decorateClass([
3721
- ManyToOne22(() => User, (user) => user.freelancerTimesheetLine),
3722
- JoinColumn22({ name: "freelancer_id" })
3777
+ ManyToOne23(() => User, (user) => user.freelancerTimesheetLine),
3778
+ JoinColumn23({ name: "freelancer_id" })
3723
3779
  ], TimesheetLine.prototype, "freelancer", 2);
3724
3780
  __decorateClass([
3725
- OneToMany9(() => TimesheetLogs, (timesheetLogs) => timesheetLogs.timesheetLine)
3781
+ OneToMany10(() => TimesheetLogs, (timesheetLogs) => timesheetLogs.timesheetLine)
3726
3782
  ], TimesheetLine.prototype, "timesheetLogs", 2);
3727
3783
  __decorateClass([
3728
- OneToMany9(() => TimesheetLineHistory, (timesheetLineHistory) => timesheetLineHistory.timesheetLine)
3784
+ OneToMany10(() => TimesheetLineHistory, (timesheetLineHistory) => timesheetLineHistory.timesheetLine)
3729
3785
  ], TimesheetLine.prototype, "timesheetLineHistory", 2);
3730
3786
  __decorateClass([
3731
- Column24({ name: "unique_id", type: "varchar", nullable: true })
3787
+ Column25({ name: "unique_id", type: "varchar", nullable: true })
3732
3788
  ], TimesheetLine.prototype, "uniqueId", 2);
3733
3789
  __decorateClass([
3734
- Column24({
3790
+ Column25({
3735
3791
  name: "week_start_date",
3736
3792
  type: "date",
3737
3793
  nullable: true
3738
3794
  })
3739
3795
  ], TimesheetLine.prototype, "weekStartDate", 2);
3740
3796
  __decorateClass([
3741
- Column24({
3797
+ Column25({
3742
3798
  name: "week_end_date",
3743
3799
  type: "date",
3744
3800
  nullable: true
3745
3801
  })
3746
3802
  ], TimesheetLine.prototype, "weekEndDate", 2);
3747
3803
  __decorateClass([
3748
- Column24({ name: "status", type: "enum", enum: TimesheetLineStatusEnum, nullable: true })
3804
+ Column25({ name: "status", type: "enum", enum: TimesheetLineStatusEnum, nullable: true })
3749
3805
  ], TimesheetLine.prototype, "status", 2);
3750
3806
  __decorateClass([
3751
- Column24({ name: "weekly_hours_sum", type: "varchar", nullable: true })
3807
+ Column25({ name: "weekly_hours_sum", type: "varchar", nullable: true })
3752
3808
  ], TimesheetLine.prototype, "weeklyHoursSum", 2);
3753
3809
  __decorateClass([
3754
- Column24({ name: "is_invoice_genrated", type: "boolean", default: false })
3810
+ Column25({ name: "is_invoice_genrated", type: "boolean", default: false })
3755
3811
  ], TimesheetLine.prototype, "isInvoiceGenrated", 2);
3756
3812
  __decorateClass([
3757
- Column24({ name: "is_invoice_approved", type: "boolean", default: false })
3813
+ Column25({ name: "is_invoice_approved", type: "boolean", default: false })
3758
3814
  ], TimesheetLine.prototype, "isInvoiceApproved", 2);
3759
3815
  __decorateClass([
3760
- OneToMany9(() => Invoice, (invoice) => invoice.timesheetLine, {
3816
+ OneToMany10(() => Invoice, (invoice) => invoice.timesheetLine, {
3761
3817
  cascade: true
3762
3818
  })
3763
3819
  ], TimesheetLine.prototype, "invoice", 2);
3764
3820
  TimesheetLine = __decorateClass([
3765
- Entity23("timesheet_lines")
3821
+ Entity24("timesheet_lines")
3766
3822
  ], TimesheetLine);
3767
3823
 
3768
3824
  // src/entities/hiring.entity.ts
3769
- import { Entity as Entity24, Column as Column25, Index as Index18, ManyToOne as ManyToOne23, JoinColumn as JoinColumn23, OneToOne as OneToOne5 } from "typeorm";
3825
+ import { Entity as Entity25, Column as Column26, Index as Index18, ManyToOne as ManyToOne24, JoinColumn as JoinColumn24, OneToOne as OneToOne5 } from "typeorm";
3770
3826
  var HiredFreelancerNatureOfWorkEnum = /* @__PURE__ */ ((HiredFreelancerNatureOfWorkEnum2) => {
3771
3827
  HiredFreelancerNatureOfWorkEnum2["FTE"] = "FTE";
3772
3828
  HiredFreelancerNatureOfWorkEnum2["FREELANCE"] = "FREELANCE";
@@ -3775,39 +3831,39 @@ var HiredFreelancerNatureOfWorkEnum = /* @__PURE__ */ ((HiredFreelancerNatureOfW
3775
3831
  var Hiring = class extends BaseEntity {
3776
3832
  };
3777
3833
  __decorateClass([
3778
- Column25({ name: "job_id", type: "integer", nullable: true }),
3834
+ Column26({ name: "job_id", type: "integer", nullable: true }),
3779
3835
  Index18()
3780
3836
  ], Hiring.prototype, "jobId", 2);
3781
3837
  __decorateClass([
3782
- ManyToOne23(() => Job, (job) => job.hirings),
3783
- JoinColumn23({ name: "job_id" })
3838
+ ManyToOne24(() => Job, (job) => job.hirings),
3839
+ JoinColumn24({ name: "job_id" })
3784
3840
  ], Hiring.prototype, "job", 2);
3785
3841
  __decorateClass([
3786
- Column25({ name: "client_id", type: "integer", nullable: true }),
3842
+ Column26({ name: "client_id", type: "integer", nullable: true }),
3787
3843
  Index18()
3788
3844
  ], Hiring.prototype, "clientId", 2);
3789
3845
  __decorateClass([
3790
- ManyToOne23(() => User, (user) => user.clientHirings),
3791
- JoinColumn23({ name: "client_id" })
3846
+ ManyToOne24(() => User, (user) => user.clientHirings),
3847
+ JoinColumn24({ name: "client_id" })
3792
3848
  ], Hiring.prototype, "client", 2);
3793
3849
  __decorateClass([
3794
- Column25({ name: "freelancer_id", type: "integer", nullable: true }),
3850
+ Column26({ name: "freelancer_id", type: "integer", nullable: true }),
3795
3851
  Index18()
3796
3852
  ], Hiring.prototype, "freelancerId", 2);
3797
3853
  __decorateClass([
3798
- ManyToOne23(() => User, (user) => user.freelancerHirings),
3799
- JoinColumn23({ name: "freelancer_id" })
3854
+ ManyToOne24(() => User, (user) => user.freelancerHirings),
3855
+ JoinColumn24({ name: "freelancer_id" })
3800
3856
  ], Hiring.prototype, "freelancer", 2);
3801
3857
  __decorateClass([
3802
- Column25({ name: "invoice_id", type: "integer", nullable: true }),
3858
+ Column26({ name: "invoice_id", type: "integer", nullable: true }),
3803
3859
  Index18()
3804
3860
  ], Hiring.prototype, "invoiceId", 2);
3805
3861
  __decorateClass([
3806
3862
  OneToOne5(() => Invoice, (invoice) => invoice.hiring),
3807
- JoinColumn23({ name: "invoice_id" })
3863
+ JoinColumn24({ name: "invoice_id" })
3808
3864
  ], Hiring.prototype, "invoice", 2);
3809
3865
  __decorateClass([
3810
- Column25({
3866
+ Column26({
3811
3867
  name: "freelancer_nature_of_work",
3812
3868
  type: "enum",
3813
3869
  enum: HiredFreelancerNatureOfWorkEnum,
@@ -3815,10 +3871,10 @@ __decorateClass([
3815
3871
  })
3816
3872
  ], Hiring.prototype, "freelancerNatureOfWork", 2);
3817
3873
  __decorateClass([
3818
- Column25({ name: "is_invoice_genrated", type: "boolean", default: false })
3874
+ Column26({ name: "is_invoice_genrated", type: "boolean", default: false })
3819
3875
  ], Hiring.prototype, "isInvoiceGenrated", 2);
3820
3876
  Hiring = __decorateClass([
3821
- Entity24("hirings")
3877
+ Entity25("hirings")
3822
3878
  ], Hiring);
3823
3879
 
3824
3880
  // src/entities/invoice.entity.ts
@@ -3846,91 +3902,91 @@ var InvoicePaymentStatusEnum = /* @__PURE__ */ ((InvoicePaymentStatusEnum2) => {
3846
3902
  var Invoice = class extends BaseEntity {
3847
3903
  };
3848
3904
  __decorateClass([
3849
- Column26({ name: "timesheet_line_id", type: "integer", nullable: true }),
3905
+ Column27({ name: "timesheet_line_id", type: "integer", nullable: true }),
3850
3906
  Index19()
3851
3907
  ], Invoice.prototype, "timesheetLineId", 2);
3852
3908
  __decorateClass([
3853
- ManyToOne24(() => TimesheetLine, (timesheetLine) => timesheetLine.invoice),
3854
- JoinColumn24({ name: "timesheet_line_id" })
3909
+ ManyToOne25(() => TimesheetLine, (timesheetLine) => timesheetLine.invoice),
3910
+ JoinColumn25({ name: "timesheet_line_id" })
3855
3911
  ], Invoice.prototype, "timesheetLine", 2);
3856
3912
  __decorateClass([
3857
- Column26({ name: "job_id", type: "integer", nullable: true }),
3913
+ Column27({ name: "job_id", type: "integer", nullable: true }),
3858
3914
  Index19()
3859
3915
  ], Invoice.prototype, "jobId", 2);
3860
3916
  __decorateClass([
3861
- ManyToOne24(() => Job, (job) => job.invoice),
3862
- JoinColumn24({ name: "job_id" })
3917
+ ManyToOne25(() => Job, (job) => job.invoice),
3918
+ JoinColumn25({ name: "job_id" })
3863
3919
  ], Invoice.prototype, "job", 2);
3864
3920
  __decorateClass([
3865
- Column26({ name: "client_id", type: "integer", nullable: true }),
3921
+ Column27({ name: "client_id", type: "integer", nullable: true }),
3866
3922
  Index19()
3867
3923
  ], Invoice.prototype, "clientId", 2);
3868
3924
  __decorateClass([
3869
- ManyToOne24(() => User, (user) => user.clientInvoice),
3870
- JoinColumn24({ name: "client_id" })
3925
+ ManyToOne25(() => User, (user) => user.clientInvoice),
3926
+ JoinColumn25({ name: "client_id" })
3871
3927
  ], Invoice.prototype, "client", 2);
3872
3928
  __decorateClass([
3873
- Column26({ name: "freelancer_id", type: "integer", nullable: true }),
3929
+ Column27({ name: "freelancer_id", type: "integer", nullable: true }),
3874
3930
  Index19()
3875
3931
  ], Invoice.prototype, "freelancerId", 2);
3876
3932
  __decorateClass([
3877
- ManyToOne24(() => User, (user) => user.freelancerInvoice),
3878
- JoinColumn24({ name: "freelancer_id" })
3933
+ ManyToOne25(() => User, (user) => user.freelancerInvoice),
3934
+ JoinColumn25({ name: "freelancer_id" })
3879
3935
  ], Invoice.prototype, "freelancer", 2);
3880
3936
  __decorateClass([
3881
- Column26({ name: "invoice_unique_id", type: "varchar", nullable: true })
3937
+ Column27({ name: "invoice_unique_id", type: "varchar", nullable: true })
3882
3938
  ], Invoice.prototype, "invoiceUniqueId", 2);
3883
3939
  __decorateClass([
3884
- Column26({
3940
+ Column27({
3885
3941
  name: "issued_at",
3886
3942
  type: "date",
3887
3943
  nullable: true
3888
3944
  })
3889
3945
  ], Invoice.prototype, "issuedAt", 2);
3890
3946
  __decorateClass([
3891
- Column26({
3947
+ Column27({
3892
3948
  name: "due_at",
3893
3949
  type: "date",
3894
3950
  nullable: true
3895
3951
  })
3896
3952
  ], Invoice.prototype, "dueAt", 2);
3897
3953
  __decorateClass([
3898
- Column26({
3954
+ Column27({
3899
3955
  name: "billing_cycle_from",
3900
3956
  type: "date",
3901
3957
  nullable: true
3902
3958
  })
3903
3959
  ], Invoice.prototype, "billingCycleFrom", 2);
3904
3960
  __decorateClass([
3905
- Column26({
3961
+ Column27({
3906
3962
  name: "billing_cycle_to",
3907
3963
  type: "date",
3908
3964
  nullable: true
3909
3965
  })
3910
3966
  ], Invoice.prototype, "billingCycleTo", 2);
3911
3967
  __decorateClass([
3912
- Column26({ name: "billing_hours", type: "varchar", nullable: true })
3968
+ Column27({ name: "billing_hours", type: "varchar", nullable: true })
3913
3969
  ], Invoice.prototype, "billingHours", 2);
3914
3970
  __decorateClass([
3915
- Column26({ name: "hourly_rate", type: "varchar", nullable: true })
3971
+ Column27({ name: "hourly_rate", type: "varchar", nullable: true })
3916
3972
  ], Invoice.prototype, "hourlyRate", 2);
3917
3973
  __decorateClass([
3918
- Column26({ name: "billing_amount", type: "varchar", nullable: true })
3974
+ Column27({ name: "billing_amount", type: "varchar", nullable: true })
3919
3975
  ], Invoice.prototype, "billingAmount", 2);
3920
3976
  __decorateClass([
3921
- Column26({ name: "invoice_type", type: "enum", enum: InvoiceTypeEnum, nullable: true })
3977
+ Column27({ name: "invoice_type", type: "enum", enum: InvoiceTypeEnum, nullable: true })
3922
3978
  ], Invoice.prototype, "invoiceType", 2);
3923
3979
  __decorateClass([
3924
- Column26({ name: "status", type: "enum", enum: InvoiceStatusEnum, nullable: true })
3980
+ Column27({ name: "status", type: "enum", enum: InvoiceStatusEnum, nullable: true })
3925
3981
  ], Invoice.prototype, "status", 2);
3926
3982
  __decorateClass([
3927
- Column26({ name: "payment_status", type: "enum", enum: InvoicePaymentStatusEnum, nullable: true })
3983
+ Column27({ name: "payment_status", type: "enum", enum: InvoicePaymentStatusEnum, nullable: true })
3928
3984
  ], Invoice.prototype, "paymentStatus", 2);
3929
3985
  __decorateClass([
3930
- Column26({ name: "client_invoice_url", type: "varchar", nullable: true })
3986
+ Column27({ name: "client_invoice_url", type: "varchar", nullable: true })
3931
3987
  ], Invoice.prototype, "clientInvoiceUrl", 2);
3932
3988
  __decorateClass([
3933
- Column26({ name: "freelancer_invoice_url", type: "varchar", nullable: true })
3989
+ Column27({ name: "freelancer_invoice_url", type: "varchar", nullable: true })
3934
3990
  ], Invoice.prototype, "freelancerInvoiceUrl", 2);
3935
3991
  __decorateClass([
3936
3992
  OneToOne6(() => EscrowWalletTransaction, (escrowWalletTransaction) => escrowWalletTransaction.invoice)
@@ -3939,7 +3995,7 @@ __decorateClass([
3939
3995
  OneToOne6(() => Hiring, (hiring) => hiring.invoice)
3940
3996
  ], Invoice.prototype, "hiring", 2);
3941
3997
  Invoice = __decorateClass([
3942
- Entity25("invoices")
3998
+ Entity26("invoices")
3943
3999
  ], Invoice);
3944
4000
 
3945
4001
  // src/entities/escrow-wallet-transaction.entity.ts
@@ -3956,89 +4012,89 @@ var EscrowWalletTransactionForEnum = /* @__PURE__ */ ((EscrowWalletTransactionFo
3956
4012
  var EscrowWalletTransaction = class extends BaseEntity {
3957
4013
  };
3958
4014
  __decorateClass([
3959
- Column27({ name: "escrow_wallet_id", type: "integer", nullable: true }),
4015
+ Column28({ name: "escrow_wallet_id", type: "integer", nullable: true }),
3960
4016
  Index20()
3961
4017
  ], EscrowWalletTransaction.prototype, "escrowWalletId", 2);
3962
4018
  __decorateClass([
3963
- ManyToOne25(() => EscrowWallet, (escrowWallet) => escrowWallet.escrowWalletTransactions),
3964
- JoinColumn25({ name: "wallet_id" })
4019
+ ManyToOne26(() => EscrowWallet, (escrowWallet) => escrowWallet.escrowWalletTransactions),
4020
+ JoinColumn26({ name: "wallet_id" })
3965
4021
  ], EscrowWalletTransaction.prototype, "escrowWallet", 2);
3966
4022
  __decorateClass([
3967
- Column27({ name: "invoice_id", type: "integer", nullable: true }),
4023
+ Column28({ name: "invoice_id", type: "integer", nullable: true }),
3968
4024
  Index20()
3969
4025
  ], EscrowWalletTransaction.prototype, "invoiceId", 2);
3970
4026
  __decorateClass([
3971
4027
  OneToOne7(() => Invoice, (invoice) => invoice.escrowWalletTransaction),
3972
- JoinColumn25({ name: "invoice_id" })
4028
+ JoinColumn26({ name: "invoice_id" })
3973
4029
  ], EscrowWalletTransaction.prototype, "invoice", 2);
3974
4030
  __decorateClass([
3975
- Column27({ name: "amount", type: "bigint", nullable: true })
4031
+ Column28({ name: "amount", type: "bigint", nullable: true })
3976
4032
  ], EscrowWalletTransaction.prototype, "amount", 2);
3977
4033
  __decorateClass([
3978
- Column27({ name: "escrow_type", type: "enum", enum: EscrowWalletTransactionTypeEnum })
4034
+ Column28({ name: "escrow_type", type: "enum", enum: EscrowWalletTransactionTypeEnum })
3979
4035
  ], EscrowWalletTransaction.prototype, "escrowType", 2);
3980
4036
  __decorateClass([
3981
- Column27({ name: "description", type: "text", nullable: true })
4037
+ Column28({ name: "description", type: "text", nullable: true })
3982
4038
  ], EscrowWalletTransaction.prototype, "description", 2);
3983
4039
  __decorateClass([
3984
- Column27({ name: "completed_at", type: "timestamptz", nullable: true })
4040
+ Column28({ name: "completed_at", type: "timestamptz", nullable: true })
3985
4041
  ], EscrowWalletTransaction.prototype, "completedAt", 2);
3986
4042
  __decorateClass([
3987
- Column27({ name: "escrow_transaction_for", type: "enum", enum: EscrowWalletTransactionForEnum })
4043
+ Column28({ name: "escrow_transaction_for", type: "enum", enum: EscrowWalletTransactionForEnum })
3988
4044
  ], EscrowWalletTransaction.prototype, "escrowTransactionFor", 2);
3989
4045
  __decorateClass([
3990
- Column27({ name: "meta_data", type: "varchar", nullable: true })
4046
+ Column28({ name: "meta_data", type: "varchar", nullable: true })
3991
4047
  ], EscrowWalletTransaction.prototype, "metaData", 2);
3992
4048
  EscrowWalletTransaction = __decorateClass([
3993
- Entity26("escrow_wallet_transactions")
4049
+ Entity27("escrow_wallet_transactions")
3994
4050
  ], EscrowWalletTransaction);
3995
4051
 
3996
4052
  // src/entities/escrow-wallet.entity.ts
3997
4053
  var EscrowWallet = class extends BaseEntity {
3998
4054
  };
3999
4055
  __decorateClass([
4000
- Column28({ name: "job_id", type: "integer", nullable: true }),
4056
+ Column29({ name: "job_id", type: "integer", nullable: true }),
4001
4057
  Index21()
4002
4058
  ], EscrowWallet.prototype, "jobId", 2);
4003
4059
  __decorateClass([
4004
- ManyToOne26(() => Job, (job) => job.escrowWallets),
4005
- JoinColumn26({ name: "job_id" })
4060
+ ManyToOne27(() => Job, (job) => job.escrowWallets),
4061
+ JoinColumn27({ name: "job_id" })
4006
4062
  ], EscrowWallet.prototype, "job", 2);
4007
4063
  __decorateClass([
4008
- Column28({ name: "client_id", type: "integer", nullable: true }),
4064
+ Column29({ name: "client_id", type: "integer", nullable: true }),
4009
4065
  Index21()
4010
4066
  ], EscrowWallet.prototype, "clientId", 2);
4011
4067
  __decorateClass([
4012
- ManyToOne26(() => User, (user) => user.clientEscrowWallets),
4013
- JoinColumn26({ name: "client_id" })
4068
+ ManyToOne27(() => User, (user) => user.clientEscrowWallets),
4069
+ JoinColumn27({ name: "client_id" })
4014
4070
  ], EscrowWallet.prototype, "client", 2);
4015
4071
  __decorateClass([
4016
- Column28({ name: "freelancer_id", type: "integer", nullable: true }),
4072
+ Column29({ name: "freelancer_id", type: "integer", nullable: true }),
4017
4073
  Index21()
4018
4074
  ], EscrowWallet.prototype, "freelancerId", 2);
4019
4075
  __decorateClass([
4020
- ManyToOne26(() => User, (user) => user.freelancerEscrowWallets),
4021
- JoinColumn26({ name: "freelancer_id" })
4076
+ ManyToOne27(() => User, (user) => user.freelancerEscrowWallets),
4077
+ JoinColumn27({ name: "freelancer_id" })
4022
4078
  ], EscrowWallet.prototype, "freelancer", 2);
4023
4079
  __decorateClass([
4024
- Column28({ name: "contract_id", type: "integer", nullable: true }),
4080
+ Column29({ name: "contract_id", type: "integer", nullable: true }),
4025
4081
  Index21()
4026
4082
  ], EscrowWallet.prototype, "contractId", 2);
4027
4083
  __decorateClass([
4028
4084
  OneToOne8(() => Contract, (contract) => contract.escrowWallet),
4029
- JoinColumn26({ name: "contract_id" })
4085
+ JoinColumn27({ name: "contract_id" })
4030
4086
  ], EscrowWallet.prototype, "contract", 2);
4031
4087
  __decorateClass([
4032
- Column28({ name: "wallet_balance", type: "varchar", default: "0" })
4088
+ Column29({ name: "wallet_balance", type: "varchar", default: "0" })
4033
4089
  ], EscrowWallet.prototype, "escrowBalance", 2);
4034
4090
  __decorateClass([
4035
- Column28({ name: "metadata", type: "jsonb", nullable: true })
4091
+ Column29({ name: "metadata", type: "jsonb", nullable: true })
4036
4092
  ], EscrowWallet.prototype, "metadata", 2);
4037
4093
  __decorateClass([
4038
- OneToMany10(() => EscrowWalletTransaction, (escrowWalletTransaction) => escrowWalletTransaction.escrowWallet)
4094
+ OneToMany11(() => EscrowWalletTransaction, (escrowWalletTransaction) => escrowWalletTransaction.escrowWallet)
4039
4095
  ], EscrowWallet.prototype, "escrowWalletTransactions", 2);
4040
4096
  EscrowWallet = __decorateClass([
4041
- Entity27("escrow_wallets")
4097
+ Entity28("escrow_wallets")
4042
4098
  ], EscrowWallet);
4043
4099
 
4044
4100
  // src/entities/contract.entity.ts
@@ -4063,37 +4119,37 @@ var ContractTypeEnum = /* @__PURE__ */ ((ContractTypeEnum2) => {
4063
4119
  var Contract = class extends BaseEntity {
4064
4120
  };
4065
4121
  __decorateClass([
4066
- Column29({ name: "contract_unique_id", type: "varchar", nullable: true, unique: true })
4122
+ Column30({ name: "contract_unique_id", type: "varchar", nullable: true, unique: true })
4067
4123
  ], Contract.prototype, "contractUniqueId", 2);
4068
4124
  __decorateClass([
4069
- Column29({ name: "job_id", type: "integer", nullable: true }),
4125
+ Column30({ name: "job_id", type: "integer", nullable: true }),
4070
4126
  Index22()
4071
4127
  ], Contract.prototype, "jobId", 2);
4072
4128
  __decorateClass([
4073
- ManyToOne27(() => Job, (job) => job.contracts),
4074
- JoinColumn27({ name: "job_id" })
4129
+ ManyToOne28(() => Job, (job) => job.contracts),
4130
+ JoinColumn28({ name: "job_id" })
4075
4131
  ], Contract.prototype, "job", 2);
4076
4132
  __decorateClass([
4077
- Column29({ name: "client_id", type: "integer", nullable: true }),
4133
+ Column30({ name: "client_id", type: "integer", nullable: true }),
4078
4134
  Index22()
4079
4135
  ], Contract.prototype, "clientId", 2);
4080
4136
  __decorateClass([
4081
- ManyToOne27(() => User, (user) => user.clientContracts),
4082
- JoinColumn27({ name: "client_id" })
4137
+ ManyToOne28(() => User, (user) => user.clientContracts),
4138
+ JoinColumn28({ name: "client_id" })
4083
4139
  ], Contract.prototype, "client", 2);
4084
4140
  __decorateClass([
4085
- Column29({ name: "freelancer_id", type: "integer", nullable: true }),
4141
+ Column30({ name: "freelancer_id", type: "integer", nullable: true }),
4086
4142
  Index22()
4087
4143
  ], Contract.prototype, "freelancerId", 2);
4088
4144
  __decorateClass([
4089
- ManyToOne27(() => User, (user) => user.freelancerContracts),
4090
- JoinColumn27({ name: "freelancer_id" })
4145
+ ManyToOne28(() => User, (user) => user.freelancerContracts),
4146
+ JoinColumn28({ name: "freelancer_id" })
4091
4147
  ], Contract.prototype, "freelancer", 2);
4092
4148
  __decorateClass([
4093
- Column29({ name: "duration", type: "integer", nullable: true })
4149
+ Column30({ name: "duration", type: "integer", nullable: true })
4094
4150
  ], Contract.prototype, "duration", 2);
4095
4151
  __decorateClass([
4096
- Column29({
4152
+ Column30({
4097
4153
  name: "status",
4098
4154
  type: "enum",
4099
4155
  enum: ContractStatusEnum,
@@ -4101,7 +4157,7 @@ __decorateClass([
4101
4157
  })
4102
4158
  ], Contract.prototype, "status", 2);
4103
4159
  __decorateClass([
4104
- Column29({
4160
+ Column30({
4105
4161
  name: "type",
4106
4162
  type: "enum",
4107
4163
  enum: ContractTypeEnum,
@@ -4109,10 +4165,10 @@ __decorateClass([
4109
4165
  })
4110
4166
  ], Contract.prototype, "type", 2);
4111
4167
  __decorateClass([
4112
- Column29({ name: "invoicing_cycle", type: "varchar", nullable: true })
4168
+ Column30({ name: "invoicing_cycle", type: "varchar", nullable: true })
4113
4169
  ], Contract.prototype, "invoicingCycle", 2);
4114
4170
  __decorateClass([
4115
- Column29({
4171
+ Column30({
4116
4172
  name: "escrow_deposite_amount",
4117
4173
  type: "decimal",
4118
4174
  precision: 10,
@@ -4121,80 +4177,80 @@ __decorateClass([
4121
4177
  })
4122
4178
  ], Contract.prototype, "escrowDepositeAmount", 2);
4123
4179
  __decorateClass([
4124
- Column29({
4180
+ Column30({
4125
4181
  name: "start_date",
4126
4182
  type: "timestamp with time zone",
4127
4183
  nullable: true
4128
4184
  })
4129
4185
  ], Contract.prototype, "startDate", 2);
4130
4186
  __decorateClass([
4131
- Column29({
4187
+ Column30({
4132
4188
  name: "end_date",
4133
4189
  type: "timestamp with time zone",
4134
4190
  nullable: true
4135
4191
  })
4136
4192
  ], Contract.prototype, "endDate", 2);
4137
4193
  __decorateClass([
4138
- Column29({ name: "original_document_url", type: "varchar", nullable: true })
4194
+ Column30({ name: "original_document_url", type: "varchar", nullable: true })
4139
4195
  ], Contract.prototype, "originalDocumentUrl", 2);
4140
4196
  __decorateClass([
4141
- Column29({ name: "contract_document_url", type: "varchar", nullable: true })
4197
+ Column30({ name: "contract_document_url", type: "varchar", nullable: true })
4142
4198
  ], Contract.prototype, "contractDocumentUrl", 2);
4143
4199
  __decorateClass([
4144
- Column29({
4200
+ Column30({
4145
4201
  name: "client_signed_at",
4146
4202
  type: "timestamp with time zone",
4147
4203
  nullable: true
4148
4204
  })
4149
4205
  ], Contract.prototype, "clientSignedAt", 2);
4150
4206
  __decorateClass([
4151
- Column29({ name: "freelancer_viewed", type: "boolean", default: false })
4207
+ Column30({ name: "freelancer_viewed", type: "boolean", default: false })
4152
4208
  ], Contract.prototype, "freelancerViewed", 2);
4153
4209
  __decorateClass([
4154
- Column29({
4210
+ Column30({
4155
4211
  name: "freelancer_viewed_at",
4156
4212
  type: "timestamp with time zone",
4157
4213
  nullable: true
4158
4214
  })
4159
4215
  ], Contract.prototype, "freelancerViewedAt", 2);
4160
4216
  __decorateClass([
4161
- Column29({
4217
+ Column30({
4162
4218
  name: "freelancer_signed_at",
4163
4219
  type: "timestamp with time zone",
4164
4220
  nullable: true
4165
4221
  })
4166
4222
  ], Contract.prototype, "freelancerSignedAt", 2);
4167
4223
  __decorateClass([
4168
- Column29({
4224
+ Column30({
4169
4225
  name: "rejectd_at",
4170
4226
  type: "timestamp with time zone",
4171
4227
  nullable: true
4172
4228
  })
4173
4229
  ], Contract.prototype, "rejectedAt", 2);
4174
4230
  __decorateClass([
4175
- Column29({ name: "reject_reason", type: "varchar", nullable: true })
4231
+ Column30({ name: "reject_reason", type: "varchar", nullable: true })
4176
4232
  ], Contract.prototype, "rejectReason", 2);
4177
4233
  __decorateClass([
4178
- Column29({ name: "resend_count", type: "integer", default: 0 })
4234
+ Column30({ name: "resend_count", type: "integer", default: 0 })
4179
4235
  ], Contract.prototype, "resendCount", 2);
4180
4236
  __decorateClass([
4181
- Column29({ name: "is_work_contract_sent", type: "boolean", default: false })
4237
+ Column30({ name: "is_work_contract_sent", type: "boolean", default: false })
4182
4238
  ], Contract.prototype, "isWorkContractSent", 2);
4183
4239
  __decorateClass([
4184
- Column29({ name: "is_escrow_deposited", type: "boolean", default: false })
4240
+ Column30({ name: "is_escrow_deposited", type: "boolean", default: false })
4185
4241
  ], Contract.prototype, "isEscrowDeposited", 2);
4186
4242
  __decorateClass([
4187
- Column29({ name: "signature_positions", type: "jsonb", nullable: true })
4243
+ Column30({ name: "signature_positions", type: "jsonb", nullable: true })
4188
4244
  ], Contract.prototype, "signaturePositions", 2);
4189
4245
  __decorateClass([
4190
4246
  OneToOne9(() => EscrowWallet, (escrowWallet) => escrowWallet.contract)
4191
4247
  ], Contract.prototype, "escrowWallet", 2);
4192
4248
  Contract = __decorateClass([
4193
- Entity28("contracts")
4249
+ Entity29("contracts")
4194
4250
  ], Contract);
4195
4251
 
4196
4252
  // src/entities/timesheets.entity.ts
4197
- import { Entity as Entity29, Column as Column30, Index as Index23, JoinColumn as JoinColumn28, ManyToOne as ManyToOne28 } from "typeorm";
4253
+ import { Entity as Entity30, Column as Column31, Index as Index23, JoinColumn as JoinColumn29, ManyToOne as ManyToOne29 } from "typeorm";
4198
4254
  var TimesheetStatusEnum = /* @__PURE__ */ ((TimesheetStatusEnum2) => {
4199
4255
  TimesheetStatusEnum2["DRAFT"] = "DRAFT";
4200
4256
  TimesheetStatusEnum2["SEND"] = "SEND";
@@ -4207,142 +4263,142 @@ var TimesheetStatusEnum = /* @__PURE__ */ ((TimesheetStatusEnum2) => {
4207
4263
  var Timesheet = class extends BaseEntity {
4208
4264
  };
4209
4265
  __decorateClass([
4210
- Column30({ name: "job_id", type: "integer", nullable: true }),
4266
+ Column31({ name: "job_id", type: "integer", nullable: true }),
4211
4267
  Index23()
4212
4268
  ], Timesheet.prototype, "jobId", 2);
4213
4269
  __decorateClass([
4214
- ManyToOne28(() => Job, (job) => job.timesheets),
4215
- JoinColumn28({ name: "job_id" })
4270
+ ManyToOne29(() => Job, (job) => job.timesheets),
4271
+ JoinColumn29({ name: "job_id" })
4216
4272
  ], Timesheet.prototype, "job", 2);
4217
4273
  __decorateClass([
4218
- Column30({ name: "client_id", type: "integer", nullable: true }),
4274
+ Column31({ name: "client_id", type: "integer", nullable: true }),
4219
4275
  Index23()
4220
4276
  ], Timesheet.prototype, "clientId", 2);
4221
4277
  __decorateClass([
4222
- ManyToOne28(() => User, (user) => user.clientTimesheets),
4223
- JoinColumn28({ name: "client_id" })
4278
+ ManyToOne29(() => User, (user) => user.clientTimesheets),
4279
+ JoinColumn29({ name: "client_id" })
4224
4280
  ], Timesheet.prototype, "client", 2);
4225
4281
  __decorateClass([
4226
- Column30({ name: "freelancer_id", type: "integer", nullable: true }),
4282
+ Column31({ name: "freelancer_id", type: "integer", nullable: true }),
4227
4283
  Index23()
4228
4284
  ], Timesheet.prototype, "freelancerId", 2);
4229
4285
  __decorateClass([
4230
- ManyToOne28(() => User, (user) => user.freelancerTimesheets),
4231
- JoinColumn28({ name: "freelancer_id" })
4286
+ ManyToOne29(() => User, (user) => user.freelancerTimesheets),
4287
+ JoinColumn29({ name: "freelancer_id" })
4232
4288
  ], Timesheet.prototype, "freelancer", 2);
4233
4289
  __decorateClass([
4234
- Column30({
4290
+ Column31({
4235
4291
  name: "start_date",
4236
4292
  type: "date",
4237
4293
  nullable: true
4238
4294
  })
4239
4295
  ], Timesheet.prototype, "startDate", 2);
4240
4296
  __decorateClass([
4241
- Column30({
4297
+ Column31({
4242
4298
  name: "end_date",
4243
4299
  type: "date",
4244
4300
  nullable: true
4245
4301
  })
4246
4302
  ], Timesheet.prototype, "endDate", 2);
4247
4303
  __decorateClass([
4248
- Column30({ name: "start_time", type: "varchar", nullable: true })
4304
+ Column31({ name: "start_time", type: "varchar", nullable: true })
4249
4305
  ], Timesheet.prototype, "startTime", 2);
4250
4306
  __decorateClass([
4251
- Column30({ name: "end_time", type: "varchar", nullable: true })
4307
+ Column31({ name: "end_time", type: "varchar", nullable: true })
4252
4308
  ], Timesheet.prototype, "endTime", 2);
4253
4309
  __decorateClass([
4254
- Column30({ name: "worked_hours", type: "varchar", nullable: true })
4310
+ Column31({ name: "worked_hours", type: "varchar", nullable: true })
4255
4311
  ], Timesheet.prototype, "workedHours", 2);
4256
4312
  __decorateClass([
4257
- Column30({ name: "task_id", type: "integer", nullable: true })
4313
+ Column31({ name: "task_id", type: "integer", nullable: true })
4258
4314
  ], Timesheet.prototype, "taskId", 2);
4259
4315
  __decorateClass([
4260
- Column30({ name: "task_name", type: "varchar", nullable: true })
4316
+ Column31({ name: "task_name", type: "varchar", nullable: true })
4261
4317
  ], Timesheet.prototype, "taskName", 2);
4262
4318
  __decorateClass([
4263
- Column30({ name: "description", type: "varchar", nullable: true })
4319
+ Column31({ name: "description", type: "varchar", nullable: true })
4264
4320
  ], Timesheet.prototype, "description", 2);
4265
4321
  __decorateClass([
4266
- Column30({ name: "week_start_date", type: "date", nullable: true })
4322
+ Column31({ name: "week_start_date", type: "date", nullable: true })
4267
4323
  ], Timesheet.prototype, "weekStartDate", 2);
4268
4324
  __decorateClass([
4269
- Column30({ name: "week_end_date", type: "date", nullable: true })
4325
+ Column31({ name: "week_end_date", type: "date", nullable: true })
4270
4326
  ], Timesheet.prototype, "weekEndDate", 2);
4271
4327
  __decorateClass([
4272
- Column30({ name: "rejected_at", type: "timestamp with time zone", nullable: true })
4328
+ Column31({ name: "rejected_at", type: "timestamp with time zone", nullable: true })
4273
4329
  ], Timesheet.prototype, "rejectedAt", 2);
4274
4330
  __decorateClass([
4275
- Column30({ name: "submitted_at", type: "timestamp with time zone", nullable: true })
4331
+ Column31({ name: "submitted_at", type: "timestamp with time zone", nullable: true })
4276
4332
  ], Timesheet.prototype, "submittedAt", 2);
4277
4333
  __decorateClass([
4278
- Column30({ name: "resubmiited_at", type: "timestamp with time zone", nullable: true })
4334
+ Column31({ name: "resubmiited_at", type: "timestamp with time zone", nullable: true })
4279
4335
  ], Timesheet.prototype, "resubmittedAt", 2);
4280
4336
  __decorateClass([
4281
- Column30({ name: "approved_at", type: "timestamp with time zone", nullable: true })
4337
+ Column31({ name: "approved_at", type: "timestamp with time zone", nullable: true })
4282
4338
  ], Timesheet.prototype, "approvedAt", 2);
4283
4339
  __decorateClass([
4284
- Column30({ name: "status", type: "enum", enum: TimesheetStatusEnum, nullable: true })
4340
+ Column31({ name: "status", type: "enum", enum: TimesheetStatusEnum, nullable: true })
4285
4341
  ], Timesheet.prototype, "status", 2);
4286
4342
  __decorateClass([
4287
- Column30({ name: "client_send_back_reason", type: "varchar", nullable: true })
4343
+ Column31({ name: "client_send_back_reason", type: "varchar", nullable: true })
4288
4344
  ], Timesheet.prototype, "clientSendBackReason", 2);
4289
4345
  Timesheet = __decorateClass([
4290
- Entity29("timesheets")
4346
+ Entity30("timesheets")
4291
4347
  ], Timesheet);
4292
4348
 
4293
4349
  // src/entities/job-location.entity.ts
4294
4350
  import {
4295
- Entity as Entity30,
4296
- Column as Column31,
4297
- ManyToOne as ManyToOne29,
4298
- JoinColumn as JoinColumn29,
4351
+ Entity as Entity31,
4352
+ Column as Column32,
4353
+ ManyToOne as ManyToOne30,
4354
+ JoinColumn as JoinColumn30,
4299
4355
  Index as Index24
4300
4356
  } from "typeorm";
4301
4357
  var JobLocation = class extends BaseEntity {
4302
4358
  };
4303
4359
  __decorateClass([
4304
- Column31({ name: "job_id", type: "integer", nullable: false }),
4360
+ Column32({ name: "job_id", type: "integer", nullable: false }),
4305
4361
  Index24()
4306
4362
  ], JobLocation.prototype, "jobId", 2);
4307
4363
  __decorateClass([
4308
- ManyToOne29(() => Job, (job) => job.jobLocations),
4309
- JoinColumn29({ name: "job_id" })
4364
+ ManyToOne30(() => Job, (job) => job.jobLocations),
4365
+ JoinColumn30({ name: "job_id" })
4310
4366
  ], JobLocation.prototype, "job", 2);
4311
4367
  __decorateClass([
4312
- Column31({ name: "country_id", type: "int", nullable: false })
4368
+ Column32({ name: "country_id", type: "int", nullable: false })
4313
4369
  ], JobLocation.prototype, "countryId", 2);
4314
4370
  __decorateClass([
4315
- Column31({ name: "country_name", type: "varchar", nullable: true })
4371
+ Column32({ name: "country_name", type: "varchar", nullable: true })
4316
4372
  ], JobLocation.prototype, "countryName", 2);
4317
4373
  __decorateClass([
4318
- ManyToOne29(() => Country),
4319
- JoinColumn29({ name: "country_id" })
4374
+ ManyToOne30(() => Country),
4375
+ JoinColumn30({ name: "country_id" })
4320
4376
  ], JobLocation.prototype, "country", 2);
4321
4377
  __decorateClass([
4322
- Column31({ name: "state_id", type: "int", nullable: false })
4378
+ Column32({ name: "state_id", type: "int", nullable: false })
4323
4379
  ], JobLocation.prototype, "stateId", 2);
4324
4380
  __decorateClass([
4325
- Column31({ name: "state_name", type: "varchar", nullable: true })
4381
+ Column32({ name: "state_name", type: "varchar", nullable: true })
4326
4382
  ], JobLocation.prototype, "stateName", 2);
4327
4383
  __decorateClass([
4328
- ManyToOne29(() => State),
4329
- JoinColumn29({ name: "state_id" })
4384
+ ManyToOne30(() => State),
4385
+ JoinColumn30({ name: "state_id" })
4330
4386
  ], JobLocation.prototype, "state", 2);
4331
4387
  __decorateClass([
4332
- Column31({ name: "city_id", type: "int", nullable: false })
4388
+ Column32({ name: "city_id", type: "int", nullable: false })
4333
4389
  ], JobLocation.prototype, "cityId", 2);
4334
4390
  __decorateClass([
4335
- Column31({ name: "city_name", type: "varchar", nullable: true })
4391
+ Column32({ name: "city_name", type: "varchar", nullable: true })
4336
4392
  ], JobLocation.prototype, "cityName", 2);
4337
4393
  __decorateClass([
4338
- ManyToOne29(() => City),
4339
- JoinColumn29({ name: "city_id" })
4394
+ ManyToOne30(() => City),
4395
+ JoinColumn30({ name: "city_id" })
4340
4396
  ], JobLocation.prototype, "city", 2);
4341
4397
  __decorateClass([
4342
- Column31({ name: "location_wise_openings", type: "int", default: 0 })
4398
+ Column32({ name: "location_wise_openings", type: "int", default: 0 })
4343
4399
  ], JobLocation.prototype, "locationWiseOpenings", 2);
4344
4400
  JobLocation = __decorateClass([
4345
- Entity30("job_locations")
4401
+ Entity31("job_locations")
4346
4402
  ], JobLocation);
4347
4403
 
4348
4404
  // src/entities/job.entity.ts
@@ -4391,55 +4447,55 @@ var DurationTypeEnum = /* @__PURE__ */ ((DurationTypeEnum2) => {
4391
4447
  var Job = class extends BaseEntity {
4392
4448
  };
4393
4449
  __decorateClass([
4394
- Column32({ name: "job_id", type: "varchar", unique: true, nullable: true })
4450
+ Column33({ name: "job_id", type: "varchar", unique: true, nullable: true })
4395
4451
  ], Job.prototype, "jobId", 2);
4396
4452
  // individual index to find jobs by user
4397
4453
  __decorateClass([
4398
- Column32({ name: "user_id", type: "integer", nullable: true }),
4454
+ Column33({ name: "user_id", type: "integer", nullable: true }),
4399
4455
  Index25()
4400
4456
  ], Job.prototype, "userId", 2);
4401
4457
  __decorateClass([
4402
- ManyToOne30(() => User, (user) => user.jobs),
4403
- JoinColumn30({ name: "user_id" })
4458
+ ManyToOne31(() => User, (user) => user.jobs),
4459
+ JoinColumn31({ name: "user_id" })
4404
4460
  ], Job.prototype, "user", 2);
4405
4461
  __decorateClass([
4406
- Column32({ name: "country_id", type: "int", nullable: true })
4462
+ Column33({ name: "country_id", type: "int", nullable: true })
4407
4463
  ], Job.prototype, "countryId", 2);
4408
4464
  __decorateClass([
4409
- ManyToOne30(() => Country),
4410
- JoinColumn30({ name: "country_id" })
4465
+ ManyToOne31(() => Country),
4466
+ JoinColumn31({ name: "country_id" })
4411
4467
  ], Job.prototype, "country", 2);
4412
4468
  __decorateClass([
4413
- Column32({ name: "state_id", type: "int", nullable: true })
4469
+ Column33({ name: "state_id", type: "int", nullable: true })
4414
4470
  ], Job.prototype, "stateId", 2);
4415
4471
  __decorateClass([
4416
- ManyToOne30(() => State),
4417
- JoinColumn30({ name: "state_id" })
4472
+ ManyToOne31(() => State),
4473
+ JoinColumn31({ name: "state_id" })
4418
4474
  ], Job.prototype, "state", 2);
4419
4475
  __decorateClass([
4420
- Column32({ name: "city_id", type: "int", nullable: true })
4476
+ Column33({ name: "city_id", type: "int", nullable: true })
4421
4477
  ], Job.prototype, "cityId", 2);
4422
4478
  __decorateClass([
4423
- ManyToOne30(() => City),
4424
- JoinColumn30({ name: "city_id" })
4479
+ ManyToOne31(() => City),
4480
+ JoinColumn31({ name: "city_id" })
4425
4481
  ], Job.prototype, "city", 2);
4426
4482
  __decorateClass([
4427
- Column32({ name: "job_role", type: "varchar", nullable: true })
4483
+ Column33({ name: "job_role", type: "varchar", nullable: true })
4428
4484
  ], Job.prototype, "jobRole", 2);
4429
4485
  __decorateClass([
4430
- Column32({ name: "job_role_canonical_name", type: "varchar", nullable: true })
4486
+ Column33({ name: "job_role_canonical_name", type: "varchar", nullable: true })
4431
4487
  ], Job.prototype, "jobRoleCanonicalName", 2);
4432
4488
  __decorateClass([
4433
- Column32({ name: "project_name", type: "varchar", nullable: true })
4489
+ Column33({ name: "project_name", type: "varchar", nullable: true })
4434
4490
  ], Job.prototype, "projectName", 2);
4435
4491
  __decorateClass([
4436
- Column32({ name: "note", type: "varchar", nullable: true })
4492
+ Column33({ name: "note", type: "varchar", nullable: true })
4437
4493
  ], Job.prototype, "note", 2);
4438
4494
  __decorateClass([
4439
- Column32({ name: "openings", type: "integer", default: 0 })
4495
+ Column33({ name: "openings", type: "integer", default: 0 })
4440
4496
  ], Job.prototype, "openings", 2);
4441
4497
  __decorateClass([
4442
- Column32({
4498
+ Column33({
4443
4499
  name: "location",
4444
4500
  type: "enum",
4445
4501
  enum: JobLocationEnum2,
@@ -4447,7 +4503,7 @@ __decorateClass([
4447
4503
  })
4448
4504
  ], Job.prototype, "location", 2);
4449
4505
  __decorateClass([
4450
- Column32({
4506
+ Column33({
4451
4507
  name: "type_of_employment",
4452
4508
  type: "enum",
4453
4509
  enum: TypeOfEmploymentEnum,
@@ -4455,10 +4511,10 @@ __decorateClass([
4455
4511
  })
4456
4512
  ], Job.prototype, "typeOfEmployment", 2);
4457
4513
  __decorateClass([
4458
- Column32({ name: "academic_qualifictaion", type: "varchar", nullable: true })
4514
+ Column33({ name: "academic_qualifictaion", type: "varchar", nullable: true })
4459
4515
  ], Job.prototype, "academicQualification", 2);
4460
4516
  __decorateClass([
4461
- Column32({
4517
+ Column33({
4462
4518
  name: "type_of_experience",
4463
4519
  type: "enum",
4464
4520
  enum: typeOfExperienceEnum,
@@ -4466,22 +4522,22 @@ __decorateClass([
4466
4522
  })
4467
4523
  ], Job.prototype, "typeOfExperience", 2);
4468
4524
  __decorateClass([
4469
- Column32({ name: "years_of_experience", type: "varchar", nullable: true })
4525
+ Column33({ name: "years_of_experience", type: "varchar", nullable: true })
4470
4526
  ], Job.prototype, "yearsOfExperience", 2);
4471
4527
  __decorateClass([
4472
- Column32({ name: "years_of_experience_from", type: "varchar", nullable: true })
4528
+ Column33({ name: "years_of_experience_from", type: "varchar", nullable: true })
4473
4529
  ], Job.prototype, "yearsOfExperienceFrom", 2);
4474
4530
  __decorateClass([
4475
- Column32({ name: "years_of_experience_to", type: "varchar", nullable: true })
4531
+ Column33({ name: "years_of_experience_to", type: "varchar", nullable: true })
4476
4532
  ], Job.prototype, "yearsOfExperienceTo", 2);
4477
4533
  __decorateClass([
4478
- Column32({ name: "business_industry", type: "varchar", nullable: true })
4534
+ Column33({ name: "business_industry", type: "varchar", nullable: true })
4479
4535
  ], Job.prototype, "businessIndustry", 2);
4480
4536
  __decorateClass([
4481
- Column32({ name: "currency", type: "varchar", default: "USD" })
4537
+ Column33({ name: "currency", type: "varchar", default: "USD" })
4482
4538
  ], Job.prototype, "currency", 2);
4483
4539
  __decorateClass([
4484
- Column32({
4540
+ Column33({
4485
4541
  name: "expected_salary_from",
4486
4542
  type: "decimal",
4487
4543
  precision: 10,
@@ -4490,14 +4546,14 @@ __decorateClass([
4490
4546
  })
4491
4547
  ], Job.prototype, "expectedSalaryFrom", 2);
4492
4548
  __decorateClass([
4493
- Column32({
4549
+ Column33({
4494
4550
  name: "hide_expected_salary_from",
4495
4551
  type: "boolean",
4496
4552
  default: false
4497
4553
  })
4498
4554
  ], Job.prototype, "hideExpectedSalaryFrom", 2);
4499
4555
  __decorateClass([
4500
- Column32({
4556
+ Column33({
4501
4557
  name: "expected_salary_to",
4502
4558
  type: "decimal",
4503
4559
  precision: 10,
@@ -4506,32 +4562,32 @@ __decorateClass([
4506
4562
  })
4507
4563
  ], Job.prototype, "expectedSalaryTo", 2);
4508
4564
  __decorateClass([
4509
- Column32({
4565
+ Column33({
4510
4566
  name: "hide_expected_salary_to",
4511
4567
  type: "boolean",
4512
4568
  default: false
4513
4569
  })
4514
4570
  ], Job.prototype, "hideExpectedSalaryTo", 2);
4515
4571
  __decorateClass([
4516
- Column32({ name: "years", type: "varchar", nullable: true })
4572
+ Column33({ name: "years", type: "varchar", nullable: true })
4517
4573
  ], Job.prototype, "years", 2);
4518
4574
  __decorateClass([
4519
- Column32({ name: "months", type: "varchar", nullable: true })
4575
+ Column33({ name: "months", type: "varchar", nullable: true })
4520
4576
  ], Job.prototype, "months", 2);
4521
4577
  __decorateClass([
4522
- Column32({ name: "weeks", type: "varchar", nullable: true })
4578
+ Column33({ name: "weeks", type: "varchar", nullable: true })
4523
4579
  ], Job.prototype, "weeks", 2);
4524
4580
  __decorateClass([
4525
- Column32({ name: "days", type: "varchar", nullable: true })
4581
+ Column33({ name: "days", type: "varchar", nullable: true })
4526
4582
  ], Job.prototype, "days", 2);
4527
4583
  __decorateClass([
4528
- Column32({ name: "tentative_start_date", type: "date", nullable: true })
4584
+ Column33({ name: "tentative_start_date", type: "date", nullable: true })
4529
4585
  ], Job.prototype, "tentativeStartDate", 2);
4530
4586
  __decorateClass([
4531
- Column32({ name: "tentative_end_date", type: "date", nullable: true })
4587
+ Column33({ name: "tentative_end_date", type: "date", nullable: true })
4532
4588
  ], Job.prototype, "tentativeEndDate", 2);
4533
4589
  __decorateClass([
4534
- Column32({
4590
+ Column33({
4535
4591
  name: "duration_type",
4536
4592
  type: "enum",
4537
4593
  enum: DurationTypeEnum,
@@ -4539,10 +4595,10 @@ __decorateClass([
4539
4595
  })
4540
4596
  ], Job.prototype, "durationType", 2);
4541
4597
  __decorateClass([
4542
- Column32({ name: "duration", type: "varchar", nullable: true })
4598
+ Column33({ name: "duration", type: "varchar", nullable: true })
4543
4599
  ], Job.prototype, "duration", 2);
4544
4600
  __decorateClass([
4545
- Column32({
4601
+ Column33({
4546
4602
  name: "number_of_hours",
4547
4603
  type: "decimal",
4548
4604
  precision: 4,
@@ -4551,13 +4607,13 @@ __decorateClass([
4551
4607
  })
4552
4608
  ], Job.prototype, "numberOfHours", 2);
4553
4609
  __decorateClass([
4554
- Column32({ name: "description", type: "varchar", nullable: true })
4610
+ Column33({ name: "description", type: "varchar", nullable: true })
4555
4611
  ], Job.prototype, "description", 2);
4556
4612
  __decorateClass([
4557
- Column32({ name: "additional_comment", type: "varchar", nullable: true })
4613
+ Column33({ name: "additional_comment", type: "varchar", nullable: true })
4558
4614
  ], Job.prototype, "additionalComment", 2);
4559
4615
  __decorateClass([
4560
- Column32({
4616
+ Column33({
4561
4617
  name: "onboarding_tat",
4562
4618
  type: "varchar",
4563
4619
  length: 50,
@@ -4565,14 +4621,14 @@ __decorateClass([
4565
4621
  })
4566
4622
  ], Job.prototype, "onboardingTat", 2);
4567
4623
  __decorateClass([
4568
- Column32({
4624
+ Column33({
4569
4625
  name: "candidate_communication_skills",
4570
4626
  type: "varchar",
4571
4627
  nullable: true
4572
4628
  })
4573
4629
  ], Job.prototype, "candidateCommunicationSkills", 2);
4574
4630
  __decorateClass([
4575
- Column32({
4631
+ Column33({
4576
4632
  name: "step_completed",
4577
4633
  type: "enum",
4578
4634
  enum: Step,
@@ -4580,7 +4636,7 @@ __decorateClass([
4580
4636
  })
4581
4637
  ], Job.prototype, "stepCompleted", 2);
4582
4638
  __decorateClass([
4583
- Column32({
4639
+ Column33({
4584
4640
  name: "status",
4585
4641
  type: "enum",
4586
4642
  enum: JobStatusEnum,
@@ -4588,40 +4644,40 @@ __decorateClass([
4588
4644
  })
4589
4645
  ], Job.prototype, "status", 2);
4590
4646
  __decorateClass([
4591
- Column32({ name: "viewed_count", type: "integer", default: 0 })
4647
+ Column33({ name: "viewed_count", type: "integer", default: 0 })
4592
4648
  ], Job.prototype, "viewedCount", 2);
4593
4649
  __decorateClass([
4594
- Column32({ name: "application_count", type: "integer", default: 0 })
4650
+ Column33({ name: "application_count", type: "integer", default: 0 })
4595
4651
  ], Job.prototype, "applicationCount", 2);
4596
4652
  __decorateClass([
4597
- Column32({ name: "is_contract_signed", type: "boolean", default: false })
4653
+ Column33({ name: "is_contract_signed", type: "boolean", default: false })
4598
4654
  ], Job.prototype, "isContractSigned", 2);
4599
4655
  __decorateClass([
4600
- Column32({ name: "is_interview_created", type: "boolean", default: false })
4656
+ Column33({ name: "is_interview_created", type: "boolean", default: false })
4601
4657
  ], Job.prototype, "isInterviewCreated", 2);
4602
4658
  __decorateClass([
4603
- OneToMany12(() => InterviewInvite, (interviewInvite) => interviewInvite.job, { cascade: true })
4659
+ OneToMany13(() => InterviewInvite, (interviewInvite) => interviewInvite.job, { cascade: true })
4604
4660
  ], Job.prototype, "interviewInvites", 2);
4605
4661
  __decorateClass([
4606
- OneToMany12(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
4662
+ OneToMany13(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
4607
4663
  ], Job.prototype, "jobSkills", 2);
4608
4664
  __decorateClass([
4609
- OneToMany12(() => JobApplication, (jobApplication) => jobApplication.job, {
4665
+ OneToMany13(() => JobApplication, (jobApplication) => jobApplication.job, {
4610
4666
  cascade: true
4611
4667
  })
4612
4668
  ], Job.prototype, "jobApplications", 2);
4613
4669
  __decorateClass([
4614
- OneToMany12(() => Interview, (interview) => interview.job, {
4670
+ OneToMany13(() => Interview, (interview) => interview.job, {
4615
4671
  cascade: true
4616
4672
  })
4617
4673
  ], Job.prototype, "interviews", 2);
4618
4674
  __decorateClass([
4619
- OneToMany12(() => F2FInterview, (f2fInterview) => f2fInterview.job, {
4675
+ OneToMany13(() => F2FInterview, (f2fInterview) => f2fInterview.job, {
4620
4676
  cascade: true
4621
4677
  })
4622
4678
  ], Job.prototype, "f2fInterviews", 2);
4623
4679
  __decorateClass([
4624
- OneToMany12(
4680
+ OneToMany13(
4625
4681
  () => JobRecommendation,
4626
4682
  (jobRecommendation) => jobRecommendation.job,
4627
4683
  {
@@ -4630,54 +4686,54 @@ __decorateClass([
4630
4686
  )
4631
4687
  ], Job.prototype, "recommendations", 2);
4632
4688
  __decorateClass([
4633
- OneToMany12(() => Contract, (contract) => contract.job, {
4689
+ OneToMany13(() => Contract, (contract) => contract.job, {
4634
4690
  cascade: true
4635
4691
  })
4636
4692
  ], Job.prototype, "contracts", 2);
4637
4693
  __decorateClass([
4638
- OneToMany12(() => Hiring, (hiring) => hiring.job, {
4694
+ OneToMany13(() => Hiring, (hiring) => hiring.job, {
4639
4695
  cascade: true
4640
4696
  })
4641
4697
  ], Job.prototype, "hirings", 2);
4642
4698
  __decorateClass([
4643
- OneToMany12(() => EscrowWallet, (escrowWallet) => escrowWallet.job, {
4699
+ OneToMany13(() => EscrowWallet, (escrowWallet) => escrowWallet.job, {
4644
4700
  cascade: true
4645
4701
  })
4646
4702
  ], Job.prototype, "escrowWallets", 2);
4647
4703
  __decorateClass([
4648
- OneToMany12(() => Timesheet, (timesheet) => timesheet.job, {
4704
+ OneToMany13(() => Timesheet, (timesheet) => timesheet.job, {
4649
4705
  cascade: true
4650
4706
  })
4651
4707
  ], Job.prototype, "timesheets", 2);
4652
4708
  __decorateClass([
4653
- OneToMany12(() => TimesheetLine, (timesheetLine) => timesheetLine.job, {
4709
+ OneToMany13(() => TimesheetLine, (timesheetLine) => timesheetLine.job, {
4654
4710
  cascade: true
4655
4711
  })
4656
4712
  ], Job.prototype, "timesheetLine", 2);
4657
4713
  __decorateClass([
4658
- OneToMany12(() => Invoice, (invoice) => invoice.job, {
4714
+ OneToMany13(() => Invoice, (invoice) => invoice.job, {
4659
4715
  cascade: true
4660
4716
  })
4661
4717
  ], Job.prototype, "invoice", 2);
4662
4718
  __decorateClass([
4663
- OneToMany12(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.job)
4719
+ OneToMany13(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.job)
4664
4720
  ], Job.prototype, "clientCandidatePreferences", 2);
4665
4721
  __decorateClass([
4666
- OneToMany12(() => JobLocation, (jobLocation) => jobLocation.job, {
4722
+ OneToMany13(() => JobLocation, (jobLocation) => jobLocation.job, {
4667
4723
  cascade: true
4668
4724
  })
4669
4725
  ], Job.prototype, "jobLocations", 2);
4670
4726
  Job = __decorateClass([
4671
- Entity31("jobs")
4727
+ Entity32("jobs")
4672
4728
  ], Job);
4673
4729
 
4674
4730
  // src/entities/bank-details.entity.ts
4675
4731
  import {
4676
- Entity as Entity32,
4677
- Column as Column33,
4732
+ Entity as Entity33,
4733
+ Column as Column34,
4678
4734
  Index as Index26,
4679
- ManyToOne as ManyToOne31,
4680
- JoinColumn as JoinColumn31
4735
+ ManyToOne as ManyToOne32,
4736
+ JoinColumn as JoinColumn32
4681
4737
  } from "typeorm";
4682
4738
  var BankAccountTypeEnum = /* @__PURE__ */ ((BankAccountTypeEnum2) => {
4683
4739
  BankAccountTypeEnum2["PRIMARY"] = "PRIMARY";
@@ -4693,51 +4749,51 @@ var BankDetail = class extends BaseEntity {
4693
4749
  };
4694
4750
  // individual index to find bank details by user
4695
4751
  __decorateClass([
4696
- Column33({ name: "user_id", type: "integer", nullable: true }),
4752
+ Column34({ name: "user_id", type: "integer", nullable: true }),
4697
4753
  Index26()
4698
4754
  ], BankDetail.prototype, "userId", 2);
4699
4755
  __decorateClass([
4700
- ManyToOne31(() => User, (user) => user.bankDetail),
4701
- JoinColumn31({ name: "user_id" })
4756
+ ManyToOne32(() => User, (user) => user.bankDetail),
4757
+ JoinColumn32({ name: "user_id" })
4702
4758
  ], BankDetail.prototype, "user", 2);
4703
4759
  __decorateClass([
4704
- Column33({ name: "name", type: "varchar", nullable: true })
4760
+ Column34({ name: "name", type: "varchar", nullable: true })
4705
4761
  ], BankDetail.prototype, "name", 2);
4706
4762
  __decorateClass([
4707
- Column33({ name: "mobile_code", type: "varchar", nullable: true })
4763
+ Column34({ name: "mobile_code", type: "varchar", nullable: true })
4708
4764
  ], BankDetail.prototype, "mobileCode", 2);
4709
4765
  __decorateClass([
4710
- Column33({ name: "mobile", type: "varchar", nullable: true })
4766
+ Column34({ name: "mobile", type: "varchar", nullable: true })
4711
4767
  ], BankDetail.prototype, "mobile", 2);
4712
4768
  __decorateClass([
4713
- Column33({ name: "email", type: "varchar" })
4769
+ Column34({ name: "email", type: "varchar" })
4714
4770
  ], BankDetail.prototype, "email", 2);
4715
4771
  __decorateClass([
4716
- Column33({ name: "address", type: "varchar", nullable: true })
4772
+ Column34({ name: "address", type: "varchar", nullable: true })
4717
4773
  ], BankDetail.prototype, "address", 2);
4718
4774
  __decorateClass([
4719
- Column33({ name: "account_number", type: "varchar", unique: true, nullable: true })
4775
+ Column34({ name: "account_number", type: "varchar", unique: true, nullable: true })
4720
4776
  ], BankDetail.prototype, "accountNumber", 2);
4721
4777
  __decorateClass([
4722
- Column33({ name: "bank_name", type: "varchar", nullable: true })
4778
+ Column34({ name: "bank_name", type: "varchar", nullable: true })
4723
4779
  ], BankDetail.prototype, "bankName", 2);
4724
4780
  __decorateClass([
4725
- Column33({ name: "ifsc_code", type: "varchar", nullable: true })
4781
+ Column34({ name: "ifsc_code", type: "varchar", nullable: true })
4726
4782
  ], BankDetail.prototype, "ifscCode", 2);
4727
4783
  __decorateClass([
4728
- Column33({ name: "branch_name", type: "varchar", nullable: true })
4784
+ Column34({ name: "branch_name", type: "varchar", nullable: true })
4729
4785
  ], BankDetail.prototype, "branchName", 2);
4730
4786
  __decorateClass([
4731
- Column33({ name: "routing_no", type: "varchar", nullable: true })
4787
+ Column34({ name: "routing_no", type: "varchar", nullable: true })
4732
4788
  ], BankDetail.prototype, "routingNo", 2);
4733
4789
  __decorateClass([
4734
- Column33({ name: "aba_no", type: "varchar", nullable: true })
4790
+ Column34({ name: "aba_no", type: "varchar", nullable: true })
4735
4791
  ], BankDetail.prototype, "abaNumber", 2);
4736
4792
  __decorateClass([
4737
- Column33({ name: "iban", type: "varchar", nullable: true })
4793
+ Column34({ name: "iban", type: "varchar", nullable: true })
4738
4794
  ], BankDetail.prototype, "iban", 2);
4739
4795
  __decorateClass([
4740
- Column33({
4796
+ Column34({
4741
4797
  name: "account_type",
4742
4798
  type: "enum",
4743
4799
  enum: BankAccountTypeEnum,
@@ -4745,7 +4801,7 @@ __decorateClass([
4745
4801
  })
4746
4802
  ], BankDetail.prototype, "accountType", 2);
4747
4803
  __decorateClass([
4748
- Column33({
4804
+ Column34({
4749
4805
  name: "account_scope",
4750
4806
  type: "enum",
4751
4807
  enum: BankAccountScopeEnum,
@@ -4753,185 +4809,185 @@ __decorateClass([
4753
4809
  })
4754
4810
  ], BankDetail.prototype, "accountScope", 2);
4755
4811
  BankDetail = __decorateClass([
4756
- Entity32("bank_details")
4812
+ Entity33("bank_details")
4757
4813
  ], BankDetail);
4758
4814
 
4759
4815
  // src/entities/system-preference.entity.ts
4760
4816
  import {
4761
- Entity as Entity33,
4762
- Column as Column34,
4817
+ Entity as Entity34,
4818
+ Column as Column35,
4763
4819
  Index as Index27,
4764
- ManyToOne as ManyToOne32,
4765
- JoinColumn as JoinColumn32
4820
+ ManyToOne as ManyToOne33,
4821
+ JoinColumn as JoinColumn33
4766
4822
  } from "typeorm";
4767
4823
  var SystemPreference = class extends BaseEntity {
4768
4824
  };
4769
4825
  // individual index to find system preference by user
4770
4826
  __decorateClass([
4771
- Column34({ name: "user_id", type: "integer", nullable: true }),
4827
+ Column35({ name: "user_id", type: "integer", nullable: true }),
4772
4828
  Index27()
4773
4829
  ], SystemPreference.prototype, "userId", 2);
4774
4830
  __decorateClass([
4775
- ManyToOne32(() => User, (user) => user.systemPreference),
4776
- JoinColumn32({ name: "user_id" })
4831
+ ManyToOne33(() => User, (user) => user.systemPreference),
4832
+ JoinColumn33({ name: "user_id" })
4777
4833
  ], SystemPreference.prototype, "user", 2);
4778
4834
  __decorateClass([
4779
- Column34({ name: "key", type: "varchar", nullable: false })
4835
+ Column35({ name: "key", type: "varchar", nullable: false })
4780
4836
  ], SystemPreference.prototype, "key", 2);
4781
4837
  __decorateClass([
4782
- Column34({ name: "value", type: "boolean", default: false })
4838
+ Column35({ name: "value", type: "boolean", default: false })
4783
4839
  ], SystemPreference.prototype, "value", 2);
4784
4840
  SystemPreference = __decorateClass([
4785
- Entity33("system_preferences")
4841
+ Entity34("system_preferences")
4786
4842
  ], SystemPreference);
4787
4843
 
4788
4844
  // src/entities/freelancer-experience.entity.ts
4789
4845
  import {
4790
- Entity as Entity34,
4791
- Column as Column35,
4846
+ Entity as Entity35,
4847
+ Column as Column36,
4792
4848
  Index as Index28,
4793
- ManyToOne as ManyToOne33,
4794
- JoinColumn as JoinColumn33
4849
+ ManyToOne as ManyToOne34,
4850
+ JoinColumn as JoinColumn34
4795
4851
  } from "typeorm";
4796
4852
  var FreelancerExperience = class extends BaseEntity {
4797
4853
  };
4798
4854
  // individual index to find experence by user
4799
4855
  __decorateClass([
4800
- Column35({ name: "user_id", type: "integer", nullable: true }),
4856
+ Column36({ name: "user_id", type: "integer", nullable: true }),
4801
4857
  Index28()
4802
4858
  ], FreelancerExperience.prototype, "userId", 2);
4803
4859
  __decorateClass([
4804
- ManyToOne33(() => User, (user) => user.freelancerExperience),
4805
- JoinColumn33({ name: "user_id" })
4860
+ ManyToOne34(() => User, (user) => user.freelancerExperience),
4861
+ JoinColumn34({ name: "user_id" })
4806
4862
  ], FreelancerExperience.prototype, "user", 2);
4807
4863
  __decorateClass([
4808
- Column35({ name: "company_name", type: "varchar", nullable: true })
4864
+ Column36({ name: "company_name", type: "varchar", nullable: true })
4809
4865
  ], FreelancerExperience.prototype, "companyName", 2);
4810
4866
  __decorateClass([
4811
- Column35({ name: "designation", type: "varchar", nullable: true })
4867
+ Column36({ name: "designation", type: "varchar", nullable: true })
4812
4868
  ], FreelancerExperience.prototype, "designation", 2);
4813
4869
  __decorateClass([
4814
- Column35({ name: "job_duration", type: "varchar", nullable: true })
4870
+ Column36({ name: "job_duration", type: "varchar", nullable: true })
4815
4871
  ], FreelancerExperience.prototype, "jobDuration", 2);
4816
4872
  __decorateClass([
4817
- Column35({ name: "description", type: "varchar", nullable: true })
4873
+ Column36({ name: "description", type: "varchar", nullable: true })
4818
4874
  ], FreelancerExperience.prototype, "description", 2);
4819
4875
  FreelancerExperience = __decorateClass([
4820
- Entity34("freelancer_experiences")
4876
+ Entity35("freelancer_experiences")
4821
4877
  ], FreelancerExperience);
4822
4878
 
4823
4879
  // src/entities/freelancer-education.entity.ts
4824
4880
  import {
4825
- Entity as Entity35,
4826
- Column as Column36,
4881
+ Entity as Entity36,
4882
+ Column as Column37,
4827
4883
  Index as Index29,
4828
- ManyToOne as ManyToOne34,
4829
- JoinColumn as JoinColumn34
4884
+ ManyToOne as ManyToOne35,
4885
+ JoinColumn as JoinColumn35
4830
4886
  } from "typeorm";
4831
4887
  var FreelancerEducation = class extends BaseEntity {
4832
4888
  };
4833
4889
  // individual index to find education by user
4834
4890
  __decorateClass([
4835
- Column36({ name: "user_id", type: "integer", nullable: true }),
4891
+ Column37({ name: "user_id", type: "integer", nullable: true }),
4836
4892
  Index29()
4837
4893
  ], FreelancerEducation.prototype, "userId", 2);
4838
4894
  __decorateClass([
4839
- ManyToOne34(() => User, (user) => user.freelancerEducation),
4840
- JoinColumn34({ name: "user_id" })
4895
+ ManyToOne35(() => User, (user) => user.freelancerEducation),
4896
+ JoinColumn35({ name: "user_id" })
4841
4897
  ], FreelancerEducation.prototype, "user", 2);
4842
4898
  __decorateClass([
4843
- Column36({ name: "degree", type: "varchar", nullable: true })
4899
+ Column37({ name: "degree", type: "varchar", nullable: true })
4844
4900
  ], FreelancerEducation.prototype, "degree", 2);
4845
4901
  __decorateClass([
4846
- Column36({ name: "university", type: "varchar", nullable: true })
4902
+ Column37({ name: "university", type: "varchar", nullable: true })
4847
4903
  ], FreelancerEducation.prototype, "university", 2);
4848
4904
  __decorateClass([
4849
- Column36({ name: "year_of_graduation", type: "varchar", nullable: true })
4905
+ Column37({ name: "year_of_graduation", type: "varchar", nullable: true })
4850
4906
  ], FreelancerEducation.prototype, "yearOfGraduation", 2);
4851
4907
  FreelancerEducation = __decorateClass([
4852
- Entity35("freelancer_educations")
4908
+ Entity36("freelancer_educations")
4853
4909
  ], FreelancerEducation);
4854
4910
 
4855
4911
  // src/entities/freelancer-project.entity.ts
4856
4912
  import {
4857
- Entity as Entity36,
4858
- Column as Column37,
4913
+ Entity as Entity37,
4914
+ Column as Column38,
4859
4915
  Index as Index30,
4860
- ManyToOne as ManyToOne35,
4861
- JoinColumn as JoinColumn35
4916
+ ManyToOne as ManyToOne36,
4917
+ JoinColumn as JoinColumn36
4862
4918
  } from "typeorm";
4863
4919
  var FreelancerProject = class extends BaseEntity {
4864
4920
  };
4865
4921
  // individual index to find project by user
4866
4922
  __decorateClass([
4867
- Column37({ name: "user_id", type: "integer", nullable: true }),
4923
+ Column38({ name: "user_id", type: "integer", nullable: true }),
4868
4924
  Index30()
4869
4925
  ], FreelancerProject.prototype, "userId", 2);
4870
4926
  __decorateClass([
4871
- ManyToOne35(() => User, (user) => user.freelancerProject),
4872
- JoinColumn35({ name: "user_id" })
4927
+ ManyToOne36(() => User, (user) => user.freelancerProject),
4928
+ JoinColumn36({ name: "user_id" })
4873
4929
  ], FreelancerProject.prototype, "user", 2);
4874
4930
  __decorateClass([
4875
- Column37({ name: "project_name", type: "varchar", nullable: true })
4931
+ Column38({ name: "project_name", type: "varchar", nullable: true })
4876
4932
  ], FreelancerProject.prototype, "projectName", 2);
4877
4933
  __decorateClass([
4878
- Column37({ name: "start_date", type: "date", nullable: true })
4934
+ Column38({ name: "start_date", type: "date", nullable: true })
4879
4935
  ], FreelancerProject.prototype, "startDate", 2);
4880
4936
  __decorateClass([
4881
- Column37({ name: "end_date", type: "date", nullable: true })
4937
+ Column38({ name: "end_date", type: "date", nullable: true })
4882
4938
  ], FreelancerProject.prototype, "endDate", 2);
4883
4939
  __decorateClass([
4884
- Column37({ name: "client_name", type: "varchar", nullable: true })
4940
+ Column38({ name: "client_name", type: "varchar", nullable: true })
4885
4941
  ], FreelancerProject.prototype, "clientName", 2);
4886
4942
  __decorateClass([
4887
- Column37({ name: "git_link", type: "varchar", nullable: true })
4943
+ Column38({ name: "git_link", type: "varchar", nullable: true })
4888
4944
  ], FreelancerProject.prototype, "gitLink", 2);
4889
4945
  __decorateClass([
4890
- Column37({ name: "description", type: "varchar", nullable: true })
4946
+ Column38({ name: "description", type: "varchar", nullable: true })
4891
4947
  ], FreelancerProject.prototype, "description", 2);
4892
4948
  FreelancerProject = __decorateClass([
4893
- Entity36("freelancer_projects")
4949
+ Entity37("freelancer_projects")
4894
4950
  ], FreelancerProject);
4895
4951
 
4896
4952
  // src/entities/freelancer-casestudy.entity.ts
4897
4953
  import {
4898
- Entity as Entity37,
4899
- Column as Column38,
4954
+ Entity as Entity38,
4955
+ Column as Column39,
4900
4956
  Index as Index31,
4901
- ManyToOne as ManyToOne36,
4902
- JoinColumn as JoinColumn36
4957
+ ManyToOne as ManyToOne37,
4958
+ JoinColumn as JoinColumn37
4903
4959
  } from "typeorm";
4904
4960
  var FreelancerCaseStudy = class extends BaseEntity {
4905
4961
  };
4906
4962
  // individual index to find case study by user
4907
4963
  __decorateClass([
4908
- Column38({ name: "user_id", type: "integer", nullable: true }),
4964
+ Column39({ name: "user_id", type: "integer", nullable: true }),
4909
4965
  Index31()
4910
4966
  ], FreelancerCaseStudy.prototype, "userId", 2);
4911
4967
  __decorateClass([
4912
- ManyToOne36(() => User, (user) => user.freelancerCaseStudy),
4913
- JoinColumn36({ name: "user_id" })
4968
+ ManyToOne37(() => User, (user) => user.freelancerCaseStudy),
4969
+ JoinColumn37({ name: "user_id" })
4914
4970
  ], FreelancerCaseStudy.prototype, "user", 2);
4915
4971
  __decorateClass([
4916
- Column38({ name: "project_name", type: "varchar", nullable: true })
4972
+ Column39({ name: "project_name", type: "varchar", nullable: true })
4917
4973
  ], FreelancerCaseStudy.prototype, "projectName", 2);
4918
4974
  __decorateClass([
4919
- Column38({ name: "case_study_link", type: "varchar", nullable: true })
4975
+ Column39({ name: "case_study_link", type: "varchar", nullable: true })
4920
4976
  ], FreelancerCaseStudy.prototype, "caseStudyLink", 2);
4921
4977
  __decorateClass([
4922
- Column38({ name: "description", type: "varchar", nullable: true })
4978
+ Column39({ name: "description", type: "varchar", nullable: true })
4923
4979
  ], FreelancerCaseStudy.prototype, "description", 2);
4924
4980
  FreelancerCaseStudy = __decorateClass([
4925
- Entity37("freelancer_case_studies")
4981
+ Entity38("freelancer_case_studies")
4926
4982
  ], FreelancerCaseStudy);
4927
4983
 
4928
4984
  // src/entities/freelancer-skill.entity.ts
4929
4985
  import {
4930
- Entity as Entity38,
4931
- Column as Column39,
4986
+ Entity as Entity39,
4987
+ Column as Column40,
4932
4988
  Index as Index32,
4933
- ManyToOne as ManyToOne37,
4934
- JoinColumn as JoinColumn37
4989
+ ManyToOne as ManyToOne38,
4990
+ JoinColumn as JoinColumn38
4935
4991
  } from "typeorm";
4936
4992
  var FreelancerSkillCategoryEnum = /* @__PURE__ */ ((FreelancerSkillCategoryEnum2) => {
4937
4993
  FreelancerSkillCategoryEnum2[FreelancerSkillCategoryEnum2["GOOD_TO_HAVE"] = 0] = "GOOD_TO_HAVE";
@@ -4942,18 +4998,18 @@ var FreelancerSkill = class extends BaseEntity {
4942
4998
  };
4943
4999
  // individual index to find core skills by user
4944
5000
  __decorateClass([
4945
- Column39({ name: "user_id", type: "integer", nullable: true }),
5001
+ Column40({ name: "user_id", type: "integer", nullable: true }),
4946
5002
  Index32()
4947
5003
  ], FreelancerSkill.prototype, "userId", 2);
4948
5004
  __decorateClass([
4949
- ManyToOne37(() => User, (user) => user.freelancerSkills),
4950
- JoinColumn37({ name: "user_id" })
5005
+ ManyToOne38(() => User, (user) => user.freelancerSkills),
5006
+ JoinColumn38({ name: "user_id" })
4951
5007
  ], FreelancerSkill.prototype, "user", 2);
4952
5008
  __decorateClass([
4953
- Column39({ name: "skill_name", type: "varchar", nullable: true })
5009
+ Column40({ name: "skill_name", type: "varchar", nullable: true })
4954
5010
  ], FreelancerSkill.prototype, "skillName", 2);
4955
5011
  __decorateClass([
4956
- Column39({
5012
+ Column40({
4957
5013
  name: "skill_category",
4958
5014
  type: "smallint",
4959
5015
  default: 1,
@@ -4961,68 +5017,68 @@ __decorateClass([
4961
5017
  })
4962
5018
  ], FreelancerSkill.prototype, "skillCategory", 2);
4963
5019
  FreelancerSkill = __decorateClass([
4964
- Entity38("freelancer_skills")
5020
+ Entity39("freelancer_skills")
4965
5021
  ], FreelancerSkill);
4966
5022
 
4967
5023
  // src/entities/freelancer-tool.entity.ts
4968
5024
  import {
4969
- Entity as Entity39,
4970
- Column as Column40,
5025
+ Entity as Entity40,
5026
+ Column as Column41,
4971
5027
  Index as Index33,
4972
- ManyToOne as ManyToOne38,
4973
- JoinColumn as JoinColumn38
5028
+ ManyToOne as ManyToOne39,
5029
+ JoinColumn as JoinColumn39
4974
5030
  } from "typeorm";
4975
5031
  var FreelancerTool = class extends BaseEntity {
4976
5032
  };
4977
5033
  // individual index to find tool by user
4978
5034
  __decorateClass([
4979
- Column40({ name: "user_id", type: "integer", nullable: true }),
5035
+ Column41({ name: "user_id", type: "integer", nullable: true }),
4980
5036
  Index33()
4981
5037
  ], FreelancerTool.prototype, "userId", 2);
4982
5038
  __decorateClass([
4983
- ManyToOne38(() => User, (user) => user.freelancerTool),
4984
- JoinColumn38({ name: "user_id" })
5039
+ ManyToOne39(() => User, (user) => user.freelancerTool),
5040
+ JoinColumn39({ name: "user_id" })
4985
5041
  ], FreelancerTool.prototype, "user", 2);
4986
5042
  __decorateClass([
4987
- Column40({ name: "tool_name", type: "varchar", nullable: true })
5043
+ Column41({ name: "tool_name", type: "varchar", nullable: true })
4988
5044
  ], FreelancerTool.prototype, "toolName", 2);
4989
5045
  FreelancerTool = __decorateClass([
4990
- Entity39("freelancer_tools")
5046
+ Entity40("freelancer_tools")
4991
5047
  ], FreelancerTool);
4992
5048
 
4993
5049
  // src/entities/freelancer-framework.entity.ts
4994
5050
  import {
4995
- Entity as Entity40,
4996
- Column as Column41,
5051
+ Entity as Entity41,
5052
+ Column as Column42,
4997
5053
  Index as Index34,
4998
- ManyToOne as ManyToOne39,
4999
- JoinColumn as JoinColumn39
5054
+ ManyToOne as ManyToOne40,
5055
+ JoinColumn as JoinColumn40
5000
5056
  } from "typeorm";
5001
5057
  var FreelancerFramework = class extends BaseEntity {
5002
5058
  };
5003
5059
  // individual index to find framework by user
5004
5060
  __decorateClass([
5005
- Column41({ name: "user_id", type: "integer", nullable: true }),
5061
+ Column42({ name: "user_id", type: "integer", nullable: true }),
5006
5062
  Index34()
5007
5063
  ], FreelancerFramework.prototype, "userId", 2);
5008
5064
  __decorateClass([
5009
- ManyToOne39(() => User, (user) => user.freelancerFramework),
5010
- JoinColumn39({ name: "user_id" })
5065
+ ManyToOne40(() => User, (user) => user.freelancerFramework),
5066
+ JoinColumn40({ name: "user_id" })
5011
5067
  ], FreelancerFramework.prototype, "user", 2);
5012
5068
  __decorateClass([
5013
- Column41({ name: "framework_name", type: "varchar", nullable: true })
5069
+ Column42({ name: "framework_name", type: "varchar", nullable: true })
5014
5070
  ], FreelancerFramework.prototype, "frameworkName", 2);
5015
5071
  FreelancerFramework = __decorateClass([
5016
- Entity40("freelancer_frameworks")
5072
+ Entity41("freelancer_frameworks")
5017
5073
  ], FreelancerFramework);
5018
5074
 
5019
5075
  // src/entities/freelancer-assessment.entity.ts
5020
5076
  import {
5021
- Entity as Entity41,
5022
- Column as Column42,
5077
+ Entity as Entity42,
5078
+ Column as Column43,
5023
5079
  Index as Index35,
5024
- ManyToOne as ManyToOne40,
5025
- JoinColumn as JoinColumn40
5080
+ ManyToOne as ManyToOne41,
5081
+ JoinColumn as JoinColumn41
5026
5082
  } from "typeorm";
5027
5083
  var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
5028
5084
  AssessmentStatusEnum2["NOT_ATTEMPTED"] = "NOT_ATTEMPTED";
@@ -5039,30 +5095,30 @@ var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
5039
5095
  var FreelancerAssessment = class extends BaseEntity {
5040
5096
  };
5041
5097
  __decorateClass([
5042
- Column42({ name: "user_id", type: "integer", nullable: true }),
5098
+ Column43({ name: "user_id", type: "integer", nullable: true }),
5043
5099
  Index35()
5044
5100
  ], FreelancerAssessment.prototype, "userId", 2);
5045
5101
  __decorateClass([
5046
- ManyToOne40(() => User, (user) => user.assessments),
5047
- JoinColumn40({ name: "user_id" })
5102
+ ManyToOne41(() => User, (user) => user.assessments),
5103
+ JoinColumn41({ name: "user_id" })
5048
5104
  ], FreelancerAssessment.prototype, "user", 2);
5049
5105
  __decorateClass([
5050
- Column42({ name: "interview_id", type: "varchar", nullable: true })
5106
+ Column43({ name: "interview_id", type: "varchar", nullable: true })
5051
5107
  ], FreelancerAssessment.prototype, "interviewId", 2);
5052
5108
  __decorateClass([
5053
- Column42({ name: "interview_link", type: "text", nullable: true })
5109
+ Column43({ name: "interview_link", type: "text", nullable: true })
5054
5110
  ], FreelancerAssessment.prototype, "interviewLink", 2);
5055
5111
  __decorateClass([
5056
- Column42({ name: "recording_link", type: "text", nullable: true })
5112
+ Column43({ name: "recording_link", type: "text", nullable: true })
5057
5113
  ], FreelancerAssessment.prototype, "recordingLink", 2);
5058
5114
  __decorateClass([
5059
- Column42({ name: "iframe_response", type: "jsonb", nullable: true })
5115
+ Column43({ name: "iframe_response", type: "jsonb", nullable: true })
5060
5116
  ], FreelancerAssessment.prototype, "iframeResponse", 2);
5061
5117
  __decorateClass([
5062
- Column42({ name: "interview_summary", type: "jsonb", nullable: true })
5118
+ Column43({ name: "interview_summary", type: "jsonb", nullable: true })
5063
5119
  ], FreelancerAssessment.prototype, "interviewSummary", 2);
5064
5120
  __decorateClass([
5065
- Column42({
5121
+ Column43({
5066
5122
  name: "status",
5067
5123
  type: "enum",
5068
5124
  enum: AssessmentStatusEnum,
@@ -5070,11 +5126,11 @@ __decorateClass([
5070
5126
  })
5071
5127
  ], FreelancerAssessment.prototype, "status", 2);
5072
5128
  FreelancerAssessment = __decorateClass([
5073
- Entity41("freelancer_assessments")
5129
+ Entity42("freelancer_assessments")
5074
5130
  ], FreelancerAssessment);
5075
5131
 
5076
5132
  // src/entities/freelancer-declaration.entity.ts
5077
- import { Entity as Entity42, Column as Column43, Index as Index36, ManyToOne as ManyToOne41, JoinColumn as JoinColumn41 } from "typeorm";
5133
+ import { Entity as Entity43, Column as Column44, Index as Index36, ManyToOne as ManyToOne42, JoinColumn as JoinColumn42 } from "typeorm";
5078
5134
  var DocumentType = /* @__PURE__ */ ((DocumentType2) => {
5079
5135
  DocumentType2["AADHAAR"] = "AADHAAR_CARD";
5080
5136
  DocumentType2["PASSPORT"] = "PASSPORT";
@@ -5086,15 +5142,15 @@ var FreelancerDeclaration = class extends BaseEntity {
5086
5142
  };
5087
5143
  // individual index to find declaration by user
5088
5144
  __decorateClass([
5089
- Column43({ name: "user_id", type: "integer", nullable: true }),
5145
+ Column44({ name: "user_id", type: "integer", nullable: true }),
5090
5146
  Index36()
5091
5147
  ], FreelancerDeclaration.prototype, "userId", 2);
5092
5148
  __decorateClass([
5093
- ManyToOne41(() => User, (user) => user.freelancerDeclaration),
5094
- JoinColumn41({ name: "user_id" })
5149
+ ManyToOne42(() => User, (user) => user.freelancerDeclaration),
5150
+ JoinColumn42({ name: "user_id" })
5095
5151
  ], FreelancerDeclaration.prototype, "user", 2);
5096
5152
  __decorateClass([
5097
- Column43({
5153
+ Column44({
5098
5154
  name: "document_type",
5099
5155
  type: "enum",
5100
5156
  enum: DocumentType,
@@ -5102,175 +5158,175 @@ __decorateClass([
5102
5158
  })
5103
5159
  ], FreelancerDeclaration.prototype, "documentType", 2);
5104
5160
  __decorateClass([
5105
- Column43({ name: "front_document_url", type: "varchar", nullable: true })
5161
+ Column44({ name: "front_document_url", type: "varchar", nullable: true })
5106
5162
  ], FreelancerDeclaration.prototype, "frontDocumentUrl", 2);
5107
5163
  __decorateClass([
5108
- Column43({ name: "back_document_url", type: "varchar", nullable: true })
5164
+ Column44({ name: "back_document_url", type: "varchar", nullable: true })
5109
5165
  ], FreelancerDeclaration.prototype, "backDocumentUrl", 2);
5110
5166
  __decorateClass([
5111
- Column43({ name: "declaration_accepted", type: "boolean", default: false })
5167
+ Column44({ name: "declaration_accepted", type: "boolean", default: false })
5112
5168
  ], FreelancerDeclaration.prototype, "declarationAccepted", 2);
5113
5169
  __decorateClass([
5114
- Column43({ name: "digital_signature_url", type: "varchar", nullable: true })
5170
+ Column44({ name: "digital_signature_url", type: "varchar", nullable: true })
5115
5171
  ], FreelancerDeclaration.prototype, "digitalSignatureUrl", 2);
5116
5172
  FreelancerDeclaration = __decorateClass([
5117
- Entity42("freelancer_declaration")
5173
+ Entity43("freelancer_declaration")
5118
5174
  ], FreelancerDeclaration);
5119
5175
 
5120
5176
  // src/entities/company-members-roles.entity.ts
5121
5177
  import {
5122
- Column as Column47,
5123
- Entity as Entity46,
5124
- ManyToOne as ManyToOne44,
5125
- JoinColumn as JoinColumn44,
5178
+ Column as Column48,
5179
+ Entity as Entity47,
5180
+ ManyToOne as ManyToOne45,
5181
+ JoinColumn as JoinColumn45,
5126
5182
  Index as Index40
5127
5183
  } from "typeorm";
5128
5184
 
5129
5185
  // src/entities/company-role.entity.ts
5130
5186
  import {
5131
- Column as Column46,
5132
- Entity as Entity45,
5187
+ Column as Column47,
5188
+ Entity as Entity46,
5133
5189
  Index as Index39,
5134
- JoinColumn as JoinColumn43,
5135
- ManyToOne as ManyToOne43,
5136
- OneToMany as OneToMany14
5190
+ JoinColumn as JoinColumn44,
5191
+ ManyToOne as ManyToOne44,
5192
+ OneToMany as OneToMany15
5137
5193
  } from "typeorm";
5138
5194
 
5139
5195
  // src/entities/company-role-permission.entity.ts
5140
5196
  import {
5141
- Column as Column45,
5142
- Entity as Entity44,
5143
- ManyToOne as ManyToOne42,
5144
- JoinColumn as JoinColumn42,
5197
+ Column as Column46,
5198
+ Entity as Entity45,
5199
+ ManyToOne as ManyToOne43,
5200
+ JoinColumn as JoinColumn43,
5145
5201
  Index as Index38
5146
5202
  } from "typeorm";
5147
5203
 
5148
5204
  // src/entities/permission.entity.ts
5149
- import { Column as Column44, Entity as Entity43, Index as Index37 } from "typeorm";
5205
+ import { Column as Column45, Entity as Entity44, Index as Index37 } from "typeorm";
5150
5206
  var Permission = class extends BaseEntity {
5151
5207
  };
5152
5208
  __decorateClass([
5153
- Column44({ name: "name", type: "varchar", nullable: true })
5209
+ Column45({ name: "name", type: "varchar", nullable: true })
5154
5210
  ], Permission.prototype, "name", 2);
5155
5211
  __decorateClass([
5156
- Column44({ name: "slug", type: "varchar", nullable: true, unique: true }),
5212
+ Column45({ name: "slug", type: "varchar", nullable: true, unique: true }),
5157
5213
  Index37()
5158
5214
  ], Permission.prototype, "slug", 2);
5159
5215
  __decorateClass([
5160
- Column44({ name: "description", type: "text", nullable: true })
5216
+ Column45({ name: "description", type: "text", nullable: true })
5161
5217
  ], Permission.prototype, "description", 2);
5162
5218
  __decorateClass([
5163
- Column44({ name: "is_active", type: "boolean", default: true })
5219
+ Column45({ name: "is_active", type: "boolean", default: true })
5164
5220
  ], Permission.prototype, "isActive", 2);
5165
5221
  Permission = __decorateClass([
5166
- Entity43("permissions")
5222
+ Entity44("permissions")
5167
5223
  ], Permission);
5168
5224
 
5169
5225
  // src/entities/company-role-permission.entity.ts
5170
5226
  var CompanyRolePermission = class extends BaseEntity {
5171
5227
  };
5172
5228
  __decorateClass([
5173
- Column45({ name: "company_role_id", type: "integer", nullable: true }),
5229
+ Column46({ name: "company_role_id", type: "integer", nullable: true }),
5174
5230
  Index38()
5175
5231
  ], CompanyRolePermission.prototype, "companyRoleId", 2);
5176
5232
  __decorateClass([
5177
- ManyToOne42(() => CompanyRole, (role) => role.rolePermissions, {
5233
+ ManyToOne43(() => CompanyRole, (role) => role.rolePermissions, {
5178
5234
  onDelete: "CASCADE"
5179
5235
  }),
5180
- JoinColumn42({ name: "company_role_id" })
5236
+ JoinColumn43({ name: "company_role_id" })
5181
5237
  ], CompanyRolePermission.prototype, "companyRole", 2);
5182
5238
  __decorateClass([
5183
- Column45({ name: "permission_id", type: "integer" }),
5239
+ Column46({ name: "permission_id", type: "integer" }),
5184
5240
  Index38()
5185
5241
  ], CompanyRolePermission.prototype, "permissionId", 2);
5186
5242
  __decorateClass([
5187
- ManyToOne42(() => Permission, { onDelete: "CASCADE" }),
5188
- JoinColumn42({ name: "permission_id" })
5243
+ ManyToOne43(() => Permission, { onDelete: "CASCADE" }),
5244
+ JoinColumn43({ name: "permission_id" })
5189
5245
  ], CompanyRolePermission.prototype, "permission", 2);
5190
5246
  __decorateClass([
5191
- Column45({ name: "assigned_by", type: "integer", nullable: true })
5247
+ Column46({ name: "assigned_by", type: "integer", nullable: true })
5192
5248
  ], CompanyRolePermission.prototype, "assignedBy", 2);
5193
5249
  CompanyRolePermission = __decorateClass([
5194
- Entity44("company_role_permissions")
5250
+ Entity45("company_role_permissions")
5195
5251
  ], CompanyRolePermission);
5196
5252
 
5197
5253
  // src/entities/company-role.entity.ts
5198
5254
  var CompanyRole = class extends BaseEntity {
5199
5255
  };
5200
5256
  __decorateClass([
5201
- Column46({ name: "user_id", type: "integer", nullable: true }),
5257
+ Column47({ name: "user_id", type: "integer", nullable: true }),
5202
5258
  Index39()
5203
5259
  ], CompanyRole.prototype, "userId", 2);
5204
5260
  __decorateClass([
5205
- ManyToOne43(() => User, (user) => user.otps),
5206
- JoinColumn43({ name: "user_id" })
5261
+ ManyToOne44(() => User, (user) => user.otps),
5262
+ JoinColumn44({ name: "user_id" })
5207
5263
  ], CompanyRole.prototype, "user", 2);
5208
5264
  __decorateClass([
5209
- Column46({ name: "name", type: "varchar" })
5265
+ Column47({ name: "name", type: "varchar" })
5210
5266
  ], CompanyRole.prototype, "name", 2);
5211
5267
  __decorateClass([
5212
- Column46({ name: "slug", type: "varchar", nullable: true, unique: true }),
5268
+ Column47({ name: "slug", type: "varchar", nullable: true, unique: true }),
5213
5269
  Index39()
5214
5270
  ], CompanyRole.prototype, "slug", 2);
5215
5271
  __decorateClass([
5216
- Column46({ name: "description", type: "text", nullable: true })
5272
+ Column47({ name: "description", type: "text", nullable: true })
5217
5273
  ], CompanyRole.prototype, "description", 2);
5218
5274
  __decorateClass([
5219
- Column46({ name: "is_active", type: "boolean", default: true })
5275
+ Column47({ name: "is_active", type: "boolean", default: true })
5220
5276
  ], CompanyRole.prototype, "isActive", 2);
5221
5277
  __decorateClass([
5222
- OneToMany14(() => CompanyRolePermission, (rp) => rp.companyRole)
5278
+ OneToMany15(() => CompanyRolePermission, (rp) => rp.companyRole)
5223
5279
  ], CompanyRole.prototype, "rolePermissions", 2);
5224
5280
  CompanyRole = __decorateClass([
5225
- Entity45("company_roles")
5281
+ Entity46("company_roles")
5226
5282
  ], CompanyRole);
5227
5283
 
5228
5284
  // src/entities/company-members-roles.entity.ts
5229
5285
  var CompanyMemberRole = class extends BaseEntity {
5230
5286
  };
5231
5287
  __decorateClass([
5232
- Column47({ name: "user_id", type: "integer", nullable: true }),
5288
+ Column48({ name: "user_id", type: "integer", nullable: true }),
5233
5289
  Index40()
5234
5290
  ], CompanyMemberRole.prototype, "userId", 2);
5235
5291
  __decorateClass([
5236
- ManyToOne44(() => User),
5237
- JoinColumn44({ name: "user_id" })
5292
+ ManyToOne45(() => User),
5293
+ JoinColumn45({ name: "user_id" })
5238
5294
  ], CompanyMemberRole.prototype, "user", 2);
5239
5295
  __decorateClass([
5240
- ManyToOne44(() => CompanyRole),
5241
- JoinColumn44({ name: "company_role_id" })
5296
+ ManyToOne45(() => CompanyRole),
5297
+ JoinColumn45({ name: "company_role_id" })
5242
5298
  ], CompanyMemberRole.prototype, "role", 2);
5243
5299
  __decorateClass([
5244
- Column47({ name: "company_role_id", type: "integer", nullable: true }),
5300
+ Column48({ name: "company_role_id", type: "integer", nullable: true }),
5245
5301
  Index40()
5246
5302
  ], CompanyMemberRole.prototype, "companyRoleId", 2);
5247
5303
  __decorateClass([
5248
- Column47({ name: "assigned_by", type: "integer", nullable: true })
5304
+ Column48({ name: "assigned_by", type: "integer", nullable: true })
5249
5305
  ], CompanyMemberRole.prototype, "assignedBy", 2);
5250
5306
  CompanyMemberRole = __decorateClass([
5251
- Entity46("company_member_roles")
5307
+ Entity47("company_member_roles")
5252
5308
  ], CompanyMemberRole);
5253
5309
 
5254
5310
  // src/entities/assessment-answer.entity.ts
5255
5311
  import {
5256
- Entity as Entity49,
5257
- Column as Column50,
5258
- ManyToOne as ManyToOne47,
5312
+ Entity as Entity50,
5313
+ Column as Column51,
5314
+ ManyToOne as ManyToOne48,
5259
5315
  Index as Index43,
5260
- JoinColumn as JoinColumn47
5316
+ JoinColumn as JoinColumn48
5261
5317
  } from "typeorm";
5262
5318
 
5263
5319
  // src/entities/assessment-question.entity.ts
5264
- import { Entity as Entity48, Column as Column49, OneToMany as OneToMany16, Index as Index42, ManyToOne as ManyToOne46, JoinColumn as JoinColumn46 } from "typeorm";
5320
+ import { Entity as Entity49, Column as Column50, OneToMany as OneToMany17, Index as Index42, ManyToOne as ManyToOne47, JoinColumn as JoinColumn47 } from "typeorm";
5265
5321
 
5266
5322
  // src/entities/assessment-question-option.entity.ts
5267
5323
  import {
5268
- Entity as Entity47,
5269
- Column as Column48,
5270
- OneToMany as OneToMany15,
5271
- ManyToOne as ManyToOne45,
5324
+ Entity as Entity48,
5325
+ Column as Column49,
5326
+ OneToMany as OneToMany16,
5327
+ ManyToOne as ManyToOne46,
5272
5328
  Index as Index41,
5273
- JoinColumn as JoinColumn45
5329
+ JoinColumn as JoinColumn46
5274
5330
  } from "typeorm";
5275
5331
  var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
5276
5332
  AnswerTypeEnum2["CORRECT"] = "CORRECT";
@@ -5281,21 +5337,21 @@ var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
5281
5337
  var AssessmetQuestionOption = class extends BaseEntity {
5282
5338
  };
5283
5339
  __decorateClass([
5284
- Column48({ name: "question_id", type: "integer", nullable: true }),
5340
+ Column49({ name: "question_id", type: "integer", nullable: true }),
5285
5341
  Index41()
5286
5342
  ], AssessmetQuestionOption.prototype, "questionId", 2);
5287
5343
  __decorateClass([
5288
- ManyToOne45(
5344
+ ManyToOne46(
5289
5345
  () => AssessmetQuestion,
5290
5346
  (assessmentQuestion) => assessmentQuestion.options
5291
5347
  ),
5292
- JoinColumn45({ name: "question_id" })
5348
+ JoinColumn46({ name: "question_id" })
5293
5349
  ], AssessmetQuestionOption.prototype, "question", 2);
5294
5350
  __decorateClass([
5295
- Column48({ name: "text", type: "varchar", nullable: true })
5351
+ Column49({ name: "text", type: "varchar", nullable: true })
5296
5352
  ], AssessmetQuestionOption.prototype, "text", 2);
5297
5353
  __decorateClass([
5298
- Column48({
5354
+ Column49({
5299
5355
  name: "answer_type",
5300
5356
  type: "enum",
5301
5357
  enum: AnswerTypeEnum,
@@ -5303,13 +5359,13 @@ __decorateClass([
5303
5359
  })
5304
5360
  ], AssessmetQuestionOption.prototype, "answerType", 2);
5305
5361
  __decorateClass([
5306
- Column48({ name: "is_active", type: "boolean", default: true })
5362
+ Column49({ name: "is_active", type: "boolean", default: true })
5307
5363
  ], AssessmetQuestionOption.prototype, "isActive", 2);
5308
5364
  __decorateClass([
5309
- OneToMany15(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
5365
+ OneToMany16(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
5310
5366
  ], AssessmetQuestionOption.prototype, "selectedOptions", 2);
5311
5367
  AssessmetQuestionOption = __decorateClass([
5312
- Entity47("assessment_question_options")
5368
+ Entity48("assessment_question_options")
5313
5369
  ], AssessmetQuestionOption);
5314
5370
 
5315
5371
  // src/entities/assessment-question.entity.ts
@@ -5321,10 +5377,10 @@ var QuestionForEnum = /* @__PURE__ */ ((QuestionForEnum2) => {
5321
5377
  var AssessmetQuestion = class extends BaseEntity {
5322
5378
  };
5323
5379
  __decorateClass([
5324
- Column49({ name: "text", type: "varchar", nullable: true })
5380
+ Column50({ name: "text", type: "varchar", nullable: true })
5325
5381
  ], AssessmetQuestion.prototype, "text", 2);
5326
5382
  __decorateClass([
5327
- Column49({
5383
+ Column50({
5328
5384
  name: "question_for",
5329
5385
  type: "enum",
5330
5386
  enum: QuestionForEnum,
@@ -5332,24 +5388,24 @@ __decorateClass([
5332
5388
  })
5333
5389
  ], AssessmetQuestion.prototype, "questionFor", 2);
5334
5390
  __decorateClass([
5335
- Column49({ name: "is_active", type: "boolean", default: true })
5391
+ Column50({ name: "is_active", type: "boolean", default: true })
5336
5392
  ], AssessmetQuestion.prototype, "isActive", 2);
5337
5393
  __decorateClass([
5338
- Column49({ name: "candidate_id", type: "integer", nullable: true }),
5394
+ Column50({ name: "candidate_id", type: "integer", nullable: true }),
5339
5395
  Index42()
5340
5396
  ], AssessmetQuestion.prototype, "candidateId", 2);
5341
5397
  __decorateClass([
5342
- ManyToOne46(() => User, (user) => user.freelancerMcq, { nullable: true }),
5343
- JoinColumn46({ name: "candidate_id" })
5398
+ ManyToOne47(() => User, (user) => user.freelancerMcq, { nullable: true }),
5399
+ JoinColumn47({ name: "candidate_id" })
5344
5400
  ], AssessmetQuestion.prototype, "candidate", 2);
5345
5401
  __decorateClass([
5346
- OneToMany16(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
5402
+ OneToMany17(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
5347
5403
  ], AssessmetQuestion.prototype, "options", 2);
5348
5404
  __decorateClass([
5349
- OneToMany16(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
5405
+ OneToMany17(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
5350
5406
  ], AssessmetQuestion.prototype, "answers", 2);
5351
5407
  AssessmetQuestion = __decorateClass([
5352
- Entity48("assessment_questions")
5408
+ Entity49("assessment_questions")
5353
5409
  ], AssessmetQuestion);
5354
5410
 
5355
5411
  // src/entities/assessment-answer.entity.ts
@@ -5362,87 +5418,87 @@ var SelectedAnswerTypeEnum = /* @__PURE__ */ ((SelectedAnswerTypeEnum2) => {
5362
5418
  var AssessmentAnswer = class extends BaseEntity {
5363
5419
  };
5364
5420
  __decorateClass([
5365
- Column50({ name: "user_id", type: "integer" }),
5421
+ Column51({ name: "user_id", type: "integer" }),
5366
5422
  Index43()
5367
5423
  ], AssessmentAnswer.prototype, "userId", 2);
5368
5424
  __decorateClass([
5369
- ManyToOne47(() => User, (user) => user.assessmentAnswers),
5370
- JoinColumn47({ name: "user_id" })
5425
+ ManyToOne48(() => User, (user) => user.assessmentAnswers),
5426
+ JoinColumn48({ name: "user_id" })
5371
5427
  ], AssessmentAnswer.prototype, "user", 2);
5372
5428
  __decorateClass([
5373
- Column50({ name: "question_id", type: "integer" }),
5429
+ Column51({ name: "question_id", type: "integer" }),
5374
5430
  Index43()
5375
5431
  ], AssessmentAnswer.prototype, "questionId", 2);
5376
5432
  __decorateClass([
5377
- ManyToOne47(
5433
+ ManyToOne48(
5378
5434
  () => AssessmetQuestion,
5379
5435
  (assessmentQuestion) => assessmentQuestion.answers
5380
5436
  ),
5381
- JoinColumn47({ name: "question_id" })
5437
+ JoinColumn48({ name: "question_id" })
5382
5438
  ], AssessmentAnswer.prototype, "question", 2);
5383
5439
  __decorateClass([
5384
- Column50({ name: "selected_option_id", type: "integer" }),
5440
+ Column51({ name: "selected_option_id", type: "integer" }),
5385
5441
  Index43()
5386
5442
  ], AssessmentAnswer.prototype, "selectedOptionId", 2);
5387
5443
  __decorateClass([
5388
- ManyToOne47(
5444
+ ManyToOne48(
5389
5445
  () => AssessmetQuestionOption,
5390
5446
  (assessmentQuestionOption) => assessmentQuestionOption.selectedOptions
5391
5447
  ),
5392
- JoinColumn47({ name: "selected_option_id" })
5448
+ JoinColumn48({ name: "selected_option_id" })
5393
5449
  ], AssessmentAnswer.prototype, "option", 2);
5394
5450
  __decorateClass([
5395
- Column50({
5451
+ Column51({
5396
5452
  name: "selected_answer_type",
5397
5453
  type: "enum",
5398
5454
  enum: SelectedAnswerTypeEnum
5399
5455
  })
5400
5456
  ], AssessmentAnswer.prototype, "selectedAnswerType", 2);
5401
5457
  __decorateClass([
5402
- Column50({ name: "score", type: "float" })
5458
+ Column51({ name: "score", type: "float" })
5403
5459
  ], AssessmentAnswer.prototype, "score", 2);
5404
5460
  AssessmentAnswer = __decorateClass([
5405
- Entity49("assessment_answers")
5461
+ Entity50("assessment_answers")
5406
5462
  ], AssessmentAnswer);
5407
5463
 
5408
5464
  // src/entities/company-skill.entity.ts
5409
- import { Entity as Entity50, Column as Column51, Index as Index44, ManyToOne as ManyToOne48, JoinColumn as JoinColumn48 } from "typeorm";
5465
+ import { Entity as Entity51, Column as Column52, Index as Index44, ManyToOne as ManyToOne49, JoinColumn as JoinColumn49 } from "typeorm";
5410
5466
  var CompanySkill = class extends BaseEntity {
5411
5467
  };
5412
5468
  // individual index to find core skills by user
5413
5469
  __decorateClass([
5414
- Column51({ name: "user_id", type: "integer", nullable: true }),
5470
+ Column52({ name: "user_id", type: "integer", nullable: true }),
5415
5471
  Index44()
5416
5472
  ], CompanySkill.prototype, "userId", 2);
5417
5473
  __decorateClass([
5418
- ManyToOne48(() => User, (user) => user.freelancerSkills),
5419
- JoinColumn48({ name: "user_id" })
5474
+ ManyToOne49(() => User, (user) => user.freelancerSkills),
5475
+ JoinColumn49({ name: "user_id" })
5420
5476
  ], CompanySkill.prototype, "user", 2);
5421
5477
  __decorateClass([
5422
- Column51({ name: "skill_name", type: "varchar", nullable: true })
5478
+ Column52({ name: "skill_name", type: "varchar", nullable: true })
5423
5479
  ], CompanySkill.prototype, "skillName", 2);
5424
5480
  CompanySkill = __decorateClass([
5425
- Entity50("company_skills")
5481
+ Entity51("company_skills")
5426
5482
  ], CompanySkill);
5427
5483
 
5428
5484
  // src/entities/admin-user-role.entity.ts
5429
- import { Entity as Entity54, Column as Column55, ManyToOne as ManyToOne50, JoinColumn as JoinColumn50 } from "typeorm";
5485
+ import { Entity as Entity55, Column as Column56, ManyToOne as ManyToOne51, JoinColumn as JoinColumn51 } from "typeorm";
5430
5486
 
5431
5487
  // src/entities/admin-role.entity.ts
5432
- import { Entity as Entity53, Column as Column54, Index as Index47, OneToMany as OneToMany19 } from "typeorm";
5488
+ import { Entity as Entity54, Column as Column55, Index as Index47, OneToMany as OneToMany20 } from "typeorm";
5433
5489
 
5434
5490
  // src/entities/admin-role-permission.entity.ts
5435
- import { Entity as Entity52, Column as Column53, ManyToOne as ManyToOne49, JoinColumn as JoinColumn49 } from "typeorm";
5491
+ import { Entity as Entity53, Column as Column54, ManyToOne as ManyToOne50, JoinColumn as JoinColumn50 } from "typeorm";
5436
5492
 
5437
5493
  // src/entities/admin-permission.entity.ts
5438
- import { Entity as Entity51, Column as Column52, Index as Index45, OneToMany as OneToMany18 } from "typeorm";
5494
+ import { Entity as Entity52, Column as Column53, Index as Index45, OneToMany as OneToMany19 } from "typeorm";
5439
5495
  var AdminPermission = class extends BaseEntity {
5440
5496
  };
5441
5497
  __decorateClass([
5442
- Column52({ name: "permission_name", type: "varchar", nullable: true })
5498
+ Column53({ name: "permission_name", type: "varchar", nullable: true })
5443
5499
  ], AdminPermission.prototype, "permissionName", 2);
5444
5500
  __decorateClass([
5445
- Column52({
5501
+ Column53({
5446
5502
  name: "permission_slug",
5447
5503
  type: "varchar",
5448
5504
  unique: true,
@@ -5451,29 +5507,29 @@ __decorateClass([
5451
5507
  Index45()
5452
5508
  ], AdminPermission.prototype, "permissionSlug", 2);
5453
5509
  __decorateClass([
5454
- Column52({ name: "permission_description", type: "varchar", nullable: true })
5510
+ Column53({ name: "permission_description", type: "varchar", nullable: true })
5455
5511
  ], AdminPermission.prototype, "permissionDescription", 2);
5456
5512
  __decorateClass([
5457
- Column52({ name: "module", type: "varchar", nullable: true })
5513
+ Column53({ name: "module", type: "varchar", nullable: true })
5458
5514
  ], AdminPermission.prototype, "module", 2);
5459
5515
  __decorateClass([
5460
- Column52({ name: "is_active", type: "boolean", default: true })
5516
+ Column53({ name: "is_active", type: "boolean", default: true })
5461
5517
  ], AdminPermission.prototype, "isActive", 2);
5462
5518
  __decorateClass([
5463
- OneToMany18(
5519
+ OneToMany19(
5464
5520
  () => AdminRolePermission,
5465
5521
  (adminRolePermission) => adminRolePermission.adminPermissions
5466
5522
  )
5467
5523
  ], AdminPermission.prototype, "adminRole", 2);
5468
5524
  AdminPermission = __decorateClass([
5469
- Entity51("admin_permissions")
5525
+ Entity52("admin_permissions")
5470
5526
  ], AdminPermission);
5471
5527
 
5472
5528
  // src/entities/admin-role-permission.entity.ts
5473
5529
  var AdminRolePermission = class extends BaseEntity {
5474
5530
  };
5475
5531
  __decorateClass([
5476
- Column53({
5532
+ Column54({
5477
5533
  name: "role_id",
5478
5534
  type: "int",
5479
5535
  nullable: true,
@@ -5481,11 +5537,11 @@ __decorateClass([
5481
5537
  })
5482
5538
  ], AdminRolePermission.prototype, "roleId", 2);
5483
5539
  __decorateClass([
5484
- ManyToOne49(() => AdminRole),
5485
- JoinColumn49({ name: "role_id" })
5540
+ ManyToOne50(() => AdminRole),
5541
+ JoinColumn50({ name: "role_id" })
5486
5542
  ], AdminRolePermission.prototype, "adminRole", 2);
5487
5543
  __decorateClass([
5488
- Column53({
5544
+ Column54({
5489
5545
  name: "permission_id",
5490
5546
  type: "int",
5491
5547
  nullable: true,
@@ -5493,47 +5549,47 @@ __decorateClass([
5493
5549
  })
5494
5550
  ], AdminRolePermission.prototype, "permissionId", 2);
5495
5551
  __decorateClass([
5496
- ManyToOne49(() => AdminPermission),
5497
- JoinColumn49({ name: "permission_id" })
5552
+ ManyToOne50(() => AdminPermission),
5553
+ JoinColumn50({ name: "permission_id" })
5498
5554
  ], AdminRolePermission.prototype, "adminPermissions", 2);
5499
5555
  AdminRolePermission = __decorateClass([
5500
- Entity52("admin_role_permissions")
5556
+ Entity53("admin_role_permissions")
5501
5557
  ], AdminRolePermission);
5502
5558
 
5503
5559
  // src/entities/admin-role.entity.ts
5504
5560
  var AdminRole = class extends BaseEntity {
5505
5561
  };
5506
5562
  __decorateClass([
5507
- Column54({ name: "role_name", type: "varchar", nullable: true })
5563
+ Column55({ name: "role_name", type: "varchar", nullable: true })
5508
5564
  ], AdminRole.prototype, "roleName", 2);
5509
5565
  __decorateClass([
5510
- Column54({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
5566
+ Column55({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
5511
5567
  Index47()
5512
5568
  ], AdminRole.prototype, "roleSlug", 2);
5513
5569
  __decorateClass([
5514
- Column54({ name: "role_description", type: "varchar", nullable: true })
5570
+ Column55({ name: "role_description", type: "varchar", nullable: true })
5515
5571
  ], AdminRole.prototype, "roleDescription", 2);
5516
5572
  __decorateClass([
5517
- Column54({ name: "is_active", type: "boolean", default: true })
5573
+ Column55({ name: "is_active", type: "boolean", default: true })
5518
5574
  ], AdminRole.prototype, "isActive", 2);
5519
5575
  __decorateClass([
5520
- OneToMany19(
5576
+ OneToMany20(
5521
5577
  () => AdminRolePermission,
5522
5578
  (addminRolePermission) => addminRolePermission.adminRole
5523
5579
  )
5524
5580
  ], AdminRole.prototype, "adminRolePermission", 2);
5525
5581
  __decorateClass([
5526
- OneToMany19(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
5582
+ OneToMany20(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
5527
5583
  ], AdminRole.prototype, "userRoles", 2);
5528
5584
  AdminRole = __decorateClass([
5529
- Entity53("admin_roles")
5585
+ Entity54("admin_roles")
5530
5586
  ], AdminRole);
5531
5587
 
5532
5588
  // src/entities/admin-user-role.entity.ts
5533
5589
  var AdminUserRole = class extends BaseEntity {
5534
5590
  };
5535
5591
  __decorateClass([
5536
- Column55({
5592
+ Column56({
5537
5593
  name: "user_id",
5538
5594
  type: "int",
5539
5595
  nullable: true,
@@ -5541,11 +5597,11 @@ __decorateClass([
5541
5597
  })
5542
5598
  ], AdminUserRole.prototype, "userId", 2);
5543
5599
  __decorateClass([
5544
- ManyToOne50(() => User),
5545
- JoinColumn50({ name: "user_id" })
5600
+ ManyToOne51(() => User),
5601
+ JoinColumn51({ name: "user_id" })
5546
5602
  ], AdminUserRole.prototype, "user", 2);
5547
5603
  __decorateClass([
5548
- Column55({
5604
+ Column56({
5549
5605
  name: "role_id",
5550
5606
  type: "int",
5551
5607
  nullable: true,
@@ -5553,70 +5609,70 @@ __decorateClass([
5553
5609
  })
5554
5610
  ], AdminUserRole.prototype, "roleId", 2);
5555
5611
  __decorateClass([
5556
- ManyToOne50(() => AdminRole),
5557
- JoinColumn50({ name: "role_id" })
5612
+ ManyToOne51(() => AdminRole),
5613
+ JoinColumn51({ name: "role_id" })
5558
5614
  ], AdminUserRole.prototype, "adminRole", 2);
5559
5615
  AdminUserRole = __decorateClass([
5560
- Entity54("admin_user_roles")
5616
+ Entity55("admin_user_roles")
5561
5617
  ], AdminUserRole);
5562
5618
 
5563
5619
  // src/entities/freelancer-resume.entity.ts
5564
5620
  import {
5565
- Entity as Entity55,
5566
- Column as Column56,
5621
+ Entity as Entity56,
5622
+ Column as Column57,
5567
5623
  Index as Index49,
5568
- ManyToOne as ManyToOne51,
5569
- JoinColumn as JoinColumn51
5624
+ ManyToOne as ManyToOne52,
5625
+ JoinColumn as JoinColumn52
5570
5626
  } from "typeorm";
5571
5627
  var FreelancerResume = class extends BaseEntity {
5572
5628
  };
5573
5629
  // individual index to find profile by user
5574
5630
  __decorateClass([
5575
- Column56({ name: "user_id", type: "integer", nullable: true }),
5631
+ Column57({ name: "user_id", type: "integer", nullable: true }),
5576
5632
  Index49()
5577
5633
  ], FreelancerResume.prototype, "userId", 2);
5578
5634
  __decorateClass([
5579
- ManyToOne51(() => User, (user) => user.freelancerProfile),
5580
- JoinColumn51({ name: "user_id" })
5635
+ ManyToOne52(() => User, (user) => user.freelancerProfile),
5636
+ JoinColumn52({ name: "user_id" })
5581
5637
  ], FreelancerResume.prototype, "user", 2);
5582
5638
  __decorateClass([
5583
- Column56({ name: "resume_data", type: "jsonb", nullable: true })
5639
+ Column57({ name: "resume_data", type: "jsonb", nullable: true })
5584
5640
  ], FreelancerResume.prototype, "resumeData", 2);
5585
5641
  __decorateClass([
5586
- Column56({ name: "processed_resume_data", type: "jsonb", nullable: true })
5642
+ Column57({ name: "processed_resume_data", type: "jsonb", nullable: true })
5587
5643
  ], FreelancerResume.prototype, "processedResumeData", 2);
5588
5644
  FreelancerResume = __decorateClass([
5589
- Entity55("freelancer_resumes")
5645
+ Entity56("freelancer_resumes")
5590
5646
  ], FreelancerResume);
5591
5647
 
5592
5648
  // src/entities/signature.entity.ts
5593
5649
  import {
5594
- Entity as Entity56,
5595
- Column as Column57,
5650
+ Entity as Entity57,
5651
+ Column as Column58,
5596
5652
  Index as Index50,
5597
- ManyToOne as ManyToOne52,
5598
- JoinColumn as JoinColumn52
5653
+ ManyToOne as ManyToOne53,
5654
+ JoinColumn as JoinColumn53
5599
5655
  } from "typeorm";
5600
5656
  var Signature = class extends BaseEntity {
5601
5657
  };
5602
5658
  // individual index to find profile by user
5603
5659
  __decorateClass([
5604
- Column57({ name: "user_id", type: "integer", nullable: true }),
5660
+ Column58({ name: "user_id", type: "integer", nullable: true }),
5605
5661
  Index50()
5606
5662
  ], Signature.prototype, "userId", 2);
5607
5663
  __decorateClass([
5608
- ManyToOne52(() => User, (user) => user.signatures),
5609
- JoinColumn52({ name: "user_id" })
5664
+ ManyToOne53(() => User, (user) => user.signatures),
5665
+ JoinColumn53({ name: "user_id" })
5610
5666
  ], Signature.prototype, "user", 2);
5611
5667
  __decorateClass([
5612
- Column57({ name: "signature_url", type: "text", nullable: true })
5668
+ Column58({ name: "signature_url", type: "text", nullable: true })
5613
5669
  ], Signature.prototype, "signatureUrl", 2);
5614
5670
  Signature = __decorateClass([
5615
- Entity56("signatures")
5671
+ Entity57("signatures")
5616
5672
  ], Signature);
5617
5673
 
5618
5674
  // src/entities/dispute.entity.ts
5619
- import { Entity as Entity57, Column as Column58, Index as Index51, JoinColumn as JoinColumn53, ManyToOne as ManyToOne53 } from "typeorm";
5675
+ import { Entity as Entity58, Column as Column59, Index as Index51, JoinColumn as JoinColumn54, ManyToOne as ManyToOne54 } from "typeorm";
5620
5676
  var DisputeStatusEnum = /* @__PURE__ */ ((DisputeStatusEnum2) => {
5621
5677
  DisputeStatusEnum2["OPEN"] = "OPEN";
5622
5678
  DisputeStatusEnum2["IN_REVIEW"] = "IN_REVIEW";
@@ -5637,36 +5693,36 @@ var InitiatorTypeEnum = /* @__PURE__ */ ((InitiatorTypeEnum2) => {
5637
5693
  var Dispute = class extends BaseEntity {
5638
5694
  };
5639
5695
  __decorateClass([
5640
- Column58({ name: "client_id", type: "integer", nullable: true }),
5696
+ Column59({ name: "client_id", type: "integer", nullable: true }),
5641
5697
  Index51()
5642
5698
  ], Dispute.prototype, "clientId", 2);
5643
5699
  __decorateClass([
5644
- ManyToOne53(() => User, (user) => user.clientDisputes),
5645
- JoinColumn53({ name: "client_id" })
5700
+ ManyToOne54(() => User, (user) => user.clientDisputes),
5701
+ JoinColumn54({ name: "client_id" })
5646
5702
  ], Dispute.prototype, "client", 2);
5647
5703
  __decorateClass([
5648
- Column58({ name: "freelancer_id", type: "integer", nullable: true }),
5704
+ Column59({ name: "freelancer_id", type: "integer", nullable: true }),
5649
5705
  Index51()
5650
5706
  ], Dispute.prototype, "freelancerId", 2);
5651
5707
  __decorateClass([
5652
- ManyToOne53(() => User, (user) => user.freelancerDisputes),
5653
- JoinColumn53({ name: "freelancer_id" })
5708
+ ManyToOne54(() => User, (user) => user.freelancerDisputes),
5709
+ JoinColumn54({ name: "freelancer_id" })
5654
5710
  ], Dispute.prototype, "freelancer", 2);
5655
5711
  __decorateClass([
5656
- Column58({ name: "dispute_unique_id", type: "varchar", unique: true })
5712
+ Column59({ name: "dispute_unique_id", type: "varchar", unique: true })
5657
5713
  ], Dispute.prototype, "disputeUniqueId", 2);
5658
5714
  __decorateClass([
5659
- Column58({ name: "dispute_type", type: "varchar", nullable: true }),
5715
+ Column59({ name: "dispute_type", type: "varchar", nullable: true }),
5660
5716
  Index51()
5661
5717
  ], Dispute.prototype, "disputeType", 2);
5662
5718
  __decorateClass([
5663
- Column58({ name: "description", type: "varchar", nullable: true })
5719
+ Column59({ name: "description", type: "varchar", nullable: true })
5664
5720
  ], Dispute.prototype, "description", 2);
5665
5721
  __decorateClass([
5666
- Column58({ name: "comment", type: "varchar", nullable: true })
5722
+ Column59({ name: "comment", type: "varchar", nullable: true })
5667
5723
  ], Dispute.prototype, "comment", 2);
5668
5724
  __decorateClass([
5669
- Column58({
5725
+ Column59({
5670
5726
  name: "status",
5671
5727
  type: "enum",
5672
5728
  enum: DisputeStatusEnum,
@@ -5674,7 +5730,7 @@ __decorateClass([
5674
5730
  })
5675
5731
  ], Dispute.prototype, "status", 2);
5676
5732
  __decorateClass([
5677
- Column58({
5733
+ Column59({
5678
5734
  name: "initiator_type",
5679
5735
  type: "enum",
5680
5736
  enum: InitiatorTypeEnum,
@@ -5683,33 +5739,33 @@ __decorateClass([
5683
5739
  })
5684
5740
  ], Dispute.prototype, "initiatorType", 2);
5685
5741
  __decorateClass([
5686
- Column58({ name: "initiator_id", type: "integer" }),
5742
+ Column59({ name: "initiator_id", type: "integer" }),
5687
5743
  Index51()
5688
5744
  ], Dispute.prototype, "initiatorId", 2);
5689
5745
  __decorateClass([
5690
- ManyToOne53(() => User, (user) => user.initiatedDisputes),
5691
- JoinColumn53({ name: "initiator_id" })
5746
+ ManyToOne54(() => User, (user) => user.initiatedDisputes),
5747
+ JoinColumn54({ name: "initiator_id" })
5692
5748
  ], Dispute.prototype, "initiator", 2);
5693
5749
  __decorateClass([
5694
- Column58({ name: "respondent_id", type: "integer", nullable: true }),
5750
+ Column59({ name: "respondent_id", type: "integer", nullable: true }),
5695
5751
  Index51()
5696
5752
  ], Dispute.prototype, "respondentId", 2);
5697
5753
  __decorateClass([
5698
- ManyToOne53(() => User, (user) => user.respondentDisputes, { nullable: true }),
5699
- JoinColumn53({ name: "respondent_id" })
5754
+ ManyToOne54(() => User, (user) => user.respondentDisputes, { nullable: true }),
5755
+ JoinColumn54({ name: "respondent_id" })
5700
5756
  ], Dispute.prototype, "respondent", 2);
5701
5757
  __decorateClass([
5702
- Column58({ name: "attachments", type: "jsonb", nullable: true })
5758
+ Column59({ name: "attachments", type: "jsonb", nullable: true })
5703
5759
  ], Dispute.prototype, "attachments", 2);
5704
5760
  __decorateClass([
5705
- Column58({ name: "dynamic_fields", type: "jsonb", nullable: true })
5761
+ Column59({ name: "dynamic_fields", type: "jsonb", nullable: true })
5706
5762
  ], Dispute.prototype, "dynamicFields", 2);
5707
5763
  Dispute = __decorateClass([
5708
- Entity57("disputes")
5764
+ Entity58("disputes")
5709
5765
  ], Dispute);
5710
5766
 
5711
5767
  // src/entities/stripe-transaction.entity.ts
5712
- import { Entity as Entity58, Column as Column59, Index as Index52, ManyToOne as ManyToOne54, JoinColumn as JoinColumn54 } from "typeorm";
5768
+ import { Entity as Entity59, Column as Column60, Index as Index52, ManyToOne as ManyToOne55, JoinColumn as JoinColumn55 } from "typeorm";
5713
5769
  var StripeTransactionTypeEnum = /* @__PURE__ */ ((StripeTransactionTypeEnum2) => {
5714
5770
  StripeTransactionTypeEnum2["ADD_FUNDS"] = "ADD_FUNDS";
5715
5771
  StripeTransactionTypeEnum2["TRANSFER"] = "TRANSFER";
@@ -5731,97 +5787,97 @@ var StripeTransaction = class extends BaseEntity {
5731
5787
  // Full Stripe session response
5732
5788
  };
5733
5789
  __decorateClass([
5734
- Column59({ name: "user_id", type: "integer", nullable: true }),
5790
+ Column60({ name: "user_id", type: "integer", nullable: true }),
5735
5791
  Index52()
5736
5792
  ], StripeTransaction.prototype, "userId", 2);
5737
5793
  __decorateClass([
5738
- ManyToOne54(() => User, (user) => user.stripeTransactions),
5739
- JoinColumn54({ name: "user_id" })
5794
+ ManyToOne55(() => User, (user) => user.stripeTransactions),
5795
+ JoinColumn55({ name: "user_id" })
5740
5796
  ], StripeTransaction.prototype, "user", 2);
5741
5797
  __decorateClass([
5742
- Column59({ name: "stripe_session_id", type: "varchar", nullable: true })
5798
+ Column60({ name: "stripe_session_id", type: "varchar", nullable: true })
5743
5799
  ], StripeTransaction.prototype, "stripeSessionId", 2);
5744
5800
  __decorateClass([
5745
- Column59({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
5801
+ Column60({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
5746
5802
  ], StripeTransaction.prototype, "stripePaymentIntentId", 2);
5747
5803
  __decorateClass([
5748
- Column59({ name: "stripe_charge_id", type: "varchar", nullable: true })
5804
+ Column60({ name: "stripe_charge_id", type: "varchar", nullable: true })
5749
5805
  ], StripeTransaction.prototype, "stripeChargeId", 2);
5750
5806
  __decorateClass([
5751
- Column59({ name: "stripe_receipt_url", type: "varchar", nullable: true })
5807
+ Column60({ name: "stripe_receipt_url", type: "varchar", nullable: true })
5752
5808
  ], StripeTransaction.prototype, "stripeReceiptUrl", 2);
5753
5809
  __decorateClass([
5754
- Column59({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
5810
+ Column60({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
5755
5811
  ], StripeTransaction.prototype, "stripeBalanceTransactionId", 2);
5756
5812
  __decorateClass([
5757
- Column59({ name: "stripe_payment_method", type: "varchar", nullable: true })
5813
+ Column60({ name: "stripe_payment_method", type: "varchar", nullable: true })
5758
5814
  ], StripeTransaction.prototype, "stripePaymentMethod", 2);
5759
5815
  __decorateClass([
5760
- Column59({ name: "stripe_payment_status", type: "varchar", nullable: true })
5816
+ Column60({ name: "stripe_payment_status", type: "varchar", nullable: true })
5761
5817
  ], StripeTransaction.prototype, "stripePaymentStatus", 2);
5762
5818
  __decorateClass([
5763
- Column59({ name: "type", type: "enum", enum: StripeTransactionTypeEnum })
5819
+ Column60({ name: "type", type: "enum", enum: StripeTransactionTypeEnum })
5764
5820
  ], StripeTransaction.prototype, "type", 2);
5765
5821
  __decorateClass([
5766
- Column59({ name: "currency", type: "varchar", nullable: true })
5822
+ Column60({ name: "currency", type: "varchar", nullable: true })
5767
5823
  ], StripeTransaction.prototype, "currency", 2);
5768
5824
  __decorateClass([
5769
- Column59({ name: "desired_deposit_cents", type: "bigint", nullable: true, comment: "Amount user wants in their wallet. Example: 10000 cents = $100.00. This is what gets credited to wallet" })
5825
+ Column60({ name: "desired_deposit_cents", type: "bigint", nullable: true, comment: "Amount user wants in their wallet. Example: 10000 cents = $100.00. This is what gets credited to wallet" })
5770
5826
  ], StripeTransaction.prototype, "desiredDepositCents", 2);
5771
5827
  __decorateClass([
5772
- Column59({ name: "platform_fee_cents", type: "bigint", default: 0, comment: "Your platform commission Example: 500 cents = $5.00 (5% of $100)" })
5828
+ Column60({ name: "platform_fee_cents", type: "bigint", default: 0, comment: "Your platform commission Example: 500 cents = $5.00 (5% of $100)" })
5773
5829
  ], StripeTransaction.prototype, "platformFeeCents", 2);
5774
5830
  __decorateClass([
5775
- Column59({ name: "tax_cents", type: "bigint", nullable: true, comment: "Sales tax collected by Stripe" })
5831
+ Column60({ name: "tax_cents", type: "bigint", nullable: true, comment: "Sales tax collected by Stripe" })
5776
5832
  ], StripeTransaction.prototype, "taxCents", 2);
5777
5833
  __decorateClass([
5778
- Column59({ name: "estimated_stripe_fee_cents", type: "bigint", nullable: true, comment: "Your calculated estimate of Stripe fee, Example: 371 cents = $3.71" })
5834
+ Column60({ name: "estimated_stripe_fee_cents", type: "bigint", nullable: true, comment: "Your calculated estimate of Stripe fee, Example: 371 cents = $3.71" })
5779
5835
  ], StripeTransaction.prototype, "estimatedStripeFee", 2);
5780
5836
  __decorateClass([
5781
- Column59({ name: "estimated_total_cents", type: "bigint", nullable: true, comment: "Your calculated total to charge, Example: 11386 cents = $113.86, desired_deposit_cents + platform_fee_cents + estimated_stripe_fee" })
5837
+ Column60({ name: "estimated_total_cents", type: "bigint", nullable: true, comment: "Your calculated total to charge, Example: 11386 cents = $113.86, desired_deposit_cents + platform_fee_cents + estimated_stripe_fee" })
5782
5838
  ], StripeTransaction.prototype, "estimatedTotalCents", 2);
5783
5839
  __decorateClass([
5784
- Column59({ name: "actual_stripe_fee_cents", type: "bigint", nullable: true, comment: "ACTUAL Stripe fee charged, Example: 371 cents = $3.71" })
5840
+ Column60({ name: "actual_stripe_fee_cents", type: "bigint", nullable: true, comment: "ACTUAL Stripe fee charged, Example: 371 cents = $3.71" })
5785
5841
  ], StripeTransaction.prototype, "actualStripeFee", 2);
5786
5842
  __decorateClass([
5787
- Column59({ name: "actual_total_paid_cents", type: "bigint", nullable: true, comment: "What customer ACTUALLY paid, Example: 11757 cents = $117.57, May differ from estimate" })
5843
+ Column60({ name: "actual_total_paid_cents", type: "bigint", nullable: true, comment: "What customer ACTUALLY paid, Example: 11757 cents = $117.57, May differ from estimate" })
5788
5844
  ], StripeTransaction.prototype, "actualTotalPaidCents", 2);
5789
5845
  __decorateClass([
5790
- Column59({ name: "net_received_cents", type: "bigint", nullable: true, comment: "What YOU receive after Stripe fee Example: 11386 cents = $113.86. This is your actual revenue + user deposit" })
5846
+ Column60({ name: "net_received_cents", type: "bigint", nullable: true, comment: "What YOU receive after Stripe fee Example: 11386 cents = $113.86. This is your actual revenue + user deposit" })
5791
5847
  ], StripeTransaction.prototype, "netReceivedCents", 2);
5792
5848
  __decorateClass([
5793
- Column59({ name: "description", type: "text", nullable: true })
5849
+ Column60({ name: "description", type: "text", nullable: true })
5794
5850
  ], StripeTransaction.prototype, "description", 2);
5795
5851
  __decorateClass([
5796
- Column59({ name: "status", type: "enum", enum: StripeTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5852
+ Column60({ name: "status", type: "enum", enum: StripeTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5797
5853
  ], StripeTransaction.prototype, "status", 2);
5798
5854
  __decorateClass([
5799
- Column59({ name: "checkout_session_completed_at", type: "timestamptz", nullable: true })
5855
+ Column60({ name: "checkout_session_completed_at", type: "timestamptz", nullable: true })
5800
5856
  ], StripeTransaction.prototype, "checkoutSessionCompletedAt", 2);
5801
5857
  __decorateClass([
5802
- Column59({ name: "completed_at", type: "timestamptz", nullable: true })
5858
+ Column60({ name: "completed_at", type: "timestamptz", nullable: true })
5803
5859
  ], StripeTransaction.prototype, "completedAt", 2);
5804
5860
  __decorateClass([
5805
- Column59({ name: "billing_details", type: "jsonb", nullable: true })
5861
+ Column60({ name: "billing_details", type: "jsonb", nullable: true })
5806
5862
  ], StripeTransaction.prototype, "billingDetails", 2);
5807
5863
  __decorateClass([
5808
- Column59({ name: "payment_method_details", type: "jsonb", nullable: true })
5864
+ Column60({ name: "payment_method_details", type: "jsonb", nullable: true })
5809
5865
  ], StripeTransaction.prototype, "paymentMethodDetails", 2);
5810
5866
  __decorateClass([
5811
- Column59({ name: "raw_session_payload", type: "jsonb", nullable: true })
5867
+ Column60({ name: "raw_session_payload", type: "jsonb", nullable: true })
5812
5868
  ], StripeTransaction.prototype, "rawSessionPayload", 2);
5813
5869
  __decorateClass([
5814
- Column59({ name: "raw_session_response", type: "jsonb", nullable: true })
5870
+ Column60({ name: "raw_session_response", type: "jsonb", nullable: true })
5815
5871
  ], StripeTransaction.prototype, "rawSessionResponse", 2);
5816
5872
  StripeTransaction = __decorateClass([
5817
- Entity58("stripe_transactions")
5873
+ Entity59("stripe_transactions")
5818
5874
  ], StripeTransaction);
5819
5875
 
5820
5876
  // src/entities/wallet.entity.ts
5821
- import { Entity as Entity60, Column as Column61, Index as Index54, JoinColumn as JoinColumn56, OneToOne as OneToOne11, OneToMany as OneToMany20 } from "typeorm";
5877
+ import { Entity as Entity61, Column as Column62, Index as Index54, JoinColumn as JoinColumn57, OneToOne as OneToOne11, OneToMany as OneToMany21 } from "typeorm";
5822
5878
 
5823
5879
  // src/entities/wallet-transaction.entity.ts
5824
- import { Entity as Entity59, Column as Column60, Index as Index53, ManyToOne as ManyToOne55, JoinColumn as JoinColumn55 } from "typeorm";
5880
+ import { Entity as Entity60, Column as Column61, Index as Index53, ManyToOne as ManyToOne56, JoinColumn as JoinColumn56 } from "typeorm";
5825
5881
  var WalletTransactionTypeEnum = /* @__PURE__ */ ((WalletTransactionTypeEnum2) => {
5826
5882
  WalletTransactionTypeEnum2["CR"] = "CR";
5827
5883
  WalletTransactionTypeEnum2["DR"] = "DR";
@@ -5838,46 +5894,46 @@ var WalletTransactionStatusEnum = /* @__PURE__ */ ((WalletTransactionStatusEnum2
5838
5894
  var WalletTransaction = class extends BaseEntity {
5839
5895
  };
5840
5896
  __decorateClass([
5841
- Column60({ name: "wallet_id", type: "integer", nullable: true }),
5897
+ Column61({ name: "wallet_id", type: "integer", nullable: true }),
5842
5898
  Index53()
5843
5899
  ], WalletTransaction.prototype, "walletId", 2);
5844
5900
  __decorateClass([
5845
- ManyToOne55(() => Wallet, (wallet) => wallet.walletTransactions),
5846
- JoinColumn55({ name: "wallet_id" })
5901
+ ManyToOne56(() => Wallet, (wallet) => wallet.walletTransactions),
5902
+ JoinColumn56({ name: "wallet_id" })
5847
5903
  ], WalletTransaction.prototype, "wallet", 2);
5848
5904
  __decorateClass([
5849
- Column60({ name: "amount", type: "bigint", nullable: true })
5905
+ Column61({ name: "amount", type: "bigint", nullable: true })
5850
5906
  ], WalletTransaction.prototype, "amount", 2);
5851
5907
  __decorateClass([
5852
- Column60({ name: "balance_before", type: "bigint", nullable: true })
5908
+ Column61({ name: "balance_before", type: "bigint", nullable: true })
5853
5909
  ], WalletTransaction.prototype, "balanceBefore", 2);
5854
5910
  __decorateClass([
5855
- Column60({ name: "balance_after", type: "bigint", nullable: true })
5911
+ Column61({ name: "balance_after", type: "bigint", nullable: true })
5856
5912
  ], WalletTransaction.prototype, "balanceAfter", 2);
5857
5913
  __decorateClass([
5858
- Column60({ name: "type", type: "enum", enum: WalletTransactionTypeEnum })
5914
+ Column61({ name: "type", type: "enum", enum: WalletTransactionTypeEnum })
5859
5915
  ], WalletTransaction.prototype, "type", 2);
5860
5916
  __decorateClass([
5861
- Column60({ name: "status", type: "enum", enum: WalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5917
+ Column61({ name: "status", type: "enum", enum: WalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5862
5918
  ], WalletTransaction.prototype, "status", 2);
5863
5919
  __decorateClass([
5864
- Column60({ name: "description", type: "text", nullable: true })
5920
+ Column61({ name: "description", type: "text", nullable: true })
5865
5921
  ], WalletTransaction.prototype, "description", 2);
5866
5922
  __decorateClass([
5867
- Column60({ name: "completed_at", type: "timestamptz", nullable: true })
5923
+ Column61({ name: "completed_at", type: "timestamptz", nullable: true })
5868
5924
  ], WalletTransaction.prototype, "completedAt", 2);
5869
5925
  __decorateClass([
5870
- Column60({ name: "transaction_for", type: "varchar", nullable: true })
5926
+ Column61({ name: "transaction_for", type: "varchar", nullable: true })
5871
5927
  ], WalletTransaction.prototype, "transactionFor", 2);
5872
5928
  __decorateClass([
5873
- Column60({ name: "meta_data", type: "varchar", nullable: true })
5929
+ Column61({ name: "meta_data", type: "varchar", nullable: true })
5874
5930
  ], WalletTransaction.prototype, "metaData", 2);
5875
5931
  __decorateClass([
5876
- Column60({ name: "stripe_transaction_id", type: "integer", nullable: true }),
5932
+ Column61({ name: "stripe_transaction_id", type: "integer", nullable: true }),
5877
5933
  Index53()
5878
5934
  ], WalletTransaction.prototype, "stripeTransactionId", 2);
5879
5935
  WalletTransaction = __decorateClass([
5880
- Entity59("wallet_transactions")
5936
+ Entity60("wallet_transactions")
5881
5937
  ], WalletTransaction);
5882
5938
 
5883
5939
  // src/entities/wallet.entity.ts
@@ -5895,48 +5951,48 @@ var WalletOnboardingStatusEnum = /* @__PURE__ */ ((WalletOnboardingStatusEnum2)
5895
5951
  var Wallet = class extends BaseEntity {
5896
5952
  };
5897
5953
  __decorateClass([
5898
- Column61({ name: "user_id", type: "integer", nullable: true }),
5954
+ Column62({ name: "user_id", type: "integer", nullable: true }),
5899
5955
  Index54()
5900
5956
  ], Wallet.prototype, "userId", 2);
5901
5957
  __decorateClass([
5902
5958
  OneToOne11(() => User, (user) => user.wallet),
5903
- JoinColumn56({ name: "user_id" })
5959
+ JoinColumn57({ name: "user_id" })
5904
5960
  ], Wallet.prototype, "user", 2);
5905
5961
  __decorateClass([
5906
- Column61({ name: "account_type", type: "enum", enum: WalletAccountTypeEnum, nullable: true })
5962
+ Column62({ name: "account_type", type: "enum", enum: WalletAccountTypeEnum, nullable: true })
5907
5963
  ], Wallet.prototype, "accountType", 2);
5908
5964
  __decorateClass([
5909
- Column61({ name: "stripe_account_id", type: "varchar", nullable: true })
5965
+ Column62({ name: "stripe_account_id", type: "varchar", nullable: true })
5910
5966
  ], Wallet.prototype, "stripeAccountId", 2);
5911
5967
  __decorateClass([
5912
- Column61({ name: "stripe_customer_id", type: "varchar", nullable: true })
5968
+ Column62({ name: "stripe_customer_id", type: "varchar", nullable: true })
5913
5969
  ], Wallet.prototype, "stripeCustomerId", 2);
5914
5970
  __decorateClass([
5915
- Column61({ name: "wallet_balance", type: "varchar", default: "0", comment: "This column is just used to show balance, It will not be used in any computation" })
5971
+ Column62({ name: "wallet_balance", type: "varchar", default: "0", comment: "This column is just used to show balance, It will not be used in any computation" })
5916
5972
  ], Wallet.prototype, "walletBalance", 2);
5917
5973
  __decorateClass([
5918
- Column61({ name: "wallet_balance_cents", type: "bigint", default: 0, comment: "This column is used to store wallet balance in cents Example: 371 cents = $3.71, All computation will be handled by this column" })
5974
+ Column62({ name: "wallet_balance_cents", type: "bigint", default: 0, comment: "This column is used to store wallet balance in cents Example: 371 cents = $3.71, All computation will be handled by this column" })
5919
5975
  ], Wallet.prototype, "walletBalanceCents", 2);
5920
5976
  __decorateClass([
5921
- Column61({ name: "onboarding_status", type: "enum", enum: WalletOnboardingStatusEnum, nullable: true })
5977
+ Column62({ name: "onboarding_status", type: "enum", enum: WalletOnboardingStatusEnum, nullable: true })
5922
5978
  ], Wallet.prototype, "onboardingStatus", 2);
5923
5979
  __decorateClass([
5924
- Column61({ name: "stripe_metadata", type: "jsonb", nullable: true })
5980
+ Column62({ name: "stripe_metadata", type: "jsonb", nullable: true })
5925
5981
  ], Wallet.prototype, "stripeMetadata", 2);
5926
5982
  __decorateClass([
5927
- OneToMany20(() => WalletTransaction, (walletTransaction) => walletTransaction.wallet)
5983
+ OneToMany21(() => WalletTransaction, (walletTransaction) => walletTransaction.wallet)
5928
5984
  ], Wallet.prototype, "walletTransactions", 2);
5929
5985
  Wallet = __decorateClass([
5930
- Entity60("wallets")
5986
+ Entity61("wallets")
5931
5987
  ], Wallet);
5932
5988
 
5933
5989
  // src/entities/freelancer-assessment-request.entity.ts
5934
5990
  import {
5935
- Entity as Entity61,
5936
- Column as Column62,
5937
- ManyToOne as ManyToOne56,
5991
+ Entity as Entity62,
5992
+ Column as Column63,
5993
+ ManyToOne as ManyToOne57,
5938
5994
  Index as Index55,
5939
- JoinColumn as JoinColumn57
5995
+ JoinColumn as JoinColumn58
5940
5996
  } from "typeorm";
5941
5997
  var AssessmentRequestStatusEnum = /* @__PURE__ */ ((AssessmentRequestStatusEnum2) => {
5942
5998
  AssessmentRequestStatusEnum2["PENDING"] = "PENDING";
@@ -5947,23 +6003,23 @@ var AssessmentRequestStatusEnum = /* @__PURE__ */ ((AssessmentRequestStatusEnum2
5947
6003
  var FreelancerAssessmentRequest = class extends BaseEntity {
5948
6004
  };
5949
6005
  __decorateClass([
5950
- Column62({ name: "freelancer_id", type: "integer", nullable: true }),
6006
+ Column63({ name: "freelancer_id", type: "integer", nullable: true }),
5951
6007
  Index55()
5952
6008
  ], FreelancerAssessmentRequest.prototype, "freelancerId", 2);
5953
6009
  __decorateClass([
5954
- ManyToOne56(() => User, (user) => user.freelancerAssessmentRequests),
5955
- JoinColumn57({ name: "freelancer_id" })
6010
+ ManyToOne57(() => User, (user) => user.freelancerAssessmentRequests),
6011
+ JoinColumn58({ name: "freelancer_id" })
5956
6012
  ], FreelancerAssessmentRequest.prototype, "freelancer", 2);
5957
6013
  __decorateClass([
5958
- Column62({ name: "approved_by_id", type: "integer", nullable: true }),
6014
+ Column63({ name: "approved_by_id", type: "integer", nullable: true }),
5959
6015
  Index55()
5960
6016
  ], FreelancerAssessmentRequest.prototype, "approvedById", 2);
5961
6017
  __decorateClass([
5962
- ManyToOne56(() => User, (user) => user.assessmentRequests),
5963
- JoinColumn57({ name: "approved_by_id" })
6018
+ ManyToOne57(() => User, (user) => user.assessmentRequests),
6019
+ JoinColumn58({ name: "approved_by_id" })
5964
6020
  ], FreelancerAssessmentRequest.prototype, "approvedBy", 2);
5965
6021
  __decorateClass([
5966
- Column62({
6022
+ Column63({
5967
6023
  name: "status",
5968
6024
  type: "enum",
5969
6025
  enum: AssessmentRequestStatusEnum,
@@ -5971,10 +6027,10 @@ __decorateClass([
5971
6027
  })
5972
6028
  ], FreelancerAssessmentRequest.prototype, "status", 2);
5973
6029
  __decorateClass([
5974
- Column62({ name: "assessment_link", type: "text", nullable: true })
6030
+ Column63({ name: "assessment_link", type: "text", nullable: true })
5975
6031
  ], FreelancerAssessmentRequest.prototype, "assessmentLink", 2);
5976
6032
  FreelancerAssessmentRequest = __decorateClass([
5977
- Entity61({ name: "freelancer_assessment_requests" })
6033
+ Entity62({ name: "freelancer_assessment_requests" })
5978
6034
  ], FreelancerAssessmentRequest);
5979
6035
 
5980
6036
  // src/entities/user.entity.ts
@@ -6002,51 +6058,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
6002
6058
  var User = class extends BaseEntity {
6003
6059
  };
6004
6060
  __decorateClass([
6005
- Column63({ name: "unique_id", type: "varchar", unique: true })
6061
+ Column64({ name: "unique_id", type: "varchar", unique: true })
6006
6062
  ], User.prototype, "uniqueId", 2);
6007
6063
  __decorateClass([
6008
- Column63({ name: "parent_id", type: "integer", nullable: true }),
6064
+ Column64({ name: "parent_id", type: "integer", nullable: true }),
6009
6065
  Index56()
6010
6066
  ], User.prototype, "parentId", 2);
6011
6067
  __decorateClass([
6012
- ManyToOne57(() => User, (user) => user.children, { nullable: true }),
6013
- JoinColumn58({ name: "parent_id" })
6068
+ ManyToOne58(() => User, (user) => user.children, { nullable: true }),
6069
+ JoinColumn59({ name: "parent_id" })
6014
6070
  ], User.prototype, "parent", 2);
6015
6071
  __decorateClass([
6016
- OneToMany21(() => User, (user) => user.parent)
6072
+ OneToMany22(() => User, (user) => user.parent)
6017
6073
  ], User.prototype, "children", 2);
6018
6074
  __decorateClass([
6019
- Column63({ name: "username", type: "varchar", unique: true, nullable: true })
6075
+ Column64({ name: "username", type: "varchar", unique: true, nullable: true })
6020
6076
  ], User.prototype, "username", 2);
6021
6077
  __decorateClass([
6022
- Column63({ name: "first_name", type: "varchar", length: 100, nullable: true })
6078
+ Column64({ name: "first_name", type: "varchar", length: 100, nullable: true })
6023
6079
  ], User.prototype, "firstName", 2);
6024
6080
  __decorateClass([
6025
- Column63({ name: "last_name", type: "varchar", length: 100, nullable: true })
6081
+ Column64({ name: "last_name", type: "varchar", length: 100, nullable: true })
6026
6082
  ], User.prototype, "lastName", 2);
6027
6083
  __decorateClass([
6028
- Column63({ name: "date_of_birth", type: "date", nullable: true })
6084
+ Column64({ name: "date_of_birth", type: "date", nullable: true })
6029
6085
  ], User.prototype, "dateOfBirth", 2);
6030
6086
  __decorateClass([
6031
- Column63({ name: "gender", type: "varchar", length: 10, nullable: true })
6087
+ Column64({ name: "gender", type: "varchar", length: 10, nullable: true })
6032
6088
  ], User.prototype, "gender", 2);
6033
6089
  __decorateClass([
6034
- Column63({ name: "profile_picture_url", type: "text", nullable: true })
6090
+ Column64({ name: "profile_picture_url", type: "text", nullable: true })
6035
6091
  ], User.prototype, "profilePictureUrl", 2);
6036
6092
  __decorateClass([
6037
- Column63({ name: "email", type: "varchar", unique: true })
6093
+ Column64({ name: "email", type: "varchar", unique: true })
6038
6094
  ], User.prototype, "email", 2);
6039
6095
  __decorateClass([
6040
- Column63({ name: "mobile_code", type: "varchar", nullable: true })
6096
+ Column64({ name: "mobile_code", type: "varchar", nullable: true })
6041
6097
  ], User.prototype, "mobileCode", 2);
6042
6098
  __decorateClass([
6043
- Column63({ name: "mobile", type: "varchar", nullable: true })
6099
+ Column64({ name: "mobile", type: "varchar", nullable: true })
6044
6100
  ], User.prototype, "mobile", 2);
6045
6101
  __decorateClass([
6046
- Column63({ name: "password", type: "varchar", nullable: true })
6102
+ Column64({ name: "password", type: "varchar", nullable: true })
6047
6103
  ], User.prototype, "password", 2);
6048
6104
  __decorateClass([
6049
- Column63({
6105
+ Column64({
6050
6106
  name: "account_type",
6051
6107
  type: "enum",
6052
6108
  enum: AccountType,
@@ -6054,7 +6110,7 @@ __decorateClass([
6054
6110
  })
6055
6111
  ], User.prototype, "accountType", 2);
6056
6112
  __decorateClass([
6057
- Column63({
6113
+ Column64({
6058
6114
  name: "account_status",
6059
6115
  type: "enum",
6060
6116
  enum: AccountStatus,
@@ -6062,42 +6118,42 @@ __decorateClass([
6062
6118
  })
6063
6119
  ], User.prototype, "accountStatus", 2);
6064
6120
  __decorateClass([
6065
- Column63({ name: "is_email_verified", type: "boolean", default: false })
6121
+ Column64({ name: "is_email_verified", type: "boolean", default: false })
6066
6122
  ], User.prototype, "isEmailVerified", 2);
6067
6123
  __decorateClass([
6068
- Column63({ name: "is_mobile_verified", type: "boolean", default: false })
6124
+ Column64({ name: "is_mobile_verified", type: "boolean", default: false })
6069
6125
  ], User.prototype, "isMobileVerified", 2);
6070
6126
  __decorateClass([
6071
- Column63({ name: "is_social", type: "boolean", default: false })
6127
+ Column64({ name: "is_social", type: "boolean", default: false })
6072
6128
  ], User.prototype, "isSocial", 2);
6073
6129
  __decorateClass([
6074
- Column63({
6130
+ Column64({
6075
6131
  name: "last_login_at",
6076
6132
  type: "timestamp with time zone",
6077
6133
  nullable: true
6078
6134
  })
6079
6135
  ], User.prototype, "lastLoginAt", 2);
6080
6136
  __decorateClass([
6081
- Column63({ name: "last_login_ip", type: "varchar", nullable: true })
6137
+ Column64({ name: "last_login_ip", type: "varchar", nullable: true })
6082
6138
  ], User.prototype, "lastLoginIp", 2);
6083
6139
  __decorateClass([
6084
- Column63({ name: "reset_token", type: "varchar", nullable: true })
6140
+ Column64({ name: "reset_token", type: "varchar", nullable: true })
6085
6141
  ], User.prototype, "resetToken", 2);
6086
6142
  __decorateClass([
6087
- Column63({
6143
+ Column64({
6088
6144
  name: "reset_token_expire_at",
6089
6145
  type: "timestamp with time zone",
6090
6146
  nullable: true
6091
6147
  })
6092
6148
  ], User.prototype, "resetTokenExpireAt", 2);
6093
6149
  __decorateClass([
6094
- Column63({ name: "set_password_token", type: "varchar", nullable: true })
6150
+ Column64({ name: "set_password_token", type: "varchar", nullable: true })
6095
6151
  ], User.prototype, "setPasswordToken", 2);
6096
6152
  __decorateClass([
6097
- OneToMany21(() => RefreshToken, (token) => token.user)
6153
+ OneToMany22(() => RefreshToken, (token) => token.user)
6098
6154
  ], User.prototype, "refreshTokens", 2);
6099
6155
  __decorateClass([
6100
- Column63({
6156
+ Column64({
6101
6157
  name: "provider",
6102
6158
  type: "enum",
6103
6159
  enum: Provider,
@@ -6106,43 +6162,43 @@ __decorateClass([
6106
6162
  })
6107
6163
  ], User.prototype, "provider", 2);
6108
6164
  __decorateClass([
6109
- Column63({ name: "provider_token", type: "varchar", nullable: true })
6165
+ Column64({ name: "provider_token", type: "varchar", nullable: true })
6110
6166
  ], User.prototype, "providerToken", 2);
6111
6167
  __decorateClass([
6112
- Column63({ name: "linkedin_id", type: "varchar", nullable: true })
6168
+ Column64({ name: "linkedin_id", type: "varchar", nullable: true })
6113
6169
  ], User.prototype, "linkedInId", 2);
6114
6170
  __decorateClass([
6115
- Column63({ name: "google_id", type: "varchar", nullable: true })
6171
+ Column64({ name: "google_id", type: "varchar", nullable: true })
6116
6172
  ], User.prototype, "googleId", 2);
6117
6173
  __decorateClass([
6118
- Column63({ name: "gitlabs_id", type: "varchar", nullable: true })
6174
+ Column64({ name: "gitlabs_id", type: "varchar", nullable: true })
6119
6175
  ], User.prototype, "gitLabsId", 2);
6120
6176
  __decorateClass([
6121
- Column63({ name: "onboarded_by", type: "varchar", nullable: true })
6177
+ Column64({ name: "onboarded_by", type: "varchar", nullable: true })
6122
6178
  ], User.prototype, "onBoardedBy", 2);
6123
6179
  __decorateClass([
6124
- OneToMany21(() => Otp, (otp) => otp.user)
6180
+ OneToMany22(() => Otp, (otp) => otp.user)
6125
6181
  ], User.prototype, "otps", 2);
6126
6182
  __decorateClass([
6127
- OneToMany21(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
6183
+ OneToMany22(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
6128
6184
  ], User.prototype, "senseloafLogs", 2);
6129
6185
  __decorateClass([
6130
6186
  OneToOne12(() => CompanyProfile, (companyProfile) => companyProfile.user)
6131
6187
  ], User.prototype, "companyProfile", 2);
6132
6188
  __decorateClass([
6133
- OneToMany21(() => CompanySkill, (companySkill) => companySkill.user)
6189
+ OneToMany22(() => CompanySkill, (companySkill) => companySkill.user)
6134
6190
  ], User.prototype, "companySkills", 2);
6135
6191
  __decorateClass([
6136
- OneToMany21(
6192
+ OneToMany22(
6137
6193
  () => CompanyMemberRole,
6138
6194
  (companyMemberRole) => companyMemberRole.user
6139
6195
  )
6140
6196
  ], User.prototype, "companyMemberRoles", 2);
6141
6197
  __decorateClass([
6142
- OneToMany21(() => AiInterview, (aiInterview) => aiInterview.interviwer)
6198
+ OneToMany22(() => AiInterview, (aiInterview) => aiInterview.interviwer)
6143
6199
  ], User.prototype, "companyAiInterview", 2);
6144
6200
  __decorateClass([
6145
- OneToMany21(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
6201
+ OneToMany22(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
6146
6202
  ], User.prototype, "clientF2FInterviews", 2);
6147
6203
  __decorateClass([
6148
6204
  OneToOne12(
@@ -6154,61 +6210,61 @@ __decorateClass([
6154
6210
  OneToOne12(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
6155
6211
  ], User.prototype, "freelancerResume", 2);
6156
6212
  __decorateClass([
6157
- OneToMany21(
6213
+ OneToMany22(
6158
6214
  () => FreelancerAssessmentRequest,
6159
6215
  (freelancerAssessmentRequest) => freelancerAssessmentRequest.freelancer
6160
6216
  )
6161
6217
  ], User.prototype, "freelancerAssessmentRequests", 2);
6162
6218
  __decorateClass([
6163
- OneToMany21(
6219
+ OneToMany22(
6164
6220
  () => FreelancerAssessmentRequest,
6165
6221
  (freelancerAssessment) => freelancerAssessment.approvedBy
6166
6222
  )
6167
6223
  ], User.prototype, "assessmentRequests", 2);
6168
6224
  __decorateClass([
6169
- OneToMany21(
6225
+ OneToMany22(
6170
6226
  () => FreelancerAssessment,
6171
6227
  (freelancerAssessment) => freelancerAssessment.user
6172
6228
  )
6173
6229
  ], User.prototype, "assessments", 2);
6174
6230
  __decorateClass([
6175
- OneToMany21(
6231
+ OneToMany22(
6176
6232
  () => AssessmentAnswer,
6177
6233
  (assessmentAnswer) => assessmentAnswer.user
6178
6234
  )
6179
6235
  ], User.prototype, "assessmentAnswers", 2);
6180
6236
  __decorateClass([
6181
- OneToMany21(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
6237
+ OneToMany22(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
6182
6238
  ], User.prototype, "freelancerSkills", 2);
6183
6239
  __decorateClass([
6184
- OneToMany21(
6240
+ OneToMany22(
6185
6241
  () => FreelancerExperience,
6186
6242
  (freelancerExperience) => freelancerExperience.user
6187
6243
  )
6188
6244
  ], User.prototype, "freelancerExperience", 2);
6189
6245
  __decorateClass([
6190
- OneToMany21(
6246
+ OneToMany22(
6191
6247
  () => FreelancerEducation,
6192
6248
  (freelancerEducation) => freelancerEducation.user
6193
6249
  )
6194
6250
  ], User.prototype, "freelancerEducation", 2);
6195
6251
  __decorateClass([
6196
- OneToMany21(
6252
+ OneToMany22(
6197
6253
  () => FreelancerProject,
6198
6254
  (freelancerProject) => freelancerProject.user
6199
6255
  )
6200
6256
  ], User.prototype, "freelancerProject", 2);
6201
6257
  __decorateClass([
6202
- OneToMany21(
6258
+ OneToMany22(
6203
6259
  () => FreelancerCaseStudy,
6204
6260
  (freelancerCaseStudy) => freelancerCaseStudy.user
6205
6261
  )
6206
6262
  ], User.prototype, "freelancerCaseStudy", 2);
6207
6263
  __decorateClass([
6208
- OneToMany21(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
6264
+ OneToMany22(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
6209
6265
  ], User.prototype, "freelancerTool", 2);
6210
6266
  __decorateClass([
6211
- OneToMany21(
6267
+ OneToMany22(
6212
6268
  () => FreelancerFramework,
6213
6269
  (freelancerFramework) => freelancerFramework.user
6214
6270
  )
@@ -6220,112 +6276,118 @@ __decorateClass([
6220
6276
  )
6221
6277
  ], User.prototype, "freelancerDeclaration", 2);
6222
6278
  __decorateClass([
6223
- OneToMany21(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
6279
+ OneToMany22(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
6224
6280
  ], User.prototype, "freelancerMcq", 2);
6225
6281
  __decorateClass([
6226
- OneToMany21(() => AiInterview, (aiInterview) => aiInterview.candidate)
6282
+ OneToMany22(() => AiInterview, (aiInterview) => aiInterview.candidate)
6227
6283
  ], User.prototype, "freelancerAiInterview", 2);
6228
6284
  __decorateClass([
6229
- OneToMany21(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
6285
+ OneToMany22(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
6230
6286
  ], User.prototype, "freelancerF2FInterviews", 2);
6231
6287
  __decorateClass([
6232
- OneToMany21(
6288
+ OneToMany22(
6233
6289
  () => F2fInterviewRescheduleRequest,
6234
6290
  (f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
6235
6291
  )
6236
6292
  ], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
6237
6293
  __decorateClass([
6238
- OneToMany21(() => Job, (job) => job.user)
6294
+ OneToMany22(
6295
+ () => AiInterviewRescheduleRequest,
6296
+ (aiInterviewRescheduleRequest) => aiInterviewRescheduleRequest.candidate
6297
+ )
6298
+ ], User.prototype, "freelancerAiInterviewRescheduleRequests", 2);
6299
+ __decorateClass([
6300
+ OneToMany22(() => Job, (job) => job.user)
6239
6301
  ], User.prototype, "jobs", 2);
6240
6302
  __decorateClass([
6241
- OneToMany21(() => JobApplication, (jobApplication) => jobApplication.user)
6303
+ OneToMany22(() => JobApplication, (jobApplication) => jobApplication.user)
6242
6304
  ], User.prototype, "jobApplications", 2);
6243
6305
  __decorateClass([
6244
- OneToMany21(() => Interview, (interview) => interview.user)
6306
+ OneToMany22(() => Interview, (interview) => interview.user)
6245
6307
  ], User.prototype, "interviews", 2);
6246
6308
  __decorateClass([
6247
- OneToMany21(() => BankDetail, (bankDetail) => bankDetail.user)
6309
+ OneToMany22(() => BankDetail, (bankDetail) => bankDetail.user)
6248
6310
  ], User.prototype, "bankDetail", 2);
6249
6311
  __decorateClass([
6250
- OneToMany21(
6312
+ OneToMany22(
6251
6313
  () => SystemPreference,
6252
6314
  (systemPreference) => systemPreference.user
6253
6315
  )
6254
6316
  ], User.prototype, "systemPreference", 2);
6255
6317
  __decorateClass([
6256
- OneToMany21(() => Rating, (rating) => rating.reviewer)
6318
+ OneToMany22(() => Rating, (rating) => rating.reviewer)
6257
6319
  ], User.prototype, "givenRatings", 2);
6258
6320
  __decorateClass([
6259
- OneToMany21(() => Rating, (rating) => rating.reviewee)
6321
+ OneToMany22(() => Rating, (rating) => rating.reviewee)
6260
6322
  ], User.prototype, "receivedRatings", 2);
6261
6323
  __decorateClass([
6262
- OneToMany21(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
6324
+ OneToMany22(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
6263
6325
  ], User.prototype, "adminUserRoles", 2);
6264
6326
  __decorateClass([
6265
- OneToMany21(() => Contract, (contract) => contract.client)
6327
+ OneToMany22(() => Contract, (contract) => contract.client)
6266
6328
  ], User.prototype, "clientContracts", 2);
6267
6329
  __decorateClass([
6268
- OneToMany21(() => Hiring, (hiring) => hiring.client)
6330
+ OneToMany22(() => Hiring, (hiring) => hiring.client)
6269
6331
  ], User.prototype, "clientHirings", 2);
6270
6332
  __decorateClass([
6271
- OneToMany21(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
6333
+ OneToMany22(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
6272
6334
  ], User.prototype, "clientEscrowWallets", 2);
6273
6335
  __decorateClass([
6274
- OneToMany21(() => Contract, (contract) => contract.freelancer)
6336
+ OneToMany22(() => Contract, (contract) => contract.freelancer)
6275
6337
  ], User.prototype, "freelancerContracts", 2);
6276
6338
  __decorateClass([
6277
- OneToMany21(() => Hiring, (hiring) => hiring.freelancer)
6339
+ OneToMany22(() => Hiring, (hiring) => hiring.freelancer)
6278
6340
  ], User.prototype, "freelancerHirings", 2);
6279
6341
  __decorateClass([
6280
- OneToMany21(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
6342
+ OneToMany22(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
6281
6343
  ], User.prototype, "freelancerEscrowWallets", 2);
6282
6344
  __decorateClass([
6283
6345
  OneToOne12(() => Signature, (signature) => signature.user)
6284
6346
  ], User.prototype, "signatures", 2);
6285
6347
  __decorateClass([
6286
- OneToMany21(() => Timesheet, (timesheet) => timesheet.client)
6348
+ OneToMany22(() => Timesheet, (timesheet) => timesheet.client)
6287
6349
  ], User.prototype, "clientTimesheets", 2);
6288
6350
  __decorateClass([
6289
- OneToMany21(() => Timesheet, (timesheet) => timesheet.freelancer)
6351
+ OneToMany22(() => Timesheet, (timesheet) => timesheet.freelancer)
6290
6352
  ], User.prototype, "freelancerTimesheets", 2);
6291
6353
  __decorateClass([
6292
- OneToMany21(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
6354
+ OneToMany22(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
6293
6355
  ], User.prototype, "clientTimesheetLine", 2);
6294
6356
  __decorateClass([
6295
- OneToMany21(() => Invoice, (invoice) => invoice.client)
6357
+ OneToMany22(() => Invoice, (invoice) => invoice.client)
6296
6358
  ], User.prototype, "clientInvoice", 2);
6297
6359
  __decorateClass([
6298
- OneToMany21(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
6360
+ OneToMany22(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
6299
6361
  ], User.prototype, "freelancerTimesheetLine", 2);
6300
6362
  __decorateClass([
6301
- OneToMany21(() => Invoice, (invoice) => invoice.freelancer)
6363
+ OneToMany22(() => Invoice, (invoice) => invoice.freelancer)
6302
6364
  ], User.prototype, "freelancerInvoice", 2);
6303
6365
  __decorateClass([
6304
- OneToMany21(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
6366
+ OneToMany22(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
6305
6367
  ], User.prototype, "clientPreferencesGiven", 2);
6306
6368
  __decorateClass([
6307
- OneToMany21(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
6369
+ OneToMany22(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
6308
6370
  ], User.prototype, "clientPreferencesReceived", 2);
6309
6371
  __decorateClass([
6310
- OneToMany21(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
6372
+ OneToMany22(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
6311
6373
  ], User.prototype, "initiatedDisputes", 2);
6312
6374
  __decorateClass([
6313
- OneToMany21(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
6375
+ OneToMany22(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
6314
6376
  ], User.prototype, "respondentDisputes", 2);
6315
6377
  __decorateClass([
6316
6378
  OneToOne12(() => Wallet, (wallet) => wallet.user)
6317
6379
  ], User.prototype, "wallet", 2);
6318
6380
  __decorateClass([
6319
- OneToMany21(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
6381
+ OneToMany22(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
6320
6382
  ], User.prototype, "stripeTransactions", 2);
6321
6383
  __decorateClass([
6322
- OneToMany21(() => Dispute, (dispute) => dispute.client)
6384
+ OneToMany22(() => Dispute, (dispute) => dispute.client)
6323
6385
  ], User.prototype, "clientDisputes", 2);
6324
6386
  __decorateClass([
6325
- OneToMany21(() => Dispute, (dispute) => dispute.freelancer)
6387
+ OneToMany22(() => Dispute, (dispute) => dispute.freelancer)
6326
6388
  ], User.prototype, "freelancerDisputes", 2);
6327
6389
  User = __decorateClass([
6328
- Entity62("users")
6390
+ Entity63("users")
6329
6391
  ], User);
6330
6392
 
6331
6393
  // src/entities/rating.entity.ts
@@ -6337,36 +6399,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
6337
6399
  var Rating = class extends BaseEntity {
6338
6400
  };
6339
6401
  __decorateClass([
6340
- Column64({ name: "reviewer_id", type: "integer" }),
6402
+ Column65({ name: "reviewer_id", type: "integer" }),
6341
6403
  Index57()
6342
6404
  ], Rating.prototype, "reviewer_id", 2);
6343
6405
  __decorateClass([
6344
- ManyToOne58(() => User, { onDelete: "CASCADE" }),
6345
- JoinColumn59({ name: "reviewer_id" })
6406
+ ManyToOne59(() => User, { onDelete: "CASCADE" }),
6407
+ JoinColumn60({ name: "reviewer_id" })
6346
6408
  ], Rating.prototype, "reviewer", 2);
6347
6409
  __decorateClass([
6348
- Column64({ name: "reviewee_id", type: "integer" }),
6410
+ Column65({ name: "reviewee_id", type: "integer" }),
6349
6411
  Index57()
6350
6412
  ], Rating.prototype, "reviewee_id", 2);
6351
6413
  __decorateClass([
6352
- ManyToOne58(() => User, { onDelete: "CASCADE" }),
6353
- JoinColumn59({ name: "reviewee_id" })
6414
+ ManyToOne59(() => User, { onDelete: "CASCADE" }),
6415
+ JoinColumn60({ name: "reviewee_id" })
6354
6416
  ], Rating.prototype, "reviewee", 2);
6355
6417
  __decorateClass([
6356
- Column64({
6418
+ Column65({
6357
6419
  type: "enum",
6358
6420
  enum: RatingTypeEnum,
6359
6421
  nullable: true
6360
6422
  })
6361
6423
  ], Rating.prototype, "ratingType", 2);
6362
6424
  __decorateClass([
6363
- Column64({ type: "integer", nullable: true })
6425
+ Column65({ type: "integer", nullable: true })
6364
6426
  ], Rating.prototype, "rating", 2);
6365
6427
  __decorateClass([
6366
- Column64({ type: "text", nullable: true })
6428
+ Column65({ type: "text", nullable: true })
6367
6429
  ], Rating.prototype, "review", 2);
6368
6430
  Rating = __decorateClass([
6369
- Entity63("ratings")
6431
+ Entity64("ratings")
6370
6432
  ], Rating);
6371
6433
 
6372
6434
  // src/modules/rating/dto/add.rating.dto.ts
@@ -8566,11 +8628,11 @@ var ChatRMQAdapter = (mode = "microservice") => {
8566
8628
  };
8567
8629
 
8568
8630
  // src/entities/sequence-generator.entity.ts
8569
- import { Entity as Entity64, Column as Column65 } from "typeorm";
8631
+ import { Entity as Entity65, Column as Column66 } from "typeorm";
8570
8632
  var SequenceGenerator = class extends BaseEntity {
8571
8633
  };
8572
8634
  __decorateClass([
8573
- Column65({
8635
+ Column66({
8574
8636
  name: "module",
8575
8637
  type: "varchar",
8576
8638
  length: 50,
@@ -8579,7 +8641,7 @@ __decorateClass([
8579
8641
  })
8580
8642
  ], SequenceGenerator.prototype, "module", 2);
8581
8643
  __decorateClass([
8582
- Column65({
8644
+ Column66({
8583
8645
  name: "prefix",
8584
8646
  type: "varchar",
8585
8647
  length: 10,
@@ -8588,7 +8650,7 @@ __decorateClass([
8588
8650
  })
8589
8651
  ], SequenceGenerator.prototype, "prefix", 2);
8590
8652
  __decorateClass([
8591
- Column65({
8653
+ Column66({
8592
8654
  name: "last_sequence",
8593
8655
  type: "int",
8594
8656
  nullable: false,
@@ -8596,7 +8658,7 @@ __decorateClass([
8596
8658
  })
8597
8659
  ], SequenceGenerator.prototype, "lastSequence", 2);
8598
8660
  __decorateClass([
8599
- Column65({
8661
+ Column66({
8600
8662
  name: "year",
8601
8663
  type: "int",
8602
8664
  nullable: true,
@@ -8604,11 +8666,11 @@ __decorateClass([
8604
8666
  })
8605
8667
  ], SequenceGenerator.prototype, "year", 2);
8606
8668
  SequenceGenerator = __decorateClass([
8607
- Entity64("sequence_generators")
8669
+ Entity65("sequence_generators")
8608
8670
  ], SequenceGenerator);
8609
8671
 
8610
8672
  // src/entities/question.entity.ts
8611
- import { Entity as Entity65, Column as Column66 } from "typeorm";
8673
+ import { Entity as Entity66, Column as Column67 } from "typeorm";
8612
8674
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
8613
8675
  QuestionFor2["CLIENT"] = "CLIENT";
8614
8676
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -8617,16 +8679,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
8617
8679
  var Question = class extends BaseEntity {
8618
8680
  };
8619
8681
  __decorateClass([
8620
- Column66({ name: "question", type: "varchar" })
8682
+ Column67({ name: "question", type: "varchar" })
8621
8683
  ], Question.prototype, "question", 2);
8622
8684
  __decorateClass([
8623
- Column66({ name: "hint", type: "varchar", nullable: true })
8685
+ Column67({ name: "hint", type: "varchar", nullable: true })
8624
8686
  ], Question.prototype, "hint", 2);
8625
8687
  __decorateClass([
8626
- Column66({ name: "slug", type: "varchar", nullable: true, unique: true })
8688
+ Column67({ name: "slug", type: "varchar", nullable: true, unique: true })
8627
8689
  ], Question.prototype, "slug", 2);
8628
8690
  __decorateClass([
8629
- Column66({
8691
+ Column67({
8630
8692
  name: "question_for",
8631
8693
  type: "enum",
8632
8694
  enum: QuestionFor,
@@ -8634,49 +8696,49 @@ __decorateClass([
8634
8696
  })
8635
8697
  ], Question.prototype, "questionFor", 2);
8636
8698
  __decorateClass([
8637
- Column66({ name: "type", type: "varchar", nullable: true })
8699
+ Column67({ name: "type", type: "varchar", nullable: true })
8638
8700
  ], Question.prototype, "type", 2);
8639
8701
  __decorateClass([
8640
- Column66({ name: "options", type: "jsonb", nullable: true })
8702
+ Column67({ name: "options", type: "jsonb", nullable: true })
8641
8703
  ], Question.prototype, "options", 2);
8642
8704
  __decorateClass([
8643
- Column66({ name: "is_active", type: "boolean", default: false })
8705
+ Column67({ name: "is_active", type: "boolean", default: false })
8644
8706
  ], Question.prototype, "isActive", 2);
8645
8707
  Question = __decorateClass([
8646
- Entity65("questions")
8708
+ Entity66("questions")
8647
8709
  ], Question);
8648
8710
 
8649
8711
  // src/entities/skill.entity.ts
8650
- import { Entity as Entity66, Column as Column67 } from "typeorm";
8712
+ import { Entity as Entity67, Column as Column68 } from "typeorm";
8651
8713
  var Skill = class extends BaseEntity {
8652
8714
  };
8653
8715
  __decorateClass([
8654
- Column67({ name: "name", type: "varchar", nullable: true })
8716
+ Column68({ name: "name", type: "varchar", nullable: true })
8655
8717
  ], Skill.prototype, "name", 2);
8656
8718
  __decorateClass([
8657
- Column67({ name: "slug", type: "varchar", nullable: true, unique: true })
8719
+ Column68({ name: "slug", type: "varchar", nullable: true, unique: true })
8658
8720
  ], Skill.prototype, "slug", 2);
8659
8721
  __decorateClass([
8660
- Column67({ name: "is_active", type: "boolean", default: false })
8722
+ Column68({ name: "is_active", type: "boolean", default: false })
8661
8723
  ], Skill.prototype, "isActive", 2);
8662
8724
  Skill = __decorateClass([
8663
- Entity66("skills")
8725
+ Entity67("skills")
8664
8726
  ], Skill);
8665
8727
 
8666
8728
  // src/entities/skill-catalog.entity.ts
8667
8729
  import {
8668
- Entity as Entity67,
8669
- Column as Column68,
8730
+ Entity as Entity68,
8731
+ Column as Column69,
8670
8732
  Index as Index58
8671
8733
  } from "typeorm";
8672
8734
  var SkillCatalog = class extends BaseEntity {
8673
8735
  };
8674
8736
  __decorateClass([
8675
- Column68({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
8737
+ Column69({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
8676
8738
  Index58()
8677
8739
  ], SkillCatalog.prototype, "canonicalName", 2);
8678
8740
  __decorateClass([
8679
- Column68({
8741
+ Column69({
8680
8742
  name: "aliases",
8681
8743
  type: "text",
8682
8744
  array: true,
@@ -8684,20 +8746,20 @@ __decorateClass([
8684
8746
  })
8685
8747
  ], SkillCatalog.prototype, "aliases", 2);
8686
8748
  __decorateClass([
8687
- Column68({
8749
+ Column69({
8688
8750
  name: "variations",
8689
8751
  type: "jsonb",
8690
8752
  default: "{}"
8691
8753
  })
8692
8754
  ], SkillCatalog.prototype, "variations", 2);
8693
8755
  __decorateClass([
8694
- Column68({ name: "category", type: "varchar", length: 50, nullable: true })
8756
+ Column69({ name: "category", type: "varchar", length: 50, nullable: true })
8695
8757
  ], SkillCatalog.prototype, "category", 2);
8696
8758
  __decorateClass([
8697
- Column68({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
8759
+ Column69({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
8698
8760
  ], SkillCatalog.prototype, "parentSkill", 2);
8699
8761
  __decorateClass([
8700
- Column68({
8762
+ Column69({
8701
8763
  name: "related_skills",
8702
8764
  type: "text",
8703
8765
  array: true,
@@ -8705,113 +8767,113 @@ __decorateClass([
8705
8767
  })
8706
8768
  ], SkillCatalog.prototype, "relatedSkills", 2);
8707
8769
  __decorateClass([
8708
- Column68({ name: "usage_count", type: "integer", default: 0 }),
8770
+ Column69({ name: "usage_count", type: "integer", default: 0 }),
8709
8771
  Index58()
8710
8772
  ], SkillCatalog.prototype, "usageCount", 2);
8711
8773
  __decorateClass([
8712
- Column68({ name: "is_verified", type: "boolean", default: false })
8774
+ Column69({ name: "is_verified", type: "boolean", default: false })
8713
8775
  ], SkillCatalog.prototype, "isVerified", 2);
8714
8776
  __decorateClass([
8715
- Column68({ name: "first_seen_date", type: "date" })
8777
+ Column69({ name: "first_seen_date", type: "date" })
8716
8778
  ], SkillCatalog.prototype, "firstSeenDate", 2);
8717
8779
  __decorateClass([
8718
- Column68({ name: "last_updated_date", type: "date" })
8780
+ Column69({ name: "last_updated_date", type: "date" })
8719
8781
  ], SkillCatalog.prototype, "lastUpdatedDate", 2);
8720
8782
  __decorateClass([
8721
- Column68({
8783
+ Column69({
8722
8784
  name: "search_vector",
8723
8785
  type: "tsvector",
8724
8786
  nullable: true
8725
8787
  })
8726
8788
  ], SkillCatalog.prototype, "searchVector", 2);
8727
8789
  SkillCatalog = __decorateClass([
8728
- Entity67("skill_catalogs")
8790
+ Entity68("skill_catalogs")
8729
8791
  ], SkillCatalog);
8730
8792
 
8731
8793
  // src/entities/job-role.entity.ts
8732
- import { Entity as Entity68, Column as Column69 } from "typeorm";
8794
+ import { Entity as Entity69, Column as Column70 } from "typeorm";
8733
8795
  var JobRoles = class extends BaseEntity {
8734
8796
  };
8735
8797
  __decorateClass([
8736
- Column69({ name: "slug", type: "varchar", nullable: true, unique: true })
8798
+ Column70({ name: "slug", type: "varchar", nullable: true, unique: true })
8737
8799
  ], JobRoles.prototype, "slug", 2);
8738
8800
  __decorateClass([
8739
- Column69({ name: "name", type: "varchar", nullable: true })
8801
+ Column70({ name: "name", type: "varchar", nullable: true })
8740
8802
  ], JobRoles.prototype, "name", 2);
8741
8803
  __decorateClass([
8742
- Column69({ name: "is_active", type: "boolean", default: true })
8804
+ Column70({ name: "is_active", type: "boolean", default: true })
8743
8805
  ], JobRoles.prototype, "isActive", 2);
8744
8806
  JobRoles = __decorateClass([
8745
- Entity68("job_roles")
8807
+ Entity69("job_roles")
8746
8808
  ], JobRoles);
8747
8809
 
8748
8810
  // src/entities/plan.entity.ts
8749
- import { Entity as Entity70, Column as Column71, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
8811
+ import { Entity as Entity71, Column as Column72, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
8750
8812
 
8751
8813
  // src/entities/feature.entity.ts
8752
- import { Entity as Entity69, Column as Column70, ManyToMany as ManyToMany2 } from "typeorm";
8814
+ import { Entity as Entity70, Column as Column71, ManyToMany as ManyToMany2 } from "typeorm";
8753
8815
  var Feature = class extends BaseEntity {
8754
8816
  };
8755
8817
  __decorateClass([
8756
- Column70({ name: "name", type: "varchar", unique: true })
8818
+ Column71({ name: "name", type: "varchar", unique: true })
8757
8819
  ], Feature.prototype, "name", 2);
8758
8820
  __decorateClass([
8759
8821
  ManyToMany2(() => Plan, (plan) => plan.features)
8760
8822
  ], Feature.prototype, "plans", 2);
8761
8823
  Feature = __decorateClass([
8762
- Entity69("features")
8824
+ Entity70("features")
8763
8825
  ], Feature);
8764
8826
 
8765
8827
  // src/entities/plan.entity.ts
8766
8828
  var Plan = class extends BaseEntity {
8767
8829
  };
8768
8830
  __decorateClass([
8769
- Column71({ name: "name", type: "varchar", unique: true })
8831
+ Column72({ name: "name", type: "varchar", unique: true })
8770
8832
  ], Plan.prototype, "name", 2);
8771
8833
  __decorateClass([
8772
- Column71({ name: "description", type: "varchar", nullable: true })
8834
+ Column72({ name: "description", type: "varchar", nullable: true })
8773
8835
  ], Plan.prototype, "description", 2);
8774
8836
  __decorateClass([
8775
- Column71({ name: "price", type: "decimal", precision: 10, scale: 2 })
8837
+ Column72({ name: "price", type: "decimal", precision: 10, scale: 2 })
8776
8838
  ], Plan.prototype, "price", 2);
8777
8839
  __decorateClass([
8778
- Column71({ name: "billing_period", type: "varchar" })
8840
+ Column72({ name: "billing_period", type: "varchar" })
8779
8841
  ], Plan.prototype, "billingPeriod", 2);
8780
8842
  __decorateClass([
8781
- Column71({ name: "is_current", type: "boolean", default: false })
8843
+ Column72({ name: "is_current", type: "boolean", default: false })
8782
8844
  ], Plan.prototype, "isCurrent", 2);
8783
8845
  __decorateClass([
8784
8846
  ManyToMany3(() => Feature, (feature) => feature.plans, { cascade: true }),
8785
8847
  JoinTable()
8786
8848
  ], Plan.prototype, "features", 2);
8787
8849
  Plan = __decorateClass([
8788
- Entity70("plans")
8850
+ Entity71("plans")
8789
8851
  ], Plan);
8790
8852
 
8791
8853
  // src/entities/cms.entity.ts
8792
- import { Entity as Entity71, Column as Column72 } from "typeorm";
8854
+ import { Entity as Entity72, Column as Column73 } from "typeorm";
8793
8855
  var Cms = class extends BaseEntity {
8794
8856
  };
8795
8857
  __decorateClass([
8796
- Column72({ name: "title", type: "varchar", nullable: true })
8858
+ Column73({ name: "title", type: "varchar", nullable: true })
8797
8859
  ], Cms.prototype, "title", 2);
8798
8860
  __decorateClass([
8799
- Column72({ name: "slug", type: "varchar", nullable: true, unique: true })
8861
+ Column73({ name: "slug", type: "varchar", nullable: true, unique: true })
8800
8862
  ], Cms.prototype, "slug", 2);
8801
8863
  __decorateClass([
8802
- Column72({ name: "content", type: "varchar", nullable: true })
8864
+ Column73({ name: "content", type: "varchar", nullable: true })
8803
8865
  ], Cms.prototype, "content", 2);
8804
8866
  __decorateClass([
8805
- Column72({ name: "is_active", type: "boolean", default: true })
8867
+ Column73({ name: "is_active", type: "boolean", default: true })
8806
8868
  ], Cms.prototype, "isActive", 2);
8807
8869
  Cms = __decorateClass([
8808
- Entity71("cms")
8870
+ Entity72("cms")
8809
8871
  ], Cms);
8810
8872
 
8811
8873
  // src/entities/lead.entity.ts
8812
8874
  import {
8813
- Entity as Entity72,
8814
- Column as Column73
8875
+ Entity as Entity73,
8876
+ Column as Column74
8815
8877
  } from "typeorm";
8816
8878
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
8817
8879
  CategoryEmum2["BUSINESS"] = "BUSINESS";
@@ -8821,22 +8883,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
8821
8883
  var Lead = class extends BaseEntity {
8822
8884
  };
8823
8885
  __decorateClass([
8824
- Column73({ name: "name", type: "varchar", nullable: true })
8886
+ Column74({ name: "name", type: "varchar", nullable: true })
8825
8887
  ], Lead.prototype, "name", 2);
8826
8888
  __decorateClass([
8827
- Column73({ name: "mobile_code", type: "varchar", nullable: true })
8889
+ Column74({ name: "mobile_code", type: "varchar", nullable: true })
8828
8890
  ], Lead.prototype, "mobileCode", 2);
8829
8891
  __decorateClass([
8830
- Column73({ name: "mobile", type: "varchar", nullable: true })
8892
+ Column74({ name: "mobile", type: "varchar", nullable: true })
8831
8893
  ], Lead.prototype, "mobile", 2);
8832
8894
  __decorateClass([
8833
- Column73({ name: "email", type: "varchar", nullable: true })
8895
+ Column74({ name: "email", type: "varchar", nullable: true })
8834
8896
  ], Lead.prototype, "email", 2);
8835
8897
  __decorateClass([
8836
- Column73({ name: "description", type: "varchar", nullable: true })
8898
+ Column74({ name: "description", type: "varchar", nullable: true })
8837
8899
  ], Lead.prototype, "description", 2);
8838
8900
  __decorateClass([
8839
- Column73({
8901
+ Column74({
8840
8902
  name: "category",
8841
8903
  type: "enum",
8842
8904
  enum: CategoryEmum,
@@ -8844,7 +8906,7 @@ __decorateClass([
8844
8906
  })
8845
8907
  ], Lead.prototype, "category", 2);
8846
8908
  Lead = __decorateClass([
8847
- Entity72("leads")
8909
+ Entity73("leads")
8848
8910
  ], Lead);
8849
8911
 
8850
8912
  // src/entities/job-freelancer-recommendation.entity.ts
@@ -9085,7 +9147,7 @@ ClientFreelancerRecommendation = __decorateClass([
9085
9147
  ], ClientFreelancerRecommendation);
9086
9148
 
9087
9149
  // src/entities/commission.entity.ts
9088
- import { Entity as Entity73, Column as Column74 } from "typeorm";
9150
+ import { Entity as Entity74, Column as Column75 } from "typeorm";
9089
9151
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
9090
9152
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
9091
9153
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -9094,7 +9156,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
9094
9156
  var Commission = class extends BaseEntity {
9095
9157
  };
9096
9158
  __decorateClass([
9097
- Column74({
9159
+ Column75({
9098
9160
  name: "freelancer_commission_type",
9099
9161
  type: "enum",
9100
9162
  enum: CommissionTypeEnum,
@@ -9102,10 +9164,10 @@ __decorateClass([
9102
9164
  })
9103
9165
  ], Commission.prototype, "freelancerCommissionType", 2);
9104
9166
  __decorateClass([
9105
- Column74({ name: "freelancer_commission", type: "integer", default: 0 })
9167
+ Column75({ name: "freelancer_commission", type: "integer", default: 0 })
9106
9168
  ], Commission.prototype, "freelancerCommission", 2);
9107
9169
  __decorateClass([
9108
- Column74({
9170
+ Column75({
9109
9171
  name: "client_commission_type",
9110
9172
  type: "enum",
9111
9173
  enum: CommissionTypeEnum,
@@ -9113,86 +9175,86 @@ __decorateClass([
9113
9175
  })
9114
9176
  ], Commission.prototype, "clientCommissionType", 2);
9115
9177
  __decorateClass([
9116
- Column74({ name: "client_commission", type: "integer", default: 0 })
9178
+ Column75({ name: "client_commission", type: "integer", default: 0 })
9117
9179
  ], Commission.prototype, "clientCommission", 2);
9118
9180
  Commission = __decorateClass([
9119
- Entity73("commissions")
9181
+ Entity74("commissions")
9120
9182
  ], Commission);
9121
9183
 
9122
9184
  // src/entities/calendly-meeting-log.entity.ts
9123
9185
  import {
9124
- Entity as Entity74,
9125
- Column as Column75,
9186
+ Entity as Entity75,
9187
+ Column as Column76,
9126
9188
  Index as Index59
9127
9189
  } from "typeorm";
9128
9190
  var CalendlyMeetingLog = class extends BaseEntity {
9129
9191
  };
9130
9192
  __decorateClass([
9131
- Column75({ name: "calendly_event_id", type: "varchar", nullable: true }),
9193
+ Column76({ name: "calendly_event_id", type: "varchar", nullable: true }),
9132
9194
  Index59()
9133
9195
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
9134
9196
  __decorateClass([
9135
- Column75({ name: "calendly_event_type", type: "varchar", nullable: true })
9197
+ Column76({ name: "calendly_event_type", type: "varchar", nullable: true })
9136
9198
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
9137
9199
  __decorateClass([
9138
- Column75({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9200
+ Column76({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9139
9201
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
9140
9202
  CalendlyMeetingLog = __decorateClass([
9141
- Entity74("calendly_meeting_logs")
9203
+ Entity75("calendly_meeting_logs")
9142
9204
  ], CalendlyMeetingLog);
9143
9205
 
9144
9206
  // src/entities/zoom-meeting-log.entity.ts
9145
9207
  import {
9146
- Entity as Entity75,
9147
- Column as Column76,
9208
+ Entity as Entity76,
9209
+ Column as Column77,
9148
9210
  Index as Index60
9149
9211
  } from "typeorm";
9150
9212
  var ZoomMeetingLog = class extends BaseEntity {
9151
9213
  };
9152
9214
  __decorateClass([
9153
- Column76({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
9215
+ Column77({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
9154
9216
  Index60()
9155
9217
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
9156
9218
  __decorateClass([
9157
- Column76({ name: "zoom_event_type", type: "varchar", nullable: true })
9219
+ Column77({ name: "zoom_event_type", type: "varchar", nullable: true })
9158
9220
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
9159
9221
  __decorateClass([
9160
- Column76({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9222
+ Column77({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9161
9223
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
9162
9224
  ZoomMeetingLog = __decorateClass([
9163
- Entity75("zoom_meeting_logs")
9225
+ Entity76("zoom_meeting_logs")
9164
9226
  ], ZoomMeetingLog);
9165
9227
 
9166
9228
  // src/entities/stripe-logs.entity.ts
9167
- import { Entity as Entity76, Column as Column77 } from "typeorm";
9229
+ import { Entity as Entity77, Column as Column78 } from "typeorm";
9168
9230
  var StripeLog = class extends BaseEntity {
9169
9231
  };
9170
9232
  __decorateClass([
9171
- Column77({ name: "stripe_event_id", type: "varchar", nullable: true })
9233
+ Column78({ name: "stripe_event_id", type: "varchar", nullable: true })
9172
9234
  ], StripeLog.prototype, "stripeEventId", 2);
9173
9235
  __decorateClass([
9174
- Column77({ name: "event_type", type: "varchar", nullable: true })
9236
+ Column78({ name: "event_type", type: "varchar", nullable: true })
9175
9237
  ], StripeLog.prototype, "eventType", 2);
9176
9238
  __decorateClass([
9177
- Column77({ name: "stripe_account_id", type: "varchar", nullable: true })
9239
+ Column78({ name: "stripe_account_id", type: "varchar", nullable: true })
9178
9240
  ], StripeLog.prototype, "stripeAccountId", 2);
9179
9241
  __decorateClass([
9180
- Column77({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9242
+ Column78({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9181
9243
  ], StripeLog.prototype, "rawWebhookData", 2);
9182
9244
  StripeLog = __decorateClass([
9183
- Entity76("stripe_logs")
9245
+ Entity77("stripe_logs")
9184
9246
  ], StripeLog);
9185
9247
 
9186
9248
  // src/entities/recommendation-weightage-config.entity.ts
9187
9249
  import {
9188
- Entity as Entity77,
9189
- Column as Column78,
9250
+ Entity as Entity78,
9251
+ Column as Column79,
9190
9252
  Index as Index61
9191
9253
  } from "typeorm";
9192
9254
  var RecommendationWeightageConfig = class extends BaseEntity {
9193
9255
  };
9194
9256
  __decorateClass([
9195
- Column78({
9257
+ Column79({
9196
9258
  type: "varchar",
9197
9259
  length: 100,
9198
9260
  unique: true,
@@ -9201,17 +9263,17 @@ __decorateClass([
9201
9263
  Index61()
9202
9264
  ], RecommendationWeightageConfig.prototype, "key", 2);
9203
9265
  __decorateClass([
9204
- Column78({
9266
+ Column79({
9205
9267
  type: "jsonb",
9206
9268
  comment: "JSON object containing weight values",
9207
9269
  nullable: true
9208
9270
  })
9209
9271
  ], RecommendationWeightageConfig.prototype, "value", 2);
9210
9272
  __decorateClass([
9211
- Column78({ name: "is_active", type: "boolean", default: true })
9273
+ Column79({ name: "is_active", type: "boolean", default: true })
9212
9274
  ], RecommendationWeightageConfig.prototype, "isActive", 2);
9213
9275
  RecommendationWeightageConfig = __decorateClass([
9214
- Entity77("recommendation_weightage_configs")
9276
+ Entity78("recommendation_weightage_configs")
9215
9277
  ], RecommendationWeightageConfig);
9216
9278
  export {
9217
9279
  ADMIN_FREELANCER_PATTERN,
@@ -9232,6 +9294,8 @@ export {
9232
9294
  AiAssessmentStatusEnum,
9233
9295
  AiInterview,
9234
9296
  AiInterviewQuestionGenerateDto,
9297
+ AiInterviewRescheduleRequest,
9298
+ AiInterviewRescheduleRequestStatusEnum,
9235
9299
  AiInterviewStatusEnum,
9236
9300
  AnswerTypeEnum,
9237
9301
  ApplicationStatusEnum,