@experts_hub/shared 1.0.524 → 1.0.526
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/entities/freelancer-assessment-request.entity.d.ts +15 -0
- package/dist/entities/index.d.ts +1 -0
- package/dist/entities/user.entity.d.ts +3 -0
- package/dist/index.d.mts +21 -1
- package/dist/index.d.ts +21 -1
- package/dist/index.js +342 -269
- package/dist/index.mjs +230 -153
- package/dist/modules/client-admin/dto/create-client.dto.d.ts +2 -0
- package/dist/modules/client-admin/dto/update-client.dto.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -49,6 +49,7 @@ __export(index_exports, {
|
|
|
49
49
|
AnswerTypeEnum: () => AnswerTypeEnum,
|
|
50
50
|
ApplicationStatusEnum: () => ApplicationStatusEnum,
|
|
51
51
|
AssessmentAnswer: () => AssessmentAnswer,
|
|
52
|
+
AssessmentRequestStatusEnum: () => AssessmentRequestStatusEnum,
|
|
52
53
|
AssessmentStatusEnum: () => AssessmentStatusEnum,
|
|
53
54
|
AssessmetQuestion: () => AssessmetQuestion,
|
|
54
55
|
AssessmetQuestionOption: () => AssessmetQuestionOption,
|
|
@@ -143,6 +144,7 @@ __export(index_exports, {
|
|
|
143
144
|
Feature: () => Feature,
|
|
144
145
|
ForgotPasswordDto: () => ForgotPasswordDto,
|
|
145
146
|
FreelancerAssessment: () => FreelancerAssessment,
|
|
147
|
+
FreelancerAssessmentRequest: () => FreelancerAssessmentRequest,
|
|
146
148
|
FreelancerBankDetailsDto: () => FreelancerBankDetailsDto,
|
|
147
149
|
FreelancerCaptureAiAssessmentStatusDto: () => FreelancerCaptureAiAssessmentStatusDto,
|
|
148
150
|
FreelancerCaseStudy: () => FreelancerCaseStudy,
|
|
@@ -1902,10 +1904,10 @@ var RATING_PATTERN = {
|
|
|
1902
1904
|
var import_class_validator43 = require("class-validator");
|
|
1903
1905
|
|
|
1904
1906
|
// src/entities/rating.entity.ts
|
|
1905
|
-
var
|
|
1907
|
+
var import_typeorm64 = require("typeorm");
|
|
1906
1908
|
|
|
1907
1909
|
// src/entities/user.entity.ts
|
|
1908
|
-
var
|
|
1910
|
+
var import_typeorm63 = require("typeorm");
|
|
1909
1911
|
|
|
1910
1912
|
// src/entities/base.entity.ts
|
|
1911
1913
|
var import_typeorm = require("typeorm");
|
|
@@ -5869,6 +5871,47 @@ Wallet = __decorateClass([
|
|
|
5869
5871
|
(0, import_typeorm61.Entity)("wallets")
|
|
5870
5872
|
], Wallet);
|
|
5871
5873
|
|
|
5874
|
+
// src/entities/freelancer-assessment-request.entity.ts
|
|
5875
|
+
var import_typeorm62 = require("typeorm");
|
|
5876
|
+
var AssessmentRequestStatusEnum = /* @__PURE__ */ ((AssessmentRequestStatusEnum2) => {
|
|
5877
|
+
AssessmentRequestStatusEnum2["PENDING"] = "PENDING";
|
|
5878
|
+
AssessmentRequestStatusEnum2["APPROVED"] = "APPROVED";
|
|
5879
|
+
AssessmentRequestStatusEnum2["REJECTED"] = "REJECTED";
|
|
5880
|
+
return AssessmentRequestStatusEnum2;
|
|
5881
|
+
})(AssessmentRequestStatusEnum || {});
|
|
5882
|
+
var FreelancerAssessmentRequest = class extends BaseEntity {
|
|
5883
|
+
};
|
|
5884
|
+
__decorateClass([
|
|
5885
|
+
(0, import_typeorm62.Column)({ name: "freelancer_id", type: "integer", nullable: true }),
|
|
5886
|
+
(0, import_typeorm62.Index)()
|
|
5887
|
+
], FreelancerAssessmentRequest.prototype, "freelancerId", 2);
|
|
5888
|
+
__decorateClass([
|
|
5889
|
+
(0, import_typeorm62.ManyToOne)(() => User, (user) => user.freelancerAssessmentRequests),
|
|
5890
|
+
(0, import_typeorm62.JoinColumn)({ name: "freelancer_id" })
|
|
5891
|
+
], FreelancerAssessmentRequest.prototype, "freelancer", 2);
|
|
5892
|
+
__decorateClass([
|
|
5893
|
+
(0, import_typeorm62.Column)({ name: "approved_by_id", type: "integer", nullable: true }),
|
|
5894
|
+
(0, import_typeorm62.Index)()
|
|
5895
|
+
], FreelancerAssessmentRequest.prototype, "approvedById", 2);
|
|
5896
|
+
__decorateClass([
|
|
5897
|
+
(0, import_typeorm62.ManyToOne)(() => User, (user) => user.assessmentRequests),
|
|
5898
|
+
(0, import_typeorm62.JoinColumn)({ name: "approved_by_id" })
|
|
5899
|
+
], FreelancerAssessmentRequest.prototype, "approvedBy", 2);
|
|
5900
|
+
__decorateClass([
|
|
5901
|
+
(0, import_typeorm62.Column)({
|
|
5902
|
+
name: "status",
|
|
5903
|
+
type: "enum",
|
|
5904
|
+
enum: AssessmentRequestStatusEnum,
|
|
5905
|
+
default: "PENDING" /* PENDING */
|
|
5906
|
+
})
|
|
5907
|
+
], FreelancerAssessmentRequest.prototype, "aiAssessmentStatus", 2);
|
|
5908
|
+
__decorateClass([
|
|
5909
|
+
(0, import_typeorm62.Column)({ name: "assessment_link", type: "text", nullable: true })
|
|
5910
|
+
], FreelancerAssessmentRequest.prototype, "assessmentLink", 2);
|
|
5911
|
+
FreelancerAssessmentRequest = __decorateClass([
|
|
5912
|
+
(0, import_typeorm62.Entity)({ name: "freelancer_assessment_requests" })
|
|
5913
|
+
], FreelancerAssessmentRequest);
|
|
5914
|
+
|
|
5872
5915
|
// src/entities/user.entity.ts
|
|
5873
5916
|
var AccountType = /* @__PURE__ */ ((AccountType2) => {
|
|
5874
5917
|
AccountType2["ADMIN"] = "ADMIN";
|
|
@@ -5894,51 +5937,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
|
|
|
5894
5937
|
var User = class extends BaseEntity {
|
|
5895
5938
|
};
|
|
5896
5939
|
__decorateClass([
|
|
5897
|
-
(0,
|
|
5940
|
+
(0, import_typeorm63.Column)({ name: "unique_id", type: "varchar", unique: true })
|
|
5898
5941
|
], User.prototype, "uniqueId", 2);
|
|
5899
5942
|
__decorateClass([
|
|
5900
|
-
(0,
|
|
5901
|
-
(0,
|
|
5943
|
+
(0, import_typeorm63.Column)({ name: "parent_id", type: "integer", nullable: true }),
|
|
5944
|
+
(0, import_typeorm63.Index)()
|
|
5902
5945
|
], User.prototype, "parentId", 2);
|
|
5903
5946
|
__decorateClass([
|
|
5904
|
-
(0,
|
|
5905
|
-
(0,
|
|
5947
|
+
(0, import_typeorm63.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
|
|
5948
|
+
(0, import_typeorm63.JoinColumn)({ name: "parent_id" })
|
|
5906
5949
|
], User.prototype, "parent", 2);
|
|
5907
5950
|
__decorateClass([
|
|
5908
|
-
(0,
|
|
5951
|
+
(0, import_typeorm63.OneToMany)(() => User, (user) => user.parent)
|
|
5909
5952
|
], User.prototype, "children", 2);
|
|
5910
5953
|
__decorateClass([
|
|
5911
|
-
(0,
|
|
5954
|
+
(0, import_typeorm63.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
|
|
5912
5955
|
], User.prototype, "username", 2);
|
|
5913
5956
|
__decorateClass([
|
|
5914
|
-
(0,
|
|
5957
|
+
(0, import_typeorm63.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
|
|
5915
5958
|
], User.prototype, "firstName", 2);
|
|
5916
5959
|
__decorateClass([
|
|
5917
|
-
(0,
|
|
5960
|
+
(0, import_typeorm63.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
|
|
5918
5961
|
], User.prototype, "lastName", 2);
|
|
5919
5962
|
__decorateClass([
|
|
5920
|
-
(0,
|
|
5963
|
+
(0, import_typeorm63.Column)({ name: "date_of_birth", type: "date", nullable: true })
|
|
5921
5964
|
], User.prototype, "dateOfBirth", 2);
|
|
5922
5965
|
__decorateClass([
|
|
5923
|
-
(0,
|
|
5966
|
+
(0, import_typeorm63.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
|
|
5924
5967
|
], User.prototype, "gender", 2);
|
|
5925
5968
|
__decorateClass([
|
|
5926
|
-
(0,
|
|
5969
|
+
(0, import_typeorm63.Column)({ name: "profile_picture_url", type: "text", nullable: true })
|
|
5927
5970
|
], User.prototype, "profilePictureUrl", 2);
|
|
5928
5971
|
__decorateClass([
|
|
5929
|
-
(0,
|
|
5972
|
+
(0, import_typeorm63.Column)({ name: "email", type: "varchar", unique: true })
|
|
5930
5973
|
], User.prototype, "email", 2);
|
|
5931
5974
|
__decorateClass([
|
|
5932
|
-
(0,
|
|
5975
|
+
(0, import_typeorm63.Column)({ name: "mobile_code", type: "varchar", nullable: true })
|
|
5933
5976
|
], User.prototype, "mobileCode", 2);
|
|
5934
5977
|
__decorateClass([
|
|
5935
|
-
(0,
|
|
5978
|
+
(0, import_typeorm63.Column)({ name: "mobile", type: "varchar", nullable: true })
|
|
5936
5979
|
], User.prototype, "mobile", 2);
|
|
5937
5980
|
__decorateClass([
|
|
5938
|
-
(0,
|
|
5981
|
+
(0, import_typeorm63.Column)({ name: "password", type: "varchar", nullable: true })
|
|
5939
5982
|
], User.prototype, "password", 2);
|
|
5940
5983
|
__decorateClass([
|
|
5941
|
-
(0,
|
|
5984
|
+
(0, import_typeorm63.Column)({
|
|
5942
5985
|
name: "account_type",
|
|
5943
5986
|
type: "enum",
|
|
5944
5987
|
enum: AccountType,
|
|
@@ -5946,7 +5989,7 @@ __decorateClass([
|
|
|
5946
5989
|
})
|
|
5947
5990
|
], User.prototype, "accountType", 2);
|
|
5948
5991
|
__decorateClass([
|
|
5949
|
-
(0,
|
|
5992
|
+
(0, import_typeorm63.Column)({
|
|
5950
5993
|
name: "account_status",
|
|
5951
5994
|
type: "enum",
|
|
5952
5995
|
enum: AccountStatus,
|
|
@@ -5954,42 +5997,42 @@ __decorateClass([
|
|
|
5954
5997
|
})
|
|
5955
5998
|
], User.prototype, "accountStatus", 2);
|
|
5956
5999
|
__decorateClass([
|
|
5957
|
-
(0,
|
|
6000
|
+
(0, import_typeorm63.Column)({ name: "is_email_verified", type: "boolean", default: false })
|
|
5958
6001
|
], User.prototype, "isEmailVerified", 2);
|
|
5959
6002
|
__decorateClass([
|
|
5960
|
-
(0,
|
|
6003
|
+
(0, import_typeorm63.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
|
|
5961
6004
|
], User.prototype, "isMobileVerified", 2);
|
|
5962
6005
|
__decorateClass([
|
|
5963
|
-
(0,
|
|
6006
|
+
(0, import_typeorm63.Column)({ name: "is_social", type: "boolean", default: false })
|
|
5964
6007
|
], User.prototype, "isSocial", 2);
|
|
5965
6008
|
__decorateClass([
|
|
5966
|
-
(0,
|
|
6009
|
+
(0, import_typeorm63.Column)({
|
|
5967
6010
|
name: "last_login_at",
|
|
5968
6011
|
type: "timestamp with time zone",
|
|
5969
6012
|
nullable: true
|
|
5970
6013
|
})
|
|
5971
6014
|
], User.prototype, "lastLoginAt", 2);
|
|
5972
6015
|
__decorateClass([
|
|
5973
|
-
(0,
|
|
6016
|
+
(0, import_typeorm63.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
|
|
5974
6017
|
], User.prototype, "lastLoginIp", 2);
|
|
5975
6018
|
__decorateClass([
|
|
5976
|
-
(0,
|
|
6019
|
+
(0, import_typeorm63.Column)({ name: "reset_token", type: "varchar", nullable: true })
|
|
5977
6020
|
], User.prototype, "resetToken", 2);
|
|
5978
6021
|
__decorateClass([
|
|
5979
|
-
(0,
|
|
6022
|
+
(0, import_typeorm63.Column)({
|
|
5980
6023
|
name: "reset_token_expire_at",
|
|
5981
6024
|
type: "timestamp with time zone",
|
|
5982
6025
|
nullable: true
|
|
5983
6026
|
})
|
|
5984
6027
|
], User.prototype, "resetTokenExpireAt", 2);
|
|
5985
6028
|
__decorateClass([
|
|
5986
|
-
(0,
|
|
6029
|
+
(0, import_typeorm63.Column)({ name: "set_password_token", type: "varchar", nullable: true })
|
|
5987
6030
|
], User.prototype, "setPasswordToken", 2);
|
|
5988
6031
|
__decorateClass([
|
|
5989
|
-
(0,
|
|
6032
|
+
(0, import_typeorm63.OneToMany)(() => RefreshToken, (token) => token.user)
|
|
5990
6033
|
], User.prototype, "refreshTokens", 2);
|
|
5991
6034
|
__decorateClass([
|
|
5992
|
-
(0,
|
|
6035
|
+
(0, import_typeorm63.Column)({
|
|
5993
6036
|
name: "provider",
|
|
5994
6037
|
type: "enum",
|
|
5995
6038
|
enum: Provider,
|
|
@@ -5998,214 +6041,226 @@ __decorateClass([
|
|
|
5998
6041
|
})
|
|
5999
6042
|
], User.prototype, "provider", 2);
|
|
6000
6043
|
__decorateClass([
|
|
6001
|
-
(0,
|
|
6044
|
+
(0, import_typeorm63.Column)({ name: "provider_token", type: "varchar", nullable: true })
|
|
6002
6045
|
], User.prototype, "providerToken", 2);
|
|
6003
6046
|
__decorateClass([
|
|
6004
|
-
(0,
|
|
6047
|
+
(0, import_typeorm63.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
|
|
6005
6048
|
], User.prototype, "linkedInId", 2);
|
|
6006
6049
|
__decorateClass([
|
|
6007
|
-
(0,
|
|
6050
|
+
(0, import_typeorm63.Column)({ name: "google_id", type: "varchar", nullable: true })
|
|
6008
6051
|
], User.prototype, "googleId", 2);
|
|
6009
6052
|
__decorateClass([
|
|
6010
|
-
(0,
|
|
6053
|
+
(0, import_typeorm63.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
|
|
6011
6054
|
], User.prototype, "gitLabsId", 2);
|
|
6012
6055
|
__decorateClass([
|
|
6013
|
-
(0,
|
|
6056
|
+
(0, import_typeorm63.Column)({ name: "onboarded_by", type: "varchar", nullable: true })
|
|
6014
6057
|
], User.prototype, "onBoardedBy", 2);
|
|
6015
6058
|
__decorateClass([
|
|
6016
|
-
(0,
|
|
6059
|
+
(0, import_typeorm63.OneToMany)(() => Otp, (otp) => otp.user)
|
|
6017
6060
|
], User.prototype, "otps", 2);
|
|
6018
6061
|
__decorateClass([
|
|
6019
|
-
(0,
|
|
6062
|
+
(0, import_typeorm63.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
|
|
6020
6063
|
], User.prototype, "senseloafLogs", 2);
|
|
6021
6064
|
__decorateClass([
|
|
6022
|
-
(0,
|
|
6065
|
+
(0, import_typeorm63.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
|
|
6023
6066
|
], User.prototype, "companyProfile", 2);
|
|
6024
6067
|
__decorateClass([
|
|
6025
|
-
(0,
|
|
6068
|
+
(0, import_typeorm63.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
|
|
6026
6069
|
], User.prototype, "companySkills", 2);
|
|
6027
6070
|
__decorateClass([
|
|
6028
|
-
(0,
|
|
6071
|
+
(0, import_typeorm63.OneToMany)(
|
|
6029
6072
|
() => CompanyMemberRole,
|
|
6030
6073
|
(companyMemberRole) => companyMemberRole.user
|
|
6031
6074
|
)
|
|
6032
6075
|
], User.prototype, "companyMemberRoles", 2);
|
|
6033
6076
|
__decorateClass([
|
|
6034
|
-
(0,
|
|
6077
|
+
(0, import_typeorm63.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.interviwer)
|
|
6035
6078
|
], User.prototype, "companyAiInterview", 2);
|
|
6036
6079
|
__decorateClass([
|
|
6037
|
-
(0,
|
|
6080
|
+
(0, import_typeorm63.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.interviwer)
|
|
6038
6081
|
], User.prototype, "clientF2FInterviews", 2);
|
|
6039
6082
|
__decorateClass([
|
|
6040
|
-
(0,
|
|
6083
|
+
(0, import_typeorm63.OneToOne)(
|
|
6041
6084
|
() => FreelancerProfile,
|
|
6042
6085
|
(freelancerProfile) => freelancerProfile.user
|
|
6043
6086
|
)
|
|
6044
6087
|
], User.prototype, "freelancerProfile", 2);
|
|
6045
6088
|
__decorateClass([
|
|
6046
|
-
(0,
|
|
6089
|
+
(0, import_typeorm63.OneToOne)(() => FreelancerResume, (freelancerResume) => freelancerResume.user)
|
|
6047
6090
|
], User.prototype, "freelancerResume", 2);
|
|
6048
6091
|
__decorateClass([
|
|
6049
|
-
(0,
|
|
6092
|
+
(0, import_typeorm63.OneToMany)(
|
|
6093
|
+
() => FreelancerAssessmentRequest,
|
|
6094
|
+
(freelancerAssessmentRequest) => freelancerAssessmentRequest.freelancer
|
|
6095
|
+
)
|
|
6096
|
+
], User.prototype, "freelancerAssessmentRequests", 2);
|
|
6097
|
+
__decorateClass([
|
|
6098
|
+
(0, import_typeorm63.OneToMany)(
|
|
6099
|
+
() => FreelancerAssessmentRequest,
|
|
6100
|
+
(freelancerAssessment) => freelancerAssessment.approvedBy
|
|
6101
|
+
)
|
|
6102
|
+
], User.prototype, "assessmentRequests", 2);
|
|
6103
|
+
__decorateClass([
|
|
6104
|
+
(0, import_typeorm63.OneToMany)(
|
|
6050
6105
|
() => FreelancerAssessment,
|
|
6051
6106
|
(freelancerAssessment) => freelancerAssessment.user
|
|
6052
6107
|
)
|
|
6053
6108
|
], User.prototype, "assessments", 2);
|
|
6054
6109
|
__decorateClass([
|
|
6055
|
-
(0,
|
|
6110
|
+
(0, import_typeorm63.OneToMany)(
|
|
6056
6111
|
() => AssessmentAnswer,
|
|
6057
6112
|
(assessmentAnswer) => assessmentAnswer.user
|
|
6058
6113
|
)
|
|
6059
6114
|
], User.prototype, "assessmentAnswers", 2);
|
|
6060
6115
|
__decorateClass([
|
|
6061
|
-
(0,
|
|
6116
|
+
(0, import_typeorm63.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
|
|
6062
6117
|
], User.prototype, "freelancerSkills", 2);
|
|
6063
6118
|
__decorateClass([
|
|
6064
|
-
(0,
|
|
6119
|
+
(0, import_typeorm63.OneToMany)(
|
|
6065
6120
|
() => FreelancerExperience,
|
|
6066
6121
|
(freelancerExperience) => freelancerExperience.user
|
|
6067
6122
|
)
|
|
6068
6123
|
], User.prototype, "freelancerExperience", 2);
|
|
6069
6124
|
__decorateClass([
|
|
6070
|
-
(0,
|
|
6125
|
+
(0, import_typeorm63.OneToMany)(
|
|
6071
6126
|
() => FreelancerEducation,
|
|
6072
6127
|
(freelancerEducation) => freelancerEducation.user
|
|
6073
6128
|
)
|
|
6074
6129
|
], User.prototype, "freelancerEducation", 2);
|
|
6075
6130
|
__decorateClass([
|
|
6076
|
-
(0,
|
|
6131
|
+
(0, import_typeorm63.OneToMany)(
|
|
6077
6132
|
() => FreelancerProject,
|
|
6078
6133
|
(freelancerProject) => freelancerProject.user
|
|
6079
6134
|
)
|
|
6080
6135
|
], User.prototype, "freelancerProject", 2);
|
|
6081
6136
|
__decorateClass([
|
|
6082
|
-
(0,
|
|
6137
|
+
(0, import_typeorm63.OneToMany)(
|
|
6083
6138
|
() => FreelancerCaseStudy,
|
|
6084
6139
|
(freelancerCaseStudy) => freelancerCaseStudy.user
|
|
6085
6140
|
)
|
|
6086
6141
|
], User.prototype, "freelancerCaseStudy", 2);
|
|
6087
6142
|
__decorateClass([
|
|
6088
|
-
(0,
|
|
6143
|
+
(0, import_typeorm63.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
|
|
6089
6144
|
], User.prototype, "freelancerTool", 2);
|
|
6090
6145
|
__decorateClass([
|
|
6091
|
-
(0,
|
|
6146
|
+
(0, import_typeorm63.OneToMany)(
|
|
6092
6147
|
() => FreelancerFramework,
|
|
6093
6148
|
(freelancerFramework) => freelancerFramework.user
|
|
6094
6149
|
)
|
|
6095
6150
|
], User.prototype, "freelancerFramework", 2);
|
|
6096
6151
|
__decorateClass([
|
|
6097
|
-
(0,
|
|
6152
|
+
(0, import_typeorm63.OneToOne)(
|
|
6098
6153
|
() => FreelancerDeclaration,
|
|
6099
6154
|
(freelancerDeclaration) => freelancerDeclaration.user
|
|
6100
6155
|
)
|
|
6101
6156
|
], User.prototype, "freelancerDeclaration", 2);
|
|
6102
6157
|
__decorateClass([
|
|
6103
|
-
(0,
|
|
6158
|
+
(0, import_typeorm63.OneToMany)(() => AssessmetQuestion, (assessmetQuestion) => assessmetQuestion.candidate)
|
|
6104
6159
|
], User.prototype, "freelancerMcq", 2);
|
|
6105
6160
|
__decorateClass([
|
|
6106
|
-
(0,
|
|
6161
|
+
(0, import_typeorm63.OneToMany)(() => AiInterview, (aiInterview) => aiInterview.candidate)
|
|
6107
6162
|
], User.prototype, "freelancerAiInterview", 2);
|
|
6108
6163
|
__decorateClass([
|
|
6109
|
-
(0,
|
|
6164
|
+
(0, import_typeorm63.OneToMany)(() => F2FInterview, (F2FInterview2) => F2FInterview2.candidate)
|
|
6110
6165
|
], User.prototype, "freelancerF2FInterviews", 2);
|
|
6111
6166
|
__decorateClass([
|
|
6112
|
-
(0,
|
|
6167
|
+
(0, import_typeorm63.OneToMany)(
|
|
6113
6168
|
() => F2fInterviewRescheduleRequest,
|
|
6114
6169
|
(f2fInterviewRescheduleRequest) => f2fInterviewRescheduleRequest.candidate
|
|
6115
6170
|
)
|
|
6116
6171
|
], User.prototype, "freelancerF2FInterviewRescheduleRequests", 2);
|
|
6117
6172
|
__decorateClass([
|
|
6118
|
-
(0,
|
|
6173
|
+
(0, import_typeorm63.OneToMany)(() => Job, (job) => job.user)
|
|
6119
6174
|
], User.prototype, "jobs", 2);
|
|
6120
6175
|
__decorateClass([
|
|
6121
|
-
(0,
|
|
6176
|
+
(0, import_typeorm63.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
|
|
6122
6177
|
], User.prototype, "jobApplications", 2);
|
|
6123
6178
|
__decorateClass([
|
|
6124
|
-
(0,
|
|
6179
|
+
(0, import_typeorm63.OneToMany)(() => Interview, (interview) => interview.user)
|
|
6125
6180
|
], User.prototype, "interviews", 2);
|
|
6126
6181
|
__decorateClass([
|
|
6127
|
-
(0,
|
|
6182
|
+
(0, import_typeorm63.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
|
|
6128
6183
|
], User.prototype, "bankDetail", 2);
|
|
6129
6184
|
__decorateClass([
|
|
6130
|
-
(0,
|
|
6185
|
+
(0, import_typeorm63.OneToMany)(
|
|
6131
6186
|
() => SystemPreference,
|
|
6132
6187
|
(systemPreference) => systemPreference.user
|
|
6133
6188
|
)
|
|
6134
6189
|
], User.prototype, "systemPreference", 2);
|
|
6135
6190
|
__decorateClass([
|
|
6136
|
-
(0,
|
|
6191
|
+
(0, import_typeorm63.OneToMany)(() => Rating, (rating) => rating.reviewer)
|
|
6137
6192
|
], User.prototype, "givenRatings", 2);
|
|
6138
6193
|
__decorateClass([
|
|
6139
|
-
(0,
|
|
6194
|
+
(0, import_typeorm63.OneToMany)(() => Rating, (rating) => rating.reviewee)
|
|
6140
6195
|
], User.prototype, "receivedRatings", 2);
|
|
6141
6196
|
__decorateClass([
|
|
6142
|
-
(0,
|
|
6197
|
+
(0, import_typeorm63.OneToMany)(() => AdminUserRole, (adminUserRole) => adminUserRole.user)
|
|
6143
6198
|
], User.prototype, "adminUserRoles", 2);
|
|
6144
6199
|
__decorateClass([
|
|
6145
|
-
(0,
|
|
6200
|
+
(0, import_typeorm63.OneToMany)(() => Contract, (contract) => contract.client)
|
|
6146
6201
|
], User.prototype, "clientContracts", 2);
|
|
6147
6202
|
__decorateClass([
|
|
6148
|
-
(0,
|
|
6203
|
+
(0, import_typeorm63.OneToMany)(() => Hiring, (hiring) => hiring.client)
|
|
6149
6204
|
], User.prototype, "clientHirings", 2);
|
|
6150
6205
|
__decorateClass([
|
|
6151
|
-
(0,
|
|
6206
|
+
(0, import_typeorm63.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.client)
|
|
6152
6207
|
], User.prototype, "clientEscrowWallets", 2);
|
|
6153
6208
|
__decorateClass([
|
|
6154
|
-
(0,
|
|
6209
|
+
(0, import_typeorm63.OneToMany)(() => Contract, (contract) => contract.freelancer)
|
|
6155
6210
|
], User.prototype, "freelancerContracts", 2);
|
|
6156
6211
|
__decorateClass([
|
|
6157
|
-
(0,
|
|
6212
|
+
(0, import_typeorm63.OneToMany)(() => Hiring, (hiring) => hiring.freelancer)
|
|
6158
6213
|
], User.prototype, "freelancerHirings", 2);
|
|
6159
6214
|
__decorateClass([
|
|
6160
|
-
(0,
|
|
6215
|
+
(0, import_typeorm63.OneToMany)(() => EscrowWallet, (escrowWallet) => escrowWallet.freelancer)
|
|
6161
6216
|
], User.prototype, "freelancerEscrowWallets", 2);
|
|
6162
6217
|
__decorateClass([
|
|
6163
|
-
(0,
|
|
6218
|
+
(0, import_typeorm63.OneToOne)(() => Signature, (signature) => signature.user)
|
|
6164
6219
|
], User.prototype, "signatures", 2);
|
|
6165
6220
|
__decorateClass([
|
|
6166
|
-
(0,
|
|
6221
|
+
(0, import_typeorm63.OneToMany)(() => Timesheet, (timesheet) => timesheet.client)
|
|
6167
6222
|
], User.prototype, "clientTimesheets", 2);
|
|
6168
6223
|
__decorateClass([
|
|
6169
|
-
(0,
|
|
6224
|
+
(0, import_typeorm63.OneToMany)(() => Timesheet, (timesheet) => timesheet.freelancer)
|
|
6170
6225
|
], User.prototype, "freelancerTimesheets", 2);
|
|
6171
6226
|
__decorateClass([
|
|
6172
|
-
(0,
|
|
6227
|
+
(0, import_typeorm63.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.client)
|
|
6173
6228
|
], User.prototype, "clientTimesheetLine", 2);
|
|
6174
6229
|
__decorateClass([
|
|
6175
|
-
(0,
|
|
6230
|
+
(0, import_typeorm63.OneToMany)(() => Invoice, (invoice) => invoice.client)
|
|
6176
6231
|
], User.prototype, "clientInvoice", 2);
|
|
6177
6232
|
__decorateClass([
|
|
6178
|
-
(0,
|
|
6233
|
+
(0, import_typeorm63.OneToMany)(() => TimesheetLine, (timesheetLine) => timesheetLine.freelancer)
|
|
6179
6234
|
], User.prototype, "freelancerTimesheetLine", 2);
|
|
6180
6235
|
__decorateClass([
|
|
6181
|
-
(0,
|
|
6236
|
+
(0, import_typeorm63.OneToMany)(() => Invoice, (invoice) => invoice.freelancer)
|
|
6182
6237
|
], User.prototype, "freelancerInvoice", 2);
|
|
6183
6238
|
__decorateClass([
|
|
6184
|
-
(0,
|
|
6239
|
+
(0, import_typeorm63.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.client, { cascade: true })
|
|
6185
6240
|
], User.prototype, "clientPreferencesGiven", 2);
|
|
6186
6241
|
__decorateClass([
|
|
6187
|
-
(0,
|
|
6242
|
+
(0, import_typeorm63.OneToMany)(() => ClientCandidatePreference, (clientCandidatePreference) => clientCandidatePreference.candidate)
|
|
6188
6243
|
], User.prototype, "clientPreferencesReceived", 2);
|
|
6189
6244
|
__decorateClass([
|
|
6190
|
-
(0,
|
|
6245
|
+
(0, import_typeorm63.OneToMany)(() => Dispute, (dispute) => dispute.initiator, { cascade: true })
|
|
6191
6246
|
], User.prototype, "initiatedDisputes", 2);
|
|
6192
6247
|
__decorateClass([
|
|
6193
|
-
(0,
|
|
6248
|
+
(0, import_typeorm63.OneToMany)(() => Dispute, (dispute) => dispute.respondent, { cascade: true })
|
|
6194
6249
|
], User.prototype, "respondentDisputes", 2);
|
|
6195
6250
|
__decorateClass([
|
|
6196
|
-
(0,
|
|
6251
|
+
(0, import_typeorm63.OneToOne)(() => Wallet, (wallet) => wallet.user)
|
|
6197
6252
|
], User.prototype, "wallet", 2);
|
|
6198
6253
|
__decorateClass([
|
|
6199
|
-
(0,
|
|
6254
|
+
(0, import_typeorm63.OneToMany)(() => StripeTransaction, (stripeTransaction) => stripeTransaction.user, { cascade: true })
|
|
6200
6255
|
], User.prototype, "stripeTransactions", 2);
|
|
6201
6256
|
__decorateClass([
|
|
6202
|
-
(0,
|
|
6257
|
+
(0, import_typeorm63.OneToMany)(() => Dispute, (dispute) => dispute.client)
|
|
6203
6258
|
], User.prototype, "clientDisputes", 2);
|
|
6204
6259
|
__decorateClass([
|
|
6205
|
-
(0,
|
|
6260
|
+
(0, import_typeorm63.OneToMany)(() => Dispute, (dispute) => dispute.freelancer)
|
|
6206
6261
|
], User.prototype, "freelancerDisputes", 2);
|
|
6207
6262
|
User = __decorateClass([
|
|
6208
|
-
(0,
|
|
6263
|
+
(0, import_typeorm63.Entity)("users")
|
|
6209
6264
|
], User);
|
|
6210
6265
|
|
|
6211
6266
|
// src/entities/rating.entity.ts
|
|
@@ -6217,36 +6272,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
|
|
|
6217
6272
|
var Rating = class extends BaseEntity {
|
|
6218
6273
|
};
|
|
6219
6274
|
__decorateClass([
|
|
6220
|
-
(0,
|
|
6221
|
-
(0,
|
|
6275
|
+
(0, import_typeorm64.Column)({ name: "reviewer_id", type: "integer" }),
|
|
6276
|
+
(0, import_typeorm64.Index)()
|
|
6222
6277
|
], Rating.prototype, "reviewer_id", 2);
|
|
6223
6278
|
__decorateClass([
|
|
6224
|
-
(0,
|
|
6225
|
-
(0,
|
|
6279
|
+
(0, import_typeorm64.ManyToOne)(() => User, { onDelete: "CASCADE" }),
|
|
6280
|
+
(0, import_typeorm64.JoinColumn)({ name: "reviewer_id" })
|
|
6226
6281
|
], Rating.prototype, "reviewer", 2);
|
|
6227
6282
|
__decorateClass([
|
|
6228
|
-
(0,
|
|
6229
|
-
(0,
|
|
6283
|
+
(0, import_typeorm64.Column)({ name: "reviewee_id", type: "integer" }),
|
|
6284
|
+
(0, import_typeorm64.Index)()
|
|
6230
6285
|
], Rating.prototype, "reviewee_id", 2);
|
|
6231
6286
|
__decorateClass([
|
|
6232
|
-
(0,
|
|
6233
|
-
(0,
|
|
6287
|
+
(0, import_typeorm64.ManyToOne)(() => User, { onDelete: "CASCADE" }),
|
|
6288
|
+
(0, import_typeorm64.JoinColumn)({ name: "reviewee_id" })
|
|
6234
6289
|
], Rating.prototype, "reviewee", 2);
|
|
6235
6290
|
__decorateClass([
|
|
6236
|
-
(0,
|
|
6291
|
+
(0, import_typeorm64.Column)({
|
|
6237
6292
|
type: "enum",
|
|
6238
6293
|
enum: RatingTypeEnum,
|
|
6239
6294
|
nullable: true
|
|
6240
6295
|
})
|
|
6241
6296
|
], Rating.prototype, "ratingType", 2);
|
|
6242
6297
|
__decorateClass([
|
|
6243
|
-
(0,
|
|
6298
|
+
(0, import_typeorm64.Column)({ type: "integer", nullable: true })
|
|
6244
6299
|
], Rating.prototype, "rating", 2);
|
|
6245
6300
|
__decorateClass([
|
|
6246
|
-
(0,
|
|
6301
|
+
(0, import_typeorm64.Column)({ type: "text", nullable: true })
|
|
6247
6302
|
], Rating.prototype, "review", 2);
|
|
6248
6303
|
Rating = __decorateClass([
|
|
6249
|
-
(0,
|
|
6304
|
+
(0, import_typeorm64.Entity)("ratings")
|
|
6250
6305
|
], Rating);
|
|
6251
6306
|
|
|
6252
6307
|
// src/modules/rating/dto/add.rating.dto.ts
|
|
@@ -6868,6 +6923,14 @@ __decorateClass([
|
|
|
6868
6923
|
(0, import_class_validator56.IsOptional)(),
|
|
6869
6924
|
(0, import_class_validator56.IsString)()
|
|
6870
6925
|
], CreateClientDto.prototype, "foundUsOnDetail", 2);
|
|
6926
|
+
__decorateClass([
|
|
6927
|
+
(0, import_class_validator56.IsOptional)(),
|
|
6928
|
+
(0, import_class_validator56.IsString)()
|
|
6929
|
+
], CreateClientDto.prototype, "hiringCommisionTypeForFte", 2);
|
|
6930
|
+
__decorateClass([
|
|
6931
|
+
(0, import_class_validator56.IsOptional)(),
|
|
6932
|
+
(0, import_class_validator56.IsString)()
|
|
6933
|
+
], CreateClientDto.prototype, "hiringCommissionValueForFte", 2);
|
|
6871
6934
|
|
|
6872
6935
|
// src/modules/client-admin/dto/update-client-status.dto.ts
|
|
6873
6936
|
var import_class_validator57 = require("class-validator");
|
|
@@ -6944,6 +7007,14 @@ __decorateClass([
|
|
|
6944
7007
|
(0, import_class_validator58.IsOptional)(),
|
|
6945
7008
|
(0, import_class_validator58.IsString)()
|
|
6946
7009
|
], UpdateClientDto.prototype, "foundUsOnDetail", 2);
|
|
7010
|
+
__decorateClass([
|
|
7011
|
+
(0, import_class_validator58.IsOptional)(),
|
|
7012
|
+
(0, import_class_validator58.IsString)()
|
|
7013
|
+
], UpdateClientDto.prototype, "hiringCommisionTypeForFte", 2);
|
|
7014
|
+
__decorateClass([
|
|
7015
|
+
(0, import_class_validator58.IsOptional)(),
|
|
7016
|
+
(0, import_class_validator58.IsString)()
|
|
7017
|
+
], UpdateClientDto.prototype, "hiringCommissionValueForFte", 2);
|
|
6947
7018
|
|
|
6948
7019
|
// src/modules/user/freelancer-declaration/pattern/pattern.ts
|
|
6949
7020
|
var FREELANCER_DECLARATION_PATTERN = {
|
|
@@ -8312,11 +8383,11 @@ var ChatRMQAdapter = (mode = "microservice") => {
|
|
|
8312
8383
|
};
|
|
8313
8384
|
|
|
8314
8385
|
// src/entities/sequence-generator.entity.ts
|
|
8315
|
-
var
|
|
8386
|
+
var import_typeorm65 = require("typeorm");
|
|
8316
8387
|
var SequenceGenerator = class extends BaseEntity {
|
|
8317
8388
|
};
|
|
8318
8389
|
__decorateClass([
|
|
8319
|
-
(0,
|
|
8390
|
+
(0, import_typeorm65.Column)({
|
|
8320
8391
|
name: "module",
|
|
8321
8392
|
type: "varchar",
|
|
8322
8393
|
length: 50,
|
|
@@ -8325,7 +8396,7 @@ __decorateClass([
|
|
|
8325
8396
|
})
|
|
8326
8397
|
], SequenceGenerator.prototype, "module", 2);
|
|
8327
8398
|
__decorateClass([
|
|
8328
|
-
(0,
|
|
8399
|
+
(0, import_typeorm65.Column)({
|
|
8329
8400
|
name: "prefix",
|
|
8330
8401
|
type: "varchar",
|
|
8331
8402
|
length: 10,
|
|
@@ -8334,7 +8405,7 @@ __decorateClass([
|
|
|
8334
8405
|
})
|
|
8335
8406
|
], SequenceGenerator.prototype, "prefix", 2);
|
|
8336
8407
|
__decorateClass([
|
|
8337
|
-
(0,
|
|
8408
|
+
(0, import_typeorm65.Column)({
|
|
8338
8409
|
name: "last_sequence",
|
|
8339
8410
|
type: "int",
|
|
8340
8411
|
nullable: false,
|
|
@@ -8342,7 +8413,7 @@ __decorateClass([
|
|
|
8342
8413
|
})
|
|
8343
8414
|
], SequenceGenerator.prototype, "lastSequence", 2);
|
|
8344
8415
|
__decorateClass([
|
|
8345
|
-
(0,
|
|
8416
|
+
(0, import_typeorm65.Column)({
|
|
8346
8417
|
name: "year",
|
|
8347
8418
|
type: "int",
|
|
8348
8419
|
nullable: true,
|
|
@@ -8350,11 +8421,11 @@ __decorateClass([
|
|
|
8350
8421
|
})
|
|
8351
8422
|
], SequenceGenerator.prototype, "year", 2);
|
|
8352
8423
|
SequenceGenerator = __decorateClass([
|
|
8353
|
-
(0,
|
|
8424
|
+
(0, import_typeorm65.Entity)("sequence_generators")
|
|
8354
8425
|
], SequenceGenerator);
|
|
8355
8426
|
|
|
8356
8427
|
// src/entities/question.entity.ts
|
|
8357
|
-
var
|
|
8428
|
+
var import_typeorm66 = require("typeorm");
|
|
8358
8429
|
var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
8359
8430
|
QuestionFor2["CLIENT"] = "CLIENT";
|
|
8360
8431
|
QuestionFor2["FREELANCER"] = "FREELANCER";
|
|
@@ -8363,16 +8434,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
|
8363
8434
|
var Question = class extends BaseEntity {
|
|
8364
8435
|
};
|
|
8365
8436
|
__decorateClass([
|
|
8366
|
-
(0,
|
|
8437
|
+
(0, import_typeorm66.Column)({ name: "question", type: "varchar" })
|
|
8367
8438
|
], Question.prototype, "question", 2);
|
|
8368
8439
|
__decorateClass([
|
|
8369
|
-
(0,
|
|
8440
|
+
(0, import_typeorm66.Column)({ name: "hint", type: "varchar", nullable: true })
|
|
8370
8441
|
], Question.prototype, "hint", 2);
|
|
8371
8442
|
__decorateClass([
|
|
8372
|
-
(0,
|
|
8443
|
+
(0, import_typeorm66.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
8373
8444
|
], Question.prototype, "slug", 2);
|
|
8374
8445
|
__decorateClass([
|
|
8375
|
-
(0,
|
|
8446
|
+
(0, import_typeorm66.Column)({
|
|
8376
8447
|
name: "question_for",
|
|
8377
8448
|
type: "enum",
|
|
8378
8449
|
enum: QuestionFor,
|
|
@@ -8380,45 +8451,45 @@ __decorateClass([
|
|
|
8380
8451
|
})
|
|
8381
8452
|
], Question.prototype, "questionFor", 2);
|
|
8382
8453
|
__decorateClass([
|
|
8383
|
-
(0,
|
|
8454
|
+
(0, import_typeorm66.Column)({ name: "type", type: "varchar", nullable: true })
|
|
8384
8455
|
], Question.prototype, "type", 2);
|
|
8385
8456
|
__decorateClass([
|
|
8386
|
-
(0,
|
|
8457
|
+
(0, import_typeorm66.Column)({ name: "options", type: "jsonb", nullable: true })
|
|
8387
8458
|
], Question.prototype, "options", 2);
|
|
8388
8459
|
__decorateClass([
|
|
8389
|
-
(0,
|
|
8460
|
+
(0, import_typeorm66.Column)({ name: "is_active", type: "boolean", default: false })
|
|
8390
8461
|
], Question.prototype, "isActive", 2);
|
|
8391
8462
|
Question = __decorateClass([
|
|
8392
|
-
(0,
|
|
8463
|
+
(0, import_typeorm66.Entity)("questions")
|
|
8393
8464
|
], Question);
|
|
8394
8465
|
|
|
8395
8466
|
// src/entities/skill.entity.ts
|
|
8396
|
-
var
|
|
8467
|
+
var import_typeorm67 = require("typeorm");
|
|
8397
8468
|
var Skill = class extends BaseEntity {
|
|
8398
8469
|
};
|
|
8399
8470
|
__decorateClass([
|
|
8400
|
-
(0,
|
|
8471
|
+
(0, import_typeorm67.Column)({ name: "name", type: "varchar", nullable: true })
|
|
8401
8472
|
], Skill.prototype, "name", 2);
|
|
8402
8473
|
__decorateClass([
|
|
8403
|
-
(0,
|
|
8474
|
+
(0, import_typeorm67.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
8404
8475
|
], Skill.prototype, "slug", 2);
|
|
8405
8476
|
__decorateClass([
|
|
8406
|
-
(0,
|
|
8477
|
+
(0, import_typeorm67.Column)({ name: "is_active", type: "boolean", default: false })
|
|
8407
8478
|
], Skill.prototype, "isActive", 2);
|
|
8408
8479
|
Skill = __decorateClass([
|
|
8409
|
-
(0,
|
|
8480
|
+
(0, import_typeorm67.Entity)("skills")
|
|
8410
8481
|
], Skill);
|
|
8411
8482
|
|
|
8412
8483
|
// src/entities/skill-catalog.entity.ts
|
|
8413
|
-
var
|
|
8484
|
+
var import_typeorm68 = require("typeorm");
|
|
8414
8485
|
var SkillCatalog = class extends BaseEntity {
|
|
8415
8486
|
};
|
|
8416
8487
|
__decorateClass([
|
|
8417
|
-
(0,
|
|
8418
|
-
(0,
|
|
8488
|
+
(0, import_typeorm68.Column)({ name: "canonical_name", type: "varchar", length: 100, unique: true }),
|
|
8489
|
+
(0, import_typeorm68.Index)()
|
|
8419
8490
|
], SkillCatalog.prototype, "canonicalName", 2);
|
|
8420
8491
|
__decorateClass([
|
|
8421
|
-
(0,
|
|
8492
|
+
(0, import_typeorm68.Column)({
|
|
8422
8493
|
name: "aliases",
|
|
8423
8494
|
type: "text",
|
|
8424
8495
|
array: true,
|
|
@@ -8426,20 +8497,20 @@ __decorateClass([
|
|
|
8426
8497
|
})
|
|
8427
8498
|
], SkillCatalog.prototype, "aliases", 2);
|
|
8428
8499
|
__decorateClass([
|
|
8429
|
-
(0,
|
|
8500
|
+
(0, import_typeorm68.Column)({
|
|
8430
8501
|
name: "variations",
|
|
8431
8502
|
type: "jsonb",
|
|
8432
8503
|
default: "{}"
|
|
8433
8504
|
})
|
|
8434
8505
|
], SkillCatalog.prototype, "variations", 2);
|
|
8435
8506
|
__decorateClass([
|
|
8436
|
-
(0,
|
|
8507
|
+
(0, import_typeorm68.Column)({ name: "category", type: "varchar", length: 50, nullable: true })
|
|
8437
8508
|
], SkillCatalog.prototype, "category", 2);
|
|
8438
8509
|
__decorateClass([
|
|
8439
|
-
(0,
|
|
8510
|
+
(0, import_typeorm68.Column)({ name: "parent_skill", type: "varchar", length: 100, nullable: true })
|
|
8440
8511
|
], SkillCatalog.prototype, "parentSkill", 2);
|
|
8441
8512
|
__decorateClass([
|
|
8442
|
-
(0,
|
|
8513
|
+
(0, import_typeorm68.Column)({
|
|
8443
8514
|
name: "related_skills",
|
|
8444
8515
|
type: "text",
|
|
8445
8516
|
array: true,
|
|
@@ -8447,111 +8518,111 @@ __decorateClass([
|
|
|
8447
8518
|
})
|
|
8448
8519
|
], SkillCatalog.prototype, "relatedSkills", 2);
|
|
8449
8520
|
__decorateClass([
|
|
8450
|
-
(0,
|
|
8451
|
-
(0,
|
|
8521
|
+
(0, import_typeorm68.Column)({ name: "usage_count", type: "integer", default: 0 }),
|
|
8522
|
+
(0, import_typeorm68.Index)()
|
|
8452
8523
|
], SkillCatalog.prototype, "usageCount", 2);
|
|
8453
8524
|
__decorateClass([
|
|
8454
|
-
(0,
|
|
8525
|
+
(0, import_typeorm68.Column)({ name: "is_verified", type: "boolean", default: false })
|
|
8455
8526
|
], SkillCatalog.prototype, "isVerified", 2);
|
|
8456
8527
|
__decorateClass([
|
|
8457
|
-
(0,
|
|
8528
|
+
(0, import_typeorm68.Column)({ name: "first_seen_date", type: "date" })
|
|
8458
8529
|
], SkillCatalog.prototype, "firstSeenDate", 2);
|
|
8459
8530
|
__decorateClass([
|
|
8460
|
-
(0,
|
|
8531
|
+
(0, import_typeorm68.Column)({ name: "last_updated_date", type: "date" })
|
|
8461
8532
|
], SkillCatalog.prototype, "lastUpdatedDate", 2);
|
|
8462
8533
|
__decorateClass([
|
|
8463
|
-
(0,
|
|
8534
|
+
(0, import_typeorm68.Column)({
|
|
8464
8535
|
name: "search_vector",
|
|
8465
8536
|
type: "tsvector",
|
|
8466
8537
|
nullable: true
|
|
8467
8538
|
})
|
|
8468
8539
|
], SkillCatalog.prototype, "searchVector", 2);
|
|
8469
8540
|
SkillCatalog = __decorateClass([
|
|
8470
|
-
(0,
|
|
8541
|
+
(0, import_typeorm68.Entity)("skill_catalogs")
|
|
8471
8542
|
], SkillCatalog);
|
|
8472
8543
|
|
|
8473
8544
|
// src/entities/job-role.entity.ts
|
|
8474
|
-
var
|
|
8545
|
+
var import_typeorm69 = require("typeorm");
|
|
8475
8546
|
var JobRoles = class extends BaseEntity {
|
|
8476
8547
|
};
|
|
8477
8548
|
__decorateClass([
|
|
8478
|
-
(0,
|
|
8549
|
+
(0, import_typeorm69.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
8479
8550
|
], JobRoles.prototype, "slug", 2);
|
|
8480
8551
|
__decorateClass([
|
|
8481
|
-
(0,
|
|
8552
|
+
(0, import_typeorm69.Column)({ name: "name", type: "varchar", nullable: true })
|
|
8482
8553
|
], JobRoles.prototype, "name", 2);
|
|
8483
8554
|
__decorateClass([
|
|
8484
|
-
(0,
|
|
8555
|
+
(0, import_typeorm69.Column)({ name: "is_active", type: "boolean", default: true })
|
|
8485
8556
|
], JobRoles.prototype, "isActive", 2);
|
|
8486
8557
|
JobRoles = __decorateClass([
|
|
8487
|
-
(0,
|
|
8558
|
+
(0, import_typeorm69.Entity)("job_roles")
|
|
8488
8559
|
], JobRoles);
|
|
8489
8560
|
|
|
8490
8561
|
// src/entities/plan.entity.ts
|
|
8491
|
-
var
|
|
8562
|
+
var import_typeorm71 = require("typeorm");
|
|
8492
8563
|
|
|
8493
8564
|
// src/entities/feature.entity.ts
|
|
8494
|
-
var
|
|
8565
|
+
var import_typeorm70 = require("typeorm");
|
|
8495
8566
|
var Feature = class extends BaseEntity {
|
|
8496
8567
|
};
|
|
8497
8568
|
__decorateClass([
|
|
8498
|
-
(0,
|
|
8569
|
+
(0, import_typeorm70.Column)({ name: "name", type: "varchar", unique: true })
|
|
8499
8570
|
], Feature.prototype, "name", 2);
|
|
8500
8571
|
__decorateClass([
|
|
8501
|
-
(0,
|
|
8572
|
+
(0, import_typeorm70.ManyToMany)(() => Plan, (plan) => plan.features)
|
|
8502
8573
|
], Feature.prototype, "plans", 2);
|
|
8503
8574
|
Feature = __decorateClass([
|
|
8504
|
-
(0,
|
|
8575
|
+
(0, import_typeorm70.Entity)("features")
|
|
8505
8576
|
], Feature);
|
|
8506
8577
|
|
|
8507
8578
|
// src/entities/plan.entity.ts
|
|
8508
8579
|
var Plan = class extends BaseEntity {
|
|
8509
8580
|
};
|
|
8510
8581
|
__decorateClass([
|
|
8511
|
-
(0,
|
|
8582
|
+
(0, import_typeorm71.Column)({ name: "name", type: "varchar", unique: true })
|
|
8512
8583
|
], Plan.prototype, "name", 2);
|
|
8513
8584
|
__decorateClass([
|
|
8514
|
-
(0,
|
|
8585
|
+
(0, import_typeorm71.Column)({ name: "description", type: "varchar", nullable: true })
|
|
8515
8586
|
], Plan.prototype, "description", 2);
|
|
8516
8587
|
__decorateClass([
|
|
8517
|
-
(0,
|
|
8588
|
+
(0, import_typeorm71.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
|
|
8518
8589
|
], Plan.prototype, "price", 2);
|
|
8519
8590
|
__decorateClass([
|
|
8520
|
-
(0,
|
|
8591
|
+
(0, import_typeorm71.Column)({ name: "billing_period", type: "varchar" })
|
|
8521
8592
|
], Plan.prototype, "billingPeriod", 2);
|
|
8522
8593
|
__decorateClass([
|
|
8523
|
-
(0,
|
|
8594
|
+
(0, import_typeorm71.Column)({ name: "is_current", type: "boolean", default: false })
|
|
8524
8595
|
], Plan.prototype, "isCurrent", 2);
|
|
8525
8596
|
__decorateClass([
|
|
8526
|
-
(0,
|
|
8527
|
-
(0,
|
|
8597
|
+
(0, import_typeorm71.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
|
|
8598
|
+
(0, import_typeorm71.JoinTable)()
|
|
8528
8599
|
], Plan.prototype, "features", 2);
|
|
8529
8600
|
Plan = __decorateClass([
|
|
8530
|
-
(0,
|
|
8601
|
+
(0, import_typeorm71.Entity)("plans")
|
|
8531
8602
|
], Plan);
|
|
8532
8603
|
|
|
8533
8604
|
// src/entities/cms.entity.ts
|
|
8534
|
-
var
|
|
8605
|
+
var import_typeorm72 = require("typeorm");
|
|
8535
8606
|
var Cms = class extends BaseEntity {
|
|
8536
8607
|
};
|
|
8537
8608
|
__decorateClass([
|
|
8538
|
-
(0,
|
|
8609
|
+
(0, import_typeorm72.Column)({ name: "title", type: "varchar", nullable: true })
|
|
8539
8610
|
], Cms.prototype, "title", 2);
|
|
8540
8611
|
__decorateClass([
|
|
8541
|
-
(0,
|
|
8612
|
+
(0, import_typeorm72.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
8542
8613
|
], Cms.prototype, "slug", 2);
|
|
8543
8614
|
__decorateClass([
|
|
8544
|
-
(0,
|
|
8615
|
+
(0, import_typeorm72.Column)({ name: "content", type: "varchar", nullable: true })
|
|
8545
8616
|
], Cms.prototype, "content", 2);
|
|
8546
8617
|
__decorateClass([
|
|
8547
|
-
(0,
|
|
8618
|
+
(0, import_typeorm72.Column)({ name: "is_active", type: "boolean", default: true })
|
|
8548
8619
|
], Cms.prototype, "isActive", 2);
|
|
8549
8620
|
Cms = __decorateClass([
|
|
8550
|
-
(0,
|
|
8621
|
+
(0, import_typeorm72.Entity)("cms")
|
|
8551
8622
|
], Cms);
|
|
8552
8623
|
|
|
8553
8624
|
// src/entities/lead.entity.ts
|
|
8554
|
-
var
|
|
8625
|
+
var import_typeorm73 = require("typeorm");
|
|
8555
8626
|
var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
8556
8627
|
CategoryEmum2["BUSINESS"] = "BUSINESS";
|
|
8557
8628
|
CategoryEmum2["FREELANCER"] = "FREELANCER";
|
|
@@ -8560,22 +8631,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
|
8560
8631
|
var Lead = class extends BaseEntity {
|
|
8561
8632
|
};
|
|
8562
8633
|
__decorateClass([
|
|
8563
|
-
(0,
|
|
8634
|
+
(0, import_typeorm73.Column)({ name: "name", type: "varchar", nullable: true })
|
|
8564
8635
|
], Lead.prototype, "name", 2);
|
|
8565
8636
|
__decorateClass([
|
|
8566
|
-
(0,
|
|
8637
|
+
(0, import_typeorm73.Column)({ name: "mobile_code", type: "varchar", nullable: true })
|
|
8567
8638
|
], Lead.prototype, "mobileCode", 2);
|
|
8568
8639
|
__decorateClass([
|
|
8569
|
-
(0,
|
|
8640
|
+
(0, import_typeorm73.Column)({ name: "mobile", type: "varchar", nullable: true })
|
|
8570
8641
|
], Lead.prototype, "mobile", 2);
|
|
8571
8642
|
__decorateClass([
|
|
8572
|
-
(0,
|
|
8643
|
+
(0, import_typeorm73.Column)({ name: "email", type: "varchar", nullable: true })
|
|
8573
8644
|
], Lead.prototype, "email", 2);
|
|
8574
8645
|
__decorateClass([
|
|
8575
|
-
(0,
|
|
8646
|
+
(0, import_typeorm73.Column)({ name: "description", type: "varchar", nullable: true })
|
|
8576
8647
|
], Lead.prototype, "description", 2);
|
|
8577
8648
|
__decorateClass([
|
|
8578
|
-
(0,
|
|
8649
|
+
(0, import_typeorm73.Column)({
|
|
8579
8650
|
name: "category",
|
|
8580
8651
|
type: "enum",
|
|
8581
8652
|
enum: CategoryEmum,
|
|
@@ -8583,129 +8654,129 @@ __decorateClass([
|
|
|
8583
8654
|
})
|
|
8584
8655
|
], Lead.prototype, "category", 2);
|
|
8585
8656
|
Lead = __decorateClass([
|
|
8586
|
-
(0,
|
|
8657
|
+
(0, import_typeorm73.Entity)("leads")
|
|
8587
8658
|
], Lead);
|
|
8588
8659
|
|
|
8589
8660
|
// src/entities/job-freelancer-recommendation.entity.ts
|
|
8590
|
-
var
|
|
8661
|
+
var import_typeorm74 = require("typeorm");
|
|
8591
8662
|
var JobFreelancerRecommendation = class {
|
|
8592
8663
|
};
|
|
8593
8664
|
__decorateClass([
|
|
8594
|
-
(0,
|
|
8665
|
+
(0, import_typeorm74.ViewColumn)({ name: "job_id" })
|
|
8595
8666
|
], JobFreelancerRecommendation.prototype, "jobId", 2);
|
|
8596
8667
|
__decorateClass([
|
|
8597
|
-
(0,
|
|
8668
|
+
(0, import_typeorm74.ViewColumn)({ name: "job_uuid" })
|
|
8598
8669
|
], JobFreelancerRecommendation.prototype, "jobUuid", 2);
|
|
8599
8670
|
__decorateClass([
|
|
8600
|
-
(0,
|
|
8671
|
+
(0, import_typeorm74.ViewColumn)({ name: "job_unique_id" })
|
|
8601
8672
|
], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
|
|
8602
8673
|
__decorateClass([
|
|
8603
|
-
(0,
|
|
8674
|
+
(0, import_typeorm74.ViewColumn)({ name: "job_role" })
|
|
8604
8675
|
], JobFreelancerRecommendation.prototype, "jobRole", 2);
|
|
8605
8676
|
__decorateClass([
|
|
8606
|
-
(0,
|
|
8677
|
+
(0, import_typeorm74.ViewColumn)({ name: "job_openings" })
|
|
8607
8678
|
], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
|
|
8608
8679
|
__decorateClass([
|
|
8609
|
-
(0,
|
|
8680
|
+
(0, import_typeorm74.ViewColumn)({ name: "job_location" })
|
|
8610
8681
|
], JobFreelancerRecommendation.prototype, "jobLocation", 2);
|
|
8611
8682
|
__decorateClass([
|
|
8612
|
-
(0,
|
|
8683
|
+
(0, import_typeorm74.ViewColumn)({ name: "job_currency" })
|
|
8613
8684
|
], JobFreelancerRecommendation.prototype, "jobCurrency", 2);
|
|
8614
8685
|
__decorateClass([
|
|
8615
|
-
(0,
|
|
8686
|
+
(0, import_typeorm74.ViewColumn)({ name: "job_salary_from" })
|
|
8616
8687
|
], JobFreelancerRecommendation.prototype, "jobSalaryFrom", 2);
|
|
8617
8688
|
__decorateClass([
|
|
8618
|
-
(0,
|
|
8689
|
+
(0, import_typeorm74.ViewColumn)({ name: "job_salary_to" })
|
|
8619
8690
|
], JobFreelancerRecommendation.prototype, "jobSalaryTo", 2);
|
|
8620
8691
|
__decorateClass([
|
|
8621
|
-
(0,
|
|
8692
|
+
(0, import_typeorm74.ViewColumn)({ name: "job_employment_type" })
|
|
8622
8693
|
], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
|
|
8623
8694
|
__decorateClass([
|
|
8624
|
-
(0,
|
|
8695
|
+
(0, import_typeorm74.ViewColumn)({ name: "application_received" })
|
|
8625
8696
|
], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
|
|
8626
8697
|
__decorateClass([
|
|
8627
|
-
(0,
|
|
8698
|
+
(0, import_typeorm74.ViewColumn)({ name: "job_posted_at" })
|
|
8628
8699
|
], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
|
|
8629
8700
|
__decorateClass([
|
|
8630
|
-
(0,
|
|
8701
|
+
(0, import_typeorm74.ViewColumn)({ name: "freelancer_id" })
|
|
8631
8702
|
], JobFreelancerRecommendation.prototype, "freelancerId", 2);
|
|
8632
8703
|
__decorateClass([
|
|
8633
|
-
(0,
|
|
8704
|
+
(0, import_typeorm74.ViewColumn)({ name: "freelancer_uuid" })
|
|
8634
8705
|
], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
|
|
8635
8706
|
__decorateClass([
|
|
8636
|
-
(0,
|
|
8707
|
+
(0, import_typeorm74.ViewColumn)({ name: "freelancer_unique_id" })
|
|
8637
8708
|
], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
|
|
8638
8709
|
__decorateClass([
|
|
8639
|
-
(0,
|
|
8710
|
+
(0, import_typeorm74.ViewColumn)({ name: "freelancer_first_name" })
|
|
8640
8711
|
], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
|
|
8641
8712
|
__decorateClass([
|
|
8642
|
-
(0,
|
|
8713
|
+
(0, import_typeorm74.ViewColumn)({ name: "freelancer_last_name" })
|
|
8643
8714
|
], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
|
|
8644
8715
|
__decorateClass([
|
|
8645
|
-
(0,
|
|
8716
|
+
(0, import_typeorm74.ViewColumn)({ name: "freelancer_email" })
|
|
8646
8717
|
], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
|
|
8647
8718
|
__decorateClass([
|
|
8648
|
-
(0,
|
|
8719
|
+
(0, import_typeorm74.ViewColumn)({ name: "freelancer_profile_picture" })
|
|
8649
8720
|
], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
|
|
8650
8721
|
__decorateClass([
|
|
8651
|
-
(0,
|
|
8722
|
+
(0, import_typeorm74.ViewColumn)({ name: "freelancer_is_social" })
|
|
8652
8723
|
], JobFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
|
|
8653
8724
|
__decorateClass([
|
|
8654
|
-
(0,
|
|
8725
|
+
(0, import_typeorm74.ViewColumn)({ name: "freelancer_created_at" })
|
|
8655
8726
|
], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
|
|
8656
8727
|
__decorateClass([
|
|
8657
|
-
(0,
|
|
8728
|
+
(0, import_typeorm74.ViewColumn)({ name: "freelancer_designation" })
|
|
8658
8729
|
], JobFreelancerRecommendation.prototype, "freelancerDesignation", 2);
|
|
8659
8730
|
__decorateClass([
|
|
8660
|
-
(0,
|
|
8731
|
+
(0, import_typeorm74.ViewColumn)({ name: "freelancer_experience" })
|
|
8661
8732
|
], JobFreelancerRecommendation.prototype, "freelancerExperience", 2);
|
|
8662
8733
|
__decorateClass([
|
|
8663
|
-
(0,
|
|
8734
|
+
(0, import_typeorm74.ViewColumn)({ name: "freelancer_expertshub_verified" })
|
|
8664
8735
|
], JobFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
|
|
8665
8736
|
__decorateClass([
|
|
8666
|
-
(0,
|
|
8737
|
+
(0, import_typeorm74.ViewColumn)({ name: "freelancer_hourly_compensation" })
|
|
8667
8738
|
], JobFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
|
|
8668
8739
|
__decorateClass([
|
|
8669
|
-
(0,
|
|
8740
|
+
(0, import_typeorm74.ViewColumn)({ name: "freelancer_country_name" })
|
|
8670
8741
|
], JobFreelancerRecommendation.prototype, "freelancerCountryName", 2);
|
|
8671
8742
|
__decorateClass([
|
|
8672
|
-
(0,
|
|
8743
|
+
(0, import_typeorm74.ViewColumn)({ name: "freelancer_country_iso_code" })
|
|
8673
8744
|
], JobFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
|
|
8674
8745
|
__decorateClass([
|
|
8675
|
-
(0,
|
|
8746
|
+
(0, import_typeorm74.ViewColumn)({ name: "client_id" })
|
|
8676
8747
|
], JobFreelancerRecommendation.prototype, "clientId", 2);
|
|
8677
8748
|
__decorateClass([
|
|
8678
|
-
(0,
|
|
8749
|
+
(0, import_typeorm74.ViewColumn)({ name: "client_uuid" })
|
|
8679
8750
|
], JobFreelancerRecommendation.prototype, "clientUuid", 2);
|
|
8680
8751
|
__decorateClass([
|
|
8681
|
-
(0,
|
|
8752
|
+
(0, import_typeorm74.ViewColumn)({ name: "client_first_name" })
|
|
8682
8753
|
], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
|
|
8683
8754
|
__decorateClass([
|
|
8684
|
-
(0,
|
|
8755
|
+
(0, import_typeorm74.ViewColumn)({ name: "client_last_name" })
|
|
8685
8756
|
], JobFreelancerRecommendation.prototype, "clientLastName", 2);
|
|
8686
8757
|
__decorateClass([
|
|
8687
|
-
(0,
|
|
8758
|
+
(0, import_typeorm74.ViewColumn)({ name: "client_email" })
|
|
8688
8759
|
], JobFreelancerRecommendation.prototype, "clientEmail", 2);
|
|
8689
8760
|
__decorateClass([
|
|
8690
|
-
(0,
|
|
8761
|
+
(0, import_typeorm74.ViewColumn)({ name: "client_company_logo" })
|
|
8691
8762
|
], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
|
|
8692
8763
|
__decorateClass([
|
|
8693
|
-
(0,
|
|
8764
|
+
(0, import_typeorm74.ViewColumn)({ name: "client_company_name" })
|
|
8694
8765
|
], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
|
|
8695
8766
|
__decorateClass([
|
|
8696
|
-
(0,
|
|
8767
|
+
(0, import_typeorm74.ViewColumn)({ name: "matching_skills" })
|
|
8697
8768
|
], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
|
|
8698
8769
|
__decorateClass([
|
|
8699
|
-
(0,
|
|
8770
|
+
(0, import_typeorm74.ViewColumn)({ name: "matching_skills_count" })
|
|
8700
8771
|
], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
|
|
8701
8772
|
__decorateClass([
|
|
8702
|
-
(0,
|
|
8773
|
+
(0, import_typeorm74.ViewColumn)({ name: "required_skills" })
|
|
8703
8774
|
], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
|
|
8704
8775
|
__decorateClass([
|
|
8705
|
-
(0,
|
|
8776
|
+
(0, import_typeorm74.ViewColumn)({ name: "required_skills_count" })
|
|
8706
8777
|
], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
|
|
8707
8778
|
JobFreelancerRecommendation = __decorateClass([
|
|
8708
|
-
(0,
|
|
8779
|
+
(0, import_typeorm74.ViewEntity)({
|
|
8709
8780
|
name: "job_freelancer_recommendations",
|
|
8710
8781
|
materialized: true,
|
|
8711
8782
|
synchronize: false
|
|
@@ -8714,32 +8785,32 @@ JobFreelancerRecommendation = __decorateClass([
|
|
|
8714
8785
|
], JobFreelancerRecommendation);
|
|
8715
8786
|
|
|
8716
8787
|
// src/entities/job-freelancer-recommendation-v2.entity.ts
|
|
8717
|
-
var
|
|
8788
|
+
var import_typeorm75 = require("typeorm");
|
|
8718
8789
|
var JobFreelancerRecommendationV2 = class {
|
|
8719
8790
|
};
|
|
8720
8791
|
__decorateClass([
|
|
8721
|
-
(0,
|
|
8792
|
+
(0, import_typeorm75.ViewColumn)({ name: "job_id" })
|
|
8722
8793
|
], JobFreelancerRecommendationV2.prototype, "jobId", 2);
|
|
8723
8794
|
__decorateClass([
|
|
8724
|
-
(0,
|
|
8795
|
+
(0, import_typeorm75.ViewColumn)({ name: "job_owner_id" })
|
|
8725
8796
|
], JobFreelancerRecommendationV2.prototype, "jobOwnerId", 2);
|
|
8726
8797
|
__decorateClass([
|
|
8727
|
-
(0,
|
|
8798
|
+
(0, import_typeorm75.ViewColumn)({ name: "freelancer_id" })
|
|
8728
8799
|
], JobFreelancerRecommendationV2.prototype, "freelancerId", 2);
|
|
8729
8800
|
__decorateClass([
|
|
8730
|
-
(0,
|
|
8801
|
+
(0, import_typeorm75.ViewColumn)({ name: "matching_skills" })
|
|
8731
8802
|
], JobFreelancerRecommendationV2.prototype, "matchingSkills", 2);
|
|
8732
8803
|
__decorateClass([
|
|
8733
|
-
(0,
|
|
8804
|
+
(0, import_typeorm75.ViewColumn)({ name: "matching_skills_count" })
|
|
8734
8805
|
], JobFreelancerRecommendationV2.prototype, "matchingSkillsCount", 2);
|
|
8735
8806
|
__decorateClass([
|
|
8736
|
-
(0,
|
|
8807
|
+
(0, import_typeorm75.ViewColumn)({ name: "required_skills" })
|
|
8737
8808
|
], JobFreelancerRecommendationV2.prototype, "requiredSkills", 2);
|
|
8738
8809
|
__decorateClass([
|
|
8739
|
-
(0,
|
|
8810
|
+
(0, import_typeorm75.ViewColumn)({ name: "required_skills_count" })
|
|
8740
8811
|
], JobFreelancerRecommendationV2.prototype, "requiredSkillsCount", 2);
|
|
8741
8812
|
JobFreelancerRecommendationV2 = __decorateClass([
|
|
8742
|
-
(0,
|
|
8813
|
+
(0, import_typeorm75.ViewEntity)({
|
|
8743
8814
|
name: "job_freelancer_recommendations_v2",
|
|
8744
8815
|
materialized: true,
|
|
8745
8816
|
synchronize: false
|
|
@@ -8748,74 +8819,74 @@ JobFreelancerRecommendationV2 = __decorateClass([
|
|
|
8748
8819
|
], JobFreelancerRecommendationV2);
|
|
8749
8820
|
|
|
8750
8821
|
// src/entities/client-freelancer-recommendation.entity.ts
|
|
8751
|
-
var
|
|
8822
|
+
var import_typeorm76 = require("typeorm");
|
|
8752
8823
|
var ClientFreelancerRecommendation = class {
|
|
8753
8824
|
};
|
|
8754
8825
|
__decorateClass([
|
|
8755
|
-
(0,
|
|
8826
|
+
(0, import_typeorm76.ViewColumn)({ name: "client_id" })
|
|
8756
8827
|
], ClientFreelancerRecommendation.prototype, "clientId", 2);
|
|
8757
8828
|
__decorateClass([
|
|
8758
|
-
(0,
|
|
8829
|
+
(0, import_typeorm76.ViewColumn)({ name: "client_uuid" })
|
|
8759
8830
|
], ClientFreelancerRecommendation.prototype, "clientUuid", 2);
|
|
8760
8831
|
__decorateClass([
|
|
8761
|
-
(0,
|
|
8832
|
+
(0, import_typeorm76.ViewColumn)({ name: "freelancer_id" })
|
|
8762
8833
|
], ClientFreelancerRecommendation.prototype, "freelancerId", 2);
|
|
8763
8834
|
__decorateClass([
|
|
8764
|
-
(0,
|
|
8835
|
+
(0, import_typeorm76.ViewColumn)({ name: "freelancer_uuid" })
|
|
8765
8836
|
], ClientFreelancerRecommendation.prototype, "freelancerUuid", 2);
|
|
8766
8837
|
__decorateClass([
|
|
8767
|
-
(0,
|
|
8838
|
+
(0, import_typeorm76.ViewColumn)({ name: "freelancer_unique_id" })
|
|
8768
8839
|
], ClientFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
|
|
8769
8840
|
__decorateClass([
|
|
8770
|
-
(0,
|
|
8841
|
+
(0, import_typeorm76.ViewColumn)({ name: "freelancer_first_name" })
|
|
8771
8842
|
], ClientFreelancerRecommendation.prototype, "freelancerFirstName", 2);
|
|
8772
8843
|
__decorateClass([
|
|
8773
|
-
(0,
|
|
8844
|
+
(0, import_typeorm76.ViewColumn)({ name: "freelancer_last_name" })
|
|
8774
8845
|
], ClientFreelancerRecommendation.prototype, "freelancerLastName", 2);
|
|
8775
8846
|
__decorateClass([
|
|
8776
|
-
(0,
|
|
8847
|
+
(0, import_typeorm76.ViewColumn)({ name: "freelancer_email" })
|
|
8777
8848
|
], ClientFreelancerRecommendation.prototype, "freelancerEmail", 2);
|
|
8778
8849
|
__decorateClass([
|
|
8779
|
-
(0,
|
|
8850
|
+
(0, import_typeorm76.ViewColumn)({ name: "freelancer_profile_picture" })
|
|
8780
8851
|
], ClientFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
|
|
8781
8852
|
__decorateClass([
|
|
8782
|
-
(0,
|
|
8853
|
+
(0, import_typeorm76.ViewColumn)({ name: "freelancer_is_social" })
|
|
8783
8854
|
], ClientFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
|
|
8784
8855
|
__decorateClass([
|
|
8785
|
-
(0,
|
|
8856
|
+
(0, import_typeorm76.ViewColumn)({ name: "freelancer_created_at" })
|
|
8786
8857
|
], ClientFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
|
|
8787
8858
|
__decorateClass([
|
|
8788
|
-
(0,
|
|
8859
|
+
(0, import_typeorm76.ViewColumn)({ name: "freelancer_designation" })
|
|
8789
8860
|
], ClientFreelancerRecommendation.prototype, "freelancerDesignation", 2);
|
|
8790
8861
|
__decorateClass([
|
|
8791
|
-
(0,
|
|
8862
|
+
(0, import_typeorm76.ViewColumn)({ name: "freelancer_experience" })
|
|
8792
8863
|
], ClientFreelancerRecommendation.prototype, "freelancerExperience", 2);
|
|
8793
8864
|
__decorateClass([
|
|
8794
|
-
(0,
|
|
8865
|
+
(0, import_typeorm76.ViewColumn)({ name: "freelancer_expertshub_verified" })
|
|
8795
8866
|
], ClientFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
|
|
8796
8867
|
__decorateClass([
|
|
8797
|
-
(0,
|
|
8868
|
+
(0, import_typeorm76.ViewColumn)({ name: "freelancer_hourly_compensation" })
|
|
8798
8869
|
], ClientFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
|
|
8799
8870
|
__decorateClass([
|
|
8800
|
-
(0,
|
|
8871
|
+
(0, import_typeorm76.ViewColumn)({ name: "freelancer_country_name" })
|
|
8801
8872
|
], ClientFreelancerRecommendation.prototype, "freelancerCountryName", 2);
|
|
8802
8873
|
__decorateClass([
|
|
8803
|
-
(0,
|
|
8874
|
+
(0, import_typeorm76.ViewColumn)({ name: "freelancer_country_iso_code" })
|
|
8804
8875
|
], ClientFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
|
|
8805
8876
|
__decorateClass([
|
|
8806
|
-
(0,
|
|
8877
|
+
(0, import_typeorm76.ViewColumn)({ name: "matching_skills" })
|
|
8807
8878
|
], ClientFreelancerRecommendation.prototype, "matchingSkills", 2);
|
|
8808
8879
|
__decorateClass([
|
|
8809
|
-
(0,
|
|
8880
|
+
(0, import_typeorm76.ViewColumn)({ name: "matching_skills_count" })
|
|
8810
8881
|
], ClientFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
|
|
8811
8882
|
__decorateClass([
|
|
8812
|
-
(0,
|
|
8883
|
+
(0, import_typeorm76.ViewColumn)({ name: "required_skills" })
|
|
8813
8884
|
], ClientFreelancerRecommendation.prototype, "requiredSkills", 2);
|
|
8814
8885
|
__decorateClass([
|
|
8815
|
-
(0,
|
|
8886
|
+
(0, import_typeorm76.ViewColumn)({ name: "required_skills_count" })
|
|
8816
8887
|
], ClientFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
|
|
8817
8888
|
ClientFreelancerRecommendation = __decorateClass([
|
|
8818
|
-
(0,
|
|
8889
|
+
(0, import_typeorm76.ViewEntity)({
|
|
8819
8890
|
name: "client_freelancer_recommendations",
|
|
8820
8891
|
materialized: true,
|
|
8821
8892
|
synchronize: false
|
|
@@ -8824,7 +8895,7 @@ ClientFreelancerRecommendation = __decorateClass([
|
|
|
8824
8895
|
], ClientFreelancerRecommendation);
|
|
8825
8896
|
|
|
8826
8897
|
// src/entities/commission.entity.ts
|
|
8827
|
-
var
|
|
8898
|
+
var import_typeorm77 = require("typeorm");
|
|
8828
8899
|
var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
8829
8900
|
CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
|
|
8830
8901
|
CommissionTypeEnum2["FLAT"] = "FLAT";
|
|
@@ -8833,7 +8904,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
|
8833
8904
|
var Commission = class extends BaseEntity {
|
|
8834
8905
|
};
|
|
8835
8906
|
__decorateClass([
|
|
8836
|
-
(0,
|
|
8907
|
+
(0, import_typeorm77.Column)({
|
|
8837
8908
|
name: "freelancer_commission_type",
|
|
8838
8909
|
type: "enum",
|
|
8839
8910
|
enum: CommissionTypeEnum,
|
|
@@ -8841,10 +8912,10 @@ __decorateClass([
|
|
|
8841
8912
|
})
|
|
8842
8913
|
], Commission.prototype, "freelancerCommissionType", 2);
|
|
8843
8914
|
__decorateClass([
|
|
8844
|
-
(0,
|
|
8915
|
+
(0, import_typeorm77.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
|
|
8845
8916
|
], Commission.prototype, "freelancerCommission", 2);
|
|
8846
8917
|
__decorateClass([
|
|
8847
|
-
(0,
|
|
8918
|
+
(0, import_typeorm77.Column)({
|
|
8848
8919
|
name: "client_commission_type",
|
|
8849
8920
|
type: "enum",
|
|
8850
8921
|
enum: CommissionTypeEnum,
|
|
@@ -8852,93 +8923,93 @@ __decorateClass([
|
|
|
8852
8923
|
})
|
|
8853
8924
|
], Commission.prototype, "clientCommissionType", 2);
|
|
8854
8925
|
__decorateClass([
|
|
8855
|
-
(0,
|
|
8926
|
+
(0, import_typeorm77.Column)({ name: "client_commission", type: "integer", default: 0 })
|
|
8856
8927
|
], Commission.prototype, "clientCommission", 2);
|
|
8857
8928
|
Commission = __decorateClass([
|
|
8858
|
-
(0,
|
|
8929
|
+
(0, import_typeorm77.Entity)("commissions")
|
|
8859
8930
|
], Commission);
|
|
8860
8931
|
|
|
8861
8932
|
// src/entities/calendly-meeting-log.entity.ts
|
|
8862
|
-
var
|
|
8933
|
+
var import_typeorm78 = require("typeorm");
|
|
8863
8934
|
var CalendlyMeetingLog = class extends BaseEntity {
|
|
8864
8935
|
};
|
|
8865
8936
|
__decorateClass([
|
|
8866
|
-
(0,
|
|
8867
|
-
(0,
|
|
8937
|
+
(0, import_typeorm78.Column)({ name: "calendly_event_id", type: "varchar", nullable: true }),
|
|
8938
|
+
(0, import_typeorm78.Index)()
|
|
8868
8939
|
], CalendlyMeetingLog.prototype, "calendlyEventId", 2);
|
|
8869
8940
|
__decorateClass([
|
|
8870
|
-
(0,
|
|
8941
|
+
(0, import_typeorm78.Column)({ name: "calendly_event_type", type: "varchar", nullable: true })
|
|
8871
8942
|
], CalendlyMeetingLog.prototype, "calendlyEventType", 2);
|
|
8872
8943
|
__decorateClass([
|
|
8873
|
-
(0,
|
|
8944
|
+
(0, import_typeorm78.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
|
|
8874
8945
|
], CalendlyMeetingLog.prototype, "rawWebhookData", 2);
|
|
8875
8946
|
CalendlyMeetingLog = __decorateClass([
|
|
8876
|
-
(0,
|
|
8947
|
+
(0, import_typeorm78.Entity)("calendly_meeting_logs")
|
|
8877
8948
|
], CalendlyMeetingLog);
|
|
8878
8949
|
|
|
8879
8950
|
// src/entities/zoom-meeting-log.entity.ts
|
|
8880
|
-
var
|
|
8951
|
+
var import_typeorm79 = require("typeorm");
|
|
8881
8952
|
var ZoomMeetingLog = class extends BaseEntity {
|
|
8882
8953
|
};
|
|
8883
8954
|
__decorateClass([
|
|
8884
|
-
(0,
|
|
8885
|
-
(0,
|
|
8955
|
+
(0, import_typeorm79.Column)({ name: "zoom_meeting_id", type: "varchar", nullable: true }),
|
|
8956
|
+
(0, import_typeorm79.Index)()
|
|
8886
8957
|
], ZoomMeetingLog.prototype, "zoomMeetingId", 2);
|
|
8887
8958
|
__decorateClass([
|
|
8888
|
-
(0,
|
|
8959
|
+
(0, import_typeorm79.Column)({ name: "zoom_event_type", type: "varchar", nullable: true })
|
|
8889
8960
|
], ZoomMeetingLog.prototype, "zoomEventType", 2);
|
|
8890
8961
|
__decorateClass([
|
|
8891
|
-
(0,
|
|
8962
|
+
(0, import_typeorm79.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
|
|
8892
8963
|
], ZoomMeetingLog.prototype, "rawWebhookData", 2);
|
|
8893
8964
|
ZoomMeetingLog = __decorateClass([
|
|
8894
|
-
(0,
|
|
8965
|
+
(0, import_typeorm79.Entity)("zoom_meeting_logs")
|
|
8895
8966
|
], ZoomMeetingLog);
|
|
8896
8967
|
|
|
8897
8968
|
// src/entities/stripe-logs.entity.ts
|
|
8898
|
-
var
|
|
8969
|
+
var import_typeorm80 = require("typeorm");
|
|
8899
8970
|
var StripeLog = class extends BaseEntity {
|
|
8900
8971
|
};
|
|
8901
8972
|
__decorateClass([
|
|
8902
|
-
(0,
|
|
8973
|
+
(0, import_typeorm80.Column)({ name: "stripe_event_id", type: "varchar", nullable: true })
|
|
8903
8974
|
], StripeLog.prototype, "stripeEventId", 2);
|
|
8904
8975
|
__decorateClass([
|
|
8905
|
-
(0,
|
|
8976
|
+
(0, import_typeorm80.Column)({ name: "event_type", type: "varchar", nullable: true })
|
|
8906
8977
|
], StripeLog.prototype, "eventType", 2);
|
|
8907
8978
|
__decorateClass([
|
|
8908
|
-
(0,
|
|
8979
|
+
(0, import_typeorm80.Column)({ name: "stripe_account_id", type: "varchar", nullable: true })
|
|
8909
8980
|
], StripeLog.prototype, "stripeAccountId", 2);
|
|
8910
8981
|
__decorateClass([
|
|
8911
|
-
(0,
|
|
8982
|
+
(0, import_typeorm80.Column)({ name: "raw_webhook_data", type: "jsonb", nullable: true })
|
|
8912
8983
|
], StripeLog.prototype, "rawWebhookData", 2);
|
|
8913
8984
|
StripeLog = __decorateClass([
|
|
8914
|
-
(0,
|
|
8985
|
+
(0, import_typeorm80.Entity)("stripe_logs")
|
|
8915
8986
|
], StripeLog);
|
|
8916
8987
|
|
|
8917
8988
|
// src/entities/recommendation-weightage-config.entity.ts
|
|
8918
|
-
var
|
|
8989
|
+
var import_typeorm81 = require("typeorm");
|
|
8919
8990
|
var RecommendationWeightageConfig = class extends BaseEntity {
|
|
8920
8991
|
};
|
|
8921
8992
|
__decorateClass([
|
|
8922
|
-
(0,
|
|
8993
|
+
(0, import_typeorm81.Column)({
|
|
8923
8994
|
type: "varchar",
|
|
8924
8995
|
length: 100,
|
|
8925
8996
|
unique: true,
|
|
8926
8997
|
comment: "Unique key identifier (e.g., full_time_weights, hourly_weights)"
|
|
8927
8998
|
}),
|
|
8928
|
-
(0,
|
|
8999
|
+
(0, import_typeorm81.Index)()
|
|
8929
9000
|
], RecommendationWeightageConfig.prototype, "key", 2);
|
|
8930
9001
|
__decorateClass([
|
|
8931
|
-
(0,
|
|
9002
|
+
(0, import_typeorm81.Column)({
|
|
8932
9003
|
type: "jsonb",
|
|
8933
9004
|
comment: "JSON object containing weight values",
|
|
8934
9005
|
nullable: true
|
|
8935
9006
|
})
|
|
8936
9007
|
], RecommendationWeightageConfig.prototype, "value", 2);
|
|
8937
9008
|
__decorateClass([
|
|
8938
|
-
(0,
|
|
9009
|
+
(0, import_typeorm81.Column)({ name: "is_active", type: "boolean", default: true })
|
|
8939
9010
|
], RecommendationWeightageConfig.prototype, "isActive", 2);
|
|
8940
9011
|
RecommendationWeightageConfig = __decorateClass([
|
|
8941
|
-
(0,
|
|
9012
|
+
(0, import_typeorm81.Entity)("recommendation_weightage_configs")
|
|
8942
9013
|
], RecommendationWeightageConfig);
|
|
8943
9014
|
// Annotate the CommonJS export names for ESM import in node:
|
|
8944
9015
|
0 && (module.exports = {
|
|
@@ -8964,6 +9035,7 @@ RecommendationWeightageConfig = __decorateClass([
|
|
|
8964
9035
|
AnswerTypeEnum,
|
|
8965
9036
|
ApplicationStatusEnum,
|
|
8966
9037
|
AssessmentAnswer,
|
|
9038
|
+
AssessmentRequestStatusEnum,
|
|
8967
9039
|
AssessmentStatusEnum,
|
|
8968
9040
|
AssessmetQuestion,
|
|
8969
9041
|
AssessmetQuestionOption,
|
|
@@ -9058,6 +9130,7 @@ RecommendationWeightageConfig = __decorateClass([
|
|
|
9058
9130
|
Feature,
|
|
9059
9131
|
ForgotPasswordDto,
|
|
9060
9132
|
FreelancerAssessment,
|
|
9133
|
+
FreelancerAssessmentRequest,
|
|
9061
9134
|
FreelancerBankDetailsDto,
|
|
9062
9135
|
FreelancerCaptureAiAssessmentStatusDto,
|
|
9063
9136
|
FreelancerCaseStudy,
|