@experts_hub/shared 1.0.199 → 1.0.201
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/assessment-answer.entity.d.ts +19 -0
- package/dist/entities/{assessment-question-option.d.ts → assessment-question-option.entity.d.ts} +2 -0
- package/dist/entities/assessment-question.entity.d.ts +3 -1
- package/dist/entities/index.d.ts +2 -1
- package/dist/entities/user.entity.d.ts +2 -0
- package/dist/index.d.mts +49 -27
- package/dist/index.d.ts +49 -27
- package/dist/index.js +278 -201
- package/dist/index.mjs +288 -207
- package/dist/modules/question/pattern/pattern.d.ts +5 -2
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseEntity } from "./base.entity";
|
|
2
|
+
import { User } from "./user.entity";
|
|
3
|
+
import { AssessmetQuestion } from "./assessment-question.entity";
|
|
4
|
+
import { AssessmetQuestionOption } from "./assessment-question-option.entity";
|
|
5
|
+
export declare enum SelectedAnswerTypeEnum {
|
|
6
|
+
CORRECT = "CORRECT",
|
|
7
|
+
ACCEPTABLE = "ACCEPTABLE",
|
|
8
|
+
ELIMINATE = "ELIMINATE"
|
|
9
|
+
}
|
|
10
|
+
export declare class AssessmentAnswer extends BaseEntity {
|
|
11
|
+
userId: number;
|
|
12
|
+
user: User;
|
|
13
|
+
questionId: number;
|
|
14
|
+
question: AssessmetQuestion;
|
|
15
|
+
selectedOptionId: number;
|
|
16
|
+
option: AssessmetQuestionOption;
|
|
17
|
+
selectedAnswerType: SelectedAnswerTypeEnum;
|
|
18
|
+
score: number;
|
|
19
|
+
}
|
package/dist/entities/{assessment-question-option.d.ts → assessment-question-option.entity.d.ts}
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BaseEntity } from "./base.entity";
|
|
2
2
|
import { AssessmetQuestion } from "./assessment-question.entity";
|
|
3
|
+
import { AssessmentAnswer } from "./assessment-answer.entity";
|
|
3
4
|
export declare enum AnswerTypeEnum {
|
|
4
5
|
CORRECT = "CORRECT",
|
|
5
6
|
ACCEPTABLE = "ACCEPTABLE",
|
|
@@ -11,4 +12,5 @@ export declare class AssessmetQuestionOption extends BaseEntity {
|
|
|
11
12
|
text: string;
|
|
12
13
|
answerType: AnswerTypeEnum;
|
|
13
14
|
isActive: boolean;
|
|
15
|
+
selectedOptions: AssessmentAnswer[];
|
|
14
16
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BaseEntity } from "./base.entity";
|
|
2
|
-
import { AssessmetQuestionOption } from "./assessment-question-option";
|
|
2
|
+
import { AssessmetQuestionOption } from "./assessment-question-option.entity";
|
|
3
|
+
import { AssessmentAnswer } from "./assessment-answer.entity";
|
|
3
4
|
export declare enum QuestionForEnum {
|
|
4
5
|
ASSESSMENT = "ASSESSMENT",
|
|
5
6
|
INTERVIEW = "INTERVIEW"
|
|
@@ -9,4 +10,5 @@ export declare class AssessmetQuestion extends BaseEntity {
|
|
|
9
10
|
questionFor: QuestionForEnum;
|
|
10
11
|
isActive: boolean;
|
|
11
12
|
options: AssessmetQuestionOption[];
|
|
13
|
+
answers: AssessmentAnswer[];
|
|
12
14
|
}
|
package/dist/entities/index.d.ts
CHANGED
|
@@ -36,4 +36,5 @@ export * from './country.entity';
|
|
|
36
36
|
export * from './state.entity';
|
|
37
37
|
export * from './city.entity';
|
|
38
38
|
export * from './assessment-question.entity';
|
|
39
|
-
export * from './assessment-question-option';
|
|
39
|
+
export * from './assessment-question-option.entity';
|
|
40
|
+
export * from './assessment-answer.entity';
|
|
@@ -20,6 +20,7 @@ import { FreelancerFramework } from "./freelancer-framework.entity";
|
|
|
20
20
|
import { FreelancerAssessment } from "./freelancer-assessment.entity";
|
|
21
21
|
import { FreelancerDeclaration } from "./freelancer-declaration.entity";
|
|
22
22
|
import { CompanyMemberRole } from "./company-members-roles.entity";
|
|
23
|
+
import { AssessmentAnswer } from "./assessment-answer.entity";
|
|
23
24
|
export declare enum AccountType {
|
|
24
25
|
ADMIN = "ADMIN",
|
|
25
26
|
SUB_ADMIN = "SUB_ADMIN",
|
|
@@ -73,6 +74,7 @@ export declare class User extends BaseEntity {
|
|
|
73
74
|
companyProfile: CompanyProfile;
|
|
74
75
|
companyMemberRoles: CompanyMemberRole[];
|
|
75
76
|
assessments: FreelancerAssessment[];
|
|
77
|
+
assessmentAnswers: AssessmentAnswer[];
|
|
76
78
|
jobs: Job[];
|
|
77
79
|
interviews: Interview[];
|
|
78
80
|
bankDetail: BankDetail[];
|
package/dist/index.d.mts
CHANGED
|
@@ -349,8 +349,11 @@ interface IUpdateClientProfileResponse {
|
|
|
349
349
|
message: string;
|
|
350
350
|
}
|
|
351
351
|
|
|
352
|
-
declare const
|
|
353
|
-
|
|
352
|
+
declare const ONBOARDING_QUESTION_PATTERN: {
|
|
353
|
+
fetchOnboardingQuestions: string;
|
|
354
|
+
};
|
|
355
|
+
declare const ASSESSMENT_QUESTION_PATTERN: {
|
|
356
|
+
fetchAssessmentQuestions: string;
|
|
354
357
|
};
|
|
355
358
|
|
|
356
359
|
declare class CreateQuestionDto {
|
|
@@ -958,6 +961,48 @@ declare class CompanyMemberRole extends BaseEntity {
|
|
|
958
961
|
assignedBy?: number;
|
|
959
962
|
}
|
|
960
963
|
|
|
964
|
+
declare enum AnswerTypeEnum {
|
|
965
|
+
CORRECT = "CORRECT",
|
|
966
|
+
ACCEPTABLE = "ACCEPTABLE",
|
|
967
|
+
ELIMINATE = "ELIMINATE"
|
|
968
|
+
}
|
|
969
|
+
declare class AssessmetQuestionOption extends BaseEntity {
|
|
970
|
+
questionId: number;
|
|
971
|
+
question: AssessmetQuestion;
|
|
972
|
+
text: string;
|
|
973
|
+
answerType: AnswerTypeEnum;
|
|
974
|
+
isActive: boolean;
|
|
975
|
+
selectedOptions: AssessmentAnswer[];
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
declare enum QuestionForEnum {
|
|
979
|
+
ASSESSMENT = "ASSESSMENT",
|
|
980
|
+
INTERVIEW = "INTERVIEW"
|
|
981
|
+
}
|
|
982
|
+
declare class AssessmetQuestion extends BaseEntity {
|
|
983
|
+
text: string;
|
|
984
|
+
questionFor: QuestionForEnum;
|
|
985
|
+
isActive: boolean;
|
|
986
|
+
options: AssessmetQuestionOption[];
|
|
987
|
+
answers: AssessmentAnswer[];
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
declare enum SelectedAnswerTypeEnum {
|
|
991
|
+
CORRECT = "CORRECT",
|
|
992
|
+
ACCEPTABLE = "ACCEPTABLE",
|
|
993
|
+
ELIMINATE = "ELIMINATE"
|
|
994
|
+
}
|
|
995
|
+
declare class AssessmentAnswer extends BaseEntity {
|
|
996
|
+
userId: number;
|
|
997
|
+
user: User;
|
|
998
|
+
questionId: number;
|
|
999
|
+
question: AssessmetQuestion;
|
|
1000
|
+
selectedOptionId: number;
|
|
1001
|
+
option: AssessmetQuestionOption;
|
|
1002
|
+
selectedAnswerType: SelectedAnswerTypeEnum;
|
|
1003
|
+
score: number;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
961
1006
|
declare enum AccountType {
|
|
962
1007
|
ADMIN = "ADMIN",
|
|
963
1008
|
SUB_ADMIN = "SUB_ADMIN",
|
|
@@ -1011,6 +1056,7 @@ declare class User extends BaseEntity {
|
|
|
1011
1056
|
companyProfile: CompanyProfile;
|
|
1012
1057
|
companyMemberRoles: CompanyMemberRole[];
|
|
1013
1058
|
assessments: FreelancerAssessment[];
|
|
1059
|
+
assessmentAnswers: AssessmentAnswer[];
|
|
1014
1060
|
jobs: Job[];
|
|
1015
1061
|
interviews: Interview[];
|
|
1016
1062
|
bankDetail: BankDetail[];
|
|
@@ -1594,28 +1640,4 @@ declare class Country extends BaseEntity {
|
|
|
1594
1640
|
isActive: boolean;
|
|
1595
1641
|
}
|
|
1596
1642
|
|
|
1597
|
-
|
|
1598
|
-
CORRECT = "CORRECT",
|
|
1599
|
-
ACCEPTABLE = "ACCEPTABLE",
|
|
1600
|
-
ELIMINATE = "ELIMINATE"
|
|
1601
|
-
}
|
|
1602
|
-
declare class AssessmetQuestionOption extends BaseEntity {
|
|
1603
|
-
questionId: number;
|
|
1604
|
-
question: AssessmetQuestion;
|
|
1605
|
-
text: string;
|
|
1606
|
-
answerType: AnswerTypeEnum;
|
|
1607
|
-
isActive: boolean;
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
|
-
declare enum QuestionForEnum {
|
|
1611
|
-
ASSESSMENT = "ASSESSMENT",
|
|
1612
|
-
INTERVIEW = "INTERVIEW"
|
|
1613
|
-
}
|
|
1614
|
-
declare class AssessmetQuestion extends BaseEntity {
|
|
1615
|
-
text: string;
|
|
1616
|
-
questionFor: QuestionForEnum;
|
|
1617
|
-
isActive: boolean;
|
|
1618
|
-
options: AssessmetQuestionOption[];
|
|
1619
|
-
}
|
|
1620
|
-
|
|
1621
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, AnswerTypeEnum, ApplicationStatusEnum, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, Country, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, 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 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 IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
|
1643
|
+
export { ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, Country, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, 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 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 IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, 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, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.d.ts
CHANGED
|
@@ -349,8 +349,11 @@ interface IUpdateClientProfileResponse {
|
|
|
349
349
|
message: string;
|
|
350
350
|
}
|
|
351
351
|
|
|
352
|
-
declare const
|
|
353
|
-
|
|
352
|
+
declare const ONBOARDING_QUESTION_PATTERN: {
|
|
353
|
+
fetchOnboardingQuestions: string;
|
|
354
|
+
};
|
|
355
|
+
declare const ASSESSMENT_QUESTION_PATTERN: {
|
|
356
|
+
fetchAssessmentQuestions: string;
|
|
354
357
|
};
|
|
355
358
|
|
|
356
359
|
declare class CreateQuestionDto {
|
|
@@ -958,6 +961,48 @@ declare class CompanyMemberRole extends BaseEntity {
|
|
|
958
961
|
assignedBy?: number;
|
|
959
962
|
}
|
|
960
963
|
|
|
964
|
+
declare enum AnswerTypeEnum {
|
|
965
|
+
CORRECT = "CORRECT",
|
|
966
|
+
ACCEPTABLE = "ACCEPTABLE",
|
|
967
|
+
ELIMINATE = "ELIMINATE"
|
|
968
|
+
}
|
|
969
|
+
declare class AssessmetQuestionOption extends BaseEntity {
|
|
970
|
+
questionId: number;
|
|
971
|
+
question: AssessmetQuestion;
|
|
972
|
+
text: string;
|
|
973
|
+
answerType: AnswerTypeEnum;
|
|
974
|
+
isActive: boolean;
|
|
975
|
+
selectedOptions: AssessmentAnswer[];
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
declare enum QuestionForEnum {
|
|
979
|
+
ASSESSMENT = "ASSESSMENT",
|
|
980
|
+
INTERVIEW = "INTERVIEW"
|
|
981
|
+
}
|
|
982
|
+
declare class AssessmetQuestion extends BaseEntity {
|
|
983
|
+
text: string;
|
|
984
|
+
questionFor: QuestionForEnum;
|
|
985
|
+
isActive: boolean;
|
|
986
|
+
options: AssessmetQuestionOption[];
|
|
987
|
+
answers: AssessmentAnswer[];
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
declare enum SelectedAnswerTypeEnum {
|
|
991
|
+
CORRECT = "CORRECT",
|
|
992
|
+
ACCEPTABLE = "ACCEPTABLE",
|
|
993
|
+
ELIMINATE = "ELIMINATE"
|
|
994
|
+
}
|
|
995
|
+
declare class AssessmentAnswer extends BaseEntity {
|
|
996
|
+
userId: number;
|
|
997
|
+
user: User;
|
|
998
|
+
questionId: number;
|
|
999
|
+
question: AssessmetQuestion;
|
|
1000
|
+
selectedOptionId: number;
|
|
1001
|
+
option: AssessmetQuestionOption;
|
|
1002
|
+
selectedAnswerType: SelectedAnswerTypeEnum;
|
|
1003
|
+
score: number;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
961
1006
|
declare enum AccountType {
|
|
962
1007
|
ADMIN = "ADMIN",
|
|
963
1008
|
SUB_ADMIN = "SUB_ADMIN",
|
|
@@ -1011,6 +1056,7 @@ declare class User extends BaseEntity {
|
|
|
1011
1056
|
companyProfile: CompanyProfile;
|
|
1012
1057
|
companyMemberRoles: CompanyMemberRole[];
|
|
1013
1058
|
assessments: FreelancerAssessment[];
|
|
1059
|
+
assessmentAnswers: AssessmentAnswer[];
|
|
1014
1060
|
jobs: Job[];
|
|
1015
1061
|
interviews: Interview[];
|
|
1016
1062
|
bankDetail: BankDetail[];
|
|
@@ -1594,28 +1640,4 @@ declare class Country extends BaseEntity {
|
|
|
1594
1640
|
isActive: boolean;
|
|
1595
1641
|
}
|
|
1596
1642
|
|
|
1597
|
-
|
|
1598
|
-
CORRECT = "CORRECT",
|
|
1599
|
-
ACCEPTABLE = "ACCEPTABLE",
|
|
1600
|
-
ELIMINATE = "ELIMINATE"
|
|
1601
|
-
}
|
|
1602
|
-
declare class AssessmetQuestionOption extends BaseEntity {
|
|
1603
|
-
questionId: number;
|
|
1604
|
-
question: AssessmetQuestion;
|
|
1605
|
-
text: string;
|
|
1606
|
-
answerType: AnswerTypeEnum;
|
|
1607
|
-
isActive: boolean;
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
|
-
declare enum QuestionForEnum {
|
|
1611
|
-
ASSESSMENT = "ASSESSMENT",
|
|
1612
|
-
INTERVIEW = "INTERVIEW"
|
|
1613
|
-
}
|
|
1614
|
-
declare class AssessmetQuestion extends BaseEntity {
|
|
1615
|
-
text: string;
|
|
1616
|
-
questionFor: QuestionForEnum;
|
|
1617
|
-
isActive: boolean;
|
|
1618
|
-
options: AssessmetQuestionOption[];
|
|
1619
|
-
}
|
|
1620
|
-
|
|
1621
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, AnswerTypeEnum, ApplicationStatusEnum, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, Country, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, 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 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 IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
|
1643
|
+
export { ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, Country, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateClientPayload, type ICreateClientResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteClientResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, 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 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 IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, 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, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|