@experts_hub/shared 1.0.154 → 1.0.156
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 +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +14 -9
- package/dist/index.mjs +26 -23
- package/dist/modules/index.d.ts +1 -0
- package/dist/modules/permission/index.d.ts +1 -0
- package/dist/modules/permission/pattern/pattern.d.ts +3 -0
- package/dist/modules/user/client-profile/dto/client-change-password.dto.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -259,8 +259,8 @@ declare class UpdateCompanyProfileDto {
|
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
declare class ClientChangePasswordDto {
|
|
262
|
-
oldPassword: string;
|
|
263
262
|
newPassword: string;
|
|
263
|
+
confirmPassword: string;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
interface IFetchClientProfileQuery {
|
|
@@ -1183,6 +1183,10 @@ declare class FreelancerProjectDto {
|
|
|
1183
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
|
@@ -259,8 +259,8 @@ declare class UpdateCompanyProfileDto {
|
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
declare class ClientChangePasswordDto {
|
|
262
|
-
oldPassword: string;
|
|
263
262
|
newPassword: string;
|
|
263
|
+
confirmPassword: string;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
interface IFetchClientProfileQuery {
|
|
@@ -1183,6 +1183,10 @@ declare class FreelancerProjectDto {
|
|
|
1183
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,
|
|
@@ -634,18 +635,16 @@ var import_class_validator19 = require("class-validator");
|
|
|
634
635
|
var ClientChangePasswordDto = class {
|
|
635
636
|
};
|
|
636
637
|
__decorateClass([
|
|
637
|
-
(0, import_class_validator19.IsNotEmpty)({ message: "Please enter Old Password." }),
|
|
638
|
-
(0, import_class_validator19.IsString)()
|
|
639
|
-
], ClientChangePasswordDto.prototype, "oldPassword", 2);
|
|
640
|
-
__decorateClass([
|
|
641
|
-
(0, import_class_validator19.IsNotEmpty)({ message: "Please enter New Password." }),
|
|
642
638
|
(0, import_class_validator19.IsString)(),
|
|
643
|
-
(0, import_class_validator19.MinLength)(
|
|
644
|
-
(0, import_class_validator19.
|
|
645
|
-
|
|
646
|
-
message: "New Password must include letters, numbers and symbols."
|
|
639
|
+
(0, import_class_validator19.MinLength)(8, { message: "Password must be at least 8 characters long." }),
|
|
640
|
+
(0, import_class_validator19.Matches)(/^(?=.*[A-Z])(?=.*\d).+$/, {
|
|
641
|
+
message: "Password must contain at least one uppercase letter and one number."
|
|
647
642
|
})
|
|
648
643
|
], ClientChangePasswordDto.prototype, "newPassword", 2);
|
|
644
|
+
__decorateClass([
|
|
645
|
+
(0, import_class_validator19.IsNotEmpty)({ message: "Please enter confirm password." }),
|
|
646
|
+
Match("newPassword", { message: "Passwords do not match" })
|
|
647
|
+
], ClientChangePasswordDto.prototype, "confirmPassword", 2);
|
|
649
648
|
|
|
650
649
|
// src/modules/question/pattern/pattern.ts
|
|
651
650
|
var QUESTION_PATTERN = {
|
|
@@ -2564,6 +2563,11 @@ __decorateClass([
|
|
|
2564
2563
|
(0, import_class_transformer4.Type)(() => CaseStudyDto)
|
|
2565
2564
|
], FreelancerProjectDto.prototype, "casestudies", 2);
|
|
2566
2565
|
|
|
2566
|
+
// src/modules/permission/pattern/pattern.ts
|
|
2567
|
+
var PERMISSION_PATTERN = {
|
|
2568
|
+
fetchAllPermissionsDropdown: "permissions.fetch_dropdown"
|
|
2569
|
+
};
|
|
2570
|
+
|
|
2567
2571
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
2568
2572
|
var import_dotenv = require("dotenv");
|
|
2569
2573
|
var import_microservices = require("@nestjs/microservices");
|
|
@@ -2984,6 +2988,7 @@ Permission = __decorateClass([
|
|
|
2984
2988
|
OTP_PATTERN,
|
|
2985
2989
|
OnboardingStepEnum,
|
|
2986
2990
|
Otp,
|
|
2991
|
+
PERMISSION_PATTERN,
|
|
2987
2992
|
PLAN_PATTERN,
|
|
2988
2993
|
PROFILE_PATTERN,
|
|
2989
2994
|
Permission,
|
package/dist/index.mjs
CHANGED
|
@@ -547,26 +547,23 @@ __decorateClass([
|
|
|
547
547
|
// src/modules/user/client-profile/dto/client-change-password.dto.ts
|
|
548
548
|
import {
|
|
549
549
|
IsString as IsString9,
|
|
550
|
-
IsNotEmpty as IsNotEmpty17,
|
|
551
|
-
MaxLength as MaxLength6,
|
|
552
550
|
MinLength as MinLength6,
|
|
553
|
-
Matches as Matches6
|
|
551
|
+
Matches as Matches6,
|
|
552
|
+
IsNotEmpty as IsNotEmpty17
|
|
554
553
|
} from "class-validator";
|
|
555
554
|
var ClientChangePasswordDto = class {
|
|
556
555
|
};
|
|
557
556
|
__decorateClass([
|
|
558
|
-
IsNotEmpty17({ message: "Please enter Old Password." }),
|
|
559
|
-
IsString9()
|
|
560
|
-
], ClientChangePasswordDto.prototype, "oldPassword", 2);
|
|
561
|
-
__decorateClass([
|
|
562
|
-
IsNotEmpty17({ message: "Please enter New Password." }),
|
|
563
557
|
IsString9(),
|
|
564
|
-
MinLength6(
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
message: "New Password must include letters, numbers and symbols."
|
|
558
|
+
MinLength6(8, { message: "Password must be at least 8 characters long." }),
|
|
559
|
+
Matches6(/^(?=.*[A-Z])(?=.*\d).+$/, {
|
|
560
|
+
message: "Password must contain at least one uppercase letter and one number."
|
|
568
561
|
})
|
|
569
562
|
], ClientChangePasswordDto.prototype, "newPassword", 2);
|
|
563
|
+
__decorateClass([
|
|
564
|
+
IsNotEmpty17({ message: "Please enter confirm password." }),
|
|
565
|
+
Match("newPassword", { message: "Passwords do not match" })
|
|
566
|
+
], ClientChangePasswordDto.prototype, "confirmPassword", 2);
|
|
570
567
|
|
|
571
568
|
// src/modules/question/pattern/pattern.ts
|
|
572
569
|
var QUESTION_PATTERN = {
|
|
@@ -698,23 +695,23 @@ __decorateClass([
|
|
|
698
695
|
], JobBasicInformationDto.prototype, "candidateCommunicationSkills", 2);
|
|
699
696
|
|
|
700
697
|
// src/modules/job/dto/job-additional-comment.dto.ts
|
|
701
|
-
import { IsOptional as IsOptional6, IsString as IsString11, MaxLength as
|
|
698
|
+
import { IsOptional as IsOptional6, IsString as IsString11, MaxLength as MaxLength6 } from "class-validator";
|
|
702
699
|
var JobAdditionalCommentDto = class {
|
|
703
700
|
};
|
|
704
701
|
__decorateClass([
|
|
705
702
|
IsOptional6(),
|
|
706
703
|
IsString11({ message: "Additional comment must be a string" }),
|
|
707
|
-
|
|
704
|
+
MaxLength6(500, { message: "Additional comment must not exceed 500 characters" })
|
|
708
705
|
], JobAdditionalCommentDto.prototype, "additionalComment", 2);
|
|
709
706
|
|
|
710
707
|
// src/modules/job/dto/job-description.dto.ts
|
|
711
|
-
import { IsString as IsString12, IsNotEmpty as IsNotEmpty20, MaxLength as
|
|
708
|
+
import { IsString as IsString12, IsNotEmpty as IsNotEmpty20, MaxLength as MaxLength7 } from "class-validator";
|
|
712
709
|
var JobDescriptionDto = class {
|
|
713
710
|
};
|
|
714
711
|
__decorateClass([
|
|
715
712
|
IsNotEmpty20({ message: "Please enter job description" }),
|
|
716
713
|
IsString12({ message: "Description must be a string" }),
|
|
717
|
-
|
|
714
|
+
MaxLength7(5e3, { message: "Description must not exceed 5000 characters" })
|
|
718
715
|
], JobDescriptionDto.prototype, "description", 2);
|
|
719
716
|
|
|
720
717
|
// src/modules/job/dto/job-status.dto.ts
|
|
@@ -758,7 +755,7 @@ var PROFILE_PATTERN = {
|
|
|
758
755
|
import {
|
|
759
756
|
IsString as IsString13,
|
|
760
757
|
IsNotEmpty as IsNotEmpty22,
|
|
761
|
-
MaxLength as
|
|
758
|
+
MaxLength as MaxLength8,
|
|
762
759
|
MinLength as MinLength7,
|
|
763
760
|
Matches as Matches7
|
|
764
761
|
} from "class-validator";
|
|
@@ -772,7 +769,7 @@ __decorateClass([
|
|
|
772
769
|
IsNotEmpty22({ message: "Please enter New Password." }),
|
|
773
770
|
IsString13(),
|
|
774
771
|
MinLength7(6),
|
|
775
|
-
|
|
772
|
+
MaxLength8(32),
|
|
776
773
|
Matches7(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
777
774
|
message: "New Password must include letters, numbers and symbols."
|
|
778
775
|
})
|
|
@@ -2443,7 +2440,7 @@ import {
|
|
|
2443
2440
|
IsNotEmpty as IsNotEmpty27,
|
|
2444
2441
|
IsOptional as IsOptional12,
|
|
2445
2442
|
IsString as IsString18,
|
|
2446
|
-
MaxLength as
|
|
2443
|
+
MaxLength as MaxLength10,
|
|
2447
2444
|
ValidateNested
|
|
2448
2445
|
} from "class-validator";
|
|
2449
2446
|
import { Type as Type2 } from "class-transformer";
|
|
@@ -2467,7 +2464,7 @@ __decorateClass([
|
|
|
2467
2464
|
__decorateClass([
|
|
2468
2465
|
IsNotEmpty27(),
|
|
2469
2466
|
IsString18(),
|
|
2470
|
-
|
|
2467
|
+
MaxLength10(500, { message: "Description must not exceed 500 characters" })
|
|
2471
2468
|
], ExperienceDto.prototype, "description", 2);
|
|
2472
2469
|
var FreelancerExperienceDto = class {
|
|
2473
2470
|
};
|
|
@@ -2561,7 +2558,7 @@ var FREELANCER_PROJECT_PATTERN = {
|
|
|
2561
2558
|
};
|
|
2562
2559
|
|
|
2563
2560
|
// src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
|
|
2564
|
-
import { IsArray as IsArray3, ValidateNested as ValidateNested3, IsString as IsString22, IsNotEmpty as IsNotEmpty31, IsOptional as IsOptional16, IsDateString, MaxLength as
|
|
2561
|
+
import { IsArray as IsArray3, ValidateNested as ValidateNested3, IsString as IsString22, IsNotEmpty as IsNotEmpty31, IsOptional as IsOptional16, IsDateString, MaxLength as MaxLength12 } from "class-validator";
|
|
2565
2562
|
import { Type as Type4 } from "class-transformer";
|
|
2566
2563
|
var ProjectDto = class {
|
|
2567
2564
|
};
|
|
@@ -2591,7 +2588,7 @@ __decorateClass([
|
|
|
2591
2588
|
__decorateClass([
|
|
2592
2589
|
IsOptional16(),
|
|
2593
2590
|
IsString22(),
|
|
2594
|
-
|
|
2591
|
+
MaxLength12(500, { message: "Description must not exceed 500 characters" })
|
|
2595
2592
|
], ProjectDto.prototype, "description", 2);
|
|
2596
2593
|
var CaseStudyDto = class {
|
|
2597
2594
|
};
|
|
@@ -2609,7 +2606,7 @@ __decorateClass([
|
|
|
2609
2606
|
__decorateClass([
|
|
2610
2607
|
IsOptional16(),
|
|
2611
2608
|
IsString22(),
|
|
2612
|
-
|
|
2609
|
+
MaxLength12(500, { message: "Description must not exceed 500 characters" })
|
|
2613
2610
|
], CaseStudyDto.prototype, "description", 2);
|
|
2614
2611
|
var FreelancerProjectDto = class {
|
|
2615
2612
|
};
|
|
@@ -2624,6 +2621,11 @@ __decorateClass([
|
|
|
2624
2621
|
Type4(() => CaseStudyDto)
|
|
2625
2622
|
], FreelancerProjectDto.prototype, "casestudies", 2);
|
|
2626
2623
|
|
|
2624
|
+
// src/modules/permission/pattern/pattern.ts
|
|
2625
|
+
var PERMISSION_PATTERN = {
|
|
2626
|
+
fetchAllPermissionsDropdown: "permissions.fetch_dropdown"
|
|
2627
|
+
};
|
|
2628
|
+
|
|
2627
2629
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
2628
2630
|
import { config } from "dotenv";
|
|
2629
2631
|
import { Transport } from "@nestjs/microservices";
|
|
@@ -3043,6 +3045,7 @@ export {
|
|
|
3043
3045
|
OTP_PATTERN,
|
|
3044
3046
|
OnboardingStepEnum,
|
|
3045
3047
|
Otp,
|
|
3048
|
+
PERMISSION_PATTERN,
|
|
3046
3049
|
PLAN_PATTERN,
|
|
3047
3050
|
PROFILE_PATTERN,
|
|
3048
3051
|
Permission,
|
package/dist/modules/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './pattern/pattern';
|