@experts_hub/shared 1.0.534 → 1.0.536

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