@experts_hub/shared 1.0.174 → 1.0.175

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.
@@ -0,0 +1,7 @@
1
+ import { BaseEntity } from "./base.entity";
2
+ export declare class Cms extends BaseEntity {
3
+ title: string;
4
+ slug: string;
5
+ content: string;
6
+ isActive: boolean;
7
+ }
@@ -29,3 +29,4 @@ export * from './feature.entity';
29
29
  export * from './system-preference.entity';
30
30
  export * from './rating.entity';
31
31
  export * from './permission.entity';
32
+ export * from './cms.entity';
package/dist/index.d.mts CHANGED
@@ -1318,6 +1318,26 @@ declare class FreelancerDeclarationDto {
1318
1318
  declarationAccepted: string;
1319
1319
  }
1320
1320
 
1321
+ declare const CMS_PATTERNS: {
1322
+ fetchCms: string;
1323
+ createCms: string;
1324
+ updateCms: string;
1325
+ deleteCms: string;
1326
+ };
1327
+
1328
+ declare class CreateCmsDto {
1329
+ title: string;
1330
+ content: string;
1331
+ isActive: boolean;
1332
+ }
1333
+
1334
+ declare class UpdateCmsDto {
1335
+ uuid: string;
1336
+ title: string;
1337
+ content: string;
1338
+ isActive: boolean;
1339
+ }
1340
+
1321
1341
  declare const UserTCPAdapter: () => MicroserviceOptions;
1322
1342
 
1323
1343
  declare const JobTCPAdapter: () => MicroserviceOptions;
@@ -1375,4 +1395,11 @@ declare class Permission extends BaseEntity {
1375
1395
  isActive: boolean;
1376
1396
  }
1377
1397
 
1378
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, AssessmentStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, 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 IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
1398
+ declare class Cms extends BaseEntity {
1399
+ title: string;
1400
+ slug: string;
1401
+ content: string;
1402
+ isActive: boolean;
1403
+ }
1404
+
1405
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, AssessmentStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyProfile, CompanyRole, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, 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 IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
package/dist/index.d.ts CHANGED
@@ -1318,6 +1318,26 @@ declare class FreelancerDeclarationDto {
1318
1318
  declarationAccepted: string;
1319
1319
  }
1320
1320
 
1321
+ declare const CMS_PATTERNS: {
1322
+ fetchCms: string;
1323
+ createCms: string;
1324
+ updateCms: string;
1325
+ deleteCms: string;
1326
+ };
1327
+
1328
+ declare class CreateCmsDto {
1329
+ title: string;
1330
+ content: string;
1331
+ isActive: boolean;
1332
+ }
1333
+
1334
+ declare class UpdateCmsDto {
1335
+ uuid: string;
1336
+ title: string;
1337
+ content: string;
1338
+ isActive: boolean;
1339
+ }
1340
+
1321
1341
  declare const UserTCPAdapter: () => MicroserviceOptions;
1322
1342
 
1323
1343
  declare const JobTCPAdapter: () => MicroserviceOptions;
@@ -1375,4 +1395,11 @@ declare class Permission extends BaseEntity {
1375
1395
  isActive: boolean;
1376
1396
  }
1377
1397
 
