@experts_hub/shared 1.0.534 → 1.0.535

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -45,6 +45,8 @@ __export(index_exports, {
45
45
  AiAssessmentStatusEnum: () => AiAssessmentStatusEnum,
46
46
  AiInterview: () => AiInterview,
47
47
  AiInterviewQuestionGenerateDto: () => AiInterviewQuestionGenerateDto,
48
+ AiInterviewRescheduleRequest: () => AiInterviewRescheduleRequest,
49
+ AiInterviewRescheduleRequestStatusEnum: () => AiInterviewRescheduleRequestStatusEnum,
48
50
  AiInterviewStatusEnum: () => AiInterviewStatusEnum,
49
51
  AnswerTypeEnum: () => AnswerTypeEnum,
50
52
  ApplicationStatusEnum: () => ApplicationStatusEnum,
@@ -1903,10 +1905,10 @@ var RATING_PATTERN = {
1903
1905
  var import_class_validator43 = require("class-validator");
1904
1906
 
1905
1907
  // src/entities/rating.entity.ts
1906
- var import_typeorm64 = require("typeorm");
1908
+ var import_typeorm65 = require("typeorm");
1907
1909
 
1908
1910
  // src/entities/user.entity.ts
1909
- var import_typeorm63 = require("typeorm");
1911
+ var import_typeorm64 = require("typeorm");
1910
1912
 
1911
1913
  // src/entities/base.entity.ts
1912
1914
  var import_typeorm = require("typeorm");
@@ -2695,7 +2697,7 @@ FreelancerProfile = __decorateClass([
2695
2697
  ], FreelancerProfile);
2696
2698
 
2697
2699
  // src/entities/job.entity.ts
2698
- var import_typeorm32 = require("typeorm");
2700
+ var import_typeorm33 = require("typeorm");
2699
2701
 
2700
2702
  // src/entities/job-skill.entity.ts
2701
2703
  var import_typeorm10 = require("typeorm");
@@ -2846,7 +2848,7 @@ JobApplication = __decorateClass([
2846
2848
  ], JobApplication);
2847
2849
 
2848
2850
  // src/entities/interview.entity.ts
2849
- var import_typeorm19 = require("typeorm");
2851
+ var import_typeorm20 = require("typeorm");
2850
2852
 
2851
2853
  // src/entities/interview-skill.entity.ts
2852
2854
  var import_typeorm12 = require("typeorm");
@@ -3048,7 +3050,54 @@ InterviewInvite = __decorateClass([
3048
3050
  ], InterviewInvite);
3049
3051
 
3050
3052
  // src/entities/ai-interview.entity.ts
3053
+ var import_typeorm16 = require("typeorm");
3054
+
3055
+ // src/entities/ai-interview-reschedule-request.entity.ts
3051
3056
  var import_typeorm15 = require("typeorm");
3057
+ var AiInterviewRescheduleRequestStatusEnum = /* @__PURE__ */ ((AiInterviewRescheduleRequestStatusEnum2) => {
3058
+ AiInterviewRescheduleRequestStatusEnum2["PENDING"] = "PENDING";
3059
+ AiInterviewRescheduleRequestStatusEnum2["APPROVED"] = "APPROVED";
3060
+ AiInterviewRescheduleRequestStatusEnum2["REJECTED"] = "REJECTED";
3061
+ return AiInterviewRescheduleRequestStatusEnum2;
3062
+ })(AiInterviewRescheduleRequestStatusEnum || {});
3063
+ var AiInterviewRescheduleRequest = class extends BaseEntity {
3064
+ };
3065
+ __decorateClass([
3066
+ (0, import_typeorm15.Column)({ name: "candidate_id", type: "integer", nullable: true })
3067
+ ], AiInterviewRescheduleRequest.prototype, "candidateId", 2);
3068
+ __decorateClass([
3069
+ (0, import_typeorm15.ManyToOne)(() => User, (user) => user.freelancerAiInterviewRescheduleRequests, { nullable: true }),
3070
+ (0, import_typeorm15.JoinColumn)({ name: "candidate_id" })
3071
+ ], AiInterviewRescheduleRequest.prototype, "candidate", 2);
3072
+ __decorateClass([
3073
+ (0, import_typeorm15.Column)({ name: "aiinterview_id", type: "integer", nullable: true })
3074
+ ], AiInterviewRescheduleRequest.prototype, "aiInterviewId", 2);
3075
+ __decorateClass([
3076
+ (0, import_typeorm15.ManyToOne)(() => AiInterview, (aiInterview) => aiInterview.rescheduleRequests),
3077
+ (0, import_typeorm15.JoinColumn)({ name: "aiinterview_id" })
3078
+ ], AiInterviewRescheduleRequest.prototype, "aiInterview", 2);
3079
+ __decorateClass([
3080
+ (0, import_typeorm15.Column)({ name: "rescheduled_date", type: "timestamp with time zone", nullable: true })
3081
+ ], AiInterviewRescheduleRequest.prototype, "rescheduledDate", 2);
3082
+ __decorateClass([
3083
+ (0, import_typeorm15.Column)({
3084
+ name: "status",
3085
+ type: "enum",
3086
+ enum: AiInterviewRescheduleRequestStatusEnum,
3087
+ default: "PENDING" /* PENDING */
3088
+ })
3089
+ ], AiInterviewRescheduleRequest.prototype, "status", 2);
3090
+ __decorateClass([
3091
+ (0, import_typeorm15.Column)({ name: "client_reject_reason", type: "varchar", nullable: true })
3092
+ ], AiInterviewRescheduleRequest.prototype, "clientRejectReason", 2);
3093
+ __decorateClass([
3094
+ (0, import_typeorm15.Column)({ name: "freelancer_request_reason", type: "varchar", nullable: true })
3095
+ ], AiInterviewRescheduleRequest.prototype, "freelancerRequestReason", 2);
3096
+ AiInterviewRescheduleRequest = __decorateClass([
3097
+ (0, import_typeorm15.Entity)("ai_interview_reschedule_requests")
3098
+ ], AiInterviewRescheduleRequest);
3099
+
3100
+ // src/entities/ai-interview.entity.ts
3052
3101
  var AiInterviewStatusEnum = /* @__PURE__ */ ((AiInterviewStatusEnum2) => {
3053
3102
  AiInterviewStatusEnum2["NOT_ATTEMPTED"] = "NOT_ATTEMPTED";
3054
3103
  AiInterviewStatusEnum2["ATTEMPTED"] = "ATTEMPTED";
@@ -3073,66 +3122,66 @@ var ResultStatusEnum = /* @__PURE__ */ ((ResultStatusEnum2) => {
3073
3122
  var AiInterview = class extends BaseEntity {
3074
3123
  };
3075
3124
  __decorateClass([
3076
- (0, import_typeorm15.Column)({ name: "ai_interview_unique_id", type: "varchar", nullable: true, unique: true })
3125
+ (0, import_typeorm16.Column)({ name: "ai_interview_unique_id", type: "varchar", nullable: true, unique: true })
3077
3126
  ], AiInterview.prototype, "aiInterviewUniqueId", 2);
3078
3127
  __decorateClass([
3079
- (0, import_typeorm15.Column)({ name: "candidate_id", type: "integer", nullable: true }),
3080
- (0, import_typeorm15.Index)()
3128
+ (0, import_typeorm16.Column)({ name: "candidate_id", type: "integer", nullable: true }),
3129
+ (0, import_typeorm16.Index)()
3081
3130
  ], AiInterview.prototype, "candidateId", 2);
3082
3131
  __decorateClass([
3083
- (0, import_typeorm15.ManyToOne)(() => User, (user) => user.freelancerAiInterview),
3084
- (0, import_typeorm15.JoinColumn)({ name: "candidate_id" })
3132
+ (0, import_typeorm16.ManyToOne)(() => User, (user) => user.freelancerAiInterview),
3133
+ (0, import_typeorm16.JoinColumn)({ name: "candidate_id" })
3085
3134
  ], AiInterview.prototype, "candidate", 2);
3086
3135
  __decorateClass([
3087
- (0, import_typeorm15.Column)({ name: "interviwer_id", type: "integer", nullable: true }),
3088
- (0, import_typeorm15.Index)()
3136
+ (0, import_typeorm16.Column)({ name: "interviwer_id", type: "integer", nullable: true }),
3137
+ (0, import_typeorm16.Index)()
3089
3138
  ], AiInterview.prototype, "interviwerId", 2);
3090
3139
  __decorateClass([
3091
- (0, import_typeorm15.ManyToOne)(() => User, (user) => user.companyAiInterview),
3092
- (0, import_typeorm15.JoinColumn)({ name: "interviwer_id" })
3140
+ (0, import_typeorm16.ManyToOne)(() => User, (user) => user.companyAiInterview),
3141
+ (0, import_typeorm16.JoinColumn)({ name: "interviwer_id" })
3093
3142
  ], AiInterview.prototype, "interviwer", 2);
3094
3143
  __decorateClass([
3095
- (0, import_typeorm15.Column)({ name: "interview_id", type: "integer", nullable: true })
3144
+ (0, import_typeorm16.Column)({ name: "interview_id", type: "integer", nullable: true })
3096
3145
  ], AiInterview.prototype, "interviewId", 2);
3097
3146
  __decorateClass([
3098
- (0, import_typeorm15.ManyToOne)(() => Interview, (interview) => interview.aiInterviews),
3099
- (0, import_typeorm15.JoinColumn)({ name: "interview_id" })
3147
+ (0, import_typeorm16.ManyToOne)(() => Interview, (interview) => interview.aiInterviews),
3148
+ (0, import_typeorm16.JoinColumn)({ name: "interview_id" })
3100
3149
  ], AiInterview.prototype, "interview", 2);
3101
3150
  __decorateClass([
3102
- (0, import_typeorm15.Column)({ name: "invite_id", type: "integer", nullable: true })
3151
+ (0, import_typeorm16.Column)({ name: "invite_id", type: "integer", nullable: true })
3103
3152
  ], AiInterview.prototype, "inviteId", 2);
3104
3153
  __decorateClass([
3105
- (0, import_typeorm15.Column)({
3154
+ (0, import_typeorm16.Column)({
3106
3155
  name: "candidate_interview_id",
3107
3156
  type: "varchar",
3108
3157
  nullable: true
3109
3158
  })
3110
3159
  ], AiInterview.prototype, "candidateInterviewId", 2);
3111
3160
  __decorateClass([
3112
- (0, import_typeorm15.Column)({
3161
+ (0, import_typeorm16.Column)({
3113
3162
  name: "candidate_interview_link",
3114
3163
  type: "varchar",
3115
3164
  nullable: true
3116
3165
  }),
3117
- (0, import_typeorm15.Index)()
3166
+ (0, import_typeorm16.Index)()
3118
3167
  ], AiInterview.prototype, "candidateInterviewLink", 2);
3119
3168
  __decorateClass([
3120
- (0, import_typeorm15.Column)({ name: "has_attempted", type: "boolean", default: false })
3169
+ (0, import_typeorm16.Column)({ name: "has_attempted", type: "boolean", default: false })
3121
3170
  ], AiInterview.prototype, "hasAttempted", 2);
3122
3171
  __decorateClass([
3123
- (0, import_typeorm15.Column)({ name: "attempted_at", type: "timestamp", nullable: true })
3172
+ (0, import_typeorm16.Column)({ name: "attempted_at", type: "timestamp", nullable: true })
3124
3173
  ], AiInterview.prototype, "attemptedAt", 2);
3125
3174
  __decorateClass([
3126
- (0, import_typeorm15.Column)({ name: "completed_at", type: "timestamp", nullable: true })
3175
+ (0, import_typeorm16.Column)({ name: "completed_at", type: "timestamp", nullable: true })
3127
3176
  ], AiInterview.prototype, "completedAt", 2);
3128
3177
  __decorateClass([
3129
- (0, import_typeorm15.Column)({ name: "exited_at", type: "timestamp", nullable: true })
3178
+ (0, import_typeorm16.Column)({ name: "exited_at", type: "timestamp", nullable: true })
3130
3179
  ], AiInterview.prototype, "exitedAt", 2);
3131
3180
  __decorateClass([
3132
- (0, import_typeorm15.Column)({ name: "expired_at", type: "timestamp", nullable: true })
3181
+ (0, import_typeorm16.Column)({ name: "expired_at", type: "timestamp", nullable: true })
3133
3182
  ], AiInterview.prototype, "expiredAt", 2);
3134
3183
  __decorateClass([
3135
- (0, import_typeorm15.Column)({
3184
+ (0, import_typeorm16.Column)({
3136
3185
  name: "status",
3137
3186
  type: "enum",
3138
3187
  enum: AiInterviewStatusEnum,
@@ -3140,7 +3189,7 @@ __decorateClass([
3140
3189
  })
3141
3190
  ], AiInterview.prototype, "status", 2);
3142
3191
  __decorateClass([
3143
- (0, import_typeorm15.Column)({
3192
+ (0, import_typeorm16.Column)({
3144
3193
  name: "result_status",
3145
3194
  type: "enum",
3146
3195
  enum: ResultStatusEnum,
@@ -3148,26 +3197,29 @@ __decorateClass([
3148
3197
  })
3149
3198
  ], AiInterview.prototype, "resultStatus", 2);
3150
3199
  __decorateClass([
3151
- (0, import_typeorm15.Column)({ name: "iframe_response", type: "jsonb", nullable: true })
3200
+ (0, import_typeorm16.Column)({ name: "iframe_response", type: "jsonb", nullable: true })
3152
3201
  ], AiInterview.prototype, "iframeResponse", 2);
3153
3202
  __decorateClass([
3154
- (0, import_typeorm15.Column)({ name: "interview_insight", type: "jsonb", nullable: true })
3203
+ (0, import_typeorm16.Column)({ name: "interview_insight", type: "jsonb", nullable: true })
3155
3204
  ], AiInterview.prototype, "interviewInsight", 2);
3156
3205
  __decorateClass([
3157
- (0, import_typeorm15.Column)({ name: "is_f2f_interview_scheduled", type: "boolean", default: false })
3206
+ (0, import_typeorm16.Column)({ name: "is_f2f_interview_scheduled", type: "boolean", default: false })
3158
3207
  ], AiInterview.prototype, "isF2fInterviewScheduled", 2);
3159
3208
  __decorateClass([
3160
- (0, import_typeorm15.Column)({ name: "is_contract_sent", type: "boolean", default: false })
3209
+ (0, import_typeorm16.Column)({ name: "is_contract_sent", type: "boolean", default: false })
3161
3210
  ], AiInterview.prototype, "isContractSent", 2);
3211
+ __decorateClass([
3212
+ (0, import_typeorm16.OneToMany)(() => AiInterviewRescheduleRequest, (aiInterviewRescheduleRequest) => aiInterviewRescheduleRequest.aiInterview)
3213
+ ], AiInterview.prototype, "rescheduleRequests", 2);
3162
3214
  AiInterview = __decorateClass([
3163
- (0, import_typeorm15.Entity)("ai_interviews")
3215
+ (0, import_typeorm16.Entity)("ai_interviews")
3164
3216
  ], AiInterview);
3165
3217
 
3166
3218
  // src/entities/f2f-interview.entity.ts
3167
- var import_typeorm18 = require("typeorm");
3219
+ var import_typeorm19 = require("typeorm");
3168
3220
 
3169
3221
  // src/entities/f2f-interview-reschedule-request.entity.ts
3170
- var import_typeorm16 = require("typeorm");
3222
+ var import_typeorm17 = require("typeorm");
3171
3223
  var F2fInterviewRescheduleRequestStatusEnum = /* @__PURE__ */ ((F2fInterviewRescheduleRequestStatusEnum2) => {
3172
3224
  F2fInterviewRescheduleRequestStatusEnum2["PENDING"] = "PENDING";
3173
3225
  F2fInterviewRescheduleRequestStatusEnum2["APPROVED"] = "APPROVED";
@@ -3179,27 +3231,27 @@ var F2fInterviewRescheduleRequestStatusEnum = /* @__PURE__ */ ((F2fInterviewResc
3179
3231
  var F2fInterviewRescheduleRequest = class extends BaseEntity {
3180
3232
  };
3181
3233
  __decorateClass([
3182
- (0, import_typeorm16.Column)({ name: "candidate_id", type: "integer", nullable: true })
3234
+ (0, import_typeorm17.Column)({ name: "candidate_id", type: "integer", nullable: true })
3183
3235
  ], F2fInterviewRescheduleRequest.prototype, "candidateId", 2);
3184
3236
  __decorateClass([
3185
- (0, import_typeorm16.ManyToOne)(() => User, (user) => user.freelancerF2FInterviewRescheduleRequests, { nullable: true }),
3186
- (0, import_typeorm16.JoinColumn)({ name: "candidate_id" })
3237
+ (0, import_typeorm17.ManyToOne)(() => User, (user) => user.freelancerF2FInterviewRescheduleRequests, { nullable: true }),
3238
+ (0, import_typeorm17.JoinColumn)({ name: "candidate_id" })
3187
3239
  ], F2fInterviewRescheduleRequest.prototype, "candidate", 2);
3188
3240
  __decorateClass([
3189
- (0, import_typeorm16.Column)({ name: "f2finterview_id", type: "integer", nullable: true })
3241
+ (0, import_typeorm17.Column)({ name: "f2finterview_id", type: "integer", nullable: true })
3190
3242
  ], F2fInterviewRescheduleRequest.prototype, "f2fInterviewId", 2);
3191
3243
  __decorateClass([
3192
- (0, import_typeorm16.ManyToOne)(() => F2FInterview, (f2FInterview) => f2FInterview.rescheduleRequests),
3193
- (0, import_typeorm16.JoinColumn)({ name: "f2finterview_id" })
3244
+ (0, import_typeorm17.ManyToOne)(() => F2FInterview, (f2FInterview) => f2FInterview.rescheduleRequests),
3245
+ (0, import_typeorm17.JoinColumn)({ name: "f2finterview_id" })
3194
3246
  ], F2fInterviewRescheduleRequest.prototype, "f2fInterview", 2);
3195
3247
  __decorateClass([
3196
- (0, import_typeorm16.Column)({ name: "rescheduled_date", type: "timestamp with time zone", nullable: true })
3248
+ (0, import_typeorm17.Column)({ name: "rescheduled_date", type: "timestamp with time zone", nullable: true })
3197
3249
  ], F2fInterviewRescheduleRequest.prototype, "rescheduledDate", 2);
3198
3250
  __decorateClass([
3199
- (0, import_typeorm16.Column)({ name: "rescheduled_slot", type: "varchar", nullable: true })
3251
+ (0, import_typeorm17.Column)({ name: "rescheduled_slot", type: "varchar", nullable: true })
3200
3252
  ], F2fInterviewRescheduleRequest.prototype, "rescheduledSlot", 2);
3201
3253
  __decorateClass([
3202
- (0, import_typeorm16.Column)({
3254
+ (0, import_typeorm17.Column)({
3203
3255
  name: "status",
3204
3256
  type: "enum",
3205
3257
  enum: F2fInterviewRescheduleRequestStatusEnum,
@@ -3207,17 +3259,17 @@ __decorateClass([
3207
3259
  })
3208
3260
  ], F2fInterviewRescheduleRequest.prototype, "status", 2);
3209
3261
  __decorateClass([
3210
- (0, import_typeorm16.Column)({ name: "client_reject_reason", type: "varchar", nullable: true })
3262
+ (0, import_typeorm17.Column)({ name: "client_reject_reason", type: "varchar", nullable: true })
3211
3263
  ], F2fInterviewRescheduleRequest.prototype, "clientRejectReason", 2);
3212
3264
  __decorateClass([
3213
- (0, import_typeorm16.Column)({ name: "freelancer_request_reason", type: "varchar", nullable: true })
3265
+ (0, import_typeorm17.Column)({ name: "freelancer_request_reason", type: "varchar", nullable: true })
3214
3266
  ], F2fInterviewRescheduleRequest.prototype, "freelancerRequestReason", 2);
3215
3267
  F2fInterviewRescheduleRequest = __decorateClass([
3216
- (0, import_typeorm16.Entity)("f2f_interview_reschedule_requests")
3268
+ (0, import_typeorm17.Entity)("f2f_interview_reschedule_requests")
3217
3269
  ], F2fInterviewRescheduleRequest);
3218
3270
 
3219
3271
  // src/entities/f2f-interview-schedule.entity.ts
3220
- var import_typeorm17 = require("typeorm");
3272
+ var import_typeorm18 = require("typeorm");
3221
3273
  var F2fInterviewScheduleStatusEnum = /* @__PURE__ */ ((F2fInterviewScheduleStatusEnum2) => {
3222
3274
  F2fInterviewScheduleStatusEnum2["ACTIVE"] = "ACTIVE";
3223
3275
  F2fInterviewScheduleStatusEnum2["COMPELETED"] = "COMPELETED";
@@ -3228,33 +3280,33 @@ var F2fInterviewScheduleStatusEnum = /* @__PURE__ */ ((F2fInterviewScheduleStatu
3228
3280
  var F2FInterviewSchedule = class extends BaseEntity {
3229
3281
  };
3230
3282
  __decorateClass([
3231
- (0, import_typeorm17.Column)({ name: "f2f_interview_id", type: "integer", nullable: true })
3283
+ (0, import_typeorm18.Column)({ name: "f2f_interview_id", type: "integer", nullable: true })
3232
3284
  ], F2FInterviewSchedule.prototype, "f2fInterviewId", 2);
3233
3285
  __decorateClass([
3234
- (0, import_typeorm17.ManyToOne)(() => F2FInterview, (f2fInterview) => f2fInterview.schedules),
3235
- (0, import_typeorm17.JoinColumn)({ name: "f2f_interview_id" })
3286
+ (0, import_typeorm18.ManyToOne)(() => F2FInterview, (f2fInterview) => f2fInterview.schedules),
3287
+ (0, import_typeorm18.JoinColumn)({ name: "f2f_interview_id" })
3236
3288
  ], F2FInterviewSchedule.prototype, "f2fInterview", 2);
3237
3289
  __decorateClass([
3238
- (0, import_typeorm17.Column)({ name: "event_id", type: "varchar", nullable: true }),
3239
- (0, import_typeorm17.Index)()
3290
+ (0, import_typeorm18.Column)({ name: "event_id", type: "varchar", nullable: true }),
3291
+ (0, import_typeorm18.Index)()
3240
3292
  ], F2FInterviewSchedule.prototype, "eventId", 2);
3241
3293
  __decorateClass([
3242
- (0, import_typeorm17.Column)({ name: "zoom_link", type: "varchar", nullable: true })
3294
+ (0, import_typeorm18.Column)({ name: "zoom_link", type: "varchar", nullable: true })
3243
3295
  ], F2FInterviewSchedule.prototype, "meetingZoomLink", 2);
3244
3296
  __decorateClass([
3245
- (0, import_typeorm17.Column)({ name: "meeting_id", type: "varchar", nullable: true })
3297
+ (0, import_typeorm18.Column)({ name: "meeting_id", type: "varchar", nullable: true })
3246
3298
  ], F2FInterviewSchedule.prototype, "meetingId", 2);
3247
3299
  __decorateClass([
3248
- (0, import_typeorm17.Column)({ name: "meeting_passcode", type: "varchar", nullable: true })
3300
+ (0, import_typeorm18.Column)({ name: "meeting_passcode", type: "varchar", nullable: true })
3249
3301
  ], F2FInterviewSchedule.prototype, "meetingPasscode", 2);
3250
3302
  __decorateClass([
3251
- (0, import_typeorm17.Column)({ name: "reschedule_url", type: "varchar", nullable: true })
3303
+ (0, import_typeorm18.Column)({ name: "reschedule_url", type: "varchar", nullable: true })
3252
3304
  ], F2FInterviewSchedule.prototype, "rescheduleUrl", 2);
3253
3305
  __decorateClass([
3254
- (0, import_typeorm17.Column)({ name: "cancel_url", type: "varchar", nullable: true })
3306
+ (0, import_typeorm18.Column)({ name: "cancel_url", type: "varchar", nullable: true })
3255
3307
  ], F2FInterviewSchedule.prototype, "cancelUrl", 2);
3256
3308
  __decorateClass([
3257
- (0, import_typeorm17.Column)({
3309
+ (0, import_typeorm18.Column)({
3258
3310
  name: "status",
3259
3311
  type: "enum",
3260
3312
  enum: F2fInterviewScheduleStatusEnum,
@@ -3262,47 +3314,47 @@ __decorateClass([
3262
3314
  })
3263
3315
  ], F2FInterviewSchedule.prototype, "status", 2);
3264
3316
  __decorateClass([
3265
- (0, import_typeorm17.Column)({
3317
+ (0, import_typeorm18.Column)({
3266
3318
  name: "meeting_start_time",
3267
3319
  type: "timestamp with time zone",
3268
3320
  nullable: true
3269
3321
  })
3270
3322
  ], F2FInterviewSchedule.prototype, "meetingStartTime", 2);
3271
3323
  __decorateClass([
3272
- (0, import_typeorm17.Column)({
3324
+ (0, import_typeorm18.Column)({
3273
3325
  name: "meeting_end_time",
3274
3326
  type: "timestamp with time zone",
3275
3327
  nullable: true
3276
3328
  })
3277
3329
  ], F2FInterviewSchedule.prototype, "meetingEndTime", 2);
3278
3330
  __decorateClass([
3279
- (0, import_typeorm17.Column)({
3331
+ (0, import_typeorm18.Column)({
3280
3332
  name: "meeting_eligible_start_time",
3281
3333
  type: "timestamp with time zone",
3282
3334
  nullable: true
3283
3335
  })
3284
3336
  ], F2FInterviewSchedule.prototype, "meetingEligibleStartTime", 2);
3285
3337
  __decorateClass([
3286
- (0, import_typeorm17.Column)({
3338
+ (0, import_typeorm18.Column)({
3287
3339
  name: "meeting_eligible_expiry_time",
3288
3340
  type: "timestamp with time zone",
3289
3341
  nullable: true
3290
3342
  })
3291
3343
  ], F2FInterviewSchedule.prototype, "meetingEligibleExpiryTime", 2);
3292
3344
  __decorateClass([
3293
- (0, import_typeorm17.Column)({ name: "meeting_video_recording_url", type: "varchar", nullable: true })
3345
+ (0, import_typeorm18.Column)({ name: "meeting_video_recording_url", type: "varchar", nullable: true })
3294
3346
  ], F2FInterviewSchedule.prototype, "meetingVideoRecordingUrl", 2);
3295
3347
  __decorateClass([
3296
- (0, import_typeorm17.Column)({ name: "meeting_audio_recording_url", type: "varchar", nullable: true })
3348
+ (0, import_typeorm18.Column)({ name: "meeting_audio_recording_url", type: "varchar", nullable: true })
3297
3349
  ], F2FInterviewSchedule.prototype, "meetingAudioRecordingUrl", 2);
3298
3350
  __decorateClass([
3299
- (0, import_typeorm17.Column)({ name: "meeting_transcript", type: "jsonb", nullable: true })
3351
+ (0, import_typeorm18.Column)({ name: "meeting_transcript", type: "jsonb", nullable: true })
3300
3352
  ], F2FInterviewSchedule.prototype, "meetingTranscript", 2);
3301
3353
  __decorateClass([
3302
- (0, import_typeorm17.Column)({ name: "meeting_recordings", type: "jsonb", nullable: true })
3354
+ (0, import_typeorm18.Column)({ name: "meeting_recordings", type: "jsonb", nullable: true })
3303
3355
  ], F2FInterviewSchedule.prototype, "meetingRecordings", 2);
3304
3356
  F2FInterviewSchedule = __decorateClass([
3305
- (0, import_typeorm17.Entity)("f2f_interview_schedules")
3357
+ (0, import_typeorm18.Entity)("f2f_interview_schedules")
3306
3358
  ], F2FInterviewSchedule);
3307
3359
 
3308
3360
  // src/entities/f2f-interview.entity.ts
@@ -3321,50 +3373,50 @@ var F2fInterviewStatusEnum = /* @__PURE__ */ ((F2fInterviewStatusEnum2) => {
3321
3373
  var F2FInterview = class extends BaseEntity {
3322
3374
  };
3323
3375
  __decorateClass([
3324
- (0, import_typeorm18.Column)({ name: "interview_unique_id", type: "varchar", nullable: true, unique: true })
3376
+ (0, import_typeorm19.Column)({ name: "interview_unique_id", type: "varchar", nullable: true, unique: true })
3325
3377
  ], F2FInterview.prototype, "interviewUniqueId", 2);
3326
3378
  __decorateClass([
3327
- (0, import_typeorm18.Column)({ name: "round", type: "varchar", nullable: true })
3379
+ (0, import_typeorm19.Column)({ name: "round", type: "varchar", nullable: true })
3328
3380
  ], F2FInterview.prototype, "round", 2);
3329
3381
  __decorateClass([
3330
- (0, import_typeorm18.Column)({ name: "job_id", type: "integer", nullable: true })
3382
+ (0, import_typeorm19.Column)({ name: "job_id", type: "integer", nullable: true })
3331
3383
  ], F2FInterview.prototype, "jobId", 2);
3332
3384
  __decorateClass([
3333
- (0, import_typeorm18.ManyToOne)(() => Job, (job) => job.f2fInterviews, { nullable: true }),
3334
- (0, import_typeorm18.JoinColumn)({ name: "job_id" })
3385
+ (0, import_typeorm19.ManyToOne)(() => Job, (job) => job.f2fInterviews, { nullable: true }),
3386
+ (0, import_typeorm19.JoinColumn)({ name: "job_id" })
3335
3387
  ], F2FInterview.prototype, "job", 2);
3336
3388
  __decorateClass([
3337
- (0, import_typeorm18.Column)({ name: "interview_id", type: "integer", nullable: true })
3389
+ (0, import_typeorm19.Column)({ name: "interview_id", type: "integer", nullable: true })
3338
3390
  ], F2FInterview.prototype, "interviewId", 2);
3339
3391
  __decorateClass([
3340
- (0, import_typeorm18.ManyToOne)(() => Interview, (interview) => interview.f2fInterviews, { nullable: true }),
3341
- (0, import_typeorm18.JoinColumn)({ name: "interview_id" })
3392
+ (0, import_typeorm19.ManyToOne)(() => Interview, (interview) => interview.f2fInterviews, { nullable: true }),
3393
+ (0, import_typeorm19.JoinColumn)({ name: "interview_id" })
3342
3394
  ], F2FInterview.prototype, "interview", 2);
3343
3395
  __decorateClass([
3344
- (0, import_typeorm18.Column)({ name: "interviwer_id", type: "integer", nullable: true })
3396
+ (0, import_typeorm19.Column)({ name: "interviwer_id", type: "integer", nullable: true })
3345
3397
  ], F2FInterview.prototype, "interviwerId", 2);
3346
3398
  __decorateClass([
3347
- (0, import_typeorm18.ManyToOne)(() => User, (user) => user.clientF2FInterviews),
3348
- (0, import_typeorm18.JoinColumn)({ name: "interviwer_id" })
3399
+ (0, import_typeorm19.ManyToOne)(() => User, (user) => user.clientF2FInterviews),
3400
+ (0, import_typeorm19.JoinColumn)({ name: "interviwer_id" })
3349
3401
  ], F2FInterview.prototype, "interviwer", 2);
3350
3402
  __decorateClass([
3351
- (0, import_typeorm18.Column)({ name: "candidate_id", type: "integer", nullable: true })
3403
+ (0, import_typeorm19.Column)({ name: "candidate_id", type: "integer", nullable: true })
3352
3404
  ], F2FInterview.prototype, "candidateId", 2);
3353
3405
  __decorateClass([
3354
- (0, import_typeorm18.ManyToOne)(() => User, (user) => user.freelancerF2FInterviews, { nullable: true }),
3355
- (0, import_typeorm18.JoinColumn)({ name: "candidate_id" })
3406
+ (0, import_typeorm19.ManyToOne)(() => User, (user) => user.freelancerF2FInterviews, { nullable: true }),
3407
+ (0, import_typeorm19.JoinColumn)({ name: "candidate_id" })
3356
3408
  ], F2FInterview.prototype, "candidate", 2);
3357
3409
  __decorateClass([
3358
- (0, import_typeorm18.Column)({ name: "invitee_email", type: "varchar", nullable: true })
3410
+ (0, import_typeorm19.Column)({ name: "invitee_email", type: "varchar", nullable: true })
3359
3411
  ], F2FInterview.prototype, "inviteeEmail", 2);
3360
3412
  __decorateClass([
3361
- (0, import_typeorm18.Column)({ name: "invitee_name", type: "varchar", nullable: true })
3413
+ (0, import_typeorm19.Column)({ name: "invitee_name", type: "varchar", nullable: true })
3362
3414
  ], F2FInterview.prototype, "inviteeName", 2);
3363
3415
  __decorateClass([
3364
- (0, import_typeorm18.Column)({ name: "event_name", type: "varchar", nullable: true })
3416
+ (0, import_typeorm19.Column)({ name: "event_name", type: "varchar", nullable: true })
3365
3417
  ], F2FInterview.prototype, "eventName", 2);
3366
3418
  __decorateClass([
3367
- (0, import_typeorm18.Column)({
3419
+ (0, import_typeorm19.Column)({
3368
3420
  name: "status",
3369
3421
  type: "enum",
3370
3422
  enum: F2fInterviewStatusEnum,
@@ -3372,45 +3424,45 @@ __decorateClass([
3372
3424
  })
3373
3425
  ], F2FInterview.prototype, "status", 2);
3374
3426
  __decorateClass([
3375
- (0, import_typeorm18.Column)({ name: "is_rescheduled", type: "boolean", default: false })
3427
+ (0, import_typeorm19.Column)({ name: "is_rescheduled", type: "boolean", default: false })
3376
3428
  ], F2FInterview.prototype, "isRescheduled", 2);
3377
3429
  __decorateClass([
3378
- (0, import_typeorm18.Column)({ name: "last_rescheduled_at", type: "timestamp with time zone", nullable: true })
3430
+ (0, import_typeorm19.Column)({ name: "last_rescheduled_at", type: "timestamp with time zone", nullable: true })
3379
3431
  ], F2FInterview.prototype, "lastRescheduledAt", 2);
3380
3432
  __decorateClass([
3381
- (0, import_typeorm18.Column)({ name: "cancelled_at", type: "timestamp with time zone", nullable: true })
3433
+ (0, import_typeorm19.Column)({ name: "cancelled_at", type: "timestamp with time zone", nullable: true })
3382
3434
  ], F2FInterview.prototype, "cancelledAt", 2);
3383
3435
  __decorateClass([
3384
- (0, import_typeorm18.Column)({ name: "cancel_reason", type: "varchar", nullable: true })
3436
+ (0, import_typeorm19.Column)({ name: "cancel_reason", type: "varchar", nullable: true })
3385
3437
  ], F2FInterview.prototype, "cancelReason", 2);
3386
3438
  __decorateClass([
3387
- (0, import_typeorm18.Column)({ name: "provider", type: "varchar", nullable: true })
3439
+ (0, import_typeorm19.Column)({ name: "provider", type: "varchar", nullable: true })
3388
3440
  ], F2FInterview.prototype, "provider", 2);
3389
3441
  __decorateClass([
3390
- (0, import_typeorm18.Column)({
3442
+ (0, import_typeorm19.Column)({
3391
3443
  name: "meeting_started_on",
3392
3444
  type: "timestamp with time zone",
3393
3445
  nullable: true
3394
3446
  })
3395
3447
  ], F2FInterview.prototype, "meetingStartedOn", 2);
3396
3448
  __decorateClass([
3397
- (0, import_typeorm18.Column)({
3449
+ (0, import_typeorm19.Column)({
3398
3450
  name: "meeting_ended_on",
3399
3451
  type: "timestamp with time zone",
3400
3452
  nullable: true
3401
3453
  })
3402
3454
  ], F2FInterview.prototype, "meetingEndedOn", 2);
3403
3455
  __decorateClass([
3404
- (0, import_typeorm18.Column)({ name: "is_contract_sent", type: "boolean", default: false })
3456
+ (0, import_typeorm19.Column)({ name: "is_contract_sent", type: "boolean", default: false })
3405
3457
  ], F2FInterview.prototype, "isContractSent", 2);
3406
3458
  __decorateClass([
3407
- (0, import_typeorm18.OneToMany)(() => F2FInterviewSchedule, (f2fInterviewSchedule) => f2fInterviewSchedule.f2fInterview)
3459
+ (0, import_typeorm19.OneToMany)(() => F2FInterviewSchedule, (f2fInterviewSchedule) => f2fInterviewSchedule.f2fInterview)
3408
3460
  ], F2FInterview.prototype, "schedules", 2);
3409
3461
  __decorateClass([
3410
- (0, import_typeorm18.OneToMany)(() => F2fInterviewRescheduleRequest, (f2FInterviewRescheduleRequest) => f2FInterviewRescheduleRequest.f2fInterview)
3462
+ (0, import_typeorm19.OneToMany)(() => F2fInterviewRescheduleRequest, (f2FInterviewRescheduleRequest) => f2FInterviewRescheduleRequest.f2fInterview)
3411
3463
  ], F2FInterview.prototype, "rescheduleRequests", 2);
3412
3464
  F2FInterview = __decorateClass([
3413
- (0, import_typeorm18.Entity)("f2f_interviews")
3465
+ (0, import_typeorm19.Entity)("f2f_interviews")
3414
3466
  ], F2FInterview);
3415
3467
 
3416
3468
  // src/entities/interview.entity.ts
@@ -3425,62 +3477,62 @@ var InterviewStatusEnum = /* @__PURE__ */ ((InterviewStatusEnum2) => {
3425
3477
  var Interview = class extends BaseEntity {
3426
3478
  };
3427
3479
  __decorateClass([
3428
- (0, import_typeorm19.Column)({
3480
+ (0, import_typeorm20.Column)({
3429
3481
  name: "interview_id",
3430
3482
  type: "varchar",
3431
3483
  unique: true,
3432
3484
  nullable: true
3433
3485
  }),
3434
- (0, import_typeorm19.Index)()
3486
+ (0, import_typeorm20.Index)()
3435
3487
  ], Interview.prototype, "interviewId", 2);
3436
3488
  __decorateClass([
3437
- (0, import_typeorm19.Column)({ name: "user_id", type: "integer", nullable: true }),
3438
- (0, import_typeorm19.Index)()
3489
+ (0, import_typeorm20.Column)({ name: "user_id", type: "integer", nullable: true }),
3490
+ (0, import_typeorm20.Index)()
3439
3491
  ], Interview.prototype, "userId", 2);
3440
3492
  __decorateClass([
3441
- (0, import_typeorm19.ManyToOne)(() => User, (user) => user.interviews),
3442
- (0, import_typeorm19.JoinColumn)({ name: "user_id" })
3493
+ (0, import_typeorm20.ManyToOne)(() => User, (user) => user.interviews),
3494
+ (0, import_typeorm20.JoinColumn)({ name: "user_id" })
3443
3495
  ], Interview.prototype, "user", 2);
3444
3496
  __decorateClass([
3445
- (0, import_typeorm19.Column)({ name: "interview_name", type: "varchar", nullable: true })
3497
+ (0, import_typeorm20.Column)({ name: "interview_name", type: "varchar", nullable: true })
3446
3498
  ], Interview.prototype, "interviewName", 2);
3447
3499
  __decorateClass([
3448
- (0, import_typeorm19.Column)({ name: "job_id", type: "integer" }),
3449
- (0, import_typeorm19.Index)()
3500
+ (0, import_typeorm20.Column)({ name: "job_id", type: "integer" }),
3501
+ (0, import_typeorm20.Index)()
3450
3502
  ], Interview.prototype, "jobId", 2);
3451
3503
  __decorateClass([
3452
- (0, import_typeorm19.ManyToOne)(() => Job, (job) => job.interviews, { onDelete: "CASCADE" }),
3453
- (0, import_typeorm19.JoinColumn)({ name: "job_id" })
3504
+ (0, import_typeorm20.ManyToOne)(() => Job, (job) => job.interviews, { onDelete: "CASCADE" }),
3505
+ (0, import_typeorm20.JoinColumn)({ name: "job_id" })
3454
3506
  ], Interview.prototype, "job", 2);
3455
3507
  __decorateClass([
3456
- (0, import_typeorm19.Column)({ name: "interview_type", type: "varchar", nullable: true })
3508
+ (0, import_typeorm20.Column)({ name: "interview_type", type: "varchar", nullable: true })
3457
3509
  ], Interview.prototype, "interviewType", 2);
3458
3510
  __decorateClass([
3459
- (0, import_typeorm19.Column)({ name: "interview_language", type: "varchar", nullable: true })
3511
+ (0, import_typeorm20.Column)({ name: "interview_language", type: "varchar", nullable: true })
3460
3512
  ], Interview.prototype, "interviewLanguage", 2);
3461
3513
  __decorateClass([
3462
- (0, import_typeorm19.Column)({ name: "allow_proctoring", type: "boolean", default: false })
3514
+ (0, import_typeorm20.Column)({ name: "allow_proctoring", type: "boolean", default: false })
3463
3515
  ], Interview.prototype, "allowProctoring", 2);
3464
3516
  __decorateClass([
3465
- (0, import_typeorm19.Column)({ name: "interview_duration", type: "varchar", nullable: true })
3517
+ (0, import_typeorm20.Column)({ name: "interview_duration", type: "varchar", nullable: true })
3466
3518
  ], Interview.prototype, "interviewDuration", 2);
3467
3519
  __decorateClass([
3468
- (0, import_typeorm19.Column)({ name: "interview_validity_period", type: "varchar", nullable: true })
3520
+ (0, import_typeorm20.Column)({ name: "interview_validity_period", type: "varchar", nullable: true })
3469
3521
  ], Interview.prototype, "interviewValidityPeriod", 2);
3470
3522
  __decorateClass([
3471
- (0, import_typeorm19.Column)({ name: "maximum_attempts_allowed", type: "varchar", nullable: true })
3523
+ (0, import_typeorm20.Column)({ name: "maximum_attempts_allowed", type: "varchar", nullable: true })
3472
3524
  ], Interview.prototype, "maximumAttemptsAllowed", 2);
3473
3525
  __decorateClass([
3474
- (0, import_typeorm19.Column)({ name: "start_interview_prompt", type: "varchar", nullable: true })
3526
+ (0, import_typeorm20.Column)({ name: "start_interview_prompt", type: "varchar", nullable: true })
3475
3527
  ], Interview.prototype, "startInterviewPrompt", 2);
3476
3528
  __decorateClass([
3477
- (0, import_typeorm19.Column)({ name: "end_interview_prompt", type: "varchar", nullable: true })
3529
+ (0, import_typeorm20.Column)({ name: "end_interview_prompt", type: "varchar", nullable: true })
3478
3530
  ], Interview.prototype, "endInterviewPrompt", 2);
3479
3531
  __decorateClass([
3480
- (0, import_typeorm19.Column)({ name: "interview_template_id", type: "varchar", nullable: true })
3532
+ (0, import_typeorm20.Column)({ name: "interview_template_id", type: "varchar", nullable: true })
3481
3533
  ], Interview.prototype, "interviewTemplateId", 2);
3482
3534
  __decorateClass([
3483
- (0, import_typeorm19.Column)({
3535
+ (0, import_typeorm20.Column)({
3484
3536
  name: "status",
3485
3537
  type: "enum",
3486
3538
  enum: InterviewStatusEnum,
@@ -3488,37 +3540,37 @@ __decorateClass([
3488
3540
  })
3489
3541
  ], Interview.prototype, "status", 2);
3490
3542
  __decorateClass([
3491
- (0, import_typeorm19.OneToMany)(
3543
+ (0, import_typeorm20.OneToMany)(
3492
3544
  () => InterviewSkill,
3493
3545
  (interviewSkill) => interviewSkill.interview,
3494
3546
  { cascade: true }
3495
3547
  )
3496
3548
  ], Interview.prototype, "interviewSkills", 2);
3497
3549
  __decorateClass([
3498
- (0, import_typeorm19.OneToMany)(
3550
+ (0, import_typeorm20.OneToMany)(
3499
3551
  () => InterviewQuestion,
3500
3552
  (interviewQuestion) => interviewQuestion.interview,
3501
3553
  { cascade: true }
3502
3554
  )
3503
3555
  ], Interview.prototype, "interviewQuestions", 2);
3504
3556
  __decorateClass([
3505
- (0, import_typeorm19.OneToMany)(() => InterviewInvite, (interviewInvite) => interviewInvite.interview)
3557
+ (0, import_typeorm20.OneToMany)(() => InterviewInvite, (interviewInvite) => interviewInvite.interview)
3506
3558
  ], Interview.prototype, "invites", 2);
3507
3559
  __decorateClass([
3508
- (0, import_typeorm19.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interview)
3560
+ (0, import_typeorm20.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interview)
3509
3561
  ], Interview.prototype, "aiInterviews", 2);
3510
3562
  __decorateClass([
3511
- (0, import_typeorm19.OneToMany)(() => F2FInterview, (f2fInterview) => f2fInterview.interview)
3563
+ (0, import_typeorm20.OneToMany)(() => F2FInterview, (f2fInterview) => f2fInterview.interview)
3512
3564
  ], Interview.prototype, "f2fInterviews", 2);
3513
3565
  Interview = __decorateClass([
3514
- (0, import_typeorm19.Entity)("interviews")
3566
+ (0, import_typeorm20.Entity)("interviews")
3515
3567
  ], Interview);
3516
3568
 
3517
3569
  // src/entities/job-recommendation.entity.ts
3518
- var import_typeorm21 = require("typeorm");
3570
+ var import_typeorm22 = require("typeorm");
3519
3571
 
3520
3572
  // src/entities/client-candidate-preference.entity.ts
3521
- var import_typeorm20 = require("typeorm");
3573
+ var import_typeorm21 = require("typeorm");
3522
3574
  var ClientCandidatePreferenceEnum = /* @__PURE__ */ ((ClientCandidatePreferenceEnum2) => {
3523
3575
  ClientCandidatePreferenceEnum2["NOT_SUITABLE"] = "NOT_SUITABLE";
3524
3576
  ClientCandidatePreferenceEnum2["SHORTLISTED"] = "SHORTLISTED";
@@ -3527,79 +3579,79 @@ var ClientCandidatePreferenceEnum = /* @__PURE__ */ ((ClientCandidatePreferenceE
3527
3579
  var ClientCandidatePreference = class extends BaseEntity {
3528
3580
  };
3529
3581
  __decorateClass([
3530
- (0, import_typeorm20.Column)({ name: "client_id", type: "integer" }),
3531
- (0, import_typeorm20.Index)()
3582
+ (0, import_typeorm21.Column)({ name: "client_id", type: "integer" }),
3583
+ (0, import_typeorm21.Index)()
3532
3584
  ], ClientCandidatePreference.prototype, "clientId", 2);
3533
3585
  __decorateClass([
3534
- (0, import_typeorm20.ManyToOne)(() => User, (user) => user.clientPreferencesGiven),
3535
- (0, import_typeorm20.JoinColumn)({ name: "client_id" })
3586
+ (0, import_typeorm21.ManyToOne)(() => User, (user) => user.clientPreferencesGiven),
3587
+ (0, import_typeorm21.JoinColumn)({ name: "client_id" })
3536
3588
  ], ClientCandidatePreference.prototype, "client", 2);
3537
3589
  __decorateClass([
3538
- (0, import_typeorm20.Column)({ name: "candidate_id", type: "integer" }),
3539
- (0, import_typeorm20.Index)()
3590
+ (0, import_typeorm21.Column)({ name: "candidate_id", type: "integer" }),
3591
+ (0, import_typeorm21.Index)()
3540
3592
  ], ClientCandidatePreference.prototype, "candidateId", 2);
3541
3593
  __decorateClass([
3542
- (0, import_typeorm20.ManyToOne)(() => User, (user) => user.clientPreferencesReceived),
3543
- (0, import_typeorm20.JoinColumn)({ name: "candidate_id" })
3594
+ (0, import_typeorm21.ManyToOne)(() => User, (user) => user.clientPreferencesReceived),
3595
+ (0, import_typeorm21.JoinColumn)({ name: "candidate_id" })
3544
3596
  ], ClientCandidatePreference.prototype, "candidate", 2);
3545
3597
  __decorateClass([
3546
- (0, import_typeorm20.Column)({ name: "job_id", type: "integer", nullable: true }),
3547
- (0, import_typeorm20.Index)()
3598
+ (0, import_typeorm21.Column)({ name: "job_id", type: "integer", nullable: true }),
3599
+ (0, import_typeorm21.Index)()
3548
3600
  ], ClientCandidatePreference.prototype, "jobId", 2);
3549
3601
  __decorateClass([
3550
- (0, import_typeorm20.ManyToOne)(() => Job, (job) => job.clientCandidatePreferences, { nullable: true }),
3551
- (0, import_typeorm20.JoinColumn)({ name: "job_id" })
3602
+ (0, import_typeorm21.ManyToOne)(() => Job, (job) => job.clientCandidatePreferences, { nullable: true }),
3603
+ (0, import_typeorm21.JoinColumn)({ name: "job_id" })
3552
3604
  ], ClientCandidatePreference.prototype, "job", 2);
3553
3605
  __decorateClass([
3554
- (0, import_typeorm20.Column)({ name: "recommendation_id", type: "integer", nullable: true }),
3555
- (0, import_typeorm20.Index)()
3606
+ (0, import_typeorm21.Column)({ name: "recommendation_id", type: "integer", nullable: true }),
3607
+ (0, import_typeorm21.Index)()
3556
3608
  ], ClientCandidatePreference.prototype, "recommendationId", 2);
3557
3609
  __decorateClass([
3558
- (0, import_typeorm20.OneToOne)(() => JobRecommendation, (jobRecommendation) => jobRecommendation.preference, { nullable: true }),
3559
- (0, import_typeorm20.JoinColumn)({ name: "recommendation_id" })
3610
+ (0, import_typeorm21.OneToOne)(() => JobRecommendation, (jobRecommendation) => jobRecommendation.preference, { nullable: true }),
3611
+ (0, import_typeorm21.JoinColumn)({ name: "recommendation_id" })
3560
3612
  ], ClientCandidatePreference.prototype, "recommendation", 2);
3561
3613
  __decorateClass([
3562
- (0, import_typeorm20.Column)({
3614
+ (0, import_typeorm21.Column)({
3563
3615
  name: "preference",
3564
3616
  type: "enum",
3565
3617
  enum: ClientCandidatePreferenceEnum
3566
3618
  }),
3567
- (0, import_typeorm20.Index)()
3619
+ (0, import_typeorm21.Index)()
3568
3620
  ], ClientCandidatePreference.prototype, "preference", 2);
3569
3621
  ClientCandidatePreference = __decorateClass([
3570
- (0, import_typeorm20.Entity)("client_candidate_preferences")
3622
+ (0, import_typeorm21.Entity)("client_candidate_preferences")
3571
3623
  ], ClientCandidatePreference);
3572
3624
 
3573
3625
  // src/entities/job-recommendation.entity.ts
3574
3626
  var JobRecommendation = class {
3575
3627
  };
3576
3628
  __decorateClass([
3577
- (0, import_typeorm21.PrimaryGeneratedColumn)("increment", { type: "integer" })
3629
+ (0, import_typeorm22.PrimaryGeneratedColumn)("increment", { type: "integer" })
3578
3630
  ], JobRecommendation.prototype, "id", 2);
3579
3631
  __decorateClass([
3580
- (0, import_typeorm21.Column)({ name: "job_id", type: "integer" }),
3581
- (0, import_typeorm21.Index)()
3632
+ (0, import_typeorm22.Column)({ name: "job_id", type: "integer" }),
3633
+ (0, import_typeorm22.Index)()
3582
3634
  ], JobRecommendation.prototype, "jobId", 2);
3583
3635
  __decorateClass([
3584
- (0, import_typeorm21.ManyToOne)(() => Job, (job) => job.recommendations, { onDelete: "CASCADE" }),
3585
- (0, import_typeorm21.JoinColumn)({ name: "job_id" })
3636
+ (0, import_typeorm22.ManyToOne)(() => Job, (job) => job.recommendations, { onDelete: "CASCADE" }),
3637
+ (0, import_typeorm22.JoinColumn)({ name: "job_id" })
3586
3638
  ], JobRecommendation.prototype, "job", 2);
3587
3639
  __decorateClass([
3588
- (0, import_typeorm21.Column)({ name: "freelancer_id", type: "integer" }),
3589
- (0, import_typeorm21.Index)()
3640
+ (0, import_typeorm22.Column)({ name: "freelancer_id", type: "integer" }),
3641
+ (0, import_typeorm22.Index)()
3590
3642
  ], JobRecommendation.prototype, "freelancerId", 2);
3591
3643
  __decorateClass([
3592
- (0, import_typeorm21.Column)({ name: "client_id", type: "integer" }),
3593
- (0, import_typeorm21.Index)()
3644
+ (0, import_typeorm22.Column)({ name: "client_id", type: "integer" }),
3645
+ (0, import_typeorm22.Index)()
3594
3646
  ], JobRecommendation.prototype, "clientId", 2);
3595
3647
  __decorateClass([
3596
- (0, import_typeorm21.Column)({ name: "match_score", type: "numeric", precision: 5, scale: 2 })
3648
+ (0, import_typeorm22.Column)({ name: "match_score", type: "numeric", precision: 5, scale: 2 })
3597
3649
  ], JobRecommendation.prototype, "matchScore", 2);
3598
3650
  __decorateClass([
3599
- (0, import_typeorm21.Column)({ name: "match_score_summary", type: "jsonb", nullable: true })
3651
+ (0, import_typeorm22.Column)({ name: "match_score_summary", type: "jsonb", nullable: true })
3600
3652
  ], JobRecommendation.prototype, "matchScoreSummary", 2);
3601
3653
  __decorateClass([
3602
- (0, import_typeorm21.Column)({
3654
+ (0, import_typeorm22.Column)({
3603
3655
  name: "matching_skills",
3604
3656
  type: "text",
3605
3657
  array: true,
@@ -3607,10 +3659,10 @@ __decorateClass([
3607
3659
  })
3608
3660
  ], JobRecommendation.prototype, "matchingSkills", 2);
3609
3661
  __decorateClass([
3610
- (0, import_typeorm21.Column)({ name: "matching_skills_count", type: "int", nullable: true })
3662
+ (0, import_typeorm22.Column)({ name: "matching_skills_count", type: "int", nullable: true })
3611
3663
  ], JobRecommendation.prototype, "matchingSkillsCount", 2);
3612
3664
  __decorateClass([
3613
- (0, import_typeorm21.Column)({
3665
+ (0, import_typeorm22.Column)({
3614
3666
  name: "required_skills",
3615
3667
  type: "text",
3616
3668
  array: true,
@@ -3618,93 +3670,93 @@ __decorateClass([
3618
3670
  })
3619
3671
  ], JobRecommendation.prototype, "requiredSkills", 2);
3620
3672
  __decorateClass([
3621
- (0, import_typeorm21.Column)({ name: "required_skills_count", type: "int", nullable: true })
3673
+ (0, import_typeorm22.Column)({ name: "required_skills_count", type: "int", nullable: true })
3622
3674
  ], JobRecommendation.prototype, "requiredSkillsCount", 2);
3623
3675
  __decorateClass([
3624
- (0, import_typeorm21.Column)({
3676
+ (0, import_typeorm22.Column)({
3625
3677
  name: "last_calculated_at",
3626
3678
  type: "timestamp with time zone",
3627
3679
  nullable: true
3628
3680
  })
3629
3681
  ], JobRecommendation.prototype, "lastCalculatedAt", 2);
3630
3682
  __decorateClass([
3631
- (0, import_typeorm21.OneToOne)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.recommendation)
3683
+ (0, import_typeorm22.OneToOne)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.recommendation)
3632
3684
  ], JobRecommendation.prototype, "preference", 2);
3633
3685
  JobRecommendation = __decorateClass([
3634
- (0, import_typeorm21.Entity)("job_recommendations")
3686
+ (0, import_typeorm22.Entity)("job_recommendations")
3635
3687
  ], JobRecommendation);
3636
3688
 
3637
3689
  // src/entities/contract.entity.ts
3638
- var import_typeorm29 = require("typeorm");
3690
+ var import_typeorm30 = require("typeorm");
3639
3691
 
3640
3692
  // src/entities/escrow-wallet.entity.ts
3641
- var import_typeorm28 = require("typeorm");
3693
+ var import_typeorm29 = require("typeorm");
3642
3694
 
3643
3695
  // src/entities/escrow-wallet-transaction.entity.ts
3644
- var import_typeorm27 = require("typeorm");
3696
+ var import_typeorm28 = require("typeorm");
3645
3697
 
3646
3698
  // src/entities/invoice.entity.ts
3647
- var import_typeorm26 = require("typeorm");
3699
+ var import_typeorm27 = require("typeorm");
3648
3700
 
3649
3701
  // src/entities/timesheet-line.entity.ts
3650
- var import_typeorm24 = require("typeorm");
3702
+ var import_typeorm25 = require("typeorm");
3651
3703
 
3652
3704
  // src/entities/timesheet-logs.entity.ts
3653
- var import_typeorm22 = require("typeorm");
3705
+ var import_typeorm23 = require("typeorm");
3654
3706
  var TimesheetLogs = class extends BaseEntity {
3655
3707
  };
3656
3708
  __decorateClass([
3657
- (0, import_typeorm22.Column)({ name: "timesheet_line_id", type: "integer", nullable: false }),
3658
- (0, import_typeorm22.Index)()
3709
+ (0, import_typeorm23.Column)({ name: "timesheet_line_id", type: "integer", nullable: false }),
3710
+ (0, import_typeorm23.Index)()
3659
3711
  ], TimesheetLogs.prototype, "timesheetLineId", 2);
3660
3712
  __decorateClass([
3661
- (0, import_typeorm22.ManyToOne)(() => TimesheetLine, (timesheetLine) => timesheetLine.timesheetLogs),
3662
- (0, import_typeorm22.JoinColumn)({ name: "timesheet_line_id" })
3713
+ (0, import_typeorm23.ManyToOne)(() => TimesheetLine, (timesheetLine) => timesheetLine.timesheetLogs),
3714
+ (0, import_typeorm23.JoinColumn)({ name: "timesheet_line_id" })
3663
3715
  ], TimesheetLogs.prototype, "timesheetLine", 2);
3664
3716
  __decorateClass([
3665
- (0, import_typeorm22.Column)({
3717
+ (0, import_typeorm23.Column)({
3666
3718
  name: "start_date",
3667
3719
  type: "date",
3668
3720
  nullable: true
3669
3721
  })
3670
3722
  ], TimesheetLogs.prototype, "startDate", 2);
3671
3723
  __decorateClass([
3672
- (0, import_typeorm22.Column)({
3724
+ (0, import_typeorm23.Column)({
3673
3725
  name: "end_date",
3674
3726
  type: "date",
3675
3727
  nullable: true
3676
3728
  })
3677
3729
  ], TimesheetLogs.prototype, "endDate", 2);
3678
3730
  __decorateClass([
3679
- (0, import_typeorm22.Column)({ name: "start_time", type: "varchar", nullable: true })
3731
+ (0, import_typeorm23.Column)({ name: "start_time", type: "varchar", nullable: true })
3680
3732
  ], TimesheetLogs.prototype, "startTime", 2);
3681
3733
  __decorateClass([
3682
- (0, import_typeorm22.Column)({ name: "end_time", type: "varchar", nullable: true })
3734
+ (0, import_typeorm23.Column)({ name: "end_time", type: "varchar", nullable: true })
3683
3735
  ], TimesheetLogs.prototype, "endTime", 2);
3684
3736
  __decorateClass([
3685
- (0, import_typeorm22.Column)({ name: "worked_hours", type: "varchar", nullable: true })
3737
+ (0, import_typeorm23.Column)({ name: "worked_hours", type: "varchar", nullable: true })
3686
3738
  ], TimesheetLogs.prototype, "workedHours", 2);
3687
3739
  __decorateClass([
3688
- (0, import_typeorm22.Column)({ name: "task_id", type: "integer", nullable: true })
3740
+ (0, import_typeorm23.Column)({ name: "task_id", type: "integer", nullable: true })
3689
3741
  ], TimesheetLogs.prototype, "taskId", 2);
3690
3742
  __decorateClass([
3691
- (0, import_typeorm22.Column)({ name: "project_name", type: "varchar", nullable: true })
3743
+ (0, import_typeorm23.Column)({ name: "project_name", type: "varchar", nullable: true })
3692
3744
  ], TimesheetLogs.prototype, "projectName", 2);
3693
3745
  __decorateClass([
3694
- (0, import_typeorm22.Column)({ name: "deliverable", type: "varchar", nullable: true })
3746
+ (0, import_typeorm23.Column)({ name: "deliverable", type: "varchar", nullable: true })
3695
3747
  ], TimesheetLogs.prototype, "deliverable", 2);
3696
3748
  __decorateClass([
3697
- (0, import_typeorm22.Column)({ name: "task_name", type: "varchar", nullable: true })
3749
+ (0, import_typeorm23.Column)({ name: "task_name", type: "varchar", nullable: true })
3698
3750
  ], TimesheetLogs.prototype, "taskName", 2);
3699
3751
  __decorateClass([
3700
- (0, import_typeorm22.Column)({ name: "description", type: "varchar", nullable: true })
3752
+ (0, import_typeorm23.Column)({ name: "description", type: "varchar", nullable: true })
3701
3753
  ], TimesheetLogs.prototype, "description", 2);
3702
3754
  TimesheetLogs = __decorateClass([
3703
- (0, import_typeorm22.Entity)("timesheet_logs")
3755
+ (0, import_typeorm23.Entity)("timesheet_logs")
3704
3756
  ], TimesheetLogs);
3705
3757
 
3706
3758
  // src/entities/timesheet-line-history.entity.ts
3707
- var import_typeorm23 = require("typeorm");
3759
+ var import_typeorm24 = require("typeorm");
3708
3760
  var TimesheetLineHistoryStatusEnum = /* @__PURE__ */ ((TimesheetLineHistoryStatusEnum2) => {
3709
3761
  TimesheetLineHistoryStatusEnum2["DRAFT"] = "DRAFT";
3710
3762
  TimesheetLineHistoryStatusEnum2["SEND"] = "SEND";
@@ -3728,19 +3780,19 @@ var TimesheetSubmissionActionEnum = /* @__PURE__ */ ((TimesheetSubmissionActionE
3728
3780
  var TimesheetLineHistory = class extends BaseEntity {
3729
3781
  };
3730
3782
  __decorateClass([
3731
- (0, import_typeorm23.Column)({ name: "timesheet_line_id", type: "integer", nullable: false }),
3732
- (0, import_typeorm23.Index)()
3783
+ (0, import_typeorm24.Column)({ name: "timesheet_line_id", type: "integer", nullable: false }),
3784
+ (0, import_typeorm24.Index)()
3733
3785
  ], TimesheetLineHistory.prototype, "timesheetLineId", 2);
3734
3786
  __decorateClass([
3735
- (0, import_typeorm23.ManyToOne)(() => TimesheetLine, (timesheetLine) => timesheetLine.timesheetLineHistory),
3736
- (0, import_typeorm23.JoinColumn)({ name: "timesheet_line_id" })
3787
+ (0, import_typeorm24.ManyToOne)(() => TimesheetLine, (timesheetLine) => timesheetLine.timesheetLineHistory),
3788
+ (0, import_typeorm24.JoinColumn)({ name: "timesheet_line_id" })
3737
3789
  ], TimesheetLineHistory.prototype, "timesheetLine", 2);
3738
3790
  __decorateClass([
3739
- (0, import_typeorm23.Column)({ name: "changed_by", type: "integer", nullable: true }),
3740
- (0, import_typeorm23.Index)()
3791
+ (0, import_typeorm24.Column)({ name: "changed_by", type: "integer", nullable: true }),
3792
+ (0, import_typeorm24.Index)()
3741
3793
  ], TimesheetLineHistory.prototype, "changedBy", 2);
3742
3794
  __decorateClass([
3743
- (0, import_typeorm23.Column)({
3795
+ (0, import_typeorm24.Column)({
3744
3796
  name: "previous_status",
3745
3797
  type: "enum",
3746
3798
  enum: TimesheetLineHistoryStatusEnum,
@@ -3748,7 +3800,7 @@ __decorateClass([
3748
3800
  })
3749
3801
  ], TimesheetLineHistory.prototype, "previousStatus", 2);
3750
3802
  __decorateClass([
3751
- (0, import_typeorm23.Column)({
3803
+ (0, import_typeorm24.Column)({
3752
3804
  name: "new_status",
3753
3805
  type: "enum",
3754
3806
  enum: TimesheetLineHistoryStatusEnum,
@@ -3756,7 +3808,7 @@ __decorateClass([
3756
3808
  })
3757
3809
  ], TimesheetLineHistory.prototype, "newStatus", 2);
3758
3810
  __decorateClass([
3759
- (0, import_typeorm23.Column)({
3811
+ (0, import_typeorm24.Column)({
3760
3812
  name: "action_type",
3761
3813
  type: "enum",
3762
3814
  enum: TimesheetSubmissionActionEnum,
@@ -3764,10 +3816,10 @@ __decorateClass([
3764
3816
  })
3765
3817
  ], TimesheetLineHistory.prototype, "actionType", 2);
3766
3818
  __decorateClass([
3767
- (0, import_typeorm23.Column)({ name: "remarks", type: "varchar", nullable: true })
3819
+ (0, import_typeorm24.Column)({ name: "remarks", type: "varchar", nullable: true })
3768
3820
  ], TimesheetLineHistory.prototype, "remarks", 2);
3769
3821
  TimesheetLineHistory = __decorateClass([
3770
- (0, import_typeorm23.Entity)("timesheet_line_histories")
3822
+ (0, import_typeorm24.Entity)("timesheet_line_histories")
3771
3823
  ], TimesheetLineHistory);
3772
3824
 
3773
3825
  // src/entities/timesheet-line.entity.ts
@@ -3785,75 +3837,75 @@ var TimesheetLineStatusEnum = /* @__PURE__ */ ((TimesheetLineStatusEnum2) => {
3785
3837
  var TimesheetLine = class extends BaseEntity {
3786
3838
  };
3787
3839
  __decorateClass([
3788
- (0, import_typeorm24.Column)({ name: "job_id", type: "integer", nullable: true }),
3789
- (0, import_typeorm24.Index)()
3840
+ (0, import_typeorm25.Column)({ name: "job_id", type: "integer", nullable: true }),
3841
+ (0, import_typeorm25.Index)()
3790
3842
  ], TimesheetLine.prototype, "jobId", 2);
3791
3843
  __decorateClass([
3792
- (0, import_typeorm24.ManyToOne)(() => Job, (job) => job.timesheetLine),
3793
- (0, import_typeorm24.JoinColumn)({ name: "job_id" })
3844
+ (0, import_typeorm25.ManyToOne)(() => Job, (job) => job.timesheetLine),
3845
+ (0, import_typeorm25.JoinColumn)({ name: "job_id" })
3794
3846
  ], TimesheetLine.prototype, "job", 2);
3795
3847
  __decorateClass([
3796
- (0, import_typeorm24.Column)({ name: "client_id", type: "integer", nullable: true }),
3797
- (0, import_typeorm24.Index)()
3848
+ (0, import_typeorm25.Column)({ name: "client_id", type: "integer", nullable: true }),
3849
+ (0, import_typeorm25.Index)()
3798
3850
  ], TimesheetLine.prototype, "clientId", 2);
3799
3851
  __decorateClass([
3800
- (0, import_typeorm24.ManyToOne)(() => User, (user) => user.clientTimesheetLine),
3801
- (0, import_typeorm24.JoinColumn)({ name: "client_id" })
3852
+ (0, import_typeorm25.ManyToOne)(() => User, (user) => user.clientTimesheetLine),
3853
+ (0, import_typeorm25.JoinColumn)({ name: "client_id" })
3802
3854
  ], TimesheetLine.prototype, "client", 2);
3803
3855
  __decorateClass([
3804
- (0, import_typeorm24.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
3805
- (0, import_typeorm24.Index)()
3856
+ (0, import_typeorm25.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
3857
+ (0, import_typeorm25.Index)()
3806
3858
  ], TimesheetLine.prototype, "freelancerId", 2);
3807
3859
  __decorateClass([
3808
- (0, import_typeorm24.ManyToOne)(() => User, (user) => user.freelancerTimesheetLine),
3809
- (0, import_typeorm24.JoinColumn)({ name: "freelancer_id" })
3860
+ (0, import_typeorm25.ManyToOne)(() => User, (user) => user.freelancerTimesheetLine),
3861
+ (0, import_typeorm25.JoinColumn)({ name: "freelancer_id" })
3810
3862
  ], TimesheetLine.prototype, "freelancer", 2);
3811
3863
  __decorateClass([
3812
- (0, import_typeorm24.OneToMany)(() => TimesheetLogs, (timesheetLogs) => timesheetLogs.timesheetLine)
3864
+ (0, import_typeorm25.OneToMany)(() => TimesheetLogs, (timesheetLogs) => timesheetLogs.timesheetLine)
3813
3865
  ], TimesheetLine.prototype, "timesheetLogs", 2);
3814
3866
  __decorateClass([
3815
- (0, import_typeorm24.OneToMany)(() => TimesheetLineHistory, (timesheetLineHistory) => timesheetLineHistory.timesheetLine)
3867
+ (0, import_typeorm25.OneToMany)(() => TimesheetLineHistory, (timesheetLineHistory) => timesheetLineHistory.timesheetLine)
3816
3868
  ], TimesheetLine.prototype, "timesheetLineHistory", 2);
3817
3869
  __decorateClass([
3818
- (0, import_typeorm24.Column)({ name: "unique_id", type: "varchar", nullable: true })
3870
+ (0, import_typeorm25.Column)({ name: "unique_id", type: "varchar", nullable: true })
3819
3871
  ], TimesheetLine.prototype, "uniqueId", 2);
3820
3872
  __decorateClass([
3821
- (0, import_typeorm24.Column)({
3873
+ (0, import_typeorm25.Column)({
3822
3874
  name: "week_start_date",
3823
3875
  type: "date",
3824
3876
  nullable: true
3825
3877
  })
3826
3878
  ], TimesheetLine.prototype, "weekStartDate", 2);
3827
3879
  __decorateClass([
3828
- (0, import_typeorm24.Column)({
3880
+ (0, import_typeorm25.Column)({
3829
3881
  name: "week_end_date",
3830
3882
  type: "date",
3831
3883
  nullable: true
3832
3884
  })
3833
3885
  ], TimesheetLine.prototype, "weekEndDate", 2);
3834
3886
  __decorateClass([
3835
- (0, import_typeorm24.Column)({ name: "status", type: "enum", enum: TimesheetLineStatusEnum, nullable: true })
3887
+ (0, import_typeorm25.Column)({ name: "status", type: "enum", enum: TimesheetLineStatusEnum, nullable: true })
3836
3888
  ], TimesheetLine.prototype, "status", 2);
3837
3889
  __decorateClass([
3838
- (0, import_typeorm24.Column)({ name: "weekly_hours_sum", type: "varchar", nullable: true })
3890
+ (0, import_typeorm25.Column)({ name: "weekly_hours_sum", type: "varchar", nullable: true })
3839
3891
  ], TimesheetLine.prototype, "weeklyHoursSum", 2);
3840
3892
  __decorateClass([
3841
- (0, import_typeorm24.Column)({ name: "is_invoice_genrated", type: "boolean", default: false })
3893
+ (0, import_typeorm25.Column)({ name: "is_invoice_genrated", type: "boolean", default: false })
3842
3894
  ], TimesheetLine.prototype, "isInvoiceGenrated", 2);
3843
3895
  __decorateClass([
3844
- (0, import_typeorm24.Column)({ name: "is_invoice_approved", type: "boolean", default: false })
3896
+ (0, import_typeorm25.Column)({ name: "is_invoice_approved", type: "boolean", default: false })
3845
3897
  ], TimesheetLine.prototype, "isInvoiceApproved", 2);
3846
3898
  __decorateClass([
3847
- (0, import_typeorm24.OneToMany)(() => Invoice, (invoice) => invoice.timesheetLine, {
3899
+ (0, import_typeorm25.OneToMany)(() => Invoice, (invoice) => invoice.timesheetLine, {
3848
3900
  cascade: true
3849
3901
  })
3850
3902
  ], TimesheetLine.prototype, "invoice", 2);
3851
3903
  TimesheetLine = __decorateClass([
3852
- (0, import_typeorm24.Entity)("timesheet_lines")
3904
+ (0, import_typeorm25.Entity)("timesheet_lines")
3853
3905
  ], TimesheetLine);
3854
3906
 
3855
3907
  // src/entities/hiring.entity.ts
3856
- var import_typeorm25 = require("typeorm");
3908
+ var import_typeorm26 = require("typeorm");
3857
3909
  var HiredFreelancerNatureOfWorkEnum = /* @__PURE__ */ ((HiredFreelancerNatureOfWorkEnum2) => {
3858
3910
  HiredFreelancerNatureOfWorkEnum2["FTE"] = "FTE";
3859
3911
  HiredFreelancerNatureOfWorkEnum2["FREELANCE"] = "FREELANCE";
@@ -3862,39 +3914,39 @@ var HiredFreelancerNatureOfWorkEnum = /* @__PURE__ */ ((HiredFreelancerNatureOfW
3862
3914
  var Hiring = class extends BaseEntity {
3863
3915
  };
3864
3916
  __decorateClass([
3865
- (0, import_typeorm25.Column)({ name: "job_id", type: "integer", nullable: true }),
3866
- (0, import_typeorm25.Index)()
3917
+ (0, import_typeorm26.Column)({ name: "job_id", type: "integer", nullable: true }),
3918
+ (0, import_typeorm26.Index)()
3867
3919
  ], Hiring.prototype, "jobId", 2);
3868
3920
  __decorateClass([
3869
- (0, import_typeorm25.ManyToOne)(() => Job, (job) => job.hirings),
3870
- (0, import_typeorm25.JoinColumn)({ name: "job_id" })
3921
+ (0, import_typeorm26.ManyToOne)(() => Job, (job) => job.hirings),
3922
+ (0, import_typeorm26.JoinColumn)({ name: "job_id" })
3871
3923
  ], Hiring.prototype, "job", 2);
3872
3924
  __decorateClass([
3873
- (0, import_typeorm25.Column)({ name: "client_id", type: "integer", nullable: true }),
3874
- (0, import_typeorm25.Index)()
3925
+ (0, import_typeorm26.Column)({ name: "client_id", type: "integer", nullable: true }),
3926
+ (0, import_typeorm26.Index)()
3875
3927
  ], Hiring.prototype, "clientId", 2);
3876
3928
  __decorateClass([
3877
- (0, import_typeorm25.ManyToOne)(() => User, (user) => user.clientHirings),
3878
- (0, import_typeorm25.JoinColumn)({ name: "client_id" })
3929
+ (0, import_typeorm26.ManyToOne)(() => User, (user) => user.clientHirings),
3930
+ (0, import_typeorm26.JoinColumn)({ name: "client_id" })
3879
3931
  ], Hiring.prototype, "client", 2);
3880
3932
  __decorateClass([
3881
- (0, import_typeorm25.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
3882
- (0, import_typeorm25.Index)()
3933
+ (0, import_typeorm26.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
3934
+ (0, import_typeorm26.Index)()
3883
3935
  ], Hiring.prototype, "freelancerId", 2);
3884
3936
  __decorateClass([
3885
- (0, import_typeorm25.ManyToOne)(() => User, (user) => user.freelancerHirings),
3886
- (0, import_typeorm25.JoinColumn)({ name: "freelancer_id" })
3937
+ (0, import_typeorm26.ManyToOne)(() => User, (user) => user.freelancerHirings),
3938
+ (0, import_typeorm26.JoinColumn)({ name: "freelancer_id" })
3887
3939
  ], Hiring.prototype, "freelancer", 2);
3888
3940
  __decorateClass([
3889
- (0, import_typeorm25.Column)({ name: "invoice_id", type: "integer", nullable: true }),
3890
- (0, import_typeorm25.Index)()
3941
+ (0, import_typeorm26.Column)({ name: "invoice_id", type: "integer", nullable: true }),
3942
+ (0, import_typeorm26.Index)()
3891
3943
  ], Hiring.prototype, "invoiceId", 2);
3892
3944
  __decorateClass([
3893
- (0, import_typeorm25.OneToOne)(() => Invoice, (invoice) => invoice.hiring),
3894
- (0, import_typeorm25.JoinColumn)({ name: "invoice_id" })
3945
+ (0, import_typeorm26.OneToOne)(() => Invoice, (invoice) => invoice.hiring),
3946
+ (0, import_typeorm26.JoinColumn)({ name: "invoice_id" })
3895
3947
  ], Hiring.prototype, "invoice", 2);
3896
3948
  __decorateClass([
3897
- (0, import_typeorm25.Column)({
3949
+ (0, import_typeorm26.Column)({
3898
3950
  name: "freelancer_nature_of_work",
3899
3951
  type: "enum",
3900
3952
  enum: HiredFreelancerNatureOfWorkEnum,
@@ -3902,10 +3954,10 @@ __decorateClass([
3902
3954
  })
3903
3955
  ], Hiring.prototype, "freelancerNatureOfWork", 2);
3904
3956
  __decorateClass([
3905
- (0, import_typeorm25.Column)({ name: "is_invoice_genrated", type: "boolean", default: false })
3957
+ (0, import_typeorm26.Column)({ name: "is_invoice_genrated", type: "boolean", default: false })
3906
3958
  ], Hiring.prototype, "isInvoiceGenrated", 2);
3907
3959
  Hiring = __decorateClass([
3908
- (0, import_typeorm25.Entity)("hirings")
3960
+ (0, import_typeorm26.Entity)("hirings")
3909
3961
  ], Hiring);
3910
3962
 
3911
3963
  // src/entities/invoice.entity.ts
@@ -3933,100 +3985,100 @@ var InvoicePaymentStatusEnum = /* @__PURE__ */ ((InvoicePaymentStatusEnum2) => {
3933
3985
  var Invoice = class extends BaseEntity {
3934
3986
  };
3935
3987
  __decorateClass([
3936
- (0, import_typeorm26.Column)({ name: "timesheet_line_id", type: "integer", nullable: true }),
3937
- (0, import_typeorm26.Index)()
3988
+ (0, import_typeorm27.Column)({ name: "timesheet_line_id", type: "integer", nullable: true }),
3989
+ (0, import_typeorm27.Index)()
3938
3990
  ], Invoice.prototype, "timesheetLineId", 2);
3939
3991
  __decorateClass([
3940
- (0, import_typeorm26.ManyToOne)(() => TimesheetLine, (timesheetLine) => timesheetLine.invoice),
3941
- (0, import_typeorm26.JoinColumn)({ name: "timesheet_line_id" })
3992
+ (0, import_typeorm27.ManyToOne)(() => TimesheetLine, (timesheetLine) => timesheetLine.invoice),
3993
+ (0, import_typeorm27.JoinColumn)({ name: "timesheet_line_id" })
3942
3994
  ], Invoice.prototype, "timesheetLine", 2);
3943
3995
  __decorateClass([
3944
- (0, import_typeorm26.Column)({ name: "job_id", type: "integer", nullable: true }),
3945
- (0, import_typeorm26.Index)()
3996
+ (0, import_typeorm27.Column)({ name: "job_id", type: "integer", nullable: true }),
3997
+ (0, import_typeorm27.Index)()
3946
3998
  ], Invoice.prototype, "jobId", 2);
3947
3999
  __decorateClass([
3948
- (0, import_typeorm26.ManyToOne)(() => Job, (job) => job.invoice),
3949
- (0, import_typeorm26.JoinColumn)({ name: "job_id" })
4000
+ (0, import_typeorm27.ManyToOne)(() => Job, (job) => job.invoice),
4001
+ (0, import_typeorm27.JoinColumn)({ name: "job_id" })
3950
4002
  ], Invoice.prototype, "job", 2);
3951
4003
  __decorateClass([
3952
- (0, import_typeorm26.Column)({ name: "client_id", type: "integer", nullable: true }),
3953
- (0, import_typeorm26.Index)()
4004
+ (0, import_typeorm27.Column)({ name: "client_id", type: "integer", nullable: true }),
4005
+ (0, import_typeorm27.Index)()
3954
4006
  ], Invoice.prototype, "clientId", 2);
3955
4007
  __decorateClass([
3956
- (0, import_typeorm26.ManyToOne)(() => User, (user) => user.clientInvoice),
3957
- (0, import_typeorm26.JoinColumn)({ name: "client_id" })
4008
+ (0, import_typeorm27.ManyToOne)(() => User, (user) => user.clientInvoice),
4009
+ (0, import_typeorm27.JoinColumn)({ name: "client_id" })
3958
4010
  ], Invoice.prototype, "client", 2);
3959
4011
  __decorateClass([
3960
- (0, import_typeorm26.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
3961
- (0, import_typeorm26.Index)()
4012
+ (0, import_typeorm27.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
4013
+ (0, import_typeorm27.Index)()
3962
4014
  ], Invoice.prototype, "freelancerId", 2);
3963
4015
  __decorateClass([
3964
- (0, import_typeorm26.ManyToOne)(() => User, (user) => user.freelancerInvoice),
3965
- (0, import_typeorm26.JoinColumn)({ name: "freelancer_id" })
4016
+ (0, import_typeorm27.ManyToOne)(() => User, (user) => user.freelancerInvoice),
4017
+ (0, import_typeorm27.JoinColumn)({ name: "freelancer_id" })
3966
4018
  ], Invoice.prototype, "freelancer", 2);
3967
4019
  __decorateClass([
3968
- (0, import_typeorm26.Column)({ name: "invoice_unique_id", type: "varchar", nullable: true })
4020
+ (0, import_typeorm27.Column)({ name: "invoice_unique_id", type: "varchar", nullable: true })
3969
4021
  ], Invoice.prototype, "invoiceUniqueId", 2);
3970
4022
  __decorateClass([
3971
- (0, import_typeorm26.Column)({
4023
+ (0, import_typeorm27.Column)({
3972
4024
  name: "issued_at",
3973
4025
  type: "date",
3974
4026
  nullable: true
3975
4027
  })
3976
4028
  ], Invoice.prototype, "issuedAt", 2);
3977
4029
  __decorateClass([
3978
- (0, import_typeorm26.Column)({
4030
+ (0, import_typeorm27.Column)({
3979
4031
  name: "due_at",
3980
4032
  type: "date",
3981
4033
  nullable: true
3982
4034
  })
3983
4035
  ], Invoice.prototype, "dueAt", 2);
3984
4036
  __decorateClass([
3985
- (0, import_typeorm26.Column)({
4037
+ (0, import_typeorm27.Column)({
3986
4038
  name: "billing_cycle_from",
3987
4039
  type: "date",
3988
4040
  nullable: true
3989
4041
  })
3990
4042
  ], Invoice.prototype, "billingCycleFrom", 2);
3991
4043
  __decorateClass([
3992
- (0, import_typeorm26.Column)({
4044
+ (0, import_typeorm27.Column)({
3993
4045
  name: "billing_cycle_to",
3994
4046
  type: "date",
3995
4047
  nullable: true
3996
4048
  })
3997
4049
  ], Invoice.prototype, "billingCycleTo", 2);
3998
4050
  __decorateClass([
3999
- (0, import_typeorm26.Column)({ name: "billing_hours", type: "varchar", nullable: true })
4051
+ (0, import_typeorm27.Column)({ name: "billing_hours", type: "varchar", nullable: true })
4000
4052
  ], Invoice.prototype, "billingHours", 2);
4001
4053
  __decorateClass([
4002
- (0, import_typeorm26.Column)({ name: "hourly_rate", type: "varchar", nullable: true })
4054
+ (0, import_typeorm27.Column)({ name: "hourly_rate", type: "varchar", nullable: true })
4003
4055
  ], Invoice.prototype, "hourlyRate", 2);
4004
4056
  __decorateClass([
4005
- (0, import_typeorm26.Column)({ name: "billing_amount", type: "varchar", nullable: true })
4057
+ (0, import_typeorm27.Column)({ name: "billing_amount", type: "varchar", nullable: true })
4006
4058
  ], Invoice.prototype, "billingAmount", 2);
4007
4059
  __decorateClass([
4008
- (0, import_typeorm26.Column)({ name: "invoice_type", type: "enum", enum: InvoiceTypeEnum, nullable: true })
4060
+ (0, import_typeorm27.Column)({ name: "invoice_type", type: "enum", enum: InvoiceTypeEnum, nullable: true })
4009
4061
  ], Invoice.prototype, "invoiceType", 2);
4010
4062
  __decorateClass([
4011
- (0, import_typeorm26.Column)({ name: "status", type: "enum", enum: InvoiceStatusEnum, nullable: true })
4063
+ (0, import_typeorm27.Column)({ name: "status", type: "enum", enum: InvoiceStatusEnum, nullable: true })
4012
4064
  ], Invoice.prototype, "status", 2);
4013
4065
  __decorateClass([
4014
- (0, import_typeorm26.Column)({ name: "payment_status", type: "enum", enum: InvoicePaymentStatusEnum, nullable: true })
4066
+ (0, import_typeorm27.Column)({ name: "payment_status", type: "enum", enum: InvoicePaymentStatusEnum, nullable: true })
4015
4067
  ], Invoice.prototype, "paymentStatus", 2);
4016
4068
  __decorateClass([
4017
- (0, import_typeorm26.Column)({ name: "client_invoice_url", type: "varchar", nullable: true })
4069
+ (0, import_typeorm27.Column)({ name: "client_invoice_url", type: "varchar", nullable: true })
4018
4070
  ], Invoice.prototype, "clientInvoiceUrl", 2);
4019
4071
  __decorateClass([
4020
- (0, import_typeorm26.Column)({ name: "freelancer_invoice_url", type: "varchar", nullable: true })
4072
+ (0, import_typeorm27.Column)({ name: "freelancer_invoice_url", type: "varchar", nullable: true })
4021
4073
  ], Invoice.prototype, "freelancerInvoiceUrl", 2);
4022
4074
  __decorateClass([
4023
- (0, import_typeorm26.OneToOne)(() => EscrowWalletTransaction, (escrowWalletTransaction) => escrowWalletTransaction.invoice)
4075
+ (0, import_typeorm27.OneToOne)(() => EscrowWalletTransaction, (escrowWalletTransaction) => escrowWalletTransaction.invoice)
4024
4076
  ], Invoice.prototype, "escrowWalletTransaction", 2);
4025
4077
  __decorateClass([
4026
- (0, import_typeorm26.OneToOne)(() => Hiring, (hiring) => hiring.invoice)
4078
+ (0, import_typeorm27.OneToOne)(() => Hiring, (hiring) => hiring.invoice)
4027
4079
  ], Invoice.prototype, "hiring", 2);
4028
4080
  Invoice = __decorateClass([
4029
- (0, import_typeorm26.Entity)("invoices")
4081
+ (0, import_typeorm27.Entity)("invoices")
4030
4082
  ], Invoice);
4031
4083
 
4032
4084
  // src/entities/escrow-wallet-transaction.entity.ts
@@ -4043,89 +4095,89 @@ var EscrowWalletTransactionForEnum = /* @__PURE__ */ ((EscrowWalletTransactionFo
4043
4095
  var EscrowWalletTransaction = class extends BaseEntity {
4044
4096
  };
4045
4097
  __decorateClass([
4046
- (0, import_typeorm27.Column)({ name: "escrow_wallet_id", type: "integer", nullable: true }),
4047
- (0, import_typeorm27.Index)()
4098
+ (0, import_typeorm28.Column)({ name: "escrow_wallet_id", type: "integer", nullable: true }),
4099
+ (0, import_typeorm28.Index)()
4048
4100
  ], EscrowWalletTransaction.prototype, "escrowWalletId", 2);
4049
4101
  __decorateClass([
4050
- (0, import_typeorm27.ManyToOne)(() => EscrowWallet, (escrowWallet) => escrowWallet.escrowWalletTransactions),
4051
- (0, import_typeorm27.JoinColumn)({ name: "wallet_id" })
4102
+ (0, import_typeorm28.ManyToOne)(() => EscrowWallet, (escrowWallet) => escrowWallet.escrowWalletTransactions),
4103
+ (0, import_typeorm28.JoinColumn)({ name: "wallet_id" })
4052
4104
  ], EscrowWalletTransaction.prototype, "escrowWallet", 2);
4053
4105
  __decorateClass([
4054
- (0, import_typeorm27.Column)({ name: "invoice_id", type: "integer", nullable: true }),
4055
- (0, import_typeorm27.Index)()
4106
+ (0, import_typeorm28.Column)({ name: "invoice_id", type: "integer", nullable: true }),
4107
+ (0, import_typeorm28.Index)()
4056
4108
  ], EscrowWalletTransaction.prototype, "invoiceId", 2);
4057
4109
  __decorateClass([
4058
- (0, import_typeorm27.OneToOne)(() => Invoice, (invoice) => invoice.escrowWalletTransaction),
4059
- (0, import_typeorm27.JoinColumn)({ name: "invoice_id" })
4110
+ (0, import_typeorm28.OneToOne)(() => Invoice, (invoice) => invoice.escrowWalletTransaction),
4111
+ (0, import_typeorm28.JoinColumn)({ name: "invoice_id" })
4060
4112
  ], EscrowWalletTransaction.prototype, "invoice", 2);
4061
4113
  __decorateClass([
4062
- (0, import_typeorm27.Column)({ name: "amount", type: "bigint", nullable: true })
4114
+ (0, import_typeorm28.Column)({ name: "amount", type: "bigint", nullable: true })
4063
4115
  ], EscrowWalletTransaction.prototype, "amount", 2);
4064
4116
  __decorateClass([
4065
- (0, import_typeorm27.Column)({ name: "escrow_type", type: "enum", enum: EscrowWalletTransactionTypeEnum })
4117
+ (0, import_typeorm28.Column)({ name: "escrow_type", type: "enum", enum: EscrowWalletTransactionTypeEnum })
4066
4118
  ], EscrowWalletTransaction.prototype, "escrowType", 2);
4067
4119
  __decorateClass([
4068
- (0, import_typeorm27.Column)({ name: "description", type: "text", nullable: true })
4120
+ (0, import_typeorm28.Column)({ name: "description", type: "text", nullable: true })
4069
4121
  ], EscrowWalletTransaction.prototype, "description", 2);
4070
4122
  __decorateClass([
4071
- (0, import_typeorm27.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
4123
+ (0, import_typeorm28.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
4072
4124
  ], EscrowWalletTransaction.prototype, "completedAt", 2);
4073
4125
  __decorateClass([
4074
- (0, import_typeorm27.Column)({ name: "escrow_transaction_for", type: "enum", enum: EscrowWalletTransactionForEnum })
4126
+ (0, import_typeorm28.Column)({ name: "escrow_transaction_for", type: "enum", enum: EscrowWalletTransactionForEnum })
4075
4127
  ], EscrowWalletTransaction.prototype, "escrowTransactionFor", 2);
4076
4128
  __decorateClass([
4077
- (0, import_typeorm27.Column)({ name: "meta_data", type: "varchar", nullable: true })
4129
+ (0, import_typeorm28.Column)({ name: "meta_data", type: "varchar", nullable: true })
4078
4130
  ], EscrowWalletTransaction.prototype, "metaData", 2);
4079
4131
  EscrowWalletTransaction = __decorateClass([
4080
- (0, import_typeorm27.Entity)("escrow_wallet_transactions")
4132
+ (0, import_typeorm28.Entity)("escrow_wallet_transactions")
4081
4133
  ], EscrowWalletTransaction);
4082
4134
 
4083
4135
  // src/entities/escrow-wallet.entity.ts
4084
4136
  var EscrowWallet = class extends BaseEntity {
4085
4137
  };
4086
4138
  __decorateClass([
4087
- (0, import_typeorm28.Column)({ name: "job_id", type: "integer", nullable: true }),
4088
- (0, import_typeorm28.Index)()
4139
+ (0, import_typeorm29.Column)({ name: "job_id", type: "integer", nullable: true }),
4140
+ (0, import_typeorm29.Index)()
4089
4141
  ], EscrowWallet.prototype, "jobId", 2);
4090
4142
  __decorateClass([
4091
- (0, import_typeorm28.ManyToOne)(() => Job, (job) => job.escrowWallets),
4092
- (0, import_typeorm28.JoinColumn)({ name: "job_id" })
4143
+ (0, import_typeorm29.ManyToOne)(() => Job, (job) => job.escrowWallets),
4144
+ (0, import_typeorm29.JoinColumn)({ name: "job_id" })
4093
4145
  ], EscrowWallet.prototype, "job", 2);
4094
4146
  __decorateClass([
4095
- (0, import_typeorm28.Column)({ name: "client_id", type: "integer", nullable: true }),
4096
- (0, import_typeorm28.Index)()
4147
+ (0, import_typeorm29.Column)({ name: "client_id", type: "integer", nullable: true }),
4148
+ (0, import_typeorm29.Index)()
4097
4149
  ], EscrowWallet.prototype, "clientId", 2);
4098
4150
  __decorateClass([
4099
- (0, import_typeorm28.ManyToOne)(() => User, (user) => user.clientEscrowWallets),
4100
- (0, import_typeorm28.JoinColumn)({ name: "client_id" })
4151
+ (0, import_typeorm29.ManyToOne)(() => User, (user) => user.clientEscrowWallets),
4152
+ (0, import_typeorm29.JoinColumn)({ name: "client_id" })
4101
4153
  ], EscrowWallet.prototype, "client", 2);
4102
4154
  __decorateClass([
4103
- (0, import_typeorm28.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
4104
- (0, import_typeorm28.Index)()
4155
+ (0, import_typeorm29.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
4156
+ (0, import_typeorm29.Index)()
4105
4157
  ], EscrowWallet.prototype, "freelancerId", 2);
4106
4158
  __decorateClass([
4107
- (0, import_typeorm28.ManyToOne)(() => User, (user) => user.freelancerEscrowWallets),
4108
- (0, import_typeorm28.JoinColumn)({ name: "freelancer_id" })
4159
+ (0, import_typeorm29.ManyToOne)(() => User, (user) => user.freelancerEscrowWallets),
4160
+ (0, import_typeorm29.JoinColumn)({ name: "freelancer_id" })
4109
4161
  ], EscrowWallet.prototype, "freelancer", 2);
4110
4162
  __decorateClass([
4111
- (0, import_typeorm28.Column)({ name: "contract_id", type: "integer", nullable: true }),
4112
- (0, import_typeorm28.Index)()
4163
+ (0, import_typeorm29.Column)({ name: "contract_id", type: "integer", nullable: true }),
4164
+ (0, import_typeorm29.Index)()
4113
4165
  ], EscrowWallet.prototype, "contractId", 2);
4114
4166
  __decorateClass([
4115
- (0, import_typeorm28.OneToOne)(() => Contract, (contract) => contract.escrowWallet),
4116
- (0, import_typeorm28.JoinColumn)({ name: "contract_id" })
4167
+ (0, import_typeorm29.OneToOne)(() => Contract, (contract) => contract.escrowWallet),
4168
+ (0, import_typeorm29.JoinColumn)({ name: "contract_id" })
4117
4169
  ], EscrowWallet.prototype, "contract", 2);
4118
4170
  __decorateClass([
4119
- (0, import_typeorm28.Column)({ name: "wallet_balance", type: "varchar", default: "0" })
4171
+ (0, import_typeorm29.Column)({ name: "wallet_balance", type: "varchar", default: "0" })
4120
4172
  ], EscrowWallet.prototype, "escrowBalance", 2);
4121
4173
  __decorateClass([
4122
- (0, import_typeorm28.Column)({ name: "metadata", type: "jsonb", nullable: true })
4174
+ (0, import_typeorm29.Column)({ name: "metadata", type: "jsonb", nullable: true })
4123
4175
  ], EscrowWallet.prototype, "metadata", 2);
4124
4176
  __decorateClass([
4125
- (0, import_typeorm28.OneToMany)(() => EscrowWalletTransaction, (escrowWalletTransaction) => escrowWalletTransaction.escrowWallet)
4177
+ (0, import_typeorm29.OneToMany)(() => EscrowWalletTransaction, (escrowWalletTransaction) => escrowWalletTransaction.escrowWallet)
4126
4178
  ], EscrowWallet.prototype, "escrowWalletTransactions", 2);
4127
4179
  EscrowWallet = __decorateClass([
4128
- (0, import_typeorm28.Entity)("escrow_wallets")
4180
+ (0, import_typeorm29.Entity)("escrow_wallets")
4129
4181
  ], EscrowWallet);
4130
4182
 
4131
4183
  // src/entities/contract.entity.ts
@@ -4150,37 +4202,37 @@ var ContractTypeEnum = /* @__PURE__ */ ((ContractTypeEnum2) => {
4150
4202
  var Contract = class extends BaseEntity {
4151
4203
  };
4152
4204
  __decorateClass([
4153
- (0, import_typeorm29.Column)({ name: "contract_unique_id", type: "varchar", nullable: true, unique: true })
4205
+ (0, import_typeorm30.Column)({ name: "contract_unique_id", type: "varchar", nullable: true, unique: true })
4154
4206
  ], Contract.prototype, "contractUniqueId", 2);
4155
4207
  __decorateClass([
4156
- (0, import_typeorm29.Column)({ name: "job_id", type: "integer", nullable: true }),
4157
- (0, import_typeorm29.Index)()
4208
+ (0, import_typeorm30.Column)({ name: "job_id", type: "integer", nullable: true }),
4209
+ (0, import_typeorm30.Index)()
4158
4210
  ], Contract.prototype, "jobId", 2);
4159
4211
  __decorateClass([
4160
- (0, import_typeorm29.ManyToOne)(() => Job, (job) => job.contracts),
4161
- (0, import_typeorm29.JoinColumn)({ name: "job_id" })
4212
+ (0, import_typeorm30.ManyToOne)(() => Job, (job) => job.contracts),
4213
+ (0, import_typeorm30.JoinColumn)({ name: "job_id" })
4162
4214
  ], Contract.prototype, "job", 2);
4163
4215
  __decorateClass([
4164
- (0, import_typeorm29.Column)({ name: "client_id", type: "integer", nullable: true }),
4165
- (0, import_typeorm29.Index)()
4216
+ (0, import_typeorm30.Column)({ name: "client_id", type: "integer", nullable: true }),
4217
+ (0, import_typeorm30.Index)()
4166
4218
  ], Contract.prototype, "clientId", 2);
4167
4219
  __decorateClass([
4168
- (0, import_typeorm29.ManyToOne)(() => User, (user) => user.clientContracts),
4169
- (0, import_typeorm29.JoinColumn)({ name: "client_id" })
4220
+ (0, import_typeorm30.ManyToOne)(() => User, (user) => user.clientContracts),
4221
+ (0, import_typeorm30.JoinColumn)({ name: "client_id" })
4170
4222
  ], Contract.prototype, "client", 2);
4171
4223
  __decorateClass([
4172
- (0, import_typeorm29.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
4173
- (0, import_typeorm29.Index)()
4224
+ (0, import_typeorm30.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
4225
+ (0, import_typeorm30.Index)()
4174
4226
  ], Contract.prototype, "freelancerId", 2);
4175
4227
  __decorateClass([
4176
- (0, import_typeorm29.ManyToOne)(() => User, (user) => user.freelancerContracts),
4177
- (0, import_typeorm29.JoinColumn)({ name: "freelancer_id" })
4228
+ (0, import_typeorm30.ManyToOne)(() => User, (user) => user.freelancerContracts),
4229
+ (0, import_typeorm30.JoinColumn)({ name: "freelancer_id" })
4178
4230
  ], Contract.prototype, "freelancer", 2);
4179
4231
  __decorateClass([
4180
- (0, import_typeorm29.Column)({ name: "duration", type: "integer", nullable: true })
4232
+ (0, import_typeorm30.Column)({ name: "duration", type: "integer", nullable: true })
4181
4233
  ], Contract.prototype, "duration", 2);
4182
4234
  __decorateClass([
4183
- (0, import_typeorm29.Column)({
4235
+ (0, import_typeorm30.Column)({
4184
4236
  name: "status",
4185
4237
  type: "enum",
4186
4238
  enum: ContractStatusEnum,
@@ -4188,7 +4240,7 @@ __decorateClass([
4188
4240
  })
4189
4241
  ], Contract.prototype, "status", 2);
4190
4242
  __decorateClass([
4191
- (0, import_typeorm29.Column)({
4243
+ (0, import_typeorm30.Column)({
4192
4244
  name: "type",
4193
4245
  type: "enum",
4194
4246
  enum: ContractTypeEnum,
@@ -4196,10 +4248,10 @@ __decorateClass([
4196
4248
  })
4197
4249
  ], Contract.prototype, "type", 2);
4198
4250
  __decorateClass([
4199
- (0, import_typeorm29.Column)({ name: "invoicing_cycle", type: "varchar", nullable: true })
4251
+ (0, import_typeorm30.Column)({ name: "invoicing_cycle", type: "varchar", nullable: true })
4200
4252
  ], Contract.prototype, "invoicingCycle", 2);
4201
4253
  __decorateClass([
4202
- (0, import_typeorm29.Column)({
4254
+ (0, import_typeorm30.Column)({
4203
4255
  name: "escrow_deposite_amount",
4204
4256
  type: "decimal",
4205
4257
  precision: 10,
@@ -4208,80 +4260,80 @@ __decorateClass([
4208
4260
  })
4209
4261
  ], Contract.prototype, "escrowDepositeAmount", 2);
4210
4262
  __decorateClass([
4211
- (0, import_typeorm29.Column)({
4263
+ (0, import_typeorm30.Column)({
4212
4264
  name: "start_date",
4213
4265
  type: "timestamp with time zone",
4214
4266
  nullable: true
4215
4267
  })
4216
4268
  ], Contract.prototype, "startDate", 2);
4217
4269
  __decorateClass([
4218
- (0, import_typeorm29.Column)({
4270
+ (0, import_typeorm30.Column)({
4219
4271
  name: "end_date",
4220
4272
  type: "timestamp with time zone",
4221
4273
  nullable: true
4222
4274
  })
4223
4275
  ], Contract.prototype, "endDate", 2);
4224
4276
  __decorateClass([
4225
- (0, import_typeorm29.Column)({ name: "original_document_url", type: "varchar", nullable: true })
4277
+ (0, import_typeorm30.Column)({ name: "original_document_url", type: "varchar", nullable: true })
4226
4278
  ], Contract.prototype, "originalDocumentUrl", 2);
4227
4279
  __decorateClass([
4228
- (0, import_typeorm29.Column)({ name: "contract_document_url", type: "varchar", nullable: true })
4280
+ (0, import_typeorm30.Column)({ name: "contract_document_url", type: "varchar", nullable: true })
4229
4281
  ], Contract.prototype, "contractDocumentUrl", 2);
4230
4282
  __decorateClass([
4231
- (0, import_typeorm29.Column)({
4283
+ (0, import_typeorm30.Column)({
4232
4284
  name: "client_signed_at",
4233
4285
  type: "timestamp with time zone",
4234
4286
  nullable: true
4235
4287
  })
4236
4288
  ], Contract.prototype, "clientSignedAt", 2);
4237
4289
  __decorateClass([
4238
- (0, import_typeorm29.Column)({ name: "freelancer_viewed", type: "boolean", default: false })
4290
+ (0, import_typeorm30.Column)({ name: "freelancer_viewed", type: "boolean", default: false })
4239
4291
  ], Contract.prototype, "freelancerViewed", 2);
4240
4292
  __decorateClass([
4241
- (0, import_typeorm29.Column)({
4293
+ (0, import_typeorm30.Column)({
4242
4294
  name: "freelancer_viewed_at",
4243
4295
  type: "timestamp with time zone",
4244
4296
  nullable: true
4245
4297
  })
4246
4298
  ], Contract.prototype, "freelancerViewedAt", 2);
4247
4299
  __decorateClass([
4248
- (0, import_typeorm29.Column)({
4300
+ (0, import_typeorm30.Column)({
4249
4301
  name: "freelancer_signed_at",
4250
4302
  type: "timestamp with time zone",
4251
4303
  nullable: true
4252
4304
  })
4253
4305
  ], Contract.prototype, "freelancerSignedAt", 2);
4254
4306
  __decorateClass([
4255
- (0, import_typeorm29.Column)({
4307
+ (0, import_typeorm30.Column)({
4256
4308
  name: "rejectd_at",
4257
4309
  type: "timestamp with time zone",
4258
4310
  nullable: true
4259
4311
  })
4260
4312
  ], Contract.prototype, "rejectedAt", 2);
4261
4313
  __decorateClass([
4262
- (0, import_typeorm29.Column)({ name: "reject_reason", type: "varchar", nullable: true })
4314
+ (0, import_typeorm30.Column)({ name: "reject_reason", type: "varchar", nullable: true })
4263
4315
  ], Contract.prototype, "rejectReason", 2);
4264
4316
  __decorateClass([
4265
- (0, import_typeorm29.Column)({ name: "resend_count", type: "integer", default: 0 })
4317
+ (0, import_typeorm30.Column)({ name: "resend_count", type: "integer", default: 0 })
4266
4318
  ], Contract.prototype, "resendCount", 2);
4267
4319
  __decorateClass([
4268
- (0, import_typeorm29.Column)({ name: "is_work_contract_sent", type: "boolean", default: false })
4320
+ (0, import_typeorm30.Column)({ name: "is_work_contract_sent", type: "boolean", default: false })
4269
4321
  ], Contract.prototype, "isWorkContractSent", 2);
4270
4322
  __decorateClass([
4271
- (0, import_typeorm29.Column)({ name: "is_escrow_deposited", type: "boolean", default: false })
4323
+ (0, import_typeorm30.Column)({ name: "is_escrow_deposited", type: "boolean", default: false })
4272
4324
  ], Contract.prototype, "isEscrowDeposited", 2);
4273
4325
  __decorateClass([
4274
- (0, import_typeorm29.Column)({ name: "signature_positions", type: "jsonb", nullable: true })
4326
+ (0, import_typeorm30.Column)({ name: "signature_positions", type: "jsonb", nullable: true })
4275
4327
  ], Contract.prototype, "signaturePositions", 2);
4276
4328
  __decorateClass([
4277
- (0, import_typeorm29.OneToOne)(() => EscrowWallet, (escrowWallet) => escrowWallet.contract)
4329
+ (0, import_typeorm30.OneToOne)(() => EscrowWallet, (escrowWallet) => escrowWallet.contract)
4278
4330
  ], Contract.prototype, "escrowWallet", 2);
4279
4331
  Contract = __decorateClass([
4280
- (0, import_typeorm29.Entity)("contracts")
4332
+ (0, import_typeorm30.Entity)("contracts")
4281
4333
  ], Contract);
4282
4334
 
4283
4335
  // src/entities/timesheets.entity.ts
4284
- var import_typeorm30 = require("typeorm");
4336
+ var import_typeorm31 = require("typeorm");
4285
4337
  var TimesheetStatusEnum = /* @__PURE__ */ ((TimesheetStatusEnum2) => {
4286
4338
  TimesheetStatusEnum2["DRAFT"] = "DRAFT";
4287
4339
  TimesheetStatusEnum2["SEND"] = "SEND";
@@ -4294,136 +4346,136 @@ var TimesheetStatusEnum = /* @__PURE__ */ ((TimesheetStatusEnum2) => {
4294
4346
  var Timesheet = class extends BaseEntity {
4295
4347
  };
4296
4348
  __decorateClass([
4297
- (0, import_typeorm30.Column)({ name: "job_id", type: "integer", nullable: true }),
4298
- (0, import_typeorm30.Index)()
4349
+ (0, import_typeorm31.Column)({ name: "job_id", type: "integer", nullable: true }),
4350
+ (0, import_typeorm31.Index)()
4299
4351
  ], Timesheet.prototype, "jobId", 2);
4300
4352
  __decorateClass([
4301
- (0, import_typeorm30.ManyToOne)(() => Job, (job) => job.timesheets),
4302
- (0, import_typeorm30.JoinColumn)({ name: "job_id" })
4353
+ (0, import_typeorm31.ManyToOne)(() => Job, (job) => job.timesheets),
4354
+ (0, import_typeorm31.JoinColumn)({ name: "job_id" })
4303
4355
  ], Timesheet.prototype, "job", 2);
4304
4356
  __decorateClass([
4305
- (0, import_typeorm30.Column)({ name: "client_id", type: "integer", nullable: true }),
4306
- (0, import_typeorm30.Index)()
4357
+ (0, import_typeorm31.Column)({ name: "client_id", type: "integer", nullable: true }),
4358
+ (0, import_typeorm31.Index)()
4307
4359
  ], Timesheet.prototype, "clientId", 2);
4308
4360
  __decorateClass([
4309
- (0, import_typeorm30.ManyToOne)(() => User, (user) => user.clientTimesheets),
4310
- (0, import_typeorm30.JoinColumn)({ name: "client_id" })
4361
+ (0, import_typeorm31.ManyToOne)(() => User, (user) => user.clientTimesheets),
4362
+ (0, import_typeorm31.JoinColumn)({ name: "client_id" })
4311
4363
  ], Timesheet.prototype, "client", 2);
4312
4364
  __decorateClass([
4313
- (0, import_typeorm30.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
4314
- (0, import_typeorm30.Index)()
4365
+ (0, import_typeorm31.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
4366
+ (0, import_typeorm31.Index)()
4315
4367
  ], Timesheet.prototype, "freelancerId", 2);
4316
4368
  __decorateClass([
4317
- (0, import_typeorm30.ManyToOne)(() => User, (user) => user.freelancerTimesheets),
4318
- (0, import_typeorm30.JoinColumn)({ name: "freelancer_id" })
4369
+ (0, import_typeorm31.ManyToOne)(() => User, (user) => user.freelancerTimesheets),
4370
+ (0, import_typeorm31.JoinColumn)({ name: "freelancer_id" })
4319
4371
  ], Timesheet.prototype, "freelancer", 2);
4320
4372
  __decorateClass([
4321
- (0, import_typeorm30.Column)({
4373
+ (0, import_typeorm31.Column)({
4322
4374
  name: "start_date",
4323
4375
  type: "date",
4324
4376
  nullable: true
4325
4377
  })
4326
4378
  ], Timesheet.prototype, "startDate", 2);
4327
4379
  __decorateClass([
4328
- (0, import_typeorm30.Column)({
4380
+ (0, import_typeorm31.Column)({
4329
4381
  name: "end_date",
4330
4382
  type: "date",
4331
4383
  nullable: true
4332
4384
  })
4333
4385
  ], Timesheet.prototype, "endDate", 2);
4334
4386
  __decorateClass([
4335
- (0, import_typeorm30.Column)({ name: "start_time", type: "varchar", nullable: true })
4387
+ (0, import_typeorm31.Column)({ name: "start_time", type: "varchar", nullable: true })
4336
4388
  ], Timesheet.prototype, "startTime", 2);
4337
4389
  __decorateClass([
4338
- (0, import_typeorm30.Column)({ name: "end_time", type: "varchar", nullable: true })
4390
+ (0, import_typeorm31.Column)({ name: "end_time", type: "varchar", nullable: true })
4339
4391
  ], Timesheet.prototype, "endTime", 2);
4340
4392
  __decorateClass([
4341
- (0, import_typeorm30.Column)({ name: "worked_hours", type: "varchar", nullable: true })
4393
+ (0, import_typeorm31.Column)({ name: "worked_hours", type: "varchar", nullable: true })
4342
4394
  ], Timesheet.prototype, "workedHours", 2);
4343
4395
  __decorateClass([
4344
- (0, import_typeorm30.Column)({ name: "task_id", type: "integer", nullable: true })
4396
+ (0, import_typeorm31.Column)({ name: "task_id", type: "integer", nullable: true })
4345
4397
  ], Timesheet.prototype, "taskId", 2);
4346
4398
  __decorateClass([
4347
- (0, import_typeorm30.Column)({ name: "task_name", type: "varchar", nullable: true })
4399
+ (0, import_typeorm31.Column)({ name: "task_name", type: "varchar", nullable: true })
4348
4400
  ], Timesheet.prototype, "taskName", 2);
4349
4401
  __decorateClass([
4350
- (0, import_typeorm30.Column)({ name: "description", type: "varchar", nullable: true })
4402
+ (0, import_typeorm31.Column)({ name: "description", type: "varchar", nullable: true })
4351
4403
  ], Timesheet.prototype, "description", 2);
4352
4404
  __decorateClass([
4353
- (0, import_typeorm30.Column)({ name: "week_start_date", type: "date", nullable: true })
4405
+ (0, import_typeorm31.Column)({ name: "week_start_date", type: "date", nullable: true })
4354
4406
  ], Timesheet.prototype, "weekStartDate", 2);
4355
4407
  __decorateClass([
4356
- (0, import_typeorm30.Column)({ name: "week_end_date", type: "date", nullable: true })
4408
+ (0, import_typeorm31.Column)({ name: "week_end_date", type: "date", nullable: true })
4357
4409
  ], Timesheet.prototype, "weekEndDate", 2);
4358
4410
  __decorateClass([
4359
- (0, import_typeorm30.Column)({ name: "rejected_at", type: "timestamp with time zone", nullable: true })
4411
+ (0, import_typeorm31.Column)({ name: "rejected_at", type: "timestamp with time zone", nullable: true })
4360
4412
  ], Timesheet.prototype, "rejectedAt", 2);
4361
4413
  __decorateClass([
4362
- (0, import_typeorm30.Column)({ name: "submitted_at", type: "timestamp with time zone", nullable: true })
4414
+ (0, import_typeorm31.Column)({ name: "submitted_at", type: "timestamp with time zone", nullable: true })
4363
4415
  ], Timesheet.prototype, "submittedAt", 2);
4364
4416
  __decorateClass([
4365
- (0, import_typeorm30.Column)({ name: "resubmiited_at", type: "timestamp with time zone", nullable: true })
4417
+ (0, import_typeorm31.Column)({ name: "resubmiited_at", type: "timestamp with time zone", nullable: true })
4366
4418
  ], Timesheet.prototype, "resubmittedAt", 2);
4367
4419
  __decorateClass([
4368
- (0, import_typeorm30.Column)({ name: "approved_at", type: "timestamp with time zone", nullable: true })
4420
+ (0, import_typeorm31.Column)({ name: "approved_at", type: "timestamp with time zone", nullable: true })
4369
4421
  ], Timesheet.prototype, "approvedAt", 2);
4370
4422
  __decorateClass([
4371
- (0, import_typeorm30.Column)({ name: "status", type: "enum", enum: TimesheetStatusEnum, nullable: true })
4423
+ (0, import_typeorm31.Column)({ name: "status", type: "enum", enum: TimesheetStatusEnum, nullable: true })
4372
4424
  ], Timesheet.prototype, "status", 2);
4373
4425
  __decorateClass([
4374
- (0, import_typeorm30.Column)({ name: "client_send_back_reason", type: "varchar", nullable: true })
4426
+ (0, import_typeorm31.Column)({ name: "client_send_back_reason", type: "varchar", nullable: true })
4375
4427
  ], Timesheet.prototype, "clientSendBackReason", 2);
4376
4428
  Timesheet = __decorateClass([
4377
- (0, import_typeorm30.Entity)("timesheets")
4429
+ (0, import_typeorm31.Entity)("timesheets")
4378
4430
  ], Timesheet);
4379
4431
 
4380
4432
  // src/entities/job-location.entity.ts
4381
- var import_typeorm31 = require("typeorm");
4433
+ var import_typeorm32 = require("typeorm");
4382
4434
  var JobLocation = class extends BaseEntity {
4383
4435
  };
4384
4436
  __decorateClass([
4385
- (0, import_typeorm31.Column)({ name: "job_id", type: "integer", nullable: false }),
4386
- (0, import_typeorm31.Index)()
4437
+ (0, import_typeorm32.Column)({ name: "job_id", type: "integer", nullable: false }),
4438
+ (0, import_typeorm32.Index)()
4387
4439
  ], JobLocation.prototype, "jobId", 2);
4388
4440
  __decorateClass([
4389
- (0, import_typeorm31.ManyToOne)(() => Job, (job) => job.jobLocations),
4390
- (0, import_typeorm31.JoinColumn)({ name: "job_id" })
4441
+ (0, import_typeorm32.ManyToOne)(() => Job, (job) => job.jobLocations),
4442
+ (0, import_typeorm32.JoinColumn)({ name: "job_id" })
4391
4443
  ], JobLocation.prototype, "job", 2);
4392
4444
  __decorateClass([
4393
- (0, import_typeorm31.Column)({ name: "country_id", type: "int", nullable: false })
4445
+ (0, import_typeorm32.Column)({ name: "country_id", type: "int", nullable: false })
4394
4446
  ], JobLocation.prototype, "countryId", 2);
4395
4447
  __decorateClass([
4396
- (0, import_typeorm31.Column)({ name: "country_name", type: "varchar", nullable: true })
4448
+ (0, import_typeorm32.Column)({ name: "country_name", type: "varchar", nullable: true })
4397
4449
  ], JobLocation.prototype, "countryName", 2);
4398
4450
  __decorateClass([
4399
- (0, import_typeorm31.ManyToOne)(() => Country),
4400
- (0, import_typeorm31.JoinColumn)({ name: "country_id" })
4451
+ (0, import_typeorm32.ManyToOne)(() => Country),
4452
+ (0, import_typeorm32.JoinColumn)({ name: "country_id" })
4401
4453
  ], JobLocation.prototype, "country", 2);
4402
4454
  __decorateClass([
4403
- (0, import_typeorm31.Column)({ name: "state_id", type: "int", nullable: false })
4455
+ (0, import_typeorm32.Column)({ name: "state_id", type: "int", nullable: false })
4404
4456
  ], JobLocation.prototype, "stateId", 2);
4405
4457
  __decorateClass([
4406
- (0, import_typeorm31.Column)({ name: "state_name", type: "varchar", nullable: true })
4458
+ (0, import_typeorm32.Column)({ name: "state_name", type: "varchar", nullable: true })
4407
4459
  ], JobLocation.prototype, "stateName", 2);
4408
4460
  __decorateClass([
4409
- (0, import_typeorm31.ManyToOne)(() => State),
4410
- (0, import_typeorm31.JoinColumn)({ name: "state_id" })
4461
+ (0, import_typeorm32.ManyToOne)(() => State),
4462
+ (0, import_typeorm32.JoinColumn)({ name: "state_id" })
4411
4463
  ], JobLocation.prototype, "state", 2);
4412
4464
  __decorateClass([
4413
- (0, import_typeorm31.Column)({ name: "city_id", type: "int", nullable: false })
4465
+ (0, import_typeorm32.Column)({ name: "city_id", type: "int", nullable: false })
4414
4466
  ], JobLocation.prototype, "cityId", 2);
4415
4467
  __decorateClass([
4416
- (0, import_typeorm31.Column)({ name: "city_name", type: "varchar", nullable: true })
4468
+ (0, import_typeorm32.Column)({ name: "city_name", type: "varchar", nullable: true })
4417
4469
  ], JobLocation.prototype, "cityName", 2);
4418
4470
  __decorateClass([
4419
- (0, import_typeorm31.ManyToOne)(() => City),
4420
- (0, import_typeorm31.JoinColumn)({ name: "city_id" })
4471
+ (0, import_typeorm32.ManyToOne)(() => City),
4472
+ (0, import_typeorm32.JoinColumn)({ name: "city_id" })
4421
4473
  ], JobLocation.prototype, "city", 2);
4422
4474
  __decorateClass([
4423
- (0, import_typeorm31.Column)({ name: "location_wise_openings", type: "int", default: 0 })
4475
+ (0, import_typeorm32.Column)({ name: "location_wise_openings", type: "int", default: 0 })
4424
4476
  ], JobLocation.prototype, "locationWiseOpenings", 2);
4425
4477
  JobLocation = __decorateClass([
4426
- (0, import_typeorm31.Entity)("job_locations")
4478
+ (0, import_typeorm32.Entity)("job_locations")
4427
4479
  ], JobLocation);
4428
4480
 
4429
4481
  // src/entities/job.entity.ts
@@ -4472,55 +4524,55 @@ var DurationTypeEnum = /* @__PURE__ */ ((DurationTypeEnum2) => {
4472
4524
  var Job = class extends BaseEntity {
4473
4525
  };
4474
4526
  __decorateClass([
4475
- (0, import_typeorm32.Column)({ name: "job_id", type: "varchar", unique: true, nullable: true })
4527
+ (0, import_typeorm33.Column)({ name: "job_id", type: "varchar", unique: true, nullable: true })
4476
4528
  ], Job.prototype, "jobId", 2);
4477
4529
  // individual index to find jobs by user
4478
4530
  __decorateClass([
4479
- (0, import_typeorm32.Column)({ name: "user_id", type: "integer", nullable: true }),
4480
- (0, import_typeorm32.Index)()
4531
+ (0, import_typeorm33.Column)({ name: "user_id", type: "integer", nullable: true }),
4532
+ (0, import_typeorm33.Index)()
4481
4533
  ], Job.prototype, "userId", 2);
4482
4534
  __decorateClass([
4483
- (0, import_typeorm32.ManyToOne)(() => User, (user) => user.jobs),
4484
- (0, import_typeorm32.JoinColumn)({ name: "user_id" })
4535
+ (0, import_typeorm33.ManyToOne)(() => User, (user) => user.jobs),
4536
+ (0, import_typeorm33.JoinColumn)({ name: "user_id" })
4485
4537
  ], Job.prototype, "user", 2);
4486
4538
  __decorateClass([
4487
- (0, import_typeorm32.Column)({ name: "country_id", type: "int", nullable: true })
4539
+ (0, import_typeorm33.Column)({ name: "country_id", type: "int", nullable: true })
4488
4540
  ], Job.prototype, "countryId", 2);
4489
4541
  __decorateClass([
4490
- (0, import_typeorm32.ManyToOne)(() => Country),
4491
- (0, import_typeorm32.JoinColumn)({ name: "country_id" })
4542
+ (0, import_typeorm33.ManyToOne)(() => Country),
4543
+ (0, import_typeorm33.JoinColumn)({ name: "country_id" })
4492
4544
  ], Job.prototype, "country", 2);
4493
4545
  __decorateClass([
4494
- (0, import_typeorm32.Column)({ name: "state_id", type: "int", nullable: true })
4546
+ (0, import_typeorm33.Column)({ name: "state_id", type: "int", nullable: true })
4495
4547
  ], Job.prototype, "stateId", 2);
4496
4548
  __decorateClass([
4497
- (0, import_typeorm32.ManyToOne)(() => State),
4498
- (0, import_typeorm32.JoinColumn)({ name: "state_id" })
4549
+ (0, import_typeorm33.ManyToOne)(() => State),
4550
+ (0, import_typeorm33.JoinColumn)({ name: "state_id" })
4499
4551
  ], Job.prototype, "state", 2);
4500
4552
  __decorateClass([
4501
- (0, import_typeorm32.Column)({ name: "city_id", type: "int", nullable: true })
4553
+ (0, import_typeorm33.Column)({ name: "city_id", type: "int", nullable: true })
4502
4554
  ], Job.prototype, "cityId", 2);
4503
4555
  __decorateClass([
4504
- (0, import_typeorm32.ManyToOne)(() => City),
4505
- (0, import_typeorm32.JoinColumn)({ name: "city_id" })
4556
+ (0, import_typeorm33.ManyToOne)(() => City),
4557
+ (0, import_typeorm33.JoinColumn)({ name: "city_id" })
4506
4558
  ], Job.prototype, "city", 2);
4507
4559
  __decorateClass([
4508
- (0, import_typeorm32.Column)({ name: "job_role", type: "varchar", nullable: true })
4560
+ (0, import_typeorm33.Column)({ name: "job_role", type: "varchar", nullable: true })
4509
4561
  ], Job.prototype, "jobRole", 2);
4510
4562
  __decorateClass([
4511
- (0, import_typeorm32.Column)({ name: "job_role_canonical_name", type: "varchar", nullable: true })
4563
+ (0, import_typeorm33.Column)({ name: "job_role_canonical_name", type: "varchar", nullable: true })
4512
4564
  ], Job.prototype, "jobRoleCanonicalName", 2);
4513
4565
  __decorateClass([
4514
- (0, import_typeorm32.Column)({ name: "project_name", type: "varchar", nullable: true })
4566
+ (0, import_typeorm33.Column)({ name: "project_name", type: "varchar", nullable: true })
4515
4567
  ], Job.prototype, "projectName", 2);
4516
4568
  __decorateClass([
4517
- (0, import_typeorm32.Column)({ name: "note", type: "varchar", nullable: true })
4569
+ (0, import_typeorm33.Column)({ name: "note", type: "varchar", nullable: true })
4518
4570
  ], Job.prototype, "note", 2);
4519
4571
  __decorateClass([
4520
- (0, import_typeorm32.Column)({ name: "openings", type: "integer", default: 0 })
4572
+ (0, import_typeorm33.Column)({ name: "openings", type: "integer", default: 0 })
4521
4573
  ], Job.prototype, "openings", 2);
4522
4574
  __decorateClass([
4523
- (0, import_typeorm32.Column)({
4575
+ (0, import_typeorm33.Column)({
4524
4576
  name: "location",
4525
4577
  type: "enum",
4526
4578
  enum: JobLocationEnum2,
@@ -4528,7 +4580,7 @@ __decorateClass([
4528
4580
  })
4529
4581
  ], Job.prototype, "location", 2);
4530
4582
  __decorateClass([
4531
- (0, import_typeorm32.Column)({
4583
+ (0, import_typeorm33.Column)({
4532
4584
  name: "type_of_employment",
4533
4585
  type: "enum",
4534
4586
  enum: TypeOfEmploymentEnum,
@@ -4536,10 +4588,10 @@ __decorateClass([
4536
4588
  })
4537
4589
  ], Job.prototype, "typeOfEmployment", 2);
4538
4590
  __decorateClass([
4539
- (0, import_typeorm32.Column)({ name: "academic_qualifictaion", type: "varchar", nullable: true })
4591
+ (0, import_typeorm33.Column)({ name: "academic_qualifictaion", type: "varchar", nullable: true })
4540
4592
  ], Job.prototype, "academicQualification", 2);
4541
4593
  __decorateClass([
4542
- (0, import_typeorm32.Column)({
4594
+ (0, import_typeorm33.Column)({
4543
4595
  name: "type_of_experience",
4544
4596
  type: "enum",
4545
4597
  enum: typeOfExperienceEnum,
@@ -4547,22 +4599,22 @@ __decorateClass([
4547
4599
  })
4548
4600
  ], Job.prototype, "typeOfExperience", 2);
4549
4601
  __decorateClass([
4550
- (0, import_typeorm32.Column)({ name: "years_of_experience", type: "varchar", nullable: true })
4602
+ (0, import_typeorm33.Column)({ name: "years_of_experience", type: "varchar", nullable: true })
4551
4603
  ], Job.prototype, "yearsOfExperience", 2);
4552
4604
  __decorateClass([
4553
- (0, import_typeorm32.Column)({ name: "years_of_experience_from", type: "varchar", nullable: true })
4605
+ (0, import_typeorm33.Column)({ name: "years_of_experience_from", type: "varchar", nullable: true })
4554
4606
  ], Job.prototype, "yearsOfExperienceFrom", 2);
4555
4607
  __decorateClass([
4556
- (0, import_typeorm32.Column)({ name: "years_of_experience_to", type: "varchar", nullable: true })
4608
+ (0, import_typeorm33.Column)({ name: "years_of_experience_to", type: "varchar", nullable: true })
4557
4609
  ], Job.prototype, "yearsOfExperienceTo", 2);
4558
4610
  __decorateClass([
4559
- (0, import_typeorm32.Column)({ name: "business_industry", type: "varchar", nullable: true })
4611
+ (0, import_typeorm33.Column)({ name: "business_industry", type: "varchar", nullable: true })
4560
4612
  ], Job.prototype, "businessIndustry", 2);
4561
4613
  __decorateClass([
4562
- (0, import_typeorm32.Column)({ name: "currency", type: "varchar", default: "USD" })
4614
+ (0, import_typeorm33.Column)({ name: "currency", type: "varchar", default: "USD" })
4563
4615
  ], Job.prototype, "currency", 2);
4564
4616
  __decorateClass([
4565
- (0, import_typeorm32.Column)({
4617
+ (0, import_typeorm33.Column)({
4566
4618
  name: "expected_salary_from",
4567
4619
  type: "decimal",
4568
4620
  precision: 10,
@@ -4571,14 +4623,14 @@ __decorateClass([
4571
4623
  })
4572
4624
  ], Job.prototype, "expectedSalaryFrom", 2);
4573
4625
  __decorateClass([
4574
- (0, import_typeorm32.Column)({
4626
+ (0, import_typeorm33.Column)({
4575
4627
  name: "hide_expected_salary_from",
4576
4628
  type: "boolean",
4577
4629
  default: false
4578
4630
  })
4579
4631
  ], Job.prototype, "hideExpectedSalaryFrom", 2);
4580
4632
  __decorateClass([
4581
- (0, import_typeorm32.Column)({
4633
+ (0, import_typeorm33.Column)({
4582
4634
  name: "expected_salary_to",
4583
4635
  type: "decimal",
4584
4636
  precision: 10,
@@ -4587,32 +4639,32 @@ __decorateClass([
4587
4639
  })
4588
4640
  ], Job.prototype, "expectedSalaryTo", 2);
4589
4641
  __decorateClass([
4590
- (0, import_typeorm32.Column)({
4642
+ (0, import_typeorm33.Column)({
4591
4643
  name: "hide_expected_salary_to",
4592
4644
  type: "boolean",
4593
4645
  default: false
4594
4646
  })
4595
4647
  ], Job.prototype, "hideExpectedSalaryTo", 2);
4596
4648
  __decorateClass([
4597
- (0, import_typeorm32.Column)({ name: "years", type: "varchar", nullable: true })
4649
+ (0, import_typeorm33.Column)({ name: "years", type: "varchar", nullable: true })
4598
4650
  ], Job.prototype, "years", 2);
4599
4651
  __decorateClass([
4600
- (0, import_typeorm32.Column)({ name: "months", type: "varchar", nullable: true })
4652
+ (0, import_typeorm33.Column)({ name: "months", type: "varchar", nullable: true })
4601
4653
  ], Job.prototype, "months", 2);
4602
4654
  __decorateClass([
4603
- (0, import_typeorm32.Column)({ name: "weeks", type: "varchar", nullable: true })
4655
+ (0, import_typeorm33.Column)({ name: "weeks", type: "varchar", nullable: true })
4604
4656
  ], Job.prototype, "weeks", 2);
4605
4657
  __decorateClass([
4606
- (0, import_typeorm32.Column)({ name: "days", type: "varchar", nullable: true })
4658
+ (0, import_typeorm33.Column)({ name: "days", type: "varchar", nullable: true })
4607
4659
  ], Job.prototype, "days", 2);
4608
4660
  __decorateClass([
4609
- (0, import_typeorm32.Column)({ name: "tentative_start_date", type: "date", nullable: true })
4661
+ (0, import_typeorm33.Column)({ name: "tentative_start_date", type: "date", nullable: true })
4610
4662
  ], Job.prototype, "tentativeStartDate", 2);
4611
4663
  __decorateClass([
4612
- (0, import_typeorm32.Column)({ name: "tentative_end_date", type: "date", nullable: true })
4664
+ (0, import_typeorm33.Column)({ name: "tentative_end_date", type: "date", nullable: true })
4613
4665
  ], Job.prototype, "tentativeEndDate", 2);
4614
4666
  __decorateClass([
4615
- (0, import_typeorm32.Column)({
4667
+ (0, import_typeorm33.Column)({
4616
4668
  name: "duration_type",
4617
4669
  type: "enum",
4618
4670
  enum: DurationTypeEnum,
@@ -4620,10 +4672,10 @@ __decorateClass([
4620
4672
  })
4621
4673
  ], Job.prototype, "durationType", 2);
4622
4674
  __decorateClass([
4623
- (0, import_typeorm32.Column)({ name: "duration", type: "varchar", nullable: true })
4675
+ (0, import_typeorm33.Column)({ name: "duration", type: "varchar", nullable: true })
4624
4676
  ], Job.prototype, "duration", 2);
4625
4677
  __decorateClass([
4626
- (0, import_typeorm32.Column)({
4678
+ (0, import_typeorm33.Column)({
4627
4679
  name: "number_of_hours",
4628
4680
  type: "decimal",
4629
4681
  precision: 4,
@@ -4632,13 +4684,13 @@ __decorateClass([
4632
4684
  })
4633
4685
  ], Job.prototype, "numberOfHours", 2);
4634
4686
  __decorateClass([
4635
- (0, import_typeorm32.Column)({ name: "description", type: "varchar", nullable: true })
4687
+ (0, import_typeorm33.Column)({ name: "description", type: "varchar", nullable: true })
4636
4688
  ], Job.prototype, "description", 2);
4637
4689
  __decorateClass([
4638
- (0, import_typeorm32.Column)({ name: "additional_comment", type: "varchar", nullable: true })
4690
+ (0, import_typeorm33.Column)({ name: "additional_comment", type: "varchar", nullable: true })
4639
4691
  ], Job.prototype, "additionalComment", 2);
4640
4692
  __decorateClass([
4641
- (0, import_typeorm32.Column)({
4693
+ (0, import_typeorm33.Column)({
4642
4694
  name: "onboarding_tat",
4643
4695
  type: "varchar",
4644
4696
  length: 50,
@@ -4646,14 +4698,14 @@ __decorateClass([
4646
4698
  })
4647
4699
  ], Job.prototype, "onboardingTat", 2);
4648
4700
  __decorateClass([
4649
- (0, import_typeorm32.Column)({
4701
+ (0, import_typeorm33.Column)({
4650
4702
  name: "candidate_communication_skills",
4651
4703
  type: "varchar",
4652
4704
  nullable: true
4653
4705
  })
4654
4706
  ], Job.prototype, "candidateCommunicationSkills", 2);
4655
4707
  __decorateClass([
4656
- (0, import_typeorm32.Column)({
4708
+ (0, import_typeorm33.Column)({
4657
4709
  name: "step_completed",
4658
4710
  type: "enum",
4659
4711
  enum: Step,
@@ -4661,7 +4713,7 @@ __decorateClass([
4661
4713
  })
4662
4714
  ], Job.prototype, "stepCompleted", 2);
4663
4715
  __decorateClass([
4664
- (0, import_typeorm32.Column)({
4716
+ (0, import_typeorm33.Column)({
4665
4717
  name: "status",
4666
4718
  type: "enum",
4667
4719
  enum: JobStatusEnum,
@@ -4669,40 +4721,40 @@ __decorateClass([
4669
4721
  })
4670
4722
  ], Job.prototype, "status", 2);
4671
4723
  __decorateClass([
4672
- (0, import_typeorm32.Column)({ name: "viewed_count", type: "integer", default: 0 })
4724
+ (0, import_typeorm33.Column)({ name: "viewed_count", type: "integer", default: 0 })
4673
4725
  ], Job.prototype, "viewedCount", 2);
4674
4726
  __decorateClass([
4675
- (0, import_typeorm32.Column)({ name: "application_count", type: "integer", default: 0 })
4727
+ (0, import_typeorm33.Column)({ name: "application_count", type: "integer", default: 0 })
4676
4728
  ], Job.prototype, "applicationCount", 2);
4677
4729
  __decorateClass([
4678
- (0, import_typeorm32.Column)({ name: "is_contract_signed", type: "boolean", default: false })
4730
+ (0, import_typeorm33.Column)({ name: "is_contract_signed", type: "boolean", default: false })
4679
4731
  ], Job.prototype, "isContractSigned", 2);
4680
4732
  __decorateClass([
4681
- (0, import_typeorm32.Column)({ name: "is_interview_created", type: "boolean", default: false })
4733
+ (0, import_typeorm33.Column)({ name: "is_interview_created", type: "boolean", default: false })
4682
4734
  ], Job.prototype, "isInterviewCreated", 2);
4683
4735
  __decorateClass([
4684
- (0, import_typeorm32.OneToMany)(() => InterviewInvite, (interviewInvite) => interviewInvite.job, { cascade: true })
4736
+ (0, import_typeorm33.OneToMany)(() => InterviewInvite, (interviewInvite) => interviewInvite.job, { cascade: true })
4685
4737
  ], Job.prototype, "interviewInvites", 2);
4686
4738
  __decorateClass([
4687
- (0, import_typeorm32.OneToMany)(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
4739
+ (0, import_typeorm33.OneToMany)(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
4688
4740
  ], Job.prototype, "jobSkills", 2);
4689
4741
  __decorateClass([
4690
- (0, import_typeorm32.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.job, {
4742
+ (0, import_typeorm33.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.job, {
4691
4743
  cascade: true
4692
4744
  })
4693
4745
  ], Job.prototype, "jobApplications", 2);
4694
4746
  __decorateClass([
4695
- (0, import_typeorm32.OneToMany)(() => Interview, (interview) => interview.job, {
4747
+ (0, import_typeorm33.OneToMany)(() => Interview, (interview) => interview.job, {
4696
4748
  cascade: true
4697
4749
  })
4698
4750
  ], Job.prototype, "interviews", 2);
4699
4751
  __decorateClass([
4700
- (0, import_typeorm32.OneToMany)(() => F2FInterview, (f2fInterview) => f2fInterview.job, {
4752
+ (0, import_typeorm33.OneToMany)(() => F2FInterview, (f2fInterview) => f2fInterview.job, {
4701
4753
  cascade: true
4702
4754
  })
4703
4755
  ], Job.prototype, "f2fInterviews", 2);
4704
4756
  __decorateClass([
4705
- (0, import_typeorm32.OneToMany)(
4757
+ (0, import_typeorm33.OneToMany)(
4706
4758
  () => JobRecommendation,
4707
4759
  (jobRecommendation) => jobRecommendation.job,
4708
4760
  {
@@ -4711,49 +4763,49 @@ __decorateClass([
4711
4763
  )
4712
4764
  ], Job.prototype, "recommendations", 2);
4713
4765
  __decorateClass([
4714
- (0, import_typeorm32.OneToMany)(() => Contract, (contract) => contract.job, {
4766
+ (0, import_typeorm33.OneToMany)(() => Contract, (contract) => contract.job, {
4715
4767
  cascade: true
4716
4768
  })
4717
4769
  ], Job.prototype, "contracts", 2);
4718
4770
  __decorateClass([
4719
- (0, import_typeorm32.OneToMany)(() => Hiring, (hiring) => hiring.job, {
4771
+ (0, import_typeorm33.OneToMany)(() => Hiring, (hiring) => hiring.job, {
4720
4772
  cascade: true
4721
4773
  })
4722
4774
  ], Job.prototype, "hirings", 2);
4723
4775
  __decorateClass([
4724
- (0, import_typeorm32.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.job, {
4776
+ (0, import_typeorm33.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.job, {
4725
4777
  cascade: true
4726
4778
  })
4727
4779
  ], Job.prototype, "escrowWallets", 2);
4728
4780
  __decorateClass([
4729
- (0, import_typeorm32.OneToMany)(() => Timesheet, (timesheet) => timesheet.job, {
4781
+ (0, import_typeorm33.OneToMany)(() => Timesheet, (timesheet) => timesheet.job, {
4730
4782
  cascade: true
4731
4783
  })
4732
4784
  ], Job.prototype, "timesheets", 2);
4733
4785
  __decorateClass([
4734
- (0, import_typeorm32.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.job, {
4786
+ (0, import_typeorm33.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.job, {
4735
4787
  cascade: true
4736
4788
  })
4737
4789
  ], Job.prototype, "timesheetLine", 2);
4738
4790
  __decorateClass([
4739
- (0, import_typeorm32.OneToMany)(() => Invoice, (invoice) => invoice.job, {
4791
+ (0, import_typeorm33.OneToMany)(() => Invoice, (invoice) => invoice.job, {
4740
4792
  cascade: true
4741
4793
  })
4742
4794
  ], Job.prototype, "invoice", 2);
4743
4795
  __decorateClass([
4744
- (0, import_typeorm32.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.job)
4796
+ (0, import_typeorm33.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.job)
4745
4797
  ], Job.prototype, "clientCandidatePreferences", 2);
4746
4798
  __decorateClass([
4747
- (0, import_typeorm32.OneToMany)(() => JobLocation, (jobLocation) => jobLocation.job, {
4799
+ (0, import_typeorm33.OneToMany)(() => JobLocation, (jobLocation) => jobLocation.job, {
4748
4800
  cascade: true
4749
4801
  })
4750
4802
  ], Job.prototype, "jobLocations", 2);
4751
4803
  Job = __decorateClass([
4752
- (0, import_typeorm32.Entity)("jobs")
4804
+ (0, import_typeorm33.Entity)("jobs")
4753
4805
  ], Job);
4754
4806
 
4755
4807
  // src/entities/bank-details.entity.ts
4756
- var import_typeorm33 = require("typeorm");
4808
+ var import_typeorm34 = require("typeorm");
4757
4809
  var BankAccountTypeEnum = /* @__PURE__ */ ((BankAccountTypeEnum2) => {
4758
4810
  BankAccountTypeEnum2["PRIMARY"] = "PRIMARY";
4759
4811
  BankAccountTypeEnum2["SECONDARY"] = "SECONDARY";
@@ -4768,51 +4820,51 @@ var BankDetail = class extends BaseEntity {
4768
4820
  };
4769
4821
  // individual index to find bank details by user
4770
4822
  __decorateClass([
4771
- (0, import_typeorm33.Column)({ name: "user_id", type: "integer", nullable: true }),
4772
- (0, import_typeorm33.Index)()
4823
+ (0, import_typeorm34.Column)({ name: "user_id", type: "integer", nullable: true }),
4824
+ (0, import_typeorm34.Index)()
4773
4825
  ], BankDetail.prototype, "userId", 2);
4774
4826
  __decorateClass([
4775
- (0, import_typeorm33.ManyToOne)(() => User, (user) => user.bankDetail),
4776
- (0, import_typeorm33.JoinColumn)({ name: "user_id" })
4827
+ (0, import_typeorm34.ManyToOne)(() => User, (user) => user.bankDetail),
4828
+ (0, import_typeorm34.JoinColumn)({ name: "user_id" })
4777
4829
  ], BankDetail.prototype, "user", 2);
4778
4830
  __decorateClass([
4779
- (0, import_typeorm33.Column)({ name: "name", type: "varchar", nullable: true })
4831
+ (0, import_typeorm34.Column)({ name: "name", type: "varchar", nullable: true })
4780
4832
  ], BankDetail.prototype, "name", 2);
4781
4833
  __decorateClass([
4782
- (0, import_typeorm33.Column)({ name: "mobile_code", type: "varchar", nullable: true })
4834
+ (0, import_typeorm34.Column)({ name: "mobile_code", type: "varchar", nullable: true })
4783
4835
  ], BankDetail.prototype, "mobileCode", 2);
4784
4836
  __decorateClass([
4785
- (0, import_typeorm33.Column)({ name: "mobile", type: "varchar", nullable: true })
4837
+ (0, import_typeorm34.Column)({ name: "mobile", type: "varchar", nullable: true })
4786
4838
  ], BankDetail.prototype, "mobile", 2);
4787
4839
  __decorateClass([
4788
- (0, import_typeorm33.Column)({ name: "email", type: "varchar" })
4840
+ (0, import_typeorm34.Column)({ name: "email", type: "varchar" })
4789
4841
  ], BankDetail.prototype, "email", 2);
4790
4842
  __decorateClass([
4791
- (0, import_typeorm33.Column)({ name: "address", type: "varchar", nullable: true })
4843
+ (0, import_typeorm34.Column)({ name: "address", type: "varchar", nullable: true })
4792
4844
  ], BankDetail.prototype, "address", 2);
4793
4845
  __decorateClass([
4794
- (0, import_typeorm33.Column)({ name: "account_number", type: "varchar", unique: true, nullable: true })
4846
+ (0, import_typeorm34.Column)({ name: "account_number", type: "varchar", unique: true, nullable: true })
4795
4847
  ], BankDetail.prototype, "accountNumber", 2);
4796
4848
  __decorateClass([
4797
- (0, import_typeorm33.Column)({ name: "bank_name", type: "varchar", nullable: true })
4849
+ (0, import_typeorm34.Column)({ name: "bank_name", type: "varchar", nullable: true })
4798
4850
  ], BankDetail.prototype, "bankName", 2);
4799
4851
  __decorateClass([
4800
- (0, import_typeorm33.Column)({ name: "ifsc_code", type: "varchar", nullable: true })
4852
+ (0, import_typeorm34.Column)({ name: "ifsc_code", type: "varchar", nullable: true })
4801
4853
  ], BankDetail.prototype, "ifscCode", 2);
4802
4854
  __decorateClass([
4803
- (0, import_typeorm33.Column)({ name: "branch_name", type: "varchar", nullable: true })
4855
+ (0, import_typeorm34.Column)({ name: "branch_name", type: "varchar", nullable: true })
4804
4856
  ], BankDetail.prototype, "branchName", 2);
4805
4857
  __decorateClass([
4806
- (0, import_typeorm33.Column)({ name: "routing_no", type: "varchar", nullable: true })
4858
+ (0, import_typeorm34.Column)({ name: "routing_no", type: "varchar", nullable: true })
4807
4859
  ], BankDetail.prototype, "routingNo", 2);
4808
4860
  __decorateClass([
4809
- (0, import_typeorm33.Column)({ name: "aba_no", type: "varchar", nullable: true })
4861
+ (0, import_typeorm34.Column)({ name: "aba_no", type: "varchar", nullable: true })
4810
4862
  ], BankDetail.prototype, "abaNumber", 2);
4811
4863
  __decorateClass([
4812
- (0, import_typeorm33.Column)({ name: "iban", type: "varchar", nullable: true })
4864
+ (0, import_typeorm34.Column)({ name: "iban", type: "varchar", nullable: true })
4813
4865
  ], BankDetail.prototype, "iban", 2);
4814
4866
  __decorateClass([
4815
- (0, import_typeorm33.Column)({
4867
+ (0, import_typeorm34.Column)({
4816
4868
  name: "account_type",
4817
4869
  type: "enum",
4818
4870
  enum: BankAccountTypeEnum,
@@ -4820,7 +4872,7 @@ __decorateClass([
4820
4872
  })
4821
4873
  ], BankDetail.prototype, "accountType", 2);
4822
4874
  __decorateClass([
4823
- (0, import_typeorm33.Column)({
4875
+ (0, import_typeorm34.Column)({
4824
4876
  name: "account_scope",
4825
4877
  type: "enum",
4826
4878
  enum: BankAccountScopeEnum,
@@ -4828,150 +4880,150 @@ __decorateClass([
4828
4880
  })
4829
4881
  ], BankDetail.prototype, "accountScope", 2);
4830
4882
  BankDetail = __decorateClass([
4831
- (0, import_typeorm33.Entity)("bank_details")
4883
+ (0, import_typeorm34.Entity)("bank_details")
4832
4884
  ], BankDetail);
4833
4885
 
4834
4886
  // src/entities/system-preference.entity.ts
4835
- var import_typeorm34 = require("typeorm");
4887
+ var import_typeorm35 = require("typeorm");
4836
4888
  var SystemPreference = class extends BaseEntity {
4837
4889
  };
4838
4890
  // individual index to find system preference by user
4839
4891
  __decorateClass([
4840
- (0, import_typeorm34.Column)({ name: "user_id", type: "integer", nullable: true }),
4841
- (0, import_typeorm34.Index)()
4892
+ (0, import_typeorm35.Column)({ name: "user_id", type: "integer", nullable: true }),
4893
+ (0, import_typeorm35.Index)()
4842
4894
  ], SystemPreference.prototype, "userId", 2);
4843
4895
  __decorateClass([
4844
- (0, import_typeorm34.ManyToOne)(() => User, (user) => user.systemPreference),
4845
- (0, import_typeorm34.JoinColumn)({ name: "user_id" })
4896
+ (0, import_typeorm35.ManyToOne)(() => User, (user) => user.systemPreference),
4897
+ (0, import_typeorm35.JoinColumn)({ name: "user_id" })
4846
4898
  ], SystemPreference.prototype, "user", 2);
4847
4899
  __decorateClass([
4848
- (0, import_typeorm34.Column)({ name: "key", type: "varchar", nullable: false })
4900
+ (0, import_typeorm35.Column)({ name: "key", type: "varchar", nullable: false })
4849
4901
  ], SystemPreference.prototype, "key", 2);
4850
4902
  __decorateClass([
4851
- (0, import_typeorm34.Column)({ name: "value", type: "boolean", default: false })
4903
+ (0, import_typeorm35.Column)({ name: "value", type: "boolean", default: false })
4852
4904
  ], SystemPreference.prototype, "value", 2);
4853
4905
  SystemPreference = __decorateClass([
4854
- (0, import_typeorm34.Entity)("system_preferences")
4906
+ (0, import_typeorm35.Entity)("system_preferences")
4855
4907
  ], SystemPreference);
4856
4908
 
4857
4909
  // src/entities/freelancer-experience.entity.ts
4858
- var import_typeorm35 = require("typeorm");
4910
+ var import_typeorm36 = require("typeorm");
4859
4911
  var FreelancerExperience = class extends BaseEntity {
4860
4912
  };
4861
4913
  // individual index to find experence by user
4862
4914
  __decorateClass([
4863
- (0, import_typeorm35.Column)({ name: "user_id", type: "integer", nullable: true }),
4864
- (0, import_typeorm35.Index)()
4915
+ (0, import_typeorm36.Column)({ name: "user_id", type: "integer", nullable: true }),
4916
+ (0, import_typeorm36.Index)()
4865
4917
  ], FreelancerExperience.prototype, "userId", 2);
4866
4918
  __decorateClass([
4867
- (0, import_typeorm35.ManyToOne)(() => User, (user) => user.freelancerExperience),
4868
- (0, import_typeorm35.JoinColumn)({ name: "user_id" })
4919
+ (0, import_typeorm36.ManyToOne)(() => User, (user) => user.freelancerExperience),
4920
+ (0, import_typeorm36.JoinColumn)({ name: "user_id" })
4869
4921
  ], FreelancerExperience.prototype, "user", 2);
4870
4922
  __decorateClass([
4871
- (0, import_typeorm35.Column)({ name: "company_name", type: "varchar", nullable: true })
4923
+ (0, import_typeorm36.Column)({ name: "company_name", type: "varchar", nullable: true })
4872
4924
  ], FreelancerExperience.prototype, "companyName", 2);
4873
4925
  __decorateClass([
4874
- (0, import_typeorm35.Column)({ name: "designation", type: "varchar", nullable: true })
4926
+ (0, import_typeorm36.Column)({ name: "designation", type: "varchar", nullable: true })
4875
4927
  ], FreelancerExperience.prototype, "designation", 2);
4876
4928
  __decorateClass([
4877
- (0, import_typeorm35.Column)({ name: "job_duration", type: "varchar", nullable: true })
4929
+ (0, import_typeorm36.Column)({ name: "job_duration", type: "varchar", nullable: true })
4878
4930
  ], FreelancerExperience.prototype, "jobDuration", 2);
4879
4931
  __decorateClass([
4880
- (0, import_typeorm35.Column)({ name: "description", type: "varchar", nullable: true })
4932
+ (0, import_typeorm36.Column)({ name: "description", type: "varchar", nullable: true })
4881
4933
  ], FreelancerExperience.prototype, "description", 2);
4882
4934
  FreelancerExperience = __decorateClass([
4883
- (0, import_typeorm35.Entity)("freelancer_experiences")
4935
+ (0, import_typeorm36.Entity)("freelancer_experiences")
4884
4936
  ], FreelancerExperience);
4885
4937
 
4886
4938
  // src/entities/freelancer-education.entity.ts
4887
- var import_typeorm36 = require("typeorm");
4939
+ var import_typeorm37 = require("typeorm");
4888
4940
  var FreelancerEducation = class extends BaseEntity {
4889
4941
  };
4890
4942
  // individual index to find education by user
4891
4943
  __decorateClass([
4892
- (0, import_typeorm36.Column)({ name: "user_id", type: "integer", nullable: true }),
4893
- (0, import_typeorm36.Index)()
4944
+ (0, import_typeorm37.Column)({ name: "user_id", type: "integer", nullable: true }),
4945
+ (0, import_typeorm37.Index)()
4894
4946
  ], FreelancerEducation.prototype, "userId", 2);
4895
4947
  __decorateClass([
4896
- (0, import_typeorm36.ManyToOne)(() => User, (user) => user.freelancerEducation),
4897
- (0, import_typeorm36.JoinColumn)({ name: "user_id" })
4948
+ (0, import_typeorm37.ManyToOne)(() => User, (user) => user.freelancerEducation),
4949
+ (0, import_typeorm37.JoinColumn)({ name: "user_id" })
4898
4950
  ], FreelancerEducation.prototype, "user", 2);
4899
4951
  __decorateClass([
4900
- (0, import_typeorm36.Column)({ name: "degree", type: "varchar", nullable: true })
4952
+ (0, import_typeorm37.Column)({ name: "degree", type: "varchar", nullable: true })
4901
4953
  ], FreelancerEducation.prototype, "degree", 2);
4902
4954
  __decorateClass([
4903
- (0, import_typeorm36.Column)({ name: "university", type: "varchar", nullable: true })
4955
+ (0, import_typeorm37.Column)({ name: "university", type: "varchar", nullable: true })
4904
4956
  ], FreelancerEducation.prototype, "university", 2);
4905
4957
  __decorateClass([
4906
- (0, import_typeorm36.Column)({ name: "year_of_graduation", type: "varchar", nullable: true })
4958
+ (0, import_typeorm37.Column)({ name: "year_of_graduation", type: "varchar", nullable: true })
4907
4959
  ], FreelancerEducation.prototype, "yearOfGraduation", 2);
4908
4960
  FreelancerEducation = __decorateClass([
4909
- (0, import_typeorm36.Entity)("freelancer_educations")
4961
+ (0, import_typeorm37.Entity)("freelancer_educations")
4910
4962
  ], FreelancerEducation);
4911
4963
 
4912
4964
  // src/entities/freelancer-project.entity.ts
4913
- var import_typeorm37 = require("typeorm");
4965
+ var import_typeorm38 = require("typeorm");
4914
4966
  var FreelancerProject = class extends BaseEntity {
4915
4967
  };
4916
4968
  // individual index to find project by user
4917
4969
  __decorateClass([
4918
- (0, import_typeorm37.Column)({ name: "user_id", type: "integer", nullable: true }),
4919
- (0, import_typeorm37.Index)()
4970
+ (0, import_typeorm38.Column)({ name: "user_id", type: "integer", nullable: true }),
4971
+ (0, import_typeorm38.Index)()
4920
4972
  ], FreelancerProject.prototype, "userId", 2);
4921
4973
  __decorateClass([
4922
- (0, import_typeorm37.ManyToOne)(() => User, (user) => user.freelancerProject),
4923
- (0, import_typeorm37.JoinColumn)({ name: "user_id" })
4974
+ (0, import_typeorm38.ManyToOne)(() => User, (user) => user.freelancerProject),
4975
+ (0, import_typeorm38.JoinColumn)({ name: "user_id" })
4924
4976
  ], FreelancerProject.prototype, "user", 2);
4925
4977
  __decorateClass([
4926
- (0, import_typeorm37.Column)({ name: "project_name", type: "varchar", nullable: true })
4978
+ (0, import_typeorm38.Column)({ name: "project_name", type: "varchar", nullable: true })
4927
4979
  ], FreelancerProject.prototype, "projectName", 2);
4928
4980
  __decorateClass([
4929
- (0, import_typeorm37.Column)({ name: "start_date", type: "date", nullable: true })
4981
+ (0, import_typeorm38.Column)({ name: "start_date", type: "date", nullable: true })
4930
4982
  ], FreelancerProject.prototype, "startDate", 2);
4931
4983
  __decorateClass([
4932
- (0, import_typeorm37.Column)({ name: "end_date", type: "date", nullable: true })
4984
+ (0, import_typeorm38.Column)({ name: "end_date", type: "date", nullable: true })
4933
4985
  ], FreelancerProject.prototype, "endDate", 2);
4934
4986
  __decorateClass([
4935
- (0, import_typeorm37.Column)({ name: "client_name", type: "varchar", nullable: true })
4987
+ (0, import_typeorm38.Column)({ name: "client_name", type: "varchar", nullable: true })
4936
4988
  ], FreelancerProject.prototype, "clientName", 2);
4937
4989
  __decorateClass([
4938
- (0, import_typeorm37.Column)({ name: "git_link", type: "varchar", nullable: true })
4990
+ (0, import_typeorm38.Column)({ name: "git_link", type: "varchar", nullable: true })
4939
4991
  ], FreelancerProject.prototype, "gitLink", 2);
4940
4992
  __decorateClass([
4941
- (0, import_typeorm37.Column)({ name: "description", type: "varchar", nullable: true })
4993
+ (0, import_typeorm38.Column)({ name: "description", type: "varchar", nullable: true })
4942
4994
  ], FreelancerProject.prototype, "description", 2);
4943
4995
  FreelancerProject = __decorateClass([
4944
- (0, import_typeorm37.Entity)("freelancer_projects")
4996
+ (0, import_typeorm38.Entity)("freelancer_projects")
4945
4997
  ], FreelancerProject);
4946
4998
 
4947
4999
  // src/entities/freelancer-casestudy.entity.ts
4948
- var import_typeorm38 = require("typeorm");
5000
+ var import_typeorm39 = require("typeorm");
4949
5001
  var FreelancerCaseStudy = class extends BaseEntity {
4950
5002
  };
4951
5003
  // individual index to find case study by user
4952
5004
  __decorateClass([
4953
- (0, import_typeorm38.Column)({ name: "user_id", type: "integer", nullable: true }),
4954
- (0, import_typeorm38.Index)()
5005
+ (0, import_typeorm39.Column)({ name: "user_id", type: "integer", nullable: true }),
5006
+ (0, import_typeorm39.Index)()
4955
5007
  ], FreelancerCaseStudy.prototype, "userId", 2);
4956
5008
  __decorateClass([
4957
- (0, import_typeorm38.ManyToOne)(() => User, (user) => user.freelancerCaseStudy),
4958
- (0, import_typeorm38.JoinColumn)({ name: "user_id" })
5009
+ (0, import_typeorm39.ManyToOne)(() => User, (user) => user.freelancerCaseStudy),
5010
+ (0, import_typeorm39.JoinColumn)({ name: "user_id" })
4959
5011
  ], FreelancerCaseStudy.prototype, "user", 2);
4960
5012
  __decorateClass([
4961
- (0, import_typeorm38.Column)({ name: "project_name", type: "varchar", nullable: true })
5013
+ (0, import_typeorm39.Column)({ name: "project_name", type: "varchar", nullable: true })
4962
5014
  ], FreelancerCaseStudy.prototype, "projectName", 2);
4963
5015
  __decorateClass([
4964
- (0, import_typeorm38.Column)({ name: "case_study_link", type: "varchar", nullable: true })
5016
+ (0, import_typeorm39.Column)({ name: "case_study_link", type: "varchar", nullable: true })
4965
5017
  ], FreelancerCaseStudy.prototype, "caseStudyLink", 2);
4966
5018
  __decorateClass([
4967
- (0, import_typeorm38.Column)({ name: "description", type: "varchar", nullable: true })
5019
+ (0, import_typeorm39.Column)({ name: "description", type: "varchar", nullable: true })
4968
5020
  ], FreelancerCaseStudy.prototype, "description", 2);
4969
5021
  FreelancerCaseStudy = __decorateClass([
4970
- (0, import_typeorm38.Entity)("freelancer_case_studies")
5022
+ (0, import_typeorm39.Entity)("freelancer_case_studies")
4971
5023
  ], FreelancerCaseStudy);
4972
5024
 
4973
5025
  // src/entities/freelancer-skill.entity.ts
4974
- var import_typeorm39 = require("typeorm");
5026
+ var import_typeorm40 = require("typeorm");
4975
5027
  var FreelancerSkillCategoryEnum = /* @__PURE__ */ ((FreelancerSkillCategoryEnum2) => {
4976
5028
  FreelancerSkillCategoryEnum2[FreelancerSkillCategoryEnum2["GOOD_TO_HAVE"] = 0] = "GOOD_TO_HAVE";
4977
5029
  FreelancerSkillCategoryEnum2[FreelancerSkillCategoryEnum2["MUST_HAVE"] = 1] = "MUST_HAVE";
@@ -4981,18 +5033,18 @@ var FreelancerSkill = class extends BaseEntity {
4981
5033
  };
4982
5034
  // individual index to find core skills by user
4983
5035
  __decorateClass([
4984
- (0, import_typeorm39.Column)({ name: "user_id", type: "integer", nullable: true }),
4985
- (0, import_typeorm39.Index)()
5036
+ (0, import_typeorm40.Column)({ name: "user_id", type: "integer", nullable: true }),
5037
+ (0, import_typeorm40.Index)()
4986
5038
  ], FreelancerSkill.prototype, "userId", 2);
4987
5039
  __decorateClass([
4988
- (0, import_typeorm39.ManyToOne)(() => User, (user) => user.freelancerSkills),
4989
- (0, import_typeorm39.JoinColumn)({ name: "user_id" })
5040
+ (0, import_typeorm40.ManyToOne)(() => User, (user) => user.freelancerSkills),
5041
+ (0, import_typeorm40.JoinColumn)({ name: "user_id" })
4990
5042
  ], FreelancerSkill.prototype, "user", 2);
4991
5043
  __decorateClass([
4992
- (0, import_typeorm39.Column)({ name: "skill_name", type: "varchar", nullable: true })
5044
+ (0, import_typeorm40.Column)({ name: "skill_name", type: "varchar", nullable: true })
4993
5045
  ], FreelancerSkill.prototype, "skillName", 2);
4994
5046
  __decorateClass([
4995
- (0, import_typeorm39.Column)({
5047
+ (0, import_typeorm40.Column)({
4996
5048
  name: "skill_category",
4997
5049
  type: "smallint",
4998
5050
  default: 1,
@@ -5000,51 +5052,51 @@ __decorateClass([
5000
5052
  })
5001
5053
  ], FreelancerSkill.prototype, "skillCategory", 2);
5002
5054
  FreelancerSkill = __decorateClass([
5003
- (0, import_typeorm39.Entity)("freelancer_skills")
5055
+ (0, import_typeorm40.Entity)("freelancer_skills")
5004
5056
  ], FreelancerSkill);
5005
5057
 
5006
5058
  // src/entities/freelancer-tool.entity.ts
5007
- var import_typeorm40 = require("typeorm");
5059
+ var import_typeorm41 = require("typeorm");
5008
5060
  var FreelancerTool = class extends BaseEntity {
5009
5061
  };
5010
5062
  // individual index to find tool by user
5011
5063
  __decorateClass([
5012
- (0, import_typeorm40.Column)({ name: "user_id", type: "integer", nullable: true }),
5013
- (0, import_typeorm40.Index)()
5064
+ (0, import_typeorm41.Column)({ name: "user_id", type: "integer", nullable: true }),
5065
+ (0, import_typeorm41.Index)()
5014
5066
  ], FreelancerTool.prototype, "userId", 2);
5015
5067
  __decorateClass([
5016
- (0, import_typeorm40.ManyToOne)(() => User, (user) => user.freelancerTool),
5017
- (0, import_typeorm40.JoinColumn)({ name: "user_id" })
5068
+ (0, import_typeorm41.ManyToOne)(() => User, (user) => user.freelancerTool),
5069
+ (0, import_typeorm41.JoinColumn)({ name: "user_id" })
5018
5070
  ], FreelancerTool.prototype, "user", 2);
5019
5071
  __decorateClass([
5020
- (0, import_typeorm40.Column)({ name: "tool_name", type: "varchar", nullable: true })
5072
+ (0, import_typeorm41.Column)({ name: "tool_name", type: "varchar", nullable: true })
5021
5073
  ], FreelancerTool.prototype, "toolName", 2);
5022
5074
  FreelancerTool = __decorateClass([
5023
- (0, import_typeorm40.Entity)("freelancer_tools")
5075
+ (0, import_typeorm41.Entity)("freelancer_tools")
5024
5076
  ], FreelancerTool);
5025
5077
 
5026
5078
  // src/entities/freelancer-framework.entity.ts
5027
- var import_typeorm41 = require("typeorm");
5079
+ var import_typeorm42 = require("typeorm");
5028
5080
  var FreelancerFramework = class extends BaseEntity {
5029
5081
  };
5030
5082
  // individual index to find framework by user
5031
5083
  __decorateClass([
5032
- (0, import_typeorm41.Column)({ name: "user_id", type: "integer", nullable: true }),
5033
- (0, import_typeorm41.Index)()
5084
+ (0, import_typeorm42.Column)({ name: "user_id", type: "integer", nullable: true }),
5085
+ (0, import_typeorm42.Index)()
5034
5086
  ], FreelancerFramework.prototype, "userId", 2);
5035
5087
  __decorateClass([
5036
- (0, import_typeorm41.ManyToOne)(() => User, (user) => user.freelancerFramework),
5037
- (0, import_typeorm41.JoinColumn)({ name: "user_id" })
5088
+ (0, import_typeorm42.ManyToOne)(() => User, (user) => user.freelancerFramework),
5089
+ (0, import_typeorm42.JoinColumn)({ name: "user_id" })
5038
5090
  ], FreelancerFramework.prototype, "user", 2);
5039
5091
  __decorateClass([
5040
- (0, import_typeorm41.Column)({ name: "framework_name", type: "varchar", nullable: true })
5092
+ (0, import_typeorm42.Column)({ name: "framework_name", type: "varchar", nullable: true })
5041
5093
  ], FreelancerFramework.prototype, "frameworkName", 2);
5042
5094
  FreelancerFramework = __decorateClass([
5043
- (0, import_typeorm41.Entity)("freelancer_frameworks")
5095
+ (0, import_typeorm42.Entity)("freelancer_frameworks")
5044
5096
  ], FreelancerFramework);
5045
5097
 
5046
5098
  // src/entities/freelancer-assessment.entity.ts
5047
- var import_typeorm42 = require("typeorm");
5099
+ var import_typeorm43 = require("typeorm");
5048
5100
  var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
5049
5101
  AssessmentStatusEnum2["NOT_ATTEMPTED"] = "NOT_ATTEMPTED";
5050
5102
  AssessmentStatusEnum2["ACTIVE"] = "ACTIVE";
@@ -5060,30 +5112,30 @@ var AssessmentStatusEnum = /* @__PURE__ */ ((AssessmentStatusEnum2) => {
5060
5112
  var FreelancerAssessment = class extends BaseEntity {
5061
5113
  };
5062
5114
  __decorateClass([
5063
- (0, import_typeorm42.Column)({ name: "user_id", type: "integer", nullable: true }),
5064
- (0, import_typeorm42.Index)()
5115
+ (0, import_typeorm43.Column)({ name: "user_id", type: "integer", nullable: true }),
5116
+ (0, import_typeorm43.Index)()
5065
5117
  ], FreelancerAssessment.prototype, "userId", 2);
5066
5118
  __decorateClass([
5067
- (0, import_typeorm42.ManyToOne)(() => User, (user) => user.assessments),
5068
- (0, import_typeorm42.JoinColumn)({ name: "user_id" })
5119
+ (0, import_typeorm43.ManyToOne)(() => User, (user) => user.assessments),
5120
+ (0, import_typeorm43.JoinColumn)({ name: "user_id" })
5069
5121
  ], FreelancerAssessment.prototype, "user", 2);
5070
5122
  __decorateClass([
5071
- (0, import_typeorm42.Column)({ name: "interview_id", type: "varchar", nullable: true })
5123
+ (0, import_typeorm43.Column)({ name: "interview_id", type: "varchar", nullable: true })
5072
5124
  ], FreelancerAssessment.prototype, "interviewId", 2);
5073
5125
  __decorateClass([
5074
- (0, import_typeorm42.Column)({ name: "interview_link", type: "text", nullable: true })
5126
+ (0, import_typeorm43.Column)({ name: "interview_link", type: "text", nullable: true })
5075
5127
  ], FreelancerAssessment.prototype, "interviewLink", 2);
5076
5128
  __decorateClass([
5077
- (0, import_typeorm42.Column)({ name: "recording_link", type: "text", nullable: true })
5129
+ (0, import_typeorm43.Column)({ name: "recording_link", type: "text", nullable: true })
5078
5130
  ], FreelancerAssessment.prototype, "recordingLink", 2);
5079
5131
  __decorateClass([
5080
- (0, import_typeorm42.Column)({ name: "iframe_response", type: "jsonb", nullable: true })
5132
+ (0, import_typeorm43.Column)({ name: "iframe_response", type: "jsonb", nullable: true })
5081
5133
  ], FreelancerAssessment.prototype, "iframeResponse", 2);
5082
5134
  __decorateClass([
5083
- (0, import_typeorm42.Column)({ name: "interview_summary", type: "jsonb", nullable: true })
5135
+ (0, import_typeorm43.Column)({ name: "interview_summary", type: "jsonb", nullable: true })
5084
5136
  ], FreelancerAssessment.prototype, "interviewSummary", 2);
5085
5137
  __decorateClass([
5086
- (0, import_typeorm42.Column)({
5138
+ (0, import_typeorm43.Column)({
5087
5139
  name: "status",
5088
5140
  type: "enum",
5089
5141
  enum: AssessmentStatusEnum,
@@ -5091,11 +5143,11 @@ __decorateClass([
5091
5143
  })
5092
5144
  ], FreelancerAssessment.prototype, "status", 2);
5093
5145
  FreelancerAssessment = __decorateClass([
5094
- (0, import_typeorm42.Entity)("freelancer_assessments")
5146
+ (0, import_typeorm43.Entity)("freelancer_assessments")
5095
5147
  ], FreelancerAssessment);
5096
5148
 
5097
5149
  // src/entities/freelancer-declaration.entity.ts
5098
- var import_typeorm43 = require("typeorm");
5150
+ var import_typeorm44 = require("typeorm");
5099
5151
  var DocumentType = /* @__PURE__ */ ((DocumentType2) => {
5100
5152
  DocumentType2["AADHAAR"] = "AADHAAR_CARD";
5101
5153
  DocumentType2["PASSPORT"] = "PASSPORT";
@@ -5107,15 +5159,15 @@ var FreelancerDeclaration = class extends BaseEntity {
5107
5159
  };
5108
5160
  // individual index to find declaration by user
5109
5161
  __decorateClass([
5110
- (0, import_typeorm43.Column)({ name: "user_id", type: "integer", nullable: true }),
5111
- (0, import_typeorm43.Index)()
5162
+ (0, import_typeorm44.Column)({ name: "user_id", type: "integer", nullable: true }),
5163
+ (0, import_typeorm44.Index)()
5112
5164
  ], FreelancerDeclaration.prototype, "userId", 2);
5113
5165
  __decorateClass([
5114
- (0, import_typeorm43.ManyToOne)(() => User, (user) => user.freelancerDeclaration),
5115
- (0, import_typeorm43.JoinColumn)({ name: "user_id" })
5166
+ (0, import_typeorm44.ManyToOne)(() => User, (user) => user.freelancerDeclaration),
5167
+ (0, import_typeorm44.JoinColumn)({ name: "user_id" })
5116
5168
  ], FreelancerDeclaration.prototype, "user", 2);
5117
5169
  __decorateClass([
5118
- (0, import_typeorm43.Column)({
5170
+ (0, import_typeorm44.Column)({
5119
5171
  name: "document_type",
5120
5172
  type: "enum",
5121
5173
  enum: DocumentType,
@@ -5123,144 +5175,144 @@ __decorateClass([
5123
5175
  })
5124
5176
  ], FreelancerDeclaration.prototype, "documentType", 2);
5125
5177
  __decorateClass([
5126
- (0, import_typeorm43.Column)({ name: "front_document_url", type: "varchar", nullable: true })
5178
+ (0, import_typeorm44.Column)({ name: "front_document_url", type: "varchar", nullable: true })
5127
5179
  ], FreelancerDeclaration.prototype, "frontDocumentUrl", 2);
5128
5180
  __decorateClass([
5129
- (0, import_typeorm43.Column)({ name: "back_document_url", type: "varchar", nullable: true })
5181
+ (0, import_typeorm44.Column)({ name: "back_document_url", type: "varchar", nullable: true })
5130
5182
  ], FreelancerDeclaration.prototype, "backDocumentUrl", 2);
5131
5183
  __decorateClass([
5132
- (0, import_typeorm43.Column)({ name: "declaration_accepted", type: "boolean", default: false })
5184
+ (0, import_typeorm44.Column)({ name: "declaration_accepted", type: "boolean", default: false })
5133
5185
  ], FreelancerDeclaration.prototype, "declarationAccepted", 2);
5134
5186
  __decorateClass([
5135
- (0, import_typeorm43.Column)({ name: "digital_signature_url", type: "varchar", nullable: true })
5187
+ (0, import_typeorm44.Column)({ name: "digital_signature_url", type: "varchar", nullable: true })
5136
5188
  ], FreelancerDeclaration.prototype, "digitalSignatureUrl", 2);
5137
5189
  FreelancerDeclaration = __decorateClass([
5138
- (0, import_typeorm43.Entity)("freelancer_declaration")
5190
+ (0, import_typeorm44.Entity)("freelancer_declaration")
5139
5191
  ], FreelancerDeclaration);
5140
5192
 
5141
5193
  // src/entities/company-members-roles.entity.ts
5142
- var import_typeorm47 = require("typeorm");
5194
+ var import_typeorm48 = require("typeorm");
5143
5195
 
5144
5196
  // src/entities/company-role.entity.ts
5145
- var import_typeorm46 = require("typeorm");
5197
+ var import_typeorm47 = require("typeorm");
5146
5198
 
5147
5199
  // src/entities/company-role-permission.entity.ts
5148
- var import_typeorm45 = require("typeorm");
5200
+ var import_typeorm46 = require("typeorm");
5149
5201
 
5150
5202
  // src/entities/permission.entity.ts
5151
- var import_typeorm44 = require("typeorm");
5203
+ var import_typeorm45 = require("typeorm");
5152
5204
  var Permission = class extends BaseEntity {
5153
5205
  };
5154
5206
  __decorateClass([
5155
- (0, import_typeorm44.Column)({ name: "name", type: "varchar", nullable: true })
5207
+ (0, import_typeorm45.Column)({ name: "name", type: "varchar", nullable: true })
5156
5208
  ], Permission.prototype, "name", 2);
5157
5209
  __decorateClass([
5158
- (0, import_typeorm44.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
5159
- (0, import_typeorm44.Index)()
5210
+ (0, import_typeorm45.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
5211
+ (0, import_typeorm45.Index)()
5160
5212
  ], Permission.prototype, "slug", 2);
5161
5213
  __decorateClass([
5162
- (0, import_typeorm44.Column)({ name: "description", type: "text", nullable: true })
5214
+ (0, import_typeorm45.Column)({ name: "description", type: "text", nullable: true })
5163
5215
  ], Permission.prototype, "description", 2);
5164
5216
  __decorateClass([
5165
- (0, import_typeorm44.Column)({ name: "is_active", type: "boolean", default: true })
5217
+ (0, import_typeorm45.Column)({ name: "is_active", type: "boolean", default: true })
5166
5218
  ], Permission.prototype, "isActive", 2);
5167
5219
  Permission = __decorateClass([
5168
- (0, import_typeorm44.Entity)("permissions")
5220
+ (0, import_typeorm45.Entity)("permissions")
5169
5221
  ], Permission);
5170
5222
 
5171
5223
  // src/entities/company-role-permission.entity.ts
5172
5224
  var CompanyRolePermission = class extends BaseEntity {
5173
5225
  };
5174
5226
  __decorateClass([
5175
- (0, import_typeorm45.Column)({ name: "company_role_id", type: "integer", nullable: true }),
5176
- (0, import_typeorm45.Index)()
5227
+ (0, import_typeorm46.Column)({ name: "company_role_id", type: "integer", nullable: true }),
5228
+ (0, import_typeorm46.Index)()
5177
5229
  ], CompanyRolePermission.prototype, "companyRoleId", 2);
5178
5230
  __decorateClass([
5179
- (0, import_typeorm45.ManyToOne)(() => CompanyRole, (role) => role.rolePermissions, {
5231
+ (0, import_typeorm46.ManyToOne)(() => CompanyRole, (role) => role.rolePermissions, {
5180
5232
  onDelete: "CASCADE"
5181
5233
  }),
5182
- (0, import_typeorm45.JoinColumn)({ name: "company_role_id" })
5234
+ (0, import_typeorm46.JoinColumn)({ name: "company_role_id" })
5183
5235
  ], CompanyRolePermission.prototype, "companyRole", 2);
5184
5236
  __decorateClass([
5185
- (0, import_typeorm45.Column)({ name: "permission_id", type: "integer" }),
5186
- (0, import_typeorm45.Index)()
5237
+ (0, import_typeorm46.Column)({ name: "permission_id", type: "integer" }),
5238
+ (0, import_typeorm46.Index)()
5187
5239
  ], CompanyRolePermission.prototype, "permissionId", 2);
5188
5240
  __decorateClass([
5189
- (0, import_typeorm45.ManyToOne)(() => Permission, { onDelete: "CASCADE" }),
5190
- (0, import_typeorm45.JoinColumn)({ name: "permission_id" })
5241
+ (0, import_typeorm46.ManyToOne)(() => Permission, { onDelete: "CASCADE" }),
5242
+ (0, import_typeorm46.JoinColumn)({ name: "permission_id" })
5191
5243
  ], CompanyRolePermission.prototype, "permission", 2);
5192
5244
  __decorateClass([
5193
- (0, import_typeorm45.Column)({ name: "assigned_by", type: "integer", nullable: true })
5245
+ (0, import_typeorm46.Column)({ name: "assigned_by", type: "integer", nullable: true })
5194
5246
  ], CompanyRolePermission.prototype, "assignedBy", 2);
5195
5247
  CompanyRolePermission = __decorateClass([
5196
- (0, import_typeorm45.Entity)("company_role_permissions")
5248
+ (0, import_typeorm46.Entity)("company_role_permissions")
5197
5249
  ], CompanyRolePermission);
5198
5250
 
5199
5251
  // src/entities/company-role.entity.ts
5200
5252
  var CompanyRole = class extends BaseEntity {
5201
5253
  };
5202
5254
  __decorateClass([
5203
- (0, import_typeorm46.Column)({ name: "user_id", type: "integer", nullable: true }),
5204
- (0, import_typeorm46.Index)()
5255
+ (0, import_typeorm47.Column)({ name: "user_id", type: "integer", nullable: true }),
5256
+ (0, import_typeorm47.Index)()
5205
5257
  ], CompanyRole.prototype, "userId", 2);
5206
5258
  __decorateClass([
5207
- (0, import_typeorm46.ManyToOne)(() => User, (user) => user.otps),
5208
- (0, import_typeorm46.JoinColumn)({ name: "user_id" })
5259
+ (0, import_typeorm47.ManyToOne)(() => User, (user) => user.otps),
5260
+ (0, import_typeorm47.JoinColumn)({ name: "user_id" })
5209
5261
  ], CompanyRole.prototype, "user", 2);
5210
5262
  __decorateClass([
5211
- (0, import_typeorm46.Column)({ name: "name", type: "varchar" })
5263
+ (0, import_typeorm47.Column)({ name: "name", type: "varchar" })
5212
5264
  ], CompanyRole.prototype, "name", 2);
5213
5265
  __decorateClass([
5214
- (0, import_typeorm46.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
5215
- (0, import_typeorm46.Index)()
5266
+ (0, import_typeorm47.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
5267
+ (0, import_typeorm47.Index)()
5216
5268
  ], CompanyRole.prototype, "slug", 2);
5217
5269
  __decorateClass([
5218
- (0, import_typeorm46.Column)({ name: "description", type: "text", nullable: true })
5270
+ (0, import_typeorm47.Column)({ name: "description", type: "text", nullable: true })
5219
5271
  ], CompanyRole.prototype, "description", 2);
5220
5272
  __decorateClass([
5221
- (0, import_typeorm46.Column)({ name: "is_active", type: "boolean", default: true })
5273
+ (0, import_typeorm47.Column)({ name: "is_active", type: "boolean", default: true })
5222
5274
  ], CompanyRole.prototype, "isActive", 2);
5223
5275
  __decorateClass([
5224
- (0, import_typeorm46.OneToMany)(() => CompanyRolePermission, (rp) => rp.companyRole)
5276
+ (0, import_typeorm47.OneToMany)(() => CompanyRolePermission, (rp) => rp.companyRole)
5225
5277
  ], CompanyRole.prototype, "rolePermissions", 2);
5226
5278
  CompanyRole = __decorateClass([
5227
- (0, import_typeorm46.Entity)("company_roles")
5279
+ (0, import_typeorm47.Entity)("company_roles")
5228
5280
  ], CompanyRole);
5229
5281
 
5230
5282
  // src/entities/company-members-roles.entity.ts
5231
5283
  var CompanyMemberRole = class extends BaseEntity {
5232
5284
  };
5233
5285
  __decorateClass([
5234
- (0, import_typeorm47.Column)({ name: "user_id", type: "integer", nullable: true }),
5235
- (0, import_typeorm47.Index)()
5286
+ (0, import_typeorm48.Column)({ name: "user_id", type: "integer", nullable: true }),
5287
+ (0, import_typeorm48.Index)()
5236
5288
  ], CompanyMemberRole.prototype, "userId", 2);
5237
5289
  __decorateClass([
5238
- (0, import_typeorm47.ManyToOne)(() => User),
5239
- (0, import_typeorm47.JoinColumn)({ name: "user_id" })
5290
+ (0, import_typeorm48.ManyToOne)(() => User),
5291
+ (0, import_typeorm48.JoinColumn)({ name: "user_id" })
5240
5292
  ], CompanyMemberRole.prototype, "user", 2);
5241
5293
  __decorateClass([
5242
- (0, import_typeorm47.ManyToOne)(() => CompanyRole),
5243
- (0, import_typeorm47.JoinColumn)({ name: "company_role_id" })
5294
+ (0, import_typeorm48.ManyToOne)(() => CompanyRole),
5295
+ (0, import_typeorm48.JoinColumn)({ name: "company_role_id" })
5244
5296
  ], CompanyMemberRole.prototype, "role", 2);
5245
5297
  __decorateClass([
5246
- (0, import_typeorm47.Column)({ name: "company_role_id", type: "integer", nullable: true }),
5247
- (0, import_typeorm47.Index)()
5298
+ (0, import_typeorm48.Column)({ name: "company_role_id", type: "integer", nullable: true }),
5299
+ (0, import_typeorm48.Index)()
5248
5300
  ], CompanyMemberRole.prototype, "companyRoleId", 2);
5249
5301
  __decorateClass([
5250
- (0, import_typeorm47.Column)({ name: "assigned_by", type: "integer", nullable: true })
5302
+ (0, import_typeorm48.Column)({ name: "assigned_by", type: "integer", nullable: true })
5251
5303
  ], CompanyMemberRole.prototype, "assignedBy", 2);
5252
5304
  CompanyMemberRole = __decorateClass([
5253
- (0, import_typeorm47.Entity)("company_member_roles")
5305
+ (0, import_typeorm48.Entity)("company_member_roles")
5254
5306
  ], CompanyMemberRole);
5255
5307
 
5256
5308
  // src/entities/assessment-answer.entity.ts
5257
- var import_typeorm50 = require("typeorm");
5309
+ var import_typeorm51 = require("typeorm");
5258
5310
 
5259
5311
  // src/entities/assessment-question.entity.ts
5260
- var import_typeorm49 = require("typeorm");
5312
+ var import_typeorm50 = require("typeorm");
5261
5313
 
5262
5314
  // src/entities/assessment-question-option.entity.ts
5263
- var import_typeorm48 = require("typeorm");
5315
+ var import_typeorm49 = require("typeorm");
5264
5316
  var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
5265
5317
  AnswerTypeEnum2["CORRECT"] = "CORRECT";
5266
5318
  AnswerTypeEnum2["ACCEPTABLE"] = "ACCEPTABLE";
@@ -5270,21 +5322,21 @@ var AnswerTypeEnum = /* @__PURE__ */ ((AnswerTypeEnum2) => {
5270
5322
  var AssessmetQuestionOption = class extends BaseEntity {
5271
5323
  };
5272
5324
  __decorateClass([
5273
- (0, import_typeorm48.Column)({ name: "question_id", type: "integer", nullable: true }),
5274
- (0, import_typeorm48.Index)()
5325
+ (0, import_typeorm49.Column)({ name: "question_id", type: "integer", nullable: true }),
5326
+ (0, import_typeorm49.Index)()
5275
5327
  ], AssessmetQuestionOption.prototype, "questionId", 2);
5276
5328
  __decorateClass([
5277
- (0, import_typeorm48.ManyToOne)(
5329
+ (0, import_typeorm49.ManyToOne)(
5278
5330
  () => AssessmetQuestion,
5279
5331
  (assessmentQuestion) => assessmentQuestion.options
5280
5332
  ),
5281
- (0, import_typeorm48.JoinColumn)({ name: "question_id" })
5333
+ (0, import_typeorm49.JoinColumn)({ name: "question_id" })
5282
5334
  ], AssessmetQuestionOption.prototype, "question", 2);
5283
5335
  __decorateClass([
5284
- (0, import_typeorm48.Column)({ name: "text", type: "varchar", nullable: true })
5336
+ (0, import_typeorm49.Column)({ name: "text", type: "varchar", nullable: true })
5285
5337
  ], AssessmetQuestionOption.prototype, "text", 2);
5286
5338
  __decorateClass([
5287
- (0, import_typeorm48.Column)({
5339
+ (0, import_typeorm49.Column)({
5288
5340
  name: "answer_type",
5289
5341
  type: "enum",
5290
5342
  enum: AnswerTypeEnum,
@@ -5292,13 +5344,13 @@ __decorateClass([
5292
5344
  })
5293
5345
  ], AssessmetQuestionOption.prototype, "answerType", 2);
5294
5346
  __decorateClass([
5295
- (0, import_typeorm48.Column)({ name: "is_active", type: "boolean", default: true })
5347
+ (0, import_typeorm49.Column)({ name: "is_active", type: "boolean", default: true })
5296
5348
  ], AssessmetQuestionOption.prototype, "isActive", 2);
5297
5349
  __decorateClass([
5298
- (0, import_typeorm48.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
5350
+ (0, import_typeorm49.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.option)
5299
5351
  ], AssessmetQuestionOption.prototype, "selectedOptions", 2);
5300
5352
  AssessmetQuestionOption = __decorateClass([
5301
- (0, import_typeorm48.Entity)("assessment_question_options")
5353
+ (0, import_typeorm49.Entity)("assessment_question_options")
5302
5354
  ], AssessmetQuestionOption);
5303
5355
 
5304
5356
  // src/entities/assessment-question.entity.ts
@@ -5310,10 +5362,10 @@ var QuestionForEnum = /* @__PURE__ */ ((QuestionForEnum2) => {
5310
5362
  var AssessmetQuestion = class extends BaseEntity {
5311
5363
  };
5312
5364
  __decorateClass([
5313
- (0, import_typeorm49.Column)({ name: "text", type: "varchar", nullable: true })
5365
+ (0, import_typeorm50.Column)({ name: "text", type: "varchar", nullable: true })
5314
5366
  ], AssessmetQuestion.prototype, "text", 2);
5315
5367
  __decorateClass([
5316
- (0, import_typeorm49.Column)({
5368
+ (0, import_typeorm50.Column)({
5317
5369
  name: "question_for",
5318
5370
  type: "enum",
5319
5371
  enum: QuestionForEnum,
@@ -5321,24 +5373,24 @@ __decorateClass([
5321
5373
  })
5322
5374
  ], AssessmetQuestion.prototype, "questionFor", 2);
5323
5375
  __decorateClass([
5324
- (0, import_typeorm49.Column)({ name: "is_active", type: "boolean", default: true })
5376
+ (0, import_typeorm50.Column)({ name: "is_active", type: "boolean", default: true })
5325
5377
  ], AssessmetQuestion.prototype, "isActive", 2);
5326
5378
  __decorateClass([
5327
- (0, import_typeorm49.Column)({ name: "candidate_id", type: "integer", nullable: true }),
5328
- (0, import_typeorm49.Index)()
5379
+ (0, import_typeorm50.Column)({ name: "candidate_id", type: "integer", nullable: true }),
5380
+ (0, import_typeorm50.Index)()
5329
5381
  ], AssessmetQuestion.prototype, "candidateId", 2);
5330
5382
  __decorateClass([
5331
- (0, import_typeorm49.ManyToOne)(() => User, (user) => user.freelancerMcq, { nullable: true }),
5332
- (0, import_typeorm49.JoinColumn)({ name: "candidate_id" })
5383
+ (0, import_typeorm50.ManyToOne)(() => User, (user) => user.freelancerMcq, { nullable: true }),
5384
+ (0, import_typeorm50.JoinColumn)({ name: "candidate_id" })
5333
5385
  ], AssessmetQuestion.prototype, "candidate", 2);
5334
5386
  __decorateClass([
5335
- (0, import_typeorm49.OneToMany)(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
5387
+ (0, import_typeorm50.OneToMany)(() => AssessmetQuestionOption, (assessmentQuestionOption) => assessmentQuestionOption.question)
5336
5388
  ], AssessmetQuestion.prototype, "options", 2);
5337
5389
  __decorateClass([
5338
- (0, import_typeorm49.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
5390
+ (0, import_typeorm50.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.question)
5339
5391
  ], AssessmetQuestion.prototype, "answers", 2);
5340
5392
  AssessmetQuestion = __decorateClass([
5341
- (0, import_typeorm49.Entity)("assessment_questions")
5393
+ (0, import_typeorm50.Entity)("assessment_questions")
5342
5394
  ], AssessmetQuestion);
5343
5395
 
5344
5396
  // src/entities/assessment-answer.entity.ts
@@ -5351,118 +5403,118 @@ var SelectedAnswerTypeEnum = /* @__PURE__ */ ((SelectedAnswerTypeEnum2) => {
5351
5403
  var AssessmentAnswer = class extends BaseEntity {
5352
5404
  };
5353
5405
  __decorateClass([
5354
- (0, import_typeorm50.Column)({ name: "user_id", type: "integer" }),
5355
- (0, import_typeorm50.Index)()
5406
+ (0, import_typeorm51.Column)({ name: "user_id", type: "integer" }),
5407
+ (0, import_typeorm51.Index)()
5356
5408
  ], AssessmentAnswer.prototype, "userId", 2);
5357
5409
  __decorateClass([
5358
- (0, import_typeorm50.ManyToOne)(() => User, (user) => user.assessmentAnswers),
5359
- (0, import_typeorm50.JoinColumn)({ name: "user_id" })
5410
+ (0, import_typeorm51.ManyToOne)(() => User, (user) => user.assessmentAnswers),
5411
+ (0, import_typeorm51.JoinColumn)({ name: "user_id" })
5360
5412
  ], AssessmentAnswer.prototype, "user", 2);
5361
5413
  __decorateClass([
5362
- (0, import_typeorm50.Column)({ name: "question_id", type: "integer" }),
5363
- (0, import_typeorm50.Index)()
5414
+ (0, import_typeorm51.Column)({ name: "question_id", type: "integer" }),
5415
+ (0, import_typeorm51.Index)()
5364
5416
  ], AssessmentAnswer.prototype, "questionId", 2);
5365
5417
  __decorateClass([
5366
- (0, import_typeorm50.ManyToOne)(
5418
+ (0, import_typeorm51.ManyToOne)(
5367
5419
  () => AssessmetQuestion,
5368
5420
  (assessmentQuestion) => assessmentQuestion.answers
5369
5421
  ),
5370
- (0, import_typeorm50.JoinColumn)({ name: "question_id" })
5422
+ (0, import_typeorm51.JoinColumn)({ name: "question_id" })
5371
5423
  ], AssessmentAnswer.prototype, "question", 2);
5372
5424
  __decorateClass([
5373
- (0, import_typeorm50.Column)({ name: "selected_option_id", type: "integer" }),
5374
- (0, import_typeorm50.Index)()
5425
+ (0, import_typeorm51.Column)({ name: "selected_option_id", type: "integer" }),
5426
+ (0, import_typeorm51.Index)()
5375
5427
  ], AssessmentAnswer.prototype, "selectedOptionId", 2);
5376
5428
  __decorateClass([
5377
- (0, import_typeorm50.ManyToOne)(
5429
+ (0, import_typeorm51.ManyToOne)(
5378
5430
  () => AssessmetQuestionOption,
5379
5431
  (assessmentQuestionOption) => assessmentQuestionOption.selectedOptions
5380
5432
  ),
5381
- (0, import_typeorm50.JoinColumn)({ name: "selected_option_id" })
5433
+ (0, import_typeorm51.JoinColumn)({ name: "selected_option_id" })
5382
5434
  ], AssessmentAnswer.prototype, "option", 2);
5383
5435
  __decorateClass([
5384
- (0, import_typeorm50.Column)({
5436
+ (0, import_typeorm51.Column)({
5385
5437
  name: "selected_answer_type",
5386
5438
  type: "enum",
5387
5439
  enum: SelectedAnswerTypeEnum
5388
5440
  })
5389
5441
  ], AssessmentAnswer.prototype, "selectedAnswerType", 2);
5390
5442
  __decorateClass([
5391
- (0, import_typeorm50.Column)({ name: "score", type: "float" })
5443
+ (0, import_typeorm51.Column)({ name: "score", type: "float" })
5392
5444
  ], AssessmentAnswer.prototype, "score", 2);
5393
5445
  AssessmentAnswer = __decorateClass([
5394
- (0, import_typeorm50.Entity)("assessment_answers")
5446
+ (0, import_typeorm51.Entity)("assessment_answers")
5395
5447
  ], AssessmentAnswer);
5396
5448
 
5397
5449
  // src/entities/company-skill.entity.ts
5398
- var import_typeorm51 = require("typeorm");
5450
+ var import_typeorm52 = require("typeorm");
5399
5451
  var CompanySkill = class extends BaseEntity {
5400
5452
  };
5401
5453
  // individual index to find core skills by user
5402
5454
  __decorateClass([
5403
- (0, import_typeorm51.Column)({ name: "user_id", type: "integer", nullable: true }),
5404
- (0, import_typeorm51.Index)()
5455
+ (0, import_typeorm52.Column)({ name: "user_id", type: "integer", nullable: true }),
5456
+ (0, import_typeorm52.Index)()
5405
5457
  ], CompanySkill.prototype, "userId", 2);
5406
5458
  __decorateClass([
5407
- (0, import_typeorm51.ManyToOne)(() => User, (user) => user.freelancerSkills),
5408
- (0, import_typeorm51.JoinColumn)({ name: "user_id" })
5459
+ (0, import_typeorm52.ManyToOne)(() => User, (user) => user.freelancerSkills),
5460
+ (0, import_typeorm52.JoinColumn)({ name: "user_id" })
5409
5461
  ], CompanySkill.prototype, "user", 2);
5410
5462
  __decorateClass([
5411
- (0, import_typeorm51.Column)({ name: "skill_name", type: "varchar", nullable: true })
5463
+ (0, import_typeorm52.Column)({ name: "skill_name", type: "varchar", nullable: true })
5412
5464
  ], CompanySkill.prototype, "skillName", 2);
5413
5465
  CompanySkill = __decorateClass([
5414
- (0, import_typeorm51.Entity)("company_skills")
5466
+ (0, import_typeorm52.Entity)("company_skills")
5415
5467
  ], CompanySkill);
5416
5468
 
5417
5469
  // src/entities/admin-user-role.entity.ts
5418
- var import_typeorm55 = require("typeorm");
5470
+ var import_typeorm56 = require("typeorm");
5419
5471
 
5420
5472
  // src/entities/admin-role.entity.ts
5421
- var import_typeorm54 = require("typeorm");
5473
+ var import_typeorm55 = require("typeorm");
5422
5474
 
5423
5475
  // src/entities/admin-role-permission.entity.ts
5424
- var import_typeorm53 = require("typeorm");
5476
+ var import_typeorm54 = require("typeorm");
5425
5477
 
5426
5478
  // src/entities/admin-permission.entity.ts
5427
- var import_typeorm52 = require("typeorm");
5479
+ var import_typeorm53 = require("typeorm");
5428
5480
  var AdminPermission = class extends BaseEntity {
5429
5481
  };
5430
5482
  __decorateClass([
5431
- (0, import_typeorm52.Column)({ name: "permission_name", type: "varchar", nullable: true })
5483
+ (0, import_typeorm53.Column)({ name: "permission_name", type: "varchar", nullable: true })
5432
5484
  ], AdminPermission.prototype, "permissionName", 2);
5433
5485
  __decorateClass([
5434
- (0, import_typeorm52.Column)({
5486
+ (0, import_typeorm53.Column)({
5435
5487
  name: "permission_slug",
5436
5488
  type: "varchar",
5437
5489
  unique: true,
5438
5490
  nullable: true
5439
5491
  }),
5440
- (0, import_typeorm52.Index)()
5492
+ (0, import_typeorm53.Index)()
5441
5493
  ], AdminPermission.prototype, "permissionSlug", 2);
5442
5494
  __decorateClass([
5443
- (0, import_typeorm52.Column)({ name: "permission_description", type: "varchar", nullable: true })
5495
+ (0, import_typeorm53.Column)({ name: "permission_description", type: "varchar", nullable: true })
5444
5496
  ], AdminPermission.prototype, "permissionDescription", 2);
5445
5497
  __decorateClass([
5446
- (0, import_typeorm52.Column)({ name: "module", type: "varchar", nullable: true })
5498
+ (0, import_typeorm53.Column)({ name: "module", type: "varchar", nullable: true })
5447
5499
  ], AdminPermission.prototype, "module", 2);
5448
5500
  __decorateClass([
5449
- (0, import_typeorm52.Column)({ name: "is_active", type: "boolean", default: true })
5501
+ (0, import_typeorm53.Column)({ name: "is_active", type: "boolean", default: true })
5450
5502
  ], AdminPermission.prototype, "isActive", 2);
5451
5503
  __decorateClass([
5452
- (0, import_typeorm52.OneToMany)(
5504
+ (0, import_typeorm53.OneToMany)(
5453
5505
  () => AdminRolePermission,
5454
5506
  (adminRolePermission) => adminRolePermission.adminPermissions
5455
5507
  )
5456
5508
  ], AdminPermission.prototype, "adminRole", 2);
5457
5509
  AdminPermission = __decorateClass([
5458
- (0, import_typeorm52.Entity)("admin_permissions")
5510
+ (0, import_typeorm53.Entity)("admin_permissions")
5459
5511
  ], AdminPermission);
5460
5512
 
5461
5513
  // src/entities/admin-role-permission.entity.ts
5462
5514
  var AdminRolePermission = class extends BaseEntity {
5463
5515
  };
5464
5516
  __decorateClass([
5465
- (0, import_typeorm53.Column)({
5517
+ (0, import_typeorm54.Column)({
5466
5518
  name: "role_id",
5467
5519
  type: "int",
5468
5520
  nullable: true,
@@ -5470,11 +5522,11 @@ __decorateClass([
5470
5522
  })
5471
5523
  ], AdminRolePermission.prototype, "roleId", 2);
5472
5524
  __decorateClass([
5473
- (0, import_typeorm53.ManyToOne)(() => AdminRole),
5474
- (0, import_typeorm53.JoinColumn)({ name: "role_id" })
5525
+ (0, import_typeorm54.ManyToOne)(() => AdminRole),
5526
+ (0, import_typeorm54.JoinColumn)({ name: "role_id" })
5475
5527
  ], AdminRolePermission.prototype, "adminRole", 2);
5476
5528
  __decorateClass([
5477
- (0, import_typeorm53.Column)({
5529
+ (0, import_typeorm54.Column)({
5478
5530
  name: "permission_id",
5479
5531
  type: "int",
5480
5532
  nullable: true,
@@ -5482,47 +5534,47 @@ __decorateClass([
5482
5534
  })
5483
5535
  ], AdminRolePermission.prototype, "permissionId", 2);
5484
5536
  __decorateClass([
5485
- (0, import_typeorm53.ManyToOne)(() => AdminPermission),
5486
- (0, import_typeorm53.JoinColumn)({ name: "permission_id" })
5537
+ (0, import_typeorm54.ManyToOne)(() => AdminPermission),
5538
+ (0, import_typeorm54.JoinColumn)({ name: "permission_id" })
5487
5539
  ], AdminRolePermission.prototype, "adminPermissions", 2);
5488
5540
  AdminRolePermission = __decorateClass([
5489
- (0, import_typeorm53.Entity)("admin_role_permissions")
5541
+ (0, import_typeorm54.Entity)("admin_role_permissions")
5490
5542
  ], AdminRolePermission);
5491
5543
 
5492
5544
  // src/entities/admin-role.entity.ts
5493
5545
  var AdminRole = class extends BaseEntity {
5494
5546
  };
5495
5547
  __decorateClass([
5496
- (0, import_typeorm54.Column)({ name: "role_name", type: "varchar", nullable: true })
5548
+ (0, import_typeorm55.Column)({ name: "role_name", type: "varchar", nullable: true })
5497
5549
  ], AdminRole.prototype, "roleName", 2);
5498
5550
  __decorateClass([
5499
- (0, import_typeorm54.Column)({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
5500
- (0, import_typeorm54.Index)()
5551
+ (0, import_typeorm55.Column)({ name: "role_slug", type: "varchar", unique: true, nullable: true }),
5552
+ (0, import_typeorm55.Index)()
5501
5553
  ], AdminRole.prototype, "roleSlug", 2);
5502
5554
  __decorateClass([
5503
- (0, import_typeorm54.Column)({ name: "role_description", type: "varchar", nullable: true })
5555
+ (0, import_typeorm55.Column)({ name: "role_description", type: "varchar", nullable: true })
5504
5556
  ], AdminRole.prototype, "roleDescription", 2);
5505
5557
  __decorateClass([
5506
- (0, import_typeorm54.Column)({ name: "is_active", type: "boolean", default: true })
5558
+ (0, import_typeorm55.Column)({ name: "is_active", type: "boolean", default: true })
5507
5559
  ], AdminRole.prototype, "isActive", 2);
5508
5560
  __decorateClass([
5509
- (0, import_typeorm54.OneToMany)(
5561
+ (0, import_typeorm55.OneToMany)(
5510
5562
  () => AdminRolePermission,
5511
5563
  (addminRolePermission) => addminRolePermission.adminRole
5512
5564
  )
5513
5565
  ], AdminRole.prototype, "adminRolePermission", 2);
5514
5566
  __decorateClass([
5515
- (0, import_typeorm54.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
5567
+ (0, import_typeorm55.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.adminRole)
5516
5568
  ], AdminRole.prototype, "userRoles", 2);
5517
5569
  AdminRole = __decorateClass([
5518
- (0, import_typeorm54.Entity)("admin_roles")
5570
+ (0, import_typeorm55.Entity)("admin_roles")
5519
5571
  ], AdminRole);
5520
5572
 
5521
5573
  // src/entities/admin-user-role.entity.ts
5522
5574
  var AdminUserRole = class extends BaseEntity {
5523
5575
  };
5524
5576
  __decorateClass([
5525
- (0, import_typeorm55.Column)({
5577
+ (0, import_typeorm56.Column)({
5526
5578
  name: "user_id",
5527
5579
  type: "int",
5528
5580
  nullable: true,
@@ -5530,11 +5582,11 @@ __decorateClass([
5530
5582
  })
5531
5583
  ], AdminUserRole.prototype, "userId", 2);
5532
5584
  __decorateClass([
5533
- (0, import_typeorm55.ManyToOne)(() => User),
5534
- (0, import_typeorm55.JoinColumn)({ name: "user_id" })
5585
+ (0, import_typeorm56.ManyToOne)(() => User),
5586
+ (0, import_typeorm56.JoinColumn)({ name: "user_id" })
5535
5587
  ], AdminUserRole.prototype, "user", 2);
5536
5588
  __decorateClass([
5537
- (0, import_typeorm55.Column)({
5589
+ (0, import_typeorm56.Column)({
5538
5590
  name: "role_id",
5539
5591
  type: "int",
5540
5592
  nullable: true,
@@ -5542,58 +5594,58 @@ __decorateClass([
5542
5594
  })
5543
5595
  ], AdminUserRole.prototype, "roleId", 2);
5544
5596
  __decorateClass([
5545
- (0, import_typeorm55.ManyToOne)(() => AdminRole),
5546
- (0, import_typeorm55.JoinColumn)({ name: "role_id" })
5597
+ (0, import_typeorm56.ManyToOne)(() => AdminRole),
5598
+ (0, import_typeorm56.JoinColumn)({ name: "role_id" })
5547
5599
  ], AdminUserRole.prototype, "adminRole", 2);
5548
5600
  AdminUserRole = __decorateClass([
5549
- (0, import_typeorm55.Entity)("admin_user_roles")
5601
+ (0, import_typeorm56.Entity)("admin_user_roles")
5550
5602
  ], AdminUserRole);
5551
5603
 
5552
5604
  // src/entities/freelancer-resume.entity.ts
5553
- var import_typeorm56 = require("typeorm");
5605
+ var import_typeorm57 = require("typeorm");
5554
5606
  var FreelancerResume = class extends BaseEntity {
5555
5607
  };
5556
5608
  // individual index to find profile by user
5557
5609
  __decorateClass([
5558
- (0, import_typeorm56.Column)({ name: "user_id", type: "integer", nullable: true }),
5559
- (0, import_typeorm56.Index)()
5610
+ (0, import_typeorm57.Column)({ name: "user_id", type: "integer", nullable: true }),
5611
+ (0, import_typeorm57.Index)()
5560
5612
  ], FreelancerResume.prototype, "userId", 2);
5561
5613
  __decorateClass([
5562
- (0, import_typeorm56.ManyToOne)(() => User, (user) => user.freelancerProfile),
5563
- (0, import_typeorm56.JoinColumn)({ name: "user_id" })
5614
+ (0, import_typeorm57.ManyToOne)(() => User, (user) => user.freelancerProfile),
5615
+ (0, import_typeorm57.JoinColumn)({ name: "user_id" })
5564
5616
  ], FreelancerResume.prototype, "user", 2);
5565
5617
  __decorateClass([
5566
- (0, import_typeorm56.Column)({ name: "resume_data", type: "jsonb", nullable: true })
5618
+ (0, import_typeorm57.Column)({ name: "resume_data", type: "jsonb", nullable: true })
5567
5619
  ], FreelancerResume.prototype, "resumeData", 2);
5568
5620
  __decorateClass([
5569
- (0, import_typeorm56.Column)({ name: "processed_resume_data", type: "jsonb", nullable: true })
5621
+ (0, import_typeorm57.Column)({ name: "processed_resume_data", type: "jsonb", nullable: true })
5570
5622
  ], FreelancerResume.prototype, "processedResumeData", 2);
5571
5623
  FreelancerResume = __decorateClass([
5572
- (0, import_typeorm56.Entity)("freelancer_resumes")
5624
+ (0, import_typeorm57.Entity)("freelancer_resumes")
5573
5625
  ], FreelancerResume);
5574
5626
 
5575
5627
  // src/entities/signature.entity.ts
5576
- var import_typeorm57 = require("typeorm");
5628
+ var import_typeorm58 = require("typeorm");
5577
5629
  var Signature = class extends BaseEntity {
5578
5630
  };
5579
5631
  // individual index to find profile by user
5580
5632
  __decorateClass([
5581
- (0, import_typeorm57.Column)({ name: "user_id", type: "integer", nullable: true }),
5582
- (0, import_typeorm57.Index)()
5633
+ (0, import_typeorm58.Column)({ name: "user_id", type: "integer", nullable: true }),
5634
+ (0, import_typeorm58.Index)()
5583
5635
  ], Signature.prototype, "userId", 2);
5584
5636
  __decorateClass([
5585
- (0, import_typeorm57.ManyToOne)(() => User, (user) => user.signatures),
5586
- (0, import_typeorm57.JoinColumn)({ name: "user_id" })
5637
+ (0, import_typeorm58.ManyToOne)(() => User, (user) => user.signatures),
5638
+ (0, import_typeorm58.JoinColumn)({ name: "user_id" })
5587
5639
  ], Signature.prototype, "user", 2);
5588
5640
  __decorateClass([
5589
- (0, import_typeorm57.Column)({ name: "signature_url", type: "text", nullable: true })
5641
+ (0, import_typeorm58.Column)({ name: "signature_url", type: "text", nullable: true })
5590
5642
  ], Signature.prototype, "signatureUrl", 2);
5591
5643
  Signature = __decorateClass([
5592
- (0, import_typeorm57.Entity)("signatures")
5644
+ (0, import_typeorm58.Entity)("signatures")
5593
5645
  ], Signature);
5594
5646
 
5595
5647
  // src/entities/dispute.entity.ts
5596
- var import_typeorm58 = require("typeorm");
5648
+ var import_typeorm59 = require("typeorm");
5597
5649
  var DisputeStatusEnum = /* @__PURE__ */ ((DisputeStatusEnum2) => {
5598
5650
  DisputeStatusEnum2["OPEN"] = "OPEN";
5599
5651
  DisputeStatusEnum2["IN_REVIEW"] = "IN_REVIEW";
@@ -5614,36 +5666,36 @@ var InitiatorTypeEnum = /* @__PURE__ */ ((InitiatorTypeEnum2) => {
5614
5666
  var Dispute = class extends BaseEntity {
5615
5667
  };
5616
5668
  __decorateClass([
5617
- (0, import_typeorm58.Column)({ name: "client_id", type: "integer", nullable: true }),
5618
- (0, import_typeorm58.Index)()
5669
+ (0, import_typeorm59.Column)({ name: "client_id", type: "integer", nullable: true }),
5670
+ (0, import_typeorm59.Index)()
5619
5671
  ], Dispute.prototype, "clientId", 2);
5620
5672
  __decorateClass([
5621
- (0, import_typeorm58.ManyToOne)(() => User, (user) => user.clientDisputes),
5622
- (0, import_typeorm58.JoinColumn)({ name: "client_id" })
5673
+ (0, import_typeorm59.ManyToOne)(() => User, (user) => user.clientDisputes),
5674
+ (0, import_typeorm59.JoinColumn)({ name: "client_id" })
5623
5675
  ], Dispute.prototype, "client", 2);
5624
5676
  __decorateClass([
5625
- (0, import_typeorm58.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
5626
- (0, import_typeorm58.Index)()
5677
+ (0, import_typeorm59.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
5678
+ (0, import_typeorm59.Index)()
5627
5679
  ], Dispute.prototype, "freelancerId", 2);
5628
5680
  __decorateClass([
5629
- (0, import_typeorm58.ManyToOne)(() => User, (user) => user.freelancerDisputes),
5630
- (0, import_typeorm58.JoinColumn)({ name: "freelancer_id" })
5681
+ (0, import_typeorm59.ManyToOne)(() => User, (user) => user.freelancerDisputes),
5682
+ (0, import_typeorm59.JoinColumn)({ name: "freelancer_id" })
5631
5683
  ], Dispute.prototype, "freelancer", 2);
5632
5684
  __decorateClass([
5633
- (0, import_typeorm58.Column)({ name: "dispute_unique_id", type: "varchar", unique: true })
5685
+ (0, import_typeorm59.Column)({ name: "dispute_unique_id", type: "varchar", unique: true })
5634
5686
  ], Dispute.prototype, "disputeUniqueId", 2);
5635
5687
  __decorateClass([
5636
- (0, import_typeorm58.Column)({ name: "dispute_type", type: "varchar", nullable: true }),
5637
- (0, import_typeorm58.Index)()
5688
+ (0, import_typeorm59.Column)({ name: "dispute_type", type: "varchar", nullable: true }),
5689
+ (0, import_typeorm59.Index)()
5638
5690
  ], Dispute.prototype, "disputeType", 2);
5639
5691
  __decorateClass([
5640
- (0, import_typeorm58.Column)({ name: "description", type: "varchar", nullable: true })
5692
+ (0, import_typeorm59.Column)({ name: "description", type: "varchar", nullable: true })
5641
5693
  ], Dispute.prototype, "description", 2);
5642
5694
  __decorateClass([
5643
- (0, import_typeorm58.Column)({ name: "comment", type: "varchar", nullable: true })
5695
+ (0, import_typeorm59.Column)({ name: "comment", type: "varchar", nullable: true })
5644
5696
  ], Dispute.prototype, "comment", 2);
5645
5697
  __decorateClass([
5646
- (0, import_typeorm58.Column)({
5698
+ (0, import_typeorm59.Column)({
5647
5699
  name: "status",
5648
5700
  type: "enum",
5649
5701
  enum: DisputeStatusEnum,
@@ -5651,7 +5703,7 @@ __decorateClass([
5651
5703
  })
5652
5704
  ], Dispute.prototype, "status", 2);
5653
5705
  __decorateClass([
5654
- (0, import_typeorm58.Column)({
5706
+ (0, import_typeorm59.Column)({
5655
5707
  name: "initiator_type",
5656
5708
  type: "enum",
5657
5709
  enum: InitiatorTypeEnum,
@@ -5660,33 +5712,33 @@ __decorateClass([
5660
5712
  })
5661
5713
  ], Dispute.prototype, "initiatorType", 2);
5662
5714
  __decorateClass([
5663
- (0, import_typeorm58.Column)({ name: "initiator_id", type: "integer" }),
5664
- (0, import_typeorm58.Index)()
5715
+ (0, import_typeorm59.Column)({ name: "initiator_id", type: "integer" }),
5716
+ (0, import_typeorm59.Index)()
5665
5717
  ], Dispute.prototype, "initiatorId", 2);
5666
5718
  __decorateClass([
5667
- (0, import_typeorm58.ManyToOne)(() => User, (user) => user.initiatedDisputes),
5668
- (0, import_typeorm58.JoinColumn)({ name: "initiator_id" })
5719
+ (0, import_typeorm59.ManyToOne)(() => User, (user) => user.initiatedDisputes),
5720
+ (0, import_typeorm59.JoinColumn)({ name: "initiator_id" })
5669
5721
  ], Dispute.prototype, "initiator", 2);
5670
5722
  __decorateClass([
5671
- (0, import_typeorm58.Column)({ name: "respondent_id", type: "integer", nullable: true }),
5672
- (0, import_typeorm58.Index)()
5723
+ (0, import_typeorm59.Column)({ name: "respondent_id", type: "integer", nullable: true }),
5724
+ (0, import_typeorm59.Index)()
5673
5725
  ], Dispute.prototype, "respondentId", 2);
5674
5726
  __decorateClass([
5675
- (0, import_typeorm58.ManyToOne)(() => User, (user) => user.respondentDisputes, { nullable: true }),
5676
- (0, import_typeorm58.JoinColumn)({ name: "respondent_id" })
5727
+ (0, import_typeorm59.ManyToOne)(() => User, (user) => user.respondentDisputes, { nullable: true }),
5728
+ (0, import_typeorm59.JoinColumn)({ name: "respondent_id" })
5677
5729
  ], Dispute.prototype, "respondent", 2);
5678
5730
  __decorateClass([
5679
- (0, import_typeorm58.Column)({ name: "attachments", type: "jsonb", nullable: true })
5731
+ (0, import_typeorm59.Column)({ name: "attachments", type: "jsonb", nullable: true })
5680
5732
  ], Dispute.prototype, "attachments", 2);
5681
5733
  __decorateClass([
5682
- (0, import_typeorm58.Column)({ name: "dynamic_fields", type: "jsonb", nullable: true })
5734
+ (0, import_typeorm59.Column)({ name: "dynamic_fields", type: "jsonb", nullable: true })
5683
5735
  ], Dispute.prototype, "dynamicFields", 2);
5684
5736
  Dispute = __decorateClass([
5685
- (0, import_typeorm58.Entity)("disputes")
5737
+ (0, import_typeorm59.Entity)("disputes")
5686
5738
  ], Dispute);
5687
5739
 
5688
5740
  // src/entities/stripe-transaction.entity.ts
5689
- var import_typeorm59 = require("typeorm");
5741
+ var import_typeorm60 = require("typeorm");
5690
5742
  var StripeTransactionTypeEnum = /* @__PURE__ */ ((StripeTransactionTypeEnum2) => {
5691
5743
  StripeTransactionTypeEnum2["ADD_FUNDS"] = "ADD_FUNDS";
5692
5744
  StripeTransactionTypeEnum2["TRANSFER"] = "TRANSFER";
@@ -5708,97 +5760,97 @@ var StripeTransaction = class extends BaseEntity {
5708
5760
  // Full Stripe session response
5709
5761
  };
5710
5762
  __decorateClass([
5711
- (0, import_typeorm59.Column)({ name: "user_id", type: "integer", nullable: true }),
5712
- (0, import_typeorm59.Index)()
5763
+ (0, import_typeorm60.Column)({ name: "user_id", type: "integer", nullable: true }),
5764
+ (0, import_typeorm60.Index)()
5713
5765
  ], StripeTransaction.prototype, "userId", 2);
5714
5766
  __decorateClass([
5715
- (0, import_typeorm59.ManyToOne)(() => User, (user) => user.stripeTransactions),
5716
- (0, import_typeorm59.JoinColumn)({ name: "user_id" })
5767
+ (0, import_typeorm60.ManyToOne)(() => User, (user) => user.stripeTransactions),
5768
+ (0, import_typeorm60.JoinColumn)({ name: "user_id" })
5717
5769
  ], StripeTransaction.prototype, "user", 2);
5718
5770
  __decorateClass([
5719
- (0, import_typeorm59.Column)({ name: "stripe_session_id", type: "varchar", nullable: true })
5771
+ (0, import_typeorm60.Column)({ name: "stripe_session_id", type: "varchar", nullable: true })
5720
5772
  ], StripeTransaction.prototype, "stripeSessionId", 2);
5721
5773
  __decorateClass([
5722
- (0, import_typeorm59.Column)({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
5774
+ (0, import_typeorm60.Column)({ name: "stripe_payment_intent_id", type: "varchar", nullable: true })
5723
5775
  ], StripeTransaction.prototype, "stripePaymentIntentId", 2);
5724
5776
  __decorateClass([
5725
- (0, import_typeorm59.Column)({ name: "stripe_charge_id", type: "varchar", nullable: true })
5777
+ (0, import_typeorm60.Column)({ name: "stripe_charge_id", type: "varchar", nullable: true })
5726
5778
  ], StripeTransaction.prototype, "stripeChargeId", 2);
5727
5779
  __decorateClass([
5728
- (0, import_typeorm59.Column)({ name: "stripe_receipt_url", type: "varchar", nullable: true })
5780
+ (0, import_typeorm60.Column)({ name: "stripe_receipt_url", type: "varchar", nullable: true })
5729
5781
  ], StripeTransaction.prototype, "stripeReceiptUrl", 2);
5730
5782
  __decorateClass([
5731
- (0, import_typeorm59.Column)({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
5783
+ (0, import_typeorm60.Column)({ name: "stripe_balance_transaction_id", type: "varchar", nullable: true })
5732
5784
  ], StripeTransaction.prototype, "stripeBalanceTransactionId", 2);
5733
5785
  __decorateClass([
5734
- (0, import_typeorm59.Column)({ name: "stripe_payment_method", type: "varchar", nullable: true })
5786
+ (0, import_typeorm60.Column)({ name: "stripe_payment_method", type: "varchar", nullable: true })
5735
5787
  ], StripeTransaction.prototype, "stripePaymentMethod", 2);
5736
5788
  __decorateClass([
5737
- (0, import_typeorm59.Column)({ name: "stripe_payment_status", type: "varchar", nullable: true })
5789
+ (0, import_typeorm60.Column)({ name: "stripe_payment_status", type: "varchar", nullable: true })
5738
5790
  ], StripeTransaction.prototype, "stripePaymentStatus", 2);
5739
5791
  __decorateClass([
5740
- (0, import_typeorm59.Column)({ name: "type", type: "enum", enum: StripeTransactionTypeEnum })
5792
+ (0, import_typeorm60.Column)({ name: "type", type: "enum", enum: StripeTransactionTypeEnum })
5741
5793
  ], StripeTransaction.prototype, "type", 2);
5742
5794
  __decorateClass([
5743
- (0, import_typeorm59.Column)({ name: "currency", type: "varchar", nullable: true })
5795
+ (0, import_typeorm60.Column)({ name: "currency", type: "varchar", nullable: true })
5744
5796
  ], StripeTransaction.prototype, "currency", 2);
5745
5797
  __decorateClass([
5746
- (0, import_typeorm59.Column)({ 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" })
5798
+ (0, import_typeorm60.Column)({ 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" })
5747
5799
  ], StripeTransaction.prototype, "desiredDepositCents", 2);
5748
5800
  __decorateClass([
5749
- (0, import_typeorm59.Column)({ name: "platform_fee_cents", type: "bigint", default: 0, comment: "Your platform commission Example: 500 cents = $5.00 (5% of $100)" })
5801
+ (0, import_typeorm60.Column)({ name: "platform_fee_cents", type: "bigint", default: 0, comment: "Your platform commission Example: 500 cents = $5.00 (5% of $100)" })
5750
5802
  ], StripeTransaction.prototype, "platformFeeCents", 2);
5751
5803
  __decorateClass([
5752
- (0, import_typeorm59.Column)({ name: "tax_cents", type: "bigint", nullable: true, comment: "Sales tax collected by Stripe" })
5804
+ (0, import_typeorm60.Column)({ name: "tax_cents", type: "bigint", nullable: true, comment: "Sales tax collected by Stripe" })
5753
5805
  ], StripeTransaction.prototype, "taxCents", 2);
5754
5806
  __decorateClass([
5755
- (0, import_typeorm59.Column)({ name: "estimated_stripe_fee_cents", type: "bigint", nullable: true, comment: "Your calculated estimate of Stripe fee, Example: 371 cents = $3.71" })
5807
+ (0, import_typeorm60.Column)({ name: "estimated_stripe_fee_cents", type: "bigint", nullable: true, comment: "Your calculated estimate of Stripe fee, Example: 371 cents = $3.71" })
5756
5808
  ], StripeTransaction.prototype, "estimatedStripeFee", 2);
5757
5809
  __decorateClass([
5758
- (0, import_typeorm59.Column)({ 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" })
5810
+ (0, import_typeorm60.Column)({ 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" })
5759
5811
  ], StripeTransaction.prototype, "estimatedTotalCents", 2);
5760
5812
  __decorateClass([
5761
- (0, import_typeorm59.Column)({ name: "actual_stripe_fee_cents", type: "bigint", nullable: true, comment: "ACTUAL Stripe fee charged, Example: 371 cents = $3.71" })
5813
+ (0, import_typeorm60.Column)({ name: "actual_stripe_fee_cents", type: "bigint", nullable: true, comment: "ACTUAL Stripe fee charged, Example: 371 cents = $3.71" })
5762
5814
  ], StripeTransaction.prototype, "actualStripeFee", 2);
5763
5815
  __decorateClass([
5764
- (0, import_typeorm59.Column)({ name: "actual_total_paid_cents", type: "bigint", nullable: true, comment: "What customer ACTUALLY paid, Example: 11757 cents = $117.57, May differ from estimate" })
5816
+ (0, import_typeorm60.Column)({ name: "actual_total_paid_cents", type: "bigint", nullable: true, comment: "What customer ACTUALLY paid, Example: 11757 cents = $117.57, May differ from estimate" })
5765
5817
  ], StripeTransaction.prototype, "actualTotalPaidCents", 2);
5766
5818
  __decorateClass([
5767
- (0, import_typeorm59.Column)({ 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" })
5819
+ (0, import_typeorm60.Column)({ 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" })
5768
5820
  ], StripeTransaction.prototype, "netReceivedCents", 2);
5769
5821
  __decorateClass([
5770
- (0, import_typeorm59.Column)({ name: "description", type: "text", nullable: true })
5822
+ (0, import_typeorm60.Column)({ name: "description", type: "text", nullable: true })
5771
5823
  ], StripeTransaction.prototype, "description", 2);
5772
5824
  __decorateClass([
5773
- (0, import_typeorm59.Column)({ name: "status", type: "enum", enum: StripeTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5825
+ (0, import_typeorm60.Column)({ name: "status", type: "enum", enum: StripeTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5774
5826
  ], StripeTransaction.prototype, "status", 2);
5775
5827
  __decorateClass([
5776
- (0, import_typeorm59.Column)({ name: "checkout_session_completed_at", type: "timestamptz", nullable: true })
5828
+ (0, import_typeorm60.Column)({ name: "checkout_session_completed_at", type: "timestamptz", nullable: true })
5777
5829
  ], StripeTransaction.prototype, "checkoutSessionCompletedAt", 2);
5778
5830
  __decorateClass([
5779
- (0, import_typeorm59.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
5831
+ (0, import_typeorm60.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
5780
5832
  ], StripeTransaction.prototype, "completedAt", 2);
5781
5833
  __decorateClass([
5782
- (0, import_typeorm59.Column)({ name: "billing_details", type: "jsonb", nullable: true })
5834
+ (0, import_typeorm60.Column)({ name: "billing_details", type: "jsonb", nullable: true })
5783
5835
  ], StripeTransaction.prototype, "billingDetails", 2);
5784
5836
  __decorateClass([
5785
- (0, import_typeorm59.Column)({ name: "payment_method_details", type: "jsonb", nullable: true })
5837
+ (0, import_typeorm60.Column)({ name: "payment_method_details", type: "jsonb", nullable: true })
5786
5838
  ], StripeTransaction.prototype, "paymentMethodDetails", 2);
5787
5839
  __decorateClass([
5788
- (0, import_typeorm59.Column)({ name: "raw_session_payload", type: "jsonb", nullable: true })
5840
+ (0, import_typeorm60.Column)({ name: "raw_session_payload", type: "jsonb", nullable: true })
5789
5841
  ], StripeTransaction.prototype, "rawSessionPayload", 2);
5790
5842
  __decorateClass([
5791
- (0, import_typeorm59.Column)({ name: "raw_session_response", type: "jsonb", nullable: true })
5843
+ (0, import_typeorm60.Column)({ name: "raw_session_response", type: "jsonb", nullable: true })
5792
5844
  ], StripeTransaction.prototype, "rawSessionResponse", 2);
5793
5845
  StripeTransaction = __decorateClass([
5794
- (0, import_typeorm59.Entity)("stripe_transactions")
5846
+ (0, import_typeorm60.Entity)("stripe_transactions")
5795
5847
  ], StripeTransaction);
5796
5848
 
5797
5849
  // src/entities/wallet.entity.ts
5798
- var import_typeorm61 = require("typeorm");
5850
+ var import_typeorm62 = require("typeorm");
5799
5851
 
5800
5852
  // src/entities/wallet-transaction.entity.ts
5801
- var import_typeorm60 = require("typeorm");
5853
+ var import_typeorm61 = require("typeorm");
5802
5854
  var WalletTransactionTypeEnum = /* @__PURE__ */ ((WalletTransactionTypeEnum2) => {
5803
5855
  WalletTransactionTypeEnum2["CR"] = "CR";
5804
5856
  WalletTransactionTypeEnum2["DR"] = "DR";
@@ -5815,46 +5867,46 @@ var WalletTransactionStatusEnum = /* @__PURE__ */ ((WalletTransactionStatusEnum2
5815
5867
  var WalletTransaction = class extends BaseEntity {
5816
5868
  };
5817
5869
  __decorateClass([
5818
- (0, import_typeorm60.Column)({ name: "wallet_id", type: "integer", nullable: true }),
5819
- (0, import_typeorm60.Index)()
5870
+ (0, import_typeorm61.Column)({ name: "wallet_id", type: "integer", nullable: true }),
5871
+ (0, import_typeorm61.Index)()
5820
5872
  ], WalletTransaction.prototype, "walletId", 2);
5821
5873
  __decorateClass([
5822
- (0, import_typeorm60.ManyToOne)(() => Wallet, (wallet) => wallet.walletTransactions),
5823
- (0, import_typeorm60.JoinColumn)({ name: "wallet_id" })
5874
+ (0, import_typeorm61.ManyToOne)(() => Wallet, (wallet) => wallet.walletTransactions),
5875
+ (0, import_typeorm61.JoinColumn)({ name: "wallet_id" })
5824
5876
  ], WalletTransaction.prototype, "wallet", 2);
5825
5877
  __decorateClass([
5826
- (0, import_typeorm60.Column)({ name: "amount", type: "bigint", nullable: true })
5878
+ (0, import_typeorm61.Column)({ name: "amount", type: "bigint", nullable: true })
5827
5879
  ], WalletTransaction.prototype, "amount", 2);
5828
5880
  __decorateClass([
5829
- (0, import_typeorm60.Column)({ name: "balance_before", type: "bigint", nullable: true })
5881
+ (0, import_typeorm61.Column)({ name: "balance_before", type: "bigint", nullable: true })
5830
5882
  ], WalletTransaction.prototype, "balanceBefore", 2);
5831
5883
  __decorateClass([
5832
- (0, import_typeorm60.Column)({ name: "balance_after", type: "bigint", nullable: true })
5884
+ (0, import_typeorm61.Column)({ name: "balance_after", type: "bigint", nullable: true })
5833
5885
  ], WalletTransaction.prototype, "balanceAfter", 2);
5834
5886
  __decorateClass([
5835
- (0, import_typeorm60.Column)({ name: "type", type: "enum", enum: WalletTransactionTypeEnum })
5887
+ (0, import_typeorm61.Column)({ name: "type", type: "enum", enum: WalletTransactionTypeEnum })
5836
5888
  ], WalletTransaction.prototype, "type", 2);
5837
5889
  __decorateClass([
5838
- (0, import_typeorm60.Column)({ name: "status", type: "enum", enum: WalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5890
+ (0, import_typeorm61.Column)({ name: "status", type: "enum", enum: WalletTransactionStatusEnum, default: "PENDING" /* PENDING */ })
5839
5891
  ], WalletTransaction.prototype, "status", 2);
5840
5892
  __decorateClass([
5841
- (0, import_typeorm60.Column)({ name: "description", type: "text", nullable: true })
5893
+ (0, import_typeorm61.Column)({ name: "description", type: "text", nullable: true })
5842
5894
  ], WalletTransaction.prototype, "description", 2);
5843
5895
  __decorateClass([
5844
- (0, import_typeorm60.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
5896
+ (0, import_typeorm61.Column)({ name: "completed_at", type: "timestamptz", nullable: true })
5845
5897
  ], WalletTransaction.prototype, "completedAt", 2);
5846
5898
  __decorateClass([
5847
- (0, import_typeorm60.Column)({ name: "transaction_for", type: "varchar", nullable: true })
5899
+ (0, import_typeorm61.Column)({ name: "transaction_for", type: "varchar", nullable: true })
5848
5900
  ], WalletTransaction.prototype, "transactionFor", 2);
5849
5901
  __decorateClass([
5850
- (0, import_typeorm60.Column)({ name: "meta_data", type: "varchar", nullable: true })
5902
+ (0, import_typeorm61.Column)({ name: "meta_data", type: "varchar", nullable: true })
5851
5903
  ], WalletTransaction.prototype, "metaData", 2);
5852
5904
  __decorateClass([
5853
- (0, import_typeorm60.Column)({ name: "stripe_transaction_id", type: "integer", nullable: true }),
5854
- (0, import_typeorm60.Index)()
5905
+ (0, import_typeorm61.Column)({ name: "stripe_transaction_id", type: "integer", nullable: true }),
5906
+ (0, import_typeorm61.Index)()
5855
5907
  ], WalletTransaction.prototype, "stripeTransactionId", 2);
5856
5908
  WalletTransaction = __decorateClass([
5857
- (0, import_typeorm60.Entity)("wallet_transactions")
5909
+ (0, import_typeorm61.Entity)("wallet_transactions")
5858
5910
  ], WalletTransaction);
5859
5911
 
5860
5912
  // src/entities/wallet.entity.ts
@@ -5872,43 +5924,43 @@ var WalletOnboardingStatusEnum = /* @__PURE__ */ ((WalletOnboardingStatusEnum2)
5872
5924
  var Wallet = class extends BaseEntity {
5873
5925
  };
5874
5926
  __decorateClass([
5875
- (0, import_typeorm61.Column)({ name: "user_id", type: "integer", nullable: true }),
5876
- (0, import_typeorm61.Index)()
5927
+ (0, import_typeorm62.Column)({ name: "user_id", type: "integer", nullable: true }),
5928
+ (0, import_typeorm62.Index)()
5877
5929
  ], Wallet.prototype, "userId", 2);
5878
5930
  __decorateClass([
5879
- (0, import_typeorm61.OneToOne)(() => User, (user) => user.wallet),
5880
- (0, import_typeorm61.JoinColumn)({ name: "user_id" })
5931
+ (0, import_typeorm62.OneToOne)(() => User, (user) => user.wallet),
5932
+ (0, import_typeorm62.JoinColumn)({ name: "user_id" })
5881
5933
  ], Wallet.prototype, "user", 2);
5882
5934
  __decorateClass([
5883
- (0, import_typeorm61.Column)({ name: "account_type", type: "enum", enum: WalletAccountTypeEnum, nullable: true })
5935
+ (0, import_typeorm62.Column)({ name: "account_type", type: "enum", enum: WalletAccountTypeEnum, nullable: true })
5884
5936
  ], Wallet.prototype, "accountType", 2);
5885
5937
  __decorateClass([
5886
- (0, import_typeorm61.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
5938
+ (0, import_typeorm62.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
5887
5939
  ], Wallet.prototype, "stripeAccountId", 2);
5888
5940
  __decorateClass([
5889
- (0, import_typeorm61.Column)({ name: "stripe_customer_id", type: "varchar", nullable: true })
5941
+ (0, import_typeorm62.Column)({ name: "stripe_customer_id", type: "varchar", nullable: true })
5890
5942
  ], Wallet.prototype, "stripeCustomerId", 2);
5891
5943
  __decorateClass([
5892
- (0, import_typeorm61.Column)({ name: "wallet_balance", type: "varchar", default: "0", comment: "This column is just used to show balance, It will not be used in any computation" })
5944
+ (0, import_typeorm62.Column)({ name: "wallet_balance", type: "varchar", default: "0", comment: "This column is just used to show balance, It will not be used in any computation" })
5893
5945
  ], Wallet.prototype, "walletBalance", 2);
5894
5946
  __decorateClass([
5895
- (0, import_typeorm61.Column)({ 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" })
5947
+ (0, import_typeorm62.Column)({ 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" })
5896
5948
  ], Wallet.prototype, "walletBalanceCents", 2);
5897
5949
  __decorateClass([
5898
- (0, import_typeorm61.Column)({ name: "onboarding_status", type: "enum", enum: WalletOnboardingStatusEnum, nullable: true })
5950
+ (0, import_typeorm62.Column)({ name: "onboarding_status", type: "enum", enum: WalletOnboardingStatusEnum, nullable: true })
5899
5951
  ], Wallet.prototype, "onboardingStatus", 2);
5900
5952
  __decorateClass([
5901
- (0, import_typeorm61.Column)({ name: "stripe_metadata", type: "jsonb", nullable: true })
5953
+ (0, import_typeorm62.Column)({ name: "stripe_metadata", type: "jsonb", nullable: true })
5902
5954
  ], Wallet.prototype, "stripeMetadata", 2);
5903
5955
  __decorateClass([
5904
- (0, import_typeorm61.OneToMany)(() => WalletTransaction, (walletTransaction) => walletTransaction.wallet)
5956
+ (0, import_typeorm62.OneToMany)(() => WalletTransaction, (walletTransaction) => walletTransaction.wallet)
5905
5957
  ], Wallet.prototype, "walletTransactions", 2);
5906
5958
  Wallet = __decorateClass([
5907
- (0, import_typeorm61.Entity)("wallets")
5959
+ (0, import_typeorm62.Entity)("wallets")
5908
5960
  ], Wallet);
5909
5961
 
5910
5962
  // src/entities/freelancer-assessment-request.entity.ts
5911
- var import_typeorm62 = require("typeorm");
5963
+ var import_typeorm63 = require("typeorm");
5912
5964
  var AssessmentRequestStatusEnum = /* @__PURE__ */ ((AssessmentRequestStatusEnum2) => {
5913
5965
  AssessmentRequestStatusEnum2["PENDING"] = "PENDING";
5914
5966
  AssessmentRequestStatusEnum2["APPROVED"] = "APPROVED";
@@ -5918,23 +5970,23 @@ var AssessmentRequestStatusEnum = /* @__PURE__ */ ((AssessmentRequestStatusEnum2
5918
5970
  var FreelancerAssessmentRequest = class extends BaseEntity {
5919
5971
  };
5920
5972
  __decorateClass([
5921
- (0, import_typeorm62.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
5922
- (0, import_typeorm62.Index)()
5973
+ (0, import_typeorm63.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
5974
+ (0, import_typeorm63.Index)()
5923
5975
  ], FreelancerAssessmentRequest.prototype, "freelancerId", 2);
5924
5976
  __decorateClass([
5925
- (0, import_typeorm62.ManyToOne)(() => User, (user) => user.freelancerAssessmentRequests),
5926
- (0, import_typeorm62.JoinColumn)({ name: "freelancer_id" })
5977
+ (0, import_typeorm63.ManyToOne)(() => User, (user) => user.freelancerAssessmentRequests),
5978
+ (0, import_typeorm63.JoinColumn)({ name: "freelancer_id" })
5927
5979
  ], FreelancerAssessmentRequest.prototype, "freelancer", 2);
5928
5980
  __decorateClass([
5929
- (0, import_typeorm62.Column)({ name: "approved_by_id", type: "integer", nullable: true }),
5930
- (0, import_typeorm62.Index)()
5981
+ (0, import_typeorm63.Column)({ name: "approved_by_id", type: "integer", nullable: true }),
5982
+ (0, import_typeorm63.Index)()
5931
5983
  ], FreelancerAssessmentRequest.prototype, "approvedById", 2);
5932
5984
  __decorateClass([
5933
- (0, import_typeorm62.ManyToOne)(() => User, (user) => user.assessmentRequests),
5934
- (0, import_typeorm62.JoinColumn)({ name: "approved_by_id" })
5985
+ (0, import_typeorm63.ManyToOne)(() => User, (user) => user.assessmentRequests),
5986
+ (0, import_typeorm63.JoinColumn)({ name: "approved_by_id" })
5935
5987
  ], FreelancerAssessmentRequest.prototype, "approvedBy", 2);
5936
5988
  __decorateClass([
5937
- (0, import_typeorm62.Column)({
5989
+ (0, import_typeorm63.Column)({
5938
5990
  name: "status",
5939
5991
  type: "enum",
5940
5992
  enum: AssessmentRequestStatusEnum,
@@ -5942,10 +5994,10 @@ __decorateClass([
5942
5994
  })
5943
5995
  ], FreelancerAssessmentRequest.prototype, "status", 2);
5944
5996
  __decorateClass([
5945
- (0, import_typeorm62.Column)({ name: "assessment_link", type: "text", nullable: true })
5997
+ (0, import_typeorm63.Column)({ name: "assessment_link", type: "text", nullable: true })
5946
5998
  ], FreelancerAssessmentRequest.prototype, "assessmentLink", 2);
5947
5999
  FreelancerAssessmentRequest = __decorateClass([
5948
- (0, import_typeorm62.Entity)({ name: "freelancer_assessment_requests" })
6000
+ (0, import_typeorm63.Entity)({ name: "freelancer_assessment_requests" })
5949
6001
  ], FreelancerAssessmentRequest);
5950
6002
 
5951
6003
  // src/entities/user.entity.ts
@@ -5973,51 +6025,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
5973
6025
  var User = class extends BaseEntity {
5974
6026
  };
5975
6027
  __decorateClass([
5976
- (0, import_typeorm63.Column)({ name: "unique_id", type: "varchar", unique: true })
6028
+ (0, import_typeorm64.Column)({ name: "unique_id", type: "varchar", unique: true })
5977
6029
  ], User.prototype, "uniqueId", 2);
5978
6030
  __decorateClass([
5979
- (0, import_typeorm63.Column)({ name: "parent_id", type: "integer", nullable: true }),
5980
- (0, import_typeorm63.Index)()
6031
+ (0, import_typeorm64.Column)({ name: "parent_id", type: "integer", nullable: true }),
6032
+ (0, import_typeorm64.Index)()
5981
6033
  ], User.prototype, "parentId", 2);
5982
6034
  __decorateClass([
5983
- (0, import_typeorm63.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
5984
- (0, import_typeorm63.JoinColumn)({ name: "parent_id" })
6035
+ (0, import_typeorm64.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
6036
+ (0, import_typeorm64.JoinColumn)({ name: "parent_id" })
5985
6037
  ], User.prototype, "parent", 2);
5986
6038
  __decorateClass([
5987
- (0, import_typeorm63.OneToMany)(() => User, (user) => user.parent)
6039
+ (0, import_typeorm64.OneToMany)(() => User, (user) => user.parent)
5988
6040
  ], User.prototype, "children", 2);
5989
6041
  __decorateClass([
5990
- (0, import_typeorm63.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
6042
+ (0, import_typeorm64.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
5991
6043
  ], User.prototype, "username", 2);
5992
6044
  __decorateClass([
5993
- (0, import_typeorm63.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
6045
+ (0, import_typeorm64.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
5994
6046
  ], User.prototype, "firstName", 2);
5995
6047
  __decorateClass([
5996
- (0, import_typeorm63.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
6048
+ (0, import_typeorm64.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
5997
6049
  ], User.prototype, "lastName", 2);
5998
6050
  __decorateClass([
5999
- (0, import_typeorm63.Column)({ name: "date_of_birth", type: "date", nullable: true })
6051
+ (0, import_typeorm64.Column)({ name: "date_of_birth", type: "date", nullable: true })
6000
6052
  ], User.prototype, "dateOfBirth", 2);
6001
6053
  __decorateClass([
6002
- (0, import_typeorm63.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
6054
+ (0, import_typeorm64.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
6003
6055
  ], User.prototype, "gender", 2);
6004
6056
  __decorateClass([
6005
- (0, import_typeorm63.Column)({ name: "profile_picture_url", type: "text", nullable: true })
6057
+ (0, import_typeorm64.Column)({ name: "profile_picture_url", type: "text", nullable: true })
6006
6058
  ], User.prototype, "profilePictureUrl", 2);
6007
6059
  __decorateClass([
6008
- (0, import_typeorm63.Column)({ name: "email", type: "varchar", unique: true })
6060
+ (0, import_typeorm64.Column)({ name: "email", type: "varchar", unique: true })
6009
6061
  ], User.prototype, "email", 2);
6010
6062
  __decorateClass([
6011
- (0, import_typeorm63.Column)({ name: "mobile_code", type: "varchar", nullable: true })
6063
+ (0, import_typeorm64.Column)({ name: "mobile_code", type: "varchar", nullable: true })
6012
6064
  ], User.prototype, "mobileCode", 2);
6013
6065
  __decorateClass([
6014
- (0, import_typeorm63.Column)({ name: "mobile", type: "varchar", nullable: true })
6066
+ (0, import_typeorm64.Column)({ name: "mobile", type: "varchar", nullable: true })
6015
6067
  ], User.prototype, "mobile", 2);
6016
6068
  __decorateClass([
6017
- (0, import_typeorm63.Column)({ name: "password", type: "varchar", nullable: true })
6069
+ (0, import_typeorm64.Column)({ name: "password", type: "varchar", nullable: true })
6018
6070
  ], User.prototype, "password", 2);
6019
6071
  __decorateClass([
6020
- (0, import_typeorm63.Column)({
6072
+ (0, import_typeorm64.Column)({
6021
6073
  name: "account_type",
6022
6074
  type: "enum",
6023
6075
  enum: AccountType,
@@ -6025,7 +6077,7 @@ __decorateClass([
6025
6077
  })
6026
6078
  ], User.prototype, "accountType", 2);
6027
6079
  __decorateClass([
6028
- (0, import_typeorm63.Column)({
6080
+ (0, import_typeorm64.Column)({
6029
6081
  name: "account_status",
6030
6082
  type: "enum",
6031
6083
  enum: AccountStatus,
@@ -6033,42 +6085,42 @@ __decorateClass([
6033
6085
  })
6034
6086
  ], User.prototype, "accountStatus", 2);
6035
6087
  __decorateClass([
6036
- (0, import_typeorm63.Column)({ name: "is_email_verified", type: "boolean", default: false })
6088
+ (0, import_typeorm64.Column)({ name: "is_email_verified", type: "boolean", default: false })
6037
6089
  ], User.prototype, "isEmailVerified", 2);
6038
6090
  __decorateClass([
6039
- (0, import_typeorm63.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
6091
+ (0, import_typeorm64.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
6040
6092
  ], User.prototype, "isMobileVerified", 2);
6041
6093
  __decorateClass([
6042
- (0, import_typeorm63.Column)({ name: "is_social", type: "boolean", default: false })
6094
+ (0, import_typeorm64.Column)({ name: "is_social", type: "boolean", default: false })
6043
6095
  ], User.prototype, "isSocial", 2);
6044
6096
  __decorateClass([
6045
- (0, import_typeorm63.Column)({
6097
+ (0, import_typeorm64.Column)({
6046
6098
  name: "last_login_at",
6047
6099
  type: "timestamp with time zone",
6048
6100
  nullable: true
6049
6101
  })
6050
6102
  ], User.prototype, "lastLoginAt", 2);
6051
6103
  __decorateClass([
6052
- (0, import_typeorm63.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
6104
+ (0, import_typeorm64.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
6053
6105
  ], User.prototype, "lastLoginIp", 2);
6054
6106
  __decorateClass([
6055
- (0, import_typeorm63.Column)({ name: "reset_token", type: "varchar", nullable: true })
6107
+ (0, import_typeorm64.Column)({ name: "reset_token", type: "varchar", nullable: true })
6056
6108
  ], User.prototype, "resetToken", 2);
6057
6109
  __decorateClass([
6058
- (0, import_typeorm63.Column)({
6110
+ (0, import_typeorm64.Column)({
6059
6111
  name: "reset_token_expire_at",
6060
6112
  type: "timestamp with time zone",
6061
6113
  nullable: true
6062
6114
  })
6063
6115
  ], User.prototype, "resetTokenExpireAt", 2);
6064
6116
  __decorateClass([
6065
- (0, import_typeorm63.Column)({ name: "set_password_token", type: "varchar", nullable: true })
6117
+ (0, import_typeorm64.Column)({ name: "set_password_token", type: "varchar", nullable: true })
6066
6118
  ], User.prototype, "setPasswordToken", 2);
6067
6119
  __decorateClass([
6068
- (0, import_typeorm63.OneToMany)(() => RefreshToken, (token) => token.user)
6120
+ (0, import_typeorm64.OneToMany)(() => RefreshToken, (token) => token.user)
6069
6121
  ], User.prototype, "refreshTokens", 2);
6070
6122
  __decorateClass([
6071
- (0, import_typeorm63.Column)({
6123
+ (0, import_typeorm64.Column)({
6072
6124
  name: "provider",
6073
6125
  type: "enum",
6074
6126
  enum: Provider,
@@ -6077,226 +6129,232 @@ __decorateClass([
6077
6129
  })
6078
6130
  ], User.prototype, "provider", 2);
6079
6131
  __decorateClass([
6080
- (0, import_typeorm63.Column)({ name: "provider_token", type: "varchar", nullable: true })
6132
+ (0, import_typeorm64.Column)({ name: "provider_token", type: "varchar", nullable: true })
6081
6133
  ], User.prototype, "providerToken", 2);
6082
6134
  __decorateClass([
6083
- (0, import_typeorm63.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
6135
+ (0, import_typeorm64.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
6084
6136
  ], User.prototype, "linkedInId", 2);
6085
6137
  __decorateClass([
6086
- (0, import_typeorm63.Column)({ name: "google_id", type: "varchar", nullable: true })
6138
+ (0, import_typeorm64.Column)({ name: "google_id", type: "varchar", nullable: true })
6087
6139
  ], User.prototype, "googleId", 2);
6088
6140
  __decorateClass([
6089
- (0, import_typeorm63.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
6141
+ (0, import_typeorm64.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
6090
6142
  ], User.prototype, "gitLabsId", 2);
6091
6143
  __decorateClass([
6092
- (0, import_typeorm63.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
6144
+ (0, import_typeorm64.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
6093
6145
  ], User.prototype, "onBoardedBy", 2);
6094
6146
  __decorateClass([
6095
- (0, import_typeorm63.OneToMany)(() => Otp, (otp) => otp.user)
6147
+ (0, import_typeorm64.OneToMany)(() => Otp, (otp) => otp.user)
6096
6148
  ], User.prototype, "otps", 2);
6097
6149
  __decorateClass([
6098
- (0, import_typeorm63.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
6150
+ (0, import_typeorm64.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
6099
6151
  ], User.prototype, "senseloafLogs", 2);
6100
6152
  __decorateClass([
6101
- (0, import_typeorm63.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
6153
+ (0, import_typeorm64.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
6102
6154
  ], User.prototype, "companyProfile", 2);
6103
6155
  __decorateClass([
6104
- (0, import_typeorm63.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
6156
+ (0, import_typeorm64.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
6105
6157
  ], User.prototype, "companySkills", 2);
6106
6158
  __decorateClass([
6107
- (0, import_typeorm63.OneToMany)(
6159
+ (0, import_typeorm64.OneToMany)(
6108
6160
  () => CompanyMemberRole,
6109
6161
  (companyMemberRole) => companyMemberRole.user
6110
6162
  )
6111
6163
  ], User.prototype, "companyMemberRoles", 2);
6112
6164
  __decorateClass([
6113
- (0, import_typeorm63.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
6165
+ (0, import_typeorm64.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
6114
6166
  ], User.prototype, "companyAiInterview", 2);
6115
6167
  __decorateClass([
6116
- (0, import_typeorm63.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
6168
+ (0, import_typeorm64.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
6117
6169
  ], User.prototype, "clientF2FInterviews", 2);
6118
6170
  __decorateClass([
6119
- (0, import_typeorm63.OneToOne)(
6171
+ (0, import_typeorm64.OneToOne)(
6120
6172
  () => FreelancerProfile,
6121
6173
  (freelancerProfile) => freelancerProfile.user
6122
6174
  )
6123
6175
  ], User.prototype, "freelancerProfile", 2);
6124
6176
  __decorateClass([
6125
- (0, import_typeorm63.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
6177
+ (0, import_typeorm64.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
6126
6178
  ], User.prototype, "freelancerResume", 2);
6127
6179
  __decorateClass([
6128
- (0, import_typeorm63.OneToMany)(
6180
+ (0, import_typeorm64.OneToMany)(
6129
6181
  () => FreelancerAssessmentRequest,
6130
6182
  (freelancerAssessmentRequest) => freelancerAssessmentRequest.freelancer
6131
6183
  )
6132
6184
  ], User.prototype, "freelancerAssessmentRequests", 2);
6133
6185
  __decorateClass([
6134
- (0, import_typeorm63.OneToMany)(
6186
+ (0, import_typeorm64.OneToMany)(
6135
6187
  () => FreelancerAssessmentRequest,
6136
6188
  (freelancerAssessment) => freelancerAssessment.approvedBy
6137
6189
  )
6138
6190
  ], User.prototype, "assessmentRequests", 2);
6139
6191
  __decorateClass([
6140
- (0, import_typeorm63.OneToMany)(
6192
+ (0, import_typeorm64.OneToMany)(
6141
6193
  () => FreelancerAssessment,
6142
6194
  (freelancerAssessment) => freelancerAssessment.user
6143
6195
  )
6144
6196
  ], User.prototype, "assessments", 2);
6145
6197
  __decorateClass([
6146
- (0, import_typeorm63.OneToMany)(
6198
+ (0, import_typeorm64.OneToMany)(
6147
6199
  () => AssessmentAnswer,
6148
6200
  (assessmentAnswer) => assessmentAnswer.user
6149
6201
  )
6150
6202
  ], User.prototype, "assessmentAnswers", 2);
6151
6203
  __decorateClass([
6152
- (0, import_typeorm63.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
6204
+ (0, import_typeorm64.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
6153
6205
  ], User.prototype, "freelancerSkills", 2);
6154
6206
  __decorateClass([
6155
- (0, import_typeorm63.OneToMany)(
6207
+ (0, import_typeorm64.OneToMany)(
6156
6208
  () => FreelancerExperience,
6157
6209
  (freelancerExperience) => freelancerExperience.user
6158
6210
  )
6159
6211
  ], User.prototype, "freelancerExperience", 2);
6160
6212
  __decorateClass([
6161
- (0, import_typeorm63.OneToMany)(
6213
+ (0, import_typeorm64.OneToMany)(
6162
6214
  () => FreelancerEducation,
6163
6215
  (freelancerEducation) => freelancerEducation.user
6164
6216
  )
6165
6217
  ], User.prototype, "freelancerEducation", 2);
6166
6218
  __decorateClass([
6167
- (0, import_typeorm63.OneToMany)(
6219
+ (0, import_typeorm64.OneToMany)(
6168
6220
  () => FreelancerProject,
6169
6221
  (freelancerProject) => freelancerProject.user
6170
6222
  )
6171
6223
  ], User.prototype, "freelancerProject", 2);
6172
6224
  __decorateClass([
6173
- (0, import_typeorm63.OneToMany)(
6225
+ (0, import_typeorm64.OneToMany)(
6174
6226
  () => FreelancerCaseStudy,
6175
6227
  (freelancerCaseStudy) => freelancerCaseStudy.user
6176
6228
  )
6177
6229
  ], User.prototype, "freelancerCaseStudy", 2);
6178
6230
  __decorateClass([
6179
- (0, import_typeorm63.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
6231
+ (0, import_typeorm64.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
6180
6232
  ], User.prototype, "freelancerTool", 2);
6181
6233
  __decorateClass([
6182
- (0, import_typeorm63.OneToMany)(
6234
+ (0, import_typeorm64.OneToMany)(
6183
6235
  () => FreelancerFramework,
6184
6236
  (freelancerFramework) => freelancerFramework.user
6185
6237
  )
6186
6238
  ], User.prototype, "freelancerFramework", 2);
6187
6239
  __decorateClass([
6188
- (0, import_typeorm63.OneToOne)(
6240
+ (0, import_typeorm64.OneToOne)(
6189
6241
  () => FreelancerDeclaration,
6190
6242
  (freelancerDeclaration) => freelancerDeclaration.user
6191
6243
  )
6192
6244
  ], User.prototype, "freelancerDeclaration", 2);
6193
6245
  __decorateClass([
6194
- (0, import_typeorm63.OneToMany)(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
6246
+ (0, import_typeorm64.OneToMany)(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
6195
6247
  ], User.prototype, "freelancerMcq", 2);
6196
6248
  __decorateClass([
6197
- (0, import_typeorm63.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
6249
+ (0, import_typeorm64.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
6198
6250
  ], User.prototype, "freelancerAiInterview", 2);
6199
6251
  __decorateClass([
6200
- (0, import_typeorm63.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
6252
+ (0, import_typeorm64.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
6201
6253
  ], User.prototype, "freelancerF2FInterviews", 2);
6202
6254
  __decorateClass([
6203
- (0, import_typeorm63.OneToMany)(
6255
+ (0, import_typeorm64.OneToMany)(
6204
6256
  () => F2fInterviewRescheduleRequest,
6205
6257
  (f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
6206
6258
  )
6207
6259
  ], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
6208
6260
  __decorateClass([
6209
- (0, import_typeorm63.OneToMany)(() => Job, (job) => job.user)
6261
+ (0, import_typeorm64.OneToMany)(
6262
+ () => AiInterviewRescheduleRequest,
6263
+ (aiInterviewRescheduleRequest) => aiInterviewRescheduleRequest.candidate
6264
+ )
6265
+ ], User.prototype, "freelancerAiInterviewRescheduleRequests", 2);
6266
+ __decorateClass([
6267
+ (0, import_typeorm64.OneToMany)(() => Job, (job) => job.user)
6210
6268
  ], User.prototype, "jobs", 2);
6211
6269
  __decorateClass([
6212
- (0, import_typeorm63.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
6270
+ (0, import_typeorm64.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
6213
6271
  ], User.prototype, "jobApplications", 2);
6214
6272
  __decorateClass([
6215
- (0, import_typeorm63.OneToMany)(() => Interview, (interview) => interview.user)
6273
+ (0, import_typeorm64.OneToMany)(() => Interview, (interview) => interview.user)
6216
6274
  ], User.prototype, "interviews", 2);
6217
6275
  __decorateClass([
6218
- (0, import_typeorm63.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
6276
+ (0, import_typeorm64.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
6219
6277
  ], User.prototype, "bankDetail", 2);
6220
6278
  __decorateClass([
6221
- (0, import_typeorm63.OneToMany)(
6279
+ (0, import_typeorm64.OneToMany)(
6222
6280
  () => SystemPreference,
6223
6281
  (systemPreference) => systemPreference.user
6224
6282
  )
6225
6283
  ], User.prototype, "systemPreference", 2);
6226
6284
  __decorateClass([
6227
- (0, import_typeorm63.OneToMany)(() => Rating, (rating) => rating.reviewer)
6285
+ (0, import_typeorm64.OneToMany)(() => Rating, (rating) => rating.reviewer)
6228
6286
  ], User.prototype, "givenRatings", 2);
6229
6287
  __decorateClass([
6230
- (0, import_typeorm63.OneToMany)(() => Rating, (rating) => rating.reviewee)
6288
+ (0, import_typeorm64.OneToMany)(() => Rating, (rating) => rating.reviewee)
6231
6289
  ], User.prototype, "receivedRatings", 2);
6232
6290
  __decorateClass([
6233
- (0, import_typeorm63.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
6291
+ (0, import_typeorm64.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
6234
6292
  ], User.prototype, "adminUserRoles", 2);
6235
6293
  __decorateClass([
6236
- (0, import_typeorm63.OneToMany)(() => Contract, (contract) => contract.client)
6294
+ (0, import_typeorm64.OneToMany)(() => Contract, (contract) => contract.client)
6237
6295
  ], User.prototype, "clientContracts", 2);
6238
6296
  __decorateClass([
6239
- (0, import_typeorm63.OneToMany)(() => Hiring, (hiring) => hiring.client)
6297
+ (0, import_typeorm64.OneToMany)(() => Hiring, (hiring) => hiring.client)
6240
6298
  ], User.prototype, "clientHirings", 2);
6241
6299
  __decorateClass([
6242
- (0, import_typeorm63.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
6300
+ (0, import_typeorm64.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
6243
6301
  ], User.prototype, "clientEscrowWallets", 2);
6244
6302
  __decorateClass([
6245
- (0, import_typeorm63.OneToMany)(() => Contract, (contract) => contract.freelancer)
6303
+ (0, import_typeorm64.OneToMany)(() => Contract, (contract) => contract.freelancer)
6246
6304
  ], User.prototype, "freelancerContracts", 2);
6247
6305
  __decorateClass([
6248
- (0, import_typeorm63.OneToMany)(() => Hiring, (hiring) => hiring.freelancer)
6306
+ (0, import_typeorm64.OneToMany)(() => Hiring, (hiring) => hiring.freelancer)
6249
6307
  ], User.prototype, "freelancerHirings", 2);
6250
6308
  __decorateClass([
6251
- (0, import_typeorm63.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
6309
+ (0, import_typeorm64.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
6252
6310
  ], User.prototype, "freelancerEscrowWallets", 2);
6253
6311
  __decorateClass([
6254
- (0, import_typeorm63.OneToOne)(() => Signature, (signature) => signature.user)
6312
+ (0, import_typeorm64.OneToOne)(() => Signature, (signature) => signature.user)
6255
6313
  ], User.prototype, "signatures", 2);
6256
6314
  __decorateClass([
6257
- (0, import_typeorm63.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
6315
+ (0, import_typeorm64.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
6258
6316
  ], User.prototype, "clientTimesheets", 2);
6259
6317
  __decorateClass([
6260
- (0, import_typeorm63.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
6318
+ (0, import_typeorm64.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
6261
6319
  ], User.prototype, "freelancerTimesheets", 2);
6262
6320
  __decorateClass([
6263
- (0, import_typeorm63.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
6321
+ (0, import_typeorm64.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
6264
6322
  ], User.prototype, "clientTimesheetLine", 2);
6265
6323
  __decorateClass([
6266
- (0, import_typeorm63.OneToMany)(() => Invoice, (invoice) => invoice.client)
6324
+ (0, import_typeorm64.OneToMany)(() => Invoice, (invoice) => invoice.client)
6267
6325
  ], User.prototype, "clientInvoice", 2);
6268
6326
  __decorateClass([
6269
- (0, import_typeorm63.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
6327
+ (0, import_typeorm64.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
6270
6328
  ], User.prototype, "freelancerTimesheetLine", 2);
6271
6329
  __decorateClass([
6272
- (0, import_typeorm63.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
6330
+ (0, import_typeorm64.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
6273
6331
  ], User.prototype, "freelancerInvoice", 2);
6274
6332
  __decorateClass([
6275
- (0, import_typeorm63.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
6333
+ (0, import_typeorm64.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
6276
6334
  ], User.prototype, "clientPreferencesGiven", 2);
6277
6335
  __decorateClass([
6278
- (0, import_typeorm63.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
6336
+ (0, import_typeorm64.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
6279
6337
  ], User.prototype, "clientPreferencesReceived", 2);
6280
6338
  __decorateClass([
6281
- (0, import_typeorm63.OneToMany)(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
6339
+ (0, import_typeorm64.OneToMany)(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
6282
6340
  ], User.prototype, "initiatedDisputes", 2);
6283
6341
  __decorateClass([
6284
- (0, import_typeorm63.OneToMany)(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
6342
+ (0, import_typeorm64.OneToMany)(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
6285
6343
  ], User.prototype, "respondentDisputes", 2);
6286
6344
  __decorateClass([
6287
- (0, import_typeorm63.OneToOne)(() => Wallet, (wallet) => wallet.user)
6345
+ (0, import_typeorm64.OneToOne)(() => Wallet, (wallet) => wallet.user)
6288
6346
  ], User.prototype, "wallet", 2);
6289
6347
  __decorateClass([
6290
- (0, import_typeorm63.OneToMany)(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
6348
+ (0, import_typeorm64.OneToMany)(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
6291
6349
  ], User.prototype, "stripeTransactions", 2);
6292
6350
  __decorateClass([
6293
- (0, import_typeorm63.OneToMany)(() => Dispute, (dispute) => dispute.client)
6351
+ (0, import_typeorm64.OneToMany)(() => Dispute, (dispute) => dispute.client)
6294
6352
  ], User.prototype, "clientDisputes", 2);
6295
6353
  __decorateClass([
6296
- (0, import_typeorm63.OneToMany)(() => Dispute, (dispute) => dispute.freelancer)
6354
+ (0, import_typeorm64.OneToMany)(() => Dispute, (dispute) => dispute.freelancer)
6297
6355
  ], User.prototype, "freelancerDisputes", 2);
6298
6356
  User = __decorateClass([
6299
- (0, import_typeorm63.Entity)("users")
6357
+ (0, import_typeorm64.Entity)("users")
6300
6358
  ], User);
6301
6359
 
6302
6360
  // src/entities/rating.entity.ts
@@ -6308,36 +6366,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
6308
6366
  var Rating = class extends BaseEntity {
6309
6367
  };
6310
6368
  __decorateClass([
6311
- (0, import_typeorm64.Column)({ name: "reviewer_id", type: "integer" }),
6312
- (0, import_typeorm64.Index)()
6369
+ (0, import_typeorm65.Column)({ name: "reviewer_id", type: "integer" }),
6370
+ (0, import_typeorm65.Index)()
6313
6371
  ], Rating.prototype, "reviewer_id", 2);
6314
6372
  __decorateClass([
6315
- (0, import_typeorm64.ManyToOne)(() => User, { onDelete: "CASCADE" }),
6316
- (0, import_typeorm64.JoinColumn)({ name: "reviewer_id" })
6373
+ (0, import_typeorm65.ManyToOne)(() => User, { onDelete: "CASCADE" }),
6374
+ (0, import_typeorm65.JoinColumn)({ name: "reviewer_id" })
6317
6375
  ], Rating.prototype, "reviewer", 2);
6318
6376
  __decorateClass([
6319
- (0, import_typeorm64.Column)({ name: "reviewee_id", type: "integer" }),
6320
- (0, import_typeorm64.Index)()
6377
+ (0, import_typeorm65.Column)({ name: "reviewee_id", type: "integer" }),
6378
+ (0, import_typeorm65.Index)()
6321
6379
  ], Rating.prototype, "reviewee_id", 2);
6322
6380
  __decorateClass([
6323
- (0, import_typeorm64.ManyToOne)(() => User, { onDelete: "CASCADE" }),
6324
- (0, import_typeorm64.JoinColumn)({ name: "reviewee_id" })
6381
+ (0, import_typeorm65.ManyToOne)(() => User, { onDelete: "CASCADE" }),
6382
+ (0, import_typeorm65.JoinColumn)({ name: "reviewee_id" })
6325
6383
  ], Rating.prototype, "reviewee", 2);
6326
6384
  __decorateClass([
6327
- (0, import_typeorm64.Column)({
6385
+ (0, import_typeorm65.Column)({
6328
6386
  type: "enum",
6329
6387
  enum: RatingTypeEnum,
6330
6388
  nullable: true
6331
6389
  })
6332
6390
  ], Rating.prototype, "ratingType", 2);
6333
6391
  __decorateClass([
6334
- (0, import_typeorm64.Column)({ type: "integer", nullable: true })
6392
+ (0, import_typeorm65.Column)({ type: "integer", nullable: true })
6335
6393
  ], Rating.prototype, "rating", 2);
6336
6394
  __decorateClass([
6337
- (0, import_typeorm64.Column)({ type: "text", nullable: true })
6395
+ (0, import_typeorm65.Column)({ type: "text", nullable: true })
6338
6396
  ], Rating.prototype, "review", 2);
6339
6397
  Rating = __decorateClass([
6340
- (0, import_typeorm64.Entity)("ratings")
6398
+ (0, import_typeorm65.Entity)("ratings")
6341
6399
  ], Rating);
6342
6400
 
6343
6401
  // src/modules/rating/dto/add.rating.dto.ts
@@ -8394,11 +8452,11 @@ var ChatRMQAdapter = (mode = "microservice") => {
8394
8452
  };
8395
8453
 
8396
8454
  // src/entities/sequence-generator.entity.ts
8397
- var import_typeorm65 = require("typeorm");
8455
+ var import_typeorm66 = require("typeorm");
8398
8456
  var SequenceGenerator = class extends BaseEntity {
8399
8457
  };
8400
8458
  __decorateClass([
8401
- (0, import_typeorm65.Column)({
8459
+ (0, import_typeorm66.Column)({
8402
8460
  name: "module",
8403
8461
  type: "varchar",
8404
8462
  length: 50,
@@ -8407,7 +8465,7 @@ __decorateClass([
8407
8465
  })
8408
8466
  ], SequenceGenerator.prototype, "module", 2);
8409
8467
  __decorateClass([
8410
- (0, import_typeorm65.Column)({
8468
+ (0, import_typeorm66.Column)({
8411
8469
  name: "prefix",
8412
8470
  type: "varchar",
8413
8471
  length: 10,
@@ -8416,7 +8474,7 @@ __decorateClass([
8416
8474
  })
8417
8475
  ], SequenceGenerator.prototype, "prefix", 2);
8418
8476
  __decorateClass([
8419
- (0, import_typeorm65.Column)({
8477
+ (0, import_typeorm66.Column)({
8420
8478
  name: "last_sequence",
8421
8479
  type: "int",
8422
8480
  nullable: false,
@@ -8424,7 +8482,7 @@ __decorateClass([
8424
8482
  })
8425
8483
  ], SequenceGenerator.prototype, "lastSequence", 2);
8426
8484
  __decorateClass([
8427
- (0, import_typeorm65.Column)({
8485
+ (0, import_typeorm66.Column)({
8428
8486
  name: "year",
8429
8487
  type: "int",
8430
8488
  nullable: true,
@@ -8432,11 +8490,11 @@ __decorateClass([
8432
8490
  })
8433
8491
  ], SequenceGenerator.prototype, "year", 2);
8434
8492
  SequenceGenerator = __decorateClass([
8435
- (0, import_typeorm65.Entity)("sequence_generators")
8493
+ (0, import_typeorm66.Entity)("sequence_generators")
8436
8494
  ], SequenceGenerator);
8437
8495
 
8438
8496
  // src/entities/question.entity.ts
8439
- var import_typeorm66 = require("typeorm");
8497
+ var import_typeorm67 = require("typeorm");
8440
8498
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
8441
8499
  QuestionFor2["CLIENT"] = "CLIENT";
8442
8500
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -8445,16 +8503,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
8445
8503
  var Question = class extends BaseEntity {
8446
8504
  };
8447
8505
  __decorateClass([
8448
- (0, import_typeorm66.Column)({ name: "question", type: "varchar" })
8506
+ (0, import_typeorm67.Column)({ name: "question", type: "varchar" })
8449
8507
  ], Question.prototype, "question", 2);
8450
8508
  __decorateClass([
8451
- (0, import_typeorm66.Column)({ name: "hint", type: "varchar", nullable: true })
8509
+ (0, import_typeorm67.Column)({ name: "hint", type: "varchar", nullable: true })
8452
8510
  ], Question.prototype, "hint", 2);
8453
8511
  __decorateClass([
8454
- (0, import_typeorm66.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
8512
+ (0, import_typeorm67.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
8455
8513
  ], Question.prototype, "slug", 2);
8456
8514
  __decorateClass([
8457
- (0, import_typeorm66.Column)({
8515
+ (0, import_typeorm67.Column)({
8458
8516
  name: "question_for",
8459
8517
  type: "enum",
8460
8518
  enum: QuestionFor,
@@ -8462,45 +8520,45 @@ __decorateClass([
8462
8520
  })
8463
8521
  ], Question.prototype, "questionFor", 2);
8464
8522
  __decorateClass([
8465
- (0, import_typeorm66.Column)({ name: "type", type: "varchar", nullable: true })
8523
+ (0, import_typeorm67.Column)({ name: "type", type: "varchar", nullable: true })
8466
8524
  ], Question.prototype, "type", 2);
8467
8525
  __decorateClass([
8468
- (0, import_typeorm66.Column)({ name: "options", type: "jsonb", nullable: true })
8526
+ (0, import_typeorm67.Column)({ name: "options", type: "jsonb", nullable: true })
8469
8527
  ], Question.prototype, "options", 2);
8470
8528
  __decorateClass([
8471
- (0, import_typeorm66.Column)({ name: "is_active", type: "boolean", default: false })
8529
+ (0, import_typeorm67.Column)({ name: "is_active", type: "boolean", default: false })
8472
8530
  ], Question.prototype, "isActive", 2);
8473
8531
  Question = __decorateClass([
8474
- (0, import_typeorm66.Entity)("questions")
8532
+ (0, import_typeorm67.Entity)("questions")
8475
8533
  ], Question);
8476
8534
 
8477
8535
  // src/entities/skill.entity.ts
8478
- var import_typeorm67 = require("typeorm");
8536
+ var import_typeorm68 = require("typeorm");
8479
8537
  var Skill = class extends BaseEntity {
8480
8538
  };
8481
8539
  __decorateClass([
8482
- (0, import_typeorm67.Column)({ name: "name", type: "varchar", nullable: true })
8540
+ (0, import_typeorm68.Column)({ name: "name", type: "varchar", nullable: true })
8483
8541
  ], Skill.prototype, "name", 2);
8484
8542
  __decorateClass([
8485
- (0, import_typeorm67.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
8543
+ (0, import_typeorm68.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
8486
8544
  ], Skill.prototype, "slug", 2);
8487
8545
  __decorateClass([
8488
- (0, import_typeorm67.Column)({ name: "is_active", type: "boolean", default: false })
8546
+ (0, import_typeorm68.Column)({ name: "is_active", type: "boolean", default: false })
8489
8547
  ], Skill.prototype, "isActive", 2);
8490
8548
  Skill = __decorateClass([
8491
- (0, import_typeorm67.Entity)("skills")
8549
+ (0, import_typeorm68.Entity)("skills")
8492
8550
  ], Skill);
8493
8551
 
8494
8552
  // src/entities/skill-catalog.entity.ts
8495
- var import_typeorm68 = require("typeorm");
8553
+ var import_typeorm69 = require("typeorm");
8496
8554
  var SkillCatalog = class extends BaseEntity {
8497
8555
  };
8498
8556
  __decorateClass([
8499
- (0, import_typeorm68.Column)({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
8500
- (0, import_typeorm68.Index)()
8557
+ (0, import_typeorm69.Column)({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
8558
+ (0, import_typeorm69.Index)()
8501
8559
  ], SkillCatalog.prototype, "canonicalName", 2);
8502
8560
  __decorateClass([
8503
- (0, import_typeorm68.Column)({
8561
+ (0, import_typeorm69.Column)({
8504
8562
  name: "aliases",
8505
8563
  type: "text",
8506
8564
  array: true,
@@ -8508,20 +8566,20 @@ __decorateClass([
8508
8566
  })
8509
8567
  ], SkillCatalog.prototype, "aliases", 2);
8510
8568
  __decorateClass([
8511
- (0, import_typeorm68.Column)({
8569
+ (0, import_typeorm69.Column)({
8512
8570
  name: "variations",
8513
8571
  type: "jsonb",
8514
8572
  default: "{}"
8515
8573
  })
8516
8574
  ], SkillCatalog.prototype, "variations", 2);
8517
8575
  __decorateClass([
8518
- (0, import_typeorm68.Column)({ name: "category", type: "varchar", length: 50, nullable: true })
8576
+ (0, import_typeorm69.Column)({ name: "category", type: "varchar", length: 50, nullable: true })
8519
8577
  ], SkillCatalog.prototype, "category", 2);
8520
8578
  __decorateClass([
8521
- (0, import_typeorm68.Column)({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
8579
+ (0, import_typeorm69.Column)({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
8522
8580
  ], SkillCatalog.prototype, "parentSkill", 2);
8523
8581
  __decorateClass([
8524
- (0, import_typeorm68.Column)({
8582
+ (0, import_typeorm69.Column)({
8525
8583
  name: "related_skills",
8526
8584
  type: "text",
8527
8585
  array: true,
@@ -8529,111 +8587,111 @@ __decorateClass([
8529
8587
  })
8530
8588
  ], SkillCatalog.prototype, "relatedSkills", 2);
8531
8589
  __decorateClass([
8532
- (0, import_typeorm68.Column)({ name: "usage_count", type: "integer", default: 0 }),
8533
- (0, import_typeorm68.Index)()
8590
+ (0, import_typeorm69.Column)({ name: "usage_count", type: "integer", default: 0 }),
8591
+ (0, import_typeorm69.Index)()
8534
8592
  ], SkillCatalog.prototype, "usageCount", 2);
8535
8593
  __decorateClass([
8536
- (0, import_typeorm68.Column)({ name: "is_verified", type: "boolean", default: false })
8594
+ (0, import_typeorm69.Column)({ name: "is_verified", type: "boolean", default: false })
8537
8595
  ], SkillCatalog.prototype, "isVerified", 2);
8538
8596
  __decorateClass([
8539
- (0, import_typeorm68.Column)({ name: "first_seen_date", type: "date" })
8597
+ (0, import_typeorm69.Column)({ name: "first_seen_date", type: "date" })
8540
8598
  ], SkillCatalog.prototype, "firstSeenDate", 2);
8541
8599
  __decorateClass([
8542
- (0, import_typeorm68.Column)({ name: "last_updated_date", type: "date" })
8600
+ (0, import_typeorm69.Column)({ name: "last_updated_date", type: "date" })
8543
8601
  ], SkillCatalog.prototype, "lastUpdatedDate", 2);
8544
8602
  __decorateClass([
8545
- (0, import_typeorm68.Column)({
8603
+ (0, import_typeorm69.Column)({
8546
8604
  name: "search_vector",
8547
8605
  type: "tsvector",
8548
8606
  nullable: true
8549
8607
  })
8550
8608
  ], SkillCatalog.prototype, "searchVector", 2);
8551
8609
  SkillCatalog = __decorateClass([
8552
- (0, import_typeorm68.Entity)("skill_catalogs")
8610
+ (0, import_typeorm69.Entity)("skill_catalogs")
8553
8611
  ], SkillCatalog);
8554
8612
 
8555
8613
  // src/entities/job-role.entity.ts
8556
- var import_typeorm69 = require("typeorm");
8614
+ var import_typeorm70 = require("typeorm");
8557
8615
  var JobRoles = class extends BaseEntity {
8558
8616
  };
8559
8617
  __decorateClass([
8560
- (0, import_typeorm69.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
8618
+ (0, import_typeorm70.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
8561
8619
  ], JobRoles.prototype, "slug", 2);
8562
8620
  __decorateClass([
8563
- (0, import_typeorm69.Column)({ name: "name", type: "varchar", nullable: true })
8621
+ (0, import_typeorm70.Column)({ name: "name", type: "varchar", nullable: true })
8564
8622
  ], JobRoles.prototype, "name", 2);
8565
8623
  __decorateClass([
8566
- (0, import_typeorm69.Column)({ name: "is_active", type: "boolean", default: true })
8624
+ (0, import_typeorm70.Column)({ name: "is_active", type: "boolean", default: true })
8567
8625
  ], JobRoles.prototype, "isActive", 2);
8568
8626
  JobRoles = __decorateClass([
8569
- (0, import_typeorm69.Entity)("job_roles")
8627
+ (0, import_typeorm70.Entity)("job_roles")
8570
8628
  ], JobRoles);
8571
8629
 
8572
8630
  // src/entities/plan.entity.ts
8573
- var import_typeorm71 = require("typeorm");
8631
+ var import_typeorm72 = require("typeorm");
8574
8632
 
8575
8633
  // src/entities/feature.entity.ts
8576
- var import_typeorm70 = require("typeorm");
8634
+ var import_typeorm71 = require("typeorm");
8577
8635
  var Feature = class extends BaseEntity {
8578
8636
  };
8579
8637
  __decorateClass([
8580
- (0, import_typeorm70.Column)({ name: "name", type: "varchar", unique: true })
8638
+ (0, import_typeorm71.Column)({ name: "name", type: "varchar", unique: true })
8581
8639
  ], Feature.prototype, "name", 2);
8582
8640
  __decorateClass([
8583
- (0, import_typeorm70.ManyToMany)(() => Plan, (plan) => plan.features)
8641
+ (0, import_typeorm71.ManyToMany)(() => Plan, (plan) => plan.features)
8584
8642
  ], Feature.prototype, "plans", 2);
8585
8643
  Feature = __decorateClass([
8586
- (0, import_typeorm70.Entity)("features")
8644
+ (0, import_typeorm71.Entity)("features")
8587
8645
  ], Feature);
8588
8646
 
8589
8647
  // src/entities/plan.entity.ts
8590
8648
  var Plan = class extends BaseEntity {
8591
8649
  };
8592
8650
  __decorateClass([
8593
- (0, import_typeorm71.Column)({ name: "name", type: "varchar", unique: true })
8651
+ (0, import_typeorm72.Column)({ name: "name", type: "varchar", unique: true })
8594
8652
  ], Plan.prototype, "name", 2);
8595
8653
  __decorateClass([
8596
- (0, import_typeorm71.Column)({ name: "description", type: "varchar", nullable: true })
8654
+ (0, import_typeorm72.Column)({ name: "description", type: "varchar", nullable: true })
8597
8655
  ], Plan.prototype, "description", 2);
8598
8656
  __decorateClass([
8599
- (0, import_typeorm71.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
8657
+ (0, import_typeorm72.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
8600
8658
  ], Plan.prototype, "price", 2);
8601
8659
  __decorateClass([
8602
- (0, import_typeorm71.Column)({ name: "billing_period", type: "varchar" })
8660
+ (0, import_typeorm72.Column)({ name: "billing_period", type: "varchar" })
8603
8661
  ], Plan.prototype, "billingPeriod", 2);
8604
8662
  __decorateClass([
8605
- (0, import_typeorm71.Column)({ name: "is_current", type: "boolean", default: false })
8663
+ (0, import_typeorm72.Column)({ name: "is_current", type: "boolean", default: false })
8606
8664
  ], Plan.prototype, "isCurrent", 2);
8607
8665
  __decorateClass([
8608
- (0, import_typeorm71.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
8609
- (0, import_typeorm71.JoinTable)()
8666
+ (0, import_typeorm72.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
8667
+ (0, import_typeorm72.JoinTable)()
8610
8668
  ], Plan.prototype, "features", 2);
8611
8669
  Plan = __decorateClass([
8612
- (0, import_typeorm71.Entity)("plans")
8670
+ (0, import_typeorm72.Entity)("plans")
8613
8671
  ], Plan);
8614
8672
 
8615
8673
  // src/entities/cms.entity.ts
8616
- var import_typeorm72 = require("typeorm");
8674
+ var import_typeorm73 = require("typeorm");
8617
8675
  var Cms = class extends BaseEntity {
8618
8676
  };
8619
8677
  __decorateClass([
8620
- (0, import_typeorm72.Column)({ name: "title", type: "varchar", nullable: true })
8678
+ (0, import_typeorm73.Column)({ name: "title", type: "varchar", nullable: true })
8621
8679
  ], Cms.prototype, "title", 2);
8622
8680
  __decorateClass([
8623
- (0, import_typeorm72.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
8681
+ (0, import_typeorm73.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
8624
8682
  ], Cms.prototype, "slug", 2);
8625
8683
  __decorateClass([
8626
- (0, import_typeorm72.Column)({ name: "content", type: "varchar", nullable: true })
8684
+ (0, import_typeorm73.Column)({ name: "content", type: "varchar", nullable: true })
8627
8685
  ], Cms.prototype, "content", 2);
8628
8686
  __decorateClass([
8629
- (0, import_typeorm72.Column)({ name: "is_active", type: "boolean", default: true })
8687
+ (0, import_typeorm73.Column)({ name: "is_active", type: "boolean", default: true })
8630
8688
  ], Cms.prototype, "isActive", 2);
8631
8689
  Cms = __decorateClass([
8632
- (0, import_typeorm72.Entity)("cms")
8690
+ (0, import_typeorm73.Entity)("cms")
8633
8691
  ], Cms);
8634
8692
 
8635
8693
  // src/entities/lead.entity.ts
8636
- var import_typeorm73 = require("typeorm");
8694
+ var import_typeorm74 = require("typeorm");
8637
8695
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
8638
8696
  CategoryEmum2["BUSINESS"] = "BUSINESS";
8639
8697
  CategoryEmum2["FREELANCER"] = "FREELANCER";
@@ -8642,22 +8700,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
8642
8700
  var Lead = class extends BaseEntity {
8643
8701
  };
8644
8702
  __decorateClass([
8645
- (0, import_typeorm73.Column)({ name: "name", type: "varchar", nullable: true })
8703
+ (0, import_typeorm74.Column)({ name: "name", type: "varchar", nullable: true })
8646
8704
  ], Lead.prototype, "name", 2);
8647
8705
  __decorateClass([
8648
- (0, import_typeorm73.Column)({ name: "mobile_code", type: "varchar", nullable: true })
8706
+ (0, import_typeorm74.Column)({ name: "mobile_code", type: "varchar", nullable: true })
8649
8707
  ], Lead.prototype, "mobileCode", 2);
8650
8708
  __decorateClass([
8651
- (0, import_typeorm73.Column)({ name: "mobile", type: "varchar", nullable: true })
8709
+ (0, import_typeorm74.Column)({ name: "mobile", type: "varchar", nullable: true })
8652
8710
  ], Lead.prototype, "mobile", 2);
8653
8711
  __decorateClass([
8654
- (0, import_typeorm73.Column)({ name: "email", type: "varchar", nullable: true })
8712
+ (0, import_typeorm74.Column)({ name: "email", type: "varchar", nullable: true })
8655
8713
  ], Lead.prototype, "email", 2);
8656
8714
  __decorateClass([
8657
- (0, import_typeorm73.Column)({ name: "description", type: "varchar", nullable: true })
8715
+ (0, import_typeorm74.Column)({ name: "description", type: "varchar", nullable: true })
8658
8716
  ], Lead.prototype, "description", 2);
8659
8717
  __decorateClass([
8660
- (0, import_typeorm73.Column)({
8718
+ (0, import_typeorm74.Column)({
8661
8719
  name: "category",
8662
8720
  type: "enum",
8663
8721
  enum: CategoryEmum,
@@ -8665,129 +8723,129 @@ __decorateClass([
8665
8723
  })
8666
8724
  ], Lead.prototype, "category", 2);
8667
8725
  Lead = __decorateClass([
8668
- (0, import_typeorm73.Entity)("leads")
8726
+ (0, import_typeorm74.Entity)("leads")
8669
8727
  ], Lead);
8670
8728
 
8671
8729
  // src/entities/job-freelancer-recommendation.entity.ts
8672
- var import_typeorm74 = require("typeorm");
8730
+ var import_typeorm75 = require("typeorm");
8673
8731
  var JobFreelancerRecommendation = class {
8674
8732
  };
8675
8733
  __decorateClass([
8676
- (0, import_typeorm74.ViewColumn)({ name: "job_id" })
8734
+ (0, import_typeorm75.ViewColumn)({ name: "job_id" })
8677
8735
  ], JobFreelancerRecommendation.prototype, "jobId", 2);
8678
8736
  __decorateClass([
8679
- (0, import_typeorm74.ViewColumn)({ name: "job_uuid" })
8737
+ (0, import_typeorm75.ViewColumn)({ name: "job_uuid" })
8680
8738
  ], JobFreelancerRecommendation.prototype, "jobUuid", 2);
8681
8739
  __decorateClass([
8682
- (0, import_typeorm74.ViewColumn)({ name: "job_unique_id" })
8740
+ (0, import_typeorm75.ViewColumn)({ name: "job_unique_id" })
8683
8741
  ], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
8684
8742
  __decorateClass([
8685
- (0, import_typeorm74.ViewColumn)({ name: "job_role" })
8743
+ (0, import_typeorm75.ViewColumn)({ name: "job_role" })
8686
8744
  ], JobFreelancerRecommendation.prototype, "jobRole", 2);
8687
8745
  __decorateClass([
8688
- (0, import_typeorm74.ViewColumn)({ name: "job_openings" })
8746
+ (0, import_typeorm75.ViewColumn)({ name: "job_openings" })
8689
8747
  ], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
8690
8748
  __decorateClass([
8691
- (0, import_typeorm74.ViewColumn)({ name: "job_location" })
8749
+ (0, import_typeorm75.ViewColumn)({ name: "job_location" })
8692
8750
  ], JobFreelancerRecommendation.prototype, "jobLocation", 2);
8693
8751
  __decorateClass([
8694
- (0, import_typeorm74.ViewColumn)({ name: "job_currency" })
8752
+ (0, import_typeorm75.ViewColumn)({ name: "job_currency" })
8695
8753
  ], JobFreelancerRecommendation.prototype, "jobCurrency", 2);
8696
8754
  __decorateClass([
8697
- (0, import_typeorm74.ViewColumn)({ name: "job_salary_from" })
8755
+ (0, import_typeorm75.ViewColumn)({ name: "job_salary_from" })
8698
8756
  ], JobFreelancerRecommendation.prototype, "jobSalaryFrom", 2);
8699
8757
  __decorateClass([
8700
- (0, import_typeorm74.ViewColumn)({ name: "job_salary_to" })
8758
+ (0, import_typeorm75.ViewColumn)({ name: "job_salary_to" })
8701
8759
  ], JobFreelancerRecommendation.prototype, "jobSalaryTo", 2);
8702
8760
  __decorateClass([
8703
- (0, import_typeorm74.ViewColumn)({ name: "job_employment_type" })
8761
+ (0, import_typeorm75.ViewColumn)({ name: "job_employment_type" })
8704
8762
  ], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
8705
8763
  __decorateClass([
8706
- (0, import_typeorm74.ViewColumn)({ name: "application_received" })
8764
+ (0, import_typeorm75.ViewColumn)({ name: "application_received" })
8707
8765
  ], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
8708
8766
  __decorateClass([
8709
- (0, import_typeorm74.ViewColumn)({ name: "job_posted_at" })
8767
+ (0, import_typeorm75.ViewColumn)({ name: "job_posted_at" })
8710
8768
  ], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
8711
8769
  __decorateClass([
8712
- (0, import_typeorm74.ViewColumn)({ name: "freelancer_id" })
8770
+ (0, import_typeorm75.ViewColumn)({ name: "freelancer_id" })
8713
8771
  ], JobFreelancerRecommendation.prototype, "freelancerId", 2);
8714
8772
  __decorateClass([
8715
- (0, import_typeorm74.ViewColumn)({ name: "freelancer_uuid" })
8773
+ (0, import_typeorm75.ViewColumn)({ name: "freelancer_uuid" })
8716
8774
  ], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
8717
8775
  __decorateClass([
8718
- (0, import_typeorm74.ViewColumn)({ name: "freelancer_unique_id" })
8776
+ (0, import_typeorm75.ViewColumn)({ name: "freelancer_unique_id" })
8719
8777
  ], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
8720
8778
  __decorateClass([
8721
- (0, import_typeorm74.ViewColumn)({ name: "freelancer_first_name" })
8779
+ (0, import_typeorm75.ViewColumn)({ name: "freelancer_first_name" })
8722
8780
  ], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
8723
8781
  __decorateClass([
8724
- (0, import_typeorm74.ViewColumn)({ name: "freelancer_last_name" })
8782
+ (0, import_typeorm75.ViewColumn)({ name: "freelancer_last_name" })
8725
8783
  ], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
8726
8784
  __decorateClass([
8727
- (0, import_typeorm74.ViewColumn)({ name: "freelancer_email" })
8785
+ (0, import_typeorm75.ViewColumn)({ name: "freelancer_email" })
8728
8786
  ], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
8729
8787
  __decorateClass([
8730
- (0, import_typeorm74.ViewColumn)({ name: "freelancer_profile_picture" })
8788
+ (0, import_typeorm75.ViewColumn)({ name: "freelancer_profile_picture" })
8731
8789
  ], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
8732
8790
  __decorateClass([
8733
- (0, import_typeorm74.ViewColumn)({ name: "freelancer_is_social" })
8791
+ (0, import_typeorm75.ViewColumn)({ name: "freelancer_is_social" })
8734
8792
  ], JobFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
8735
8793
  __decorateClass([
8736
- (0, import_typeorm74.ViewColumn)({ name: "freelancer_created_at" })
8794
+ (0, import_typeorm75.ViewColumn)({ name: "freelancer_created_at" })
8737
8795
  ], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
8738
8796
  __decorateClass([
8739
- (0, import_typeorm74.ViewColumn)({ name: "freelancer_designation" })
8797
+ (0, import_typeorm75.ViewColumn)({ name: "freelancer_designation" })
8740
8798
  ], JobFreelancerRecommendation.prototype, "freelancerDesignation", 2);
8741
8799
  __decorateClass([
8742
- (0, import_typeorm74.ViewColumn)({ name: "freelancer_experience" })
8800
+ (0, import_typeorm75.ViewColumn)({ name: "freelancer_experience" })
8743
8801
  ], JobFreelancerRecommendation.prototype, "freelancerExperience", 2);
8744
8802
  __decorateClass([
8745
- (0, import_typeorm74.ViewColumn)({ name: "freelancer_expertshub_verified" })
8803
+ (0, import_typeorm75.ViewColumn)({ name: "freelancer_expertshub_verified" })
8746
8804
  ], JobFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
8747
8805
  __decorateClass([
8748
- (0, import_typeorm74.ViewColumn)({ name: "freelancer_hourly_compensation" })
8806
+ (0, import_typeorm75.ViewColumn)({ name: "freelancer_hourly_compensation" })
8749
8807
  ], JobFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
8750
8808
  __decorateClass([
8751
- (0, import_typeorm74.ViewColumn)({ name: "freelancer_country_name" })
8809
+ (0, import_typeorm75.ViewColumn)({ name: "freelancer_country_name" })
8752
8810
  ], JobFreelancerRecommendation.prototype, "freelancerCountryName", 2);
8753
8811
  __decorateClass([
8754
- (0, import_typeorm74.ViewColumn)({ name: "freelancer_country_iso_code" })
8812
+ (0, import_typeorm75.ViewColumn)({ name: "freelancer_country_iso_code" })
8755
8813
  ], JobFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
8756
8814
  __decorateClass([
8757
- (0, import_typeorm74.ViewColumn)({ name: "client_id" })
8815
+ (0, import_typeorm75.ViewColumn)({ name: "client_id" })
8758
8816
  ], JobFreelancerRecommendation.prototype, "clientId", 2);
8759
8817
  __decorateClass([
8760
- (0, import_typeorm74.ViewColumn)({ name: "client_uuid" })
8818
+ (0, import_typeorm75.ViewColumn)({ name: "client_uuid" })
8761
8819
  ], JobFreelancerRecommendation.prototype, "clientUuid", 2);
8762
8820
  __decorateClass([
8763
- (0, import_typeorm74.ViewColumn)({ name: "client_first_name" })
8821
+ (0, import_typeorm75.ViewColumn)({ name: "client_first_name" })
8764
8822
  ], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
8765
8823
  __decorateClass([
8766
- (0, import_typeorm74.ViewColumn)({ name: "client_last_name" })
8824
+ (0, import_typeorm75.ViewColumn)({ name: "client_last_name" })
8767
8825
  ], JobFreelancerRecommendation.prototype, "clientLastName", 2);
8768
8826
  __decorateClass([
8769
- (0, import_typeorm74.ViewColumn)({ name: "client_email" })
8827
+ (0, import_typeorm75.ViewColumn)({ name: "client_email" })
8770
8828
  ], JobFreelancerRecommendation.prototype, "clientEmail", 2);
8771
8829
  __decorateClass([
8772
- (0, import_typeorm74.ViewColumn)({ name: "client_company_logo" })
8830
+ (0, import_typeorm75.ViewColumn)({ name: "client_company_logo" })
8773
8831
  ], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
8774
8832
  __decorateClass([
8775
- (0, import_typeorm74.ViewColumn)({ name: "client_company_name" })
8833
+ (0, import_typeorm75.ViewColumn)({ name: "client_company_name" })
8776
8834
  ], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
8777
8835
  __decorateClass([
8778
- (0, import_typeorm74.ViewColumn)({ name: "matching_skills" })
8836
+ (0, import_typeorm75.ViewColumn)({ name: "matching_skills" })
8779
8837
  ], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
8780
8838
  __decorateClass([
8781
- (0, import_typeorm74.ViewColumn)({ name: "matching_skills_count" })
8839
+ (0, import_typeorm75.ViewColumn)({ name: "matching_skills_count" })
8782
8840
  ], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
8783
8841
  __decorateClass([
8784
- (0, import_typeorm74.ViewColumn)({ name: "required_skills" })
8842
+ (0, import_typeorm75.ViewColumn)({ name: "required_skills" })
8785
8843
  ], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
8786
8844
  __decorateClass([
8787
- (0, import_typeorm74.ViewColumn)({ name: "required_skills_count" })
8845
+ (0, import_typeorm75.ViewColumn)({ name: "required_skills_count" })
8788
8846
  ], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
8789
8847
  JobFreelancerRecommendation = __decorateClass([
8790
- (0, import_typeorm74.ViewEntity)({
8848
+ (0, import_typeorm75.ViewEntity)({
8791
8849
  name: "job_freelancer_recommendations",
8792
8850
  materialized: true,
8793
8851
  synchronize: false
@@ -8796,32 +8854,32 @@ JobFreelancerRecommendation = __decorateClass([
8796
8854
  ], JobFreelancerRecommendation);
8797
8855
 
8798
8856
  // src/entities/job-freelancer-recommendation-v2.entity.ts
8799
- var import_typeorm75 = require("typeorm");
8857
+ var import_typeorm76 = require("typeorm");
8800
8858
  var JobFreelancerRecommendationV2 = class {
8801
8859
  };
8802
8860
  __decorateClass([
8803
- (0, import_typeorm75.ViewColumn)({ name: "job_id" })
8861
+ (0, import_typeorm76.ViewColumn)({ name: "job_id" })
8804
8862
  ], JobFreelancerRecommendationV2.prototype, "jobId", 2);
8805
8863
  __decorateClass([
8806
- (0, import_typeorm75.ViewColumn)({ name: "job_owner_id" })
8864
+ (0, import_typeorm76.ViewColumn)({ name: "job_owner_id" })
8807
8865
  ], JobFreelancerRecommendationV2.prototype, "jobOwnerId", 2);
8808
8866
  __decorateClass([
8809
- (0, import_typeorm75.ViewColumn)({ name: "freelancer_id" })
8867
+ (0, import_typeorm76.ViewColumn)({ name: "freelancer_id" })
8810
8868
  ], JobFreelancerRecommendationV2.prototype, "freelancerId", 2);
8811
8869
  __decorateClass([
8812
- (0, import_typeorm75.ViewColumn)({ name: "matching_skills" })
8870
+ (0, import_typeorm76.ViewColumn)({ name: "matching_skills" })
8813
8871
  ], JobFreelancerRecommendationV2.prototype, "matchingSkills", 2);
8814
8872
  __decorateClass([
8815
- (0, import_typeorm75.ViewColumn)({ name: "matching_skills_count" })
8873
+ (0, import_typeorm76.ViewColumn)({ name: "matching_skills_count" })
8816
8874
  ], JobFreelancerRecommendationV2.prototype, "matchingSkillsCount", 2);
8817
8875
  __decorateClass([
8818
- (0, import_typeorm75.ViewColumn)({ name: "required_skills" })
8876
+ (0, import_typeorm76.ViewColumn)({ name: "required_skills" })
8819
8877
  ], JobFreelancerRecommendationV2.prototype, "requiredSkills", 2);
8820
8878
  __decorateClass([
8821
- (0, import_typeorm75.ViewColumn)({ name: "required_skills_count" })
8879
+ (0, import_typeorm76.ViewColumn)({ name: "required_skills_count" })
8822
8880
  ], JobFreelancerRecommendationV2.prototype, "requiredSkillsCount", 2);
8823
8881
  JobFreelancerRecommendationV2 = __decorateClass([
8824
- (0, import_typeorm75.ViewEntity)({
8882
+ (0, import_typeorm76.ViewEntity)({
8825
8883
  name: "job_freelancer_recommendations_v2",
8826
8884
  materialized: true,
8827
8885
  synchronize: false
@@ -8830,74 +8888,74 @@ JobFreelancerRecommendationV2 = __decorateClass([
8830
8888
  ], JobFreelancerRecommendationV2);
8831
8889
 
8832
8890
  // src/entities/client-freelancer-recommendation.entity.ts
8833
- var import_typeorm76 = require("typeorm");
8891
+ var import_typeorm77 = require("typeorm");
8834
8892
  var ClientFreelancerRecommendation = class {
8835
8893
  };
8836
8894
  __decorateClass([
8837
- (0, import_typeorm76.ViewColumn)({ name: "client_id" })
8895
+ (0, import_typeorm77.ViewColumn)({ name: "client_id" })
8838
8896
  ], ClientFreelancerRecommendation.prototype, "clientId", 2);
8839
8897
  __decorateClass([
8840
- (0, import_typeorm76.ViewColumn)({ name: "client_uuid" })
8898
+ (0, import_typeorm77.ViewColumn)({ name: "client_uuid" })
8841
8899
  ], ClientFreelancerRecommendation.prototype, "clientUuid", 2);
8842
8900
  __decorateClass([
8843
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_id" })
8901
+ (0, import_typeorm77.ViewColumn)({ name: "freelancer_id" })
8844
8902
  ], ClientFreelancerRecommendation.prototype, "freelancerId", 2);
8845
8903
  __decorateClass([
8846
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_uuid" })
8904
+ (0, import_typeorm77.ViewColumn)({ name: "freelancer_uuid" })
8847
8905
  ], ClientFreelancerRecommendation.prototype, "freelancerUuid", 2);
8848
8906
  __decorateClass([
8849
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_unique_id" })
8907
+ (0, import_typeorm77.ViewColumn)({ name: "freelancer_unique_id" })
8850
8908
  ], ClientFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
8851
8909
  __decorateClass([
8852
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_first_name" })
8910
+ (0, import_typeorm77.ViewColumn)({ name: "freelancer_first_name" })
8853
8911
  ], ClientFreelancerRecommendation.prototype, "freelancerFirstName", 2);
8854
8912
  __decorateClass([
8855
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_last_name" })
8913
+ (0, import_typeorm77.ViewColumn)({ name: "freelancer_last_name" })
8856
8914
  ], ClientFreelancerRecommendation.prototype, "freelancerLastName", 2);
8857
8915
  __decorateClass([
8858
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_email" })
8916
+ (0, import_typeorm77.ViewColumn)({ name: "freelancer_email" })
8859
8917
  ], ClientFreelancerRecommendation.prototype, "freelancerEmail", 2);
8860
8918
  __decorateClass([
8861
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_profile_picture" })
8919
+ (0, import_typeorm77.ViewColumn)({ name: "freelancer_profile_picture" })
8862
8920
  ], ClientFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
8863
8921
  __decorateClass([
8864
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_is_social" })
8922
+ (0, import_typeorm77.ViewColumn)({ name: "freelancer_is_social" })
8865
8923
  ], ClientFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
8866
8924
  __decorateClass([
8867
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_created_at" })
8925
+ (0, import_typeorm77.ViewColumn)({ name: "freelancer_created_at" })
8868
8926
  ], ClientFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
8869
8927
  __decorateClass([
8870
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_designation" })
8928
+ (0, import_typeorm77.ViewColumn)({ name: "freelancer_designation" })
8871
8929
  ], ClientFreelancerRecommendation.prototype, "freelancerDesignation", 2);
8872
8930
  __decorateClass([
8873
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_experience" })
8931
+ (0, import_typeorm77.ViewColumn)({ name: "freelancer_experience" })
8874
8932
  ], ClientFreelancerRecommendation.prototype, "freelancerExperience", 2);
8875
8933
  __decorateClass([
8876
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_expertshub_verified" })
8934
+ (0, import_typeorm77.ViewColumn)({ name: "freelancer_expertshub_verified" })
8877
8935
  ], ClientFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
8878
8936
  __decorateClass([
8879
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_hourly_compensation" })
8937
+ (0, import_typeorm77.ViewColumn)({ name: "freelancer_hourly_compensation" })
8880
8938
  ], ClientFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
8881
8939
  __decorateClass([
8882
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_country_name" })
8940
+ (0, import_typeorm77.ViewColumn)({ name: "freelancer_country_name" })
8883
8941
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryName", 2);
8884
8942
  __decorateClass([
8885
- (0, import_typeorm76.ViewColumn)({ name: "freelancer_country_iso_code" })
8943
+ (0, import_typeorm77.ViewColumn)({ name: "freelancer_country_iso_code" })
8886
8944
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
8887
8945
  __decorateClass([
8888
- (0, import_typeorm76.ViewColumn)({ name: "matching_skills" })
8946
+ (0, import_typeorm77.ViewColumn)({ name: "matching_skills" })
8889
8947
  ], ClientFreelancerRecommendation.prototype, "matchingSkills", 2);
8890
8948
  __decorateClass([
8891
- (0, import_typeorm76.ViewColumn)({ name: "matching_skills_count" })
8949
+ (0, import_typeorm77.ViewColumn)({ name: "matching_skills_count" })
8892
8950
  ], ClientFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
8893
8951
  __decorateClass([
8894
- (0, import_typeorm76.ViewColumn)({ name: "required_skills" })
8952
+ (0, import_typeorm77.ViewColumn)({ name: "required_skills" })
8895
8953
  ], ClientFreelancerRecommendation.prototype, "requiredSkills", 2);
8896
8954
  __decorateClass([
8897
- (0, import_typeorm76.ViewColumn)({ name: "required_skills_count" })
8955
+ (0, import_typeorm77.ViewColumn)({ name: "required_skills_count" })
8898
8956
  ], ClientFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
8899
8957
  ClientFreelancerRecommendation = __decorateClass([
8900
- (0, import_typeorm76.ViewEntity)({
8958
+ (0, import_typeorm77.ViewEntity)({
8901
8959
  name: "client_freelancer_recommendations",
8902
8960
  materialized: true,
8903
8961
  synchronize: false
@@ -8906,7 +8964,7 @@ ClientFreelancerRecommendation = __decorateClass([
8906
8964
  ], ClientFreelancerRecommendation);
8907
8965
 
8908
8966
  // src/entities/commission.entity.ts
8909
- var import_typeorm77 = require("typeorm");
8967
+ var import_typeorm78 = require("typeorm");
8910
8968
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
8911
8969
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
8912
8970
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -8915,7 +8973,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
8915
8973
  var Commission = class extends BaseEntity {
8916
8974
  };
8917
8975
  __decorateClass([
8918
- (0, import_typeorm77.Column)({
8976
+ (0, import_typeorm78.Column)({
8919
8977
  name: "freelancer_commission_type",
8920
8978
  type: "enum",
8921
8979
  enum: CommissionTypeEnum,
@@ -8923,10 +8981,10 @@ __decorateClass([
8923
8981
  })
8924
8982
  ], Commission.prototype, "freelancerCommissionType", 2);
8925
8983
  __decorateClass([
8926
- (0, import_typeorm77.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
8984
+ (0, import_typeorm78.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
8927
8985
  ], Commission.prototype, "freelancerCommission", 2);
8928
8986
  __decorateClass([
8929
- (0, import_typeorm77.Column)({
8987
+ (0, import_typeorm78.Column)({
8930
8988
  name: "client_commission_type",
8931
8989
  type: "enum",
8932
8990
  enum: CommissionTypeEnum,
@@ -8934,93 +8992,93 @@ __decorateClass([
8934
8992
  })
8935
8993
  ], Commission.prototype, "clientCommissionType", 2);
8936
8994
  __decorateClass([
8937
- (0, import_typeorm77.Column)({ name: "client_commission", type: "integer", default: 0 })
8995
+ (0, import_typeorm78.Column)({ name: "client_commission", type: "integer", default: 0 })
8938
8996
  ], Commission.prototype, "clientCommission", 2);
8939
8997
  Commission = __decorateClass([
8940
- (0, import_typeorm77.Entity)("commissions")
8998
+ (0, import_typeorm78.Entity)("commissions")
8941
8999
  ], Commission);
8942
9000
 
8943
9001
  // src/entities/calendly-meeting-log.entity.ts
8944
- var import_typeorm78 = require("typeorm");
9002
+ var import_typeorm79 = require("typeorm");
8945
9003
  var CalendlyMeetingLog = class extends BaseEntity {
8946
9004
  };
8947
9005
  __decorateClass([
8948
- (0, import_typeorm78.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
8949
- (0, import_typeorm78.Index)()
9006
+ (0, import_typeorm79.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
9007
+ (0, import_typeorm79.Index)()
8950
9008
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
8951
9009
  __decorateClass([
8952
- (0, import_typeorm78.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
9010
+ (0, import_typeorm79.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
8953
9011
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
8954
9012
  __decorateClass([
8955
- (0, import_typeorm78.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9013
+ (0, import_typeorm79.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
8956
9014
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
8957
9015
  CalendlyMeetingLog = __decorateClass([
8958
- (0, import_typeorm78.Entity)("calendly_meeting_logs")
9016
+ (0, import_typeorm79.Entity)("calendly_meeting_logs")
8959
9017
  ], CalendlyMeetingLog);
8960
9018
 
8961
9019
  // src/entities/zoom-meeting-log.entity.ts
8962
- var import_typeorm79 = require("typeorm");
9020
+ var import_typeorm80 = require("typeorm");
8963
9021
  var ZoomMeetingLog = class extends BaseEntity {
8964
9022
  };
8965
9023
  __decorateClass([
8966
- (0, import_typeorm79.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
8967
- (0, import_typeorm79.Index)()
9024
+ (0, import_typeorm80.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
9025
+ (0, import_typeorm80.Index)()
8968
9026
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
8969
9027
  __decorateClass([
8970
- (0, import_typeorm79.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
9028
+ (0, import_typeorm80.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
8971
9029
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
8972
9030
  __decorateClass([
8973
- (0, import_typeorm79.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9031
+ (0, import_typeorm80.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
8974
9032
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
8975
9033
  ZoomMeetingLog = __decorateClass([
8976
- (0, import_typeorm79.Entity)("zoom_meeting_logs")
9034
+ (0, import_typeorm80.Entity)("zoom_meeting_logs")
8977
9035
  ], ZoomMeetingLog);
8978
9036
 
8979
9037
  // src/entities/stripe-logs.entity.ts
8980
- var import_typeorm80 = require("typeorm");
9038
+ var import_typeorm81 = require("typeorm");
8981
9039
  var StripeLog = class extends BaseEntity {
8982
9040
  };
8983
9041
  __decorateClass([
8984
- (0, import_typeorm80.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
9042
+ (0, import_typeorm81.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
8985
9043
  ], StripeLog.prototype, "stripeEventId", 2);
8986
9044
  __decorateClass([
8987
- (0, import_typeorm80.Column)({ name: "event_type", type: "varchar", nullable: true })
9045
+ (0, import_typeorm81.Column)({ name: "event_type", type: "varchar", nullable: true })
8988
9046
  ], StripeLog.prototype, "eventType", 2);
8989
9047
  __decorateClass([
8990
- (0, import_typeorm80.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
9048
+ (0, import_typeorm81.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
8991
9049
  ], StripeLog.prototype, "stripeAccountId", 2);
8992
9050
  __decorateClass([
8993
- (0, import_typeorm80.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
9051
+ (0, import_typeorm81.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
8994
9052
  ], StripeLog.prototype, "rawWebhookData", 2);
8995
9053
  StripeLog = __decorateClass([
8996
- (0, import_typeorm80.Entity)("stripe_logs")
9054
+ (0, import_typeorm81.Entity)("stripe_logs")
8997
9055
  ], StripeLog);
8998
9056
 
8999
9057
  // src/entities/recommendation-weightage-config.entity.ts
9000
- var import_typeorm81 = require("typeorm");
9058
+ var import_typeorm82 = require("typeorm");
9001
9059
  var RecommendationWeightageConfig = class extends BaseEntity {
9002
9060
  };
9003
9061
  __decorateClass([
9004
- (0, import_typeorm81.Column)({
9062
+ (0, import_typeorm82.Column)({
9005
9063
  type: "varchar",
9006
9064
  length: 100,
9007
9065
  unique: true,
9008
9066
  comment: "Unique key identifier (e.g., full_time_weights, hourly_weights)"
9009
9067
  }),
9010
- (0, import_typeorm81.Index)()
9068
+ (0, import_typeorm82.Index)()
9011
9069
  ], RecommendationWeightageConfig.prototype, "key", 2);
9012
9070
  __decorateClass([
9013
- (0, import_typeorm81.Column)({
9071
+ (0, import_typeorm82.Column)({
9014
9072
  type: "jsonb",
9015
9073
  comment: "JSON object containing weight values",
9016
9074
  nullable: true
9017
9075
  })
9018
9076
  ], RecommendationWeightageConfig.prototype, "value", 2);
9019
9077
  __decorateClass([
9020
- (0, import_typeorm81.Column)({ name: "is_active", type: "boolean", default: true })
9078
+ (0, import_typeorm82.Column)({ name: "is_active", type: "boolean", default: true })
9021
9079
  ], RecommendationWeightageConfig.prototype, "isActive", 2);
9022
9080
  RecommendationWeightageConfig = __decorateClass([
9023
- (0, import_typeorm81.Entity)("recommendation_weightage_configs")
9081
+ (0, import_typeorm82.Entity)("recommendation_weightage_configs")
9024
9082
  ], RecommendationWeightageConfig);
9025
9083
  // Annotate the CommonJS export names for ESM import in node:
9026
9084
  0 && (module.exports = {
@@ -9042,6 +9100,8 @@ RecommendationWeightageConfig = __decorateClass([
9042
9100
  AiAssessmentStatusEnum,
9043
9101
  AiInterview,
9044
9102
  AiInterviewQuestionGenerateDto,
9103
+ AiInterviewRescheduleRequest,
9104
+ AiInterviewRescheduleRequestStatusEnum,
9045
9105
  AiInterviewStatusEnum,
9046
9106
  AnswerTypeEnum,
9047
9107
  ApplicationStatusEnum,