@experts_hub/shared 1.0.153 → 1.0.155

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1155,7 +1155,7 @@ declare class EducationDto {
1155
1155
  yearOfGraduation: string;
1156
1156
  }
1157
1157
  declare class FreelancerEducationDto {
1158
- education: EducationDto[];
1158
+ educations: EducationDto[];
1159
1159
  }
1160
1160
 
1161
1161
  declare const FREELANCER_PROJECT_PATTERN: {
@@ -1179,10 +1179,14 @@ declare class CaseStudyDto {
1179
1179
  description?: string;
1180
1180
  }
1181
1181
  declare class FreelancerProjectDto {
1182
- project: ProjectDto[];
1183
- casestudy: CaseStudyDto[];
1182
+ projects: ProjectDto[];
1183
+ casestudies: CaseStudyDto[];
1184
1184
  }
1185
1185
 
1186
+ declare const PERMISSION_PATTERN: {
1187
+ fetchAllPermissionsDropdown: string;
1188
+ };
1189
+
1186
1190
  declare const UserTCPAdapter: () => MicroserviceOptions;
1187
1191
 
1188
1192
  declare const JobTCPAdapter: () => MicroserviceOptions;
@@ -1240,4 +1244,4 @@ declare class Permission extends BaseEntity {
1240
1244
  isActive: boolean;
1241
1245
  }
1242
1246
 
1243
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, 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, 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, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
1247
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, 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, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.d.ts CHANGED
@@ -1155,7 +1155,7 @@ declare class EducationDto {
1155
1155
  yearOfGraduation: string;
1156
1156
  }
1157
1157
  declare class FreelancerEducationDto {
1158
- education: EducationDto[];
1158
+ educations: EducationDto[];
1159
1159
  }
1160
1160
 
1161
1161
  declare const FREELANCER_PROJECT_PATTERN: {
@@ -1179,10 +1179,14 @@ declare class CaseStudyDto {
1179
1179
  description?: string;
1180
1180
  }
1181
1181
  declare class FreelancerProjectDto {
1182
- project: ProjectDto[];
1183
- casestudy: CaseStudyDto[];
1182
+ projects: ProjectDto[];
1183
+ casestudies: CaseStudyDto[];
1184
1184
  }
1185
1185
 
1186
+ declare const PERMISSION_PATTERN: {
1187
+ fetchAllPermissionsDropdown: string;
1188
+ };
1189
+
1186
1190
  declare const UserTCPAdapter: () => MicroserviceOptions;
1187
1191
 
1188
1192
  declare const JobTCPAdapter: () => MicroserviceOptions;
@@ -1240,4 +1244,4 @@ declare class Permission extends BaseEntity {
1240
1244
  isActive: boolean;
1241
1245
  }
1242
1246
 
1243
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, 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, 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, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
1247
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, 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, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.js CHANGED
@@ -110,6 +110,7 @@ __export(index_exports, {
110
110
  OTP_PATTERN: () => OTP_PATTERN,
111
111
  OnboardingStepEnum: () => OnboardingStepEnum,
112
112
  Otp: () => Otp,
113
+ PERMISSION_PATTERN: () => PERMISSION_PATTERN,
113
114
  PLAN_PATTERN: () => PLAN_PATTERN,
114
115
  PROFILE_PATTERN: () => PROFILE_PATTERN,
115
116
  Permission: () => Permission,
@@ -2476,15 +2477,15 @@ __decorateClass([
2476
2477
  ], EducationDto.prototype, "uuid", 2);
2477
2478
  __decorateClass([
2478
2479
  (0, import_class_validator38.IsString)(),
2479
- (0, import_class_validator38.IsNotEmpty)()
2480
+ (0, import_class_validator38.IsNotEmpty)({ message: "Please Enter Degree " })
2480
2481
  ], EducationDto.prototype, "degree", 2);
2481
2482
  __decorateClass([
2482
2483
  (0, import_class_validator38.IsString)(),
2483
- (0, import_class_validator38.IsNotEmpty)()
2484
+ (0, import_class_validator38.IsNotEmpty)({ message: "Please Enter University " })
2484
2485
  ], EducationDto.prototype, "university", 2);
2485
2486
  __decorateClass([
2486
2487
  (0, import_class_validator38.IsString)(),
2487
- (0, import_class_validator38.IsNotEmpty)()
2488
+ (0, import_class_validator38.IsNotEmpty)({ message: "Please Enter Year of Graduation " })
2488
2489
  ], EducationDto.prototype, "yearOfGraduation", 2);
2489
2490
  var FreelancerEducationDto = class {
2490
2491
  };
@@ -2492,7 +2493,7 @@ __decorateClass([
2492
2493
  (0, import_class_validator38.IsArray)(),
2493
2494
  (0, import_class_validator38.ValidateNested)({ each: true }),
2494
2495
  (0, import_class_transformer3.Type)(() => EducationDto)
2495
- ], FreelancerEducationDto.prototype, "education", 2);
2496
+ ], FreelancerEducationDto.prototype, "educations", 2);
2496
2497
 
2497
2498
  // src/modules/user/freelancer-project/pattern/pattern.ts
2498
2499
  var FREELANCER_PROJECT_PATTERN = {
@@ -2510,15 +2511,15 @@ __decorateClass([
2510
2511
  ], ProjectDto.prototype, "uuid", 2);
2511
2512
  __decorateClass([
2512
2513
  (0, import_class_validator39.IsString)(),
2513
- (0, import_class_validator39.IsNotEmpty)()
2514
+ (0, import_class_validator39.IsNotEmpty)({ message: "Please Enter Project Name " })
2514
2515
  ], ProjectDto.prototype, "projectName", 2);
2515
2516
  __decorateClass([
2516
2517
  (0, import_class_validator39.IsDateString)(),
2517
- (0, import_class_validator39.IsNotEmpty)()
2518
+ (0, import_class_validator39.IsNotEmpty)({ message: "Please Enter Start Date " })
2518
2519
  ], ProjectDto.prototype, "startDate", 2);
2519
2520
  __decorateClass([
2520
2521
  (0, import_class_validator39.IsDateString)(),
2521
- (0, import_class_validator39.IsNotEmpty)()
2522
+ (0, import_class_validator39.IsNotEmpty)({ message: "Please Enter End Date " })
2522
2523
  ], ProjectDto.prototype, "endDate", 2);
2523
2524
  __decorateClass([
2524
2525
  (0, import_class_validator39.IsOptional)(),
@@ -2540,15 +2541,16 @@ __decorateClass([
2540
2541
  ], CaseStudyDto.prototype, "uuid", 2);
2541
2542
  __decorateClass([
2542
2543
  (0, import_class_validator39.IsString)(),
2543
- (0, import_class_validator39.IsNotEmpty)()
2544
+ (0, import_class_validator39.IsNotEmpty)({ message: "Please Enter Project Name " })
2544
2545
  ], CaseStudyDto.prototype, "projectName", 2);
2545
2546
  __decorateClass([
2546
2547
  (0, import_class_validator39.IsString)(),
2547
- (0, import_class_validator39.IsNotEmpty)()
2548
+ (0, import_class_validator39.IsNotEmpty)({ message: "Please Enter Case Study Link " })
2548
2549
  ], CaseStudyDto.prototype, "caseStudyLink", 2);
2549
2550
  __decorateClass([
2550
2551
  (0, import_class_validator39.IsOptional)(),
2551
- (0, import_class_validator39.IsString)()
2552
+ (0, import_class_validator39.IsString)(),
2553
+ (0, import_class_validator39.MaxLength)(500, { message: "Description must not exceed 500 characters" })
2552
2554
  ], CaseStudyDto.prototype, "description", 2);
2553
2555
  var FreelancerProjectDto = class {
2554
2556
  };
@@ -2556,12 +2558,17 @@ __decorateClass([
2556
2558
  (0, import_class_validator39.IsArray)(),
2557
2559
  (0, import_class_validator39.ValidateNested)({ each: true }),
2558
2560
  (0, import_class_transformer4.Type)(() => ProjectDto)
2559
- ], FreelancerProjectDto.prototype, "project", 2);
2561
+ ], FreelancerProjectDto.prototype, "projects", 2);
2560
2562
  __decorateClass([
2561
2563
  (0, import_class_validator39.IsArray)(),
2562
2564
  (0, import_class_validator39.ValidateNested)({ each: true }),
2563
2565
  (0, import_class_transformer4.Type)(() => CaseStudyDto)
2564
- ], FreelancerProjectDto.prototype, "casestudy", 2);
2566
+ ], FreelancerProjectDto.prototype, "casestudies", 2);
2567
+
2568
+ // src/modules/permission/pattern/pattern.ts
2569
+ var PERMISSION_PATTERN = {
2570
+ fetchAllPermissionsDropdown: "permissions.fetch_dropdown"
2571
+ };
2565
2572
 
2566
2573
  // src/adapters/tcp/user.tcp.adapter.ts
2567
2574
  var import_dotenv = require("dotenv");
@@ -2983,6 +2990,7 @@ Permission = __decorateClass([
2983
2990
  OTP_PATTERN,
2984
2991
  OnboardingStepEnum,
2985
2992
  Otp,
2993
+ PERMISSION_PATTERN,
2986
2994
  PLAN_PATTERN,
2987
2995
  PROFILE_PATTERN,
2988
2996
  Permission,
package/dist/index.mjs CHANGED
@@ -2536,15 +2536,15 @@ __decorateClass([
2536
2536
  ], EducationDto.prototype, "uuid", 2);
2537
2537
  __decorateClass([
2538
2538
  IsString21(),
2539
- IsNotEmpty30()
2539
+ IsNotEmpty30({ message: "Please Enter Degree " })
2540
2540
  ], EducationDto.prototype, "degree", 2);
2541
2541
  __decorateClass([
2542
2542
  IsString21(),
2543
- IsNotEmpty30()
2543
+ IsNotEmpty30({ message: "Please Enter University " })
2544
2544
  ], EducationDto.prototype, "university", 2);
2545
2545
  __decorateClass([
2546
2546
  IsString21(),
2547
- IsNotEmpty30()
2547
+ IsNotEmpty30({ message: "Please Enter Year of Graduation " })
2548
2548
  ], EducationDto.prototype, "yearOfGraduation", 2);
2549
2549
  var FreelancerEducationDto = class {
2550
2550
  };
@@ -2552,7 +2552,7 @@ __decorateClass([
2552
2552
  IsArray2(),
2553
2553
  ValidateNested2({ each: true }),
2554
2554
  Type3(() => EducationDto)
2555
- ], FreelancerEducationDto.prototype, "education", 2);
2555
+ ], FreelancerEducationDto.prototype, "educations", 2);
2556
2556
 
2557
2557
  // src/modules/user/freelancer-project/pattern/pattern.ts
2558
2558
  var FREELANCER_PROJECT_PATTERN = {
@@ -2570,15 +2570,15 @@ __decorateClass([
2570
2570
  ], ProjectDto.prototype, "uuid", 2);
2571
2571
  __decorateClass([
2572
2572
  IsString22(),
2573
- IsNotEmpty31()
2573
+ IsNotEmpty31({ message: "Please Enter Project Name " })
2574
2574
  ], ProjectDto.prototype, "projectName", 2);
2575
2575
  __decorateClass([
2576
2576
  IsDateString(),
2577
- IsNotEmpty31()
2577
+ IsNotEmpty31({ message: "Please Enter Start Date " })
2578
2578
  ], ProjectDto.prototype, "startDate", 2);
2579
2579
  __decorateClass([
2580
2580
  IsDateString(),
2581
- IsNotEmpty31()
2581
+ IsNotEmpty31({ message: "Please Enter End Date " })
2582
2582
  ], ProjectDto.prototype, "endDate", 2);
2583
2583
  __decorateClass([
2584
2584
  IsOptional16(),
@@ -2600,15 +2600,16 @@ __decorateClass([
2600
2600
  ], CaseStudyDto.prototype, "uuid", 2);
2601
2601
  __decorateClass([
2602
2602
  IsString22(),
2603
- IsNotEmpty31()
2603
+ IsNotEmpty31({ message: "Please Enter Project Name " })
2604
2604
  ], CaseStudyDto.prototype, "projectName", 2);
2605
2605
  __decorateClass([
2606
2606
  IsString22(),
2607
- IsNotEmpty31()
2607
+ IsNotEmpty31({ message: "Please Enter Case Study Link " })
2608
2608
  ], CaseStudyDto.prototype, "caseStudyLink", 2);
2609
2609
  __decorateClass([
2610
2610
  IsOptional16(),
2611
- IsString22()
2611
+ IsString22(),
2612
+ MaxLength13(500, { message: "Description must not exceed 500 characters" })
2612
2613
  ], CaseStudyDto.prototype, "description", 2);
2613
2614
  var FreelancerProjectDto = class {
2614
2615
  };
@@ -2616,12 +2617,17 @@ __decorateClass([
2616
2617
  IsArray3(),
2617
2618
  ValidateNested3({ each: true }),
2618
2619
  Type4(() => ProjectDto)
2619
- ], FreelancerProjectDto.prototype, "project", 2);
2620
+ ], FreelancerProjectDto.prototype, "projects", 2);
2620
2621
  __decorateClass([
2621
2622
  IsArray3(),
2622
2623
  ValidateNested3({ each: true }),
2623
2624
  Type4(() => CaseStudyDto)
2624
- ], FreelancerProjectDto.prototype, "casestudy", 2);
2625
+ ], FreelancerProjectDto.prototype, "casestudies", 2);
2626
+
2627
+ // src/modules/permission/pattern/pattern.ts
2628
+ var PERMISSION_PATTERN = {
2629
+ fetchAllPermissionsDropdown: "permissions.fetch_dropdown"
2630
+ };
2625
2631
 
