@experts_hub/shared 1.0.317 → 1.0.318
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/ai-interview.entity.d.ts +43 -0
- package/dist/entities/index.d.ts +1 -0
- package/dist/index.d.mts +40 -1
- package/dist/index.d.ts +40 -1
- package/dist/index.js +255 -105
- package/dist/index.mjs +177 -31
- package/package.json +1 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { BaseEntity } from "./base.entity";
|
|
2
|
+
import { Interview } from "./interview.entity";
|
|
3
|
+
import { InterviewInvite } from "./interview-invite.entity";
|
|
4
|
+
import { User } from "./user.entity";
|
|
5
|
+
import { Job } from "./job.entity";
|
|
6
|
+
export declare enum AIInterviewStatusEnum {
|
|
7
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
8
|
+
COMPLETED = "COMPLETED",
|
|
9
|
+
FAILED = "FAILED",
|
|
10
|
+
TIMEOUT = "TIMEOUT",
|
|
11
|
+
CANCELLED = "CANCELLED"
|
|
12
|
+
}
|
|
13
|
+
export declare enum AIInterviewTypeEnum {
|
|
14
|
+
AI_INTERVIEW = "AI_INTERVIEW",
|
|
15
|
+
AI_INTERVIEW_AND_CODING_EXERCISE = "AI_INTERVIEW_AND_CODING_EXERCISE",
|
|
16
|
+
AI_INTERVIEW_AND_CODING_EXERCISE_AND_RLHF_EXCERCISE = "AI_INTERVIEW_AND_CODING_EXERCISE_AND_RLHF_EXCERCISE",
|
|
17
|
+
CODING_EXERCISE = "CODING_EXERCISE"
|
|
18
|
+
}
|
|
19
|
+
export declare enum AIInterviewResultEnum {
|
|
20
|
+
PASSED = "PASSED",
|
|
21
|
+
FAILED = "FAILED",
|
|
22
|
+
NEEDS_REVIEW = "NEEDS_REVIEW",
|
|
23
|
+
INCOMPLETE = "INCOMPLETE"
|
|
24
|
+
}
|
|
25
|
+
export declare class AIInterview extends BaseEntity {
|
|
26
|
+
interviewId: number;
|
|
27
|
+
interviewInviteId: number;
|
|
28
|
+
candidateId: number;
|
|
29
|
+
jobId: number;
|
|
30
|
+
inviteToken: string;
|
|
31
|
+
interviewType: AIInterviewTypeEnum;
|
|
32
|
+
interviewName: string;
|
|
33
|
+
jobTitle: string;
|
|
34
|
+
status: AIInterviewStatusEnum;
|
|
35
|
+
startedAt: Date;
|
|
36
|
+
completedAt: Date;
|
|
37
|
+
durationMinutes: number;
|
|
38
|
+
overallScore: number;
|
|
39
|
+
interview: Interview;
|
|
40
|
+
interviewInvite: InterviewInvite;
|
|
41
|
+
candidate: User;
|
|
42
|
+
job: Job;
|
|
43
|
+
}
|
package/dist/entities/index.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export * from './interview.entity';
|
|
|
29
29
|
export * from './interview-skill.entity';
|
|
30
30
|
export * from './interview-question.entity';
|
|
31
31
|
export * from './interview-invite.entity';
|
|
32
|
+
export * from './ai-interview.entity';
|
|
32
33
|
export * from './bank-details.entity';
|
|
33
34
|
export * from './plan.entity';
|
|
34
35
|
export * from './feature.entity';
|
package/dist/index.d.mts
CHANGED
|
@@ -2064,6 +2064,45 @@ declare class InterviewInvite extends BaseEntity {
|
|
|
2064
2064
|
inviteToken: string;
|
|
2065
2065
|
}
|
|
2066
2066
|
|
|
2067
|
+
declare enum AIInterviewStatusEnum {
|
|
2068
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
2069
|
+
COMPLETED = "COMPLETED",
|
|
2070
|
+
FAILED = "FAILED",
|
|
2071
|
+
TIMEOUT = "TIMEOUT",
|
|
2072
|
+
CANCELLED = "CANCELLED"
|
|
2073
|
+
}
|
|
2074
|
+
declare enum AIInterviewTypeEnum {
|
|
2075
|
+
AI_INTERVIEW = "AI_INTERVIEW",
|
|
2076
|
+
AI_INTERVIEW_AND_CODING_EXERCISE = "AI_INTERVIEW_AND_CODING_EXERCISE",
|
|
2077
|
+
AI_INTERVIEW_AND_CODING_EXERCISE_AND_RLHF_EXCERCISE = "AI_INTERVIEW_AND_CODING_EXERCISE_AND_RLHF_EXCERCISE",
|
|
2078
|
+
CODING_EXERCISE = "CODING_EXERCISE"
|
|
2079
|
+
}
|
|
2080
|
+
declare enum AIInterviewResultEnum {
|
|
2081
|
+
PASSED = "PASSED",
|
|
2082
|
+
FAILED = "FAILED",
|
|
2083
|
+
NEEDS_REVIEW = "NEEDS_REVIEW",
|
|
2084
|
+
INCOMPLETE = "INCOMPLETE"
|
|
2085
|
+
}
|
|
2086
|
+
declare class AIInterview extends BaseEntity {
|
|
2087
|
+
interviewId: number;
|
|
2088
|
+
interviewInviteId: number;
|
|
2089
|
+
candidateId: number;
|
|
2090
|
+
jobId: number;
|
|
2091
|
+
inviteToken: string;
|
|
2092
|
+
interviewType: AIInterviewTypeEnum;
|
|
2093
|
+
interviewName: string;
|
|
2094
|
+
jobTitle: string;
|
|
2095
|
+
status: AIInterviewStatusEnum;
|
|
2096
|
+
startedAt: Date;
|
|
2097
|
+
completedAt: Date;
|
|
2098
|
+
durationMinutes: number;
|
|
2099
|
+
overallScore: number;
|
|
2100
|
+
interview: Interview;
|
|
2101
|
+
interviewInvite: InterviewInvite;
|
|
2102
|
+
candidate: User;
|
|
2103
|
+
job: Job;
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2067
2106
|
declare class Feature extends BaseEntity {
|
|
2068
2107
|
name: string;
|
|
2069
2108
|
plans: Plan[];
|
|
@@ -2184,4 +2223,4 @@ declare class Commission extends BaseEntity {
|
|
|
2184
2223
|
clientCommission: number;
|
|
2185
2224
|
}
|
|
2186
2225
|
|
|
2187
|
-
export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, 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, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, CreateAdminRoleDto, 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, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, 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, InterviewInvite, InterviewInviteStatusEnum, InterviewQuestion, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LogoutDto, McqStatusEnum, ModeOfHire, ModeOfWork, ModeOfWorkDto, 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, ResetPasswordTokenValidationDto, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
|
2226
|
+
export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, AIInterview, AIInterviewResultEnum, AIInterviewStatusEnum, AIInterviewTypeEnum, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, 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, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, CreateAdminRoleDto, 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, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, 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, InterviewInvite, InterviewInviteStatusEnum, InterviewQuestion, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LogoutDto, McqStatusEnum, ModeOfHire, ModeOfWork, ModeOfWorkDto, 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, ResetPasswordTokenValidationDto, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.d.ts
CHANGED
|
@@ -2064,6 +2064,45 @@ declare class InterviewInvite extends BaseEntity {
|
|
|
2064
2064
|
inviteToken: string;
|
|
2065
2065
|
}
|
|
2066
2066
|
|
|
2067
|
+
declare enum AIInterviewStatusEnum {
|
|
2068
|
+
IN_PROGRESS = "IN_PROGRESS",
|
|
2069
|
+
COMPLETED = "COMPLETED",
|
|
2070
|
+
FAILED = "FAILED",
|
|
2071
|
+
TIMEOUT = "TIMEOUT",
|
|
2072
|
+
CANCELLED = "CANCELLED"
|
|
2073
|
+
}
|
|
2074
|
+
declare enum AIInterviewTypeEnum {
|
|
2075
|
+
AI_INTERVIEW = "AI_INTERVIEW",
|
|
2076
|
+
AI_INTERVIEW_AND_CODING_EXERCISE = "AI_INTERVIEW_AND_CODING_EXERCISE",
|
|
2077
|
+
AI_INTERVIEW_AND_CODING_EXERCISE_AND_RLHF_EXCERCISE = "AI_INTERVIEW_AND_CODING_EXERCISE_AND_RLHF_EXCERCISE",
|
|
2078
|
+
CODING_EXERCISE = "CODING_EXERCISE"
|
|
2079
|
+
}
|
|
2080
|
+
declare enum AIInterviewResultEnum {
|
|
2081
|
+
PASSED = "PASSED",
|
|
2082
|
+
FAILED = "FAILED",
|
|
2083
|
+
NEEDS_REVIEW = "NEEDS_REVIEW",
|
|
2084
|
+
INCOMPLETE = "INCOMPLETE"
|
|
2085
|
+
}
|
|
2086
|
+
declare class AIInterview extends BaseEntity {
|
|
2087
|
+
interviewId: number;
|
|
2088
|
+
interviewInviteId: number;
|
|
2089
|
+
candidateId: number;
|
|
2090
|
+
jobId: number;
|
|
2091
|
+
inviteToken: string;
|
|
2092
|
+
interviewType: AIInterviewTypeEnum;
|
|
2093
|
+
interviewName: string;
|
|
2094
|
+
jobTitle: string;
|
|
2095
|
+
status: AIInterviewStatusEnum;
|
|
2096
|
+
startedAt: Date;
|
|
2097
|
+
completedAt: Date;
|
|
2098
|
+
durationMinutes: number;
|
|
2099
|
+
overallScore: number;
|
|
2100
|
+
interview: Interview;
|
|
2101
|
+
interviewInvite: InterviewInvite;
|
|
2102
|
+
candidate: User;
|
|
2103
|
+
job: Job;
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2067
2106
|
declare class Feature extends BaseEntity {
|
|
2068
2107
|
name: string;
|
|
2069
2108
|
plans: Plan[];
|
|
@@ -2184,4 +2223,4 @@ declare class Commission extends BaseEntity {
|
|
|
2184
2223
|
clientCommission: number;
|
|
2185
2224
|
}
|
|
2186
2225
|
|
|
2187
|
-
export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, 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, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, CreateAdminRoleDto, 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, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, 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, InterviewInvite, InterviewInviteStatusEnum, InterviewQuestion, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LogoutDto, McqStatusEnum, ModeOfHire, ModeOfWork, ModeOfWorkDto, 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, ResetPasswordTokenValidationDto, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
|
2226
|
+
export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ADMIN_PERMISSION_PATTERN, ADMIN_ROLE_PATTERN, AIInterview, AIInterviewResultEnum, AIInterviewStatusEnum, AIInterviewTypeEnum, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminPermission, AdminRole, AdminRolePermission, AdminUpdateJobInformationDto, AdminUserRole, AiAssessmentStatusEnum, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, AttachPermissionsToRoleDto, 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, ClientFreelancerRecommendation, ClientProfileQuestionDto, Cms, Commission, CommissionTypeEnum, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, CreateAdminRoleDto, 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, FreelancerInitiateMcqAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerResume, FreelancerSkill, FreelancerSkillDto, FreelancerSkipAiAssessmentDto, 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, InterviewInvite, InterviewInviteStatusEnum, InterviewQuestion, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LEAD_PATTERN, Lead, LoginDto, LogoutDto, McqStatusEnum, ModeOfHire, ModeOfWork, ModeOfWorkDto, 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, ResetPasswordTokenValidationDto, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$3 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SendGuestOtpScopeEnum, SenseloafLog, SequenceGenerator, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateAdminRoleDto, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.js
CHANGED
|
@@ -31,6 +31,10 @@ __export(index_exports, {
|
|
|
31
31
|
ADMIN_JOB_PATTERN: () => ADMIN_JOB_PATTERN,
|
|
32
32
|
ADMIN_PERMISSION_PATTERN: () => ADMIN_PERMISSION_PATTERN,
|
|
33
33
|
ADMIN_ROLE_PATTERN: () => ADMIN_ROLE_PATTERN,
|
|
34
|
+
AIInterview: () => AIInterview,
|
|
35
|
+
AIInterviewResultEnum: () => AIInterviewResultEnum,
|
|
36
|
+
AIInterviewStatusEnum: () => AIInterviewStatusEnum,
|
|
37
|
+
AIInterviewTypeEnum: () => AIInterviewTypeEnum,
|
|
34
38
|
ASSESSMENT_QUESTION_PATTERN: () => ASSESSMENT_QUESTION_PATTERN,
|
|
35
39
|
AUTHENTICATION_PATTERN: () => AUTHENTICATION_PATTERN,
|
|
36
40
|
AccountStatus: () => AccountStatus,
|
|
@@ -5165,71 +5169,213 @@ InterviewInvite = __decorateClass([
|
|
|
5165
5169
|
(0, import_typeorm46.Entity)("interview_invites")
|
|
5166
5170
|
], InterviewInvite);
|
|
5167
5171
|
|
|
5172
|
+
// src/entities/ai-interview.entity.ts
|
|
5173
|
+
var import_typeorm47 = require("typeorm");
|
|
5174
|
+
var AIInterviewStatusEnum = /* @__PURE__ */ ((AIInterviewStatusEnum2) => {
|
|
5175
|
+
AIInterviewStatusEnum2["IN_PROGRESS"] = "IN_PROGRESS";
|
|
5176
|
+
AIInterviewStatusEnum2["COMPLETED"] = "COMPLETED";
|
|
5177
|
+
AIInterviewStatusEnum2["FAILED"] = "FAILED";
|
|
5178
|
+
AIInterviewStatusEnum2["TIMEOUT"] = "TIMEOUT";
|
|
5179
|
+
AIInterviewStatusEnum2["CANCELLED"] = "CANCELLED";
|
|
5180
|
+
return AIInterviewStatusEnum2;
|
|
5181
|
+
})(AIInterviewStatusEnum || {});
|
|
5182
|
+
var AIInterviewTypeEnum = /* @__PURE__ */ ((AIInterviewTypeEnum2) => {
|
|
5183
|
+
AIInterviewTypeEnum2["AI_INTERVIEW"] = "AI_INTERVIEW";
|
|
5184
|
+
AIInterviewTypeEnum2["AI_INTERVIEW_AND_CODING_EXERCISE"] = "AI_INTERVIEW_AND_CODING_EXERCISE";
|
|
5185
|
+
AIInterviewTypeEnum2["AI_INTERVIEW_AND_CODING_EXERCISE_AND_RLHF_EXCERCISE"] = "AI_INTERVIEW_AND_CODING_EXERCISE_AND_RLHF_EXCERCISE";
|
|
5186
|
+
AIInterviewTypeEnum2["CODING_EXERCISE"] = "CODING_EXERCISE";
|
|
5187
|
+
return AIInterviewTypeEnum2;
|
|
5188
|
+
})(AIInterviewTypeEnum || {});
|
|
5189
|
+
var AIInterviewResultEnum = /* @__PURE__ */ ((AIInterviewResultEnum2) => {
|
|
5190
|
+
AIInterviewResultEnum2["PASSED"] = "PASSED";
|
|
5191
|
+
AIInterviewResultEnum2["FAILED"] = "FAILED";
|
|
5192
|
+
AIInterviewResultEnum2["NEEDS_REVIEW"] = "NEEDS_REVIEW";
|
|
5193
|
+
AIInterviewResultEnum2["INCOMPLETE"] = "INCOMPLETE";
|
|
5194
|
+
return AIInterviewResultEnum2;
|
|
5195
|
+
})(AIInterviewResultEnum || {});
|
|
5196
|
+
var AIInterview = class extends BaseEntity {
|
|
5197
|
+
};
|
|
5198
|
+
__decorateClass([
|
|
5199
|
+
(0, import_typeorm47.Column)({
|
|
5200
|
+
name: "interview_id",
|
|
5201
|
+
type: "integer",
|
|
5202
|
+
comment: "Redundant explicit interview_id column (optional if using only relation"
|
|
5203
|
+
}),
|
|
5204
|
+
(0, import_typeorm47.Index)()
|
|
5205
|
+
], AIInterview.prototype, "interviewId", 2);
|
|
5206
|
+
__decorateClass([
|
|
5207
|
+
(0, import_typeorm47.Column)({
|
|
5208
|
+
name: "interview_invite_id",
|
|
5209
|
+
type: "integer",
|
|
5210
|
+
comment: "Redundant explicit interview_invite_id column (optional if using only relation"
|
|
5211
|
+
})
|
|
5212
|
+
], AIInterview.prototype, "interviewInviteId", 2);
|
|
5213
|
+
__decorateClass([
|
|
5214
|
+
(0, import_typeorm47.Column)({
|
|
5215
|
+
name: "candidate_id",
|
|
5216
|
+
type: "integer",
|
|
5217
|
+
comment: "Redundant explicit candidate_id column (optional if using only relation"
|
|
5218
|
+
}),
|
|
5219
|
+
(0, import_typeorm47.Index)()
|
|
5220
|
+
], AIInterview.prototype, "candidateId", 2);
|
|
5221
|
+
__decorateClass([
|
|
5222
|
+
(0, import_typeorm47.Column)({
|
|
5223
|
+
name: "job_id",
|
|
5224
|
+
type: "integer",
|
|
5225
|
+
comment: "Redundant explicit job_id column (optional if using only relation"
|
|
5226
|
+
})
|
|
5227
|
+
], AIInterview.prototype, "jobId", 2);
|
|
5228
|
+
__decorateClass([
|
|
5229
|
+
(0, import_typeorm47.Column)({
|
|
5230
|
+
name: "invite_token",
|
|
5231
|
+
type: "varchar",
|
|
5232
|
+
unique: true,
|
|
5233
|
+
comment: "Secure unique token sent in email link for invite tracking",
|
|
5234
|
+
nullable: true
|
|
5235
|
+
})
|
|
5236
|
+
], AIInterview.prototype, "inviteToken", 2);
|
|
5237
|
+
__decorateClass([
|
|
5238
|
+
(0, import_typeorm47.Column)({ name: "interview_type", type: "enum", enum: AIInterviewTypeEnum })
|
|
5239
|
+
], AIInterview.prototype, "interviewType", 2);
|
|
5240
|
+
__decorateClass([
|
|
5241
|
+
(0, import_typeorm47.Column)({
|
|
5242
|
+
name: "interview_name",
|
|
5243
|
+
type: "varchar",
|
|
5244
|
+
comment: "Name of the interview"
|
|
5245
|
+
})
|
|
5246
|
+
], AIInterview.prototype, "interviewName", 2);
|
|
5247
|
+
__decorateClass([
|
|
5248
|
+
(0, import_typeorm47.Column)({
|
|
5249
|
+
name: "job_title",
|
|
5250
|
+
type: "varchar",
|
|
5251
|
+
comment: "Name of the job title for that the AI interview was conducted"
|
|
5252
|
+
})
|
|
5253
|
+
], AIInterview.prototype, "jobTitle", 2);
|
|
5254
|
+
__decorateClass([
|
|
5255
|
+
(0, import_typeorm47.Column)({
|
|
5256
|
+
type: "enum",
|
|
5257
|
+
enum: AIInterviewStatusEnum,
|
|
5258
|
+
default: "IN_PROGRESS" /* IN_PROGRESS */
|
|
5259
|
+
})
|
|
5260
|
+
], AIInterview.prototype, "status", 2);
|
|
5261
|
+
__decorateClass([
|
|
5262
|
+
(0, import_typeorm47.Column)({
|
|
5263
|
+
name: "started_at",
|
|
5264
|
+
type: "timestamp with time zone",
|
|
5265
|
+
comment: "Timestamp when the interview was started"
|
|
5266
|
+
})
|
|
5267
|
+
], AIInterview.prototype, "startedAt", 2);
|
|
5268
|
+
__decorateClass([
|
|
5269
|
+
(0, import_typeorm47.Column)({
|
|
5270
|
+
name: "completed_at",
|
|
5271
|
+
type: "timestamp with time zone",
|
|
5272
|
+
nullable: true,
|
|
5273
|
+
comment: "Timestamp when the interview was completed"
|
|
5274
|
+
})
|
|
5275
|
+
], AIInterview.prototype, "completedAt", 2);
|
|
5276
|
+
__decorateClass([
|
|
5277
|
+
(0, import_typeorm47.Column)({
|
|
5278
|
+
name: "duration_minutes",
|
|
5279
|
+
type: "integer",
|
|
5280
|
+
nullable: true,
|
|
5281
|
+
comment: "Duration of the AI interview"
|
|
5282
|
+
})
|
|
5283
|
+
], AIInterview.prototype, "durationMinutes", 2);
|
|
5284
|
+
__decorateClass([
|
|
5285
|
+
(0, import_typeorm47.Column)({
|
|
5286
|
+
name: "overall_score",
|
|
5287
|
+
type: "decimal",
|
|
5288
|
+
precision: 5,
|
|
5289
|
+
scale: 2,
|
|
5290
|
+
nullable: true,
|
|
5291
|
+
comment: "Overall score of the AI interview"
|
|
5292
|
+
})
|
|
5293
|
+
], AIInterview.prototype, "overallScore", 2);
|
|
5294
|
+
__decorateClass([
|
|
5295
|
+
(0, import_typeorm47.ManyToOne)(() => Interview, { onDelete: "CASCADE" }),
|
|
5296
|
+
(0, import_typeorm47.JoinColumn)({ name: "interview_id" })
|
|
5297
|
+
], AIInterview.prototype, "interview", 2);
|
|
5298
|
+
__decorateClass([
|
|
5299
|
+
(0, import_typeorm47.ManyToOne)(() => InterviewInvite, { onDelete: "CASCADE" }),
|
|
5300
|
+
(0, import_typeorm47.JoinColumn)({ name: "interview_invite_id" })
|
|
5301
|
+
], AIInterview.prototype, "interviewInvite", 2);
|
|
5302
|
+
__decorateClass([
|
|
5303
|
+
(0, import_typeorm47.ManyToOne)(() => User, { onDelete: "CASCADE" }),
|
|
5304
|
+
(0, import_typeorm47.JoinColumn)({ name: "candidate_id" })
|
|
5305
|
+
], AIInterview.prototype, "candidate", 2);
|
|
5306
|
+
__decorateClass([
|
|
5307
|
+
(0, import_typeorm47.ManyToOne)(() => Job, { onDelete: "CASCADE" }),
|
|
5308
|
+
(0, import_typeorm47.JoinColumn)({ name: "job_id" })
|
|
5309
|
+
], AIInterview.prototype, "job", 2);
|
|
5310
|
+
AIInterview = __decorateClass([
|
|
5311
|
+
(0, import_typeorm47.Entity)("ai_interviews")
|
|
5312
|
+
], AIInterview);
|
|
5313
|
+
|
|
5168
5314
|
// src/entities/plan.entity.ts
|
|
5169
|
-
var
|
|
5315
|
+
var import_typeorm49 = require("typeorm");
|
|
5170
5316
|
|
|
5171
5317
|
// src/entities/feature.entity.ts
|
|
5172
|
-
var
|
|
5318
|
+
var import_typeorm48 = require("typeorm");
|
|
5173
5319
|
var Feature = class extends BaseEntity {
|
|
5174
5320
|
};
|
|
5175
5321
|
__decorateClass([
|
|
5176
|
-
(0,
|
|
5322
|
+
(0, import_typeorm48.Column)({ name: "name", type: "varchar", unique: true })
|
|
5177
5323
|
], Feature.prototype, "name", 2);
|
|
5178
5324
|
__decorateClass([
|
|
5179
|
-
(0,
|
|
5325
|
+
(0, import_typeorm48.ManyToMany)(() => Plan, (plan) => plan.features)
|
|
5180
5326
|
], Feature.prototype, "plans", 2);
|
|
5181
5327
|
Feature = __decorateClass([
|
|
5182
|
-
(0,
|
|
5328
|
+
(0, import_typeorm48.Entity)("features")
|
|
5183
5329
|
], Feature);
|
|
5184
5330
|
|
|
5185
5331
|
// src/entities/plan.entity.ts
|
|
5186
5332
|
var Plan = class extends BaseEntity {
|
|
5187
5333
|
};
|
|
5188
5334
|
__decorateClass([
|
|
5189
|
-
(0,
|
|
5335
|
+
(0, import_typeorm49.Column)({ name: "name", type: "varchar", unique: true })
|
|
5190
5336
|
], Plan.prototype, "name", 2);
|
|
5191
5337
|
__decorateClass([
|
|
5192
|
-
(0,
|
|
5338
|
+
(0, import_typeorm49.Column)({ name: "description", type: "varchar", nullable: true })
|
|
5193
5339
|
], Plan.prototype, "description", 2);
|
|
5194
5340
|
__decorateClass([
|
|
5195
|
-
(0,
|
|
5341
|
+
(0, import_typeorm49.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
|
|
5196
5342
|
], Plan.prototype, "price", 2);
|
|
5197
5343
|
__decorateClass([
|
|
5198
|
-
(0,
|
|
5344
|
+
(0, import_typeorm49.Column)({ name: "billing_period", type: "varchar" })
|
|
5199
5345
|
], Plan.prototype, "billingPeriod", 2);
|
|
5200
5346
|
__decorateClass([
|
|
5201
|
-
(0,
|
|
5347
|
+
(0, import_typeorm49.Column)({ name: "is_current", type: "boolean", default: false })
|
|
5202
5348
|
], Plan.prototype, "isCurrent", 2);
|
|
5203
5349
|
__decorateClass([
|
|
5204
|
-
(0,
|
|
5205
|
-
(0,
|
|
5350
|
+
(0, import_typeorm49.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
|
|
5351
|
+
(0, import_typeorm49.JoinTable)()
|
|
5206
5352
|
], Plan.prototype, "features", 2);
|
|
5207
5353
|
Plan = __decorateClass([
|
|
5208
|
-
(0,
|
|
5354
|
+
(0, import_typeorm49.Entity)("plans")
|
|
5209
5355
|
], Plan);
|
|
5210
5356
|
|
|
5211
5357
|
// src/entities/cms.entity.ts
|
|
5212
|
-
var
|
|
5358
|
+
var import_typeorm50 = require("typeorm");
|
|
5213
5359
|
var Cms = class extends BaseEntity {
|
|
5214
5360
|
};
|
|
5215
5361
|
__decorateClass([
|
|
5216
|
-
(0,
|
|
5362
|
+
(0, import_typeorm50.Column)({ name: "title", type: "varchar", nullable: true })
|
|
5217
5363
|
], Cms.prototype, "title", 2);
|
|
5218
5364
|
__decorateClass([
|
|
5219
|
-
(0,
|
|
5365
|
+
(0, import_typeorm50.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
5220
5366
|
], Cms.prototype, "slug", 2);
|
|
5221
5367
|
__decorateClass([
|
|
5222
|
-
(0,
|
|
5368
|
+
(0, import_typeorm50.Column)({ name: "content", type: "varchar", nullable: true })
|
|
5223
5369
|
], Cms.prototype, "content", 2);
|
|
5224
5370
|
__decorateClass([
|
|
5225
|
-
(0,
|
|
5371
|
+
(0, import_typeorm50.Column)({ name: "is_active", type: "boolean", default: true })
|
|
5226
5372
|
], Cms.prototype, "isActive", 2);
|
|
5227
5373
|
Cms = __decorateClass([
|
|
5228
|
-
(0,
|
|
5374
|
+
(0, import_typeorm50.Entity)("cms")
|
|
5229
5375
|
], Cms);
|
|
5230
5376
|
|
|
5231
5377
|
// src/entities/lead.entity.ts
|
|
5232
|
-
var
|
|
5378
|
+
var import_typeorm51 = require("typeorm");
|
|
5233
5379
|
var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
5234
5380
|
CategoryEmum2["BUSINESS"] = "BUSINESS";
|
|
5235
5381
|
CategoryEmum2["FREELANCER"] = "FREELANCER";
|
|
@@ -5238,22 +5384,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
|
5238
5384
|
var Lead = class extends BaseEntity {
|
|
5239
5385
|
};
|
|
5240
5386
|
__decorateClass([
|
|
5241
|
-
(0,
|
|
5387
|
+
(0, import_typeorm51.Column)({ name: "name", type: "varchar", nullable: true })
|
|
5242
5388
|
], Lead.prototype, "name", 2);
|
|
5243
5389
|
__decorateClass([
|
|
5244
|
-
(0,
|
|
5390
|
+
(0, import_typeorm51.Column)({ name: "mobile_code", type: "varchar", nullable: true })
|
|
5245
5391
|
], Lead.prototype, "mobileCode", 2);
|
|
5246
5392
|
__decorateClass([
|
|
5247
|
-
(0,
|
|
5393
|
+
(0, import_typeorm51.Column)({ name: "mobile", type: "varchar", nullable: true })
|
|
5248
5394
|
], Lead.prototype, "mobile", 2);
|
|
5249
5395
|
__decorateClass([
|
|
5250
|
-
(0,
|
|
5396
|
+
(0, import_typeorm51.Column)({ name: "email", type: "varchar", nullable: true })
|
|
5251
5397
|
], Lead.prototype, "email", 2);
|
|
5252
5398
|
__decorateClass([
|
|
5253
|
-
(0,
|
|
5399
|
+
(0, import_typeorm51.Column)({ name: "description", type: "varchar", nullable: true })
|
|
5254
5400
|
], Lead.prototype, "description", 2);
|
|
5255
5401
|
__decorateClass([
|
|
5256
|
-
(0,
|
|
5402
|
+
(0, import_typeorm51.Column)({
|
|
5257
5403
|
name: "category",
|
|
5258
5404
|
type: "enum",
|
|
5259
5405
|
enum: CategoryEmum,
|
|
@@ -5261,129 +5407,129 @@ __decorateClass([
|
|
|
5261
5407
|
})
|
|
5262
5408
|
], Lead.prototype, "category", 2);
|
|
5263
5409
|
Lead = __decorateClass([
|
|
5264
|
-
(0,
|
|
5410
|
+
(0, import_typeorm51.Entity)("leads")
|
|
5265
5411
|
], Lead);
|
|
5266
5412
|
|
|
5267
5413
|
// src/entities/job-freelancer-recommendation.entity.ts
|
|
5268
|
-
var
|
|
5414
|
+
var import_typeorm52 = require("typeorm");
|
|
5269
5415
|
var JobFreelancerRecommendation = class {
|
|
5270
5416
|
};
|
|
5271
5417
|
__decorateClass([
|
|
5272
|
-
(0,
|
|
5418
|
+
(0, import_typeorm52.ViewColumn)({ name: "job_id" })
|
|
5273
5419
|
], JobFreelancerRecommendation.prototype, "jobId", 2);
|
|
5274
5420
|
__decorateClass([
|
|
5275
|
-
(0,
|
|
5421
|
+
(0, import_typeorm52.ViewColumn)({ name: "job_uuid" })
|
|
5276
5422
|
], JobFreelancerRecommendation.prototype, "jobUuid", 2);
|
|
5277
5423
|
__decorateClass([
|
|
5278
|
-
(0,
|
|
5424
|
+
(0, import_typeorm52.ViewColumn)({ name: "job_unique_id" })
|
|
5279
5425
|
], JobFreelancerRecommendation.prototype, "jobUniqueId", 2);
|
|
5280
5426
|
__decorateClass([
|
|
5281
|
-
(0,
|
|
5427
|
+
(0, import_typeorm52.ViewColumn)({ name: "job_role" })
|
|
5282
5428
|
], JobFreelancerRecommendation.prototype, "jobRole", 2);
|
|
5283
5429
|
__decorateClass([
|
|
5284
|
-
(0,
|
|
5430
|
+
(0, import_typeorm52.ViewColumn)({ name: "job_openings" })
|
|
5285
5431
|
], JobFreelancerRecommendation.prototype, "jobOpenings", 2);
|
|
5286
5432
|
__decorateClass([
|
|
5287
|
-
(0,
|
|
5433
|
+
(0, import_typeorm52.ViewColumn)({ name: "job_location" })
|
|
5288
5434
|
], JobFreelancerRecommendation.prototype, "jobLocation", 2);
|
|
5289
5435
|
__decorateClass([
|
|
5290
|
-
(0,
|
|
5436
|
+
(0, import_typeorm52.ViewColumn)({ name: "job_currency" })
|
|
5291
5437
|
], JobFreelancerRecommendation.prototype, "jobCurrency", 2);
|
|
5292
5438
|
__decorateClass([
|
|
5293
|
-
(0,
|
|
5439
|
+
(0, import_typeorm52.ViewColumn)({ name: "job_salary_from" })
|
|
5294
5440
|
], JobFreelancerRecommendation.prototype, "jobSalaryFrom", 2);
|
|
5295
5441
|
__decorateClass([
|
|
5296
|
-
(0,
|
|
5442
|
+
(0, import_typeorm52.ViewColumn)({ name: "job_salary_to" })
|
|
5297
5443
|
], JobFreelancerRecommendation.prototype, "jobSalaryTo", 2);
|
|
5298
5444
|
__decorateClass([
|
|
5299
|
-
(0,
|
|
5445
|
+
(0, import_typeorm52.ViewColumn)({ name: "job_employment_type" })
|
|
5300
5446
|
], JobFreelancerRecommendation.prototype, "jobEmploymentType", 2);
|
|
5301
5447
|
__decorateClass([
|
|
5302
|
-
(0,
|
|
5448
|
+
(0, import_typeorm52.ViewColumn)({ name: "application_received" })
|
|
5303
5449
|
], JobFreelancerRecommendation.prototype, "applicationReceived", 2);
|
|
5304
5450
|
__decorateClass([
|
|
5305
|
-
(0,
|
|
5451
|
+
(0, import_typeorm52.ViewColumn)({ name: "job_posted_at" })
|
|
5306
5452
|
], JobFreelancerRecommendation.prototype, "jobPostedAt", 2);
|
|
5307
5453
|
__decorateClass([
|
|
5308
|
-
(0,
|
|
5454
|
+
(0, import_typeorm52.ViewColumn)({ name: "freelancer_id" })
|
|
5309
5455
|
], JobFreelancerRecommendation.prototype, "freelancerId", 2);
|
|
5310
5456
|
__decorateClass([
|
|
5311
|
-
(0,
|
|
5457
|
+
(0, import_typeorm52.ViewColumn)({ name: "freelancer_uuid" })
|
|
5312
5458
|
], JobFreelancerRecommendation.prototype, "freelancerUuid", 2);
|
|
5313
5459
|
__decorateClass([
|
|
5314
|
-
(0,
|
|
5460
|
+
(0, import_typeorm52.ViewColumn)({ name: "freelancer_unique_id" })
|
|
5315
5461
|
], JobFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
|
|
5316
5462
|
__decorateClass([
|
|
5317
|
-
(0,
|
|
5463
|
+
(0, import_typeorm52.ViewColumn)({ name: "freelancer_first_name" })
|
|
5318
5464
|
], JobFreelancerRecommendation.prototype, "freelancerFirstName", 2);
|
|
5319
5465
|
__decorateClass([
|
|
5320
|
-
(0,
|
|
5466
|
+
(0, import_typeorm52.ViewColumn)({ name: "freelancer_last_name" })
|
|
5321
5467
|
], JobFreelancerRecommendation.prototype, "freelancerLastName", 2);
|
|
5322
5468
|
__decorateClass([
|
|
5323
|
-
(0,
|
|
5469
|
+
(0, import_typeorm52.ViewColumn)({ name: "freelancer_email" })
|
|
5324
5470
|
], JobFreelancerRecommendation.prototype, "freelancerEmail", 2);
|
|
5325
5471
|
__decorateClass([
|
|
5326
|
-
(0,
|
|
5472
|
+
(0, import_typeorm52.ViewColumn)({ name: "freelancer_profile_picture" })
|
|
5327
5473
|
], JobFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
|
|
5328
5474
|
__decorateClass([
|
|
5329
|
-
(0,
|
|
5475
|
+
(0, import_typeorm52.ViewColumn)({ name: "freelancer_is_social" })
|
|
5330
5476
|
], JobFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
|
|
5331
5477
|
__decorateClass([
|
|
5332
|
-
(0,
|
|
5478
|
+
(0, import_typeorm52.ViewColumn)({ name: "freelancer_created_at" })
|
|
5333
5479
|
], JobFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
|
|
5334
5480
|
__decorateClass([
|
|
5335
|
-
(0,
|
|
5481
|
+
(0, import_typeorm52.ViewColumn)({ name: "freelancer_designation" })
|
|
5336
5482
|
], JobFreelancerRecommendation.prototype, "freelancerDesignation", 2);
|
|
5337
5483
|
__decorateClass([
|
|
5338
|
-
(0,
|
|
5484
|
+
(0, import_typeorm52.ViewColumn)({ name: "freelancer_experience" })
|
|
5339
5485
|
], JobFreelancerRecommendation.prototype, "freelancerExperience", 2);
|
|
5340
5486
|
__decorateClass([
|
|
5341
|
-
(0,
|
|
5487
|
+
(0, import_typeorm52.ViewColumn)({ name: "freelancer_expertshub_verified" })
|
|
5342
5488
|
], JobFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
|
|
5343
5489
|
__decorateClass([
|
|
5344
|
-
(0,
|
|
5490
|
+
(0, import_typeorm52.ViewColumn)({ name: "freelancer_hourly_compensation" })
|
|
5345
5491
|
], JobFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
|
|
5346
5492
|
__decorateClass([
|
|
5347
|
-
(0,
|
|
5493
|
+
(0, import_typeorm52.ViewColumn)({ name: "freelancer_country_name" })
|
|
5348
5494
|
], JobFreelancerRecommendation.prototype, "freelancerCountryName", 2);
|
|
5349
5495
|
__decorateClass([
|
|
5350
|
-
(0,
|
|
5496
|
+
(0, import_typeorm52.ViewColumn)({ name: "freelancer_country_iso_code" })
|
|
5351
5497
|
], JobFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
|
|
5352
5498
|
__decorateClass([
|
|
5353
|
-
(0,
|
|
5499
|
+
(0, import_typeorm52.ViewColumn)({ name: "client_id" })
|
|
5354
5500
|
], JobFreelancerRecommendation.prototype, "clientId", 2);
|
|
5355
5501
|
__decorateClass([
|
|
5356
|
-
(0,
|
|
5502
|
+
(0, import_typeorm52.ViewColumn)({ name: "client_uuid" })
|
|
5357
5503
|
], JobFreelancerRecommendation.prototype, "clientUuid", 2);
|
|
5358
5504
|
__decorateClass([
|
|
5359
|
-
(0,
|
|
5505
|
+
(0, import_typeorm52.ViewColumn)({ name: "client_first_name" })
|
|
5360
5506
|
], JobFreelancerRecommendation.prototype, "clientFirstName", 2);
|
|
5361
5507
|
__decorateClass([
|
|
5362
|
-
(0,
|
|
5508
|
+
(0, import_typeorm52.ViewColumn)({ name: "client_last_name" })
|
|
5363
5509
|
], JobFreelancerRecommendation.prototype, "clientLastName", 2);
|
|
5364
5510
|
__decorateClass([
|
|
5365
|
-
(0,
|
|
5511
|
+
(0, import_typeorm52.ViewColumn)({ name: "client_email" })
|
|
5366
5512
|
], JobFreelancerRecommendation.prototype, "clientEmail", 2);
|
|
5367
5513
|
__decorateClass([
|
|
5368
|
-
(0,
|
|
5514
|
+
(0, import_typeorm52.ViewColumn)({ name: "client_company_logo" })
|
|
5369
5515
|
], JobFreelancerRecommendation.prototype, "clientCompanyLogo", 2);
|
|
5370
5516
|
__decorateClass([
|
|
5371
|
-
(0,
|
|
5517
|
+
(0, import_typeorm52.ViewColumn)({ name: "client_company_name" })
|
|
5372
5518
|
], JobFreelancerRecommendation.prototype, "clientCompanyName", 2);
|
|
5373
5519
|
__decorateClass([
|
|
5374
|
-
(0,
|
|
5520
|
+
(0, import_typeorm52.ViewColumn)({ name: "matching_skills" })
|
|
5375
5521
|
], JobFreelancerRecommendation.prototype, "matchingSkills", 2);
|
|
5376
5522
|
__decorateClass([
|
|
5377
|
-
(0,
|
|
5523
|
+
(0, import_typeorm52.ViewColumn)({ name: "matching_skills_count" })
|
|
5378
5524
|
], JobFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
|
|
5379
5525
|
__decorateClass([
|
|
5380
|
-
(0,
|
|
5526
|
+
(0, import_typeorm52.ViewColumn)({ name: "required_skills" })
|
|
5381
5527
|
], JobFreelancerRecommendation.prototype, "requiredSkills", 2);
|
|
5382
5528
|
__decorateClass([
|
|
5383
|
-
(0,
|
|
5529
|
+
(0, import_typeorm52.ViewColumn)({ name: "required_skills_count" })
|
|
5384
5530
|
], JobFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
|
|
5385
5531
|
JobFreelancerRecommendation = __decorateClass([
|
|
5386
|
-
(0,
|
|
5532
|
+
(0, import_typeorm52.ViewEntity)({
|
|
5387
5533
|
name: "job_freelancer_recommendations",
|
|
5388
5534
|
materialized: true,
|
|
5389
5535
|
synchronize: false
|
|
@@ -5392,32 +5538,32 @@ JobFreelancerRecommendation = __decorateClass([
|
|
|
5392
5538
|
], JobFreelancerRecommendation);
|
|
5393
5539
|
|
|
5394
5540
|
// src/entities/job-freelancer-recommendation-v2.entity.ts
|
|
5395
|
-
var
|
|
5541
|
+
var import_typeorm53 = require("typeorm");
|
|
5396
5542
|
var JobFreelancerRecommendationV2 = class {
|
|
5397
5543
|
};
|
|
5398
5544
|
__decorateClass([
|
|
5399
|
-
(0,
|
|
5545
|
+
(0, import_typeorm53.ViewColumn)({ name: "job_id" })
|
|
5400
5546
|
], JobFreelancerRecommendationV2.prototype, "jobId", 2);
|
|
5401
5547
|
__decorateClass([
|
|
5402
|
-
(0,
|
|
5548
|
+
(0, import_typeorm53.ViewColumn)({ name: "job_owner_id" })
|
|
5403
5549
|
], JobFreelancerRecommendationV2.prototype, "jobOwnerId", 2);
|
|
5404
5550
|
__decorateClass([
|
|
5405
|
-
(0,
|
|
5551
|
+
(0, import_typeorm53.ViewColumn)({ name: "freelancer_id" })
|
|
5406
5552
|
], JobFreelancerRecommendationV2.prototype, "freelancerId", 2);
|
|
5407
5553
|
__decorateClass([
|
|
5408
|
-
(0,
|
|
5554
|
+
(0, import_typeorm53.ViewColumn)({ name: "matching_skills" })
|
|
5409
5555
|
], JobFreelancerRecommendationV2.prototype, "matchingSkills", 2);
|
|
5410
5556
|
__decorateClass([
|
|
5411
|
-
(0,
|
|
5557
|
+
(0, import_typeorm53.ViewColumn)({ name: "matching_skills_count" })
|
|
5412
5558
|
], JobFreelancerRecommendationV2.prototype, "matchingSkillsCount", 2);
|
|
5413
5559
|
__decorateClass([
|
|
5414
|
-
(0,
|
|
5560
|
+
(0, import_typeorm53.ViewColumn)({ name: "required_skills" })
|
|
5415
5561
|
], JobFreelancerRecommendationV2.prototype, "requiredSkills", 2);
|
|
5416
5562
|
__decorateClass([
|
|
5417
|
-
(0,
|
|
5563
|
+
(0, import_typeorm53.ViewColumn)({ name: "required_skills_count" })
|
|
5418
5564
|
], JobFreelancerRecommendationV2.prototype, "requiredSkillsCount", 2);
|
|
5419
5565
|
JobFreelancerRecommendationV2 = __decorateClass([
|
|
5420
|
-
(0,
|
|
5566
|
+
(0, import_typeorm53.ViewEntity)({
|
|
5421
5567
|
name: "job_freelancer_recommendations_v2",
|
|
5422
5568
|
materialized: true,
|
|
5423
5569
|
synchronize: false
|
|
@@ -5426,74 +5572,74 @@ JobFreelancerRecommendationV2 = __decorateClass([
|
|
|
5426
5572
|
], JobFreelancerRecommendationV2);
|
|
5427
5573
|
|
|
5428
5574
|
// src/entities/client-freelancer-recommendation.entity.ts
|
|
5429
|
-
var
|
|
5575
|
+
var import_typeorm54 = require("typeorm");
|
|
5430
5576
|
var ClientFreelancerRecommendation = class {
|
|
5431
5577
|
};
|
|
5432
5578
|
__decorateClass([
|
|
5433
|
-
(0,
|
|
5579
|
+
(0, import_typeorm54.ViewColumn)({ name: "client_id" })
|
|
5434
5580
|
], ClientFreelancerRecommendation.prototype, "clientId", 2);
|
|
5435
5581
|
__decorateClass([
|
|
5436
|
-
(0,
|
|
5582
|
+
(0, import_typeorm54.ViewColumn)({ name: "client_uuid" })
|
|
5437
5583
|
], ClientFreelancerRecommendation.prototype, "clientUuid", 2);
|
|
5438
5584
|
__decorateClass([
|
|
5439
|
-
(0,
|
|
5585
|
+
(0, import_typeorm54.ViewColumn)({ name: "freelancer_id" })
|
|
5440
5586
|
], ClientFreelancerRecommendation.prototype, "freelancerId", 2);
|
|
5441
5587
|
__decorateClass([
|
|
5442
|
-
(0,
|
|
5588
|
+
(0, import_typeorm54.ViewColumn)({ name: "freelancer_uuid" })
|
|
5443
5589
|
], ClientFreelancerRecommendation.prototype, "freelancerUuid", 2);
|
|
5444
5590
|
__decorateClass([
|
|
5445
|
-
(0,
|
|
5591
|
+
(0, import_typeorm54.ViewColumn)({ name: "freelancer_unique_id" })
|
|
5446
5592
|
], ClientFreelancerRecommendation.prototype, "freelancerUniqueId", 2);
|
|
5447
5593
|
__decorateClass([
|
|
5448
|
-
(0,
|
|
5594
|
+
(0, import_typeorm54.ViewColumn)({ name: "freelancer_first_name" })
|
|
5449
5595
|
], ClientFreelancerRecommendation.prototype, "freelancerFirstName", 2);
|
|
5450
5596
|
__decorateClass([
|
|
5451
|
-
(0,
|
|
5597
|
+
(0, import_typeorm54.ViewColumn)({ name: "freelancer_last_name" })
|
|
5452
5598
|
], ClientFreelancerRecommendation.prototype, "freelancerLastName", 2);
|
|
5453
5599
|
__decorateClass([
|
|
5454
|
-
(0,
|
|
5600
|
+
(0, import_typeorm54.ViewColumn)({ name: "freelancer_email" })
|
|
5455
5601
|
], ClientFreelancerRecommendation.prototype, "freelancerEmail", 2);
|
|
5456
5602
|
__decorateClass([
|
|
5457
|
-
(0,
|
|
5603
|
+
(0, import_typeorm54.ViewColumn)({ name: "freelancer_profile_picture" })
|
|
5458
5604
|
], ClientFreelancerRecommendation.prototype, "freelancerProfilePicture", 2);
|
|
5459
5605
|
__decorateClass([
|
|
5460
|
-
(0,
|
|
5606
|
+
(0, import_typeorm54.ViewColumn)({ name: "freelancer_is_social" })
|
|
5461
5607
|
], ClientFreelancerRecommendation.prototype, "freelancerIsSocial", 2);
|
|
5462
5608
|
__decorateClass([
|
|
5463
|
-
(0,
|
|
5609
|
+
(0, import_typeorm54.ViewColumn)({ name: "freelancer_created_at" })
|
|
5464
5610
|
], ClientFreelancerRecommendation.prototype, "freelancerCreatedAt", 2);
|
|
5465
5611
|
__decorateClass([
|
|
5466
|
-
(0,
|
|
5612
|
+
(0, import_typeorm54.ViewColumn)({ name: "freelancer_designation" })
|
|
5467
5613
|
], ClientFreelancerRecommendation.prototype, "freelancerDesignation", 2);
|
|
5468
5614
|
__decorateClass([
|
|
5469
|
-
(0,
|
|
5615
|
+
(0, import_typeorm54.ViewColumn)({ name: "freelancer_experience" })
|
|
5470
5616
|
], ClientFreelancerRecommendation.prototype, "freelancerExperience", 2);
|
|
5471
5617
|
__decorateClass([
|
|
5472
|
-
(0,
|
|
5618
|
+
(0, import_typeorm54.ViewColumn)({ name: "freelancer_expertshub_verified" })
|
|
5473
5619
|
], ClientFreelancerRecommendation.prototype, "freelancerExpertshubVerified", 2);
|
|
5474
5620
|
__decorateClass([
|
|
5475
|
-
(0,
|
|
5621
|
+
(0, import_typeorm54.ViewColumn)({ name: "freelancer_hourly_compensation" })
|
|
5476
5622
|
], ClientFreelancerRecommendation.prototype, "freelancerHourlyCompensation", 2);
|
|
5477
5623
|
__decorateClass([
|
|
5478
|
-
(0,
|
|
5624
|
+
(0, import_typeorm54.ViewColumn)({ name: "freelancer_country_name" })
|
|
5479
5625
|
], ClientFreelancerRecommendation.prototype, "freelancerCountryName", 2);
|
|
5480
5626
|
__decorateClass([
|
|
5481
|
-
(0,
|
|
5627
|
+
(0, import_typeorm54.ViewColumn)({ name: "freelancer_country_iso_code" })
|
|
5482
5628
|
], ClientFreelancerRecommendation.prototype, "freelancerCountryIsoCode", 2);
|
|
5483
5629
|
__decorateClass([
|
|
5484
|
-
(0,
|
|
5630
|
+
(0, import_typeorm54.ViewColumn)({ name: "matching_skills" })
|
|
5485
5631
|
], ClientFreelancerRecommendation.prototype, "matchingSkills", 2);
|
|
5486
5632
|
__decorateClass([
|
|
5487
|
-
(0,
|
|
5633
|
+
(0, import_typeorm54.ViewColumn)({ name: "matching_skills_count" })
|
|
5488
5634
|
], ClientFreelancerRecommendation.prototype, "matchingSkillsCount", 2);
|
|
5489
5635
|
__decorateClass([
|
|
5490
|
-
(0,
|
|
5636
|
+
(0, import_typeorm54.ViewColumn)({ name: "required_skills" })
|
|
5491
5637
|
], ClientFreelancerRecommendation.prototype, "requiredSkills", 2);
|
|
5492
5638
|
__decorateClass([
|
|
5493
|
-
(0,
|
|
5639
|
+
(0, import_typeorm54.ViewColumn)({ name: "required_skills_count" })
|
|
5494
5640
|
], ClientFreelancerRecommendation.prototype, "requiredSkillsCount", 2);
|
|
5495
5641
|
ClientFreelancerRecommendation = __decorateClass([
|
|
5496
|
-
(0,
|
|
5642
|
+
(0, import_typeorm54.ViewEntity)({
|
|
5497
5643
|
name: "client_freelancer_recommendations",
|
|
5498
5644
|
materialized: true,
|
|
5499
5645
|
synchronize: false
|
|
@@ -5502,7 +5648,7 @@ ClientFreelancerRecommendation = __decorateClass([
|
|
|
5502
5648
|
], ClientFreelancerRecommendation);
|
|
5503
5649
|
|
|
5504
5650
|
// src/entities/commission.entity.ts
|
|
5505
|
-
var
|
|
5651
|
+
var import_typeorm55 = require("typeorm");
|
|
5506
5652
|
var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
5507
5653
|
CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
|
|
5508
5654
|
CommissionTypeEnum2["FLAT"] = "FLAT";
|
|
@@ -5511,7 +5657,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
|
5511
5657
|
var Commission = class extends BaseEntity {
|
|
5512
5658
|
};
|
|
5513
5659
|
__decorateClass([
|
|
5514
|
-
(0,
|
|
5660
|
+
(0, import_typeorm55.Column)({
|
|
5515
5661
|
name: "freelancer_commission_type",
|
|
5516
5662
|
type: "enum",
|
|
5517
5663
|
enum: CommissionTypeEnum,
|
|
@@ -5519,10 +5665,10 @@ __decorateClass([
|
|
|
5519
5665
|
})
|
|
5520
5666
|
], Commission.prototype, "freelancerCommissionType", 2);
|
|
5521
5667
|
__decorateClass([
|
|
5522
|
-
(0,
|
|
5668
|
+
(0, import_typeorm55.Column)({ name: "freelancer_commission", type: "integer", default: 0 })
|
|
5523
5669
|
], Commission.prototype, "freelancerCommission", 2);
|
|
5524
5670
|
__decorateClass([
|
|
5525
|
-
(0,
|
|
5671
|
+
(0, import_typeorm55.Column)({
|
|
5526
5672
|
name: "client_commission_type",
|
|
5527
5673
|
type: "enum",
|
|
5528
5674
|
enum: CommissionTypeEnum,
|
|
@@ -5530,10 +5676,10 @@ __decorateClass([
|
|
|
5530
5676
|
})
|
|
5531
5677
|
], Commission.prototype, "clientCommissionType", 2);
|
|
5532
5678
|
__decorateClass([
|
|
5533
|
-
(0,
|
|
5679
|
+
(0, import_typeorm55.Column)({ name: "client_commission", type: "integer", default: 0 })
|
|
5534
5680
|
], Commission.prototype, "clientCommission", 2);
|
|
5535
5681
|
Commission = __decorateClass([
|
|
5536
|
-
(0,
|
|
5682
|
+
(0, import_typeorm55.Entity)("commissions")
|
|
5537
5683
|
], Commission);
|
|
5538
5684
|
// Annotate the CommonJS export names for ESM import in node:
|
|
5539
5685
|
0 && (module.exports = {
|
|
@@ -5541,6 +5687,10 @@ Commission = __decorateClass([
|
|
|
5541
5687
|
ADMIN_JOB_PATTERN,
|
|
5542
5688
|
ADMIN_PERMISSION_PATTERN,
|
|
5543
5689
|
ADMIN_ROLE_PATTERN,
|
|
5690
|
+
AIInterview,
|
|
5691
|
+
AIInterviewResultEnum,
|
|
5692
|
+
AIInterviewStatusEnum,
|
|
5693
|
+
AIInterviewTypeEnum,
|
|
5544
5694
|
ASSESSMENT_QUESTION_PATTERN,
|
|
5545
5695
|
AUTHENTICATION_PATTERN,
|
|
5546
5696
|
AccountStatus,
|
package/dist/index.mjs
CHANGED
|
@@ -5305,73 +5305,215 @@ InterviewInvite = __decorateClass([
|
|
|
5305
5305
|
Entity45("interview_invites")
|
|
5306
5306
|
], InterviewInvite);
|
|
5307
5307
|
|
|
5308
|
+
// src/entities/ai-interview.entity.ts
|
|
5309
|
+
import { Entity as Entity46, Column as Column47, ManyToOne as ManyToOne37, JoinColumn as JoinColumn37, Index as Index37 } from "typeorm";
|
|
5310
|
+
var AIInterviewStatusEnum = /* @__PURE__ */ ((AIInterviewStatusEnum2) => {
|
|
5311
|
+
AIInterviewStatusEnum2["IN_PROGRESS"] = "IN_PROGRESS";
|
|
5312
|
+
AIInterviewStatusEnum2["COMPLETED"] = "COMPLETED";
|
|
5313
|
+
AIInterviewStatusEnum2["FAILED"] = "FAILED";
|
|
5314
|
+
AIInterviewStatusEnum2["TIMEOUT"] = "TIMEOUT";
|
|
5315
|
+
AIInterviewStatusEnum2["CANCELLED"] = "CANCELLED";
|
|
5316
|
+
return AIInterviewStatusEnum2;
|
|
5317
|
+
})(AIInterviewStatusEnum || {});
|
|
5318
|
+
var AIInterviewTypeEnum = /* @__PURE__ */ ((AIInterviewTypeEnum2) => {
|
|
5319
|
+
AIInterviewTypeEnum2["AI_INTERVIEW"] = "AI_INTERVIEW";
|
|
5320
|
+
AIInterviewTypeEnum2["AI_INTERVIEW_AND_CODING_EXERCISE"] = "AI_INTERVIEW_AND_CODING_EXERCISE";
|
|
5321
|
+
AIInterviewTypeEnum2["AI_INTERVIEW_AND_CODING_EXERCISE_AND_RLHF_EXCERCISE"] = "AI_INTERVIEW_AND_CODING_EXERCISE_AND_RLHF_EXCERCISE";
|
|
5322
|
+
AIInterviewTypeEnum2["CODING_EXERCISE"] = "CODING_EXERCISE";
|
|
5323
|
+
return AIInterviewTypeEnum2;
|
|
5324
|
+
})(AIInterviewTypeEnum || {});
|
|
5325
|
+
var AIInterviewResultEnum = /* @__PURE__ */ ((AIInterviewResultEnum2) => {
|
|
5326
|
+
AIInterviewResultEnum2["PASSED"] = "PASSED";
|
|
5327
|
+
AIInterviewResultEnum2["FAILED"] = "FAILED";
|
|
5328
|
+
AIInterviewResultEnum2["NEEDS_REVIEW"] = "NEEDS_REVIEW";
|
|
5329
|
+
AIInterviewResultEnum2["INCOMPLETE"] = "INCOMPLETE";
|
|
5330
|
+
return AIInterviewResultEnum2;
|
|
5331
|
+
})(AIInterviewResultEnum || {});
|
|
5332
|
+
var AIInterview = class extends BaseEntity {
|
|
5333
|
+
};
|
|
5334
|
+
__decorateClass([
|
|
5335
|
+
Column47({
|
|
5336
|
+
name: "interview_id",
|
|
5337
|
+
type: "integer",
|
|
5338
|
+
comment: "Redundant explicit interview_id column (optional if using only relation"
|
|
5339
|
+
}),
|
|
5340
|
+
Index37()
|
|
5341
|
+
], AIInterview.prototype, "interviewId", 2);
|
|
5342
|
+
__decorateClass([
|
|
5343
|
+
Column47({
|
|
5344
|
+
name: "interview_invite_id",
|
|
5345
|
+
type: "integer",
|
|
5346
|
+
comment: "Redundant explicit interview_invite_id column (optional if using only relation"
|
|
5347
|
+
})
|
|
5348
|
+
], AIInterview.prototype, "interviewInviteId", 2);
|
|
5349
|
+
__decorateClass([
|
|
5350
|
+
Column47({
|
|
5351
|
+
name: "candidate_id",
|
|
5352
|
+
type: "integer",
|
|
5353
|
+
comment: "Redundant explicit candidate_id column (optional if using only relation"
|
|
5354
|
+
}),
|
|
5355
|
+
Index37()
|
|
5356
|
+
], AIInterview.prototype, "candidateId", 2);
|
|
5357
|
+
__decorateClass([
|
|
5358
|
+
Column47({
|
|
5359
|
+
name: "job_id",
|
|
5360
|
+
type: "integer",
|
|
5361
|
+
comment: "Redundant explicit job_id column (optional if using only relation"
|
|
5362
|
+
})
|
|
5363
|
+
], AIInterview.prototype, "jobId", 2);
|
|
5364
|
+
__decorateClass([
|
|
5365
|
+
Column47({
|
|
5366
|
+
name: "invite_token",
|
|
5367
|
+
type: "varchar",
|
|
5368
|
+
unique: true,
|
|
5369
|
+
comment: "Secure unique token sent in email link for invite tracking",
|
|
5370
|
+
nullable: true
|
|
5371
|
+
})
|
|
5372
|
+
], AIInterview.prototype, "inviteToken", 2);
|
|
5373
|
+
__decorateClass([
|
|
5374
|
+
Column47({ name: "interview_type", type: "enum", enum: AIInterviewTypeEnum })
|
|
5375
|
+
], AIInterview.prototype, "interviewType", 2);
|
|
5376
|
+
__decorateClass([
|
|
5377
|
+
Column47({
|
|
5378
|
+
name: "interview_name",
|
|
5379
|
+
type: "varchar",
|
|
5380
|
+
comment: "Name of the interview"
|
|
5381
|
+
})
|
|
5382
|
+
], AIInterview.prototype, "interviewName", 2);
|
|
5383
|
+
__decorateClass([
|
|
5384
|
+
Column47({
|
|
5385
|
+
name: "job_title",
|
|
5386
|
+
type: "varchar",
|
|
5387
|
+
comment: "Name of the job title for that the AI interview was conducted"
|
|
5388
|
+
})
|
|
5389
|
+
], AIInterview.prototype, "jobTitle", 2);
|
|
5390
|
+
__decorateClass([
|
|
5391
|
+
Column47({
|
|
5392
|
+
type: "enum",
|
|
5393
|
+
enum: AIInterviewStatusEnum,
|
|
5394
|
+
default: "IN_PROGRESS" /* IN_PROGRESS */
|
|
5395
|
+
})
|
|
5396
|
+
], AIInterview.prototype, "status", 2);
|
|
5397
|
+
__decorateClass([
|
|
5398
|
+
Column47({
|
|
5399
|
+
name: "started_at",
|
|
5400
|
+
type: "timestamp with time zone",
|
|
5401
|
+
comment: "Timestamp when the interview was started"
|
|
5402
|
+
})
|
|
5403
|
+
], AIInterview.prototype, "startedAt", 2);
|
|
5404
|
+
__decorateClass([
|
|
5405
|
+
Column47({
|
|
5406
|
+
name: "completed_at",
|
|
5407
|
+
type: "timestamp with time zone",
|
|
5408
|
+
nullable: true,
|
|
5409
|
+
comment: "Timestamp when the interview was completed"
|
|
5410
|
+
})
|
|
5411
|
+
], AIInterview.prototype, "completedAt", 2);
|
|
5412
|
+
__decorateClass([
|
|
5413
|
+
Column47({
|
|
5414
|
+
name: "duration_minutes",
|
|
5415
|
+
type: "integer",
|
|
5416
|
+
nullable: true,
|
|
5417
|
+
comment: "Duration of the AI interview"
|
|
5418
|
+
})
|
|
5419
|
+
], AIInterview.prototype, "durationMinutes", 2);
|
|
5420
|
+
__decorateClass([
|
|
5421
|
+
Column47({
|
|
5422
|
+
name: "overall_score",
|
|
5423
|
+
type: "decimal",
|
|
5424
|
+
precision: 5,
|
|
5425
|
+
scale: 2,
|
|
5426
|
+
nullable: true,
|
|
5427
|
+
comment: "Overall score of the AI interview"
|
|
5428
|
+
})
|
|
5429
|
+
], AIInterview.prototype, "overallScore", 2);
|
|
5430
|
+
__decorateClass([
|
|
5431
|
+
ManyToOne37(() => Interview, { onDelete: "CASCADE" }),
|
|
5432
|
+
JoinColumn37({ name: "interview_id" })
|
|
5433
|
+
], AIInterview.prototype, "interview", 2);
|
|
5434
|
+
__decorateClass([
|
|
5435
|
+
ManyToOne37(() => InterviewInvite, { onDelete: "CASCADE" }),
|
|
5436
|
+
JoinColumn37({ name: "interview_invite_id" })
|
|
5437
|
+
], AIInterview.prototype, "interviewInvite", 2);
|
|
5438
|
+
__decorateClass([
|
|
5439
|
+
ManyToOne37(() => User, { onDelete: "CASCADE" }),
|
|
5440
|
+
JoinColumn37({ name: "candidate_id" })
|
|
5441
|
+
], AIInterview.prototype, "candidate", 2);
|
|
5442
|
+
__decorateClass([
|
|
5443
|
+
ManyToOne37(() => Job, { onDelete: "CASCADE" }),
|
|
5444
|
+
JoinColumn37({ name: "job_id" })
|
|
5445
|
+
], AIInterview.prototype, "job", 2);
|
|
5446
|
+
AIInterview = __decorateClass([
|
|
5447
|
+
Entity46("ai_interviews")
|
|
5448
|
+
], AIInterview);
|
|
5449
|
+
|
|
5308
5450
|
// src/entities/plan.entity.ts
|
|
5309
|
-
import { Entity as
|
|
5451
|
+
import { Entity as Entity48, Column as Column49, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
|
|
5310
5452
|
|
|
5311
5453
|
// src/entities/feature.entity.ts
|
|
5312
|
-
import { Entity as
|
|
5454
|
+
import { Entity as Entity47, Column as Column48, ManyToMany as ManyToMany2 } from "typeorm";
|
|
5313
5455
|
var Feature = class extends BaseEntity {
|
|
5314
5456
|
};
|
|
5315
5457
|
__decorateClass([
|
|
5316
|
-
|
|
5458
|
+
Column48({ name: "name", type: "varchar", unique: true })
|
|
5317
5459
|
], Feature.prototype, "name", 2);
|
|
5318
5460
|
__decorateClass([
|
|
5319
5461
|
ManyToMany2(() => Plan, (plan) => plan.features)
|
|
5320
5462
|
], Feature.prototype, "plans", 2);
|
|
5321
5463
|
Feature = __decorateClass([
|
|
5322
|
-
|
|
5464
|
+
Entity47("features")
|
|
5323
5465
|
], Feature);
|
|
5324
5466
|
|
|
5325
5467
|
// src/entities/plan.entity.ts
|
|
5326
5468
|
var Plan = class extends BaseEntity {
|
|
5327
5469
|
};
|
|
5328
5470
|
__decorateClass([
|
|
5329
|
-
|
|
5471
|
+
Column49({ name: "name", type: "varchar", unique: true })
|
|
5330
5472
|
], Plan.prototype, "name", 2);
|
|
5331
5473
|
__decorateClass([
|
|
5332
|
-
|
|
5474
|
+
Column49({ name: "description", type: "varchar", nullable: true })
|
|
5333
5475
|
], Plan.prototype, "description", 2);
|
|
5334
5476
|
__decorateClass([
|
|
5335
|
-
|
|
5477
|
+
Column49({ name: "price", type: "decimal", precision: 10, scale: 2 })
|
|
5336
5478
|
], Plan.prototype, "price", 2);
|
|
5337
5479
|
__decorateClass([
|
|
5338
|
-
|
|
5480
|
+
Column49({ name: "billing_period", type: "varchar" })
|
|
5339
5481
|
], Plan.prototype, "billingPeriod", 2);
|
|
5340
5482
|
__decorateClass([
|
|
5341
|
-
|
|
5483
|
+
Column49({ name: "is_current", type: "boolean", default: false })
|
|
5342
5484
|
], Plan.prototype, "isCurrent", 2);
|
|
5343
5485
|
__decorateClass([
|
|
5344
5486
|
ManyToMany3(() => Feature, (feature) => feature.plans, { cascade: true }),
|
|
5345
5487
|
JoinTable()
|
|
5346
5488
|
], Plan.prototype, "features", 2);
|
|
5347
5489
|
Plan = __decorateClass([
|
|
5348
|
-
|
|
5490
|
+
Entity48("plans")
|
|
5349
5491
|
], Plan);
|
|
5350
5492
|
|
|
5351
5493
|
// src/entities/cms.entity.ts
|
|
5352
|
-
import { Entity as
|
|
5494
|
+
import { Entity as Entity49, Column as Column50 } from "typeorm";
|
|
5353
5495
|
var Cms = class extends BaseEntity {
|
|
5354
5496
|
};
|
|
5355
5497
|
__decorateClass([
|
|
5356
|
-
|
|
5498
|
+
Column50({ name: "title", type: "varchar", nullable: true })
|
|
5357
5499
|
], Cms.prototype, "title", 2);
|
|
5358
5500
|
__decorateClass([
|
|
5359
|
-
|
|
5501
|
+
Column50({ name: "slug", type: "varchar", nullable: true, unique: true })
|
|
5360
5502
|
], Cms.prototype, "slug", 2);
|
|
5361
5503
|
__decorateClass([
|
|
5362
|
-
|
|
5504
|
+
Column50({ name: "content", type: "varchar", nullable: true })
|
|
5363
5505
|
], Cms.prototype, "content", 2);
|
|
5364
5506
|
__decorateClass([
|
|
5365
|
-
|
|
5507
|
+
Column50({ name: "is_active", type: "boolean", default: true })
|
|
5366
5508
|
], Cms.prototype, "isActive", 2);
|
|
5367
5509
|
Cms = __decorateClass([
|
|
5368
|
-
|
|
5510
|
+
Entity49("cms")
|
|
5369
5511
|
], Cms);
|
|
5370
5512
|
|
|
5371
5513
|
// src/entities/lead.entity.ts
|
|
5372
5514
|
import {
|
|
5373
|
-
Entity as
|
|
5374
|
-
Column as
|
|
5515
|
+
Entity as Entity50,
|
|
5516
|
+
Column as Column51
|
|
5375
5517
|
} from "typeorm";
|
|
5376
5518
|
var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
5377
5519
|
CategoryEmum2["BUSINESS"] = "BUSINESS";
|
|
@@ -5381,22 +5523,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
|
|
|
5381
5523
|
var Lead = class extends BaseEntity {
|
|
5382
5524
|
};
|
|
5383
5525
|
__decorateClass([
|
|
5384
|
-
|
|
5526
|
+
Column51({ name: "name", type: "varchar", nullable: true })
|
|
5385
5527
|
], Lead.prototype, "name", 2);
|
|
5386
5528
|
__decorateClass([
|
|
5387
|
-
|
|
5529
|
+
Column51({ name: "mobile_code", type: "varchar", nullable: true })
|
|
5388
5530
|
], Lead.prototype, "mobileCode", 2);
|
|
5389
5531
|
__decorateClass([
|
|
5390
|
-
|
|
5532
|
+
Column51({ name: "mobile", type: "varchar", nullable: true })
|
|
5391
5533
|
], Lead.prototype, "mobile", 2);
|
|
5392
5534
|
__decorateClass([
|
|
5393
|
-
|
|
5535
|
+
Column51({ name: "email", type: "varchar", nullable: true })
|
|
5394
5536
|
], Lead.prototype, "email", 2);
|
|
5395
5537
|
__decorateClass([
|
|
5396
|
-
|
|
5538
|
+
Column51({ name: "description", type: "varchar", nullable: true })
|
|
5397
5539
|
], Lead.prototype, "description", 2);
|
|
5398
5540
|
__decorateClass([
|
|
5399
|
-
|
|
5541
|
+
Column51({
|
|
5400
5542
|
name: "category",
|
|
5401
5543
|
type: "enum",
|
|
5402
5544
|
enum: CategoryEmum,
|
|
@@ -5404,7 +5546,7 @@ __decorateClass([
|
|
|
5404
5546
|
})
|
|
5405
5547
|
], Lead.prototype, "category", 2);
|
|
5406
5548
|
Lead = __decorateClass([
|
|
5407
|
-
|
|
5549
|
+
Entity50("leads")
|
|
5408
5550
|
], Lead);
|
|
5409
5551
|
|
|
5410
5552
|
// src/entities/job-freelancer-recommendation.entity.ts
|
|
@@ -5645,7 +5787,7 @@ ClientFreelancerRecommendation = __decorateClass([
|
|
|
5645
5787
|
], ClientFreelancerRecommendation);
|
|
5646
5788
|
|
|
5647
5789
|
// src/entities/commission.entity.ts
|
|
5648
|
-
import { Entity as
|
|
5790
|
+
import { Entity as Entity51, Column as Column52 } from "typeorm";
|
|
5649
5791
|
var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
5650
5792
|
CommissionTypeEnum2["PERCENTAGE"] = "PERCENTAGE";
|
|
5651
5793
|
CommissionTypeEnum2["FLAT"] = "FLAT";
|
|
@@ -5654,7 +5796,7 @@ var CommissionTypeEnum = /* @__PURE__ */ ((CommissionTypeEnum2) => {
|
|
|
5654
5796
|
var Commission = class extends BaseEntity {
|
|
5655
5797
|
};
|
|
5656
5798
|
__decorateClass([
|
|
5657
|
-
|
|
5799
|
+
Column52({
|
|
5658
5800
|
name: "freelancer_commission_type",
|
|
5659
5801
|
type: "enum",
|
|
5660
5802
|
enum: CommissionTypeEnum,
|
|
@@ -5662,10 +5804,10 @@ __decorateClass([
|
|
|
5662
5804
|
})
|
|
5663
5805
|
], Commission.prototype, "freelancerCommissionType", 2);
|
|
5664
5806
|
__decorateClass([
|
|
5665
|
-
|
|
5807
|
+
Column52({ name: "freelancer_commission", type: "integer", default: 0 })
|
|
5666
5808
|
], Commission.prototype, "freelancerCommission", 2);
|
|
5667
5809
|
__decorateClass([
|
|
5668
|
-
|
|
5810
|
+
Column52({
|
|
5669
5811
|
name: "client_commission_type",
|
|
5670
5812
|
type: "enum",
|
|
5671
5813
|
enum: CommissionTypeEnum,
|
|
@@ -5673,16 +5815,20 @@ __decorateClass([
|
|
|
5673
5815
|
})
|
|
5674
5816
|
], Commission.prototype, "clientCommissionType", 2);
|
|
5675
5817
|
__decorateClass([
|
|
5676
|
-
|
|
5818
|
+
Column52({ name: "client_commission", type: "integer", default: 0 })
|
|
5677
5819
|
], Commission.prototype, "clientCommission", 2);
|
|
5678
5820
|
Commission = __decorateClass([
|
|
5679
|
-
|
|
5821
|
+
Entity51("commissions")
|
|
5680
5822
|
], Commission);
|
|
5681
5823
|
export {
|
|
5682
5824
|
ADMIN_FREELANCER_PATTERN,
|
|
5683
5825
|
ADMIN_JOB_PATTERN,
|
|
5684
5826
|
ADMIN_PERMISSION_PATTERN,
|
|
5685
5827
|
ADMIN_ROLE_PATTERN,
|
|
5828
|
+
AIInterview,
|
|
5829
|
+
AIInterviewResultEnum,
|
|
5830
|
+
AIInterviewStatusEnum,
|
|
5831
|
+
AIInterviewTypeEnum,
|
|
5686
5832
|
ASSESSMENT_QUESTION_PATTERN,
|
|
5687
5833
|
AUTHENTICATION_PATTERN,
|
|
5688
5834
|
AccountStatus,
|