@experts_hub/shared 1.0.437 → 1.0.438

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