@experts_hub/shared 1.0.200 → 1.0.202
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 +54 -25
- package/dist/index.d.ts +54 -25
- package/dist/index.js +286 -197
- package/dist/index.mjs +295 -204
- package/dist/modules/geographic/index.d.ts +1 -0
- package/dist/modules/geographic/pattern/pattern.d.ts +9 -0
- package/dist/modules/index.d.ts +1 -0
- 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
|
@@ -961,6 +961,48 @@ declare class CompanyMemberRole extends BaseEntity {
|
|
|
961
961
|
assignedBy?: number;
|
|
962
962
|
}
|
|
963
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
|
+
|
|
964
1006
|
declare enum AccountType {
|
|
965
1007
|
ADMIN = "ADMIN",
|
|
966
1008
|
SUB_ADMIN = "SUB_ADMIN",
|
|
@@ -1014,6 +1056,7 @@ declare class User extends BaseEntity {
|
|
|
1014
1056
|
companyProfile: CompanyProfile;
|
|
1015
1057
|
companyMemberRoles: CompanyMemberRole[];
|
|
1016
1058
|
assessments: FreelancerAssessment[];
|
|
1059
|
+
assessmentAnswers: AssessmentAnswer[];
|
|
1017
1060
|
jobs: Job[];
|
|
1018
1061
|
interviews: Interview[];
|
|
1019
1062
|
bankDetail: BankDetail[];
|
|
@@ -1513,6 +1556,16 @@ interface IFetchCmsQuery {
|
|
|
1513
1556
|
sortBy?: string;
|
|
1514
1557
|
}
|
|
1515
1558
|
|
|
1559
|
+
declare const COUNTRY_PATTERN: {
|
|
1560
|
+
fetchCountryDropdown: string;
|
|
1561
|
+
};
|
|
1562
|
+
declare const STATE_PATTERN: {
|
|
1563
|
+
fetchStateDropdown: string;
|
|
1564
|
+
};
|
|
1565
|
+
declare const CITY_PATTERN: {
|
|
1566
|
+
fetchCityDropdown: string;
|
|
1567
|
+
};
|
|
1568
|
+
|
|
1516
1569
|
declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
1517
1570
|
|
|
1518
1571
|
declare const JobTCPAdapter: () => MicroserviceOptions;
|
|
@@ -1597,28 +1650,4 @@ declare class Country extends BaseEntity {
|
|
|
1597
1650
|
isActive: boolean;
|
|
1598
1651
|
}
|
|
1599
1652
|
|
|
1600
|
-
|
|
1601
|
-
CORRECT = "CORRECT",
|
|
1602
|
-
ACCEPTABLE = "ACCEPTABLE",
|
|
1603
|
-
ELIMINATE = "ELIMINATE"
|
|
1604
|
-
}
|
|
1605
|
-
declare class AssessmetQuestionOption extends BaseEntity {
|
|
1606
|
-
questionId: number;
|
|
1607
|
-
question: AssessmetQuestion;
|
|
1608
|
-
text: string;
|
|
1609
|
-
answerType: AnswerTypeEnum;
|
|
1610
|
-
isActive: boolean;
|
|
1611
|
-
}
|
|
1612
|
-
|
|
1613
|
-
declare enum QuestionForEnum {
|
|
1614
|
-
ASSESSMENT = "ASSESSMENT",
|
|
1615
|
-
INTERVIEW = "INTERVIEW"
|
|
1616
|
-
}
|
|
1617
|
-
declare class AssessmetQuestion extends BaseEntity {
|
|
1618
|
-
text: string;
|
|
1619
|
-
questionFor: QuestionForEnum;
|
|
1620
|
-
isActive: boolean;
|
|
1621
|
-
options: AssessmetQuestionOption[];
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
|
-
export { ASSESSMENT_QUESTION_PATTERN, 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, 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, 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 };
|
|
1653
|
+
export { ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, COUNTRY_PATTERN, CaseStudyDto, 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, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|
package/dist/index.d.ts
CHANGED
|
@@ -961,6 +961,48 @@ declare class CompanyMemberRole extends BaseEntity {
|
|
|
961
961
|
assignedBy?: number;
|
|
962
962
|
}
|
|
963
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
|
+
|
|
964
1006
|
declare enum AccountType {
|
|
965
1007
|
ADMIN = "ADMIN",
|
|
966
1008
|
SUB_ADMIN = "SUB_ADMIN",
|
|
@@ -1014,6 +1056,7 @@ declare class User extends BaseEntity {
|
|
|
1014
1056
|
companyProfile: CompanyProfile;
|
|
1015
1057
|
companyMemberRoles: CompanyMemberRole[];
|
|
1016
1058
|
assessments: FreelancerAssessment[];
|
|
1059
|
+
assessmentAnswers: AssessmentAnswer[];
|
|
1017
1060
|
jobs: Job[];
|
|
1018
1061
|
interviews: Interview[];
|
|
1019
1062
|
bankDetail: BankDetail[];
|
|
@@ -1513,6 +1556,16 @@ interface IFetchCmsQuery {
|
|
|
1513
1556
|
sortBy?: string;
|
|
1514
1557
|
}
|
|
1515
1558
|
|
|
1559
|
+
declare const COUNTRY_PATTERN: {
|
|
1560
|
+
fetchCountryDropdown: string;
|
|
1561
|
+
};
|
|
1562
|
+
declare const STATE_PATTERN: {
|
|
1563
|
+
fetchStateDropdown: string;
|
|
1564
|
+
};
|
|
1565
|
+
declare const CITY_PATTERN: {
|
|
1566
|
+
fetchCityDropdown: string;
|
|
1567
|
+
};
|
|
1568
|
+
|
|
1516
1569
|
declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
1517
1570
|
|
|
1518
1571
|
declare const JobTCPAdapter: () => MicroserviceOptions;
|
|
@@ -1597,28 +1650,4 @@ declare class Country extends BaseEntity {
|
|
|
1597
1650
|
isActive: boolean;
|
|
1598
1651
|
}
|
|
1599
1652
|
|
|
1600
|
-
|
|
1601
|
-
CORRECT = "CORRECT",
|
|
1602
|
-
ACCEPTABLE = "ACCEPTABLE",
|
|
1603
|
-
ELIMINATE = "ELIMINATE"
|
|
1604
|
-
}
|
|
1605
|
-
declare class AssessmetQuestionOption extends BaseEntity {
|
|
1606
|
-
questionId: number;
|
|
1607
|
-
question: AssessmetQuestion;
|
|
1608
|
-
text: string;
|
|
1609
|
-
answerType: AnswerTypeEnum;
|
|
1610
|
-
isActive: boolean;
|
|
1611
|
-
}
|
|
1612
|
-
|
|
1613
|
-
declare enum QuestionForEnum {
|
|
1614
|
-
ASSESSMENT = "ASSESSMENT",
|
|
1615
|
-
INTERVIEW = "INTERVIEW"
|
|
1616
|
-
}
|
|
1617
|
-
declare class AssessmetQuestion extends BaseEntity {
|
|
1618
|
-
text: string;
|
|
1619
|
-
questionFor: QuestionForEnum;
|
|
1620
|
-
isActive: boolean;
|
|
1621
|
-
options: AssessmetQuestionOption[];
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
|
-
export { ASSESSMENT_QUESTION_PATTERN, 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, 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, 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 };
|
|
1653
|
+
export { ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, COUNTRY_PATTERN, CaseStudyDto, 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, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
|