@experts_hub/shared 1.0.322 → 1.0.324

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/index.d.mts CHANGED
@@ -2029,6 +2029,34 @@ declare const ADMIN_PERMISSION_PATTERN: {
2029
2029
  fetchAdminPermissions: string;
2030
2030
  };
2031
2031
 
2032
+ declare const INTERVIEW_INVITE_PATTERN: {
2033
+ sendInterviewInvite: string;
2034
+ };
2035
+
2036
+ declare enum CandidateType {
2037
+ SHORTLISTED = "SHORTLISTED",
2038
+ APPLICATNTS = "APPLICATNTS",
2039
+ RECOMMENDED = "RECOMMENDED",
2040
+ NEW = "NEW"
2041
+ }
2042
+ declare class ExistingCandidateDto {
2043
+ id: string;
2044
+ type: CandidateType;
2045
+ }
2046
+ declare class NewCandidateDto {
2047
+ name: string;
2048
+ email: string;
2049
+ type: CandidateType;
2050
+ }
2051
+ declare class CandidatesDto {
2052
+ exixtingCandidates?: ExistingCandidateDto[];
2053
+ newCandidates?: NewCandidateDto[];
2054
+ }
2055
+ declare class InterviewInviteDto {
2056
+ jobId: string;
2057
+ candidates: CandidatesDto;
2058
+ }
2059
+
2032
2060
  declare const UserTCPAdapter: () => MicroserviceOptions;
2033
2061
 
2034
2062
  declare const JobTCPAdapter: () => MicroserviceOptions;
@@ -2237,4 +2265,4 @@ declare class Commission extends BaseEntity {
2237
2265
  clientCommission: number;
2238
2266
  }
2239
2267
 
2240
- 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, JobRecommendation, 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 };
2268
+ 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, CandidateType, 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, INTERVIEW_INVITE_PATTERN, 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, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRecommendation, 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
@@ -2029,6 +2029,34 @@ declare const ADMIN_PERMISSION_PATTERN: {
2029
2029
  fetchAdminPermissions: string;
2030
2030
  };
2031
2031
 
2032
+ declare const INTERVIEW_INVITE_PATTERN: {
2033
+ sendInterviewInvite: string;
2034
+ };
2035
+
2036
+ declare enum CandidateType {
2037
+ SHORTLISTED = "SHORTLISTED",
2038
+ APPLICATNTS = "APPLICATNTS",
2039
+ RECOMMENDED = "RECOMMENDED",
2040
+ NEW = "NEW"
2041
+ }
2042
+ declare class ExistingCandidateDto {
2043
+ id: string;
2044
+ type: CandidateType;
2045
+ }
2046
+ declare class NewCandidateDto {
2047
+ name: string;
2048
+ email: string;
2049
+ type: CandidateType;
2050
+ }
2051
+ declare class CandidatesDto {
2052
+ exixtingCandidates?: ExistingCandidateDto[];
2053
+ newCandidates?: NewCandidateDto[];
2054
+ }
2055
+ declare class InterviewInviteDto {
2056
+ jobId: string;
2057
+ candidates: CandidatesDto;
2058
+ }
2059
+
2032
2060
  declare const UserTCPAdapter: () => MicroserviceOptions;
2033
2061
 
2034
2062
  declare const JobTCPAdapter: () => MicroserviceOptions;
@@ -2237,4 +2265,4 @@ declare class Commission extends BaseEntity {
2237
2265
  clientCommission: number;
2238
2266
  }
2239
2267
 