1378
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, AssessmentStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, 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 IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
1398
+ declare class Cms extends BaseEntity {
1399
+ title: string;
1400
+ slug: string;
1401
+ content: string;
1402
+ isActive: boolean;
1403
+ }
1404
+
1405
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, AssessmentStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_ADMIN_PATTERNS, CLIENT_PROFILE_PATTERN, CMS_PATTERNS, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, Cms, CompanyProfile, CompanyRole, CreateCmsDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DocumentType, DocumentTypeEnum, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_ADMIN_PATTERNS, FREELANCER_DECLARATION_PATTERN, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, FREELANCER_SKILL_PATTERN, Feature, ForgotPasswordDto, FreelancerAssessment, FreelancerBankDetailsDto, FreelancerCaptureAiAssessmentStatusDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCoreSkill, FreelancerCreateAccountDto, FreelancerDeclaration, FreelancerDeclarationDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerFramework, FreelancerInitiateAiAssessmentDto, FreelancerParseResumeDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, FreelancerSkillDto, FreelancerTool, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, 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 IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PERMISSION_PATTERN, PLAN_PATTERN, PROFILE_PATTERN, Permission, Plan, ProjectDto, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SendGuestOtpDto, SendGuestOtpPurposeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCmsDto, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter, VerifyGuestOtpDto, VerifyGuestOtpPurposeEnum };
package/dist/index.js CHANGED
@@ -40,14 +40,17 @@ __export(index_exports, {
40
40
  BaseEntity: () => BaseEntity,
41
41
  CLIENT_ADMIN_PATTERNS: () => CLIENT_ADMIN_PATTERNS,
42
42
  CLIENT_PROFILE_PATTERN: () => CLIENT_PROFILE_PATTERN,
43
+ CMS_PATTERNS: () => CMS_PATTERNS,
43
44
  COMPANY_MEMBERS_PATTERNS: () => COMPANY_MEMBERS_PATTERNS,
44
45
  COMPANY_ROLES_PATTERNS: () => COMPANY_ROLES_PATTERNS,
45
46
  CaseStudyDto: () => CaseStudyDto,
46
47
  ClientChangePasswordDto: () => ClientChangePasswordDto,
47
48
  ClientCreateAccountDto: () => ClientCreateAccountDto,
48
49
  ClientProfileQuestionDto: () => ClientProfileQuestionDto,
50
+ Cms: () => Cms,
49
51
  CompanyProfile: () => CompanyProfile,
50
52
  CompanyRole: () => CompanyRole,
53
+ CreateCmsDto: () => CreateCmsDto,
51
54
  CreateCompanyMemberDto: () => CreateCompanyMemberDto,
52
55
  CreateCompanyRoleDto: () => CreateCompanyRoleDto,
53
56
  CreateQuestionDto: () => CreateQuestionDto,
@@ -159,6 +162,7 @@ __export(index_exports, {
159
162
  ToggleCompanyMemberVisibilityDto: () => ToggleCompanyMemberVisibilityDto,
160
163
  ToggleCompanyRoleVisibilityDto: () => ToggleCompanyRoleVisibilityDto,
161
164
  TypeOfEmploymentEnum: () => TypeOfEmploymentEnum,
165
+ UpdateCmsDto: () => UpdateCmsDto,
162
166
  UpdateCompanyMemberDto: () => UpdateCompanyMemberDto,
163
167
  UpdateCompanyProfileDto: () => UpdateCompanyProfileDto,
164
168
  UpdateCompanyRoleDto: () => UpdateCompanyRoleDto,
@@ -2921,6 +2925,47 @@ __decorateClass([
2921
2925
  ])
2922
2926
  ], FreelancerDeclarationDto.prototype, "declarationAccepted", 2);
2923
2927
 
2928
+ // src/modules/cms/pattern/pattern.ts
2929
+ var CMS_PATTERNS = {
2930
+ fetchCms: "cms.fetch",
2931
+ createCms: "cms.create",
2932
+ updateCms: "cms.update",
2933
+ deleteCms: "cms.delete"
2934
+ };
2935
+
2936
+ // src/modules/cms/dto/create-cms.dto.ts
2937
+ var import_class_validator47 = require("class-validator");
2938
+ var CreateCmsDto = class {
2939
+ };
2940
+ __decorateClass([
2941
+ (0, import_class_validator47.IsNotEmpty)({ message: "Please enter name." })
2942
+ ], CreateCmsDto.prototype, "title", 2);
2943
+ __decorateClass([
2944
+ (0, import_class_validator47.IsOptional)()
2945
+ ], CreateCmsDto.prototype, "content", 2);
2946
+ __decorateClass([
2947
+ (0, import_class_validator47.IsOptional)(),
2948
+ (0, import_class_validator47.IsBoolean)({ message: "Is active must be a boolean value" })
2949
+ ], CreateCmsDto.prototype, "isActive", 2);
2950
+
2951
+ // src/modules/cms/dto/update-cms.dto.ts
2952
+ var import_class_validator48 = require("class-validator");
2953
+ var UpdateCmsDto = class {
2954
+ };
2955
+ __decorateClass([
2956
+ (0, import_class_validator48.IsOptional)()
2957
+ ], UpdateCmsDto.prototype, "uuid", 2);
2958
+ __decorateClass([
2959
+ (0, import_class_validator48.IsNotEmpty)({ message: "Please enter name." })
2960
+ ], UpdateCmsDto.prototype, "title", 2);
2961
+ __decorateClass([
2962
+ (0, import_class_validator48.IsOptional)()
2963
+ ], UpdateCmsDto.prototype, "content", 2);
2964
+ __decorateClass([
2965
+ (0, import_class_validator48.IsOptional)(),
2966
+ (0, import_class_validator48.IsBoolean)({ message: "Is active must be a boolean value" })
2967
+ ], UpdateCmsDto.prototype, "isActive", 2);
2968
+
2924
2969
  // src/adapters/tcp/user.tcp.adapter.ts
2925
2970
  var import_dotenv = require("dotenv");
2926
2971
  var import_microservices = require("@nestjs/microservices");
@@ -3256,6 +3301,26 @@ __decorateClass([
3256
3301
  Permission = __decorateClass([
3257
3302
  (0, import_typeorm31.Entity)("permissions")
3258
3303
  ], Permission);
3304
+
3305
+ // src/entities/cms.entity.ts
3306
+ var import_typeorm32 = require("typeorm");
3307
+ var Cms = class extends BaseEntity {
3308
+ };
3309
+ __decorateClass([
3310
+ (0, import_typeorm32.Column)({ name: "title", type: "varchar", nullable: true })
3311
+ ], Cms.prototype, "title", 2);
3312
+ __decorateClass([
3313
+ (0, import_typeorm32.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
3314
+ ], Cms.prototype, "slug", 2);
3315
+ __decorateClass([
3316
+ (0, import_typeorm32.Column)({ name: "content", type: "varchar", nullable: true })
3317
+ ], Cms.prototype, "content", 2);
3318
+ __decorateClass([
3319
+ (0, import_typeorm32.Column)({ name: "is_active", type: "boolean", default: true })
3320
+ ], Cms.prototype, "isActive", 2);
3321
+ Cms = __decorateClass([
3322
+ (0, import_typeorm32.Entity)("cms")
3323
+ ], Cms);
3259
3324
  // Annotate the CommonJS export names for ESM import in node:
3260
3325
  0 && (module.exports = {
3261
3326
  AUTHENTICATION_PATTERN,
@@ -3271,14 +3336,17 @@ Permission = __decorateClass([
3271
3336
  BaseEntity,
3272
3337
  CLIENT_ADMIN_PATTERNS,
3273
3338
  CLIENT_PROFILE_PATTERN,
3339
+ CMS_PATTERNS,
3274
3340
  COMPANY_MEMBERS_PATTERNS,
3275
3341
  COMPANY_ROLES_PATTERNS,
3276
3342
  CaseStudyDto,
3277
3343
  ClientChangePasswordDto,
3278
3344
  ClientCreateAccountDto,
3279
3345
  ClientProfileQuestionDto,
3346
+ Cms,
3280
3347
  CompanyProfile,
3281
3348
  CompanyRole,
3349
+ CreateCmsDto,
3282
3350
  CreateCompanyMemberDto,
3283
3351
  CreateCompanyRoleDto,
3284
3352
  CreateQuestionDto,
@@ -3390,6 +3458,7 @@ Permission = __decorateClass([
3390
3458
  ToggleCompanyMemberVisibilityDto,
3391
3459
  ToggleCompanyRoleVisibilityDto,
3392
3460
  TypeOfEmploymentEnum,
3461
+ UpdateCmsDto,
3393
3462
  UpdateCompanyMemberDto,
3394
3463
  UpdateCompanyProfileDto,
3395
3464
  UpdateCompanyRoleDto,
package/dist/index.mjs CHANGED
@@ -2989,6 +2989,47 @@ __decorateClass([
2989
2989
  ])
2990
2990
  ], FreelancerDeclarationDto.prototype, "declarationAccepted", 2);
2991
2991
 
2992
+ // src/modules/cms/pattern/pattern.ts
2993
+ var CMS_PATTERNS = {
2994
+ fetchCms: "cms.fetch",
2995
+ createCms: "cms.create",
2996
+ updateCms: "cms.update",
2997
+ deleteCms: "cms.delete"
2998
+ };
2999
+
3000
+ // src/modules/cms/dto/create-cms.dto.ts
3001
+ import { IsBoolean as IsBoolean12, IsNotEmpty as IsNotEmpty39, IsOptional as IsOptional19 } from "class-validator";
3002
+ var CreateCmsDto = class {
3003
+ };
3004
+ __decorateClass([
3005
+ IsNotEmpty39({ message: "Please enter name." })
3006
+ ], CreateCmsDto.prototype, "title", 2);
3007
+ __decorateClass([
3008
+ IsOptional19()
3009
+ ], CreateCmsDto.prototype, "content", 2);
3010
+ __decorateClass([
3011
+ IsOptional19(),
3012
+ IsBoolean12({ message: "Is active must be a boolean value" })
3013
+ ], CreateCmsDto.prototype, "isActive", 2);
3014
+
3015
+ // src/modules/cms/dto/update-cms.dto.ts
3016
+ import { IsBoolean as IsBoolean13, IsNotEmpty as IsNotEmpty40, IsOptional as IsOptional20 } from "class-validator";
3017
+ var UpdateCmsDto = class {
3018
+ };
3019
+ __decorateClass([
3020
+ IsOptional20()
3021
+ ], UpdateCmsDto.prototype, "uuid", 2);
3022
+ __decorateClass([
3023
+ IsNotEmpty40({ message: "Please enter name." })
3024
+ ], UpdateCmsDto.prototype, "title", 2);
3025
+ __decorateClass([
3026
+ IsOptional20()
3027
+ ], UpdateCmsDto.prototype, "content", 2);
3028
+ __decorateClass([
3029
+ IsOptional20(),
3030
+ IsBoolean13({ message: "Is active must be a boolean value" })
3031
+ ], UpdateCmsDto.prototype, "isActive", 2);
3032
+
2992
3033
  // src/adapters/tcp/user.tcp.adapter.ts
2993
3034
  import { config } from "dotenv";
2994
3035
  import { Transport } from "@nestjs/microservices";
@@ -3324,6 +3365,26 @@ __decorateClass([
3324
3365
  Permission = __decorateClass([
3325
3366
  Entity30("permissions")
3326
3367
  ], Permission);
3368
+
3369
+ // src/entities/cms.entity.ts
3370
+ import { Entity as Entity31, Column as Column32 } from "typeorm";
3371
+ var Cms = class extends BaseEntity {
3372
+ };
3373
+ __decorateClass([
3374
+ Column32({ name: "title", type: "varchar", nullable: true })
3375
+ ], Cms.prototype, "title", 2);
3376
+ __decorateClass([
3377
+ Column32({ name: "slug", type: "varchar", nullable: true, unique: true })
3378
+ ], Cms.prototype, "slug", 2);
3379
+ __decorateClass([
3380
+ Column32({ name: "content", type: "varchar", nullable: true })
3381
+ ], Cms.prototype, "content", 2);
3382
+ __decorateClass([
3383
+ Column32({ name: "is_active", type: "boolean", default: true })
3384
+ ], Cms.prototype, "isActive", 2);
3385
+ Cms = __decorateClass([
3386
+ Entity31("cms")
3387
+ ], Cms);
3327
3388
  export {
3328
3389
  AUTHENTICATION_PATTERN,
3329
3390
  AccountStatus,
@@ -3338,14 +3399,17 @@ export {
3338
3399
  BaseEntity,
3339
3400
  CLIENT_ADMIN_PATTERNS,
3340
3401
  CLIENT_PROFILE_PATTERN,
3402
+ CMS_PATTERNS,
3341
3403
  COMPANY_MEMBERS_PATTERNS,
3342
3404
  COMPANY_ROLES_PATTERNS,
3343
3405
  CaseStudyDto,
3344
3406
  ClientChangePasswordDto,
3345
3407
  ClientCreateAccountDto,
3346
3408
  ClientProfileQuestionDto,
3409
+ Cms,
3347
3410
  CompanyProfile,
3348
3411
  CompanyRole,
3412
+ CreateCmsDto,
3349
3413
  CreateCompanyMemberDto,
3350
3414
  CreateCompanyRoleDto,
3351
3415
  CreateQuestionDto,
@@ -3457,6 +3521,7 @@ export {
3457
3521
  ToggleCompanyMemberVisibilityDto,
3458
3522
  ToggleCompanyRoleVisibilityDto,
3459
3523
  TypeOfEmploymentEnum,
3524
+ UpdateCmsDto,
3460
3525
  UpdateCompanyMemberDto,
3461
3526
  UpdateCompanyProfileDto,
3462
3527
  UpdateCompanyRoleDto,
@@ -0,0 +1,5 @@
1
+ export declare class CreateCmsDto {
2
+ title: string;
3
+ content: string;
4
+ isActive: boolean;
5
+ }
@@ -0,0 +1,2 @@
1
+ export * from './create-cms.dto';
2
+ export * from './update-cms.dto';
@@ -0,0 +1,6 @@
1
+ export declare class UpdateCmsDto {
2
+ uuid: string;
3
+ title: string;
4
+ content: string;
5
+ isActive: boolean;
6
+ }
@@ -0,0 +1,2 @@
1
+ export * from './pattern/pattern';
2
+ export * from './dto';
@@ -0,0 +1,6 @@
1
+ export declare const CMS_PATTERNS: {
2
+ fetchCms: string;
3
+ createCms: string;
4
+ updateCms: string;
5
+ deleteCms: string;
6
+ };
@@ -22,3 +22,4 @@ export * from './user/freelancer-skill';
22
22
  export * from './freelancer-admin';
23
23
  export * from './client-admin';
24
24
  export * from './user/freelancer-declaration';
25
+ export * from './cms';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.174",
3
+ "version": "1.0.175",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",