@experts_hub/shared 1.0.115 → 1.0.116
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/index.d.ts +1 -0
- package/dist/entities/job-application.entity.d.ts +34 -0
- package/dist/entities/job-entity.d.ts +2 -0
- package/dist/entities/user.entity.d.ts +2 -0
- package/dist/index.d.mts +35 -1
- package/dist/index.d.ts +35 -1
- package/dist/index.js +269 -143
- package/dist/index.mjs +285 -155
- package/package.json +1 -1
package/dist/entities/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './skill.entity';
|
|
|
10
10
|
export * from './job-role.entity';
|
|
11
11
|
export * from './job-entity';
|
|
12
12
|
export * from './job-skill.entity';
|
|
13
|
+
export * from './job-application.entity';
|
|
13
14
|
export * from './bank-details.entity';
|
|
14
15
|
export * from './plan.entity';
|
|
15
16
|
export * from './feature.entity';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { BaseEntity } from "./base.entity";
|
|
2
|
+
import { Job } from "./job-entity";
|
|
3
|
+
import { User } from "./user.entity";
|
|
4
|
+
export declare enum ApplicationStatusEnum {
|
|
5
|
+
PENDING = "PENDING",
|
|
6
|
+
SHORTLISTED = "SHORTLISTED",
|
|
7
|
+
INTERVIEW_IN_PROGRESS = "INTERVIEW_IN_PROGRESS",
|
|
8
|
+
INTERVIEWED = "INTERVIEWED",
|
|
9
|
+
OFFERED = "OFFERED",
|
|
10
|
+
HIRED = "HIRED",
|
|
11
|
+
REJECTED_BEFORE_INTERVIEW = "REJECTED_BEFORE_INTERVIEW",
|
|
12
|
+
REJECTED_IN_INTERVIEW = "REJECTED_IN_INTERVIEW",
|
|
13
|
+
REJECTED_AFTER_INTERVIEW = "REJECTED_AFTER_INTERVIEW",
|
|
14
|
+
NOT_SUITABLE = "NOT_SUITABLE",
|
|
15
|
+
WITHDRAWN = "WITHDRAWN"
|
|
16
|
+
}
|
|
17
|
+
export declare class JobApplication extends BaseEntity {
|
|
18
|
+
jobApplicationId: string;
|
|
19
|
+
jobId: number;
|
|
20
|
+
job: Job;
|
|
21
|
+
userId: number;
|
|
22
|
+
user: User;
|
|
23
|
+
status: ApplicationStatusEnum;
|
|
24
|
+
appliedAt: Date;
|
|
25
|
+
shortlistedAt: Date;
|
|
26
|
+
interviewStartedAt: Date;
|
|
27
|
+
interviewCompletedAt: Date;
|
|
28
|
+
offeredAt: Date;
|
|
29
|
+
hiredAt: Date;
|
|
30
|
+
rejectedAt: Date;
|
|
31
|
+
rejectionReason: string;
|
|
32
|
+
withdrawnAt: Date;
|
|
33
|
+
withdrawnReason: string;
|
|
34
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseEntity } from "./base.entity";
|
|
2
2
|
import { User } from "./user.entity";
|
|
3
3
|
import { JobSkill } from "./job-skill.entity";
|
|
4
|
+
import { JobApplication } from "./job-application.entity";
|
|
4
5
|
export declare enum JobLocationEnum {
|
|
5
6
|
ONSITE = "ONSITE",
|
|
6
7
|
REMOTE = "REMOTE",
|
|
@@ -42,4 +43,5 @@ export declare class Job extends BaseEntity {
|
|
|
42
43
|
stepCompleted: Step;
|
|
43
44
|
status: JobStatusEnum;
|
|
44
45
|
jobSkills: JobSkill[];
|
|
46
|
+
jobApplications: JobApplication[];
|
|
45
47
|
}
|
|
@@ -8,6 +8,7 @@ import { Job } from "./job-entity";
|
|
|
8
8
|
import { BankDetail } from "./bank-details.entity";
|
|
9
9
|
import { SystemPreference } from "./system-preference.entity";
|
|
10
10
|
import { Rating } from "./rating.entity";
|
|
11
|
+
import { JobApplication } from "./job-application.entity";
|
|
11
12
|
export declare enum AccountType {
|
|
12
13
|
ADMIN = "ADMIN",
|
|
13
14
|
SUB_ADMIN = "SUB_ADMIN",
|
|
@@ -60,4 +61,5 @@ export declare class User extends BaseEntity {
|
|
|
60
61
|
systemPreference: SystemPreference[];
|
|
61
62
|
givenRatings: Rating[];
|
|
62
63
|
receivedRatings: Rating[];
|
|
64
|
+
jobApplications: JobApplication[];
|
|
63
65
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -342,6 +342,38 @@ declare class JobSkill extends BaseEntity {
|
|
|
342
342
|
skill: Skill;
|
|
343
343
|
}
|
|
344
344
|
|
|
345
|
+
declare enum ApplicationStatusEnum {
|
|
346
|
+
PENDING = "PENDING",
|
|
347
|
+
SHORTLISTED = "SHORTLISTED",
|
|
348
|
+
INTERVIEW_IN_PROGRESS = "INTERVIEW_IN_PROGRESS",
|
|
349
|
+
INTERVIEWED = "INTERVIEWED",
|
|
350
|
+
OFFERED = "OFFERED",
|
|
351
|
+
HIRED = "HIRED",
|
|
352
|
+
REJECTED_BEFORE_INTERVIEW = "REJECTED_BEFORE_INTERVIEW",
|
|
353
|
+
REJECTED_IN_INTERVIEW = "REJECTED_IN_INTERVIEW",
|
|
354
|
+
REJECTED_AFTER_INTERVIEW = "REJECTED_AFTER_INTERVIEW",
|
|
355
|
+
NOT_SUITABLE = "NOT_SUITABLE",
|
|
356
|
+
WITHDRAWN = "WITHDRAWN"
|
|
357
|
+
}
|
|
358
|
+
declare class JobApplication extends BaseEntity {
|
|
359
|
+
jobApplicationId: string;
|
|
360
|
+
jobId: number;
|
|
361
|
+
job: Job;
|
|
362
|
+
userId: number;
|
|
363
|
+
user: User;
|
|
364
|
+
status: ApplicationStatusEnum;
|
|
365
|
+
appliedAt: Date;
|
|
366
|
+
shortlistedAt: Date;
|
|
367
|
+
interviewStartedAt: Date;
|
|
368
|
+
interviewCompletedAt: Date;
|
|
369
|
+
offeredAt: Date;
|
|
370
|
+
hiredAt: Date;
|
|
371
|
+
rejectedAt: Date;
|
|
372
|
+
rejectionReason: string;
|
|
373
|
+
withdrawnAt: Date;
|
|
374
|
+
withdrawnReason: string;
|
|
375
|
+
}
|
|
376
|
+
|
|
345
377
|
declare enum JobLocationEnum {
|
|
346
378
|
ONSITE = "ONSITE",
|
|
347
379
|
REMOTE = "REMOTE",
|
|
@@ -383,6 +415,7 @@ declare class Job extends BaseEntity {
|
|
|
383
415
|
stepCompleted: Step;
|
|
384
416
|
status: JobStatusEnum;
|
|
385
417
|
jobSkills: JobSkill[];
|
|
418
|
+
jobApplications: JobApplication[];
|
|
386
419
|
}
|
|
387
420
|
|
|
388
421
|
declare enum BankAccountTypeEnum {
|
|
@@ -484,6 +517,7 @@ declare class User extends BaseEntity {
|
|
|
484
517
|
systemPreference: SystemPreference[];
|
|
485
518
|
givenRatings: Rating[];
|
|
486
519
|
receivedRatings: Rating[];
|
|
520
|
+
jobApplications: JobApplication[];
|
|
487
521
|
}
|
|
488
522
|
|
|
489
523
|
declare enum KindOfHire {
|
|
@@ -835,4 +869,4 @@ declare class Plan extends BaseEntity {
|
|
|
835
869
|
features: Feature[];
|
|
836
870
|
}
|
|
837
871
|
|
|
838
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, EmploymentType, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToSubAdminResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PLAN_PATTERN, PROFILE_PATTERN, Plan, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, ResumeParserLog, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
|
872
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, EmploymentType, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToSubAdminResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, 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, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PLAN_PATTERN, PROFILE_PATTERN, Plan, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, ResumeParserLog, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.d.ts
CHANGED
|
@@ -342,6 +342,38 @@ declare class JobSkill extends BaseEntity {
|
|
|
342
342
|
skill: Skill;
|
|
343
343
|
}
|
|
344
344
|
|
|
345
|
+
declare enum ApplicationStatusEnum {
|
|
346
|
+
PENDING = "PENDING",
|
|
347
|
+
SHORTLISTED = "SHORTLISTED",
|
|
348
|
+
INTERVIEW_IN_PROGRESS = "INTERVIEW_IN_PROGRESS",
|
|
349
|
+
INTERVIEWED = "INTERVIEWED",
|
|
350
|
+
OFFERED = "OFFERED",
|
|
351
|
+
HIRED = "HIRED",
|
|
352
|
+
REJECTED_BEFORE_INTERVIEW = "REJECTED_BEFORE_INTERVIEW",
|
|
353
|
+
REJECTED_IN_INTERVIEW = "REJECTED_IN_INTERVIEW",
|
|
354
|
+
REJECTED_AFTER_INTERVIEW = "REJECTED_AFTER_INTERVIEW",
|
|
355
|
+
NOT_SUITABLE = "NOT_SUITABLE",
|
|
356
|
+
WITHDRAWN = "WITHDRAWN"
|
|
357
|
+
}
|
|
358
|
+
declare class JobApplication extends BaseEntity {
|
|
359
|
+
jobApplicationId: string;
|
|
360
|
+
jobId: number;
|
|
361
|
+
job: Job;
|
|
362
|
+
userId: number;
|
|
363
|
+
user: User;
|
|
364
|
+
status: ApplicationStatusEnum;
|
|
365
|
+
appliedAt: Date;
|
|
366
|
+
shortlistedAt: Date;
|
|
367
|
+
interviewStartedAt: Date;
|
|
368
|
+
interviewCompletedAt: Date;
|
|
369
|
+
offeredAt: Date;
|
|
370
|
+
hiredAt: Date;
|
|
371
|
+
rejectedAt: Date;
|
|
372
|
+
rejectionReason: string;
|
|
373
|
+
withdrawnAt: Date;
|
|
374
|
+
withdrawnReason: string;
|
|
375
|
+
}
|
|
376
|
+
|
|
345
377
|
declare enum JobLocationEnum {
|
|
346
378
|
ONSITE = "ONSITE",
|
|
347
379
|
REMOTE = "REMOTE",
|
|
@@ -383,6 +415,7 @@ declare class Job extends BaseEntity {
|
|
|
383
415
|
stepCompleted: Step;
|
|
384
416
|
status: JobStatusEnum;
|
|
385
417
|
jobSkills: JobSkill[];
|
|
418
|
+
jobApplications: JobApplication[];
|
|
386
419
|
}
|
|
387
420
|
|
|
388
421
|
declare enum BankAccountTypeEnum {
|
|
@@ -484,6 +517,7 @@ declare class User extends BaseEntity {
|
|
|
484
517
|
systemPreference: SystemPreference[];
|
|
485
518
|
givenRatings: Rating[];
|
|
486
519
|
receivedRatings: Rating[];
|
|
520
|
+
jobApplications: JobApplication[];
|
|
487
521
|
}
|
|
488
522
|
|
|
489
523
|
declare enum KindOfHire {
|
|
@@ -835,4 +869,4 @@ declare class Plan extends BaseEntity {
|
|
|
835
869
|
features: Feature[];
|
|
836
870
|
}
|
|
837
871
|
|
|
838
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, EmploymentType, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToSubAdminResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PLAN_PATTERN, PROFILE_PATTERN, Plan, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, ResumeParserLog, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
|
872
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, EmploymentType, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToSubAdminResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, 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, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PLAN_PATTERN, PROFILE_PATTERN, Plan, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, ResumeParserLog, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|