@experts_hub/shared 1.0.323 → 1.0.325

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.
@@ -19,6 +19,8 @@ export declare class Interview extends BaseEntity {
19
19
  jobId: number;
20
20
  job: Job;
21
21
  interviewType: string;
22
+ interviewLanguage: string;
23
+ allowProctoring: boolean;
22
24
  status: InterviewStatusEnum;
23
25
  interviewSkills: InterviewSkill[];
24
26
  interviewQuestions: InterviewQuestion[];
package/dist/index.d.mts CHANGED
@@ -883,6 +883,8 @@ declare class Interview extends BaseEntity {
883
883
  jobId: number;
884
884
  job: Job;
885
885
  interviewType: string;
886
+ interviewLanguage: string;
887
+ allowProctoring: boolean;
886
888
  status: InterviewStatusEnum;
887
889
  interviewSkills: InterviewSkill[];
888
890
  interviewQuestions: InterviewQuestion[];
@@ -2029,6 +2031,34 @@ declare const ADMIN_PERMISSION_PATTERN: {
2029
2031
  fetchAdminPermissions: string;
2030
2032
  };
2031
2033
 
2034
+ declare const INTERVIEW_INVITE_PATTERN: {
2035
+ sendInterviewInvite: string;
2036
+ };
2037
+
2038
+ declare enum CandidateType {
2039
+ SHORTLISTED = "SHORTLISTED",
2040
+ APPLICATNTS = "APPLICATNTS",
2041
+ RECOMMENDED = "RECOMMENDED",
2042
+ NEW = "NEW"
2043
+ }
2044
+ declare class ExistingCandidateDto {
2045
+ id: string;
2046
+ type: CandidateType;
2047
+ }
2048
+ declare class NewCandidateDto {
2049
+ name: string;
2050
+ email: string;
2051
+ type: CandidateType;
2052
+ }
2053
+ declare class CandidatesDto {
2054
+ exixtingCandidates?: ExistingCandidateDto[];
2055
+ newCandidates?: NewCandidateDto[];
2056
+ }
2057
+ declare class InterviewInviteDto {
2058
+ jobId: string;
2059
+ candidates: CandidatesDto;
2060
+ }
2061
+
2032
2062
  declare const UserTCPAdapter: () => MicroserviceOptions;
2033
2063
 
2034
2064
  declare const JobTCPAdapter: () => MicroserviceOptions;
@@ -2237,4 +2267,4 @@ declare class Commission extends BaseEntity {
2237
2267
  clientCommission: number;
2238
2268
  }
2239
2269
 
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 };
2270
+ 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
@@ -883,6 +883,8 @@ declare class Interview extends BaseEntity {
883
883
  jobId: number;
884
884
  job: Job;
885
885
  interviewType: string;
886
+ interviewLanguage: string;
887
+ allowProctoring: boolean;
886
888
  status: InterviewStatusEnum;
887
889
  interviewSkills: InterviewSkill[];
888
890
  interviewQuestions: InterviewQuestion[];
@@ -2029,6 +2031,34 @@ declare const ADMIN_PERMISSION_PATTERN: {
2029
2031
  fetchAdminPermissions: string;
2030
2032
  };
2031
2033
 
2034
+ declare const INTERVIEW_INVITE_PATTERN: {
2035
+ sendInterviewInvite: string;
2036
+ };
2037
+
2038
+ declare enum CandidateType {
2039
+ SHORTLISTED = "SHORTLISTED",
2040
+ APPLICATNTS = "APPLICATNTS",
2041
+ RECOMMENDED = "RECOMMENDED",
2042
+ NEW = "NEW"
2043
+ }
2044
+ declare class ExistingCandidateDto {
2045
+ id: string;
2046
+ type: CandidateType;
2047
+ }
2048
+ declare class NewCandidateDto {
2049
+ name: string;
2050
+ email: string;
2051
+ type: CandidateType;
2052
+ }
2053
+ declare class CandidatesDto {
2054
+ exixtingCandidates?: ExistingCandidateDto[];
2055
+ newCandidates?: NewCandidateDto[];
2056
+ }
2057
+ declare class InterviewInviteDto {
2058
+ jobId: string;
2059
+ candidates: CandidatesDto;
2060
+ }
2061
+
2032
2062
  declare const UserTCPAdapter: () => MicroserviceOptions;
2033
2063
 
2034
2064
  declare const JobTCPAdapter: () => MicroserviceOptions;
@@ -2237,4 +2267,4 @@ declare class Commission extends BaseEntity {
2237
2267
  clientCommission: number;
2238
2268
  }
2239
2269
 
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 };
2270
+ 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,
@@ -2503,6 +2506,12 @@ __decorateClass([
2503
2506
  __decorateClass([
2504
2507
  (0, import_typeorm15.Column)({ name: "interview_type", type: "varchar", nullable: true })
2505
2508
  ], Interview.prototype, "interviewType", 2);
2509
+ __decorateClass([
2510
+ (0, import_typeorm15.Column)({ name: "interview_language", type: "varchar", nullable: true })
2511
+ ], Interview.prototype, "interviewLanguage", 2);
2512
+ __decorateClass([
2513
+ (0, import_typeorm15.Column)({ name: "allow_proctoring", type: "boolean", default: false })
2514
+ ], Interview.prototype, "allowProctoring", 2);
2506
2515
  __decorateClass([
2507
2516
  (0, import_typeorm15.Column)({
2508
2517
  name: "status",
@@ -4889,6 +4898,71 @@ var ADMIN_PERMISSION_PATTERN = {
4889
4898
  fetchAdminPermissions: "fetch.admin.permissions"
4890
4899
  };
4891
4900
 
4901
+ // src/modules/interview/pattern/pattern.ts
4902
+ var INTERVIEW_INVITE_PATTERN = {
4903
+ sendInterviewInvite: "send.interview.invite"
4904
+ };
4905
+
4906
+ // src/modules/interview/dto/interview-invite.dto.ts
4907
+ var import_class_validator65 = require("class-validator");
4908
+ var import_class_transformer10 = require("class-transformer");
4909
+ var CandidateType = /* @__PURE__ */ ((CandidateType2) => {
4910
+ CandidateType2["SHORTLISTED"] = "SHORTLISTED";
4911
+ CandidateType2["APPLICATNTS"] = "APPLICATNTS";
4912
+ CandidateType2["RECOMMENDED"] = "RECOMMENDED";
4913
+ CandidateType2["NEW"] = "NEW";
4914
+ return CandidateType2;
4915
+ })(CandidateType || {});
4916
+ var ExistingCandidateDto = class {
4917
+ };
4918
+ __decorateClass([
4919
+ (0, import_class_validator65.IsUUID)()
4920
+ ], ExistingCandidateDto.prototype, "id", 2);
4921
+ __decorateClass([
4922
+ (0, import_class_validator65.IsEnum)(CandidateType, {
4923
+ message: "type must be one of SHORTLISTED, APPLICATNTS, or RECOMMENDED"
4924
+ })
4925
+ ], ExistingCandidateDto.prototype, "type", 2);
4926
+ var NewCandidateDto = class {
4927
+ };
4928
+ __decorateClass([
4929
+ (0, import_class_validator65.IsNotEmpty)({ message: "Please enter the candidate name" }),
4930
+ (0, import_class_validator65.IsString)({ message: "Name must be a string" })
4931
+ ], NewCandidateDto.prototype, "name", 2);
4932
+ __decorateClass([
4933
+ (0, import_class_validator65.IsEmail)({}, { message: "Please enter a valid email." })
4934
+ ], NewCandidateDto.prototype, "email", 2);
4935
+ __decorateClass([
4936
+ (0, import_class_validator65.IsEnum)(CandidateType, {
4937
+ message: "type must be NEW"
4938
+ })
4939
+ ], NewCandidateDto.prototype, "type", 2);
4940
+ var CandidatesDto = class {
4941
+ };
4942
+ __decorateClass([
4943
+ (0, import_class_validator65.ValidateIf)((o) => o.exixtingCandidates?.length > 0),
4944
+ (0, import_class_validator65.IsArray)({ message: "Existing candidates should be an array." }),
4945
+ (0, import_class_validator65.ArrayNotEmpty)({ message: "Please select at least one candidate." }),
4946
+ (0, import_class_validator65.ValidateNested)({ each: true }),
4947
+ (0, import_class_transformer10.Type)(() => ExistingCandidateDto)
4948
+ ], CandidatesDto.prototype, "exixtingCandidates", 2);
4949
+ __decorateClass([
4950
+ (0, import_class_validator65.ValidateIf)((o) => o.newCandidates?.length > 0),
4951
+ (0, import_class_validator65.IsArray)({ message: "New candidates should be an array." }),
4952
+ (0, import_class_validator65.ArrayNotEmpty)({ message: "Please add at least one candidate." }),
4953
+ (0, import_class_validator65.ValidateNested)({ each: true }),
4954
+ (0, import_class_transformer10.Type)(() => NewCandidateDto)
4955
+ ], CandidatesDto.prototype, "newCandidates", 2);
4956
+ var InterviewInviteDto = class {
4957
+ };
4958
+ __decorateClass([
4959
+ (0, import_class_validator65.IsUUID)()
4960
+ ], InterviewInviteDto.prototype, "jobId", 2);
4961
+ __decorateClass([
4962
+ (0, import_class_validator65.ValidateNested)({ each: true }),
4963
+ (0, import_class_transformer10.Type)(() => CandidatesDto)
4964
+ ], InterviewInviteDto.prototype, "candidates", 2);
4965
+
4892
4966
  // src/adapters/tcp/user.tcp.adapter.ts
4893
4967
  var import_dotenv = require("dotenv");
4894
4968
  var import_microservices = require("@nestjs/microservices");
@@ -5773,6 +5847,7 @@ Commission = __decorateClass([
5773
5847
  COMPANY_MEMBERS_PATTERNS,
5774
5848
  COMPANY_ROLES_PATTERNS,
5775
5849
  COUNTRY_PATTERN,
5850
+ CandidateType,
5776
5851
  CaseStudyDto,
5777
5852
  CategoryEmum,
5778
5853
  CategoryEmumDto,
@@ -5845,8 +5920,10 @@ Commission = __decorateClass([
5845
5920
  FreelancerUploadResumeDto,
5846
5921
  FreelancerWorkShowcaseDto,
5847
5922
  FromUsOn,
5923
+ INTERVIEW_INVITE_PATTERN,
5848
5924
  Interview,
5849
5925
  InterviewInvite,
5926
+ InterviewInviteDto,
5850
5927
  InterviewInviteStatusEnum,
5851
5928
  InterviewQuestion,
5852
5929
  InterviewSkill,
package/dist/index.mjs CHANGED
@@ -2457,6 +2457,12 @@ __decorateClass([
2457
2457
  __decorateClass([
2458
2458
  Column15({ name: "interview_type", type: "varchar", nullable: true })
2459
2459
  ], Interview.prototype, "interviewType", 2);
2460
+ __decorateClass([
2461
+ Column15({ name: "interview_language", type: "varchar", nullable: true })
2462
+ ], Interview.prototype, "interviewLanguage", 2);
2463
+ __decorateClass([
2464
+ Column15({ name: "allow_proctoring", type: "boolean", default: false })
2465
+ ], Interview.prototype, "allowProctoring", 2);
2460
2466
  __decorateClass([
2461
2467
  Column15({
2462
2468
  name: "status",
@@ -5024,6 +5030,81 @@ var ADMIN_PERMISSION_PATTERN = {
5024
5030
  fetchAdminPermissions: "fetch.admin.permissions"
5025
5031
  };
5026
5032
 
5033
+ // src/modules/interview/pattern/pattern.ts
5034
+ var INTERVIEW_INVITE_PATTERN = {
5035
+ sendInterviewInvite: "send.interview.invite"
5036
+ };
5037
+
5038
+ // src/modules/interview/dto/interview-invite.dto.ts
5039
+ import {
5040
+ IsString as IsString37,
5041
+ IsNotEmpty as IsNotEmpty55,
5042
+ IsArray as IsArray13,
5043
+ ArrayNotEmpty as ArrayNotEmpty8,
5044
+ IsEmail as IsEmail15,
5045
+ IsUUID as IsUUID12,
5046
+ IsEnum as IsEnum22,
5047
+ ValidateIf as ValidateIf7,
5048
+ ValidateNested as ValidateNested5
5049
+ } from "class-validator";
5050
+ import { Type as Type10 } from "class-transformer";
5051
+ var CandidateType = /* @__PURE__ */ ((CandidateType2) => {
5052
+ CandidateType2["SHORTLISTED"] = "SHORTLISTED";
5053
+ CandidateType2["APPLICATNTS"] = "APPLICATNTS";
5054
+ CandidateType2["RECOMMENDED"] = "RECOMMENDED";
5055
+ CandidateType2["NEW"] = "NEW";
5056
+ return CandidateType2;
5057
+ })(CandidateType || {});
5058
+ var ExistingCandidateDto = class {
5059
+ };
5060
+ __decorateClass([
5061
+ IsUUID12()
5062
+ ], ExistingCandidateDto.prototype, "id", 2);
5063
+ __decorateClass([
5064
+ IsEnum22(CandidateType, {
5065
+ message: "type must be one of SHORTLISTED, APPLICATNTS, or RECOMMENDED"
5066
+ })
5067
+ ], ExistingCandidateDto.prototype, "type", 2);
5068
+ var NewCandidateDto = class {
5069
+ };
5070
+ __decorateClass([
5071
+ IsNotEmpty55({ message: "Please enter the candidate name" }),
5072
+ IsString37({ message: "Name must be a string" })
5073
+ ], NewCandidateDto.prototype, "name", 2);
5074
+ __decorateClass([
5075
+ IsEmail15({}, { message: "Please enter a valid email." })
5076
+ ], NewCandidateDto.prototype, "email", 2);
5077
+ __decorateClass([
5078
+ IsEnum22(CandidateType, {
5079
+ message: "type must be NEW"
5080
+ })
5081
+ ], NewCandidateDto.prototype, "type", 2);
5082
+ var CandidatesDto = class {
5083
+ };
5084
+ __decorateClass([
5085
+ ValidateIf7((o) => o.exixtingCandidates?.length > 0),
5086
+ IsArray13({ message: "Existing candidates should be an array." }),
5087
+ ArrayNotEmpty8({ message: "Please select at least one candidate." }),
5088
+ ValidateNested5({ each: true }),
5089
+ Type10(() => ExistingCandidateDto)
5090
+ ], CandidatesDto.prototype, "exixtingCandidates", 2);
5091
+ __decorateClass([
5092
+ ValidateIf7((o) => o.newCandidates?.length > 0),
5093
+ IsArray13({ message: "New candidates should be an array." }),
5094
+ ArrayNotEmpty8({ message: "Please add at least one candidate." }),
5095
+ ValidateNested5({ each: true }),
5096
+ Type10(() => NewCandidateDto)
5097
+ ], CandidatesDto.prototype, "newCandidates", 2);
5098
+ var InterviewInviteDto = class {
5099
+ };
5100
+ __decorateClass([
5101
+ IsUUID12()
5102
+ ], InterviewInviteDto.prototype, "jobId", 2);
5103
+ __decorateClass([
5104
+ ValidateNested5({ each: true }),
5105
+ Type10(() => CandidatesDto)
5106
+ ], InterviewInviteDto.prototype, "candidates", 2);
5107
+
5027
5108
  // src/adapters/tcp/user.tcp.adapter.ts
5028
5109
  import { config } from "dotenv";
5029
5110
  import { Transport } from "@nestjs/microservices";
@@ -5910,6 +5991,7 @@ export {
5910
5991
  COMPANY_MEMBERS_PATTERNS,
5911
5992
  COMPANY_ROLES_PATTERNS,
5912
5993
  COUNTRY_PATTERN,
5994
+ CandidateType,
5913
5995
  CaseStudyDto,
5914
5996
  CategoryEmum,
5915
5997
  CategoryEmumDto,
@@ -5982,8 +6064,10 @@ export {
5982
6064
  FreelancerUploadResumeDto,
5983
6065
  FreelancerWorkShowcaseDto,
5984
6066
  FromUsOn,
6067
+ INTERVIEW_INVITE_PATTERN,
5985
6068
  Interview,
5986
6069
  InterviewInvite,
6070
+ InterviewInviteDto,
5987
6071
  InterviewInviteStatusEnum,
5988
6072
  InterviewQuestion,
5989
6073
  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.323",
3
+ "version": "1.0.325",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",