@experts_hub/shared 1.0.108 → 1.0.110
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 +26 -3
- package/dist/index.d.ts +26 -3
- package/dist/index.js +250 -197
- package/dist/index.mjs +187 -130
- package/dist/modules/authentication/dto/forgot-password.dto.d.ts +10 -0
- package/dist/modules/authentication/dto/index.d.ts +2 -0
- package/dist/modules/authentication/dto/reset-password.dto.d.ts +11 -0
- package/dist/modules/authentication/pattern/pattern.d.ts +2 -0
- package/dist/modules/notification/index.d.ts +1 -0
- package/dist/modules/notification/pattern/pattern.d.ts +4 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -8,9 +8,11 @@ declare const AUTHENTICATION_PATTERN: {
|
|
|
8
8
|
handleLogoutAll: string;
|
|
9
9
|
fetchSessions: string;
|
|
10
10
|
revokeSession: string;
|
|
11
|
+
handleForgotPassword: string;
|
|
12
|
+
handleResetPassword: string;
|
|
11
13
|
};
|
|
12
14
|
|
|
13
|
-
declare enum ScopeEnum {
|
|
15
|
+
declare enum ScopeEnum$2 {
|
|
14
16
|
ADMIN = "ADMIN",
|
|
15
17
|
CLIENT = "CLIENT",
|
|
16
18
|
FREELANCER = "FREELANCER"
|
|
@@ -18,7 +20,7 @@ declare enum ScopeEnum {
|
|
|
18
20
|
declare class LoginDto {
|
|
19
21
|
email: string;
|
|
20
22
|
password: string;
|
|
21
|
-
scope: ScopeEnum;
|
|
23
|
+
scope: ScopeEnum$2;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
declare class RefreshDto {
|
|
@@ -29,6 +31,27 @@ declare class LogoutDto {
|
|
|
29
31
|
refreshToken: string;
|
|
30
32
|
}
|
|
31
33
|
|
|
34
|
+
declare enum ScopeEnum$1 {
|
|
35
|
+
ADMIN = "ADMIN",
|
|
36
|
+
CLIENT = "CLIENT",
|
|
37
|
+
FREELANCER = "FREELANCER"
|
|
38
|
+
}
|
|
39
|
+
declare class ForgotPasswordDto {
|
|
40
|
+
email: string;
|
|
41
|
+
scope: ScopeEnum$1;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare enum ScopeEnum {
|
|
45
|
+
ADMIN = "ADMIN",
|
|
46
|
+
CLIENT = "CLIENT",
|
|
47
|
+
FREELANCER = "FREELANCER"
|
|
48
|
+
}
|
|
49
|
+
declare class ResetPasswordDto {
|
|
50
|
+
token: string;
|
|
51
|
+
password: string;
|
|
52
|
+
scope: ScopeEnum;
|
|
53
|
+
}
|
|
54
|
+
|
|
32
55
|
declare const OTP_PATTERN: {
|
|
33
56
|
handleSendOtp: string;
|
|
34
57
|
handleVerifyOtp: string;
|
|
@@ -759,4 +782,4 @@ declare class Plan extends BaseEntity {
|
|
|
759
782
|
features: Feature[];
|
|
760
783
|
}
|
|
761
784
|
|
|
762
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, Feature, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PLAN_PATTERN, PROFILE_PATTERN, Plan, Provider, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
|
785
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PLAN_PATTERN, PROFILE_PATTERN, Plan, Provider, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResetPasswordDto, ResumeParserLog, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.d.ts
CHANGED
|
@@ -8,9 +8,11 @@ declare const AUTHENTICATION_PATTERN: {
|
|
|
8
8
|
handleLogoutAll: string;
|
|
9
9
|
fetchSessions: string;
|
|
10
10
|
revokeSession: string;
|
|
11
|
+
handleForgotPassword: string;
|
|
12
|
+
handleResetPassword: string;
|
|
11
13
|
};
|
|
12
14
|
|
|
13
|
-
declare enum ScopeEnum {
|
|
15
|
+
declare enum ScopeEnum$2 {
|
|
14
16
|
ADMIN = "ADMIN",
|
|
15
17
|
CLIENT = "CLIENT",
|
|
16
18
|
FREELANCER = "FREELANCER"
|
|
@@ -18,7 +20,7 @@ declare enum ScopeEnum {
|
|
|
18
20
|
declare class LoginDto {
|
|
19
21
|
email: string;
|
|
20
22
|
password: string;
|
|
21
|
-
scope: ScopeEnum;
|
|
23
|
+
scope: ScopeEnum$2;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
declare class RefreshDto {
|
|
@@ -29,6 +31,27 @@ declare class LogoutDto {
|
|
|
29
31
|
refreshToken: string;
|
|
30
32
|
}
|
|
31
33
|
|
|
34
|
+
declare enum ScopeEnum$1 {
|
|
35
|
+
ADMIN = "ADMIN",
|
|
36
|
+
CLIENT = "CLIENT",
|
|
37
|
+
FREELANCER = "FREELANCER"
|
|
38
|
+
}
|
|
39
|
+
declare class ForgotPasswordDto {
|
|
40
|
+
email: string;
|
|
41
|
+
scope: ScopeEnum$1;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
declare enum ScopeEnum {
|
|
45
|
+
ADMIN = "ADMIN",
|
|
46
|
+
CLIENT = "CLIENT",
|
|
47
|
+
FREELANCER = "FREELANCER"
|
|
48
|
+
}
|
|
49
|
+
declare class ResetPasswordDto {
|
|
50
|
+
token: string;
|
|
51
|
+
password: string;
|
|
52
|
+
scope: ScopeEnum;
|
|
53
|
+
}
|
|
54
|
+
|
|
32
55
|
declare const OTP_PATTERN: {
|
|
33
56
|
handleSendOtp: string;
|
|
34
57
|
handleVerifyOtp: string;
|
|
@@ -759,4 +782,4 @@ declare class Plan extends BaseEntity {
|
|
|
759
782
|
features: Feature[];
|
|
760
783
|
}
|
|
761
784
|
|
|
762
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, Feature, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PLAN_PATTERN, PROFILE_PATTERN, Plan, Provider, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
|
785
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PLAN_PATTERN, PROFILE_PATTERN, Plan, Provider, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResetPasswordDto, ResumeParserLog, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|