@experts_hub/shared 1.0.249 → 1.0.251

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.
@@ -1,4 +1,5 @@
1
1
  export * from './base.entity';
2
+ export * from './sequence-generator.entity';
2
3
  export * from './user.entity';
3
4
  export * from './refresh-token.entity';
4
5
  export * from './senseloaf-log.entity';
@@ -0,0 +1,7 @@
1
+ import { BaseEntity } from "./base.entity";
2
+ export declare class SequenceGenerator extends BaseEntity {
3
+ module: string;
4
+ prefix: string;
5
+ lastSequence: number;
6
+ year: number | null;
7
+ }
package/dist/index.d.mts CHANGED
@@ -470,6 +470,7 @@ declare class JobIdParamDto {
470
470
 
471
471
  declare const PROFILE_PATTERN: {
472
472
  fetchFreelancerProfile: string;
473
+ fetchFreelancerPublicProfile: string;
473
474
  fetchFreelancerScreeningResult: string;
474
475
  changeFreelancerPassword: string;
475
476
  uploadFreelancerProfilePic: string;
@@ -1905,6 +1906,13 @@ declare const JobRMQAdapter: (mode?: string) => MicroserviceOptions;
1905
1906
 
1906
1907
  declare const NotificationRMQAdapter: (mode?: string) => MicroserviceOptions;
1907
1908
 
1909
+ declare class SequenceGenerator extends BaseEntity {
1910
+ module: string;
1911
+ prefix: string;
1912
+ lastSequence: number;
1913
+ year: number | null;
1914
+ }
1915
+
1908
1916
  declare enum QuestionFor {
1909
1917
  CLIENT = "CLIENT",
1910
1918
  FREELANCER = "FREELANCER"
@@ -1963,4 +1971,4 @@ declare class Lead extends BaseEntity {
1963
1971
  category: CategoryEmum;
1964
1972
  }
1965
1973
 
1966
- export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminUpdateJobInformationDto, AiAssessmentStatusEnum, 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, CategoryEmum, CategoryEmumDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, 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, 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, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, 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, 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 };
1974
+ export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminUpdateJobInformationDto, AiAssessmentStatusEnum, 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, CategoryEmum, CategoryEmumDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, 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, 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, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, 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, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SequenceGenerator, 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
@@ -470,6 +470,7 @@ declare class JobIdParamDto {
470
470
 
471
471
  declare const PROFILE_PATTERN: {
472
472
  fetchFreelancerProfile: string;
473
+ fetchFreelancerPublicProfile: string;
473
474
  fetchFreelancerScreeningResult: string;
474
475
  changeFreelancerPassword: string;
475
476
  uploadFreelancerProfilePic: string;
@@ -1905,6 +1906,13 @@ declare const JobRMQAdapter: (mode?: string) => MicroserviceOptions;
1905
1906
 
1906
1907
  declare const NotificationRMQAdapter: (mode?: string) => MicroserviceOptions;
1907
1908
 
1909
+ declare class SequenceGenerator extends BaseEntity {
1910
+ module: string;
1911
+ prefix: string;
1912
+ lastSequence: number;
1913
+ year: number | null;
1914
+ }
1915
+
1908
1916
  declare enum QuestionFor {
1909
1917
  CLIENT = "CLIENT",
1910
1918
  FREELANCER = "FREELANCER"
@@ -1963,4 +1971,4 @@ declare class Lead extends BaseEntity {
1963
1971
  category: CategoryEmum;
1964
1972
  }
1965
1973
 
1966
- export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminUpdateJobInformationDto, AiAssessmentStatusEnum, 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, CategoryEmum, CategoryEmumDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, 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, 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, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, 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, 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 };
1974
+ export { ADMIN_FREELANCER_PATTERN, ADMIN_JOB_PATTERN, ASSESSMENT_QUESTION_PATTERN, AUTHENTICATION_PATTERN, AccountStatus, AccountType, AdminCreateJobInformationDto, AdminUpdateJobInformationDto, AiAssessmentStatusEnum, 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, CategoryEmum, CategoryEmumDto, City, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyMemberRole, CompanyOnboardingStepEnum, CompanyProfile, CompanyRole, CompanyRolePermission, CompanySkill, Country, 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, 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, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobLocationEnumDto, JobLocationEnums, JobRMQAdapter, 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, STATE_PATTERN, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SelectedAnswerTypeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SequenceGenerator, 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
@@ -188,6 +188,7 @@ __export(index_exports, {
188
188
  SendGuestOtpDto: () => SendGuestOtpDto,
189
189
  SendGuestOtpPurposeEnum: () => SendGuestOtpPurposeEnum,
190
190
  SenseloafLog: () => SenseloafLog,
191
+ SequenceGenerator: () => SequenceGenerator,
191
192
  SetPasswordDto: () => SetPasswordDto,
192
193
  Skill: () => Skill,
193
194
  State: () => State,
@@ -1021,6 +1022,7 @@ __decorateClass([
1021
1022
  // src/modules/user/freelancer-profile/pattern/pattern.ts
1022
1023
  var PROFILE_PATTERN = {
1023
1024
  fetchFreelancerProfile: "fetch.freelancer.profile",
1025
+ fetchFreelancerPublicProfile: "fetch.freelancer.public.profile",
1024
1026
  fetchFreelancerScreeningResult: "fetch.freelancer.screening.result",
1025
1027
  changeFreelancerPassword: "change.freelancer.password",
1026
1028
  uploadFreelancerProfilePic: "upload.freelancer.profilepic",
@@ -4459,8 +4461,50 @@ var NotificationRMQAdapter = (mode = "microservice") => {
4459
4461
  return config7;
4460
4462
  };
4461
4463
 
4462
- // src/entities/question.entity.ts
4464
+ // src/entities/sequence-generator.entity.ts
4463
4465
  var import_typeorm37 = require("typeorm");
4466
+ var SequenceGenerator = class extends BaseEntity {
4467
+ };
4468
+ __decorateClass([
4469
+ (0, import_typeorm37.Column)({
4470
+ name: "module",
4471
+ type: "varchar",
4472
+ length: 50,
4473
+ nullable: false,
4474
+ comment: "Module name (e.g., PROFILE, USER, etc.)"
4475
+ })
4476
+ ], SequenceGenerator.prototype, "module", 2);
4477
+ __decorateClass([
4478
+ (0, import_typeorm37.Column)({
4479
+ name: "prefix",
4480
+ type: "varchar",
4481
+ length: 10,
4482
+ nullable: false,
4483
+ comment: "Prefix for the sequence (e.g., PROF)"
4484
+ })
4485
+ ], SequenceGenerator.prototype, "prefix", 2);
4486
+ __decorateClass([
4487
+ (0, import_typeorm37.Column)({
4488
+ name: "last_sequence",
4489
+ type: "int",
4490
+ nullable: false,
4491
+ comment: "Last used sequence number"
4492
+ })
4493
+ ], SequenceGenerator.prototype, "lastSequence", 2);
4494
+ __decorateClass([
4495
+ (0, import_typeorm37.Column)({
4496
+ name: "year",
4497
+ type: "int",
4498
+ nullable: true,
4499
+ comment: "Year for which sequence is being generated (null for non-reset modules)"
4500
+ })
4501
+ ], SequenceGenerator.prototype, "year", 2);
4502
+ SequenceGenerator = __decorateClass([
4503
+ (0, import_typeorm37.Entity)("sequence_generators")
4504
+ ], SequenceGenerator);
4505
+
4506
+ // src/entities/question.entity.ts
4507
+ var import_typeorm38 = require("typeorm");
4464
4508
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
4465
4509
  QuestionFor2["CLIENT"] = "CLIENT";
4466
4510
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -4469,16 +4513,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
4469
4513
  var Question = class extends BaseEntity {
4470
4514
  };
4471
4515
  __decorateClass([
4472
- (0, import_typeorm37.Column)({ name: "question", type: "varchar" })
4516
+ (0, import_typeorm38.Column)({ name: "question", type: "varchar" })
4473
4517
  ], Question.prototype, "question", 2);
4474
4518
  __decorateClass([
4475
- (0, import_typeorm37.Column)({ name: "hint", type: "varchar", nullable: true })
4519
+ (0, import_typeorm38.Column)({ name: "hint", type: "varchar", nullable: true })
4476
4520
  ], Question.prototype, "hint", 2);
4477
4521
  __decorateClass([
4478
- (0, import_typeorm37.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
4522
+ (0, import_typeorm38.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
4479
4523
  ], Question.prototype, "slug", 2);
4480
4524
  __decorateClass([
4481
- (0, import_typeorm37.Column)({
4525
+ (0, import_typeorm38.Column)({
4482
4526
  name: "question_for",
4483
4527
  type: "enum",
4484
4528
  enum: QuestionFor,
@@ -4486,100 +4530,100 @@ __decorateClass([
4486
4530
  })
4487
4531
  ], Question.prototype, "questionFor", 2);
4488
4532
  __decorateClass([
4489
- (0, import_typeorm37.Column)({ name: "type", type: "varchar", nullable: true })
4533
+ (0, import_typeorm38.Column)({ name: "type", type: "varchar", nullable: true })
4490
4534
  ], Question.prototype, "type", 2);
4491
4535
  __decorateClass([
4492
- (0, import_typeorm37.Column)({ name: "options", type: "jsonb", nullable: true })
4536
+ (0, import_typeorm38.Column)({ name: "options", type: "jsonb", nullable: true })
4493
4537
  ], Question.prototype, "options", 2);
4494
4538
  __decorateClass([
4495
- (0, import_typeorm37.Column)({ name: "is_active", type: "boolean", default: false })
4539
+ (0, import_typeorm38.Column)({ name: "is_active", type: "boolean", default: false })
4496
4540
  ], Question.prototype, "isActive", 2);
4497
4541
  Question = __decorateClass([
4498
- (0, import_typeorm37.Entity)("questions")
4542
+ (0, import_typeorm38.Entity)("questions")
4499
4543
  ], Question);
4500
4544
 
4501
4545
  // src/entities/job-role.entity.ts
4502
- var import_typeorm38 = require("typeorm");
4546
+ var import_typeorm39 = require("typeorm");
4503
4547
  var JobRoles = class extends BaseEntity {
4504
4548
  };
4505
4549
  __decorateClass([
4506
- (0, import_typeorm38.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
4550
+ (0, import_typeorm39.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
4507
4551
  ], JobRoles.prototype, "slug", 2);
4508
4552
  __decorateClass([
4509
- (0, import_typeorm38.Column)({ name: "name", type: "varchar", nullable: true })
4553
+ (0, import_typeorm39.Column)({ name: "name", type: "varchar", nullable: true })
4510
4554
  ], JobRoles.prototype, "name", 2);
4511
4555
  __decorateClass([
4512
- (0, import_typeorm38.Column)({ name: "is_active", type: "boolean", default: true })
4556
+ (0, import_typeorm39.Column)({ name: "is_active", type: "boolean", default: true })
4513
4557
  ], JobRoles.prototype, "isActive", 2);
4514
4558
  JobRoles = __decorateClass([
4515
- (0, import_typeorm38.Entity)("job_roles")
4559
+ (0, import_typeorm39.Entity)("job_roles")
4516
4560
  ], JobRoles);
4517
4561
 
4518
4562
  // src/entities/plan.entity.ts
4519
- var import_typeorm40 = require("typeorm");
4563
+ var import_typeorm41 = require("typeorm");
4520
4564
 
4521
4565
  // src/entities/feature.entity.ts
4522
- var import_typeorm39 = require("typeorm");
4566
+ var import_typeorm40 = require("typeorm");
4523
4567
  var Feature = class extends BaseEntity {
4524
4568
  };
4525
4569
  __decorateClass([
4526
- (0, import_typeorm39.Column)({ name: "name", type: "varchar", unique: true })
4570
+ (0, import_typeorm40.Column)({ name: "name", type: "varchar", unique: true })
4527
4571
  ], Feature.prototype, "name", 2);
4528
4572
  __decorateClass([
4529
- (0, import_typeorm39.ManyToMany)(() => Plan, (plan) => plan.features)
4573
+ (0, import_typeorm40.ManyToMany)(() => Plan, (plan) => plan.features)
4530
4574
  ], Feature.prototype, "plans", 2);
4531
4575
  Feature = __decorateClass([
4532
- (0, import_typeorm39.Entity)("features")
4576
+ (0, import_typeorm40.Entity)("features")
4533
4577
  ], Feature);
4534
4578
 
4535
4579
  // src/entities/plan.entity.ts
4536
4580
  var Plan = class extends BaseEntity {
4537
4581
  };
4538
4582
  __decorateClass([
4539
- (0, import_typeorm40.Column)({ name: "name", type: "varchar", unique: true })
4583
+ (0, import_typeorm41.Column)({ name: "name", type: "varchar", unique: true })
4540
4584
  ], Plan.prototype, "name", 2);
4541
4585
  __decorateClass([
4542
- (0, import_typeorm40.Column)({ name: "description", type: "varchar", nullable: true })
4586
+ (0, import_typeorm41.Column)({ name: "description", type: "varchar", nullable: true })
4543
4587
  ], Plan.prototype, "description", 2);
4544
4588
  __decorateClass([
4545
- (0, import_typeorm40.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
4589
+ (0, import_typeorm41.Column)({ name: "price", type: "decimal", precision: 10, scale: 2 })
4546
4590
  ], Plan.prototype, "price", 2);
4547
4591
  __decorateClass([
4548
- (0, import_typeorm40.Column)({ name: "billing_period", type: "varchar" })
4592
+ (0, import_typeorm41.Column)({ name: "billing_period", type: "varchar" })
4549
4593
  ], Plan.prototype, "billingPeriod", 2);
4550
4594
  __decorateClass([
4551
- (0, import_typeorm40.Column)({ name: "is_current", type: "boolean", default: false })
4595
+ (0, import_typeorm41.Column)({ name: "is_current", type: "boolean", default: false })
4552
4596
  ], Plan.prototype, "isCurrent", 2);
4553
4597
  __decorateClass([
4554
- (0, import_typeorm40.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
4555
- (0, import_typeorm40.JoinTable)()
4598
+ (0, import_typeorm41.ManyToMany)(() => Feature, (feature) => feature.plans, { cascade: true }),
4599
+ (0, import_typeorm41.JoinTable)()
4556
4600
  ], Plan.prototype, "features", 2);
4557
4601
  Plan = __decorateClass([
4558
- (0, import_typeorm40.Entity)("plans")
4602
+ (0, import_typeorm41.Entity)("plans")
4559
4603
  ], Plan);
4560
4604
 
4561
4605
  // src/entities/cms.entity.ts
4562
- var import_typeorm41 = require("typeorm");
4606
+ var import_typeorm42 = require("typeorm");
4563
4607
  var Cms = class extends BaseEntity {
4564
4608
  };
4565
4609
  __decorateClass([
4566
- (0, import_typeorm41.Column)({ name: "title", type: "varchar", nullable: true })
4610
+ (0, import_typeorm42.Column)({ name: "title", type: "varchar", nullable: true })
4567
4611
  ], Cms.prototype, "title", 2);
4568
4612
  __decorateClass([
4569
- (0, import_typeorm41.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
4613
+ (0, import_typeorm42.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
4570
4614
  ], Cms.prototype, "slug", 2);
4571
4615
  __decorateClass([
4572
- (0, import_typeorm41.Column)({ name: "content", type: "varchar", nullable: true })
4616
+ (0, import_typeorm42.Column)({ name: "content", type: "varchar", nullable: true })
4573
4617
  ], Cms.prototype, "content", 2);
4574
4618
  __decorateClass([
4575
- (0, import_typeorm41.Column)({ name: "is_active", type: "boolean", default: true })
4619
+ (0, import_typeorm42.Column)({ name: "is_active", type: "boolean", default: true })
4576
4620
  ], Cms.prototype, "isActive", 2);
4577
4621
  Cms = __decorateClass([
4578
- (0, import_typeorm41.Entity)("cms")
4622
+ (0, import_typeorm42.Entity)("cms")
4579
4623
  ], Cms);
4580
4624
 
4581
4625
  // src/entities/lead.entity.ts
4582
- var import_typeorm42 = require("typeorm");
4626
+ var import_typeorm43 = require("typeorm");
4583
4627
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
4584
4628
  CategoryEmum2["BUSINESS"] = "BUSINESS";
4585
4629
  CategoryEmum2["FREELANCER"] = "FREELANCER";
@@ -4588,22 +4632,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
4588
4632
  var Lead = class extends BaseEntity {
4589
4633
  };
4590
4634
  __decorateClass([
4591
- (0, import_typeorm42.Column)({ name: "name", type: "varchar", nullable: true })
4635
+ (0, import_typeorm43.Column)({ name: "name", type: "varchar", nullable: true })
4592
4636
  ], Lead.prototype, "name", 2);
4593
4637
  __decorateClass([
4594
- (0, import_typeorm42.Column)({ name: "mobile_code", type: "varchar", nullable: true })
4638
+ (0, import_typeorm43.Column)({ name: "mobile_code", type: "varchar", nullable: true })
4595
4639
  ], Lead.prototype, "mobileCode", 2);
4596
4640
  __decorateClass([
4597
- (0, import_typeorm42.Column)({ name: "mobile", type: "varchar", nullable: true })
4641
+ (0, import_typeorm43.Column)({ name: "mobile", type: "varchar", nullable: true })
4598
4642
  ], Lead.prototype, "mobile", 2);
4599
4643
  __decorateClass([
4600
- (0, import_typeorm42.Column)({ name: "email", type: "varchar", nullable: true })
4644
+ (0, import_typeorm43.Column)({ name: "email", type: "varchar", nullable: true })
4601
4645
  ], Lead.prototype, "email", 2);
4602
4646
  __decorateClass([
4603
- (0, import_typeorm42.Column)({ name: "description", type: "varchar", nullable: true })
4647
+ (0, import_typeorm43.Column)({ name: "description", type: "varchar", nullable: true })
4604
4648
  ], Lead.prototype, "description", 2);
4605
4649
  __decorateClass([
4606
- (0, import_typeorm42.Column)({
4650
+ (0, import_typeorm43.Column)({
4607
4651
  name: "category",
4608
4652
  type: "enum",
4609
4653
  enum: CategoryEmum,
@@ -4611,7 +4655,7 @@ __decorateClass([
4611
4655
  })
4612
4656
  ], Lead.prototype, "category", 2);
4613
4657
  Lead = __decorateClass([
4614
- (0, import_typeorm42.Entity)("leads")
4658
+ (0, import_typeorm43.Entity)("leads")
4615
4659
  ], Lead);
4616
4660
  // Annotate the CommonJS export names for ESM import in node:
4617
4661
  0 && (module.exports = {
@@ -4776,6 +4820,7 @@ Lead = __decorateClass([
4776
4820
  SendGuestOtpDto,
4777
4821
  SendGuestOtpPurposeEnum,
4778
4822
  SenseloafLog,
4823
+ SequenceGenerator,
4779
4824
  SetPasswordDto,
4780
4825
  Skill,
4781
4826
  State,
package/dist/index.mjs CHANGED
@@ -886,6 +886,7 @@ __decorateClass([
886
886
  // src/modules/user/freelancer-profile/pattern/pattern.ts
887
887
  var PROFILE_PATTERN = {
888
888
  fetchFreelancerProfile: "fetch.freelancer.profile",
889
+ fetchFreelancerPublicProfile: "fetch.freelancer.public.profile",
889
890
  fetchFreelancerScreeningResult: "fetch.freelancer.screening.result",
890
891
  changeFreelancerPassword: "change.freelancer.password",
891
892
  uploadFreelancerProfilePic: "upload.freelancer.profilepic",
@@ -4607,8 +4608,50 @@ var NotificationRMQAdapter = (mode = "microservice") => {
4607
4608
  return config7;
4608
4609
  };
4609
4610
 
4610
- // src/entities/question.entity.ts
4611
+ // src/entities/sequence-generator.entity.ts
4611
4612
  import { Entity as Entity36, Column as Column37 } from "typeorm";
4613
+ var SequenceGenerator = class extends BaseEntity {
4614
+ };
4615
+ __decorateClass([
4616
+ Column37({
4617
+ name: "module",
4618
+ type: "varchar",
4619
+ length: 50,
4620
+ nullable: false,
4621
+ comment: "Module name (e.g., PROFILE, USER, etc.)"
4622
+ })
4623
+ ], SequenceGenerator.prototype, "module", 2);
4624
+ __decorateClass([
4625
+ Column37({
4626
+ name: "prefix",
4627
+ type: "varchar",
4628
+ length: 10,
4629
+ nullable: false,
4630
+ comment: "Prefix for the sequence (e.g., PROF)"
4631
+ })
4632
+ ], SequenceGenerator.prototype, "prefix", 2);
4633
+ __decorateClass([
4634
+ Column37({
4635
+ name: "last_sequence",
4636
+ type: "int",
4637
+ nullable: false,
4638
+ comment: "Last used sequence number"
4639
+ })
4640
+ ], SequenceGenerator.prototype, "lastSequence", 2);
4641
+ __decorateClass([
4642
+ Column37({
4643
+ name: "year",
4644
+ type: "int",
4645
+ nullable: true,
4646
+ comment: "Year for which sequence is being generated (null for non-reset modules)"
4647
+ })
4648
+ ], SequenceGenerator.prototype, "year", 2);
4649
+ SequenceGenerator = __decorateClass([
4650
+ Entity36("sequence_generators")
4651
+ ], SequenceGenerator);
4652
+
4653
+ // src/entities/question.entity.ts
4654
+ import { Entity as Entity37, Column as Column38 } from "typeorm";
4612
4655
  var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
4613
4656
  QuestionFor2["CLIENT"] = "CLIENT";
4614
4657
  QuestionFor2["FREELANCER"] = "FREELANCER";
@@ -4617,16 +4660,16 @@ var QuestionFor = /* @__PURE__ */ ((QuestionFor2) => {
4617
4660
  var Question = class extends BaseEntity {
4618
4661
  };
4619
4662
  __decorateClass([
4620
- Column37({ name: "question", type: "varchar" })
4663
+ Column38({ name: "question", type: "varchar" })
4621
4664
  ], Question.prototype, "question", 2);
4622
4665
  __decorateClass([
4623
- Column37({ name: "hint", type: "varchar", nullable: true })
4666
+ Column38({ name: "hint", type: "varchar", nullable: true })
4624
4667
  ], Question.prototype, "hint", 2);
4625
4668
  __decorateClass([
4626
- Column37({ name: "slug", type: "varchar", nullable: true, unique: true })
4669
+ Column38({ name: "slug", type: "varchar", nullable: true, unique: true })
4627
4670
  ], Question.prototype, "slug", 2);
4628
4671
  __decorateClass([
4629
- Column37({
4672
+ Column38({
4630
4673
  name: "question_for",
4631
4674
  type: "enum",
4632
4675
  enum: QuestionFor,
@@ -4634,102 +4677,102 @@ __decorateClass([
4634
4677
  })
4635
4678
  ], Question.prototype, "questionFor", 2);
4636
4679
  __decorateClass([
4637
- Column37({ name: "type", type: "varchar", nullable: true })
4680
+ Column38({ name: "type", type: "varchar", nullable: true })
4638
4681
  ], Question.prototype, "type", 2);
4639
4682
  __decorateClass([
4640
- Column37({ name: "options", type: "jsonb", nullable: true })
4683
+ Column38({ name: "options", type: "jsonb", nullable: true })
4641
4684
  ], Question.prototype, "options", 2);
4642
4685
  __decorateClass([
4643
- Column37({ name: "is_active", type: "boolean", default: false })
4686
+ Column38({ name: "is_active", type: "boolean", default: false })
4644
4687
  ], Question.prototype, "isActive", 2);
4645
4688
  Question = __decorateClass([
4646
- Entity36("questions")
4689
+ Entity37("questions")
4647
4690
  ], Question);
4648
4691
 
4649
4692
  // src/entities/job-role.entity.ts
4650
- import { Entity as Entity37, Column as Column38 } from "typeorm";
4693
+ import { Entity as Entity38, Column as Column39 } from "typeorm";
4651
4694
  var JobRoles = class extends BaseEntity {
4652
4695
  };
4653
4696
  __decorateClass([
4654
- Column38({ name: "slug", type: "varchar", nullable: true, unique: true })
4697
+ Column39({ name: "slug", type: "varchar", nullable: true, unique: true })
4655
4698
  ], JobRoles.prototype, "slug", 2);
4656
4699
  __decorateClass([
4657
- Column38({ name: "name", type: "varchar", nullable: true })
4700
+ Column39({ name: "name", type: "varchar", nullable: true })
4658
4701
  ], JobRoles.prototype, "name", 2);
4659
4702
  __decorateClass([
4660
- Column38({ name: "is_active", type: "boolean", default: true })
4703
+ Column39({ name: "is_active", type: "boolean", default: true })
4661
4704
  ], JobRoles.prototype, "isActive", 2);
4662
4705
  JobRoles = __decorateClass([
4663
- Entity37("job_roles")
4706
+ Entity38("job_roles")
4664
4707
  ], JobRoles);
4665
4708
 
4666
4709
  // src/entities/plan.entity.ts
4667
- import { Entity as Entity39, Column as Column40, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
4710
+ import { Entity as Entity40, Column as Column41, ManyToMany as ManyToMany3, JoinTable } from "typeorm";
4668
4711
 
4669
4712
  // src/entities/feature.entity.ts
4670
- import { Entity as Entity38, Column as Column39, ManyToMany as ManyToMany2 } from "typeorm";
4713
+ import { Entity as Entity39, Column as Column40, ManyToMany as ManyToMany2 } from "typeorm";
4671
4714
  var Feature = class extends BaseEntity {
4672
4715
  };
4673
4716
  __decorateClass([
4674
- Column39({ name: "name", type: "varchar", unique: true })
4717
+ Column40({ name: "name", type: "varchar", unique: true })
4675
4718
  ], Feature.prototype, "name", 2);
4676
4719
  __decorateClass([
4677
4720
  ManyToMany2(() => Plan, (plan) => plan.features)
4678
4721
  ], Feature.prototype, "plans", 2);
4679
4722
  Feature = __decorateClass([
4680
- Entity38("features")
4723
+ Entity39("features")
4681
4724
  ], Feature);
4682
4725
 
4683
4726
  // src/entities/plan.entity.ts
4684
4727
  var Plan = class extends BaseEntity {
4685
4728
  };
4686
4729
  __decorateClass([
4687
- Column40({ name: "name", type: "varchar", unique: true })
4730
+ Column41({ name: "name", type: "varchar", unique: true })
4688
4731
  ], Plan.prototype, "name", 2);
4689
4732
  __decorateClass([
4690
- Column40({ name: "description", type: "varchar", nullable: true })
4733
+ Column41({ name: "description", type: "varchar", nullable: true })
4691
4734
  ], Plan.prototype, "description", 2);
4692
4735
  __decorateClass([
4693
- Column40({ name: "price", type: "decimal", precision: 10, scale: 2 })
4736
+ Column41({ name: "price", type: "decimal", precision: 10, scale: 2 })
4694
4737
  ], Plan.prototype, "price", 2);
4695
4738
  __decorateClass([
4696
- Column40({ name: "billing_period", type: "varchar" })
4739
+ Column41({ name: "billing_period", type: "varchar" })
4697
4740
  ], Plan.prototype, "billingPeriod", 2);
4698
4741
  __decorateClass([
4699
- Column40({ name: "is_current", type: "boolean", default: false })
4742
+ Column41({ name: "is_current", type: "boolean", default: false })
4700
4743
  ], Plan.prototype, "isCurrent", 2);
4701
4744
  __decorateClass([
4702
4745
  ManyToMany3(() => Feature, (feature) => feature.plans, { cascade: true }),
4703
4746
  JoinTable()
4704
4747
  ], Plan.prototype, "features", 2);
4705
4748
  Plan = __decorateClass([
4706
- Entity39("plans")
4749
+ Entity40("plans")
4707
4750
  ], Plan);
4708
4751
 
4709
4752
  // src/entities/cms.entity.ts
4710
- import { Entity as Entity40, Column as Column41 } from "typeorm";
4753
+ import { Entity as Entity41, Column as Column42 } from "typeorm";
4711
4754
  var Cms = class extends BaseEntity {
4712
4755
  };
4713
4756
  __decorateClass([
4714
- Column41({ name: "title", type: "varchar", nullable: true })
4757
+ Column42({ name: "title", type: "varchar", nullable: true })
4715
4758
  ], Cms.prototype, "title", 2);
4716
4759
  __decorateClass([
4717
- Column41({ name: "slug", type: "varchar", nullable: true, unique: true })
4760
+ Column42({ name: "slug", type: "varchar", nullable: true, unique: true })
4718
4761
  ], Cms.prototype, "slug", 2);
4719
4762
  __decorateClass([
4720
- Column41({ name: "content", type: "varchar", nullable: true })
4763
+ Column42({ name: "content", type: "varchar", nullable: true })
4721
4764
  ], Cms.prototype, "content", 2);
4722
4765
  __decorateClass([
4723
- Column41({ name: "is_active", type: "boolean", default: true })
4766
+ Column42({ name: "is_active", type: "boolean", default: true })
4724
4767
  ], Cms.prototype, "isActive", 2);
4725
4768
  Cms = __decorateClass([
4726
- Entity40("cms")
4769
+ Entity41("cms")
4727
4770
  ], Cms);
4728
4771
 
4729
4772
  // src/entities/lead.entity.ts
4730
4773
  import {
4731
- Entity as Entity41,
4732
- Column as Column42
4774
+ Entity as Entity42,
4775
+ Column as Column43
4733
4776
  } from "typeorm";
4734
4777
  var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
4735
4778
  CategoryEmum2["BUSINESS"] = "BUSINESS";
@@ -4739,22 +4782,22 @@ var CategoryEmum = /* @__PURE__ */ ((CategoryEmum2) => {
4739
4782
  var Lead = class extends BaseEntity {
4740
4783
  };
4741
4784
  __decorateClass([
4742
- Column42({ name: "name", type: "varchar", nullable: true })
4785
+ Column43({ name: "name", type: "varchar", nullable: true })
4743
4786
  ], Lead.prototype, "name", 2);
4744
4787
  __decorateClass([
4745
- Column42({ name: "mobile_code", type: "varchar", nullable: true })
4788
+ Column43({ name: "mobile_code", type: "varchar", nullable: true })
4746
4789
  ], Lead.prototype, "mobileCode", 2);
4747
4790
  __decorateClass([
4748
- Column42({ name: "mobile", type: "varchar", nullable: true })
4791
+ Column43({ name: "mobile", type: "varchar", nullable: true })
4749
4792
  ], Lead.prototype, "mobile", 2);
4750
4793
  __decorateClass([
4751
- Column42({ name: "email", type: "varchar", nullable: true })
4794
+ Column43({ name: "email", type: "varchar", nullable: true })
4752
4795
  ], Lead.prototype, "email", 2);
4753
4796
  __decorateClass([
4754
- Column42({ name: "description", type: "varchar", nullable: true })
4797
+ Column43({ name: "description", type: "varchar", nullable: true })
4755
4798
  ], Lead.prototype, "description", 2);
4756
4799
  __decorateClass([
4757
- Column42({
4800
+ Column43({
4758
4801
  name: "category",
4759
4802
  type: "enum",
4760
4803
  enum: CategoryEmum,
@@ -4762,7 +4805,7 @@ __decorateClass([
4762
4805
  })
4763
4806
  ], Lead.prototype, "category", 2);
4764
4807
  Lead = __decorateClass([
4765
- Entity41("leads")
4808
+ Entity42("leads")
4766
4809
  ], Lead);
4767
4810
  export {
4768
4811
  ADMIN_FREELANCER_PATTERN,
@@ -4926,6 +4969,7 @@ export {
4926
4969
  SendGuestOtpDto,
4927
4970
  SendGuestOtpPurposeEnum,
4928
4971
  SenseloafLog,
4972
+ SequenceGenerator,
4929
4973
  SetPasswordDto,
4930
4974
  Skill,
4931
4975
  State,
@@ -1,5 +1,6 @@
1
1
  export declare const PROFILE_PATTERN: {
2
2
  fetchFreelancerProfile: string;
3
+ fetchFreelancerPublicProfile: string;
3
4
  fetchFreelancerScreeningResult: string;
4
5
  changeFreelancerPassword: string;
5
6
  uploadFreelancerProfilePic: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.249",
3
+ "version": "1.0.251",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",