@experts_hub/shared 1.0.211 → 1.0.213

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
@@ -400,13 +400,6 @@ declare const JOB_PATTERN: {
400
400
  updateJobStatus: string;
401
401
  searchJobsByRoleAndSkills: string;
402
402
  };
403
- declare const JOB_ADMIN_PATTERN: {
404
- adminFetchJobList: string;
405
- adminFetchJobById: string;
406
- adminCreateJob: string;
407
- adminUpdateJob: string;
408
- adminDeleteJob: string;
409
- };
410
403
 
411
404
  declare enum JobLocation {
412
405
  ONSITE = "ONSITE",
@@ -1741,6 +1734,74 @@ declare const CITY_PATTERN: {
1741
1734
  fetchCityDropdown: string;
1742
1735
  };
1743
1736
 
1737
+ declare const JOB_ADMIN_PATTERN: {
1738
+ adminFetchJobs: string;
1739
+ adminFetchJobById: string;
1740
+ adminCreateJob: string;
1741
+ adminUpdateJob: string;
1742
+ adminDeleteJob: string;
1743
+ };
1744
+
1745
+ declare enum JobLocationEnumDto {
1746
+ ONSITE = "ONSITE",
1747
+ REMOTE = "REMOTE",
1748
+ BOTH = "BOTH"
1749
+ }
1750
+ declare enum TypeOfEmploymentEnumDto {
1751
+ FULLTIME = "FULLTIME",
1752
+ PARTTIME = "PARTTIME",
1753
+ BOTH = "BOTH"
1754
+ }
1755
+ declare class AdminCreateJobInformationDto {
1756
+ jobRole: string;
1757
+ note?: string;
1758
+ skills: number[];
1759
+ openings: number;
1760
+ location: JobLocationEnumDto;
1761
+ typeOfEmployment: TypeOfEmploymentEnumDto;
1762
+ onboardingTat: string;
1763
+ candidateCommunicationSkills: string;
1764
+ currency: string;
1765
+ expectedSalaryFrom: number;
1766
+ expectedSalaryTo: number;
1767
+ tentativeStartDate: string;
1768
+ tentativeEndDate: string;
1769
+ additionalComment?: string;
1770
+ countryId: number;
1771
+ stateId: number;
1772
+ cityId: number;
1773
+ }
1774
+
1775
+ declare enum JobLocationEnums {
1776
+ ONSITE = "ONSITE",
1777
+ REMOTE = "REMOTE",
1778
+ BOTH = "BOTH"
1779
+ }
1780
+ declare enum TypeOfEmploymentEnums {
1781
+ FULLTIME = "FULLTIME",
1782
+ PARTTIME = "PARTTIME",
1783
+ BOTH = "BOTH"
1784
+ }
1785
+ declare class AdminUpdateJobInformationDto {
1786
+ jobRole: string;
1787
+ note?: string;
1788
+ skills: number[];
1789
+ openings: number;
1790
+ location: JobLocationEnums;
1791
+ typeOfEmployment: TypeOfEmploymentEnums;
1792
+ onboardingTat: string;
1793
+ candidateCommunicationSkills: string;
1794
+ currency: string;
1795
+ expectedSalaryFrom: number;
1796
+ expectedSalaryTo: number;
1797
+ tentativeStartDate: string;
1798
+ tentativeEndDate: string;
1799
+ additionalComment?: string;
1800
+ countryId: number;
1801
+ stateId: number;
1802
+ cityId: number;
1803
+ }
1804
+
1744
1805
  declare const UserTCPAdapter: () => MicroserviceOptions;
1745
1806
 
1746
1807
  declare const JobTCPAdapter: () => MicroserviceOptions;
@@ -1798,4 +1859,4 @@ declare class Cms extends BaseEntity {
1798
1859
  isActive: boolean;
1799
1860
  }
1800
1861
 
1801
- export { ADMIN_FREELANCER_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, COUNTRY_PATTERN, CaseStudyDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, Country, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateFreelancerDto, 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, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type 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, InterviewSkill, InterviewStatusEnum, JOB_ADMIN_PATTERN, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
1862
+ export { ADMIN_FREELANCER_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminUpdateJobInformationDto, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, COUNTRY_PATTERN, CaseStudyDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, Country, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateFreelancerDto, 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, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type 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, InterviewSkill, InterviewStatusEnum, JOB_ADMIN_PATTERN, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
package/dist/index.d.ts CHANGED
@@ -400,13 +400,6 @@ declare const JOB_PATTERN: {
400
400
  updateJobStatus: string;
401
401
  searchJobsByRoleAndSkills: string;
402
402
  };
403
- declare const JOB_ADMIN_PATTERN: {
404
- adminFetchJobList: string;
405
- adminFetchJobById: string;
406
- adminCreateJob: string;
407
- adminUpdateJob: string;
408
- adminDeleteJob: string;
409
- };
410
403
 
411
404
  declare enum JobLocation {
412
405
  ONSITE = "ONSITE",
@@ -1741,6 +1734,74 @@ declare const CITY_PATTERN: {
1741
1734
  fetchCityDropdown: string;
1742
1735
  };
1743
1736
 
1737
+ declare const JOB_ADMIN_PATTERN: {
1738
+ adminFetchJobs: string;
1739
+ adminFetchJobById: string;
1740
+ adminCreateJob: string;
1741
+ adminUpdateJob: string;
1742
+ adminDeleteJob: string;
1743
+ };
1744
+
1745
+ declare enum JobLocationEnumDto {
1746
+ ONSITE = "ONSITE",
1747
+ REMOTE = "REMOTE",
1748
+ BOTH = "BOTH"
1749
+ }
1750
+ declare enum TypeOfEmploymentEnumDto {
1751
+ FULLTIME = "FULLTIME",
1752
+ PARTTIME = "PARTTIME",
1753
+ BOTH = "BOTH"
1754
+ }
1755
+ declare class AdminCreateJobInformationDto {
1756
+ jobRole: string;
1757
+ note?: string;
1758
+ skills: number[];
1759
+ openings: number;
1760
+ location: JobLocationEnumDto;
1761
+ typeOfEmployment: TypeOfEmploymentEnumDto;
1762
+ onboardingTat: string;
1763
+ candidateCommunicationSkills: string;
1764
+ currency: string;
1765
+ expectedSalaryFrom: number;
1766
+ expectedSalaryTo: number;
1767
+ tentativeStartDate: string;
1768
+ tentativeEndDate: string;
1769
+ additionalComment?: string;
1770
+ countryId: number;
1771
+ stateId: number;
1772
+ cityId: number;
1773
+ }
1774
+
1775
+ declare enum JobLocationEnums {
1776
+ ONSITE = "ONSITE",
1777
+ REMOTE = "REMOTE",
1778
+ BOTH = "BOTH"
1779
+ }
1780
+ declare enum TypeOfEmploymentEnums {
1781
+ FULLTIME = "FULLTIME",
1782
+ PARTTIME = "PARTTIME",
1783
+ BOTH = "BOTH"
1784
+ }
1785
+ declare class AdminUpdateJobInformationDto {
1786
+ jobRole: string;
1787
+ note?: string;
1788
+ skills: number[];
1789
+ openings: number;
1790
+ location: JobLocationEnums;
1791
+ typeOfEmployment: TypeOfEmploymentEnums;
1792
+ onboardingTat: string;
1793
+ candidateCommunicationSkills: string;
1794
+ currency: string;
1795
+ expectedSalaryFrom: number;
1796
+ expectedSalaryTo: number;
1797
+ tentativeStartDate: string;
1798
+ tentativeEndDate: string;
1799
+ additionalComment?: string;
1800
+ countryId: number;
1801
+ stateId: number;
1802
+ cityId: number;
1803
+ }
1804
+
1744
1805
  declare const UserTCPAdapter: () => MicroserviceOptions;
1745
1806
 
1746
1807
  declare const JobTCPAdapter: () => MicroserviceOptions;
@@ -1798,4 +1859,4 @@ declare class Cms extends BaseEntity {
1798
1859
  isActive: boolean;
1799
1860
  }
1800
1861
 
1801
- export { ADMIN_FREELANCER_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, COUNTRY_PATTERN, CaseStudyDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, Country, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateFreelancerDto, 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, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type 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, InterviewSkill, InterviewStatusEnum, JOB_ADMIN_PATTERN, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
1862
+ export { ADMIN_FREELANCER_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminUpdateJobInformationDto, AnswerTypeEnum, ApplicationStatusEnum, AssessmentAnswer, AssessmentStatusEnum, AssessmetQuestion, AssessmetQuestionOption, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CITY_PATTERN, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, COUNTRY_PATTERN, CaseStudyDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, Country, CreateClientDto, CreateClientHiringModeEnum, CreateClientHiringTypeEnum, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateFreelancerDto, 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, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToClientResponse, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type 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, InterviewSkill, InterviewStatusEnum, JOB_ADMIN_PATTERN, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, ONBOARDING_QUESTION_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, Question, QuestionFor, QuestionForEnum, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, State, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, TypeOfEmploymentEnumDto, TypeOfEmploymentEnums, UpdateClientAccountStatusDto, UpdateClientDto, UpdateClientHiringModeEnum, UpdateClientHiringTypeEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
package/dist/index.js CHANGED
@@ -32,6 +32,8 @@ __export(index_exports, {
32
32
  AUTHENTICATION_PATTERN: () => AUTHENTICATION_PATTERN,
33
33
  AccountStatus: () => AccountStatus,
34
34
  AccountType: () => AccountType,
35
+ AdminCreateJobInformationDto: () => AdminCreateJobInformationDto,
36
+ AdminUpdateJobInformationDto: () => AdminUpdateJobInformationDto,
35
37
  AnswerTypeEnum: () => AnswerTypeEnum,
36
38
  ApplicationStatusEnum: () => ApplicationStatusEnum,
37
39
  AssessmentAnswer: () => AssessmentAnswer,
@@ -126,6 +128,8 @@ __export(index_exports, {
126
128
  JobIdParamDto: () => JobIdParamDto,
127
129
  JobLocation: () => JobLocation,
128
130
  JobLocationEnum: () => JobLocationEnum,
131
+ JobLocationEnumDto: () => JobLocationEnumDto,
132
+ JobLocationEnums: () => JobLocationEnums,
129
133
  JobRMQAdapter: () => JobRMQAdapter,
130
134
  JobRoles: () => JobRoles,
131
135
  JobSkill: () => JobSkill,
@@ -183,6 +187,8 @@ __export(index_exports, {
183
187
  ToggleCompanyMemberVisibilityDto: () => ToggleCompanyMemberVisibilityDto,
184
188
  ToggleCompanyRoleVisibilityDto: () => ToggleCompanyRoleVisibilityDto,
185
189
  TypeOfEmploymentEnum: () => TypeOfEmploymentEnum,
190
+ TypeOfEmploymentEnumDto: () => TypeOfEmploymentEnumDto,
191
+ TypeOfEmploymentEnums: () => TypeOfEmploymentEnums,
186
192
  UpdateClientAccountStatusDto: () => UpdateClientAccountStatusDto,
187
193
  UpdateClientDto: () => UpdateClientDto,
188
194
  UpdateClientHiringModeEnum: () => UpdateClientHiringModeEnum,
@@ -829,13 +835,6 @@ var JOB_PATTERN = {
829
835
  updateJobStatus: "update.job.status",
830
836
  searchJobsByRoleAndSkills: "search.jobs.by.role.and.skills"
831
837
  };
832
- var JOB_ADMIN_PATTERN = {
833
- adminFetchJobList: "admin.fetch.job.list",
834
- adminFetchJobById: "admin.fetch.job.by.id",
835
- adminCreateJob: "admin.create.job",
836
- adminUpdateJob: "admin.update.job",
837
- adminDeleteJob: "admin.delete.job"
838
- };
839
838
 
840
839
  // src/modules/job/dto/job-basic-information.dto.ts
841
840
  var import_class_validator26 = require("class-validator");
@@ -3580,8 +3579,7 @@ __decorateClass([
3580
3579
  ], UpdateFreelancerDto.prototype, "isImmediateJoiner", 2);
3581
3580
  __decorateClass([
3582
3581
  (0, import_class_validator47.ValidateIf)((o) => o.isImmediateJoiner === false),
3583
- (0, import_class_validator47.IsNotEmpty)({ message: "Please enter availability to join." }),
3584
- (0, import_class_validator47.IsOptional)()
3582
+ (0, import_class_validator47.IsNotEmpty)({ message: "Please enter availability to join." })
3585
3583
  ], UpdateFreelancerDto.prototype, "availabilityToJoin", 2);
3586
3584
  __decorateClass([
3587
3585
  (0, import_class_validator47.IsOptional)(),
@@ -3851,6 +3849,185 @@ var CITY_PATTERN = {
3851
3849
  fetchCityDropdown: "fetch.city.dropdown"
3852
3850
  };
3853
3851
 
3852
+ // src/modules/job-admin/pattern/pattern.ts
3853
+ var JOB_ADMIN_PATTERN = {
3854
+ adminFetchJobs: "admin.fetch.jobs",
3855
+ adminFetchJobById: "admin.fetch.job.by.id",
3856
+ adminCreateJob: "admin.create.job",
3857
+ adminUpdateJob: "admin.update.job",
3858
+ adminDeleteJob: "admin.delete.job"
3859
+ };
3860
+
3861
+ // src/modules/job-admin/dto/admin-create-job-information.dto.ts
3862
+ var import_types = require("class-transformer/types");
3863
+ var import_class_validator54 = require("class-validator");
3864
+ var JobLocationEnumDto = /* @__PURE__ */ ((JobLocationEnumDto2) => {
3865
+ JobLocationEnumDto2["ONSITE"] = "ONSITE";
3866
+ JobLocationEnumDto2["REMOTE"] = "REMOTE";
3867
+ JobLocationEnumDto2["BOTH"] = "BOTH";
3868
+ return JobLocationEnumDto2;
3869
+ })(JobLocationEnumDto || {});
3870
+ var TypeOfEmploymentEnumDto = /* @__PURE__ */ ((TypeOfEmploymentEnumDto2) => {
3871
+ TypeOfEmploymentEnumDto2["FULLTIME"] = "FULLTIME";
3872
+ TypeOfEmploymentEnumDto2["PARTTIME"] = "PARTTIME";
3873
+ TypeOfEmploymentEnumDto2["BOTH"] = "BOTH";
3874
+ return TypeOfEmploymentEnumDto2;
3875
+ })(TypeOfEmploymentEnumDto || {});
3876
+ var AdminCreateJobInformationDto = class {
3877
+ };
3878
+ __decorateClass([
3879
+ (0, import_class_validator54.IsString)({ message: "Job role must be a string." }),
3880
+ (0, import_class_validator54.IsNotEmpty)({ message: "Job role is required." })
3881
+ ], AdminCreateJobInformationDto.prototype, "jobRole", 2);
3882
+ __decorateClass([
3883
+ (0, import_class_validator54.IsOptional)(),
3884
+ (0, import_class_validator54.IsString)({ message: "Note must be a string." })
3885
+ ], AdminCreateJobInformationDto.prototype, "note", 2);
3886
+ __decorateClass([
3887
+ (0, import_class_validator54.IsArray)({ message: "Skills must be an array of numeric IDs." }),
3888
+ (0, import_class_validator54.ArrayNotEmpty)({ message: "At least one skill must be selected." }),
3889
+ (0, import_types.Type)(() => Number),
3890
+ (0, import_class_validator54.IsInt)({ each: true, message: "Each skill ID must be a valid integer." })
3891
+ ], AdminCreateJobInformationDto.prototype, "skills", 2);
3892
+ __decorateClass([
3893
+ (0, import_class_validator54.IsInt)({ message: "Openings must be a valid integer." }),
3894
+ (0, import_class_validator54.Min)(1, { message: "There must be at least one opening." })
3895
+ ], AdminCreateJobInformationDto.prototype, "openings", 2);
3896
+ __decorateClass([
3897
+ (0, import_class_validator54.IsEnum)(JobLocationEnumDto, {
3898
+ message: `Location must be one of: ${Object.values(JobLocationEnumDto).join(", ")}.`
3899
+ })
3900
+ ], AdminCreateJobInformationDto.prototype, "location", 2);
3901
+ __decorateClass([
3902
+ (0, import_class_validator54.IsEnum)(TypeOfEmploymentEnumDto, {
3903
+ message: `Type of employment must be one of: ${Object.values(TypeOfEmploymentEnumDto).join(", ")}.`
3904
+ })
3905
+ ], AdminCreateJobInformationDto.prototype, "typeOfEmployment", 2);
3906
+ __decorateClass([
3907
+ (0, import_class_validator54.IsString)({ message: "Onboarding Days must be a string." }),
3908
+ (0, import_class_validator54.IsNotEmpty)({ message: "Onboarding Days is required." })
3909
+ ], AdminCreateJobInformationDto.prototype, "onboardingTat", 2);
3910
+ __decorateClass([
3911
+ (0, import_class_validator54.IsString)({ message: "Communication skills must be a string." }),
3912
+ (0, import_class_validator54.IsNotEmpty)({ message: "Communication skills are required." })
3913
+ ], AdminCreateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
3914
+ __decorateClass([
3915
+ (0, import_class_validator54.IsString)({ message: "Currency must be a string." }),
3916
+ (0, import_class_validator54.IsNotEmpty)({ message: "Currency is required." })
3917
+ ], AdminCreateJobInformationDto.prototype, "currency", 2);
3918
+ __decorateClass([
3919
+ (0, import_types.Type)(() => Number),
3920
+ (0, import_class_validator54.IsNumber)({}, { message: "Expected salary from must be a number." })
3921
+ ], AdminCreateJobInformationDto.prototype, "expectedSalaryFrom", 2);
3922
+ __decorateClass([
3923
+ (0, import_types.Type)(() => Number),
3924
+ (0, import_class_validator54.IsNumber)({}, { message: "Expected salary to must be a number." })
3925
+ ], AdminCreateJobInformationDto.prototype, "expectedSalaryTo", 2);
3926
+ __decorateClass([
3927
+ (0, import_class_validator54.IsDateString)({ strict: true }, { message: "Start date must be in YYYY-MM-DD format." })
3928
+ ], AdminCreateJobInformationDto.prototype, "tentativeStartDate", 2);
3929
+ __decorateClass([
3930
+ (0, import_class_validator54.IsDateString)({ strict: true }, { message: "End date must be in YYYY-MM-DD format." })
3931
+ ], AdminCreateJobInformationDto.prototype, "tentativeEndDate", 2);
3932
+ __decorateClass([
3933
+ (0, import_class_validator54.IsOptional)(),
3934
+ (0, import_class_validator54.IsString)({ message: "Additional comment must be a string." })
3935
+ ], AdminCreateJobInformationDto.prototype, "additionalComment", 2);
3936
+ __decorateClass([
3937
+ (0, import_class_validator54.IsInt)({ message: "Country ID must be a valid integer." })
3938
+ ], AdminCreateJobInformationDto.prototype, "countryId", 2);
3939
+ __decorateClass([
3940
+ (0, import_class_validator54.IsInt)({ message: "State ID must be a valid integer." })
3941
+ ], AdminCreateJobInformationDto.prototype, "stateId", 2);
3942
+ __decorateClass([
3943
+ (0, import_class_validator54.IsInt)({ message: "City ID must be a valid integer." })
3944
+ ], AdminCreateJobInformationDto.prototype, "cityId", 2);
3945
+
3946
+ // src/modules/job-admin/dto/admin-update-job-information.dto.ts
3947
+ var import_types2 = require("class-transformer/types");
3948
+ var import_class_validator55 = require("class-validator");
3949
+ var JobLocationEnums = /* @__PURE__ */ ((JobLocationEnums2) => {
3950
+ JobLocationEnums2["ONSITE"] = "ONSITE";
3951
+ JobLocationEnums2["REMOTE"] = "REMOTE";
3952
+ JobLocationEnums2["BOTH"] = "BOTH";
3953
+ return JobLocationEnums2;
3954
+ })(JobLocationEnums || {});
3955
+ var TypeOfEmploymentEnums = /* @__PURE__ */ ((TypeOfEmploymentEnums2) => {
3956
+ TypeOfEmploymentEnums2["FULLTIME"] = "FULLTIME";
3957
+ TypeOfEmploymentEnums2["PARTTIME"] = "PARTTIME";
3958
+ TypeOfEmploymentEnums2["BOTH"] = "BOTH";
3959
+ return TypeOfEmploymentEnums2;
3960
+ })(TypeOfEmploymentEnums || {});
3961
+ var AdminUpdateJobInformationDto = class {
3962
+ };
3963
+ __decorateClass([
3964
+ (0, import_class_validator55.IsString)({ message: "Job role must be a string." }),
3965
+ (0, import_class_validator55.IsNotEmpty)({ message: "Job role is required." })
3966
+ ], AdminUpdateJobInformationDto.prototype, "jobRole", 2);
3967
+ __decorateClass([
3968
+ (0, import_class_validator55.IsOptional)(),
3969
+ (0, import_class_validator55.IsString)({ message: "Note must be a string." })
3970
+ ], AdminUpdateJobInformationDto.prototype, "note", 2);
3971
+ __decorateClass([
3972
+ (0, import_class_validator55.IsArray)({ message: "Skills must be an array of numeric IDs." }),
3973
+ (0, import_class_validator55.ArrayNotEmpty)({ message: "At least one skill must be selected." }),
3974
+ (0, import_types2.Type)(() => Number),
3975
+ (0, import_class_validator55.IsInt)({ each: true, message: "Each skill ID must be a valid integer." })
3976
+ ], AdminUpdateJobInformationDto.prototype, "skills", 2);
3977
+ __decorateClass([
3978
+ (0, import_class_validator55.IsInt)({ message: "Openings must be a valid integer." }),
3979
+ (0, import_class_validator55.Min)(1, { message: "There must be at least one opening." })
3980
+ ], AdminUpdateJobInformationDto.prototype, "openings", 2);
3981
+ __decorateClass([
3982
+ (0, import_class_validator55.IsEnum)(JobLocationEnums, {
3983
+ message: `Location must be one of: ${Object.values(JobLocationEnums).join(", ")}.`
3984
+ })
3985
+ ], AdminUpdateJobInformationDto.prototype, "location", 2);
3986
+ __decorateClass([
3987
+ (0, import_class_validator55.IsEnum)(TypeOfEmploymentEnums, {
3988
+ message: `Type of employment must be one of: ${Object.values(TypeOfEmploymentEnums).join(", ")}.`
3989
+ })
3990
+ ], AdminUpdateJobInformationDto.prototype, "typeOfEmployment", 2);
3991
+ __decorateClass([
3992
+ (0, import_class_validator55.IsString)({ message: "Onboarding Days must be a string." }),
3993
+ (0, import_class_validator55.IsNotEmpty)({ message: "Onboarding Days is required." })
3994
+ ], AdminUpdateJobInformationDto.prototype, "onboardingTat", 2);
3995
+ __decorateClass([
3996
+ (0, import_class_validator55.IsString)({ message: "Communication skills must be a string." }),
3997
+ (0, import_class_validator55.IsNotEmpty)({ message: "Communication skills are required." })
3998
+ ], AdminUpdateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
3999
+ __decorateClass([
4000
+ (0, import_class_validator55.IsString)({ message: "Currency must be a string." }),
4001
+ (0, import_class_validator55.IsNotEmpty)({ message: "Currency is required." })
4002
+ ], AdminUpdateJobInformationDto.prototype, "currency", 2);
4003
+ __decorateClass([
4004
+ (0, import_types2.Type)(() => Number),
4005
+ (0, import_class_validator55.IsNumber)({}, { message: "Expected salary from must be a number." })
4006
+ ], AdminUpdateJobInformationDto.prototype, "expectedSalaryFrom", 2);
4007
+ __decorateClass([
4008
+ (0, import_types2.Type)(() => Number),
4009
+ (0, import_class_validator55.IsNumber)({}, { message: "Expected salary to must be a number." })
4010
+ ], AdminUpdateJobInformationDto.prototype, "expectedSalaryTo", 2);
4011
+ __decorateClass([
4012
+ (0, import_class_validator55.IsDateString)({ strict: true }, { message: "Start date must be in YYYY-MM-DD format." })
4013
+ ], AdminUpdateJobInformationDto.prototype, "tentativeStartDate", 2);
4014
+ __decorateClass([
4015
+ (0, import_class_validator55.IsDateString)({ strict: true }, { message: "End date must be in YYYY-MM-DD format." })
4016
+ ], AdminUpdateJobInformationDto.prototype, "tentativeEndDate", 2);
4017
+ __decorateClass([
4018
+ (0, import_class_validator55.IsOptional)(),
4019
+ (0, import_class_validator55.IsString)({ message: "Additional comment must be a string." })
4020
+ ], AdminUpdateJobInformationDto.prototype, "additionalComment", 2);
4021
+ __decorateClass([
4022
+ (0, import_class_validator55.IsInt)({ message: "Country ID must be a valid integer." })
4023
+ ], AdminUpdateJobInformationDto.prototype, "countryId", 2);
4024
+ __decorateClass([
4025
+ (0, import_class_validator55.IsInt)({ message: "State ID must be a valid integer." })
4026
+ ], AdminUpdateJobInformationDto.prototype, "stateId", 2);
4027
+ __decorateClass([
4028
+ (0, import_class_validator55.IsInt)({ message: "City ID must be a valid integer." })
4029
+ ], AdminUpdateJobInformationDto.prototype, "cityId", 2);
4030
+
3854
4031
  // src/adapters/tcp/user.tcp.adapter.ts
3855
4032
  var import_dotenv = require("dotenv");
3856
4033
  var import_microservices = require("@nestjs/microservices");
@@ -4192,6 +4369,8 @@ Cms = __decorateClass([
4192
4369
  AUTHENTICATION_PATTERN,
4193
4370
  AccountStatus,
4194
4371
  AccountType,
4372
+ AdminCreateJobInformationDto,
4373
+ AdminUpdateJobInformationDto,
4195
4374
  AnswerTypeEnum,
4196
4375
  ApplicationStatusEnum,
4197
4376
  AssessmentAnswer,
@@ -4286,6 +4465,8 @@ Cms = __decorateClass([
4286
4465
  JobIdParamDto,
4287
4466
  JobLocation,
4288
4467
  JobLocationEnum,
4468
+ JobLocationEnumDto,
4469
+ JobLocationEnums,
4289
4470
  JobRMQAdapter,
4290
4471
  JobRoles,
4291
4472
  JobSkill,
@@ -4343,6 +4524,8 @@ Cms = __decorateClass([
4343
4524
  ToggleCompanyMemberVisibilityDto,
4344
4525
  ToggleCompanyRoleVisibilityDto,
4345
4526
  TypeOfEmploymentEnum,
4527
+ TypeOfEmploymentEnumDto,
4528
+ TypeOfEmploymentEnums,
4346
4529
  UpdateClientAccountStatusDto,
4347
4530
  UpdateClientDto,
4348
4531
  UpdateClientHiringModeEnum,
package/dist/index.mjs CHANGED
@@ -702,13 +702,6 @@ var JOB_PATTERN = {
702
702
  updateJobStatus: "update.job.status",
703
703
  searchJobsByRoleAndSkills: "search.jobs.by.role.and.skills"
704
704
  };
705
- var JOB_ADMIN_PATTERN = {
706
- adminFetchJobList: "admin.fetch.job.list",
707
- adminFetchJobById: "admin.fetch.job.by.id",
708
- adminCreateJob: "admin.create.job",
709
- adminUpdateJob: "admin.update.job",
710
- adminDeleteJob: "admin.delete.job"
711
- };
712
705
 
713
706
  // src/modules/job/dto/job-basic-information.dto.ts
714
707
  import {
@@ -3696,8 +3689,7 @@ __decorateClass([
3696
3689
  ], UpdateFreelancerDto.prototype, "isImmediateJoiner", 2);
3697
3690
  __decorateClass([
3698
3691
  ValidateIf4((o) => o.isImmediateJoiner === false),
3699
- IsNotEmpty39({ message: "Please enter availability to join." }),
3700
- IsOptional19()
3692
+ IsNotEmpty39({ message: "Please enter availability to join." })
3701
3693
  ], UpdateFreelancerDto.prototype, "availabilityToJoin", 2);
3702
3694
  __decorateClass([
3703
3695
  IsOptional19(),
@@ -3987,6 +3979,207 @@ var CITY_PATTERN = {
3987
3979
  fetchCityDropdown: "fetch.city.dropdown"
3988
3980
  };
3989
3981
 
3982
+ // src/modules/job-admin/pattern/pattern.ts
3983
+ var JOB_ADMIN_PATTERN = {
3984
+ adminFetchJobs: "admin.fetch.jobs",
3985
+ adminFetchJobById: "admin.fetch.job.by.id",
3986
+ adminCreateJob: "admin.create.job",
3987
+ adminUpdateJob: "admin.update.job",
3988
+ adminDeleteJob: "admin.delete.job"
3989
+ };
3990
+
3991
+ // src/modules/job-admin/dto/admin-create-job-information.dto.ts
3992
+ import { Type as Type8 } from "class-transformer/types";
3993
+ import {
3994
+ IsString as IsString32,
3995
+ IsEnum as IsEnum18,
3996
+ IsInt as IsInt6,
3997
+ IsOptional as IsOptional25,
3998
+ IsArray as IsArray11,
3999
+ IsDateString as IsDateString4,
4000
+ IsNotEmpty as IsNotEmpty46,
4001
+ ArrayNotEmpty as ArrayNotEmpty6,
4002
+ Min as Min5,
4003
+ IsNumber as IsNumber5
4004
+ } from "class-validator";
4005
+ var JobLocationEnumDto = /* @__PURE__ */ ((JobLocationEnumDto2) => {
4006
+ JobLocationEnumDto2["ONSITE"] = "ONSITE";
4007
+ JobLocationEnumDto2["REMOTE"] = "REMOTE";
4008
+ JobLocationEnumDto2["BOTH"] = "BOTH";
4009
+ return JobLocationEnumDto2;
4010
+ })(JobLocationEnumDto || {});
4011
+ var TypeOfEmploymentEnumDto = /* @__PURE__ */ ((TypeOfEmploymentEnumDto2) => {
4012
+ TypeOfEmploymentEnumDto2["FULLTIME"] = "FULLTIME";
4013
+ TypeOfEmploymentEnumDto2["PARTTIME"] = "PARTTIME";
4014
+ TypeOfEmploymentEnumDto2["BOTH"] = "BOTH";
4015
+ return TypeOfEmploymentEnumDto2;
4016
+ })(TypeOfEmploymentEnumDto || {});
4017
+ var AdminCreateJobInformationDto = class {
4018
+ };
4019
+ __decorateClass([
4020
+ IsString32({ message: "Job role must be a string." }),
4021
+ IsNotEmpty46({ message: "Job role is required." })
4022
+ ], AdminCreateJobInformationDto.prototype, "jobRole", 2);
4023
+ __decorateClass([
4024
+ IsOptional25(),
4025
+ IsString32({ message: "Note must be a string." })
4026
+ ], AdminCreateJobInformationDto.prototype, "note", 2);
4027
+ __decorateClass([
4028
+ IsArray11({ message: "Skills must be an array of numeric IDs." }),
4029
+ ArrayNotEmpty6({ message: "At least one skill must be selected." }),
4030
+ Type8(() => Number),
4031
+ IsInt6({ each: true, message: "Each skill ID must be a valid integer." })
4032
+ ], AdminCreateJobInformationDto.prototype, "skills", 2);
4033
+ __decorateClass([
4034
+ IsInt6({ message: "Openings must be a valid integer." }),
4035
+ Min5(1, { message: "There must be at least one opening." })
4036
+ ], AdminCreateJobInformationDto.prototype, "openings", 2);
4037
+ __decorateClass([
4038
+ IsEnum18(JobLocationEnumDto, {
4039
+ message: `Location must be one of: ${Object.values(JobLocationEnumDto).join(", ")}.`
4040
+ })
4041
+ ], AdminCreateJobInformationDto.prototype, "location", 2);
4042
+ __decorateClass([
4043
+ IsEnum18(TypeOfEmploymentEnumDto, {
4044
+ message: `Type of employment must be one of: ${Object.values(TypeOfEmploymentEnumDto).join(", ")}.`
4045
+ })
4046
+ ], AdminCreateJobInformationDto.prototype, "typeOfEmployment", 2);
4047
+ __decorateClass([
4048
+ IsString32({ message: "Onboarding Days must be a string." }),
4049
+ IsNotEmpty46({ message: "Onboarding Days is required." })
4050
+ ], AdminCreateJobInformationDto.prototype, "onboardingTat", 2);
4051
+ __decorateClass([
4052
+ IsString32({ message: "Communication skills must be a string." }),
4053
+ IsNotEmpty46({ message: "Communication skills are required." })
4054
+ ], AdminCreateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
4055
+ __decorateClass([
4056
+ IsString32({ message: "Currency must be a string." }),
4057
+ IsNotEmpty46({ message: "Currency is required." })
4058
+ ], AdminCreateJobInformationDto.prototype, "currency", 2);
4059
+ __decorateClass([
4060
+ Type8(() => Number),
4061
+ IsNumber5({}, { message: "Expected salary from must be a number." })
4062
+ ], AdminCreateJobInformationDto.prototype, "expectedSalaryFrom", 2);
4063
+ __decorateClass([
4064
+ Type8(() => Number),
4065
+ IsNumber5({}, { message: "Expected salary to must be a number." })
4066
+ ], AdminCreateJobInformationDto.prototype, "expectedSalaryTo", 2);
4067
+ __decorateClass([
4068
+ IsDateString4({ strict: true }, { message: "Start date must be in YYYY-MM-DD format." })
4069
+ ], AdminCreateJobInformationDto.prototype, "tentativeStartDate", 2);
4070
+ __decorateClass([
4071
+ IsDateString4({ strict: true }, { message: "End date must be in YYYY-MM-DD format." })
4072
+ ], AdminCreateJobInformationDto.prototype, "tentativeEndDate", 2);
4073
+ __decorateClass([
4074
+ IsOptional25(),
4075
+ IsString32({ message: "Additional comment must be a string." })
4076
+ ], AdminCreateJobInformationDto.prototype, "additionalComment", 2);
4077
+ __decorateClass([
4078
+ IsInt6({ message: "Country ID must be a valid integer." })
4079
+ ], AdminCreateJobInformationDto.prototype, "countryId", 2);
4080
+ __decorateClass([
4081
+ IsInt6({ message: "State ID must be a valid integer." })
4082
+ ], AdminCreateJobInformationDto.prototype, "stateId", 2);
4083
+ __decorateClass([
4084
+ IsInt6({ message: "City ID must be a valid integer." })
4085
+ ], AdminCreateJobInformationDto.prototype, "cityId", 2);
4086
+
4087
+ // src/modules/job-admin/dto/admin-update-job-information.dto.ts
4088
+ import { Type as Type9 } from "class-transformer/types";
4089
+ import {
4090
+ IsString as IsString33,
4091
+ IsEnum as IsEnum19,
4092
+ IsInt as IsInt7,
4093
+ IsOptional as IsOptional26,
4094
+ IsArray as IsArray12,
4095
+ IsDateString as IsDateString5,
4096
+ IsNotEmpty as IsNotEmpty47,
4097
+ ArrayNotEmpty as ArrayNotEmpty7,
4098
+ Min as Min6,
4099
+ IsNumber as IsNumber6
4100
+ } from "class-validator";
4101
+ var JobLocationEnums = /* @__PURE__ */ ((JobLocationEnums2) => {
4102
+ JobLocationEnums2["ONSITE"] = "ONSITE";
4103
+ JobLocationEnums2["REMOTE"] = "REMOTE";
4104
+ JobLocationEnums2["BOTH"] = "BOTH";
4105
+ return JobLocationEnums2;
4106
+ })(JobLocationEnums || {});
4107
+ var TypeOfEmploymentEnums = /* @__PURE__ */ ((TypeOfEmploymentEnums2) => {
4108
+ TypeOfEmploymentEnums2["FULLTIME"] = "FULLTIME";
4109
+ TypeOfEmploymentEnums2["PARTTIME"] = "PARTTIME";
4110
+ TypeOfEmploymentEnums2["BOTH"] = "BOTH";
4111
+ return TypeOfEmploymentEnums2;
4112
+ })(TypeOfEmploymentEnums || {});
4113
+ var AdminUpdateJobInformationDto = class {
4114
+ };
4115
+ __decorateClass([
4116
+ IsString33({ message: "Job role must be a string." }),
4117
+ IsNotEmpty47({ message: "Job role is required." })
4118
+ ], AdminUpdateJobInformationDto.prototype, "jobRole", 2);
4119
+ __decorateClass([
4120
+ IsOptional26(),
4121
+ IsString33({ message: "Note must be a string." })
4122
+ ], AdminUpdateJobInformationDto.prototype, "note", 2);
4123
+ __decorateClass([
4124
+ IsArray12({ message: "Skills must be an array of numeric IDs." }),
4125
+ ArrayNotEmpty7({ message: "At least one skill must be selected." }),
4126
+ Type9(() => Number),
4127
+ IsInt7({ each: true, message: "Each skill ID must be a valid integer." })
4128
+ ], AdminUpdateJobInformationDto.prototype, "skills", 2);
4129
+ __decorateClass([
4130
+ IsInt7({ message: "Openings must be a valid integer." }),
4131
+ Min6(1, { message: "There must be at least one opening." })
4132
+ ], AdminUpdateJobInformationDto.prototype, "openings", 2);
4133
+ __decorateClass([
4134
+ IsEnum19(JobLocationEnums, {
4135
+ message: `Location must be one of: ${Object.values(JobLocationEnums).join(", ")}.`
4136
+ })
4137
+ ], AdminUpdateJobInformationDto.prototype, "location", 2);
4138
+ __decorateClass([
4139
+ IsEnum19(TypeOfEmploymentEnums, {
4140
+ message: `Type of employment must be one of: ${Object.values(TypeOfEmploymentEnums).join(", ")}.`
4141
+ })
4142
+ ], AdminUpdateJobInformationDto.prototype, "typeOfEmployment", 2);
4143
+ __decorateClass([
4144
+ IsString33({ message: "Onboarding Days must be a string." }),
4145
+ IsNotEmpty47({ message: "Onboarding Days is required." })
4146
+ ], AdminUpdateJobInformationDto.prototype, "onboardingTat", 2);
4147
+ __decorateClass([
4148
+ IsString33({ message: "Communication skills must be a string." }),
4149
+ IsNotEmpty47({ message: "Communication skills are required." })
4150
+ ], AdminUpdateJobInformationDto.prototype, "candidateCommunicationSkills", 2);
4151
+ __decorateClass([
4152
+ IsString33({ message: "Currency must be a string." }),
4153
+ IsNotEmpty47({ message: "Currency is required." })
4154
+ ], AdminUpdateJobInformationDto.prototype, "currency", 2);
4155
+ __decorateClass([
4156
+ Type9(() => Number),
4157
+ IsNumber6({}, { message: "Expected salary from must be a number." })
4158
+ ], AdminUpdateJobInformationDto.prototype, "expectedSalaryFrom", 2);
4159
+ __decorateClass([
4160
+ Type9(() => Number),
4161
+ IsNumber6({}, { message: "Expected salary to must be a number." })
4162
+ ], AdminUpdateJobInformationDto.prototype, "expectedSalaryTo", 2);
4163
+ __decorateClass([
4164
+ IsDateString5({ strict: true }, { message: "Start date must be in YYYY-MM-DD format." })
4165
+ ], AdminUpdateJobInformationDto.prototype, "tentativeStartDate", 2);
4166
+ __decorateClass([
4167
+ IsDateString5({ strict: true }, { message: "End date must be in YYYY-MM-DD format." })
4168
+ ], AdminUpdateJobInformationDto.prototype, "tentativeEndDate", 2);
4169
+ __decorateClass([
4170
+ IsOptional26(),
4171
+ IsString33({ message: "Additional comment must be a string." })
4172
+ ], AdminUpdateJobInformationDto.prototype, "additionalComment", 2);
4173
+ __decorateClass([
4174
+ IsInt7({ message: "Country ID must be a valid integer." })
4175
+ ], AdminUpdateJobInformationDto.prototype, "countryId", 2);
4176
+ __decorateClass([
4177
+ IsInt7({ message: "State ID must be a valid integer." })
4178
+ ], AdminUpdateJobInformationDto.prototype, "stateId", 2);
4179
+ __decorateClass([
4180
+ IsInt7({ message: "City ID must be a valid integer." })
4181
+ ], AdminUpdateJobInformationDto.prototype, "cityId", 2);
4182
+
3990
4183
  // src/adapters/tcp/user.tcp.adapter.ts
3991
4184
  import { config } from "dotenv";
3992
4185
  import { Transport } from "@nestjs/microservices";
@@ -4327,6 +4520,8 @@ export {
4327
4520
  AUTHENTICATION_PATTERN,
4328
4521
  AccountStatus,
4329
4522
  AccountType,
4523
+ AdminCreateJobInformationDto,
4524
+ AdminUpdateJobInformationDto,
4330
4525
  AnswerTypeEnum,
4331
4526
  ApplicationStatusEnum,
4332
4527
  AssessmentAnswer,
@@ -4421,6 +4616,8 @@ export {
4421
4616
  JobIdParamDto,
4422
4617
  JobLocation,
4423
4618
  JobLocationEnum,
4619
+ JobLocationEnumDto,
4620
+ JobLocationEnums,
4424
4621
  JobRMQAdapter,
4425
4622
  JobRoles,
4426
4623
  JobSkill,
@@ -4478,6 +4675,8 @@ export {
4478
4675
  ToggleCompanyMemberVisibilityDto,
4479
4676
  ToggleCompanyRoleVisibilityDto,
4480
4677
  TypeOfEmploymentEnum,
4678
+ TypeOfEmploymentEnumDto,
4679
+ TypeOfEmploymentEnums,
4481
4680
  UpdateClientAccountStatusDto,
4482
4681
  UpdateClientDto,
4483
4682
  UpdateClientHiringModeEnum,
@@ -24,3 +24,4 @@ export * from './client-admin';
24
24
  export * from './user/freelancer-declaration';
25
25
  export * from './cms';
26
26
  export * from './geographic';
27
+ export * from './job-admin';
@@ -17,10 +17,3 @@ export declare const JOB_PATTERN: {
17
17
  updateJobStatus: string;
18
18
  searchJobsByRoleAndSkills: string;
19
19
  };
20
- export declare const JOB_ADMIN_PATTERN: {
21
- adminFetchJobList: string;
22
- adminFetchJobById: string;
23
- adminCreateJob: string;
24
- adminUpdateJob: string;
25
- adminDeleteJob: string;
26
- };
@@ -0,0 +1,29 @@
1
+ export declare enum JobLocationEnumDto {
2
+ ONSITE = "ONSITE",
3
+ REMOTE = "REMOTE",
4
+ BOTH = "BOTH"
5
+ }
6
+ export declare enum TypeOfEmploymentEnumDto {
7
+ FULLTIME = "FULLTIME",
8
+ PARTTIME = "PARTTIME",
9
+ BOTH = "BOTH"
10
+ }
11
+ export declare class AdminCreateJobInformationDto {
12
+ jobRole: string;
13
+ note?: string;
14
+ skills: number[];
15
+ openings: number;
16
+ location: JobLocationEnumDto;
17
+ typeOfEmployment: TypeOfEmploymentEnumDto;
18
+ onboardingTat: string;
19
+ candidateCommunicationSkills: string;
20
+ currency: string;
21
+ expectedSalaryFrom: number;
22
+ expectedSalaryTo: number;
23
+ tentativeStartDate: string;
24
+ tentativeEndDate: string;
25
+ additionalComment?: string;
26
+ countryId: number;
27
+ stateId: number;
28
+ cityId: number;
29
+ }
@@ -0,0 +1,29 @@
1
+ export declare enum JobLocationEnums {
2
+ ONSITE = "ONSITE",
3
+ REMOTE = "REMOTE",
4
+ BOTH = "BOTH"
5
+ }
6
+ export declare enum TypeOfEmploymentEnums {
7
+ FULLTIME = "FULLTIME",
8
+ PARTTIME = "PARTTIME",
9
+ BOTH = "BOTH"
10
+ }
11
+ export declare class AdminUpdateJobInformationDto {
12
+ jobRole: string;
13
+ note?: string;
14
+ skills: number[];
15
+ openings: number;
16
+ location: JobLocationEnums;
17
+ typeOfEmployment: TypeOfEmploymentEnums;
18
+ onboardingTat: string;
19
+ candidateCommunicationSkills: string;
20
+ currency: string;
21
+ expectedSalaryFrom: number;
22
+ expectedSalaryTo: number;
23
+ tentativeStartDate: string;
24
+ tentativeEndDate: string;
25
+ additionalComment?: string;
26
+ countryId: number;
27
+ stateId: number;
28
+ cityId: number;
29
+ }
@@ -0,0 +1,2 @@
1
+ export * from './admin-create-job-information.dto';
2
+ export * from './admin-update-job-information.dto';
@@ -0,0 +1,2 @@
1
+ export * from './pattern/pattern';
2
+ export * from './dto';
@@ -0,0 +1,7 @@
1
+ export declare const JOB_ADMIN_PATTERN: {
2
+ adminFetchJobs: string;
3
+ adminFetchJobById: string;
4
+ adminCreateJob: string;
5
+ adminUpdateJob: string;
6
+ adminDeleteJob: string;
7
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.211",
3
+ "version": "1.0.213",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",