2240
- 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, JobRecommendation, 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 };
2268
+ 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, CandidateType, 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, INTERVIEW_INVITE_PATTERN, 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, InterviewInviteDto, InterviewInviteStatusEnum, InterviewQuestion, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobFreelancerRecommendation, JobFreelancerRecommendationV2, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRecommendation, 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
@@ -66,6 +66,7 @@ __export(index_exports, {
66
66
  COMPANY_MEMBERS_PATTERNS: () => COMPANY_MEMBERS_PATTERNS,
67
67
  COMPANY_ROLES_PATTERNS: () => COMPANY_ROLES_PATTERNS,
68
68
  COUNTRY_PATTERN: () => COUNTRY_PATTERN,
69
+ CandidateType: () => CandidateType,
69
70
  CaseStudyDto: () => CaseStudyDto,
70
71
  CategoryEmum: () => CategoryEmum,
71
72
  CategoryEmumDto: () => CategoryEmumDto,
@@ -138,8 +139,10 @@ __export(index_exports, {
138
139
  FreelancerUploadResumeDto: () => FreelancerUploadResumeDto,
139
140
  FreelancerWorkShowcaseDto: () => FreelancerWorkShowcaseDto,
140
141
  FromUsOn: () => FromUsOn,
142
+ INTERVIEW_INVITE_PATTERN: () => INTERVIEW_INVITE_PATTERN,
141
143
  Interview: () => Interview,
142
144
  InterviewInvite: () => InterviewInvite,
145
+ InterviewInviteDto: () => InterviewInviteDto,
143
146
  InterviewInviteStatusEnum: () => InterviewInviteStatusEnum,
144
147
  InterviewQuestion: () => InterviewQuestion,
145
148
  InterviewSkill: () => InterviewSkill,
@@ -2564,7 +2567,7 @@ __decorateClass([
2564
2567
  __decorateClass([
2565
2568
  (0, import_typeorm16.Column)({
2566
2569
  name: "last_calculated_at",
2567
- type: "timestamp with local time zone",
2570
+ type: "timestamp with time zone",
2568
2571
  nullable: true
2569
2572
  })
2570
2573
  ], JobRecommendation.prototype, "lastCalculatedAt", 2);
@@ -4889,6 +4892,71 @@ var ADMIN_PERMISSION_PATTERN = {
4889
4892
  fetchAdminPermissions: "fetch.admin.permissions"
4890
4893
  };
4891
4894
 
4895
+ // src/modules/interview/pattern/pattern.ts
4896
+ var INTERVIEW_INVITE_PATTERN = {
4897
+ sendInterviewInvite: "send.interview.invite"
4898
+ };
4899
+
4900
+ // src/modules/interview/dto/interview-invite.dto.ts
4901
+ var import_class_validator65 = require("class-validator");
4902
+ var import_class_transformer10 = require("class-transformer");
4903
+ var CandidateType = /* @__PURE__ */ ((CandidateType2) => {
4904
+ CandidateType2["SHORTLISTED"] = "SHORTLISTED";
4905
+ CandidateType2["APPLICATNTS"] = "APPLICATNTS";
4906
+ CandidateType2["RECOMMENDED"] = "RECOMMENDED";
4907
+ CandidateType2["NEW"] = "NEW";
4908
+ return CandidateType2;
4909
+ })(CandidateType || {});
4910
+ var ExistingCandidateDto = class {
4911
+ };
4912
+ __decorateClass([
4913
+ (0, import_class_validator65.IsUUID)()
4914
+ ], ExistingCandidateDto.prototype, "id", 2);
4915
+ __decorateClass([
4916
+ (0, import_class_validator65.IsEnum)(CandidateType, {
4917
+ message: "type must be one of SHORTLISTED, APPLICATNTS, or RECOMMENDED"
4918
+ })
4919
+ ], ExistingCandidateDto.prototype, "type", 2);
4920
+ var NewCandidateDto = class {
4921
+ };
4922
+ __decorateClass([
4923
+ (0, import_class_validator65.IsNotEmpty)({ message: "Please enter the candidate name" }),
4924
+ (0, import_class_validator65.IsString)({ message: "Name must be a string" })
4925
+ ], NewCandidateDto.prototype, "name", 2);
4926
+ __decorateClass([
4927
+ (0, import_class_validator65.IsEmail)({}, { message: "Please enter a valid email." })
4928
+ ], NewCandidateDto.prototype, "email", 2);
4929
+ __decorateClass([
4930
+ (0, import_class_validator65.IsEnum)(CandidateType, {
4931
+ message: "type must be NEW"
4932
+ })
4933
+ ], NewCandidateDto.prototype, "type", 2);
4934
+ var CandidatesDto = class {
4935
+ };
4936
+ __decorateClass([
4937
+ (0, import_class_validator65.ValidateIf)((o) => o.exixtingCandidates?.length > 0),
4938
+ (0, import_class_validator65.IsArray)({ message: "Existing candidates should be an array." }),
4939
+ (0, import_class_validator65.ArrayNotEmpty)({ message: "Please select at least one candidate." }),
4940
+ (0, import_class_validator65.ValidateNested)({ each: true }),
4941
+ (0, import_class_transformer10.Type)(() => ExistingCandidateDto)
4942
+ ], CandidatesDto.prototype, "exixtingCandidates", 2);
4943
+ __decorateClass([
4944
+ (0, import_class_validator65.ValidateIf)((o) => o.newCandidates?.length > 0),
4945
+ (0, import_class_validator65.IsArray)({ message: "New candidates should be an array." }),
4946
+ (0, import_class_validator65.ArrayNotEmpty)({ message: "Please add at least one candidate." }),
4947
+ (0, import_class_validator65.ValidateNested)({ each: true }),
4948
+ (0, import_class_transformer10.Type)(() => NewCandidateDto)
4949
+ ], CandidatesDto.prototype, "newCandidates", 2);
4950
+ var InterviewInviteDto = class {
4951
+ };
4952
+ __decorateClass([
4953
+ (0, import_class_validator65.IsUUID)()
4954
+ ], InterviewInviteDto.prototype, "jobId", 2);
4955
+ __decorateClass([
4956
+ (0, import_class_validator65.ValidateNested)({ each: true }),
4957
+ (0, import_class_transformer10.Type)(() => CandidatesDto)
4958
+ ], InterviewInviteDto.prototype, "candidates", 2);
4959
+
4892
4960
  // src/adapters/tcp/user.tcp.adapter.ts
4893
4961
  var import_dotenv = require("dotenv");
4894
4962
  var import_microservices = require("@nestjs/microservices");
@@ -5773,6 +5841,7 @@ Commission = __decorateClass([
5773
5841
  COMPANY_MEMBERS_PATTERNS,
5774
5842
  COMPANY_ROLES_PATTERNS,
5775
5843
  COUNTRY_PATTERN,
5844
+ CandidateType,
5776
5845
  CaseStudyDto,
5777
5846
  CategoryEmum,
5778
5847
  CategoryEmumDto,
@@ -5845,8 +5914,10 @@ Commission = __decorateClass([
5845
5914
  FreelancerUploadResumeDto,
5846
5915
  FreelancerWorkShowcaseDto,
5847
5916
  FromUsOn,
5917
+ INTERVIEW_INVITE_PATTERN,
5848
5918
  Interview,
5849
5919
  InterviewInvite,
5920
+ InterviewInviteDto,
5850
5921
  InterviewInviteStatusEnum,
5851
5922
  InterviewQuestion,
5852
5923
  InterviewSkill,
package/dist/index.mjs CHANGED
@@ -2518,7 +2518,7 @@ __decorateClass([
2518
2518
  __decorateClass([
2519
2519
  Column16({
2520
2520
  name: "last_calculated_at",
2521
- type: "timestamp with local time zone",
2521
+ type: "timestamp with time zone",
2522
2522
  nullable: true
2523
2523
  })
2524
2524
  ], JobRecommendation.prototype, "lastCalculatedAt", 2);
@@ -5024,6 +5024,81 @@ var ADMIN_PERMISSION_PATTERN = {
5024
5024
  fetchAdminPermissions: "fetch.admin.permissions"
5025
5025
  };
5026
5026
 
5027
+ // src/modules/interview/pattern/pattern.ts
5028
+ var INTERVIEW_INVITE_PATTERN = {
5029
+ sendInterviewInvite: "send.interview.invite"
5030
+ };
5031
+
5032
+ // src/modules/interview/dto/interview-invite.dto.ts
5033
+ import {
5034
+ IsString as IsString37,
5035
+ IsNotEmpty as IsNotEmpty55,
5036
+ IsArray as IsArray13,
5037
+ ArrayNotEmpty as ArrayNotEmpty8,
5038
+ IsEmail as IsEmail15,
5039
+ IsUUID as IsUUID12,
5040
+ IsEnum as IsEnum22,
5041
+ ValidateIf as ValidateIf7,
5042
+ ValidateNested as ValidateNested5
5043
+ } from "class-validator";
5044
+ import { Type as Type10 } from "class-transformer";
5045
+ var CandidateType = /* @__PURE__ */ ((CandidateType2) => {
5046
+ CandidateType2["SHORTLISTED"] = "SHORTLISTED";
5047
+ CandidateType2["APPLICATNTS"] = "APPLICATNTS";
5048
+ CandidateType2["RECOMMENDED"] = "RECOMMENDED";
5049
+ CandidateType2["NEW"] = "NEW";
5050
+ return CandidateType2;
5051
+ })(CandidateType || {});
5052
+ var ExistingCandidateDto = class {
5053
+ };
5054
+ __decorateClass([
5055
+ IsUUID12()
5056
+ ], ExistingCandidateDto.prototype, "id", 2);
5057
+ __decorateClass([
5058
+ IsEnum22(CandidateType, {
5059
+ message: "type must be one of SHORTLISTED, APPLICATNTS, or RECOMMENDED"
5060
+ })
5061
+ ], ExistingCandidateDto.prototype, "type", 2);
5062
+ var NewCandidateDto = class {
5063
+ };
5064
+ __decorateClass([
5065
+ IsNotEmpty55({ message: "Please enter the candidate name" }),
5066
+ IsString37({ message: "Name must be a string" })
5067
+ ], NewCandidateDto.prototype, "name", 2);
5068
+ __decorateClass([
5069
+ IsEmail15({}, { message: "Please enter a valid email." })
5070
+ ], NewCandidateDto.prototype, "email", 2);
5071
+ __decorateClass([
5072
+ IsEnum22(CandidateType, {
5073
+ message: "type must be NEW"
5074
+ })
5075
+ ], NewCandidateDto.prototype, "type", 2);
5076
+ var CandidatesDto = class {
5077
+ };
5078
+ __decorateClass([
5079
+ ValidateIf7((o) => o.exixtingCandidates?.length > 0),
5080
+ IsArray13({ message: "Existing candidates should be an array." }),
5081
+ ArrayNotEmpty8({ message: "Please select at least one candidate." }),
5082
+ ValidateNested5({ each: true }),
5083
+ Type10(() => ExistingCandidateDto)
5084
+ ], CandidatesDto.prototype, "exixtingCandidates", 2);
5085
+ __decorateClass([
5086
+ ValidateIf7((o) => o.newCandidates?.length > 0),
5087
+ IsArray13({ message: "New candidates should be an array." }),
5088
+ ArrayNotEmpty8({ message: "Please add at least one candidate." }),
5089
+ ValidateNested5({ each: true }),
5090
+ Type10(() => NewCandidateDto)
5091
+ ], CandidatesDto.prototype, "newCandidates", 2);
5092
+ var InterviewInviteDto = class {
5093
+ };
5094
+ __decorateClass([
5095
+ IsUUID12()
5096
+ ], InterviewInviteDto.prototype, "jobId", 2);
5097
+ __decorateClass([
5098
+ ValidateNested5({ each: true }),
5099
+ Type10(() => CandidatesDto)
5100
+ ], InterviewInviteDto.prototype, "candidates", 2);
5101
+
5027
5102
  // src/adapters/tcp/user.tcp.adapter.ts
5028
5103
  import { config } from "dotenv";
5029
5104
  import { Transport } from "@nestjs/microservices";
@@ -5910,6 +5985,7 @@ export {
5910
5985
  COMPANY_MEMBERS_PATTERNS,
5911
5986
  COMPANY_ROLES_PATTERNS,
5912
5987
  COUNTRY_PATTERN,
5988
+ CandidateType,
5913
5989
  CaseStudyDto,
5914
5990
  CategoryEmum,
5915
5991
  CategoryEmumDto,
@@ -5982,8 +6058,10 @@ export {
5982
6058
  FreelancerUploadResumeDto,
5983
6059
  FreelancerWorkShowcaseDto,
5984
6060
  FromUsOn,
6061
+ INTERVIEW_INVITE_PATTERN,
5985
6062
  Interview,
5986
6063
  InterviewInvite,
6064
+ InterviewInviteDto,
5987
6065
  InterviewInviteStatusEnum,
5988
6066
  InterviewQuestion,
5989
6067
  InterviewSkill,
@@ -28,3 +28,4 @@ export * from './job-admin';
28
28
  export * from './lead';
29
29
  export * from './admin-role';
30
30
  export * from './admin-permission';
31
+ export * from './interview';
@@ -0,0 +1 @@
1
+ export * from './interview-invite.dto';
@@ -0,0 +1,24 @@
1
+ export declare enum CandidateType {
2
+ SHORTLISTED = "SHORTLISTED",
3
+ APPLICATNTS = "APPLICATNTS",
4
+ RECOMMENDED = "RECOMMENDED",
5
+ NEW = "NEW"
6
+ }
7
+ declare class ExistingCandidateDto {
8
+ id: string;
9
+ type: CandidateType;
10
+ }
11
+ declare class NewCandidateDto {
12
+ name: string;
13
+ email: string;
14
+ type: CandidateType;
15
+ }
16
+ declare class CandidatesDto {
17
+ exixtingCandidates?: ExistingCandidateDto[];
18
+ newCandidates?: NewCandidateDto[];
19
+ }
20
+ export declare class InterviewInviteDto {
21
+ jobId: string;
22
+ candidates: CandidatesDto;
23
+ }
24
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './pattern/pattern';
2
+ export * from './dto';
@@ -0,0 +1,3 @@
1
+ export declare const INTERVIEW_INVITE_PATTERN: {
2
+ sendInterviewInvite: string;
3
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.322",
3
+ "version": "1.0.324",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",