@experts_hub/shared 1.0.652 → 1.0.653

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
@@ -240,6 +240,7 @@ __export(index_exports, {
240
240
  INTERVIEW_INVITE_PATTERN: () => INTERVIEW_INVITE_PATTERN,
241
241
  INTERVIEW_PATTERN: () => INTERVIEW_PATTERN,
242
242
  INVOICE_PATTERN: () => INVOICE_PATTERN,
243
+ InAppNotification: () => InAppNotification,
243
244
  InitiatorTypeEnum: () => InitiatorTypeEnum,
244
245
  Interview: () => Interview,
245
246
  InterviewInvite: () => InterviewInvite,
@@ -1346,7 +1347,7 @@ __decorateClass([
1346
1347
  var import_class_validator37 = require("class-validator");
1347
1348
 
1348
1349
  // src/entities/user.entity.ts
1349
- var import_typeorm67 = require("typeorm");
1350
+ var import_typeorm68 = require("typeorm");
1350
1351
 
1351
1352
  // src/entities/base.entity.ts
1352
1353
  var import_typeorm = require("typeorm");
@@ -5891,6 +5892,40 @@ FreelancerAssessmentRequest = __decorateClass([
5891
5892
  (0, import_typeorm66.Entity)({ name: "freelancer_assessment_requests" })
5892
5893
  ], FreelancerAssessmentRequest);
5893
5894
 
5895
+ // src/entities/in-app-notification.entity.ts
5896
+ var import_typeorm67 = require("typeorm");
5897
+ var InAppNotification = class extends BaseEntity {
5898
+ };
5899
+ __decorateClass([
5900
+ (0, import_typeorm67.Column)({ name: "user_id", type: "integer", nullable: true }),
5901
+ (0, import_typeorm67.Index)()
5902
+ ], InAppNotification.prototype, "userId", 2);
5903
+ __decorateClass([
5904
+ (0, import_typeorm67.ManyToOne)(() => User, (user) => user.inAppNotifications),
5905
+ (0, import_typeorm67.JoinColumn)({ name: "user_id" })
5906
+ ], InAppNotification.prototype, "user", 2);
5907
+ __decorateClass([
5908
+ (0, import_typeorm67.Column)({ name: "event", type: "varchar", nullable: true })
5909
+ ], InAppNotification.prototype, "event", 2);
5910
+ __decorateClass([
5911
+ (0, import_typeorm67.Column)({ name: "title", type: "varchar", nullable: true })
5912
+ ], InAppNotification.prototype, "title", 2);
5913
+ __decorateClass([
5914
+ (0, import_typeorm67.Column)({ name: "message", type: "varchar", nullable: true })
5915
+ ], InAppNotification.prototype, "message", 2);
5916
+ __decorateClass([
5917
+ (0, import_typeorm67.Column)({ name: "redirect_url", type: "varchar", nullable: true })
5918
+ ], InAppNotification.prototype, "redirectUrl", 2);
5919
+ __decorateClass([
5920
+ (0, import_typeorm67.Column)({ name: "is_read", type: "boolean", default: false })
5921
+ ], InAppNotification.prototype, "isRead", 2);
5922
+ __decorateClass([
5923
+ (0, import_typeorm67.Column)({ name: "meta_data", type: "jsonb", nullable: true })
5924
+ ], InAppNotification.prototype, "metaData", 2);
5925
+ InAppNotification = __decorateClass([
5926
+ (0, import_typeorm67.Entity)("in_app_notifications")
5927
+ ], InAppNotification);
5928
+
5894
5929
  // src/entities/user.entity.ts
5895
5930
  var AccountType2 = /* @__PURE__ */ ((AccountType4) => {
5896
5931
  AccountType4["SUPER_ADMIN"] = "SUPER_ADMIN";
@@ -5917,51 +5952,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
5917
5952
  var User = class extends BaseEntity {
5918
5953
  };
5919
5954
  __decorateClass([
5920
- (0, import_typeorm67.Column)({ name: "unique_id", type: "varchar", unique: true })
5955
+ (0, import_typeorm68.Column)({ name: "unique_id", type: "varchar", unique: true })
5921
5956
  ], User.prototype, "uniqueId", 2);
5922
5957
  __decorateClass([
5923
- (0, import_typeorm67.Column)({ name: "parent_id", type: "integer", nullable: true }),
5924
- (0, import_typeorm67.Index)()
5958
+ (0, import_typeorm68.Column)({ name: "parent_id", type: "integer", nullable: true }),
5959
+ (0, import_typeorm68.Index)()
5925
5960
  ], User.prototype, "parentId", 2);
5926
5961
  __decorateClass([
5927
- (0, import_typeorm67.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
5928
- (0, import_typeorm67.JoinColumn)({ name: "parent_id" })
5962
+ (0, import_typeorm68.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
5963
+ (0, import_typeorm68.JoinColumn)({ name: "parent_id" })
5929
5964
  ], User.prototype, "parent", 2);
5930
5965
  __decorateClass([
5931
- (0, import_typeorm67.OneToMany)(() => User, (user) => user.parent)
5966
+ (0, import_typeorm68.OneToMany)(() => User, (user) => user.parent)
5932
5967
  ], User.prototype, "children", 2);
5933
5968
  __decorateClass([
5934
- (0, import_typeorm67.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
5969
+ (0, import_typeorm68.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
5935
5970
  ], User.prototype, "username", 2);
5936
5971
  __decorateClass([
5937
- (0, import_typeorm67.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
5972
+ (0, import_typeorm68.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
5938
5973
  ], User.prototype, "firstName", 2);
5939
5974
  __decorateClass([
5940
- (0, import_typeorm67.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
5975
+ (0, import_typeorm68.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
5941
5976
  ], User.prototype, "lastName", 2);
5942
5977
  __decorateClass([
5943
- (0, import_typeorm67.Column)({ name: "date_of_birth", type: "date", nullable: true })
5978
+ (0, import_typeorm68.Column)({ name: "date_of_birth", type: "date", nullable: true })
5944
5979
  ], User.prototype, "dateOfBirth", 2);
5945
5980
  __decorateClass([
5946
- (0, import_typeorm67.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
5981
+ (0, import_typeorm68.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
5947
5982
  ], User.prototype, "gender", 2);
5948
5983
  __decorateClass([
5949
- (0, import_typeorm67.Column)({ name: "profile_picture_url", type: "text", nullable: true })
5984
+ (0, import_typeorm68.Column)({ name: "profile_picture_url", type: "text", nullable: true })
5950
5985
  ], User.prototype, "profilePictureUrl", 2);
5951
5986
  __decorateClass([
5952
- (0, import_typeorm67.Column)({ name: "email", type: "varchar", unique: true })
5987
+ (0, import_typeorm68.Column)({ name: "email", type: "varchar", unique: true })
5953
5988
  ], User.prototype, "email", 2);
5954
5989
  __decorateClass([
5955
- (0, import_typeorm67.Column)({ name: "mobile_code", type: "varchar", nullable: true })
5990
+ (0, import_typeorm68.Column)({ name: "mobile_code", type: "varchar", nullable: true })
5956
5991
  ], User.prototype, "mobileCode", 2);
5957
5992
  __decorateClass([
5958
- (0, import_typeorm67.Column)({ name: "mobile", type: "varchar", nullable: true })
5993
+ (0, import_typeorm68.Column)({ name: "mobile", type: "varchar", nullable: true })
5959
5994
  ], User.prototype, "mobile", 2);
5960
5995
  __decorateClass([
5961
- (0, import_typeorm67.Column)({ name: "password", type: "varchar", nullable: true })
5996
+ (0, import_typeorm68.Column)({ name: "password", type: "varchar", nullable: true })
5962
5997
  ], User.prototype, "password", 2);
5963
5998
  __decorateClass([
5964
- (0, import_typeorm67.Column)({
5999
+ (0, import_typeorm68.Column)({
5965
6000
  name: "account_type",
5966
6001
  type: "enum",
5967
6002
  enum: AccountType2,
@@ -5969,7 +6004,7 @@ __decorateClass([
5969
6004
  })
5970
6005
  ], User.prototype, "accountType", 2);
5971
6006
  __decorateClass([
5972
- (0, import_typeorm67.Column)({
6007
+ (0, import_typeorm68.Column)({
5973
6008
  name: "account_status",
5974
6009
  type: "enum",
5975
6010
  enum: AccountStatus,
@@ -5977,42 +6012,42 @@ __decorateClass([
5977
6012
  })
5978
6013
  ], User.prototype, "accountStatus", 2);
5979
6014
  __decorateClass([
5980
- (0, import_typeorm67.Column)({ name: "is_email_verified", type: "boolean", default: false })
6015
+ (0, import_typeorm68.Column)({ name: "is_email_verified", type: "boolean", default: false })
5981
6016
  ], User.prototype, "isEmailVerified", 2);
5982
6017
  __decorateClass([
5983
- (0, import_typeorm67.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
6018
+ (0, import_typeorm68.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
5984
6019
  ], User.prototype, "isMobileVerified", 2);
5985
6020
  __decorateClass([
5986
- (0, import_typeorm67.Column)({ name: "is_social", type: "boolean", default: false })
6021
+ (0, import_typeorm68.Column)({ name: "is_social", type: "boolean", default: false })
5987
6022
  ], User.prototype, "isSocial", 2);
5988
6023
  __decorateClass([
5989
- (0, import_typeorm67.Column)({
6024
+ (0, import_typeorm68.Column)({
5990
6025
  name: "last_login_at",
5991
6026
  type: "timestamp with time zone",
5992
6027
  nullable: true
5993
6028
  })
5994
6029
  ], User.prototype, "lastLoginAt", 2);
5995
6030
  __decorateClass([
5996
- (0, import_typeorm67.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
6031
+ (0, import_typeorm68.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
5997
6032
  ], User.prototype, "lastLoginIp", 2);
5998
6033
  __decorateClass([
5999
- (0, import_typeorm67.Column)({ name: "reset_token", type: "varchar", nullable: true })
6034
+ (0, import_typeorm68.Column)({ name: "reset_token", type: "varchar", nullable: true })
6000
6035
  ], User.prototype, "resetToken", 2);
6001
6036
  __decorateClass([
6002
- (0, import_typeorm67.Column)({
6037
+ (0, import_typeorm68.Column)({
6003
6038
  name: "reset_token_expire_at",
6004
6039
  type: "timestamp with time zone",
6005
6040
  nullable: true
6006
6041
  })
6007
6042
  ], User.prototype, "resetTokenExpireAt", 2);
6008
6043
  __decorateClass([
6009
- (0, import_typeorm67.Column)({ name: "set_password_token", type: "varchar", nullable: true })
6044
+ (0, import_typeorm68.Column)({ name: "set_password_token", type: "varchar", nullable: true })
6010
6045
  ], User.prototype, "setPasswordToken", 2);
6011
6046
  __decorateClass([
6012
- (0, import_typeorm67.OneToMany)(() => RefreshToken, (token) => token.user)
6047
+ (0, import_typeorm68.OneToMany)(() => RefreshToken, (token) => token.user)
6013
6048
  ], User.prototype, "refreshTokens", 2);
6014
6049
  __decorateClass([
6015
- (0, import_typeorm67.Column)({
6050
+ (0, import_typeorm68.Column)({
6016
6051
  name: "provider",
6017
6052
  type: "enum",
6018
6053
  enum: Provider,
@@ -6021,248 +6056,251 @@ __decorateClass([
6021
6056
  })
6022
6057
  ], User.prototype, "provider", 2);
6023
6058
  __decorateClass([
6024
- (0, import_typeorm67.Column)({ name: "provider_token", type: "varchar", nullable: true })
6059
+ (0, import_typeorm68.Column)({ name: "provider_token", type: "varchar", nullable: true })
6025
6060
  ], User.prototype, "providerToken", 2);
6026
6061
  __decorateClass([
6027
- (0, import_typeorm67.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
6062
+ (0, import_typeorm68.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
6028
6063
  ], User.prototype, "linkedInId", 2);
6029
6064
  __decorateClass([
6030
- (0, import_typeorm67.Column)({ name: "google_id", type: "varchar", nullable: true })
6065
+ (0, import_typeorm68.Column)({ name: "google_id", type: "varchar", nullable: true })
6031
6066
  ], User.prototype, "googleId", 2);
6032
6067
  __decorateClass([
6033
- (0, import_typeorm67.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
6068
+ (0, import_typeorm68.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
6034
6069
  ], User.prototype, "gitLabsId", 2);
6035
6070
  __decorateClass([
6036
- (0, import_typeorm67.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
6071
+ (0, import_typeorm68.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
6037
6072
  ], User.prototype, "onBoardedBy", 2);
6038
6073
  __decorateClass([
6039
- (0, import_typeorm67.OneToMany)(() => Otp, (otp) => otp.user)
6074
+ (0, import_typeorm68.OneToMany)(() => Otp, (otp) => otp.user)
6040
6075
  ], User.prototype, "otps", 2);
6041
6076
  __decorateClass([
6042
- (0, import_typeorm67.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
6077
+ (0, import_typeorm68.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
6043
6078
  ], User.prototype, "senseloafLogs", 2);
6044
6079
  __decorateClass([
6045
- (0, import_typeorm67.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
6080
+ (0, import_typeorm68.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
6046
6081
  ], User.prototype, "companyProfile", 2);
6047
6082
  __decorateClass([
6048
- (0, import_typeorm67.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
6083
+ (0, import_typeorm68.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
6049
6084
  ], User.prototype, "companySkills", 2);
6050
6085
  __decorateClass([
6051
- (0, import_typeorm67.OneToMany)(
6086
+ (0, import_typeorm68.OneToMany)(
6052
6087
  () => CompanyMemberRole,
6053
6088
  (companyMemberRole) => companyMemberRole.user
6054
6089
  )
6055
6090
  ], User.prototype, "companyMemberRoles", 2);
6056
6091
  __decorateClass([
6057
- (0, import_typeorm67.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
6092
+ (0, import_typeorm68.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
6058
6093
  ], User.prototype, "companyAiInterview", 2);
6059
6094
  __decorateClass([
6060
- (0, import_typeorm67.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
6095
+ (0, import_typeorm68.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
6061
6096
  ], User.prototype, "clientF2FInterviews", 2);
6062
6097
  __decorateClass([
6063
- (0, import_typeorm67.OneToOne)(
6098
+ (0, import_typeorm68.OneToOne)(
6064
6099
  () => FreelancerProfile,
6065
6100
  (freelancerProfile) => freelancerProfile.user
6066
6101
  )
6067
6102
  ], User.prototype, "freelancerProfile", 2);
6068
6103
  __decorateClass([
6069
- (0, import_typeorm67.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
6104
+ (0, import_typeorm68.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
6070
6105
  ], User.prototype, "freelancerResume", 2);
6071
6106
  __decorateClass([
6072
- (0, import_typeorm67.OneToMany)(
6107
+ (0, import_typeorm68.OneToMany)(
6073
6108
  () => FreelancerAssessmentRequest,
6074
6109
  (freelancerAssessmentRequest) => freelancerAssessmentRequest.freelancer
6075
6110
  )
6076
6111
  ], User.prototype, "freelancerAssessmentRequests", 2);
6077
6112
  __decorateClass([
6078
- (0, import_typeorm67.OneToMany)(
6113
+ (0, import_typeorm68.OneToMany)(
6079
6114
  () => FreelancerAssessmentRequest,
6080
6115
  (freelancerAssessment) => freelancerAssessment.approvedBy
6081
6116
  )
6082
6117
  ], User.prototype, "assessmentRequests", 2);
6083
6118
  __decorateClass([
6084
- (0, import_typeorm67.OneToMany)(
6119
+ (0, import_typeorm68.OneToMany)(
6085
6120
  () => FreelancerAssessment,
6086
6121
  (freelancerAssessment) => freelancerAssessment.user
6087
6122
  )
6088
6123
  ], User.prototype, "assessments", 2);
6089
6124
  __decorateClass([
6090
- (0, import_typeorm67.OneToMany)(
6125
+ (0, import_typeorm68.OneToMany)(
6091
6126
  () => AssessmentAnswer,
6092
6127
  (assessmentAnswer) => assessmentAnswer.user
6093
6128
  )
6094
6129
  ], User.prototype, "assessmentAnswers", 2);
6095
6130
  __decorateClass([
6096
- (0, import_typeorm67.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
6131
+ (0, import_typeorm68.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
6097
6132
  ], User.prototype, "freelancerSkills", 2);
6098
6133
  __decorateClass([
6099
- (0, import_typeorm67.OneToMany)(
6134
+ (0, import_typeorm68.OneToMany)(
6100
6135
  () => FreelancerExperience,
6101
6136
  (freelancerExperience) => freelancerExperience.user
6102
6137
  )
6103
6138
  ], User.prototype, "freelancerExperience", 2);
6104
6139
  __decorateClass([
6105
- (0, import_typeorm67.OneToMany)(
6140
+ (0, import_typeorm68.OneToMany)(
6106
6141
  () => FreelancerEducation,
6107
6142
  (freelancerEducation) => freelancerEducation.user
6108
6143
  )
6109
6144
  ], User.prototype, "freelancerEducation", 2);
6110
6145
  __decorateClass([
6111
- (0, import_typeorm67.OneToMany)(
6146
+ (0, import_typeorm68.OneToMany)(
6112
6147
  () => FreelancerProject,
6113
6148
  (freelancerProject) => freelancerProject.user
6114
6149
  )
6115
6150
  ], User.prototype, "freelancerProject", 2);
6116
6151
  __decorateClass([
6117
- (0, import_typeorm67.OneToMany)(
6152
+ (0, import_typeorm68.OneToMany)(
6118
6153
  () => FreelancerCaseStudy,
6119
6154
  (freelancerCaseStudy) => freelancerCaseStudy.user
6120
6155
  )
6121
6156
  ], User.prototype, "freelancerCaseStudy", 2);
6122
6157
  __decorateClass([
6123
- (0, import_typeorm67.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
6158
+ (0, import_typeorm68.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
6124
6159
  ], User.prototype, "freelancerTool", 2);
6125
6160
  __decorateClass([
6126
- (0, import_typeorm67.OneToMany)(
6161
+ (0, import_typeorm68.OneToMany)(
6127
6162
  () => FreelancerFramework,
6128
6163
  (freelancerFramework) => freelancerFramework.user
6129
6164
  )
6130
6165
  ], User.prototype, "freelancerFramework", 2);
6131
6166
  __decorateClass([
6132
- (0, import_typeorm67.OneToOne)(
6167
+ (0, import_typeorm68.OneToOne)(
6133
6168
  () => FreelancerDeclaration,
6134
6169
  (freelancerDeclaration) => freelancerDeclaration.user
6135
6170
  )
6136
6171
  ], User.prototype, "freelancerDeclaration", 2);
6137
6172
  __decorateClass([
6138
- (0, import_typeorm67.OneToMany)(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
6173
+ (0, import_typeorm68.OneToMany)(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
6139
6174
  ], User.prototype, "freelancerMcq", 2);
6140
6175
  __decorateClass([
6141
- (0, import_typeorm67.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
6176
+ (0, import_typeorm68.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
6142
6177
  ], User.prototype, "freelancerAiInterview", 2);
6143
6178
  __decorateClass([
6144
- (0, import_typeorm67.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
6179
+ (0, import_typeorm68.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
6145
6180
  ], User.prototype, "freelancerF2FInterviews", 2);
6146
6181
  __decorateClass([
6147
- (0, import_typeorm67.OneToMany)(
6182
+ (0, import_typeorm68.OneToMany)(
6148
6183
  () => F2fInterviewRescheduleRequest,
6149
6184
  (f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
6150
6185
  )
6151
6186
  ], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
6152
6187
  __decorateClass([
6153
- (0, import_typeorm67.OneToMany)(
6188
+ (0, import_typeorm68.OneToMany)(
6154
6189
  () => AiInterviewRescheduleRequest,
6155
6190
  (aiInterviewRescheduleRequest) => aiInterviewRescheduleRequest.candidate
6156
6191
  )
6157
6192
  ], User.prototype, "freelancerAiInterviewRescheduleRequests", 2);
6158
6193
  __decorateClass([
6159
- (0, import_typeorm67.OneToMany)(
6194
+ (0, import_typeorm68.OneToMany)(
6160
6195
  () => AiInterviewRescheduleRequest,
6161
6196
  (aiInterviewRescheduleRequest) => aiInterviewRescheduleRequest.client
6162
6197
  )
6163
6198
  ], User.prototype, "clientAiInterviewRescheduleRequests", 2);
6164
6199
  __decorateClass([
6165
- (0, import_typeorm67.OneToMany)(() => Job, (job) => job.user)
6200
+ (0, import_typeorm68.OneToMany)(() => Job, (job) => job.user)
6166
6201
  ], User.prototype, "jobs", 2);
6167
6202
  __decorateClass([
6168
- (0, import_typeorm67.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
6203
+ (0, import_typeorm68.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
6169
6204
  ], User.prototype, "jobApplications", 2);
6170
6205
  __decorateClass([
6171
- (0, import_typeorm67.OneToMany)(() => Interview, (interview) => interview.user)
6206
+ (0, import_typeorm68.OneToMany)(() => Interview, (interview) => interview.user)
6172
6207
  ], User.prototype, "interviews", 2);
6173
6208
  __decorateClass([
6174
- (0, import_typeorm67.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
6209
+ (0, import_typeorm68.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
6175
6210
  ], User.prototype, "bankDetail", 2);
6176
6211
  __decorateClass([
6177
- (0, import_typeorm67.OneToMany)(
6212
+ (0, import_typeorm68.OneToMany)(
6178
6213
  () => SystemPreference,
6179
6214
  (systemPreference) => systemPreference.user
6180
6215
  )
6181
6216
  ], User.prototype, "systemPreference", 2);
6182
6217
  __decorateClass([
6183
- (0, import_typeorm67.OneToMany)(() => Rating, (rating) => rating.reviewer)
6218
+ (0, import_typeorm68.OneToMany)(() => Rating, (rating) => rating.reviewer)
6184
6219
  ], User.prototype, "givenRatings", 2);
6185
6220
  __decorateClass([
6186
- (0, import_typeorm67.OneToMany)(() => Rating, (rating) => rating.reviewee)
6221
+ (0, import_typeorm68.OneToMany)(() => Rating, (rating) => rating.reviewee)
6187
6222
  ], User.prototype, "receivedRatings", 2);
6188
6223
  __decorateClass([
6189
- (0, import_typeorm67.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
6224
+ (0, import_typeorm68.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
6190
6225
  ], User.prototype, "adminUserRoles", 2);
6191
6226
  __decorateClass([
6192
- (0, import_typeorm67.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.clientId, {
6227
+ (0, import_typeorm68.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.clientId, {
6193
6228
  cascade: true
6194
6229
  })
6195
6230
  ], User.prototype, "clientContractSummaries", 2);
6196
6231
  __decorateClass([
6197
- (0, import_typeorm67.OneToMany)(() => Contract, (contract) => contract.client)
6232
+ (0, import_typeorm68.OneToMany)(() => Contract, (contract) => contract.client)
6198
6233
  ], User.prototype, "clientContracts", 2);
6199
6234
  __decorateClass([
6200
- (0, import_typeorm67.OneToMany)(() => Hiring, (hiring) => hiring.client)
6235
+ (0, import_typeorm68.OneToMany)(() => Hiring, (hiring) => hiring.client)
6201
6236
  ], User.prototype, "clientHirings", 2);
6202
6237
  __decorateClass([
6203
- (0, import_typeorm67.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
6238
+ (0, import_typeorm68.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
6204
6239
  ], User.prototype, "clientEscrowWallets", 2);
6205
6240
  __decorateClass([
6206
- (0, import_typeorm67.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.freelancerId, {
6241
+ (0, import_typeorm68.OneToMany)(() => ContractSummary, (contractSummary) => contractSummary.freelancerId, {
6207
6242
  cascade: true
6208
6243
  })
6209
6244
  ], User.prototype, "freelancerContractSummaries", 2);
6210
6245
  __decorateClass([
6211
- (0, import_typeorm67.OneToMany)(() => Contract, (contract) => contract.freelancer)
6246
+ (0, import_typeorm68.OneToMany)(() => Contract, (contract) => contract.freelancer)
6212
6247
  ], User.prototype, "freelancerContracts", 2);
6213
6248
  __decorateClass([
6214
- (0, import_typeorm67.OneToMany)(() => Hiring, (hiring) => hiring.freelancer)
6249
+ (0, import_typeorm68.OneToMany)(() => Hiring, (hiring) => hiring.freelancer)
6215
6250
  ], User.prototype, "freelancerHirings", 2);
6216
6251
  __decorateClass([
6217
- (0, import_typeorm67.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
6252
+ (0, import_typeorm68.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
6218
6253
  ], User.prototype, "freelancerEscrowWallets", 2);
6219
6254
  __decorateClass([
6220
- (0, import_typeorm67.OneToOne)(() => Signature, (signature) => signature.user)
6255
+ (0, import_typeorm68.OneToOne)(() => Signature, (signature) => signature.user)
6221
6256
  ], User.prototype, "signatures", 2);
6222
6257
  __decorateClass([
6223
- (0, import_typeorm67.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
6258
+ (0, import_typeorm68.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
6224
6259
  ], User.prototype, "clientTimesheets", 2);
6225
6260
  __decorateClass([
6226
- (0, import_typeorm67.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
6261
+ (0, import_typeorm68.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
6227
6262
  ], User.prototype, "freelancerTimesheets", 2);
6228
6263
  __decorateClass([
6229
- (0, import_typeorm67.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
6264
+ (0, import_typeorm68.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
6230
6265
  ], User.prototype, "clientTimesheetLine", 2);
6231
6266
  __decorateClass([
6232
- (0, import_typeorm67.OneToMany)(() => Invoice, (invoice) => invoice.client)
6267
+ (0, import_typeorm68.OneToMany)(() => Invoice, (invoice) => invoice.client)
6233
6268
  ], User.prototype, "clientInvoice", 2);
6234
6269
  __decorateClass([
6235
- (0, import_typeorm67.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
6270
+ (0, import_typeorm68.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
6236
6271
  ], User.prototype, "freelancerTimesheetLine", 2);
6237
6272
  __decorateClass([
6238
- (0, import_typeorm67.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
6273
+ (0, import_typeorm68.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
6239
6274
  ], User.prototype, "freelancerInvoice", 2);
6240
6275
  __decorateClass([
6241
- (0, import_typeorm67.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
6276
+ (0, import_typeorm68.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
6242
6277
  ], User.prototype, "clientPreferencesGiven", 2);
6243
6278
  __decorateClass([
6244
- (0, import_typeorm67.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
6279
+ (0, import_typeorm68.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
6245
6280
  ], User.prototype, "clientPreferencesReceived", 2);
6246
6281
  __decorateClass([
6247
- (0, import_typeorm67.OneToMany)(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
6282
+ (0, import_typeorm68.OneToMany)(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
6248
6283
  ], User.prototype, "initiatedDisputes", 2);
6249
6284
  __decorateClass([
6250
- (0, import_typeorm67.OneToMany)(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
6285
+ (0, import_typeorm68.OneToMany)(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
6251
6286
  ], User.prototype, "respondentDisputes", 2);
6252
6287
  __decorateClass([
6253
- (0, import_typeorm67.OneToOne)(() => Wallet, (wallet) => wallet.user)
6288
+ (0, import_typeorm68.OneToOne)(() => Wallet, (wallet) => wallet.user)
6254
6289
  ], User.prototype, "wallet", 2);
6255
6290
  __decorateClass([
6256
- (0, import_typeorm67.OneToMany)(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
6291
+ (0, import_typeorm68.OneToMany)(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
6257
6292
  ], User.prototype, "stripeTransactions", 2);
6258
6293
  __decorateClass([
6259
- (0, import_typeorm67.OneToMany)(() => Dispute, (dispute) => dispute.client)
6294
+ (0, import_typeorm68.OneToMany)(() => Dispute, (dispute) => dispute.client)
6260
6295
  ], User.prototype, "clientDisputes", 2);
6261
6296
  __decorateClass([
6262
- (0, import_typeorm67.OneToMany)(() => Dispute, (dispute) => dispute.freelancer)
6297
+ (0, import_typeorm68.OneToMany)(() => Dispute, (dispute) => dispute.freelancer)
6263
6298
  ], User.prototype, "freelancerDisputes", 2);
6299
+ __decorateClass([
6300
+ (0, import_typeorm68.OneToMany)(() => InAppNotification, (inAppNotification) => inAppNotification.user)
6301
+ ], User.prototype, "inAppNotifications", 2);
6264
6302
  User = __decorateClass([
6265
- (0, import_typeorm67.Entity)("users")
6303
+ (0, import_typeorm68.Entity)("users")
6266
6304
  ], User);
6267
6305
 
6268
6306
  // src/modules/user/subadmin/dto/update-subadmin-account-status.dto.ts
@@ -12476,11 +12514,11 @@ var ChatRMQAdapter = (mode = "microservice") => {
12476
12514
  };
12477
12515
 
12478
12516
  // src/entities/sequence-generator.entity.ts
12479
- var import_typeorm68 = require("typeorm");
12517
+ var import_typeorm69 = require("typeorm");
12480
12518
  var SequenceGenerator = class extends BaseEntity {
12481
12519
  };
12482
12520
  __decorateClass([
12483
- (0, import_typeorm68.Column)({
12521
+ (0, import_typeorm69.Column)({
12484
12522
  name: "module",
12485
12523
  type: "varchar",
12486
12524
  length: 50,
@@ -12489,7 +12527,7 @@ __decorateClass([
12489
12527
  })
12490
12528
  ], SequenceGenerator.prototype, "module", 2);
12491
12529
  __decorateClass([
12492
- (0, import_typeorm68.Column)({
12530
+ (0, import_typeorm69.Column)({
12493
12531
  name: "prefix",
12494
12532
  type: "varchar",
12495
12533
  length: 10,
@@ -12498,7 +12536,7 @@ __decorateClass([
12498
12536
  })
12499
12537
  ], SequenceGenerator.prototype, "prefix", 2);
12500
12538
  __decorateClass([
12501
- (0, import_typeorm68.Column)({
12539
+ (0, import_typeorm69.Column)({
12502
12540
  name: "last_sequence",
12503
12541
  type: "int",
12504
12542
  nullable: false,
@@ -12506,7 +12544,7 @@ __decorateClass([
12506
12544
  })
12507
12545
  ], SequenceGenerator.prototype, "lastSequence", 2);
12508
12546
  __decorateClass([
12509
- (0, import_typeorm68.Column)({
12547
+ (0, import_typeorm69.Column)({
12510
12548
  name: "year",
12511
12549
  type: "int",
12512
12550
  nullable: true,
@@ -12514,11 +12552,11 @@ __decorateClass([
12514
12552
  })
12515
12553
  ], SequenceGenerator.prototype, "year", 2);
12516
12554
  SequenceGenerator = __decorateClass([
12517
- (0, import_typeorm68.Entity)("sequence_generators")
12555
+ (0, import_typeorm69.Entity)("sequence_generators")
12518
12556
  ], SequenceGenerator);
12519
12557
 
12520
12558
  // src/entities/question.entity.ts
12521
- var import_typeorm69 = require("typeorm");
12559
+ var import_typeorm70 = require("typeorm");
12522
12560
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
12523
12561
  QuestionFor2["CLIENT"] = "CLIENT";
12524
12562
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -12527,16 +12565,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
12527
12565
  var Question = class extends BaseEntity {
12528
12566
  };
12529
12567
  __decorateClass([
12530
- (0, import_typeorm69.Column)({ name: "question", type: "varchar" })
12568
+ (0, import_typeorm70.Column)({ name: "question", type: "varchar" })
12531
12569
  ], Question.prototype, "question", 2);
12532
12570
  __decorateClass([
12533
- (0, import_typeorm69.Column)({ name: "hint", type: "varchar", nullable: true })
12571
+ (0, import_typeorm70.Column)({ name: "hint", type: "varchar", nullable: true })
12534
12572
  ], Question.prototype, "hint", 2);
12535
12573
  __decorateClass([
12536
- (0, import_typeorm69.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12574
+ (0, import_typeorm70.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12537
12575
  ], Question.prototype, "slug", 2);
12538
12576
  __decorateClass([
12539
- (0, import_typeorm69.Column)({
12577
+ (0, import_typeorm70.Column)({
12540
12578
  name: "question_for",
12541
12579
  type: "enum",
12542
12580
  enum: QuestionFor,
@@ -12544,45 +12582,45 @@ __decorateClass([
12544
12582
  })
12545
12583
  ], Question.prototype, "questionFor", 2);
12546
12584
  __decorateClass([
12547
- (0, import_typeorm69.Column)({ name: "type", type: "varchar", nullable: true })
12585
+ (0, import_typeorm70.Column)({ name: "type", type: "varchar", nullable: true })
12548
12586
  ], Question.prototype, "type", 2);
12549
12587
  __decorateClass([
12550
- (0, import_typeorm69.Column)({ name: "options", type: "jsonb", nullable: true })
12588
+ (0, import_typeorm70.Column)({ name: "options", type: "jsonb", nullable: true })
12551
12589
  ], Question.prototype, "options", 2);
12552
12590
  __decorateClass([
12553
- (0, import_typeorm69.Column)({ name: "is_active", type: "boolean", default: false })
12591
+ (0, import_typeorm70.Column)({ name: "is_active", type: "boolean", default: false })
12554
12592
  ], Question.prototype, "isActive", 2);
12555
12593
  Question = __decorateClass([
12556
- (0, import_typeorm69.Entity)("questions")
12594
+ (0, import_typeorm70.Entity)("questions")
12557
12595
  ], Question);
12558
12596
 
12559
12597
  // src/entities/skill.entity.ts
12560
- var import_typeorm70 = require("typeorm");
12598
+ var import_typeorm71 = require("typeorm");
12561
12599
  var Skill = class extends BaseEntity {
12562
12600
  };
12563
12601
  __decorateClass([
12564
- (0, import_typeorm70.Column)({ name: "name", type: "varchar", nullable: true })
12602
+ (0, import_typeorm71.Column)({ name: "name", type: "varchar", nullable: true })
12565
12603
  ], Skill.prototype, "name", 2);
12566
12604
  __decorateClass([
12567
- (0, import_typeorm70.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12605
+ (0, import_typeorm71.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12568
12606
  ], Skill.prototype, "slug", 2);
12569
12607
  __decorateClass([
12570
- (0, import_typeorm70.Column)({ name: "is_active", type: "boolean", default: false })
12608
+ (0, import_typeorm71.Column)({ name: "is_active", type: "boolean", default: false })
12571
12609
  ], Skill.prototype, "isActive", 2);
12572
12610
  Skill = __decorateClass([
12573
- (0, import_typeorm70.Entity)("skills")
12611
+ (0, import_typeorm71.Entity)("skills")
12574
12612
  ], Skill);
12575
12613
 
12576
12614
  // src/entities/skill-catalog.entity.ts
12577
- var import_typeorm71 = require("typeorm");
12615
+ var import_typeorm72 = require("typeorm");
12578
12616
  var SkillCatalog = class extends BaseEntity {
12579
12617
  };
12580
12618
  __decorateClass([
12581
- (0, import_typeorm71.Column)({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
12582
- (0, import_typeorm71.Index)()
12619
+ (0, import_typeorm72.Column)({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
12620
+ (0, import_typeorm72.Index)()
12583
12621
  ], SkillCatalog.prototype, "canonicalName", 2);
12584
12622
  __decorateClass([
12585
- (0, import_typeorm71.Column)({
12623
+ (0, import_typeorm72.Column)({
12586
12624
  name: "aliases",
12587
12625
  type: "text",
12588
12626
  array: true,
@@ -12590,20 +12628,20 @@ __decorateClass([
12590
12628
  })
12591
12629
  ], SkillCatalog.prototype, "aliases", 2);
12592
12630
  __decorateClass([
12593
- (0, import_typeorm71.Column)({
12631
+ (0, import_typeorm72.Column)({
12594
12632
  name: "variations",
12595
12633
  type: "jsonb",
12596
12634
  default: "{}"
12597
12635
  })
12598
12636
  ], SkillCatalog.prototype, "variations", 2);
12599
12637
  __decorateClass([
12600
- (0, import_typeorm71.Column)({ name: "category", type: "varchar", length: 50, nullable: true })
12638
+ (0, import_typeorm72.Column)({ name: "category", type: "varchar", length: 50, nullable: true })
12601
12639
  ], SkillCatalog.prototype, "category", 2);
12602
12640
  __decorateClass([
12603
- (0, import_typeorm71.Column)({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
12641
+ (0, import_typeorm72.Column)({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
12604
12642
  ], SkillCatalog.prototype, "parentSkill", 2);
12605
12643
  __decorateClass([
12606
- (0, import_typeorm71.Column)({
12644
+ (0, import_typeorm72.Column)({
12607
12645
  name: "related_skills",
12608
12646
  type: "text",
12609
12647
  array: true,
@@ -12611,111 +12649,111 @@ __decorateClass([
12611
12649
  })
12612
12650
  ], SkillCatalog.prototype, "relatedSkills", 2);
12613
12651
  __decorateClass([
12614
- (0, import_typeorm71.Column)({ name: "usage_count", type: "integer", default: 0 }),
12615
- (0, import_typeorm71.Index)()
12652
+ (0, import_typeorm72.Column)({ name: "usage_count", type: "integer", default: 0 }),
12653
+ (0, import_typeorm72.Index)()
12616
12654
  ], SkillCatalog.prototype, "usageCount", 2);
12617
12655
  __decorateClass([
12618
- (0, import_typeorm71.Column)({ name: "is_verified", type: "boolean", default: false })
12656
+ (0, import_typeorm72.Column)({ name: "is_verified", type: "boolean", default: false })
12619
12657
  ], SkillCatalog.prototype, "isVerified", 2);
12620
12658
  __decorateClass([
12621
- (0, import_typeorm71.Column)({ name: "first_seen_date", type: "date" })
12659
+ (0, import_typeorm72.Column)({ name: "first_seen_date", type: "date" })
12622
12660
  ], SkillCatalog.prototype, "firstSeenDate", 2);
12623
12661
  __decorateClass([
12624
- (0, import_typeorm71.Column)({ name: "last_updated_date", type: "date" })
12662
+ (0, import_typeorm72.Column)({ name: "last_updated_date", type: "date" })
12625
12663
  ], SkillCatalog.prototype, "lastUpdatedDate", 2);
12626
12664
  __decorateClass([
12627
- (0, import_typeorm71.Column)({
12665
+ (0, import_typeorm72.Column)({
12628
12666
  name: "search_vector",
12629
12667
  type: "tsvector",
12630
12668
  nullable: true
12631
12669
  })
12632
12670
  ], SkillCatalog.prototype, "searchVector", 2);
12633
12671
  SkillCatalog = __decorateClass([
12634
- (0, import_typeorm71.Entity)("skill_catalogs")
12672
+ (0, import_typeorm72.Entity)("skill_catalogs")
12635
12673
  ], SkillCatalog);
12636
12674
 
12637
12675
  // src/entities/job-role.entity.ts
12638
- var import_typeorm72 = require("typeorm");
12676
+ var import_typeorm73 = require("typeorm");
12639
12677
  var JobRoles = class extends BaseEntity {
12640
12678
  };
12641
12679
  __decorateClass([
12642
- (0, import_typeorm72.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12680
+ (0, import_typeorm73.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12643
12681
  ], JobRoles.prototype, "slug", 2);
12644
12682
  __decorateClass([
12645
- (0, import_typeorm72.Column)({ name: "name", type: "varchar", nullable: true })
12683
+ (0, import_typeorm73.Column)({ name: "name", type: "varchar", nullable: true })
12646
12684
  ], JobRoles.prototype, "name", 2);
12647
12685
  __decorateClass([
12648
- (0, import_typeorm72.Column)({ name: "is_active", type: "boolean", default: true })
12686
+ (0, import_typeorm73.Column)({ name: "is_active", type: "boolean", default: true })
12649
12687
  ], JobRoles.prototype, "isActive", 2);
12650
12688
  JobRoles = __decorateClass([
12651
- (0, import_typeorm72.Entity)("job_roles")
12689
+ (0, import_typeorm73.Entity)("job_roles")
12652
12690
  ], JobRoles);
12653
12691
 
12654
12692
  // src/entities/plan.entity.ts
12655
- var import_typeorm74 = require("typeorm");
12693
+ var import_typeorm75 = require("typeorm");
12656
12694
 
12657
12695
  // src/entities/feature.entity.ts
12658
- var import_typeorm73 = require("typeorm");
12696
+ var import_typeorm74 = require("typeorm");
12659
12697
  var Feature = class extends BaseEntity {
12660
12698
  };
12661
12699
  __decorateClass([
12662
- (0, import_typeorm73.Column)({ name: "name", type: "varchar", unique: true })
12700
+ (0, import_typeorm74.Column)({ name: "name", type: "varchar", unique: true })
12663
12701
  ], Feature.prototype, "name", 2);
12664
12702
  __decorateClass([
12665
- (0, import_typeorm73.ManyToMany)(() => Plan, (plan) => plan.features)
12703
+ (0, import_typeorm74.ManyToMany)(() => Plan, (plan) => plan.features)
12666
12704
  ], Feature.prototype, "plans", 2);
12667
12705
  Feature = __decorateClass([
12668
- (0, import_typeorm73.Entity)("features")
12706
+ (0, import_typeorm74.Entity)("features")
12669
12707
  ], Feature);
12670
12708
 
12671
12709
  // src/entities/plan.entity.ts
12672
12710
  var Plan = class extends BaseEntity {
12673
12711
  };
12674
12712
  __decorateClass([
12675
- (0, import_typeorm74.Column)({ name: "name", type: "varchar", unique: true })
12713
+ (0, import_typeorm75.Column)({ name: "name", type: "varchar", unique: true })
12676
12714
  ], Plan.prototype, "name", 2);
12677
12715
  __decorateClass([
12678
- (0, import_typeorm74.Column)({ name: "description", type: "varchar", nullable: true })
12716
+ (0, import_typeorm75.Column)({ name: "description", type: "varchar", nullable: true })
12679
12717
  ], Plan.prototype, "description", 2);
12680
12718
  __decorateClass([
12681
- (0, import_typeorm74.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
12719
+ (0, import_typeorm75.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
12682
12720
  ], Plan.prototype, "price", 2);
12683
12721
  __decorateClass([
12684
- (0, import_typeorm74.Column)({ name: "billing_period", type: "varchar" })
12722
+ (0, import_typeorm75.Column)({ name: "billing_period", type: "varchar" })
12685
12723
  ], Plan.prototype, "billingPeriod", 2);
12686
12724
  __decorateClass([
12687
- (0, import_typeorm74.Column)({ name: "is_current", type: "boolean", default: false })
12725
+ (0, import_typeorm75.Column)({ name: "is_current", type: "boolean", default: false })
12688
12726
  ], Plan.prototype, "isCurrent", 2);
12689
12727
  __decorateClass([
12690
- (0, import_typeorm74.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
12691
- (0, import_typeorm74.JoinTable)()
12728
+ (0, import_typeorm75.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
12729
+ (0, import_typeorm75.JoinTable)()
12692
12730
  ], Plan.prototype, "features", 2);
12693
12731
  Plan = __decorateClass([
12694
- (0, import_typeorm74.Entity)("plans")
12732
+ (0, import_typeorm75.Entity)("plans")
12695
12733
  ], Plan);
12696
12734
 
12697
12735
  // src/entities/cms.entity.ts
12698
- var import_typeorm75 = require("typeorm");
12736
+ var import_typeorm76 = require("typeorm");
12699
12737
  var Cms = class extends BaseEntity {
12700
12738
  };
12701
12739
  __decorateClass([
12702
- (0, import_typeorm75.Column)({ name: "title", type: "varchar", nullable: true })
12740
+ (0, import_typeorm76.Column)({ name: "title", type: "varchar", nullable: true })
12703
12741
  ], Cms.prototype, "title", 2);
12704
12742
  __decorateClass([
12705
- (0, import_typeorm75.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12743
+ (0, import_typeorm76.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
12706
12744
  ], Cms.prototype, "slug", 2);
12707
12745
  __decorateClass([
12708
- (0, import_typeorm75.Column)({ name: "content", type: "varchar", nullable: true })
12746
+ (0, import_typeorm76.Column)({ name: "content", type: "varchar", nullable: true })
12709
12747
  ], Cms.prototype, "content", 2);
12710
12748
  __decorateClass([
12711
- (0, import_typeorm75.Column)({ name: "is_active", type: "boolean", default: true })
12749
+ (0, import_typeorm76.Column)({ name: "is_active", type: "boolean", default: true })
12712
12750
  ], Cms.prototype, "isActive", 2);
12713
12751
  Cms = __decorateClass([
12714
- (0, import_typeorm75.Entity)("cms")
12752
+ (0, import_typeorm76.Entity)("cms")
12715
12753
  ], Cms);
12716
12754
 
12717
12755
  // src/entities/lead.entity.ts
12718
- var import_typeorm76 = require("typeorm");
12756
+ var import_typeorm77 = require("typeorm");
12719
12757
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
12720
12758
  CategoryEmum2["BUSINESS"] = "BUSINESS";
12721
12759
  CategoryEmum2["FREELANCER"] = "FREELANCER";
@@ -12724,22 +12762,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
12724
12762
  var Lead = class extends BaseEntity {
12725
12763
  };
12726
12764
  __decorateClass([
12727
- (0, import_typeorm76.Column)({ name: "name", type: "varchar", nullable: true })
12765
+ (0, import_typeorm77.Column)({ name: "name", type: "varchar", nullable: true })
12728
12766
  ], Lead.prototype, "name", 2);
12729
12767
  __decorateClass([
12730
- (0, import_typeorm76.Column)({ name: "mobile_code", type: "varchar", nullable: true })
12768
+ (0, import_typeorm77.Column)({ name: "mobile_code", type: "varchar", nullable: true })
12731
12769
  ], Lead.prototype, "mobileCode", 2);
12732
12770
  __decorateClass([
12733
- (0, import_typeorm76.Column)({ name: "mobile", type: "varchar", nullable: true })
12771
+ (0, import_typeorm77.Column)({ name: "mobile", type: "varchar", nullable: true })
12734
12772
  ], Lead.prototype, "mobile", 2);
12735
12773
  __decorateClass([
12736
- (0, import_typeorm76.Column)({ name: "email", type: "varchar", nullable: true })
12774
+ (0, import_typeorm77.Column)({ name: "email", type: "varchar", nullable: true })
12737
12775
  ], Lead.prototype, "email", 2);
12738
12776
  __decorateClass([
12739
- (0, import_typeorm76.Column)({ name: "description", type: "varchar", nullable: true })
12777
+ (0, import_typeorm77.Column)({ name: "description", type: "varchar", nullable: true })
12740
12778
  ], Lead.prototype, "description", 2);
12741
12779
  __decorateClass([
12742
- (0, import_typeorm76.Column)({
12780
+ (0, import_typeorm77.Column)({
12743
12781
  name: "category",
12744
12782
  type: "enum",
12745
12783
  enum: CategoryEmum,
@@ -12747,129 +12785,129 @@ __decorateClass([
12747
12785
  })
12748
12786
  ], Lead.prototype, "category", 2);
12749
12787
  Lead = __decorateClass([
12750
- (0, import_typeorm76.Entity)("leads")
12788
+ (0, import_typeorm77.Entity)("leads")
12751
12789
  ], Lead);
12752
12790
 
12753
12791
  // src/entities/job-freelancer-recommendation.entity.ts
12754
- var import_typeorm77 = require("typeorm");
12792
+ var import_typeorm78 = require("typeorm");
12755
12793
  var JobFreelancerRecommendation = class {
12756
12794
  };
12757
12795
  __decorateClass([
12758
- (0, import_typeorm77.ViewColumn)({ name: "job_id" })
12796
+ (0, import_typeorm78.ViewColumn)({ name: "job_id" })
12759
12797
  ], JobFreelancerRecommendation.prototype, "jobId", 2);
12760
12798
  __decorateClass([
12761
- (0, import_typeorm77.ViewColumn)({ name: "job_uuid" })
12799
+ (0, import_typeorm78.ViewColumn)({ name: "job_uuid" })
12762
12800
  ], JobFreelancerRecommendation.prototype, "jobUuid", 2);
12763
12801
  __decorateClass([
12764
- (0, import_typeorm77.ViewColumn)({ name: "job_unique_id" })
12802
+ (0, import_typeorm78.ViewColumn)({ name: "job_unique_id" })
12765
12803
  ], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
12766
12804
  __decorateClass([
12767
- (0, import_typeorm77.ViewColumn)({ name: "job_role" })
12805
+ (0, import_typeorm78.ViewColumn)({ name: "job_role" })
12768
12806
  ], JobFreelancerRecommendation.prototype, "jobRole", 2);
12769
12807
  __decorateClass([
12770
- (0, import_typeorm77.ViewColumn)({ name: "job_openings" })
12808
+ (0, import_typeorm78.ViewColumn)({ name: "job_openings" })
12771
12809
  ], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
12772
12810
  __decorateClass([
12773
- (0, import_typeorm77.ViewColumn)({ name: "job_location" })
12811
+ (0, import_typeorm78.ViewColumn)({ name: "job_location" })
12774
12812
  ], JobFreelancerRecommendation.prototype, "jobLocation", 2);
12775
12813
  __decorateClass([
12776
- (0, import_typeorm77.ViewColumn)({ name: "job_currency" })
12814
+ (0, import_typeorm78.ViewColumn)({ name: "job_currency" })
12777
12815
  ], JobFreelancerRecommendation.prototype, "jobCurrency", 2);
12778
12816
  __decorateClass([
12779
- (0, import_typeorm77.ViewColumn)({ name: "job_salary_from" })
12817
+ (0, import_typeorm78.ViewColumn)({ name: "job_salary_from" })
12780
12818
  ], JobFreelancerRecommendation.prototype, "jobSalaryFrom", 2);
12781
12819
  __decorateClass([
12782
- (0, import_typeorm77.ViewColumn)({ name: "job_salary_to" })
12820
+ (0, import_typeorm78.ViewColumn)({ name: "job_salary_to" })
12783
12821
  ], JobFreelancerRecommendation.prototype, "jobSalaryTo", 2);
12784
12822
  __decorateClass([
12785
- (0, import_typeorm77.ViewColumn)({ name: "job_employment_type" })
12823
+ (0, import_typeorm78.ViewColumn)({ name: "job_employment_type" })
12786
12824
  ], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
12787
12825
  __decorateClass([
12788
- (0, import_typeorm77.ViewColumn)({ name: "application_received" })
12826
+ (0, import_typeorm78.ViewColumn)({ name: "application_received" })
12789
12827
  ], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
12790
12828
  __decorateClass([
12791
- (0, import_typeorm77.ViewColumn)({ name: "job_posted_at" })
12829
+ (0, import_typeorm78.ViewColumn)({ name: "job_posted_at" })
12792
12830
  ], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
12793
12831
  __decorateClass([
12794
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_id" })
12832
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_id" })
12795
12833
  ], JobFreelancerRecommendation.prototype, "freelancerId", 2);
12796
12834
  __decorateClass([
12797
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_uuid" })
12835
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_uuid" })
12798
12836
  ], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
12799
12837
  __decorateClass([
12800
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_unique_id" })
12838
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_unique_id" })
12801
12839
  ], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
12802
12840
  __decorateClass([
12803
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_first_name" })
12841
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_first_name" })
12804
12842
  ], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
12805
12843
  __decorateClass([
12806
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_last_name" })
12844
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_last_name" })
12807
12845
  ], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
12808
12846
  __decorateClass([
12809
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_email" })
12847
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_email" })
12810
12848
  ], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
12811
12849
  __decorateClass([
12812
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_profile_picture" })
12850
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_profile_picture" })
12813
12851
  ], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
12814
12852
  __decorateClass([
12815
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_is_social" })
12853
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_is_social" })
12816
12854
  ], JobFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
12817
12855
  __decorateClass([
12818
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_created_at" })
12856
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_created_at" })
12819
12857
  ], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
12820
12858
  __decorateClass([
12821
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_designation" })
12859
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_designation" })
12822
12860
  ], JobFreelancerRecommendation.prototype, "freelancerDesignation", 2);
12823
12861
  __decorateClass([
12824
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_experience" })
12862
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_experience" })
12825
12863
  ], JobFreelancerRecommendation.prototype, "freelancerExperience", 2);
12826
12864
  __decorateClass([
12827
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_expertshub_verified" })
12865
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_expertshub_verified" })
12828
12866
  ], JobFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
12829
12867
  __decorateClass([
12830
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_hourly_compensation" })
12868
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_hourly_compensation" })
12831
12869
  ], JobFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
12832
12870
  __decorateClass([
12833
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_country_name" })
12871
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_country_name" })
12834
12872
  ], JobFreelancerRecommendation.prototype, "freelancerCountryName", 2);
12835
12873
  __decorateClass([
12836
- (0, import_typeorm77.ViewColumn)({ name: "freelancer_country_iso_code" })
12874
+ (0, import_typeorm78.ViewColumn)({ name: "freelancer_country_iso_code" })
12837
12875
  ], JobFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
12838
12876
  __decorateClass([
12839
- (0, import_typeorm77.ViewColumn)({ name: "client_id" })
12877
+ (0, import_typeorm78.ViewColumn)({ name: "client_id" })
12840
12878
  ], JobFreelancerRecommendation.prototype, "clientId", 2);
12841
12879
  __decorateClass([
12842
- (0, import_typeorm77.ViewColumn)({ name: "client_uuid" })
12880
+ (0, import_typeorm78.ViewColumn)({ name: "client_uuid" })
12843
12881
  ], JobFreelancerRecommendation.prototype, "clientUuid", 2);
12844
12882
  __decorateClass([
12845
- (0, import_typeorm77.ViewColumn)({ name: "client_first_name" })
12883
+ (0, import_typeorm78.ViewColumn)({ name: "client_first_name" })
12846
12884
  ], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
12847
12885
  __decorateClass([
12848
- (0, import_typeorm77.ViewColumn)({ name: "client_last_name" })
12886
+ (0, import_typeorm78.ViewColumn)({ name: "client_last_name" })
12849
12887
  ], JobFreelancerRecommendation.prototype, "clientLastName", 2);
12850
12888
  __decorateClass([
12851
- (0, import_typeorm77.ViewColumn)({ name: "client_email" })
12889
+ (0, import_typeorm78.ViewColumn)({ name: "client_email" })
12852
12890
  ], JobFreelancerRecommendation.prototype, "clientEmail", 2);
12853
12891
  __decorateClass([
12854
- (0, import_typeorm77.ViewColumn)({ name: "client_company_logo" })
12892
+ (0, import_typeorm78.ViewColumn)({ name: "client_company_logo" })
12855
12893
  ], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
12856
12894
  __decorateClass([
12857
- (0, import_typeorm77.ViewColumn)({ name: "client_company_name" })
12895
+ (0, import_typeorm78.ViewColumn)({ name: "client_company_name" })
12858
12896
  ], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
12859
12897
  __decorateClass([
12860
- (0, import_typeorm77.ViewColumn)({ name: "matching_skills" })
12898
+ (0, import_typeorm78.ViewColumn)({ name: "matching_skills" })
12861
12899
  ], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
12862
12900
  __decorateClass([
12863
- (0, import_typeorm77.ViewColumn)({ name: "matching_skills_count" })
12901
+ (0, import_typeorm78.ViewColumn)({ name: "matching_skills_count" })
12864
12902
  ], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
12865
12903
  __decorateClass([
12866
- (0, import_typeorm77.ViewColumn)({ name: "required_skills" })
12904
+ (0, import_typeorm78.ViewColumn)({ name: "required_skills" })
12867
12905
  ], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
12868
12906
  __decorateClass([
12869
- (0, import_typeorm77.ViewColumn)({ name: "required_skills_count" })
12907
+ (0, import_typeorm78.ViewColumn)({ name: "required_skills_count" })
12870
12908
  ], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
12871
12909
  JobFreelancerRecommendation = __decorateClass([
12872
- (0, import_typeorm77.ViewEntity)({
12910
+ (0, import_typeorm78.ViewEntity)({
12873
12911
  name: "job_freelancer_recommendations",
12874
12912
  materialized: true,
12875
12913
  synchronize: false
@@ -12878,32 +12916,32 @@ JobFreelancerRecommendation = __decorateClass([
12878
12916
  ], JobFreelancerRecommendation);
12879
12917
 
12880
12918
  // src/entities/job-freelancer-recommendation-v2.entity.ts
12881
- var import_typeorm78 = require("typeorm");
12919
+ var import_typeorm79 = require("typeorm");
12882
12920
  var JobFreelancerRecommendationV2 = class {
12883
12921
  };
12884
12922
  __decorateClass([
12885
- (0, import_typeorm78.ViewColumn)({ name: "job_id" })
12923
+ (0, import_typeorm79.ViewColumn)({ name: "job_id" })
12886
12924
  ], JobFreelancerRecommendationV2.prototype, "jobId", 2);
12887
12925
  __decorateClass([
12888
- (0, import_typeorm78.ViewColumn)({ name: "job_owner_id" })
12926
+ (0, import_typeorm79.ViewColumn)({ name: "job_owner_id" })
12889
12927
  ], JobFreelancerRecommendationV2.prototype, "jobOwnerId", 2);
12890
12928
  __decorateClass([
12891
- (0, import_typeorm78.ViewColumn)({ name: "freelancer_id" })
12929
+ (0, import_typeorm79.ViewColumn)({ name: "freelancer_id" })
12892
12930
  ], JobFreelancerRecommendationV2.prototype, "freelancerId", 2);
12893
12931
  __decorateClass([
12894
- (0, import_typeorm78.ViewColumn)({ name: "matching_skills" })
12932
+ (0, import_typeorm79.ViewColumn)({ name: "matching_skills" })
12895
12933
  ], JobFreelancerRecommendationV2.prototype, "matchingSkills", 2);
12896
12934
  __decorateClass([
12897
- (0, import_typeorm78.ViewColumn)({ name: "matching_skills_count" })
12935
+ (0, import_typeorm79.ViewColumn)({ name: "matching_skills_count" })
12898
12936
  ], JobFreelancerRecommendationV2.prototype, "matchingSkillsCount", 2);
12899
12937
  __decorateClass([
12900
- (0, import_typeorm78.ViewColumn)({ name: "required_skills" })
12938
+ (0, import_typeorm79.ViewColumn)({ name: "required_skills" })
12901
12939
  ], JobFreelancerRecommendationV2.prototype, "requiredSkills", 2);
12902
12940
  __decorateClass([
12903
- (0, import_typeorm78.ViewColumn)({ name: "required_skills_count" })
12941
+ (0, import_typeorm79.ViewColumn)({ name: "required_skills_count" })
12904
12942
  ], JobFreelancerRecommendationV2.prototype, "requiredSkillsCount", 2);
12905
12943
  JobFreelancerRecommendationV2 = __decorateClass([
12906
- (0, import_typeorm78.ViewEntity)({
12944
+ (0, import_typeorm79.ViewEntity)({
12907
12945
  name: "job_freelancer_recommendations_v2",
12908
12946
  materialized: true,
12909
12947
  synchronize: false
@@ -12912,74 +12950,74 @@ JobFreelancerRecommendationV2 = __decorateClass([
12912
12950
  ], JobFreelancerRecommendationV2);
12913
12951
 
12914
12952
  // src/entities/client-freelancer-recommendation.entity.ts
12915
- var import_typeorm79 = require("typeorm");
12953
+ var import_typeorm80 = require("typeorm");
12916
12954
  var ClientFreelancerRecommendation = class {
12917
12955
  };
12918
12956
  __decorateClass([
12919
- (0, import_typeorm79.ViewColumn)({ name: "client_id" })
12957
+ (0, import_typeorm80.ViewColumn)({ name: "client_id" })
12920
12958
  ], ClientFreelancerRecommendation.prototype, "clientId", 2);
12921
12959
  __decorateClass([
12922
- (0, import_typeorm79.ViewColumn)({ name: "client_uuid" })
12960
+ (0, import_typeorm80.ViewColumn)({ name: "client_uuid" })
12923
12961
  ], ClientFreelancerRecommendation.prototype, "clientUuid", 2);
12924
12962
  __decorateClass([
12925
- (0, import_typeorm79.ViewColumn)({ name: "freelancer_id" })
12963
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_id" })
12926
12964
  ], ClientFreelancerRecommendation.prototype, "freelancerId", 2);
12927
12965
  __decorateClass([
12928
- (0, import_typeorm79.ViewColumn)({ name: "freelancer_uuid" })
12966
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_uuid" })
12929
12967
  ], ClientFreelancerRecommendation.prototype, "freelancerUuid", 2);
12930
12968
  __decorateClass([
12931
- (0, import_typeorm79.ViewColumn)({ name: "freelancer_unique_id" })
12969
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_unique_id" })
12932
12970
  ], ClientFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
12933
12971
  __decorateClass([
12934
- (0, import_typeorm79.ViewColumn)({ name: "freelancer_first_name" })
12972
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_first_name" })
12935
12973
  ], ClientFreelancerRecommendation.prototype, "freelancerFirstName", 2);
12936
12974
  __decorateClass([
12937
- (0, import_typeorm79.ViewColumn)({ name: "freelancer_last_name" })
12975
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_last_name" })
12938
12976
  ], ClientFreelancerRecommendation.prototype, "freelancerLastName", 2);
12939
12977
  __decorateClass([
12940
- (0, import_typeorm79.ViewColumn)({ name: "freelancer_email" })
12978
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_email" })
12941
12979
  ], ClientFreelancerRecommendation.prototype, "freelancerEmail", 2);
12942
12980
  __decorateClass([
12943
- (0, import_typeorm79.ViewColumn)({ name: "freelancer_profile_picture" })
12981
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_profile_picture" })
12944
12982
  ], ClientFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
12945
12983
  __decorateClass([
12946
- (0, import_typeorm79.ViewColumn)({ name: "freelancer_is_social" })
12984
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_is_social" })
12947
12985
  ], ClientFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
12948
12986
  __decorateClass([
12949
- (0, import_typeorm79.ViewColumn)({ name: "freelancer_created_at" })
12987
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_created_at" })
12950
12988
  ], ClientFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
12951
12989
  __decorateClass([
12952
- (0, import_typeorm79.ViewColumn)({ name: "freelancer_designation" })
12990
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_designation" })
12953
12991
  ], ClientFreelancerRecommendation.prototype, "freelancerDesignation", 2);
12954
12992
  __decorateClass([
12955
- (0, import_typeorm79.ViewColumn)({ name: "freelancer_experience" })
12993
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_experience" })
12956
12994
  ], ClientFreelancerRecommendation.prototype, "freelancerExperience", 2);
12957
12995
  __decorateClass([
12958
- (0, import_typeorm79.ViewColumn)({ name: "freelancer_expertshub_verified" })
12996
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_expertshub_verified" })
12959
12997
  ], ClientFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
12960
12998
  __decorateClass([
12961
- (0, import_typeorm79.ViewColumn)({ name: "freelancer_hourly_compensation" })
12999
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_hourly_compensation" })
12962
13000
  ], ClientFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
12963
13001
  __decorateClass([
12964
- (0, import_typeorm79.ViewColumn)({ name: "freelancer_country_name" })
13002
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_country_name" })
12965
13003
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryName", 2);
12966
13004
  __decorateClass([
12967
- (0, import_typeorm79.ViewColumn)({ name: "freelancer_country_iso_code" })
13005
+ (0, import_typeorm80.ViewColumn)({ name: "freelancer_country_iso_code" })
12968
13006
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
12969
13007
  __decorateClass([
12970
- (0, import_typeorm79.ViewColumn)({ name: "matching_skills" })
13008
+ (0, import_typeorm80.ViewColumn)({ name: "matching_skills" })
12971
13009
  ], ClientFreelancerRecommendation.prototype, "matchingSkills", 2);
12972
13010
  __decorateClass([
12973
- (0, import_typeorm79.ViewColumn)({ name: "matching_skills_count" })
13011
+ (0, import_typeorm80.ViewColumn)({ name: "matching_skills_count" })
12974
13012
  ], ClientFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
12975
13013
  __decorateClass([
12976
- (0, import_typeorm79.ViewColumn)({ name: "required_skills" })
13014
+ (0, import_typeorm80.ViewColumn)({ name: "required_skills" })
12977
13015
  ], ClientFreelancerRecommendation.prototype, "requiredSkills", 2);
12978
13016
  __decorateClass([
12979
- (0, import_typeorm79.ViewColumn)({ name: "required_skills_count" })
13017
+ (0, import_typeorm80.ViewColumn)({ name: "required_skills_count" })
12980
13018
  ], ClientFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
12981
13019
  ClientFreelancerRecommendation = __decorateClass([
12982
- (0, import_typeorm79.ViewEntity)({
13020
+ (0, import_typeorm80.ViewEntity)({
12983
13021
  name: "client_freelancer_recommendations",
12984
13022
  materialized: true,
12985
13023
  synchronize: false
@@ -12988,7 +13026,7 @@ ClientFreelancerRecommendation = __decorateClass([
12988
13026
  ], ClientFreelancerRecommendation);
12989
13027
 
12990
13028
  // src/entities/commission.entity.ts
12991
- var import_typeorm80 = require("typeorm");
13029
+ var import_typeorm81 = require("typeorm");
12992
13030
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
12993
13031
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
12994
13032
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -12997,7 +13035,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
12997
13035
  var Commission = class extends BaseEntity {
12998
13036
  };
12999
13037
  __decorateClass([
13000
- (0, import_typeorm80.Column)({
13038
+ (0, import_typeorm81.Column)({
13001
13039
  name: "freelancer_commission_type",
13002
13040
  type: "enum",
13003
13041
  enum: CommissionTypeEnum,
@@ -13005,10 +13043,10 @@ __decorateClass([
13005
13043
  })
13006
13044
  ], Commission.prototype, "freelancerCommissionType", 2);
13007
13045
  __decorateClass([
13008
- (0, import_typeorm80.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
13046
+ (0, import_typeorm81.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
13009
13047
  ], Commission.prototype, "freelancerCommission", 2);
13010
13048
  __decorateClass([
13011
- (0, import_typeorm80.Column)({
13049
+ (0, import_typeorm81.Column)({
13012
13050
  name: "client_commission_type",
13013
13051
  type: "enum",
13014
13052
  enum: CommissionTypeEnum,
@@ -13016,108 +13054,108 @@ __decorateClass([
13016
13054
  })
13017
13055
  ], Commission.prototype, "clientCommissionType", 2);
13018
13056
  __decorateClass([
13019
- (0, import_typeorm80.Column)({ name: "client_commission", type: "integer", default: 0 })
13057
+ (0, import_typeorm81.Column)({ name: "client_commission", type: "integer", default: 0 })
13020
13058
  ], Commission.prototype, "clientCommission", 2);
13021
13059
  Commission = __decorateClass([
13022
- (0, import_typeorm80.Entity)("commissions")
13060
+ (0, import_typeorm81.Entity)("commissions")
13023
13061
  ], Commission);
13024
13062
 
13025
13063
  // src/entities/calendly-meeting-log.entity.ts
13026
- var import_typeorm81 = require("typeorm");
13064
+ var import_typeorm82 = require("typeorm");
13027
13065
  var CalendlyMeetingLog = class extends BaseEntity {
13028
13066
  };
13029
13067
  __decorateClass([
13030
- (0, import_typeorm81.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
13031
- (0, import_typeorm81.Index)()
13068
+ (0, import_typeorm82.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
13069
+ (0, import_typeorm82.Index)()
13032
13070
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
13033
13071
  __decorateClass([
13034
- (0, import_typeorm81.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
13072
+ (0, import_typeorm82.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
13035
13073
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
13036
13074
  __decorateClass([
13037
- (0, import_typeorm81.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13075
+ (0, import_typeorm82.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13038
13076
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
13039
13077
  CalendlyMeetingLog = __decorateClass([
13040
- (0, import_typeorm81.Entity)("calendly_meeting_logs")
13078
+ (0, import_typeorm82.Entity)("calendly_meeting_logs")
13041
13079
  ], CalendlyMeetingLog);
13042
13080
 
13043
13081
  // src/entities/zoom-meeting-log.entity.ts
13044
- var import_typeorm82 = require("typeorm");
13082
+ var import_typeorm83 = require("typeorm");
13045
13083
  var ZoomMeetingLog = class extends BaseEntity {
13046
13084
  };
13047
13085
  __decorateClass([
13048
- (0, import_typeorm82.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
13049
- (0, import_typeorm82.Index)()
13086
+ (0, import_typeorm83.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
13087
+ (0, import_typeorm83.Index)()
13050
13088
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
13051
13089
  __decorateClass([
13052
- (0, import_typeorm82.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
13090
+ (0, import_typeorm83.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
13053
13091
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
13054
13092
  __decorateClass([
13055
- (0, import_typeorm82.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13093
+ (0, import_typeorm83.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13056
13094
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
13057
13095
  ZoomMeetingLog = __decorateClass([
13058
- (0, import_typeorm82.Entity)("zoom_meeting_logs")
13096
+ (0, import_typeorm83.Entity)("zoom_meeting_logs")
13059
13097
  ], ZoomMeetingLog);
13060
13098
 
13061
13099
  // src/entities/stripe-logs.entity.ts
13062
- var import_typeorm83 = require("typeorm");
13100
+ var import_typeorm84 = require("typeorm");
13063
13101
  var StripeLog = class extends BaseEntity {
13064
13102
  };
13065
13103
  __decorateClass([
13066
- (0, import_typeorm83.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
13104
+ (0, import_typeorm84.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
13067
13105
  ], StripeLog.prototype, "stripeEventId", 2);
13068
13106
  __decorateClass([
13069
- (0, import_typeorm83.Column)({ name: "event_type", type: "varchar", nullable: true })
13107
+ (0, import_typeorm84.Column)({ name: "event_type", type: "varchar", nullable: true })
13070
13108
  ], StripeLog.prototype, "eventType", 2);
13071
13109
  __decorateClass([
13072
- (0, import_typeorm83.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
13110
+ (0, import_typeorm84.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
13073
13111
  ], StripeLog.prototype, "stripeAccountId", 2);
13074
13112
  __decorateClass([
13075
- (0, import_typeorm83.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13113
+ (0, import_typeorm84.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
13076
13114
  ], StripeLog.prototype, "rawWebhookData", 2);
13077
13115
  StripeLog = __decorateClass([
13078
- (0, import_typeorm83.Entity)("stripe_logs")
13116
+ (0, import_typeorm84.Entity)("stripe_logs")
13079
13117
  ], StripeLog);
13080
13118
 
13081
13119
  // src/entities/recommendation-weightage-config.entity.ts
13082
- var import_typeorm84 = require("typeorm");
13120
+ var import_typeorm85 = require("typeorm");
13083
13121
  var RecommendationWeightageConfig = class extends BaseEntity {
13084
13122
  };
13085
13123
  __decorateClass([
13086
- (0, import_typeorm84.Column)({
13124
+ (0, import_typeorm85.Column)({
13087
13125
  type: "varchar",
13088
13126
  length: 100,
13089
13127
  unique: true,
13090
13128
  comment: "Unique key identifier (e.g., full_time_weights, hourly_weights)"
13091
13129
  }),
13092
- (0, import_typeorm84.Index)()
13130
+ (0, import_typeorm85.Index)()
13093
13131
  ], RecommendationWeightageConfig.prototype, "key", 2);
13094
13132
  __decorateClass([
13095
- (0, import_typeorm84.Column)({
13133
+ (0, import_typeorm85.Column)({
13096
13134
  type: "jsonb",
13097
13135
  comment: "JSON object containing weight values",
13098
13136
  nullable: true
13099
13137
  })
13100
13138
  ], RecommendationWeightageConfig.prototype, "value", 2);
13101
13139
  __decorateClass([
13102
- (0, import_typeorm84.Column)({ name: "is_active", type: "boolean", default: true })
13140
+ (0, import_typeorm85.Column)({ name: "is_active", type: "boolean", default: true })
13103
13141
  ], RecommendationWeightageConfig.prototype, "isActive", 2);
13104
13142
  RecommendationWeightageConfig = __decorateClass([
13105
- (0, import_typeorm84.Entity)("recommendation_weightage_configs")
13143
+ (0, import_typeorm85.Entity)("recommendation_weightage_configs")
13106
13144
  ], RecommendationWeightageConfig);
13107
13145
 
13108
13146
  // src/entities/global-setting.entity.ts
13109
- var import_typeorm85 = require("typeorm");
13147
+ var import_typeorm86 = require("typeorm");
13110
13148
  var GlobalSetting = class extends BaseEntity {
13111
13149
  };
13112
13150
  __decorateClass([
13113
- (0, import_typeorm85.Column)({ name: "key", type: "varchar", length: 255, nullable: false, unique: true })
13151
+ (0, import_typeorm86.Column)({ name: "key", type: "varchar", length: 255, nullable: false, unique: true })
13114
13152
  ], GlobalSetting.prototype, "key", 2);
13115
13153
  __decorateClass([
13116
- (0, import_typeorm85.Column)({ name: "value", type: "text", nullable: false })
13154
+ (0, import_typeorm86.Column)({ name: "value", type: "text", nullable: false })
13117
13155
  ], GlobalSetting.prototype, "value", 2);
13118
13156
  GlobalSetting = __decorateClass([
13119
- (0, import_typeorm85.Entity)("global_settings"),
13120
- (0, import_typeorm85.Index)(["key"], { unique: true })
13157
+ (0, import_typeorm86.Entity)("global_settings"),
13158
+ (0, import_typeorm86.Index)(["key"], { unique: true })
13121
13159
  ], GlobalSetting);
13122
13160
  // Annotate the CommonJS export names for ESM import in node:
13123
13161
  0 && (module.exports = {
@@ -13324,6 +13362,7 @@ GlobalSetting = __decorateClass([
13324
13362
  INTERVIEW_INVITE_PATTERN,
13325
13363
  INTERVIEW_PATTERN,
13326
13364
  INVOICE_PATTERN,
13365
+ InAppNotification,
13327
13366
  InitiatorTypeEnum,
13328
13367
  Interview,
13329
13368
  InterviewInvite,