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