@experts_hub/shared 1.0.224 → 1.0.226
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/company-skill.entity.d.ts +7 -0
- package/dist/entities/index.d.ts +1 -0
- package/dist/entities/user.entity.d.ts +3 -1
- package/dist/index.d.mts +9 -2
- package/dist/index.d.ts +9 -2
- package/dist/index.js +135 -110
- package/dist/index.mjs +114 -90
- package/package.json +1 -1
package/dist/entities/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export * from './freelancer-tool.entity';
|
|
|
15
15
|
export * from './freelancer-framework.entity';
|
|
16
16
|
export * from './freelancer-declaration.entity';
|
|
17
17
|
export * from './company-profile.entity';
|
|
18
|
+
export * from './company-skill.entity';
|
|
18
19
|
export * from './company-role.entity';
|
|
19
20
|
export * from './company-role-permission.entity';
|
|
20
21
|
export * from './skill.entity';
|
|
@@ -21,6 +21,7 @@ import { FreelancerAssessment } from "./freelancer-assessment.entity";
|
|
|
21
21
|
import { FreelancerDeclaration } from "./freelancer-declaration.entity";
|
|
22
22
|
import { CompanyMemberRole } from "./company-members-roles.entity";
|
|
23
23
|
import { AssessmentAnswer } from "./assessment-answer.entity";
|
|
24
|
+
import { CompanySkill } from "./company-skill.entity";
|
|
24
25
|
export declare enum AccountType {
|
|
25
26
|
ADMIN = "ADMIN",
|
|
26
27
|
SUB_ADMIN = "SUB_ADMIN",
|
|
@@ -70,9 +71,10 @@ export declare class User extends BaseEntity {
|
|
|
70
71
|
gitLabsId: string;
|
|
71
72
|
otps: Otp[];
|
|
72
73
|
senseloafLogs: SenseloafLog[];
|
|
73
|
-
freelancerProfile: FreelancerProfile;
|
|
74
74
|
companyProfile: CompanyProfile;
|
|
75
|
+
companySkills: CompanySkill[];
|
|
75
76
|
companyMemberRoles: CompanyMemberRole[];
|
|
77
|
+
freelancerProfile: FreelancerProfile;
|
|
76
78
|
assessments: FreelancerAssessment[];
|
|
77
79
|
assessmentAnswers: AssessmentAnswer[];
|
|
78
80
|
freelancerSkills: FreelancerSkill[];
|
package/dist/index.d.mts
CHANGED
|
@@ -1050,6 +1050,12 @@ declare class AssessmentAnswer extends BaseEntity {
|
|
|
1050
1050
|
score: number;
|
|
1051
1051
|
}
|
|
1052
1052
|
|
|
1053
|
+
declare class CompanySkill extends BaseEntity {
|
|
1054
|
+
userId: number;
|
|
1055
|
+
user: User;
|
|
1056
|
+
skillName: string;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1053
1059
|
declare enum AccountType {
|
|
1054
1060
|
ADMIN = "ADMIN",
|
|
1055
1061
|
SUB_ADMIN = "SUB_ADMIN",
|
|
@@ -1099,9 +1105,10 @@ declare class User extends BaseEntity {
|
|
|
1099
1105
|
gitLabsId: string;
|
|
1100
1106
|
otps: Otp[];
|
|
1101
1107
|
senseloafLogs: SenseloafLog[];
|
|
1102
|
-
freelancerProfile: FreelancerProfile;
|
|
1103
1108
|
companyProfile: CompanyProfile;
|
|
1109
|
+
companySkills: CompanySkill[];
|
|
1104
1110
|
companyMemberRoles: CompanyMemberRole[];
|
|
1111
|
+
freelancerProfile: FreelancerProfile;
|
|
1105
1112
|
assessments: FreelancerAssessment[];
|
|
1106
1113
|
assessmentAnswers: AssessmentAnswer[];
|
|
1107
1114
|
freelancerSkills: FreelancerSkill[];
|
|
@@ -1904,4 +1911,4 @@ declare class Lead extends BaseEntity {
|
|
|
1904
1911
|
category: CategoryEmum;
|
|
1905
1912
|
}
|
|
1906
1913
|
|
|
1907
|
-
export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminUpdateJobInformationDto, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, COUNTRY_PATTERN, CaseStudyDto, CategoryEmum, CategoryEmumDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, Country, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateFreelancerDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkill, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToFreelancerResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateFreelancerPayload, type ICreateFreelancerResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteFreelancerResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchFreelancersResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateFreelancerPayload, type IUpdateFreelancerResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
|
1914
|
+
export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminUpdateJobInformationDto, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, COUNTRY_PATTERN, CaseStudyDto, CategoryEmum, CategoryEmumDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateFreelancerDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkill, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToFreelancerResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateFreelancerPayload, type ICreateFreelancerResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteFreelancerResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchFreelancersResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateFreelancerPayload, type IUpdateFreelancerResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.d.ts
CHANGED
|
@@ -1050,6 +1050,12 @@ declare class AssessmentAnswer extends BaseEntity {
|
|
|
1050
1050
|
score: number;
|
|
1051
1051
|
}
|
|
1052
1052
|
|
|
1053
|
+
declare class CompanySkill extends BaseEntity {
|
|
1054
|
+
userId: number;
|
|
1055
|
+
user: User;
|
|
1056
|
+
skillName: string;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1053
1059
|
declare enum AccountType {
|
|
1054
1060
|
ADMIN = "ADMIN",
|
|
1055
1061
|
SUB_ADMIN = "SUB_ADMIN",
|
|
@@ -1099,9 +1105,10 @@ declare class User extends BaseEntity {
|
|
|
1099
1105
|
gitLabsId: string;
|
|
1100
1106
|
otps: Otp[];
|
|
1101
1107
|
senseloafLogs: SenseloafLog[];
|
|
1102
|
-
freelancerProfile: FreelancerProfile;
|
|
1103
1108
|
companyProfile: CompanyProfile;
|
|
1109
|
+
companySkills: CompanySkill[];
|
|
1104
1110
|
companyMemberRoles: CompanyMemberRole[];
|
|
1111
|
+
freelancerProfile: FreelancerProfile;
|
|
1105
1112
|
assessments: FreelancerAssessment[];
|
|
1106
1113
|
assessmentAnswers: AssessmentAnswer[];
|
|
1107
1114
|
freelancerSkills: FreelancerSkill[];
|
|
@@ -1904,4 +1911,4 @@ declare class Lead extends BaseEntity {
|
|
|
1904
1911
|
category: CategoryEmum;
|
|
1905
1912
|
}
|
|
1906
1913
|
|
|
1907
|
-
export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminUpdateJobInformationDto, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, COUNTRY_PATTERN, CaseStudyDto, CategoryEmum, CategoryEmumDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, Country, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateFreelancerDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkill, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToFreelancerResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateFreelancerPayload, type ICreateFreelancerResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteFreelancerResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchFreelancersResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateFreelancerPayload, type IUpdateFreelancerResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
|
1914
|
+
export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminUpdateJobInformationDto, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, COUNTRY_PATTERN, CaseStudyDto, CategoryEmum, CategoryEmumDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateFreelancerDto, CreateLeadDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkill, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToFreelancerResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateFreelancerPayload, type ICreateFreelancerResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteFreelancerResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchClientsResponse, type IFetchCmsQuery, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchFreelancersResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientAccountStatusPayload, type IUpdateClientAccountStatusResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateClientResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateFreelancerPayload, type IUpdateFreelancerResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.js
CHANGED
|
@@ -67,6 +67,7 @@ __export(index_exports, {
|
|
|
67
67
|
CompanyProfile: () => CompanyProfile,
|
|
68
68
|
CompanyRole: () => CompanyRole,
|
|
69
69
|
CompanyRolePermission: () => CompanyRolePermission,
|
|
70
|
+
CompanySkill: () => CompanySkill,
|
|
70
71
|
Country: () => Country,
|
|
71
72
|
CreateClientDto: () => CreateClientDto,
|
|
72
73
|
CreateClientHiringModeEnum: () => CreateClientHiringModeEnum,
|
|
@@ -1176,10 +1177,10 @@ var RATING_PATTERN = {
|
|
|
1176
1177
|
var import_class_validator35 = require("class-validator");
|
|
1177
1178
|
|
|
1178
1179
|
// src/entities/rating.entity.ts
|
|
1179
|
-
var
|
|
1180
|
+
var import_typeorm36 = require("typeorm");
|
|
1180
1181
|
|
|
1181
1182
|
// src/entities/user.entity.ts
|
|
1182
|
-
var
|
|
1183
|
+
var import_typeorm35 = require("typeorm");
|
|
1183
1184
|
|
|
1184
1185
|
// src/entities/base.entity.ts
|
|
1185
1186
|
var import_typeorm = require("typeorm");
|
|
@@ -2832,6 +2833,26 @@ AssessmentAnswer = __decorateClass([
|
|
|
2832
2833
|
(0, import_typeorm33.Entity)("assessment_answers")
|
|
2833
2834
|
], AssessmentAnswer);
|
|
2834
2835
|
|
|
2836
|
+
// src/entities/company-skill.entity.ts
|
|
2837
|
+
var import_typeorm34 = require("typeorm");
|
|
2838
|
+
var CompanySkill = class extends BaseEntity {
|
|
2839
|
+
};
|
|
2840
|
+
// individual index to find core skills by user
|
|
2841
|
+
__decorateClass([
|
|
2842
|
+
(0, import_typeorm34.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
2843
|
+
(0, import_typeorm34.Index)()
|
|
2844
|
+
], CompanySkill.prototype, "userId", 2);
|
|
2845
|
+
__decorateClass([
|
|
2846
|
+
(0, import_typeorm34.ManyToOne)(() => User, (user) => user.freelancerSkills),
|
|
2847
|
+
(0, import_typeorm34.JoinColumn)({ name: "user_id" })
|
|
2848
|
+
], CompanySkill.prototype, "user", 2);
|
|
2849
|
+
__decorateClass([
|
|
2850
|
+
(0, import_typeorm34.Column)({ name: "skill_name", type: "varchar", nullable: true })
|
|
2851
|
+
], CompanySkill.prototype, "skillName", 2);
|
|
2852
|
+
CompanySkill = __decorateClass([
|
|
2853
|
+
(0, import_typeorm34.Entity)("company_skills")
|
|
2854
|
+
], CompanySkill);
|
|
2855
|
+
|
|
2835
2856
|
// src/entities/user.entity.ts
|
|
2836
2857
|
var AccountType = /* @__PURE__ */ ((AccountType2) => {
|
|
2837
2858
|
AccountType2["ADMIN"] = "ADMIN";
|
|
@@ -2857,51 +2878,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
|
|
|
2857
2878
|
var User = class extends BaseEntity {
|
|
2858
2879
|
};
|
|
2859
2880
|
__decorateClass([
|
|
2860
|
-
(0,
|
|
2881
|
+
(0, import_typeorm35.Column)({ name: "unique_id", type: "varchar", unique: true })
|
|
2861
2882
|
], User.prototype, "uniqueId", 2);
|
|
2862
2883
|
__decorateClass([
|
|
2863
|
-
(0,
|
|
2864
|
-
(0,
|
|
2884
|
+
(0, import_typeorm35.Column)({ name: "parent_id", type: "integer", nullable: true }),
|
|
2885
|
+
(0, import_typeorm35.Index)()
|
|
2865
2886
|
], User.prototype, "parentId", 2);
|
|
2866
2887
|
__decorateClass([
|
|
2867
|
-
(0,
|
|
2868
|
-
(0,
|
|
2888
|
+
(0, import_typeorm35.ManyToOne)(() => User, (user) => user.children, { nullable: true }),
|
|
2889
|
+
(0, import_typeorm35.JoinColumn)({ name: "parent_id" })
|
|
2869
2890
|
], User.prototype, "parent", 2);
|
|
2870
2891
|
__decorateClass([
|
|
2871
|
-
(0,
|
|
2892
|
+
(0, import_typeorm35.OneToMany)(() => User, (user) => user.parent)
|
|
2872
2893
|
], User.prototype, "children", 2);
|
|
2873
2894
|
__decorateClass([
|
|
2874
|
-
(0,
|
|
2895
|
+
(0, import_typeorm35.Column)({ name: "username", type: "varchar", unique: true, nullable: true })
|
|
2875
2896
|
], User.prototype, "username", 2);
|
|
2876
2897
|
__decorateClass([
|
|
2877
|
-
(0,
|
|
2898
|
+
(0, import_typeorm35.Column)({ name: "first_name", type: "varchar", length: 100, nullable: true })
|
|
2878
2899
|
], User.prototype, "firstName", 2);
|
|
2879
2900
|
__decorateClass([
|
|
2880
|
-
(0,
|
|
2901
|
+
(0, import_typeorm35.Column)({ name: "last_name", type: "varchar", length: 100, nullable: true })
|
|
2881
2902
|
], User.prototype, "lastName", 2);
|
|
2882
2903
|
__decorateClass([
|
|
2883
|
-
(0,
|
|
2904
|
+
(0, import_typeorm35.Column)({ name: "date_of_birth", type: "date", nullable: true })
|
|
2884
2905
|
], User.prototype, "dateOfBirth", 2);
|
|
2885
2906
|
__decorateClass([
|
|
2886
|
-
(0,
|
|
2907
|
+
(0, import_typeorm35.Column)({ name: "gender", type: "varchar", length: 10, nullable: true })
|
|
2887
2908
|
], User.prototype, "gender", 2);
|
|
2888
2909
|
__decorateClass([
|
|
2889
|
-
(0,
|
|
2910
|
+
(0, import_typeorm35.Column)({ name: "profile_picture_url", type: "text", nullable: true })
|
|
2890
2911
|
], User.prototype, "profilePictureUrl", 2);
|
|
2891
2912
|
__decorateClass([
|
|
2892
|
-
(0,
|
|
2913
|
+
(0, import_typeorm35.Column)({ name: "email", type: "varchar", unique: true })
|
|
2893
2914
|
], User.prototype, "email", 2);
|
|
2894
2915
|
__decorateClass([
|
|
2895
|
-
(0,
|
|
2916
|
+
(0, import_typeorm35.Column)({ name: "mobile_code", type: "varchar", nullable: true })
|
|
2896
2917
|
], User.prototype, "mobileCode", 2);
|
|
2897
2918
|
__decorateClass([
|
|
2898
|
-
(0,
|
|
2919
|
+
(0, import_typeorm35.Column)({ name: "mobile", type: "varchar", nullable: true })
|
|
2899
2920
|
], User.prototype, "mobile", 2);
|
|
2900
2921
|
__decorateClass([
|
|
2901
|
-
(0,
|
|
2922
|
+
(0, import_typeorm35.Column)({ name: "password", type: "varchar", nullable: true })
|
|
2902
2923
|
], User.prototype, "password", 2);
|
|
2903
2924
|
__decorateClass([
|
|
2904
|
-
(0,
|
|
2925
|
+
(0, import_typeorm35.Column)({
|
|
2905
2926
|
name: "account_type",
|
|
2906
2927
|
type: "enum",
|
|
2907
2928
|
enum: AccountType,
|
|
@@ -2909,7 +2930,7 @@ __decorateClass([
|
|
|
2909
2930
|
})
|
|
2910
2931
|
], User.prototype, "accountType", 2);
|
|
2911
2932
|
__decorateClass([
|
|
2912
|
-
(0,
|
|
2933
|
+
(0, import_typeorm35.Column)({
|
|
2913
2934
|
name: "account_status",
|
|
2914
2935
|
type: "enum",
|
|
2915
2936
|
enum: AccountStatus,
|
|
@@ -2917,36 +2938,36 @@ __decorateClass([
|
|
|
2917
2938
|
})
|
|
2918
2939
|
], User.prototype, "accountStatus", 2);
|
|
2919
2940
|
__decorateClass([
|
|
2920
|
-
(0,
|
|
2941
|
+
(0, import_typeorm35.Column)({ name: "is_email_verified", type: "boolean", default: false })
|
|
2921
2942
|
], User.prototype, "isEmailVerified", 2);
|
|
2922
2943
|
__decorateClass([
|
|
2923
|
-
(0,
|
|
2944
|
+
(0, import_typeorm35.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
|
|
2924
2945
|
], User.prototype, "isMobileVerified", 2);
|
|
2925
2946
|
__decorateClass([
|
|
2926
|
-
(0,
|
|
2947
|
+
(0, import_typeorm35.Column)({
|
|
2927
2948
|
name: "last_login_at",
|
|
2928
2949
|
type: "timestamp with time zone",
|
|
2929
2950
|
nullable: true
|
|
2930
2951
|
})
|
|
2931
2952
|
], User.prototype, "lastLoginAt", 2);
|
|
2932
2953
|
__decorateClass([
|
|
2933
|
-
(0,
|
|
2954
|
+
(0, import_typeorm35.Column)({ name: "last_login_ip", type: "varchar", nullable: true })
|
|
2934
2955
|
], User.prototype, "lastLoginIp", 2);
|
|
2935
2956
|
__decorateClass([
|
|
2936
|
-
(0,
|
|
2957
|
+
(0, import_typeorm35.Column)({ name: "reset_token", type: "varchar", nullable: true })
|
|
2937
2958
|
], User.prototype, "resetToken", 2);
|
|
2938
2959
|
__decorateClass([
|
|
2939
|
-
(0,
|
|
2960
|
+
(0, import_typeorm35.Column)({
|
|
2940
2961
|
name: "reset_token_expire_at",
|
|
2941
2962
|
type: "timestamp with time zone",
|
|
2942
2963
|
nullable: true
|
|
2943
2964
|
})
|
|
2944
2965
|
], User.prototype, "resetTokenExpireAt", 2);
|
|
2945
2966
|
__decorateClass([
|
|
2946
|
-
(0,
|
|
2967
|
+
(0, import_typeorm35.OneToMany)(() => RefreshToken, (token) => token.user)
|
|
2947
2968
|
], User.prototype, "refreshTokens", 2);
|
|
2948
2969
|
__decorateClass([
|
|
2949
|
-
(0,
|
|
2970
|
+
(0, import_typeorm35.Column)({
|
|
2950
2971
|
name: "provider",
|
|
2951
2972
|
type: "enum",
|
|
2952
2973
|
enum: Provider,
|
|
@@ -2955,85 +2976,88 @@ __decorateClass([
|
|
|
2955
2976
|
})
|
|
2956
2977
|
], User.prototype, "provider", 2);
|
|
2957
2978
|
__decorateClass([
|
|
2958
|
-
(0,
|
|
2979
|
+
(0, import_typeorm35.Column)({ name: "provider_token", type: "varchar", nullable: true })
|
|
2959
2980
|
], User.prototype, "providerToken", 2);
|
|
2960
2981
|
__decorateClass([
|
|
2961
|
-
(0,
|
|
2982
|
+
(0, import_typeorm35.Column)({ name: "linkedin_id", type: "varchar", nullable: true })
|
|
2962
2983
|
], User.prototype, "linkedInId", 2);
|
|
2963
2984
|
__decorateClass([
|
|
2964
|
-
(0,
|
|
2985
|
+
(0, import_typeorm35.Column)({ name: "google_id", type: "varchar", nullable: true })
|
|
2965
2986
|
], User.prototype, "googleId", 2);
|
|
2966
2987
|
__decorateClass([
|
|
2967
|
-
(0,
|
|
2988
|
+
(0, import_typeorm35.Column)({ name: "gitlabs_id", type: "varchar", nullable: true })
|
|
2968
2989
|
], User.prototype, "gitLabsId", 2);
|
|
2969
2990
|
__decorateClass([
|
|
2970
|
-
(0,
|
|
2991
|
+
(0, import_typeorm35.OneToMany)(() => Otp, (otp) => otp.user)
|
|
2971
2992
|
], User.prototype, "otps", 2);
|
|
2972
2993
|
__decorateClass([
|
|
2973
|
-
(0,
|
|
2994
|
+
(0, import_typeorm35.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
|
|
2974
2995
|
], User.prototype, "senseloafLogs", 2);
|
|
2975
2996
|
__decorateClass([
|
|
2976
|
-
(0,
|
|
2977
|
-
], User.prototype, "freelancerProfile", 2);
|
|
2978
|
-
__decorateClass([
|
|
2979
|
-
(0, import_typeorm34.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user, { cascade: true })
|
|
2997
|
+
(0, import_typeorm35.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user, { cascade: true })
|
|
2980
2998
|
], User.prototype, "companyProfile", 2);
|
|
2981
2999
|
__decorateClass([
|
|
2982
|
-
(0,
|
|
3000
|
+
(0, import_typeorm35.OneToMany)(() => CompanySkill, (companySkill) => companySkill.user)
|
|
3001
|
+
], User.prototype, "companySkills", 2);
|
|
3002
|
+
__decorateClass([
|
|
3003
|
+
(0, import_typeorm35.OneToMany)(() => CompanyMemberRole, (companyMemberRole) => companyMemberRole.user)
|
|
2983
3004
|
], User.prototype, "companyMemberRoles", 2);
|
|
2984
3005
|
__decorateClass([
|
|
2985
|
-
(0,
|
|
3006
|
+
(0, import_typeorm35.OneToOne)(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.user, { cascade: true })
|
|
3007
|
+
], User.prototype, "freelancerProfile", 2);
|
|
3008
|
+
__decorateClass([
|
|
3009
|
+
(0, import_typeorm35.OneToMany)(() => FreelancerAssessment, (freelancerAssessment) => freelancerAssessment.user)
|
|
2986
3010
|
], User.prototype, "assessments", 2);
|
|
2987
3011
|
__decorateClass([
|
|
2988
|
-
(0,
|
|
3012
|
+
(0, import_typeorm35.OneToMany)(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.user)
|
|
2989
3013
|
], User.prototype, "assessmentAnswers", 2);
|
|
2990
3014
|
__decorateClass([
|
|
2991
|
-
(0,
|
|
3015
|
+
(0, import_typeorm35.OneToMany)(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
|
|
2992
3016
|
], User.prototype, "freelancerSkills", 2);
|
|
2993
3017
|
__decorateClass([
|
|
2994
|
-
(0,
|
|
3018
|
+
(0, import_typeorm35.OneToMany)(() => FreelancerExperience, (freelancerExperience) => freelancerExperience.user)
|
|
2995
3019
|
], User.prototype, "freelancerExperience", 2);
|
|
2996
3020
|
__decorateClass([
|
|
2997
|
-
(0,
|
|
3021
|
+
(0, import_typeorm35.OneToMany)(() => FreelancerEducation, (freelancerEducation) => freelancerEducation.user)
|
|
2998
3022
|
], User.prototype, "freelancerEducation", 2);
|
|
2999
3023
|
__decorateClass([
|
|
3000
|
-
(0,
|
|
3024
|
+
(0, import_typeorm35.OneToMany)(() => FreelancerProject, (freelancerProject) => freelancerProject.user)
|
|
3001
3025
|
], User.prototype, "freelancerProject", 2);
|
|
3002
3026
|
__decorateClass([
|
|
3003
|
-
(0,
|
|
3027
|
+
(0, import_typeorm35.OneToMany)(() => FreelancerCaseStudy, (freelancerCaseStudy) => freelancerCaseStudy.user)
|
|
3004
3028
|
], User.prototype, "freelancerCaseStudy", 2);
|
|
3005
3029
|
__decorateClass([
|
|
3006
|
-
(0,
|
|
3030
|
+
(0, import_typeorm35.OneToMany)(() => FreelancerTool, (freelancerTool) => freelancerTool.user)
|
|
3007
3031
|
], User.prototype, "freelancerTool", 2);
|
|
3008
3032
|
__decorateClass([
|
|
3009
|
-
(0,
|
|
3033
|
+
(0, import_typeorm35.OneToMany)(() => FreelancerFramework, (freelancerFramework) => freelancerFramework.user)
|
|
3010
3034
|
], User.prototype, "freelancerFramework", 2);
|
|
3011
3035
|
__decorateClass([
|
|
3012
|
-
(0,
|
|
3036
|
+
(0, import_typeorm35.OneToOne)(() => FreelancerDeclaration, (freelancerDeclaration) => freelancerDeclaration.user)
|
|
3013
3037
|
], User.prototype, "freelancerDeclaration", 2);
|
|
3014
3038
|
__decorateClass([
|
|
3015
|
-
(0,
|
|
3039
|
+
(0, import_typeorm35.OneToMany)(() => Job, (job) => job.user)
|
|
3016
3040
|
], User.prototype, "jobs", 2);
|
|
3017
3041
|
__decorateClass([
|
|
3018
|
-
(0,
|
|
3042
|
+
(0, import_typeorm35.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.user)
|
|
3019
3043
|
], User.prototype, "jobApplications", 2);
|
|
3020
3044
|
__decorateClass([
|
|
3021
|
-
(0,
|
|
3045
|
+
(0, import_typeorm35.OneToMany)(() => Interview, (interview) => interview.user)
|
|
3022
3046
|
], User.prototype, "interviews", 2);
|
|
3023
3047
|
__decorateClass([
|
|
3024
|
-
(0,
|
|
3048
|
+
(0, import_typeorm35.OneToMany)(() => BankDetail, (bankDetail) => bankDetail.user)
|
|
3025
3049
|
], User.prototype, "bankDetail", 2);
|
|
3026
3050
|
__decorateClass([
|
|
3027
|
-
(0,
|
|
3051
|
+
(0, import_typeorm35.OneToMany)(() => SystemPreference, (systemPreference) => systemPreference.user)
|
|
3028
3052
|
], User.prototype, "systemPreference", 2);
|
|
3029
3053
|
__decorateClass([
|
|
3030
|
-
(0,
|
|
3054
|
+
(0, import_typeorm35.OneToMany)(() => Rating, (rating) => rating.reviewer)
|
|
3031
3055
|
], User.prototype, "givenRatings", 2);
|
|
3032
3056
|
__decorateClass([
|
|
3033
|
-
(0,
|
|
3057
|
+
(0, import_typeorm35.OneToMany)(() => Rating, (rating) => rating.reviewee)
|
|
3034
3058
|
], User.prototype, "receivedRatings", 2);
|
|
3035
3059
|
User = __decorateClass([
|
|
3036
|
-
(0,
|
|
3060
|
+
(0, import_typeorm35.Entity)("users")
|
|
3037
3061
|
], User);
|
|
3038
3062
|
|
|
3039
3063
|
// src/entities/rating.entity.ts
|
|
@@ -3045,36 +3069,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
|
|
|
3045
3069
|
var Rating = class extends BaseEntity {
|
|
3046
3070
|
};
|
|
3047
3071
|
__decorateClass([
|
|
3048
|
-
(0,
|
|
3049
|
-
(0,
|
|
3072
|
+
(0, import_typeorm36.Column)({ name: "reviewer_id", type: "integer" }),
|
|
3073
|
+
(0, import_typeorm36.Index)()
|
|
3050
3074
|
], Rating.prototype, "reviewer_id", 2);
|
|
3051
3075
|
__decorateClass([
|
|
3052
|
-
(0,
|
|
3053
|
-
(0,
|
|
3076
|
+
(0, import_typeorm36.ManyToOne)(() => User, { onDelete: "CASCADE" }),
|
|
3077
|
+
(0, import_typeorm36.JoinColumn)({ name: "reviewer_id" })
|
|
3054
3078
|
], Rating.prototype, "reviewer", 2);
|
|
3055
3079
|
__decorateClass([
|
|
3056
|
-
(0,
|
|
3057
|
-
(0,
|
|
3080
|
+
(0, import_typeorm36.Column)({ name: "reviewee_id", type: "integer" }),
|
|
3081
|
+
(0, import_typeorm36.Index)()
|
|
3058
3082
|
], Rating.prototype, "reviewee_id", 2);
|
|
3059
3083
|
__decorateClass([
|
|
3060
|
-
(0,
|
|
3061
|
-
(0,
|
|
3084
|
+
(0, import_typeorm36.ManyToOne)(() => User, { onDelete: "CASCADE" }),
|
|
3085
|
+
(0, import_typeorm36.JoinColumn)({ name: "reviewee_id" })
|
|
3062
3086
|
], Rating.prototype, "reviewee", 2);
|
|
3063
3087
|
__decorateClass([
|
|
3064
|
-
(0,
|
|
3088
|
+
(0, import_typeorm36.Column)({
|
|
3065
3089
|
type: "enum",
|
|
3066
3090
|
enum: RatingTypeEnum,
|
|
3067
3091
|
nullable: true
|
|
3068
3092
|
})
|
|
3069
3093
|
], Rating.prototype, "ratingType", 2);
|
|
3070
3094
|
__decorateClass([
|
|
3071
|
-
(0,
|
|
3095
|
+
(0, import_typeorm36.Column)({ type: "integer", nullable: true })
|
|
3072
3096
|
], Rating.prototype, "rating", 2);
|
|
3073
3097
|
__decorateClass([
|
|
3074
|
-
(0,
|
|
3098
|
+
(0, import_typeorm36.Column)({ type: "text", nullable: true })
|
|
3075
3099
|
], Rating.prototype, "review", 2);
|
|
3076
3100
|
Rating = __decorateClass([
|
|
3077
|
-
(0,
|
|
3101
|
+
(0, import_typeorm36.Entity)("ratings")
|
|
3078
3102
|
], Rating);
|
|
3079
3103
|
|
|
3080
3104
|
// src/modules/rating/dto/add.rating.dto.ts
|
|
@@ -4298,7 +4322,7 @@ var NotificationRMQAdapter = (mode = "microservice") => {
|
|
|
4298
4322
|
};
|
|
4299
4323
|
|
|
4300
4324
|
// src/entities/question.entity.ts
|
|
4301
|
-
var
|
|
4325
|
+
var import_typeorm37 = require("typeorm");
|
|
4302
4326
|
var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
4303
4327
|
QuestionFor2["CLIENT"] = "CLIENT";
|
|
4304
4328
|
QuestionFor2["FREELANCER"] = "FREELANCER";
|
|
@@ -4307,16 +4331,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
|
4307
4331
|
var Question = class extends BaseEntity {
|
|
4308
4332
|
};
|
|
4309
4333
|
__decorateClass([
|
|
4310
|
-
(0,
|
|
4334
|
+
(0, import_typeorm37.Column)({ name: "question", type: "varchar" })
|
|
4311
4335
|
], Question.prototype, "question", 2);
|
|
4312
4336
|
__decorateClass([
|
|
4313
|
-
(0,
|
|
4337
|
+
(0, import_typeorm37.Column)({ name: "hint", type: "varchar", nullable: true })
|
|
4314
4338
|
], Question.prototype, "hint", 2);
|
|
4315
4339
|
__decorateClass([
|
|
4316
|
-
(0,
|
|
4340
|
+
(0, import_typeorm37.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
4317
4341
|
], Question.prototype, "slug", 2);
|
|
4318
4342
|
__decorateClass([
|
|
4319
|
-
(0,
|
|
4343
|
+
(0, import_typeorm37.Column)({
|
|
4320
4344
|
name: "question_for",
|
|
4321
4345
|
type: "enum",
|
|
4322
4346
|
enum: QuestionFor,
|
|
@@ -4324,100 +4348,100 @@ __decorateClass([
|
|
|
4324
4348
|
})
|
|
4325
4349
|
], Question.prototype, "questionFor", 2);
|
|
4326
4350
|
__decorateClass([
|
|
4327
|
-
(0,
|
|
4351
|
+
(0, import_typeorm37.Column)({ name: "type", type: "varchar", nullable: true })
|
|
4328
4352
|
], Question.prototype, "type", 2);
|
|
4329
4353
|
__decorateClass([
|
|
4330
|
-
(0,
|
|
4354
|
+
(0, import_typeorm37.Column)({ name: "options", type: "jsonb", nullable: true })
|
|
4331
4355
|
], Question.prototype, "options", 2);
|
|
4332
4356
|
__decorateClass([
|
|
4333
|
-
(0,
|
|
4357
|
+
(0, import_typeorm37.Column)({ name: "is_active", type: "boolean", default: false })
|
|
4334
4358
|
], Question.prototype, "isActive", 2);
|
|
4335
4359
|
Question = __decorateClass([
|
|
4336
|
-
(0,
|
|
4360
|
+
(0, import_typeorm37.Entity)("questions")
|
|
4337
4361
|
], Question);
|
|
4338
4362
|
|
|
4339
4363
|
// src/entities/job-role.entity.ts
|
|
4340
|
-
var
|
|
4364
|
+
var import_typeorm38 = require("typeorm");
|
|
4341
4365
|
var JobRoles = class extends BaseEntity {
|
|
4342
4366
|
};
|
|
4343
4367
|
__decorateClass([
|
|
4344
|
-
(0,
|
|
4368
|
+
(0, import_typeorm38.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
4345
4369
|
], JobRoles.prototype, "slug", 2);
|
|
4346
4370
|
__decorateClass([
|
|
4347
|
-
(0,
|
|
4371
|
+
(0, import_typeorm38.Column)({ name: "name", type: "varchar", nullable: true })
|
|
4348
4372
|
], JobRoles.prototype, "name", 2);
|
|
4349
4373
|
__decorateClass([
|
|
4350
|
-
(0,
|
|
4374
|
+
(0, import_typeorm38.Column)({ name: "is_active", type: "boolean", default: true })
|
|
4351
4375
|
], JobRoles.prototype, "isActive", 2);
|
|
4352
4376
|
JobRoles = __decorateClass([
|
|
4353
|
-
(0,
|
|
4377
|
+
(0, import_typeorm38.Entity)("job_roles")
|
|
4354
4378
|
], JobRoles);
|
|
4355
4379
|
|
|
4356
4380
|
// src/entities/plan.entity.ts
|
|
4357
|
-
var
|
|
4381
|
+
var import_typeorm40 = require("typeorm");
|
|
4358
4382
|
|
|
4359
4383
|
// src/entities/feature.entity.ts
|
|
4360
|
-
var
|
|
4384
|
+
var import_typeorm39 = require("typeorm");
|
|
4361
4385
|
var Feature = class extends BaseEntity {
|
|
4362
4386
|
};
|
|
4363
4387
|
__decorateClass([
|
|
4364
|
-
(0,
|
|
4388
|
+
(0, import_typeorm39.Column)({ name: "name", type: "varchar", unique: true })
|
|
4365
4389
|
], Feature.prototype, "name", 2);
|
|
4366
4390
|
__decorateClass([
|
|
4367
|
-
(0,
|
|
4391
|
+
(0, import_typeorm39.ManyToMany)(() => Plan, (plan) => plan.features)
|
|
4368
4392
|
], Feature.prototype, "plans", 2);
|
|
4369
4393
|
Feature = __decorateClass([
|
|
4370
|
-
(0,
|
|
4394
|
+
(0, import_typeorm39.Entity)("features")
|
|
4371
4395
|
], Feature);
|
|
4372
4396
|
|
|
4373
4397
|
// src/entities/plan.entity.ts
|
|
4374
4398
|
var Plan = class extends BaseEntity {
|
|
4375
4399
|
};
|
|
4376
4400
|
__decorateClass([
|
|
4377
|
-
(0,
|
|
4401
|
+
(0, import_typeorm40.Column)({ name: "name", type: "varchar", unique: true })
|
|
4378
4402
|
], Plan.prototype, "name", 2);
|
|
4379
4403
|
__decorateClass([
|
|
4380
|
-
(0,
|
|
4404
|
+
(0, import_typeorm40.Column)({ name: "description", type: "varchar", nullable: true })
|
|
4381
4405
|
], Plan.prototype, "description", 2);
|
|
4382
4406
|
__decorateClass([
|
|
4383
|
-
(0,
|
|
4407
|
+
(0, import_typeorm40.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
|
|
4384
4408
|
], Plan.prototype, "price", 2);
|
|
4385
4409
|
__decorateClass([
|
|
4386
|
-
(0,
|
|
4410
|
+
(0, import_typeorm40.Column)({ name: "billing_period", type: "varchar" })
|
|
4387
4411
|
], Plan.prototype, "billingPeriod", 2);
|
|
4388
4412
|
__decorateClass([
|
|
4389
|
-
(0,
|
|
4413
|
+
(0, import_typeorm40.Column)({ name: "is_current", type: "boolean", default: false })
|
|
4390
4414
|
], Plan.prototype, "isCurrent", 2);
|
|
4391
4415
|
__decorateClass([
|
|
4392
|
-
(0,
|
|
4393
|
-
(0,
|
|
4416
|
+
(0, import_typeorm40.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
|
|
4417
|
+
(0, import_typeorm40.JoinTable)()
|
|
4394
4418
|
], Plan.prototype, "features", 2);
|
|
4395
4419
|
Plan = __decorateClass([
|
|
4396
|
-
(0,
|
|
4420
|
+
(0, import_typeorm40.Entity)("plans")
|
|
4397
4421
|
], Plan);
|
|
4398
4422
|
|
|
4399
4423
|
// src/entities/cms.entity.ts
|
|
4400
|
-
var
|
|
4424
|
+
var import_typeorm41 = require("typeorm");
|
|
4401
4425
|
var Cms = class extends BaseEntity {
|
|
4402
4426
|
};
|
|
4403
4427
|
__decorateClass([
|
|
4404
|
-
(0,
|
|
4428
|
+
(0, import_typeorm41.Column)({ name: "title", type: "varchar", nullable: true })
|
|
4405
4429
|
], Cms.prototype, "title", 2);
|
|
4406
4430
|
__decorateClass([
|
|
4407
|
-
(0,
|
|
4431
|
+
(0, import_typeorm41.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
4408
4432
|
], Cms.prototype, "slug", 2);
|
|
4409
4433
|
__decorateClass([
|
|
4410
|
-
(0,
|
|
4434
|
+
(0, import_typeorm41.Column)({ name: "content", type: "varchar", nullable: true })
|
|
4411
4435
|
], Cms.prototype, "content", 2);
|
|
4412
4436
|
__decorateClass([
|
|
4413
|
-
(0,
|
|
4437
|
+
(0, import_typeorm41.Column)({ name: "is_active", type: "boolean", default: true })
|
|
4414
4438
|
], Cms.prototype, "isActive", 2);
|
|
4415
4439
|
Cms = __decorateClass([
|
|
4416
|
-
(0,
|
|
4440
|
+
(0, import_typeorm41.Entity)("cms")
|
|
4417
4441
|
], Cms);
|
|
4418
4442
|
|
|
4419
4443
|
// src/entities/lead.entity.ts
|
|
4420
|
-
var
|
|
4444
|
+
var import_typeorm42 = require("typeorm");
|
|
4421
4445
|
var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
4422
4446
|
CategoryEmum2["BUSINESS"] = "BUSINESS";
|
|
4423
4447
|
CategoryEmum2["FREELANCER"] = "FREELANCER";
|
|
@@ -4426,22 +4450,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
|
4426
4450
|
var Lead = class extends BaseEntity {
|
|
4427
4451
|
};
|
|
4428
4452
|
__decorateClass([
|
|
4429
|
-
(0,
|
|
4453
|
+
(0, import_typeorm42.Column)({ name: "name", type: "varchar", nullable: true })
|
|
4430
4454
|
], Lead.prototype, "name", 2);
|
|
4431
4455
|
__decorateClass([
|
|
4432
|
-
(0,
|
|
4456
|
+
(0, import_typeorm42.Column)({ name: "mobile_code", type: "varchar", nullable: true })
|
|
4433
4457
|
], Lead.prototype, "mobileCode", 2);
|
|
4434
4458
|
__decorateClass([
|
|
4435
|
-
(0,
|
|
4459
|
+
(0, import_typeorm42.Column)({ name: "mobile", type: "varchar", nullable: true })
|
|
4436
4460
|
], Lead.prototype, "mobile", 2);
|
|
4437
4461
|
__decorateClass([
|
|
4438
|
-
(0,
|
|
4462
|
+
(0, import_typeorm42.Column)({ name: "email", type: "varchar", nullable: true })
|
|
4439
4463
|
], Lead.prototype, "email", 2);
|
|
4440
4464
|
__decorateClass([
|
|
4441
|
-
(0,
|
|
4465
|
+
(0, import_typeorm42.Column)({ name: "description", type: "varchar", nullable: true })
|
|
4442
4466
|
], Lead.prototype, "description", 2);
|
|
4443
4467
|
__decorateClass([
|
|
4444
|
-
(0,
|
|
4468
|
+
(0, import_typeorm42.Column)({
|
|
4445
4469
|
name: "category",
|
|
4446
4470
|
type: "enum",
|
|
4447
4471
|
enum: CategoryEmum,
|
|
@@ -4449,7 +4473,7 @@ __decorateClass([
|
|
|
4449
4473
|
})
|
|
4450
4474
|
], Lead.prototype, "category", 2);
|
|
4451
4475
|
Lead = __decorateClass([
|
|
4452
|
-
(0,
|
|
4476
|
+
(0, import_typeorm42.Entity)("leads")
|
|
4453
4477
|
], Lead);
|
|
4454
4478
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4455
4479
|
0 && (module.exports = {
|
|
@@ -4493,6 +4517,7 @@ Lead = __decorateClass([
|
|
|
4493
4517
|
CompanyProfile,
|
|
4494
4518
|
CompanyRole,
|
|
4495
4519
|
CompanyRolePermission,
|
|
4520
|
+
CompanySkill,
|
|
4496
4521
|
Country,
|
|
4497
4522
|
CreateClientDto,
|
|
4498
4523
|
CreateClientHiringModeEnum,
|
package/dist/index.mjs
CHANGED
|
@@ -1069,17 +1069,17 @@ import {
|
|
|
1069
1069
|
} from "class-validator";
|
|
1070
1070
|
|
|
1071
1071
|
// src/entities/rating.entity.ts
|
|
1072
|
-
import { Entity as
|
|
1072
|
+
import { Entity as Entity35, Column as Column36, ManyToOne as ManyToOne31, JoinColumn as JoinColumn31, Index as Index28 } from "typeorm";
|
|
1073
1073
|
|
|
1074
1074
|
// src/entities/user.entity.ts
|
|
1075
1075
|
import {
|
|
1076
|
-
Entity as
|
|
1077
|
-
Column as
|
|
1076
|
+
Entity as Entity34,
|
|
1077
|
+
Column as Column35,
|
|
1078
1078
|
OneToMany as OneToMany13,
|
|
1079
1079
|
OneToOne,
|
|
1080
|
-
Index as
|
|
1081
|
-
ManyToOne as
|
|
1082
|
-
JoinColumn as
|
|
1080
|
+
Index as Index27,
|
|
1081
|
+
ManyToOne as ManyToOne30,
|
|
1082
|
+
JoinColumn as JoinColumn30
|
|
1083
1083
|
} from "typeorm";
|
|
1084
1084
|
|
|
1085
1085
|
// src/entities/base.entity.ts
|
|
@@ -2902,6 +2902,26 @@ AssessmentAnswer = __decorateClass([
|
|
|
2902
2902
|
Entity32("assessment_answers")
|
|
2903
2903
|
], AssessmentAnswer);
|
|
2904
2904
|
|
|
2905
|
+
// src/entities/company-skill.entity.ts
|
|
2906
|
+
import { Entity as Entity33, Column as Column34, Index as Index26, ManyToOne as ManyToOne29, JoinColumn as JoinColumn29 } from "typeorm";
|
|
2907
|
+
var CompanySkill = class extends BaseEntity {
|
|
2908
|
+
};
|
|
2909
|
+
// individual index to find core skills by user
|
|
2910
|
+
__decorateClass([
|
|
2911
|
+
Column34({ name: "user_id", type: "integer", nullable: true }),
|
|
2912
|
+
Index26()
|
|
2913
|
+
], CompanySkill.prototype, "userId", 2);
|
|
2914
|
+
__decorateClass([
|
|
2915
|
+
ManyToOne29(() => User, (user) => user.freelancerSkills),
|
|
2916
|
+
JoinColumn29({ name: "user_id" })
|
|
2917
|
+
], CompanySkill.prototype, "user", 2);
|
|
2918
|
+
__decorateClass([
|
|
2919
|
+
Column34({ name: "skill_name", type: "varchar", nullable: true })
|
|
2920
|
+
], CompanySkill.prototype, "skillName", 2);
|
|
2921
|
+
CompanySkill = __decorateClass([
|
|
2922
|
+
Entity33("company_skills")
|
|
2923
|
+
], CompanySkill);
|
|
2924
|
+
|
|
2905
2925
|
// src/entities/user.entity.ts
|
|
2906
2926
|
var AccountType = /* @__PURE__ */ ((AccountType2) => {
|
|
2907
2927
|
AccountType2["ADMIN"] = "ADMIN";
|
|
@@ -2927,51 +2947,51 @@ var Provider = /* @__PURE__ */ ((Provider2) => {
|
|
|
2927
2947
|
var User = class extends BaseEntity {
|
|
2928
2948
|
};
|
|
2929
2949
|
__decorateClass([
|
|
2930
|
-
|
|
2950
|
+
Column35({ name: "unique_id", type: "varchar", unique: true })
|
|
2931
2951
|
], User.prototype, "uniqueId", 2);
|
|
2932
2952
|
__decorateClass([
|
|
2933
|
-
|
|
2934
|
-
|
|
2953
|
+
Column35({ name: "parent_id", type: "integer", nullable: true }),
|
|
2954
|
+
Index27()
|
|
2935
2955
|
], User.prototype, "parentId", 2);
|
|
2936
2956
|
__decorateClass([
|
|
2937
|
-
|
|
2938
|
-
|
|
2957
|
+
ManyToOne30(() => User, (user) => user.children, { nullable: true }),
|
|
2958
|
+
JoinColumn30({ name: "parent_id" })
|
|
2939
2959
|
], User.prototype, "parent", 2);
|
|
2940
2960
|
__decorateClass([
|
|
2941
2961
|
OneToMany13(() => User, (user) => user.parent)
|
|
2942
2962
|
], User.prototype, "children", 2);
|
|
2943
2963
|
__decorateClass([
|
|
2944
|
-
|
|
2964
|
+
Column35({ name: "username", type: "varchar", unique: true, nullable: true })
|
|
2945
2965
|
], User.prototype, "username", 2);
|
|
2946
2966
|
__decorateClass([
|
|
2947
|
-
|
|
2967
|
+
Column35({ name: "first_name", type: "varchar", length: 100, nullable: true })
|
|
2948
2968
|
], User.prototype, "firstName", 2);
|
|
2949
2969
|
__decorateClass([
|
|
2950
|
-
|
|
2970
|
+
Column35({ name: "last_name", type: "varchar", length: 100, nullable: true })
|
|
2951
2971
|
], User.prototype, "lastName", 2);
|
|
2952
2972
|
__decorateClass([
|
|
2953
|
-
|
|
2973
|
+
Column35({ name: "date_of_birth", type: "date", nullable: true })
|
|
2954
2974
|
], User.prototype, "dateOfBirth", 2);
|
|
2955
2975
|
__decorateClass([
|
|
2956
|
-
|
|
2976
|
+
Column35({ name: "gender", type: "varchar", length: 10, nullable: true })
|
|
2957
2977
|
], User.prototype, "gender", 2);
|
|
2958
2978
|
__decorateClass([
|
|
2959
|
-
|
|
2979
|
+
Column35({ name: "profile_picture_url", type: "text", nullable: true })
|
|
2960
2980
|
], User.prototype, "profilePictureUrl", 2);
|
|
2961
2981
|
__decorateClass([
|
|
2962
|
-
|
|
2982
|
+
Column35({ name: "email", type: "varchar", unique: true })
|
|
2963
2983
|
], User.prototype, "email", 2);
|
|
2964
2984
|
__decorateClass([
|
|
2965
|
-
|
|
2985
|
+
Column35({ name: "mobile_code", type: "varchar", nullable: true })
|
|
2966
2986
|
], User.prototype, "mobileCode", 2);
|
|
2967
2987
|
__decorateClass([
|
|
2968
|
-
|
|
2988
|
+
Column35({ name: "mobile", type: "varchar", nullable: true })
|
|
2969
2989
|
], User.prototype, "mobile", 2);
|
|
2970
2990
|
__decorateClass([
|
|
2971
|
-
|
|
2991
|
+
Column35({ name: "password", type: "varchar", nullable: true })
|
|
2972
2992
|
], User.prototype, "password", 2);
|
|
2973
2993
|
__decorateClass([
|
|
2974
|
-
|
|
2994
|
+
Column35({
|
|
2975
2995
|
name: "account_type",
|
|
2976
2996
|
type: "enum",
|
|
2977
2997
|
enum: AccountType,
|
|
@@ -2979,7 +2999,7 @@ __decorateClass([
|
|
|
2979
2999
|
})
|
|
2980
3000
|
], User.prototype, "accountType", 2);
|
|
2981
3001
|
__decorateClass([
|
|
2982
|
-
|
|
3002
|
+
Column35({
|
|
2983
3003
|
name: "account_status",
|
|
2984
3004
|
type: "enum",
|
|
2985
3005
|
enum: AccountStatus,
|
|
@@ -2987,26 +3007,26 @@ __decorateClass([
|
|
|
2987
3007
|
})
|
|
2988
3008
|
], User.prototype, "accountStatus", 2);
|
|
2989
3009
|
__decorateClass([
|
|
2990
|
-
|
|
3010
|
+
Column35({ name: "is_email_verified", type: "boolean", default: false })
|
|
2991
3011
|
], User.prototype, "isEmailVerified", 2);
|
|
2992
3012
|
__decorateClass([
|
|
2993
|
-
|
|
3013
|
+
Column35({ name: "is_mobile_verified", type: "boolean", default: false })
|
|
2994
3014
|
], User.prototype, "isMobileVerified", 2);
|
|
2995
3015
|
__decorateClass([
|
|
2996
|
-
|
|
3016
|
+
Column35({
|
|
2997
3017
|
name: "last_login_at",
|
|
2998
3018
|
type: "timestamp with time zone",
|
|
2999
3019
|
nullable: true
|
|
3000
3020
|
})
|
|
3001
3021
|
], User.prototype, "lastLoginAt", 2);
|
|
3002
3022
|
__decorateClass([
|
|
3003
|
-
|
|
3023
|
+
Column35({ name: "last_login_ip", type: "varchar", nullable: true })
|
|
3004
3024
|
], User.prototype, "lastLoginIp", 2);
|
|
3005
3025
|
__decorateClass([
|
|
3006
|
-
|
|
3026
|
+
Column35({ name: "reset_token", type: "varchar", nullable: true })
|
|
3007
3027
|
], User.prototype, "resetToken", 2);
|
|
3008
3028
|
__decorateClass([
|
|
3009
|
-
|
|
3029
|
+
Column35({
|
|
3010
3030
|
name: "reset_token_expire_at",
|
|
3011
3031
|
type: "timestamp with time zone",
|
|
3012
3032
|
nullable: true
|
|
@@ -3016,7 +3036,7 @@ __decorateClass([
|
|
|
3016
3036
|
OneToMany13(() => RefreshToken, (token) => token.user)
|
|
3017
3037
|
], User.prototype, "refreshTokens", 2);
|
|
3018
3038
|
__decorateClass([
|
|
3019
|
-
|
|
3039
|
+
Column35({
|
|
3020
3040
|
name: "provider",
|
|
3021
3041
|
type: "enum",
|
|
3022
3042
|
enum: Provider,
|
|
@@ -3025,16 +3045,16 @@ __decorateClass([
|
|
|
3025
3045
|
})
|
|
3026
3046
|
], User.prototype, "provider", 2);
|
|
3027
3047
|
__decorateClass([
|
|
3028
|
-
|
|
3048
|
+
Column35({ name: "provider_token", type: "varchar", nullable: true })
|
|
3029
3049
|
], User.prototype, "providerToken", 2);
|
|
3030
3050
|
__decorateClass([
|
|
3031
|
-
|
|
3051
|
+
Column35({ name: "linkedin_id", type: "varchar", nullable: true })
|
|
3032
3052
|
], User.prototype, "linkedInId", 2);
|
|
3033
3053
|
__decorateClass([
|
|
3034
|
-
|
|
3054
|
+
Column35({ name: "google_id", type: "varchar", nullable: true })
|
|
3035
3055
|
], User.prototype, "googleId", 2);
|
|
3036
3056
|
__decorateClass([
|
|
3037
|
-
|
|
3057
|
+
Column35({ name: "gitlabs_id", type: "varchar", nullable: true })
|
|
3038
3058
|
], User.prototype, "gitLabsId", 2);
|
|
3039
3059
|
__decorateClass([
|
|
3040
3060
|
OneToMany13(() => Otp, (otp) => otp.user)
|
|
@@ -3042,15 +3062,18 @@ __decorateClass([
|
|
|
3042
3062
|
__decorateClass([
|
|
3043
3063
|
OneToMany13(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
|
|
3044
3064
|
], User.prototype, "senseloafLogs", 2);
|
|
3045
|
-
__decorateClass([
|
|
3046
|
-
OneToOne(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.user, { cascade: true })
|
|
3047
|
-
], User.prototype, "freelancerProfile", 2);
|
|
3048
3065
|
__decorateClass([
|
|
3049
3066
|
OneToOne(() => CompanyProfile, (companyProfile) => companyProfile.user, { cascade: true })
|
|
3050
3067
|
], User.prototype, "companyProfile", 2);
|
|
3068
|
+
__decorateClass([
|
|
3069
|
+
OneToMany13(() => CompanySkill, (companySkill) => companySkill.user)
|
|
3070
|
+
], User.prototype, "companySkills", 2);
|
|
3051
3071
|
__decorateClass([
|
|
3052
3072
|
OneToMany13(() => CompanyMemberRole, (companyMemberRole) => companyMemberRole.user)
|
|
3053
3073
|
], User.prototype, "companyMemberRoles", 2);
|
|
3074
|
+
__decorateClass([
|
|
3075
|
+
OneToOne(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.user, { cascade: true })
|
|
3076
|
+
], User.prototype, "freelancerProfile", 2);
|
|
3054
3077
|
__decorateClass([
|
|
3055
3078
|
OneToMany13(() => FreelancerAssessment, (freelancerAssessment) => freelancerAssessment.user)
|
|
3056
3079
|
], User.prototype, "assessments", 2);
|
|
@@ -3058,7 +3081,7 @@ __decorateClass([
|
|
|
3058
3081
|
OneToMany13(() => AssessmentAnswer, (assessmentAnswer) => assessmentAnswer.user)
|
|
3059
3082
|
], User.prototype, "assessmentAnswers", 2);
|
|
3060
3083
|
__decorateClass([
|
|
3061
|
-
OneToMany13(() => FreelancerSkill, (
|
|
3084
|
+
OneToMany13(() => FreelancerSkill, (freelancerSkill) => freelancerSkill.user)
|
|
3062
3085
|
], User.prototype, "freelancerSkills", 2);
|
|
3063
3086
|
__decorateClass([
|
|
3064
3087
|
OneToMany13(() => FreelancerExperience, (freelancerExperience) => freelancerExperience.user)
|
|
@@ -3103,7 +3126,7 @@ __decorateClass([
|
|
|
3103
3126
|
OneToMany13(() => Rating, (rating) => rating.reviewee)
|
|
3104
3127
|
], User.prototype, "receivedRatings", 2);
|
|
3105
3128
|
User = __decorateClass([
|
|
3106
|
-
|
|
3129
|
+
Entity34("users")
|
|
3107
3130
|
], User);
|
|
3108
3131
|
|
|
3109
3132
|
// src/entities/rating.entity.ts
|
|
@@ -3115,36 +3138,36 @@ var RatingTypeEnum = /* @__PURE__ */ ((RatingTypeEnum2) => {
|
|
|
3115
3138
|
var Rating = class extends BaseEntity {
|
|
3116
3139
|
};
|
|
3117
3140
|
__decorateClass([
|
|
3118
|
-
|
|
3119
|
-
|
|
3141
|
+
Column36({ name: "reviewer_id", type: "integer" }),
|
|
3142
|
+
Index28()
|
|
3120
3143
|
], Rating.prototype, "reviewer_id", 2);
|
|
3121
3144
|
__decorateClass([
|
|
3122
|
-
|
|
3123
|
-
|
|
3145
|
+
ManyToOne31(() => User, { onDelete: "CASCADE" }),
|
|
3146
|
+
JoinColumn31({ name: "reviewer_id" })
|
|
3124
3147
|
], Rating.prototype, "reviewer", 2);
|
|
3125
3148
|
__decorateClass([
|
|
3126
|
-
|
|
3127
|
-
|
|
3149
|
+
Column36({ name: "reviewee_id", type: "integer" }),
|
|
3150
|
+
Index28()
|
|
3128
3151
|
], Rating.prototype, "reviewee_id", 2);
|
|
3129
3152
|
__decorateClass([
|
|
3130
|
-
|
|
3131
|
-
|
|
3153
|
+
ManyToOne31(() => User, { onDelete: "CASCADE" }),
|
|
3154
|
+
JoinColumn31({ name: "reviewee_id" })
|
|
3132
3155
|
], Rating.prototype, "reviewee", 2);
|
|
3133
3156
|
__decorateClass([
|
|
3134
|
-
|
|
3157
|
+
Column36({
|
|
3135
3158
|
type: "enum",
|
|
3136
3159
|
enum: RatingTypeEnum,
|
|
3137
3160
|
nullable: true
|
|
3138
3161
|
})
|
|
3139
3162
|
], Rating.prototype, "ratingType", 2);
|
|
3140
3163
|
__decorateClass([
|
|
3141
|
-
|
|
3164
|
+
Column36({ type: "integer", nullable: true })
|
|
3142
3165
|
], Rating.prototype, "rating", 2);
|
|
3143
3166
|
__decorateClass([
|
|
3144
|
-
|
|
3167
|
+
Column36({ type: "text", nullable: true })
|
|
3145
3168
|
], Rating.prototype, "review", 2);
|
|
3146
3169
|
Rating = __decorateClass([
|
|
3147
|
-
|
|
3170
|
+
Entity35("ratings")
|
|
3148
3171
|
], Rating);
|
|
3149
3172
|
|
|
3150
3173
|
// src/modules/rating/dto/add.rating.dto.ts
|
|
@@ -4445,7 +4468,7 @@ var NotificationRMQAdapter = (mode = "microservice") => {
|
|
|
4445
4468
|
};
|
|
4446
4469
|
|
|
4447
4470
|
// src/entities/question.entity.ts
|
|
4448
|
-
import { Entity as
|
|
4471
|
+
import { Entity as Entity36, Column as Column37 } from "typeorm";
|
|
4449
4472
|
var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
4450
4473
|
QuestionFor2["CLIENT"] = "CLIENT";
|
|
4451
4474
|
QuestionFor2["FREELANCER"] = "FREELANCER";
|
|
@@ -4454,16 +4477,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
|
|
|
4454
4477
|
var Question = class extends BaseEntity {
|
|
4455
4478
|
};
|
|
4456
4479
|
__decorateClass([
|
|
4457
|
-
|
|
4480
|
+
Column37({ name: "question", type: "varchar" })
|
|
4458
4481
|
], Question.prototype, "question", 2);
|
|
4459
4482
|
__decorateClass([
|
|
4460
|
-
|
|
4483
|
+
Column37({ name: "hint", type: "varchar", nullable: true })
|
|
4461
4484
|
], Question.prototype, "hint", 2);
|
|
4462
4485
|
__decorateClass([
|
|
4463
|
-
|
|
4486
|
+
Column37({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
4464
4487
|
], Question.prototype, "slug", 2);
|
|
4465
4488
|
__decorateClass([
|
|
4466
|
-
|
|
4489
|
+
Column37({
|
|
4467
4490
|
name: "question_for",
|
|
4468
4491
|
type: "enum",
|
|
4469
4492
|
enum: QuestionFor,
|
|
@@ -4471,102 +4494,102 @@ __decorateClass([
|
|
|
4471
4494
|
})
|
|
4472
4495
|
], Question.prototype, "questionFor", 2);
|
|
4473
4496
|
__decorateClass([
|
|
4474
|
-
|
|
4497
|
+
Column37({ name: "type", type: "varchar", nullable: true })
|
|
4475
4498
|
], Question.prototype, "type", 2);
|
|
4476
4499
|
__decorateClass([
|
|
4477
|
-
|
|
4500
|
+
Column37({ name: "options", type: "jsonb", nullable: true })
|
|
4478
4501
|
], Question.prototype, "options", 2);
|
|
4479
4502
|
__decorateClass([
|
|
4480
|
-
|
|
4503
|
+
Column37({ name: "is_active", type: "boolean", default: false })
|
|
4481
4504
|
], Question.prototype, "isActive", 2);
|
|
4482
4505
|
Question = __decorateClass([
|
|
4483
|
-
|
|
4506
|
+
Entity36("questions")
|
|
4484
4507
|
], Question);
|
|
4485
4508
|
|
|
4486
4509
|
// src/entities/job-role.entity.ts
|
|
4487
|
-
import { Entity as
|
|
4510
|
+
import { Entity as Entity37, Column as Column38 } from "typeorm";
|
|
4488
4511
|
var JobRoles = class extends BaseEntity {
|
|
4489
4512
|
};
|
|
4490
4513
|
__decorateClass([
|
|
4491
|
-
|
|
4514
|
+
Column38({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
4492
4515
|
], JobRoles.prototype, "slug", 2);
|
|
4493
4516
|
__decorateClass([
|
|
4494
|
-
|
|
4517
|
+
Column38({ name: "name", type: "varchar", nullable: true })
|
|
4495
4518
|
], JobRoles.prototype, "name", 2);
|
|
4496
4519
|
__decorateClass([
|
|
4497
|
-
|
|
4520
|
+
Column38({ name: "is_active", type: "boolean", default: true })
|
|
4498
4521
|
], JobRoles.prototype, "isActive", 2);
|
|
4499
4522
|
JobRoles = __decorateClass([
|
|
4500
|
-
|
|
4523
|
+
Entity37("job_roles")
|
|
4501
4524
|
], JobRoles);
|
|
4502
4525
|
|
|
4503
4526
|
// src/entities/plan.entity.ts
|
|
4504
|
-
import { Entity as
|
|
4527
|
+
import { Entity as Entity39, Column as Column40, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
|
|
4505
4528
|
|
|
4506
4529
|
// src/entities/feature.entity.ts
|
|
4507
|
-
import { Entity as
|
|
4530
|
+
import { Entity as Entity38, Column as Column39, ManyToMany as ManyToMany2 } from "typeorm";
|
|
4508
4531
|
var Feature = class extends BaseEntity {
|
|
4509
4532
|
};
|
|
4510
4533
|
__decorateClass([
|
|
4511
|
-
|
|
4534
|
+
Column39({ name: "name", type: "varchar", unique: true })
|
|
4512
4535
|
], Feature.prototype, "name", 2);
|
|
4513
4536
|
__decorateClass([
|
|
4514
4537
|
ManyToMany2(() => Plan, (plan) => plan.features)
|
|
4515
4538
|
], Feature.prototype, "plans", 2);
|
|
4516
4539
|
Feature = __decorateClass([
|
|
4517
|
-
|
|
4540
|
+
Entity38("features")
|
|
4518
4541
|
], Feature);
|
|
4519
4542
|
|
|
4520
4543
|
// src/entities/plan.entity.ts
|
|
4521
4544
|
var Plan = class extends BaseEntity {
|
|
4522
4545
|
};
|
|
4523
4546
|
__decorateClass([
|
|
4524
|
-
|
|
4547
|
+
Column40({ name: "name", type: "varchar", unique: true })
|
|
4525
4548
|
], Plan.prototype, "name", 2);
|
|
4526
4549
|
__decorateClass([
|
|
4527
|
-
|
|
4550
|
+
Column40({ name: "description", type: "varchar", nullable: true })
|
|
4528
4551
|
], Plan.prototype, "description", 2);
|
|
4529
4552
|
__decorateClass([
|
|
4530
|
-
|
|
4553
|
+
Column40({ name: "price", type: "decimal", precision: 10, scale: 2 })
|
|
4531
4554
|
], Plan.prototype, "price", 2);
|
|
4532
4555
|
__decorateClass([
|
|
4533
|
-
|
|
4556
|
+
Column40({ name: "billing_period", type: "varchar" })
|
|
4534
4557
|
], Plan.prototype, "billingPeriod", 2);
|
|
4535
4558
|
__decorateClass([
|
|
4536
|
-
|
|
4559
|
+
Column40({ name: "is_current", type: "boolean", default: false })
|
|
4537
4560
|
], Plan.prototype, "isCurrent", 2);
|
|
4538
4561
|
__decorateClass([
|
|
4539
4562
|
ManyToMany3(() => Feature, (feature) => feature.plans, { cascade: true }),
|
|
4540
4563
|
JoinTable()
|
|
4541
4564
|
], Plan.prototype, "features", 2);
|
|
4542
4565
|
Plan = __decorateClass([
|
|
4543
|
-
|
|
4566
|
+
Entity39("plans")
|
|
4544
4567
|
], Plan);
|
|
4545
4568
|
|
|
4546
4569
|
// src/entities/cms.entity.ts
|
|
4547
|
-
import { Entity as
|
|
4570
|
+
import { Entity as Entity40, Column as Column41 } from "typeorm";
|
|
4548
4571
|
var Cms = class extends BaseEntity {
|
|
4549
4572
|
};
|
|
4550
4573
|
__decorateClass([
|
|
4551
|
-
|
|
4574
|
+
Column41({ name: "title", type: "varchar", nullable: true })
|
|
4552
4575
|
], Cms.prototype, "title", 2);
|
|
4553
4576
|
__decorateClass([
|
|
4554
|
-
|
|
4577
|
+
Column41({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
4555
4578
|
], Cms.prototype, "slug", 2);
|
|
4556
4579
|
__decorateClass([
|
|
4557
|
-
|
|
4580
|
+
Column41({ name: "content", type: "varchar", nullable: true })
|
|
4558
4581
|
], Cms.prototype, "content", 2);
|
|
4559
4582
|
__decorateClass([
|
|
4560
|
-
|
|
4583
|
+
Column41({ name: "is_active", type: "boolean", default: true })
|
|
4561
4584
|
], Cms.prototype, "isActive", 2);
|
|
4562
4585
|
Cms = __decorateClass([
|
|
4563
|
-
|
|
4586
|
+
Entity40("cms")
|
|
4564
4587
|
], Cms);
|
|
4565
4588
|
|
|
4566
4589
|
// src/entities/lead.entity.ts
|
|
4567
4590
|
import {
|
|
4568
|
-
Entity as
|
|
4569
|
-
Column as
|
|
4591
|
+
Entity as Entity41,
|
|
4592
|
+
Column as Column42
|
|
4570
4593
|
} from "typeorm";
|
|
4571
4594
|
var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
4572
4595
|
CategoryEmum2["BUSINESS"] = "BUSINESS";
|
|
@@ -4576,22 +4599,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
|
4576
4599
|
var Lead = class extends BaseEntity {
|
|
4577
4600
|
};
|
|
4578
4601
|
__decorateClass([
|
|
4579
|
-
|
|
4602
|
+
Column42({ name: "name", type: "varchar", nullable: true })
|
|
4580
4603
|
], Lead.prototype, "name", 2);
|
|
4581
4604
|
__decorateClass([
|
|
4582
|
-
|
|
4605
|
+
Column42({ name: "mobile_code", type: "varchar", nullable: true })
|
|
4583
4606
|
], Lead.prototype, "mobileCode", 2);
|
|
4584
4607
|
__decorateClass([
|
|
4585
|
-
|
|
4608
|
+
Column42({ name: "mobile", type: "varchar", nullable: true })
|
|
4586
4609
|
], Lead.prototype, "mobile", 2);
|
|
4587
4610
|
__decorateClass([
|
|
4588
|
-
|
|
4611
|
+
Column42({ name: "email", type: "varchar", nullable: true })
|
|
4589
4612
|
], Lead.prototype, "email", 2);
|
|
4590
4613
|
__decorateClass([
|
|
4591
|
-
|
|
4614
|
+
Column42({ name: "description", type: "varchar", nullable: true })
|
|
4592
4615
|
], Lead.prototype, "description", 2);
|
|
4593
4616
|
__decorateClass([
|
|
4594
|
-
|
|
4617
|
+
Column42({
|
|
4595
4618
|
name: "category",
|
|
4596
4619
|
type: "enum",
|
|
4597
4620
|
enum: CategoryEmum,
|
|
@@ -4599,7 +4622,7 @@ __decorateClass([
|
|
|
4599
4622
|
})
|
|
4600
4623
|
], Lead.prototype, "category", 2);
|
|
4601
4624
|
Lead = __decorateClass([
|
|
4602
|
-
|
|
4625
|
+
Entity41("leads")
|
|
4603
4626
|
], Lead);
|
|
4604
4627
|
export {
|
|
4605
4628
|
ADMIN_FREELANCER_PATTERN,
|
|
@@ -4642,6 +4665,7 @@ export {
|
|
|
4642
4665
|
CompanyProfile,
|
|
4643
4666
|
CompanyRole,
|
|
4644
4667
|
CompanyRolePermission,
|
|
4668
|
+
CompanySkill,
|
|
4645
4669
|
Country,
|
|
4646
4670
|
CreateClientDto,
|
|
4647
4671
|
CreateClientHiringModeEnum,
|