2626
2632
  // src/adapters/tcp/user.tcp.adapter.ts
2627
2633
  import { config } from "dotenv";
@@ -3042,6 +3048,7 @@ export {
3042
3048
  OTP_PATTERN,
3043
3049
  OnboardingStepEnum,
3044
3050
  Otp,
3051
+ PERMISSION_PATTERN,
3045
3052
  PLAN_PATTERN,
3046
3053
  PROFILE_PATTERN,
3047
3054
  Permission,
@@ -17,3 +17,4 @@ export * from './user/freelancer-experience';
17
17
  export * from './company-member';
18
18
  export * from './user/freelancer-education';
19
19
  export * from './user/freelancer-project';
20
+ export * from './permission';
@@ -0,0 +1 @@
1
+ export * from './pattern/pattern';
@@ -0,0 +1,3 @@
1
+ export declare const PERMISSION_PATTERN: {
2
+ fetchAllPermissionsDropdown: string;
3
+ };
@@ -5,5 +5,5 @@ export declare class EducationDto {
5
5
  yearOfGraduation: string;
6
6
  }
7
7
  export declare class FreelancerEducationDto {
8
- education: EducationDto[];
8
+ educations: EducationDto[];
9
9
  }
@@ -14,6 +14,6 @@ export declare class CaseStudyDto {
14
14
  description?: string;
15
15
  }
16
16
  export declare class FreelancerProjectDto {
17
- project: ProjectDto[];
18
- casestudy: CaseStudyDto[];
17
+ projects: ProjectDto[];
18
+ casestudies: CaseStudyDto[];
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.153",
3
+ "version": "1.0.155",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",