@experts_hub/shared 1.0.652 → 1.0.654

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