@experts_hub/shared 1.0.437 → 1.0.439

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
@@ -110,6 +110,8 @@ __export(index_exports, {
110
110
  CreateQuestionDto: () => CreateQuestionDto,
111
111
  CreateRatingDto: () => CreateRatingDto,
112
112
  CreateSubAdminDto: () => CreateSubAdminDto,
113
+ Dispute: () => Dispute,
114
+ DisputeStatusEnum: () => DisputeStatusEnum,
113
115
  DocumentType: () => DocumentType,
114
116
  DocumentTypeEnum: () => DocumentTypeEnum,
115
117
  DurationTypeEnum: () => DurationTypeEnum,
@@ -1464,6 +1466,10 @@ __decorateClass([
1464
1466
  __decorateClass([
1465
1467
  (0, import_class_validator39.IsNotEmpty)({ message: "Please enter expected hourly compensation." })
1466
1468
  ], UpdateFreelancerProfileDto.prototype, "expectedHourlyCompensation", 2);
1469
+ __decorateClass([
1470
+ (0, import_class_validator39.IsOptional)(),
1471
+ (0, import_class_validator39.IsNotEmpty)({ message: "Please enter weekly availability hours." })
1472
+ ], UpdateFreelancerProfileDto.prototype, "numberOfHours", 2);
1467
1473
  __decorateClass([
1468
1474
  (0, import_class_validator39.IsNotEmpty)({ message: "Please select engagement type." }),
1469
1475
  (0, import_class_validator39.IsEnum)(NatureOfWorkDto, {
@@ -1625,10 +1631,10 @@ var RATING_PATTERN = {
1625
1631
  var import_class_validator42 = require("class-validator");
1626
1632
 
1627
1633
  // src/entities/rating.entity.ts
1628
- var import_typeorm57 = require("typeorm");
1634
+ var import_typeorm58 = require("typeorm");
1629
1635
 
1630
1636
  // src/entities/user.entity.ts
1631
- var import_typeorm56 = require("typeorm");
1637
+ var import_typeorm57 = require("typeorm");
1632
1638
 
1633
1639
  // src/entities/base.entity.ts
1634
1640
  var import_typeorm = require("typeorm");
@@ -4880,6 +4886,66 @@ Signature = __decorateClass([
4880
4886
  (0, import_typeorm55.Entity)("signatures")
4881
4887
  ], Signature);
4882
4888
 
4889
+ // src/entities/dispute.entity.ts
4890
+ var import_typeorm56 = require("typeorm");
4891
+ var DisputeStatusEnum = /* @__PURE__ */ ((DisputeStatusEnum2) => {
4892
+ DisputeStatusEnum2["OPEN"] = "OPEN";
4893
+ DisputeStatusEnum2["IN_REVIEW"] = "IN_REVIEW";
4894
+ DisputeStatusEnum2["PENDING_RESPONSE"] = "PENDING_RESPONSE";
4895
+ DisputeStatusEnum2["UNDER_INVESTIGATION"] = "UNDER_INVESTIGATION";
4896
+ DisputeStatusEnum2["RESOLVED"] = "RESOLVED";
4897
+ DisputeStatusEnum2["CLOSED"] = "CLOSED";
4898
+ DisputeStatusEnum2["ESCALATED"] = "ESCALATED";
4899
+ DisputeStatusEnum2["CANCELLED"] = "CANCELLED";
4900
+ DisputeStatusEnum2["REOPENED"] = "REOPENED";
4901
+ return DisputeStatusEnum2;
4902
+ })(DisputeStatusEnum || {});
4903
+ var Dispute = class extends BaseEntity {
4904
+ };
4905
+ __decorateClass([
4906
+ (0, import_typeorm56.Column)({ name: "dispute_unique_id", type: "varchar", unique: true })
4907
+ ], Dispute.prototype, "disputeUniqueId", 2);
4908
+ __decorateClass([
4909
+ (0, import_typeorm56.Column)({ name: "dispute_type", type: "varchar", nullable: true }),
4910
+ (0, import_typeorm56.Index)()
4911
+ ], Dispute.prototype, "disputeType", 2);
4912
+ __decorateClass([
4913
+ (0, import_typeorm56.Column)({ name: "description", type: "varchar", nullable: true })
4914
+ ], Dispute.prototype, "description", 2);
4915
+ __decorateClass([
4916
+ (0, import_typeorm56.Column)({ name: "comment", type: "varchar", nullable: true })
4917
+ ], Dispute.prototype, "comment", 2);
4918
+ __decorateClass([
4919
+ (0, import_typeorm56.Column)({
4920
+ name: "status",
4921
+ type: "enum",
4922
+ enum: DisputeStatusEnum,
4923
+ default: "OPEN" /* OPEN */
4924
+ })
4925
+ ], Dispute.prototype, "status", 2);
4926
+ __decorateClass([
4927
+ (0, import_typeorm56.Column)({ name: "initiator_id", type: "integer" }),
4928
+ (0, import_typeorm56.Index)()
4929
+ ], Dispute.prototype, "initiatorId", 2);
4930
+ __decorateClass([
4931
+ (0, import_typeorm56.ManyToOne)(() => User, (user) => user.initiatedDisputes),
4932
+ (0, import_typeorm56.JoinColumn)({ name: "initiator_id" })
4933
+ ], Dispute.prototype, "initiator", 2);
4934
+ __decorateClass([
4935
+ (0, import_typeorm56.Column)({ name: "respondent_id", type: "integer", nullable: true }),
4936
+ (0, import_typeorm56.Index)()
4937
+ ], Dispute.prototype, "respondentId", 2);
4938
+ __decorateClass([
4939
+ (0, import_typeorm56.ManyToOne)(() => User, (user) => user.respondentDisputes, { nullable: true }),
4940
+ (0, import_typeorm56.JoinColumn)({ name: "respondent_id" })
4941
+ ], Dispute.prototype, "respondent", 2);
4942
+ __decorateClass([
4943
+ (0, import_typeorm56.Column)({ name: "attachments", type: "jsonb", nullable: true })
4944
+ ], Dispute.prototype, "attachments", 2);
4945
+ Dispute = __decorateClass([
4946
+ (0, import_typeorm56.Entity)("disputes")
4947
+ ], Dispute);
4948
+
4883
4949
  // src/entities/user.entity.ts
4884
4950
  var AccountType = /* @__PURE__ */ ((AccountType2) => {
4885
4951
  AccountType2["ADMIN"] = "ADMIN";
@@ -4905,51 +4971,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
4905
4971
  var User = class extends BaseEntity {
4906
4972
  };
4907
4973
  __decorateClass([
4908
- (0, import_typeorm56.Column)({ name: "unique_id", type: "varchar", unique: true })
4974
+ (0, import_typeorm57.Column)({ name: "unique_id", type: "varchar", unique: true })
4909
4975
  ], User.prototype, "uniqueId", 2);
4910
4976
  __decorateClass([
4911
- (0, import_typeorm56.Column)({ name: "parent_id", type: "integer", nullable: true }),
4912
- (0, import_typeorm56.Index)()
4977
+ (0, import_typeorm57.Column)({ name: "parent_id", type: "integer", nullable: true }),
4978
+ (0, import_typeorm57.Index)()
4913
4979
  ], User.prototype, "parentId", 2);
4914
4980
  __decorateClass([
4915
- (0, import_typeorm56.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
4916
- (0, import_typeorm56.JoinColumn)({ name: "parent_id" })
4981
+ (0, import_typeorm57.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
4982
+ (0, import_typeorm57.JoinColumn)({ name: "parent_id" })
4917
4983
  ], User.prototype, "parent", 2);
4918
4984
  __decorateClass([
4919
- (0, import_typeorm56.OneToMany)(() => User, (user) => user.parent)
4985
+ (0, import_typeorm57.OneToMany)(() => User, (user) => user.parent)
4920
4986
  ], User.prototype, "children", 2);
4921
4987
  __decorateClass([
4922
- (0, import_typeorm56.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
4988
+ (0, import_typeorm57.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
4923
4989
  ], User.prototype, "username", 2);
4924
4990
  __decorateClass([
4925
- (0, import_typeorm56.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
4991
+ (0, import_typeorm57.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
4926
4992
  ], User.prototype, "firstName", 2);
4927
4993
  __decorateClass([
4928
- (0, import_typeorm56.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
4994
+ (0, import_typeorm57.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
4929
4995
  ], User.prototype, "lastName", 2);
4930
4996
  __decorateClass([
4931
- (0, import_typeorm56.Column)({ name: "date_of_birth", type: "date", nullable: true })
4997
+ (0, import_typeorm57.Column)({ name: "date_of_birth", type: "date", nullable: true })
4932
4998
  ], User.prototype, "dateOfBirth", 2);
4933
4999
  __decorateClass([
4934
- (0, import_typeorm56.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
5000
+ (0, import_typeorm57.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
4935
5001
  ], User.prototype, "gender", 2);
4936
5002
  __decorateClass([
4937
- (0, import_typeorm56.Column)({ name: "profile_picture_url", type: "text", nullable: true })
5003
+ (0, import_typeorm57.Column)({ name: "profile_picture_url", type: "text", nullable: true })
4938
5004
  ], User.prototype, "profilePictureUrl", 2);
4939
5005
  __decorateClass([
4940
- (0, import_typeorm56.Column)({ name: "email", type: "varchar", unique: true })
5006
+ (0, import_typeorm57.Column)({ name: "email", type: "varchar", unique: true })
4941
5007
  ], User.prototype, "email", 2);
4942
5008
  __decorateClass([
4943
- (0, import_typeorm56.Column)({ name: "mobile_code", type: "varchar", nullable: true })
5009
+ (0, import_typeorm57.Column)({ name: "mobile_code", type: "varchar", nullable: true })
4944
5010
  ], User.prototype, "mobileCode", 2);
4945
5011
  __decorateClass([
4946
- (0, import_typeorm56.Column)({ name: "mobile", type: "varchar", nullable: true })
5012
+ (0, import_typeorm57.Column)({ name: "mobile", type: "varchar", nullable: true })
4947
5013
  ], User.prototype, "mobile", 2);
4948
5014
  __decorateClass([
4949
- (0, import_typeorm56.Column)({ name: "password", type: "varchar", nullable: true })
5015
+ (0, import_typeorm57.Column)({ name: "password", type: "varchar", nullable: true })
4950
5016
  ], User.prototype, "password", 2);
4951
5017
  __decorateClass([
4952
- (0, import_typeorm56.Column)({
5018
+ (0, import_typeorm57.Column)({
4953
5019
  name: "account_type",
4954
5020
  type: "enum",
4955
5021
  enum: AccountType,
@@ -4957,7 +5023,7 @@ __decorateClass([
4957
5023
  })
4958
5024
  ], User.prototype, "accountType", 2);
4959
5025
  __decorateClass([
4960
- (0, import_typeorm56.Column)({
5026
+ (0, import_typeorm57.Column)({
4961
5027
  name: "account_status",
4962
5028
  type: "enum",
4963
5029
  enum: AccountStatus,
@@ -4965,42 +5031,42 @@ __decorateClass([
4965
5031
  })
4966
5032
  ], User.prototype, "accountStatus", 2);
4967
5033
  __decorateClass([
4968
- (0, import_typeorm56.Column)({ name: "is_email_verified", type: "boolean", default: false })
5034
+ (0, import_typeorm57.Column)({ name: "is_email_verified", type: "boolean", default: false })
4969
5035
  ], User.prototype, "isEmailVerified", 2);
4970
5036
  __decorateClass([
4971
- (0, import_typeorm56.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
5037
+ (0, import_typeorm57.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
4972
5038
  ], User.prototype, "isMobileVerified", 2);
4973
5039
  __decorateClass([
4974
- (0, import_typeorm56.Column)({ name: "is_social", type: "boolean", default: false })
5040
+ (0, import_typeorm57.Column)({ name: "is_social", type: "boolean", default: false })
4975
5041
  ], User.prototype, "isSocial", 2);
4976
5042
  __decorateClass([
4977
- (0, import_typeorm56.Column)({
5043
+ (0, import_typeorm57.Column)({
4978
5044
  name: "last_login_at",
4979
5045
  type: "timestamp with time zone",
4980
5046
  nullable: true
4981
5047
  })
4982
5048
  ], User.prototype, "lastLoginAt", 2);
4983
5049
  __decorateClass([
4984
- (0, import_typeorm56.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
5050
+ (0, import_typeorm57.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
4985
5051
  ], User.prototype, "lastLoginIp", 2);
4986
5052
  __decorateClass([
4987
- (0, import_typeorm56.Column)({ name: "reset_token", type: "varchar", nullable: true })
5053
+ (0, import_typeorm57.Column)({ name: "reset_token", type: "varchar", nullable: true })
4988
5054
  ], User.prototype, "resetToken", 2);
4989
5055
  __decorateClass([
4990
- (0, import_typeorm56.Column)({
5056
+ (0, import_typeorm57.Column)({
4991
5057
  name: "reset_token_expire_at",
4992
5058
  type: "timestamp with time zone",
4993
5059
  nullable: true
4994
5060
  })
4995
5061
  ], User.prototype, "resetTokenExpireAt", 2);
4996
5062
  __decorateClass([
4997
- (0, import_typeorm56.Column)({ name: "set_password_token", type: "varchar", nullable: true })
5063
+ (0, import_typeorm57.Column)({ name: "set_password_token", type: "varchar", nullable: true })
4998
5064
  ], User.prototype, "setPasswordToken", 2);
4999
5065
  __decorateClass([
5000
- (0, import_typeorm56.OneToMany)(() => RefreshToken, (token) => token.user)
5066
+ (0, import_typeorm57.OneToMany)(() => RefreshToken, (token) => token.user)
5001
5067
  ], User.prototype, "refreshTokens", 2);
5002
5068
  __decorateClass([
5003
- (0, import_typeorm56.Column)({
5069
+ (0, import_typeorm57.Column)({
5004
5070
  name: "provider",
5005
5071
  type: "enum",
5006
5072
  enum: Provider,
@@ -5009,184 +5075,190 @@ __decorateClass([
5009
5075
  })
5010
5076
  ], User.prototype, "provider", 2);
5011
5077
  __decorateClass([
5012
- (0, import_typeorm56.Column)({ name: "provider_token", type: "varchar", nullable: true })
5078
+ (0, import_typeorm57.Column)({ name: "provider_token", type: "varchar", nullable: true })
5013
5079
  ], User.prototype, "providerToken", 2);
5014
5080
  __decorateClass([
5015
- (0, import_typeorm56.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
5081
+ (0, import_typeorm57.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
5016
5082
  ], User.prototype, "linkedInId", 2);
5017
5083
  __decorateClass([
5018
- (0, import_typeorm56.Column)({ name: "google_id", type: "varchar", nullable: true })
5084
+ (0, import_typeorm57.Column)({ name: "google_id", type: "varchar", nullable: true })
5019
5085
  ], User.prototype, "googleId", 2);
5020
5086
  __decorateClass([
5021
- (0, import_typeorm56.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
5087
+ (0, import_typeorm57.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
5022
5088
  ], User.prototype, "gitLabsId", 2);
5023
5089
  __decorateClass([
5024
- (0, import_typeorm56.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
5090
+ (0, import_typeorm57.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
5025
5091
  ], User.prototype, "onBoardedBy", 2);
5026
5092
  __decorateClass([
5027
- (0, import_typeorm56.OneToMany)(() => Otp, (otp) => otp.user)
5093
+ (0, import_typeorm57.OneToMany)(() => Otp, (otp) => otp.user)
5028
5094
  ], User.prototype, "otps", 2);
5029
5095
  __decorateClass([
5030
- (0, import_typeorm56.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
5096
+ (0, import_typeorm57.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
5031
5097
  ], User.prototype, "senseloafLogs", 2);
5032
5098
  __decorateClass([
5033
- (0, import_typeorm56.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
5099
+ (0, import_typeorm57.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
5034
5100
  ], User.prototype, "companyProfile", 2);
5035
5101
  __decorateClass([
5036
- (0, import_typeorm56.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
5102
+ (0, import_typeorm57.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
5037
5103
  ], User.prototype, "companySkills", 2);
5038
5104
  __decorateClass([
5039
- (0, import_typeorm56.OneToMany)(
5105
+ (0, import_typeorm57.OneToMany)(
5040
5106
  () => CompanyMemberRole,
5041
5107
  (companyMemberRole) => companyMemberRole.user
5042
5108
  )
5043
5109
  ], User.prototype, "companyMemberRoles", 2);
5044
5110
  __decorateClass([
5045
- (0, import_typeorm56.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
5111
+ (0, import_typeorm57.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
5046
5112
  ], User.prototype, "companyAiInterview", 2);
5047
5113
  __decorateClass([
5048
- (0, import_typeorm56.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
5114
+ (0, import_typeorm57.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
5049
5115
  ], User.prototype, "clientF2FInterviews", 2);
5050
5116
  __decorateClass([
5051
- (0, import_typeorm56.OneToOne)(
5117
+ (0, import_typeorm57.OneToOne)(
5052
5118
  () => FreelancerProfile,
5053
5119
  (freelancerProfile) => freelancerProfile.user
5054
5120
  )
5055
5121
  ], User.prototype, "freelancerProfile", 2);
5056
5122
  __decorateClass([
5057
- (0, import_typeorm56.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
5123
+ (0, import_typeorm57.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
5058
5124
  ], User.prototype, "freelancerResume", 2);
5059
5125
  __decorateClass([
5060
- (0, import_typeorm56.OneToMany)(
5126
+ (0, import_typeorm57.OneToMany)(
5061
5127
  () => FreelancerAssessment,
5062
5128
  (freelancerAssessment) => freelancerAssessment.user
5063
5129
  )
5064
5130
  ], User.prototype, "assessments", 2);
5065
5131
  __decorateClass([
5066
- (0, import_typeorm56.OneToMany)(
5132
+ (0, import_typeorm57.OneToMany)(
5067
5133
  () => AssessmentAnswer,
5068
5134
  (assessmentAnswer) => assessmentAnswer.user
5069
5135
  )
5070
5136
  ], User.prototype, "assessmentAnswers", 2);
5071
5137
  __decorateClass([
5072
- (0, import_typeorm56.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
5138
+ (0, import_typeorm57.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
5073
5139
  ], User.prototype, "freelancerSkills", 2);
5074
5140
  __decorateClass([
5075
- (0, import_typeorm56.OneToMany)(
5141
+ (0, import_typeorm57.OneToMany)(
5076
5142
  () => FreelancerExperience,
5077
5143
  (freelancerExperience) => freelancerExperience.user
5078
5144
  )
5079
5145
  ], User.prototype, "freelancerExperience", 2);
5080
5146
  __decorateClass([
5081
- (0, import_typeorm56.OneToMany)(
5147
+ (0, import_typeorm57.OneToMany)(
5082
5148
  () => FreelancerEducation,
5083
5149
  (freelancerEducation) => freelancerEducation.user
5084
5150
  )
5085
5151
  ], User.prototype, "freelancerEducation", 2);
5086
5152
  __decorateClass([
5087
- (0, import_typeorm56.OneToMany)(
5153
+ (0, import_typeorm57.OneToMany)(
5088
5154
  () => FreelancerProject,
5089
5155
  (freelancerProject) => freelancerProject.user
5090
5156
  )
5091
5157
  ], User.prototype, "freelancerProject", 2);
5092
5158
  __decorateClass([
5093
- (0, import_typeorm56.OneToMany)(
5159
+ (0, import_typeorm57.OneToMany)(
5094
5160
  () => FreelancerCaseStudy,
5095
5161
  (freelancerCaseStudy) => freelancerCaseStudy.user
5096
5162
  )
5097
5163
  ], User.prototype, "freelancerCaseStudy", 2);
5098
5164
  __decorateClass([
5099
- (0, import_typeorm56.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
5165
+ (0, import_typeorm57.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
5100
5166
  ], User.prototype, "freelancerTool", 2);
5101
5167
  __decorateClass([
5102
- (0, import_typeorm56.OneToMany)(
5168
+ (0, import_typeorm57.OneToMany)(
5103
5169
  () => FreelancerFramework,
5104
5170
  (freelancerFramework) => freelancerFramework.user
5105
5171
  )
5106
5172
  ], User.prototype, "freelancerFramework", 2);
5107
5173
  __decorateClass([
5108
- (0, import_typeorm56.OneToOne)(
5174
+ (0, import_typeorm57.OneToOne)(
5109
5175
  () => FreelancerDeclaration,
5110
5176
  (freelancerDeclaration) => freelancerDeclaration.user
5111
5177
  )
5112
5178
  ], User.prototype, "freelancerDeclaration", 2);
5113
5179
  __decorateClass([
5114
- (0, import_typeorm56.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
5180
+ (0, import_typeorm57.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
5115
5181
  ], User.prototype, "freelancerAiInterview", 2);
5116
5182
  __decorateClass([
5117
- (0, import_typeorm56.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
5183
+ (0, import_typeorm57.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
5118
5184
  ], User.prototype, "freelancerF2FInterviews", 2);
5119
5185
  __decorateClass([
5120
- (0, import_typeorm56.OneToMany)(
5186
+ (0, import_typeorm57.OneToMany)(
5121
5187
  () => F2fInterviewRescheduleRequest,
5122
5188
  (f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
5123
5189
  )
5124
5190
  ], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
5125
5191
  __decorateClass([
5126
- (0, import_typeorm56.OneToMany)(() => Job, (job) => job.user)
5192
+ (0, import_typeorm57.OneToMany)(() => Job, (job) => job.user)
5127
5193
  ], User.prototype, "jobs", 2);
5128
5194
  __decorateClass([
5129
- (0, import_typeorm56.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
5195
+ (0, import_typeorm57.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
5130
5196
  ], User.prototype, "jobApplications", 2);
5131
5197
  __decorateClass([
5132
- (0, import_typeorm56.OneToMany)(() => Interview, (interview) => interview.user)
5198
+ (0, import_typeorm57.OneToMany)(() => Interview, (interview) => interview.user)
5133
5199
  ], User.prototype, "interviews", 2);
5134
5200
  __decorateClass([
5135
- (0, import_typeorm56.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
5201
+ (0, import_typeorm57.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
5136
5202
  ], User.prototype, "bankDetail", 2);
5137
5203
  __decorateClass([
5138
- (0, import_typeorm56.OneToMany)(
5204
+ (0, import_typeorm57.OneToMany)(
5139
5205
  () => SystemPreference,
5140
5206
  (systemPreference) => systemPreference.user
5141
5207
  )
5142
5208
  ], User.prototype, "systemPreference", 2);
5143
5209
  __decorateClass([
5144
- (0, import_typeorm56.OneToMany)(() => Rating, (rating) => rating.reviewer)
5210
+ (0, import_typeorm57.OneToMany)(() => Rating, (rating) => rating.reviewer)
5145
5211
  ], User.prototype, "givenRatings", 2);
5146
5212
  __decorateClass([
5147
- (0, import_typeorm56.OneToMany)(() => Rating, (rating) => rating.reviewee)
5213
+ (0, import_typeorm57.OneToMany)(() => Rating, (rating) => rating.reviewee)
5148
5214
  ], User.prototype, "receivedRatings", 2);
5149
5215
  __decorateClass([
5150
- (0, import_typeorm56.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
5216
+ (0, import_typeorm57.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
5151
5217
  ], User.prototype, "adminUserRoles", 2);
5152
5218
  __decorateClass([
5153
- (0, import_typeorm56.OneToMany)(() => Contract, (contract) => contract.client)
5219
+ (0, import_typeorm57.OneToMany)(() => Contract, (contract) => contract.client)
5154
5220
  ], User.prototype, "clientContracts", 2);
5155
5221
  __decorateClass([
5156
- (0, import_typeorm56.OneToMany)(() => Contract, (contract) => contract.freelancer)
5222
+ (0, import_typeorm57.OneToMany)(() => Contract, (contract) => contract.freelancer)
5157
5223
  ], User.prototype, "freelancerContracts", 2);
5158
5224
  __decorateClass([
5159
- (0, import_typeorm56.OneToOne)(() => StripeWallet, (stripeWallet) => stripeWallet.user)
5225
+ (0, import_typeorm57.OneToOne)(() => StripeWallet, (stripeWallet) => stripeWallet.user)
5160
5226
  ], User.prototype, "stripeWallet", 2);
5161
5227
  __decorateClass([
5162
- (0, import_typeorm56.OneToOne)(() => Signature, (signature) => signature.user)
5228
+ (0, import_typeorm57.OneToOne)(() => Signature, (signature) => signature.user)
5163
5229
  ], User.prototype, "signatures", 2);
5164
5230
  __decorateClass([
5165
- (0, import_typeorm56.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
5231
+ (0, import_typeorm57.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
5166
5232
  ], User.prototype, "clientTimesheets", 2);
5167
5233
  __decorateClass([
5168
- (0, import_typeorm56.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
5234
+ (0, import_typeorm57.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
5169
5235
  ], User.prototype, "freelancerTimesheets", 2);
5170
5236
  __decorateClass([
5171
- (0, import_typeorm56.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
5237
+ (0, import_typeorm57.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
5172
5238
  ], User.prototype, "clientTimesheetLine", 2);
5173
5239
  __decorateClass([
5174
- (0, import_typeorm56.OneToMany)(() => Invoice, (invoice) => invoice.client)
5240
+ (0, import_typeorm57.OneToMany)(() => Invoice, (invoice) => invoice.client)
5175
5241
  ], User.prototype, "clientInvoice", 2);
5176
5242
  __decorateClass([
5177
- (0, import_typeorm56.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
5243
+ (0, import_typeorm57.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
5178
5244
  ], User.prototype, "freelancerTimesheetLine", 2);
5179
5245
  __decorateClass([
5180
- (0, import_typeorm56.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
5246
+ (0, import_typeorm57.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
5181
5247
  ], User.prototype, "freelancerInvoice", 2);
5182
5248
  __decorateClass([
5183
- (0, import_typeorm56.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
5249
+ (0, import_typeorm57.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
5184
5250
  ], User.prototype, "clientPreferencesGiven", 2);
5185
5251
  __decorateClass([
5186
- (0, import_typeorm56.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
5252
+ (0, import_typeorm57.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
5187
5253
  ], User.prototype, "clientPreferencesReceived", 2);
5254
+ __decorateClass([
5255
+ (0, import_typeorm57.OneToMany)(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
5256
+ ], User.prototype, "initiatedDisputes", 2);
5257
+ __decorateClass([
5258
+ (0, import_typeorm57.OneToMany)(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
5259
+ ], User.prototype, "respondentDisputes", 2);
5188
5260
  User = __decorateClass([
5189
- (0, import_typeorm56.Entity)("users")
5261
+ (0, import_typeorm57.Entity)("users")
5190
5262
  ], User);
5191
5263
 
5192
5264
  // src/entities/rating.entity.ts
@@ -5198,36 +5270,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
5198
5270
  var Rating = class extends BaseEntity {
5199
5271
  };
5200
5272
  __decorateClass([
5201
- (0, import_typeorm57.Column)({ name: "reviewer_id", type: "integer" }),
5202
- (0, import_typeorm57.Index)()
5273
+ (0, import_typeorm58.Column)({ name: "reviewer_id", type: "integer" }),
5274
+ (0, import_typeorm58.Index)()
5203
5275
  ], Rating.prototype, "reviewer_id", 2);
5204
5276
  __decorateClass([
5205
- (0, import_typeorm57.ManyToOne)(() => User, { onDelete: "CASCADE" }),
5206
- (0, import_typeorm57.JoinColumn)({ name: "reviewer_id" })
5277
+ (0, import_typeorm58.ManyToOne)(() => User, { onDelete: "CASCADE" }),
5278
+ (0, import_typeorm58.JoinColumn)({ name: "reviewer_id" })
5207
5279
  ], Rating.prototype, "reviewer", 2);
5208
5280
  __decorateClass([
5209
- (0, import_typeorm57.Column)({ name: "reviewee_id", type: "integer" }),
5210
- (0, import_typeorm57.Index)()
5281
+ (0, import_typeorm58.Column)({ name: "reviewee_id", type: "integer" }),
5282
+ (0, import_typeorm58.Index)()
5211
5283
  ], Rating.prototype, "reviewee_id", 2);
5212
5284
  __decorateClass([
5213
- (0, import_typeorm57.ManyToOne)(() => User, { onDelete: "CASCADE" }),
5214
- (0, import_typeorm57.JoinColumn)({ name: "reviewee_id" })
5285
+ (0, import_typeorm58.ManyToOne)(() => User, { onDelete: "CASCADE" }),
5286
+ (0, import_typeorm58.JoinColumn)({ name: "reviewee_id" })
5215
5287
  ], Rating.prototype, "reviewee", 2);
5216
5288
  __decorateClass([
5217
- (0, import_typeorm57.Column)({
5289
+ (0, import_typeorm58.Column)({
5218
5290
  type: "enum",
5219
5291
  enum: RatingTypeEnum,
5220
5292
  nullable: true
5221
5293
  })
5222
5294
  ], Rating.prototype, "ratingType", 2);
5223
5295
  __decorateClass([
5224
- (0, import_typeorm57.Column)({ type: "integer", nullable: true })
5296
+ (0, import_typeorm58.Column)({ type: "integer", nullable: true })
5225
5297
  ], Rating.prototype, "rating", 2);
5226
5298
  __decorateClass([
5227
- (0, import_typeorm57.Column)({ type: "text", nullable: true })
5299
+ (0, import_typeorm58.Column)({ type: "text", nullable: true })
5228
5300
  ], Rating.prototype, "review", 2);
5229
5301
  Rating = __decorateClass([
5230
- (0, import_typeorm57.Entity)("ratings")
5302
+ (0, import_typeorm58.Entity)("ratings")
5231
5303
  ], Rating);
5232
5304
 
5233
5305
  // src/modules/rating/dto/add.rating.dto.ts
@@ -6925,11 +6997,11 @@ var NotificationRMQAdapter = (mode = "microservice") => {
6925
6997
  };
6926
6998
 
6927
6999
  // src/entities/sequence-generator.entity.ts
6928
- var import_typeorm58 = require("typeorm");
7000
+ var import_typeorm59 = require("typeorm");
6929
7001
  var SequenceGenerator = class extends BaseEntity {
6930
7002
  };
6931
7003
  __decorateClass([
6932
- (0, import_typeorm58.Column)({
7004
+ (0, import_typeorm59.Column)({
6933
7005
  name: "module",
6934
7006
  type: "varchar",
6935
7007
  length: 50,
@@ -6938,7 +7010,7 @@ __decorateClass([
6938
7010
  })
6939
7011
  ], SequenceGenerator.prototype, "module", 2);
6940
7012
  __decorateClass([
6941
- (0, import_typeorm58.Column)({
7013
+ (0, import_typeorm59.Column)({
6942
7014
  name: "prefix",
6943
7015
  type: "varchar",
6944
7016
  length: 10,
@@ -6947,7 +7019,7 @@ __decorateClass([
6947
7019
  })
6948
7020
  ], SequenceGenerator.prototype, "prefix", 2);
6949
7021
  __decorateClass([
6950
- (0, import_typeorm58.Column)({
7022
+ (0, import_typeorm59.Column)({
6951
7023
  name: "last_sequence",
6952
7024
  type: "int",
6953
7025
  nullable: false,
@@ -6955,7 +7027,7 @@ __decorateClass([
6955
7027
  })
6956
7028
  ], SequenceGenerator.prototype, "lastSequence", 2);
6957
7029
  __decorateClass([
6958
- (0, import_typeorm58.Column)({
7030
+ (0, import_typeorm59.Column)({
6959
7031
  name: "year",
6960
7032
  type: "int",
6961
7033
  nullable: true,
@@ -6963,11 +7035,11 @@ __decorateClass([
6963
7035
  })
6964
7036
  ], SequenceGenerator.prototype, "year", 2);
6965
7037
  SequenceGenerator = __decorateClass([
6966
- (0, import_typeorm58.Entity)("sequence_generators")
7038
+ (0, import_typeorm59.Entity)("sequence_generators")
6967
7039
  ], SequenceGenerator);
6968
7040
 
6969
7041
  // src/entities/question.entity.ts
6970
- var import_typeorm59 = require("typeorm");
7042
+ var import_typeorm60 = require("typeorm");
6971
7043
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
6972
7044
  QuestionFor2["CLIENT"] = "CLIENT";
6973
7045
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -6976,16 +7048,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
6976
7048
  var Question = class extends BaseEntity {
6977
7049
  };
6978
7050
  __decorateClass([
6979
- (0, import_typeorm59.Column)({ name: "question", type: "varchar" })
7051
+ (0, import_typeorm60.Column)({ name: "question", type: "varchar" })
6980
7052
  ], Question.prototype, "question", 2);
6981
7053
  __decorateClass([
6982
- (0, import_typeorm59.Column)({ name: "hint", type: "varchar", nullable: true })
7054
+ (0, import_typeorm60.Column)({ name: "hint", type: "varchar", nullable: true })
6983
7055
  ], Question.prototype, "hint", 2);
6984
7056
  __decorateClass([
6985
- (0, import_typeorm59.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
7057
+ (0, import_typeorm60.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
6986
7058
  ], Question.prototype, "slug", 2);
6987
7059
  __decorateClass([
6988
- (0, import_typeorm59.Column)({
7060
+ (0, import_typeorm60.Column)({
6989
7061
  name: "question_for",
6990
7062
  type: "enum",
6991
7063
  enum: QuestionFor,
@@ -6993,117 +7065,117 @@ __decorateClass([
6993
7065
  })
6994
7066
  ], Question.prototype, "questionFor", 2);
6995
7067
  __decorateClass([
6996
- (0, import_typeorm59.Column)({ name: "type", type: "varchar", nullable: true })
7068
+ (0, import_typeorm60.Column)({ name: "type", type: "varchar", nullable: true })
6997
7069
  ], Question.prototype, "type", 2);
6998
7070
  __decorateClass([
6999
- (0, import_typeorm59.Column)({ name: "options", type: "jsonb", nullable: true })
7071
+ (0, import_typeorm60.Column)({ name: "options", type: "jsonb", nullable: true })
7000
7072
  ], Question.prototype, "options", 2);
7001
7073
  __decorateClass([
7002
- (0, import_typeorm59.Column)({ name: "is_active", type: "boolean", default: false })
7074
+ (0, import_typeorm60.Column)({ name: "is_active", type: "boolean", default: false })
7003
7075
  ], Question.prototype, "isActive", 2);
7004
7076
  Question = __decorateClass([
7005
- (0, import_typeorm59.Entity)("questions")
7077
+ (0, import_typeorm60.Entity)("questions")
7006
7078
  ], Question);
7007
7079
 
7008
7080
  // src/entities/skill.entity.ts
7009
- var import_typeorm60 = require("typeorm");
7081
+ var import_typeorm61 = require("typeorm");
7010
7082
  var Skill = class extends BaseEntity {
7011
7083
  };
7012
7084
  __decorateClass([
7013
- (0, import_typeorm60.Column)({ name: "name", type: "varchar", nullable: true })
7085
+ (0, import_typeorm61.Column)({ name: "name", type: "varchar", nullable: true })
7014
7086
  ], Skill.prototype, "name", 2);
7015
7087
  __decorateClass([
7016
- (0, import_typeorm60.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
7088
+ (0, import_typeorm61.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
7017
7089
  ], Skill.prototype, "slug", 2);
7018
7090
  __decorateClass([
7019
- (0, import_typeorm60.Column)({ name: "is_active", type: "boolean", default: false })
7091
+ (0, import_typeorm61.Column)({ name: "is_active", type: "boolean", default: false })
7020
7092
  ], Skill.prototype, "isActive", 2);
7021
7093
  Skill = __decorateClass([
7022
- (0, import_typeorm60.Entity)("skills")
7094
+ (0, import_typeorm61.Entity)("skills")
7023
7095
  ], Skill);
7024
7096
 
7025
7097
  // src/entities/job-role.entity.ts
7026
- var import_typeorm61 = require("typeorm");
7098
+ var import_typeorm62 = require("typeorm");
7027
7099
  var JobRoles = class extends BaseEntity {
7028
7100
  };
7029
7101
  __decorateClass([
7030
- (0, import_typeorm61.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
7102
+ (0, import_typeorm62.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
7031
7103
  ], JobRoles.prototype, "slug", 2);
7032
7104
  __decorateClass([
7033
- (0, import_typeorm61.Column)({ name: "name", type: "varchar", nullable: true })
7105
+ (0, import_typeorm62.Column)({ name: "name", type: "varchar", nullable: true })
7034
7106
  ], JobRoles.prototype, "name", 2);
7035
7107
  __decorateClass([
7036
- (0, import_typeorm61.Column)({ name: "is_active", type: "boolean", default: true })
7108
+ (0, import_typeorm62.Column)({ name: "is_active", type: "boolean", default: true })
7037
7109
  ], JobRoles.prototype, "isActive", 2);
7038
7110
  JobRoles = __decorateClass([
7039
- (0, import_typeorm61.Entity)("job_roles")
7111
+ (0, import_typeorm62.Entity)("job_roles")
7040
7112
  ], JobRoles);
7041
7113
 
7042
7114
  // src/entities/plan.entity.ts
7043
- var import_typeorm63 = require("typeorm");
7115
+ var import_typeorm64 = require("typeorm");
7044
7116
 
7045
7117
  // src/entities/feature.entity.ts
7046
- var import_typeorm62 = require("typeorm");
7118
+ var import_typeorm63 = require("typeorm");
7047
7119
  var Feature = class extends BaseEntity {
7048
7120
  };
7049
7121
  __decorateClass([
7050
- (0, import_typeorm62.Column)({ name: "name", type: "varchar", unique: true })
7122
+ (0, import_typeorm63.Column)({ name: "name", type: "varchar", unique: true })
7051
7123
  ], Feature.prototype, "name", 2);
7052
7124
  __decorateClass([
7053
- (0, import_typeorm62.ManyToMany)(() => Plan, (plan) => plan.features)
7125
+ (0, import_typeorm63.ManyToMany)(() => Plan, (plan) => plan.features)
7054
7126
  ], Feature.prototype, "plans", 2);
7055
7127
  Feature = __decorateClass([
7056
- (0, import_typeorm62.Entity)("features")
7128
+ (0, import_typeorm63.Entity)("features")
7057
7129
  ], Feature);
7058
7130
 
7059
7131
  // src/entities/plan.entity.ts
7060
7132
  var Plan = class extends BaseEntity {
7061
7133
  };
7062
7134
  __decorateClass([
7063
- (0, import_typeorm63.Column)({ name: "name", type: "varchar", unique: true })
7135
+ (0, import_typeorm64.Column)({ name: "name", type: "varchar", unique: true })
7064
7136
  ], Plan.prototype, "name", 2);
7065
7137
  __decorateClass([
7066
- (0, import_typeorm63.Column)({ name: "description", type: "varchar", nullable: true })
7138
+ (0, import_typeorm64.Column)({ name: "description", type: "varchar", nullable: true })
7067
7139
  ], Plan.prototype, "description", 2);
7068
7140
  __decorateClass([
7069
- (0, import_typeorm63.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
7141
+ (0, import_typeorm64.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
7070
7142
  ], Plan.prototype, "price", 2);
7071
7143
  __decorateClass([
7072
- (0, import_typeorm63.Column)({ name: "billing_period", type: "varchar" })
7144
+ (0, import_typeorm64.Column)({ name: "billing_period", type: "varchar" })
7073
7145
  ], Plan.prototype, "billingPeriod", 2);
7074
7146
  __decorateClass([
7075
- (0, import_typeorm63.Column)({ name: "is_current", type: "boolean", default: false })
7147
+ (0, import_typeorm64.Column)({ name: "is_current", type: "boolean", default: false })
7076
7148
  ], Plan.prototype, "isCurrent", 2);
7077
7149
  __decorateClass([
7078
- (0, import_typeorm63.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
7079
- (0, import_typeorm63.JoinTable)()
7150
+ (0, import_typeorm64.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
7151
+ (0, import_typeorm64.JoinTable)()
7080
7152
  ], Plan.prototype, "features", 2);
7081
7153
  Plan = __decorateClass([
7082
- (0, import_typeorm63.Entity)("plans")
7154
+ (0, import_typeorm64.Entity)("plans")
7083
7155
  ], Plan);
7084
7156
 
7085
7157
  // src/entities/cms.entity.ts
7086
- var import_typeorm64 = require("typeorm");
7158
+ var import_typeorm65 = require("typeorm");
7087
7159
  var Cms = class extends BaseEntity {
7088
7160
  };
7089
7161
  __decorateClass([
7090
- (0, import_typeorm64.Column)({ name: "title", type: "varchar", nullable: true })
7162
+ (0, import_typeorm65.Column)({ name: "title", type: "varchar", nullable: true })
7091
7163
  ], Cms.prototype, "title", 2);
7092
7164
  __decorateClass([
7093
- (0, import_typeorm64.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
7165
+ (0, import_typeorm65.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
7094
7166
  ], Cms.prototype, "slug", 2);
7095
7167
  __decorateClass([
7096
- (0, import_typeorm64.Column)({ name: "content", type: "varchar", nullable: true })
7168
+ (0, import_typeorm65.Column)({ name: "content", type: "varchar", nullable: true })
7097
7169
  ], Cms.prototype, "content", 2);
7098
7170
  __decorateClass([
7099
- (0, import_typeorm64.Column)({ name: "is_active", type: "boolean", default: true })
7171
+ (0, import_typeorm65.Column)({ name: "is_active", type: "boolean", default: true })
7100
7172
  ], Cms.prototype, "isActive", 2);
7101
7173
  Cms = __decorateClass([
7102
- (0, import_typeorm64.Entity)("cms")
7174
+ (0, import_typeorm65.Entity)("cms")
7103
7175
  ], Cms);
7104
7176
 
7105
7177
  // src/entities/lead.entity.ts
7106
- var import_typeorm65 = require("typeorm");
7178
+ var import_typeorm66 = require("typeorm");
7107
7179
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
7108
7180
  CategoryEmum2["BUSINESS"] = "BUSINESS";
7109
7181
  CategoryEmum2["FREELANCER"] = "FREELANCER";
@@ -7112,22 +7184,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
7112
7184
  var Lead = class extends BaseEntity {
7113
7185
  };
7114
7186
  __decorateClass([
7115
- (0, import_typeorm65.Column)({ name: "name", type: "varchar", nullable: true })
7187
+ (0, import_typeorm66.Column)({ name: "name", type: "varchar", nullable: true })
7116
7188
  ], Lead.prototype, "name", 2);
7117
7189
  __decorateClass([
7118
- (0, import_typeorm65.Column)({ name: "mobile_code", type: "varchar", nullable: true })
7190
+ (0, import_typeorm66.Column)({ name: "mobile_code", type: "varchar", nullable: true })
7119
7191
  ], Lead.prototype, "mobileCode", 2);
7120
7192
  __decorateClass([
7121
- (0, import_typeorm65.Column)({ name: "mobile", type: "varchar", nullable: true })
7193
+ (0, import_typeorm66.Column)({ name: "mobile", type: "varchar", nullable: true })
7122
7194
  ], Lead.prototype, "mobile", 2);
7123
7195
  __decorateClass([
7124
- (0, import_typeorm65.Column)({ name: "email", type: "varchar", nullable: true })
7196
+ (0, import_typeorm66.Column)({ name: "email", type: "varchar", nullable: true })
7125
7197
  ], Lead.prototype, "email", 2);
7126
7198
  __decorateClass([
7127
- (0, import_typeorm65.Column)({ name: "description", type: "varchar", nullable: true })
7199
+ (0, import_typeorm66.Column)({ name: "description", type: "varchar", nullable: true })
7128
7200
  ], Lead.prototype, "description", 2);
7129
7201
  __decorateClass([
7130
- (0, import_typeorm65.Column)({
7202
+ (0, import_typeorm66.Column)({
7131
7203
  name: "category",
7132
7204
  type: "enum",
7133
7205
  enum: CategoryEmum,
@@ -7135,129 +7207,129 @@ __decorateClass([
7135
7207
  })
7136
7208
  ], Lead.prototype, "category", 2);
7137
7209
  Lead = __decorateClass([
7138
- (0, import_typeorm65.Entity)("leads")
7210
+ (0, import_typeorm66.Entity)("leads")
7139
7211
  ], Lead);
7140
7212
 
7141
7213
  // src/entities/job-freelancer-recommendation.entity.ts
7142
- var import_typeorm66 = require("typeorm");
7214
+ var import_typeorm67 = require("typeorm");
7143
7215
  var JobFreelancerRecommendation = class {
7144
7216
  };
7145
7217
  __decorateClass([
7146
- (0, import_typeorm66.ViewColumn)({ name: "job_id" })
7218
+ (0, import_typeorm67.ViewColumn)({ name: "job_id" })
7147
7219
  ], JobFreelancerRecommendation.prototype, "jobId", 2);
7148
7220
  __decorateClass([
7149
- (0, import_typeorm66.ViewColumn)({ name: "job_uuid" })
7221
+ (0, import_typeorm67.ViewColumn)({ name: "job_uuid" })
7150
7222
  ], JobFreelancerRecommendation.prototype, "jobUuid", 2);
7151
7223
  __decorateClass([
7152
- (0, import_typeorm66.ViewColumn)({ name: "job_unique_id" })
7224
+ (0, import_typeorm67.ViewColumn)({ name: "job_unique_id" })
7153
7225
  ], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
7154
7226
  __decorateClass([
7155
- (0, import_typeorm66.ViewColumn)({ name: "job_role" })
7227
+ (0, import_typeorm67.ViewColumn)({ name: "job_role" })
7156
7228
  ], JobFreelancerRecommendation.prototype, "jobRole", 2);
7157
7229
  __decorateClass([
7158
- (0, import_typeorm66.ViewColumn)({ name: "job_openings" })
7230
+ (0, import_typeorm67.ViewColumn)({ name: "job_openings" })
7159
7231
  ], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
7160
7232
  __decorateClass([
7161
- (0, import_typeorm66.ViewColumn)({ name: "job_location" })
7233
+ (0, import_typeorm67.ViewColumn)({ name: "job_location" })
7162
7234
  ], JobFreelancerRecommendation.prototype, "jobLocation", 2);
7163
7235
  __decorateClass([
7164
- (0, import_typeorm66.ViewColumn)({ name: "job_currency" })
7236
+ (0, import_typeorm67.ViewColumn)({ name: "job_currency" })
7165
7237
  ], JobFreelancerRecommendation.prototype, "jobCurrency", 2);
7166
7238
  __decorateClass([
7167
- (0, import_typeorm66.ViewColumn)({ name: "job_salary_from" })
7239
+ (0, import_typeorm67.ViewColumn)({ name: "job_salary_from" })
7168
7240
  ], JobFreelancerRecommendation.prototype, "jobSalaryFrom", 2);
7169
7241
  __decorateClass([
7170
- (0, import_typeorm66.ViewColumn)({ name: "job_salary_to" })
7242
+ (0, import_typeorm67.ViewColumn)({ name: "job_salary_to" })
7171
7243
  ], JobFreelancerRecommendation.prototype, "jobSalaryTo", 2);
7172
7244
  __decorateClass([
7173
- (0, import_typeorm66.ViewColumn)({ name: "job_employment_type" })
7245
+ (0, import_typeorm67.ViewColumn)({ name: "job_employment_type" })
7174
7246
  ], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
7175
7247
  __decorateClass([
7176
- (0, import_typeorm66.ViewColumn)({ name: "application_received" })
7248
+ (0, import_typeorm67.ViewColumn)({ name: "application_received" })
7177
7249
  ], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
7178
7250
  __decorateClass([
7179
- (0, import_typeorm66.ViewColumn)({ name: "job_posted_at" })
7251
+ (0, import_typeorm67.ViewColumn)({ name: "job_posted_at" })
7180
7252
  ], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
7181
7253
  __decorateClass([
7182
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_id" })
7254
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_id" })
7183
7255
  ], JobFreelancerRecommendation.prototype, "freelancerId", 2);
7184
7256
  __decorateClass([
7185
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_uuid" })
7257
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_uuid" })
7186
7258
  ], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
7187
7259
  __decorateClass([
7188
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_unique_id" })
7260
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_unique_id" })
7189
7261
  ], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
7190
7262
  __decorateClass([
7191
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_first_name" })
7263
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_first_name" })
7192
7264
  ], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
7193
7265
  __decorateClass([
7194
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_last_name" })
7266
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_last_name" })
7195
7267
  ], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
7196
7268
  __decorateClass([
7197
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_email" })
7269
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_email" })
7198
7270
  ], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
7199
7271
  __decorateClass([
7200
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_profile_picture" })
7272
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_profile_picture" })
7201
7273
  ], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
7202
7274
  __decorateClass([
7203
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_is_social" })
7275
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_is_social" })
7204
7276
  ], JobFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
7205
7277
  __decorateClass([
7206
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_created_at" })
7278
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_created_at" })
7207
7279
  ], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
7208
7280
  __decorateClass([
7209
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_designation" })
7281
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_designation" })
7210
7282
  ], JobFreelancerRecommendation.prototype, "freelancerDesignation", 2);
7211
7283
  __decorateClass([
7212
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_experience" })
7284
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_experience" })
7213
7285
  ], JobFreelancerRecommendation.prototype, "freelancerExperience", 2);
7214
7286
  __decorateClass([
7215
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_expertshub_verified" })
7287
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_expertshub_verified" })
7216
7288
  ], JobFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
7217
7289
  __decorateClass([
7218
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_hourly_compensation" })
7290
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_hourly_compensation" })
7219
7291
  ], JobFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
7220
7292
  __decorateClass([
7221
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_country_name" })
7293
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_country_name" })
7222
7294
  ], JobFreelancerRecommendation.prototype, "freelancerCountryName", 2);
7223
7295
  __decorateClass([
7224
- (0, import_typeorm66.ViewColumn)({ name: "freelancer_country_iso_code" })
7296
+ (0, import_typeorm67.ViewColumn)({ name: "freelancer_country_iso_code" })
7225
7297
  ], JobFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
7226
7298
  __decorateClass([
7227
- (0, import_typeorm66.ViewColumn)({ name: "client_id" })
7299
+ (0, import_typeorm67.ViewColumn)({ name: "client_id" })
7228
7300
  ], JobFreelancerRecommendation.prototype, "clientId", 2);
7229
7301
  __decorateClass([
7230
- (0, import_typeorm66.ViewColumn)({ name: "client_uuid" })
7302
+ (0, import_typeorm67.ViewColumn)({ name: "client_uuid" })
7231
7303
  ], JobFreelancerRecommendation.prototype, "clientUuid", 2);
7232
7304
  __decorateClass([
7233
- (0, import_typeorm66.ViewColumn)({ name: "client_first_name" })
7305
+ (0, import_typeorm67.ViewColumn)({ name: "client_first_name" })
7234
7306
  ], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
7235
7307
  __decorateClass([
7236
- (0, import_typeorm66.ViewColumn)({ name: "client_last_name" })
7308
+ (0, import_typeorm67.ViewColumn)({ name: "client_last_name" })
7237
7309
  ], JobFreelancerRecommendation.prototype, "clientLastName", 2);
7238
7310
  __decorateClass([
7239
- (0, import_typeorm66.ViewColumn)({ name: "client_email" })
7311
+ (0, import_typeorm67.ViewColumn)({ name: "client_email" })
7240
7312
  ], JobFreelancerRecommendation.prototype, "clientEmail", 2);
7241
7313
  __decorateClass([
7242
- (0, import_typeorm66.ViewColumn)({ name: "client_company_logo" })
7314
+ (0, import_typeorm67.ViewColumn)({ name: "client_company_logo" })
7243
7315
  ], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
7244
7316
  __decorateClass([
7245
- (0, import_typeorm66.ViewColumn)({ name: "client_company_name" })
7317
+ (0, import_typeorm67.ViewColumn)({ name: "client_company_name" })
7246
7318
  ], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
7247
7319
  __decorateClass([
7248
- (0, import_typeorm66.ViewColumn)({ name: "matching_skills" })
7320
+ (0, import_typeorm67.ViewColumn)({ name: "matching_skills" })
7249
7321
  ], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
7250
7322
  __decorateClass([
7251
- (0, import_typeorm66.ViewColumn)({ name: "matching_skills_count" })
7323
+ (0, import_typeorm67.ViewColumn)({ name: "matching_skills_count" })
7252
7324
  ], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
7253
7325
  __decorateClass([
7254
- (0, import_typeorm66.ViewColumn)({ name: "required_skills" })
7326
+ (0, import_typeorm67.ViewColumn)({ name: "required_skills" })
7255
7327
  ], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
7256
7328
  __decorateClass([
7257
- (0, import_typeorm66.ViewColumn)({ name: "required_skills_count" })
7329
+ (0, import_typeorm67.ViewColumn)({ name: "required_skills_count" })
7258
7330
  ], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
7259
7331
  JobFreelancerRecommendation = __decorateClass([
7260
- (0, import_typeorm66.ViewEntity)({
7332
+ (0, import_typeorm67.ViewEntity)({
7261
7333
  name: "job_freelancer_recommendations",
7262
7334
  materialized: true,
7263
7335
  synchronize: false
@@ -7266,32 +7338,32 @@ JobFreelancerRecommendation = __decorateClass([
7266
7338
  ], JobFreelancerRecommendation);
7267
7339
 
7268
7340
  // src/entities/job-freelancer-recommendation-v2.entity.ts
7269
- var import_typeorm67 = require("typeorm");
7341
+ var import_typeorm68 = require("typeorm");
7270
7342
  var JobFreelancerRecommendationV2 = class {
7271
7343
  };
7272
7344
  __decorateClass([
7273
- (0, import_typeorm67.ViewColumn)({ name: "job_id" })
7345
+ (0, import_typeorm68.ViewColumn)({ name: "job_id" })
7274
7346
  ], JobFreelancerRecommendationV2.prototype, "jobId", 2);
7275
7347
  __decorateClass([
7276
- (0, import_typeorm67.ViewColumn)({ name: "job_owner_id" })
7348
+ (0, import_typeorm68.ViewColumn)({ name: "job_owner_id" })
7277
7349
  ], JobFreelancerRecommendationV2.prototype, "jobOwnerId", 2);
7278
7350
  __decorateClass([
7279
- (0, import_typeorm67.ViewColumn)({ name: "freelancer_id" })
7351
+ (0, import_typeorm68.ViewColumn)({ name: "freelancer_id" })
7280
7352
  ], JobFreelancerRecommendationV2.prototype, "freelancerId", 2);
7281
7353
  __decorateClass([
7282
- (0, import_typeorm67.ViewColumn)({ name: "matching_skills" })
7354
+ (0, import_typeorm68.ViewColumn)({ name: "matching_skills" })
7283
7355
  ], JobFreelancerRecommendationV2.prototype, "matchingSkills", 2);
7284
7356
  __decorateClass([
7285
- (0, import_typeorm67.ViewColumn)({ name: "matching_skills_count" })
7357
+ (0, import_typeorm68.ViewColumn)({ name: "matching_skills_count" })
7286
7358
  ], JobFreelancerRecommendationV2.prototype, "matchingSkillsCount", 2);
7287
7359
  __decorateClass([
7288
- (0, import_typeorm67.ViewColumn)({ name: "required_skills" })
7360
+ (0, import_typeorm68.ViewColumn)({ name: "required_skills" })
7289
7361
  ], JobFreelancerRecommendationV2.prototype, "requiredSkills", 2);
7290
7362
  __decorateClass([
7291
- (0, import_typeorm67.ViewColumn)({ name: "required_skills_count" })
7363
+ (0, import_typeorm68.ViewColumn)({ name: "required_skills_count" })
7292
7364
  ], JobFreelancerRecommendationV2.prototype, "requiredSkillsCount", 2);
7293
7365
  JobFreelancerRecommendationV2 = __decorateClass([
7294
- (0, import_typeorm67.ViewEntity)({
7366
+ (0, import_typeorm68.ViewEntity)({
7295
7367
  name: "job_freelancer_recommendations_v2",
7296
7368
  materialized: true,
7297
7369
  synchronize: false
@@ -7300,74 +7372,74 @@ JobFreelancerRecommendationV2 = __decorateClass([
7300
7372
  ], JobFreelancerRecommendationV2);
7301
7373
 
7302
7374
  // src/entities/client-freelancer-recommendation.entity.ts
7303
- var import_typeorm68 = require("typeorm");
7375
+ var import_typeorm69 = require("typeorm");
7304
7376
  var ClientFreelancerRecommendation = class {
7305
7377
  };
7306
7378
  __decorateClass([
7307
- (0, import_typeorm68.ViewColumn)({ name: "client_id" })
7379
+ (0, import_typeorm69.ViewColumn)({ name: "client_id" })
7308
7380
  ], ClientFreelancerRecommendation.prototype, "clientId", 2);
7309
7381
  __decorateClass([
7310
- (0, import_typeorm68.ViewColumn)({ name: "client_uuid" })
7382
+ (0, import_typeorm69.ViewColumn)({ name: "client_uuid" })
7311
7383
  ], ClientFreelancerRecommendation.prototype, "clientUuid", 2);
7312
7384
  __decorateClass([
7313
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_id" })
7385
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_id" })
7314
7386
  ], ClientFreelancerRecommendation.prototype, "freelancerId", 2);
7315
7387
  __decorateClass([
7316
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_uuid" })
7388
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_uuid" })
7317
7389
  ], ClientFreelancerRecommendation.prototype, "freelancerUuid", 2);
7318
7390
  __decorateClass([
7319
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_unique_id" })
7391
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_unique_id" })
7320
7392
  ], ClientFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
7321
7393
  __decorateClass([
7322
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_first_name" })
7394
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_first_name" })
7323
7395
  ], ClientFreelancerRecommendation.prototype, "freelancerFirstName", 2);
7324
7396
  __decorateClass([
7325
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_last_name" })
7397
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_last_name" })
7326
7398
  ], ClientFreelancerRecommendation.prototype, "freelancerLastName", 2);
7327
7399
  __decorateClass([
7328
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_email" })
7400
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_email" })
7329
7401
  ], ClientFreelancerRecommendation.prototype, "freelancerEmail", 2);
7330
7402
  __decorateClass([
7331
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_profile_picture" })
7403
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_profile_picture" })
7332
7404
  ], ClientFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
7333
7405
  __decorateClass([
7334
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_is_social" })
7406
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_is_social" })
7335
7407
  ], ClientFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
7336
7408
  __decorateClass([
7337
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_created_at" })
7409
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_created_at" })
7338
7410
  ], ClientFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
7339
7411
  __decorateClass([
7340
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_designation" })
7412
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_designation" })
7341
7413
  ], ClientFreelancerRecommendation.prototype, "freelancerDesignation", 2);
7342
7414
  __decorateClass([
7343
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_experience" })
7415
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_experience" })
7344
7416
  ], ClientFreelancerRecommendation.prototype, "freelancerExperience", 2);
7345
7417
  __decorateClass([
7346
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_expertshub_verified" })
7418
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_expertshub_verified" })
7347
7419
  ], ClientFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
7348
7420
  __decorateClass([
7349
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_hourly_compensation" })
7421
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_hourly_compensation" })
7350
7422
  ], ClientFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
7351
7423
  __decorateClass([
7352
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_country_name" })
7424
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_country_name" })
7353
7425
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryName", 2);
7354
7426
  __decorateClass([
7355
- (0, import_typeorm68.ViewColumn)({ name: "freelancer_country_iso_code" })
7427
+ (0, import_typeorm69.ViewColumn)({ name: "freelancer_country_iso_code" })
7356
7428
  ], ClientFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
7357
7429
  __decorateClass([
7358
- (0, import_typeorm68.ViewColumn)({ name: "matching_skills" })
7430
+ (0, import_typeorm69.ViewColumn)({ name: "matching_skills" })
7359
7431
  ], ClientFreelancerRecommendation.prototype, "matchingSkills", 2);
7360
7432
  __decorateClass([
7361
- (0, import_typeorm68.ViewColumn)({ name: "matching_skills_count" })
7433
+ (0, import_typeorm69.ViewColumn)({ name: "matching_skills_count" })
7362
7434
  ], ClientFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
7363
7435
  __decorateClass([
7364
- (0, import_typeorm68.ViewColumn)({ name: "required_skills" })
7436
+ (0, import_typeorm69.ViewColumn)({ name: "required_skills" })
7365
7437
  ], ClientFreelancerRecommendation.prototype, "requiredSkills", 2);
7366
7438
  __decorateClass([
7367
- (0, import_typeorm68.ViewColumn)({ name: "required_skills_count" })
7439
+ (0, import_typeorm69.ViewColumn)({ name: "required_skills_count" })
7368
7440
  ], ClientFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
7369
7441
  ClientFreelancerRecommendation = __decorateClass([
7370
- (0, import_typeorm68.ViewEntity)({
7442
+ (0, import_typeorm69.ViewEntity)({
7371
7443
  name: "client_freelancer_recommendations",
7372
7444
  materialized: true,
7373
7445
  synchronize: false
@@ -7376,7 +7448,7 @@ ClientFreelancerRecommendation = __decorateClass([
7376
7448
  ], ClientFreelancerRecommendation);
7377
7449
 
7378
7450
  // src/entities/commission.entity.ts
7379
- var import_typeorm69 = require("typeorm");
7451
+ var import_typeorm70 = require("typeorm");
7380
7452
  var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
7381
7453
  CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
7382
7454
  CommissionTypeEnum2["FLAT"] = "FLAT";
@@ -7385,7 +7457,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
7385
7457
  var Commission = class extends BaseEntity {
7386
7458
  };
7387
7459
  __decorateClass([
7388
- (0, import_typeorm69.Column)({
7460
+ (0, import_typeorm70.Column)({
7389
7461
  name: "freelancer_commission_type",
7390
7462
  type: "enum",
7391
7463
  enum: CommissionTypeEnum,
@@ -7393,10 +7465,10 @@ __decorateClass([
7393
7465
  })
7394
7466
  ], Commission.prototype, "freelancerCommissionType", 2);
7395
7467
  __decorateClass([
7396
- (0, import_typeorm69.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
7468
+ (0, import_typeorm70.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
7397
7469
  ], Commission.prototype, "freelancerCommission", 2);
7398
7470
  __decorateClass([
7399
- (0, import_typeorm69.Column)({
7471
+ (0, import_typeorm70.Column)({
7400
7472
  name: "client_commission_type",
7401
7473
  type: "enum",
7402
7474
  enum: CommissionTypeEnum,
@@ -7404,66 +7476,66 @@ __decorateClass([
7404
7476
  })
7405
7477
  ], Commission.prototype, "clientCommissionType", 2);
7406
7478
  __decorateClass([
7407
- (0, import_typeorm69.Column)({ name: "client_commission", type: "integer", default: 0 })
7479
+ (0, import_typeorm70.Column)({ name: "client_commission", type: "integer", default: 0 })
7408
7480
  ], Commission.prototype, "clientCommission", 2);
7409
7481
  Commission = __decorateClass([
7410
- (0, import_typeorm69.Entity)("commissions")
7482
+ (0, import_typeorm70.Entity)("commissions")
7411
7483
  ], Commission);
7412
7484
 
7413
7485
  // src/entities/calendly-meeting-log.entity.ts
7414
- var import_typeorm70 = require("typeorm");
7486
+ var import_typeorm71 = require("typeorm");
7415
7487
  var CalendlyMeetingLog = class extends BaseEntity {
7416
7488
  };
7417
7489
  __decorateClass([
7418
- (0, import_typeorm70.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
7419
- (0, import_typeorm70.Index)()
7490
+ (0, import_typeorm71.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
7491
+ (0, import_typeorm71.Index)()
7420
7492
  ], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
7421
7493
  __decorateClass([
7422
- (0, import_typeorm70.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
7494
+ (0, import_typeorm71.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
7423
7495
  ], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
7424
7496
  __decorateClass([
7425
- (0, import_typeorm70.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7497
+ (0, import_typeorm71.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7426
7498
  ], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
7427
7499
  CalendlyMeetingLog = __decorateClass([
7428
- (0, import_typeorm70.Entity)("calendly_meeting_logs")
7500
+ (0, import_typeorm71.Entity)("calendly_meeting_logs")
7429
7501
  ], CalendlyMeetingLog);
7430
7502
 
7431
7503
  // src/entities/zoom-meeting-log.entity.ts
7432
- var import_typeorm71 = require("typeorm");
7504
+ var import_typeorm72 = require("typeorm");
7433
7505
  var ZoomMeetingLog = class extends BaseEntity {
7434
7506
  };
7435
7507
  __decorateClass([
7436
- (0, import_typeorm71.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
7437
- (0, import_typeorm71.Index)()
7508
+ (0, import_typeorm72.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
7509
+ (0, import_typeorm72.Index)()
7438
7510
  ], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
7439
7511
  __decorateClass([
7440
- (0, import_typeorm71.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
7512
+ (0, import_typeorm72.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
7441
7513
  ], ZoomMeetingLog.prototype, "zoomEventType", 2);
7442
7514
  __decorateClass([
7443
- (0, import_typeorm71.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7515
+ (0, import_typeorm72.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7444
7516
  ], ZoomMeetingLog.prototype, "rawWebhookData", 2);
7445
7517
  ZoomMeetingLog = __decorateClass([
7446
- (0, import_typeorm71.Entity)("zoom_meeting_logs")
7518
+ (0, import_typeorm72.Entity)("zoom_meeting_logs")
7447
7519
  ], ZoomMeetingLog);
7448
7520
 
7449
7521
  // src/entities/stripe-logs.entity.ts
7450
- var import_typeorm72 = require("typeorm");
7522
+ var import_typeorm73 = require("typeorm");
7451
7523
  var StripeLog = class extends BaseEntity {
7452
7524
  };
7453
7525
  __decorateClass([
7454
- (0, import_typeorm72.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
7526
+ (0, import_typeorm73.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
7455
7527
  ], StripeLog.prototype, "stripeEventId", 2);
7456
7528
  __decorateClass([
7457
- (0, import_typeorm72.Column)({ name: "event_type", type: "varchar", nullable: true })
7529
+ (0, import_typeorm73.Column)({ name: "event_type", type: "varchar", nullable: true })
7458
7530
  ], StripeLog.prototype, "eventType", 2);
7459
7531
  __decorateClass([
7460
- (0, import_typeorm72.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
7532
+ (0, import_typeorm73.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
7461
7533
  ], StripeLog.prototype, "stripeAccountId", 2);
7462
7534
  __decorateClass([
7463
- (0, import_typeorm72.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7535
+ (0, import_typeorm73.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
7464
7536
  ], StripeLog.prototype, "rawWebhookData", 2);
7465
7537
  StripeLog = __decorateClass([
7466
- (0, import_typeorm72.Entity)("stripe_logs")
7538
+ (0, import_typeorm73.Entity)("stripe_logs")
7467
7539
  ], StripeLog);
7468
7540
  // Annotate the CommonJS export names for ESM import in node:
7469
7541
  0 && (module.exports = {
@@ -7550,6 +7622,8 @@ StripeLog = __decorateClass([
7550
7622
  CreateQuestionDto,
7551
7623
  CreateRatingDto,
7552
7624
  CreateSubAdminDto,
7625
+ Dispute,
7626
+ DisputeStatusEnum,
7553
7627
  DocumentType,
7554
7628
  DocumentTypeEnum,
7555
7629
  DurationTypeEnum,