@experts_hub/shared 1.0.250 → 1.0.252

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