@experts_hub/shared 1.0.129 → 1.0.132
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/entities/index.d.ts +1 -1
- package/dist/entities/{resume-parser-log.entity.d.ts → senseloaf-log.entity.d.ts} +3 -1
- package/dist/entities/user.entity.d.ts +2 -2
- package/dist/index.d.mts +91 -3
- package/dist/index.d.ts +91 -3
- package/dist/index.js +77 -21
- package/dist/index.mjs +72 -20
- package/dist/modules/company-member/company-member.interface.d.ts +60 -0
- package/dist/modules/company-member/dto/create-company-member.dto.d.ts +4 -0
- package/dist/modules/company-member/dto/index.d.ts +3 -0
- package/dist/modules/company-member/dto/toggle-company-member-visibility.dto.d.ts +3 -0
- package/dist/modules/company-member/dto/update-company-member.dto.d.ts +4 -0
- package/dist/modules/company-member/index.d.ts +3 -0
- package/dist/modules/company-member/pattern/pattern.d.ts +10 -0
- package/dist/modules/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/entities/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './base.entity';
|
|
2
2
|
export * from './user.entity';
|
|
3
3
|
export * from './refresh-token.entity';
|
|
4
|
-
export * from './
|
|
4
|
+
export * from './senseloaf-log.entity';
|
|
5
5
|
export * from './question.entity';
|
|
6
6
|
export * from './otp.entity';
|
|
7
7
|
export * from './freelancer-profile.entity';
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { User } from "./user.entity";
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class SenseloafLog {
|
|
3
3
|
id: number;
|
|
4
4
|
userId: number;
|
|
5
|
+
type: string;
|
|
5
6
|
endpoint: string;
|
|
6
7
|
success: boolean;
|
|
7
8
|
request: any;
|
|
8
9
|
response: any;
|
|
9
10
|
errorMessage: string;
|
|
11
|
+
scope: string;
|
|
10
12
|
createdAt: Date;
|
|
11
13
|
user: User;
|
|
12
14
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseEntity } from "./base.entity";
|
|
2
2
|
import { RefreshToken } from "./refresh-token.entity";
|
|
3
|
-
import {
|
|
3
|
+
import { SenseloafLog } from "./senseloaf-log.entity";
|
|
4
4
|
import { Otp } from "./otp.entity";
|
|
5
5
|
import { FreelancerProfile } from "./freelancer-profile.entity";
|
|
6
6
|
import { CompanyProfile } from "./company-profile.entity";
|
|
@@ -58,7 +58,7 @@ export declare class User extends BaseEntity {
|
|
|
58
58
|
googleId: string;
|
|
59
59
|
gitLabsId: string;
|
|
60
60
|
otps: Otp[];
|
|
61
|
-
|
|
61
|
+
senseloafLogs: SenseloafLog[];
|
|
62
62
|
freelancerProfile: FreelancerProfile;
|
|
63
63
|
companyProfile: CompanyProfile;
|
|
64
64
|
jobs: Job[];
|
package/dist/index.d.mts
CHANGED
|
@@ -265,14 +265,16 @@ declare class RefreshToken {
|
|
|
265
265
|
user: User;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
declare class
|
|
268
|
+
declare class SenseloafLog {
|
|
269
269
|
id: number;
|
|
270
270
|
userId: number;
|
|
271
|
+
type: string;
|
|
271
272
|
endpoint: string;
|
|
272
273
|
success: boolean;
|
|
273
274
|
request: any;
|
|
274
275
|
response: any;
|
|
275
276
|
errorMessage: string;
|
|
277
|
+
scope: string;
|
|
276
278
|
createdAt: Date;
|
|
277
279
|
user: User;
|
|
278
280
|
}
|
|
@@ -542,7 +544,7 @@ declare class User extends BaseEntity {
|
|
|
542
544
|
googleId: string;
|
|
543
545
|
gitLabsId: string;
|
|
544
546
|
otps: Otp[];
|
|
545
|
-
|
|
547
|
+
senseloafLogs: SenseloafLog[];
|
|
546
548
|
freelancerProfile: FreelancerProfile;
|
|
547
549
|
companyProfile: CompanyProfile;
|
|
548
550
|
jobs: Job[];
|
|
@@ -999,6 +1001,92 @@ declare class UpdateFreelancerExperienceDto {
|
|
|
999
1001
|
experience: UpdateExperienceDto[];
|
|
1000
1002
|
}
|
|
1001
1003
|
|
|
1004
|
+
declare const COMPANY_MEMBERS_PATTERNS: {
|
|
1005
|
+
fetchCompanyMembers: string;
|
|
1006
|
+
fetchAllCompanyMembersDropdown: string;
|
|
1007
|
+
findCompanyMemberById: string;
|
|
1008
|
+
createCompanyMember: string;
|
|
1009
|
+
updateCompanyMember: string;
|
|
1010
|
+
deleteCompanyMember: string;
|
|
1011
|
+
toggleCompanyMemberStatus: string;
|
|
1012
|
+
fetchAllDeletedCompanyMembers: string;
|
|
1013
|
+
};
|
|
1014
|
+
|
|
1015
|
+
declare class CreateCompanyMemberDto {
|
|
1016
|
+
name: string;
|
|
1017
|
+
email: string;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
declare class UpdateCompanyMemberDto {
|
|
1021
|
+
name: string;
|
|
1022
|
+
email: string;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
declare class ToggleCompanyMemberVisibilityDto {
|
|
1026
|
+
isActive: boolean;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
interface IFetchCompanyMemberQuery {
|
|
1030
|
+
page_size?: number;
|
|
1031
|
+
page: number;
|
|
1032
|
+
searchText?: string;
|
|
1033
|
+
name: string;
|
|
1034
|
+
right: string;
|
|
1035
|
+
sortColumn?: string;
|
|
1036
|
+
sortBy?: string;
|
|
1037
|
+
}
|
|
1038
|
+
interface IFetchCompanyMembersResponse {
|
|
1039
|
+
statusCode: number;
|
|
1040
|
+
status: boolean;
|
|
1041
|
+
message: string;
|
|
1042
|
+
data: any;
|
|
1043
|
+
}
|
|
1044
|
+
interface IFetchCompanyMemberByIdQuery {
|
|
1045
|
+
permission?: string;
|
|
1046
|
+
}
|
|
1047
|
+
interface IFetchCompanyMemberByIdResponse {
|
|
1048
|
+
statusCode: number;
|
|
1049
|
+
status: boolean;
|
|
1050
|
+
message: string;
|
|
1051
|
+
data: any;
|
|
1052
|
+
}
|
|
1053
|
+
interface ICreateCompanyMemberPayload {
|
|
1054
|
+
name: string;
|
|
1055
|
+
email: string;
|
|
1056
|
+
}
|
|
1057
|
+
interface ICreateCompanyMemberResponse {
|
|
1058
|
+
statusCode: number;
|
|
1059
|
+
status: boolean;
|
|
1060
|
+
message: string;
|
|
1061
|
+
}
|
|
1062
|
+
interface IUpdateCompanyMemberPayload {
|
|
1063
|
+
name: string;
|
|
1064
|
+
email: string;
|
|
1065
|
+
}
|
|
1066
|
+
interface IUpdateCompanyMemberResponse {
|
|
1067
|
+
statusCode: number;
|
|
1068
|
+
status: boolean;
|
|
1069
|
+
message: string;
|
|
1070
|
+
}
|
|
1071
|
+
interface IToggleCompanyMemberVisibilityPayload {
|
|
1072
|
+
isActive: boolean;
|
|
1073
|
+
}
|
|
1074
|
+
interface IToggleCompanyMemberVisibilityResponse {
|
|
1075
|
+
statusCode: number;
|
|
1076
|
+
status: boolean;
|
|
1077
|
+
message: string;
|
|
1078
|
+
}
|
|
1079
|
+
interface IDeleteCompanyMemberResponse {
|
|
1080
|
+
statusCode: number;
|
|
1081
|
+
status: boolean;
|
|
1082
|
+
message: string;
|
|
1083
|
+
}
|
|
1084
|
+
interface IAttachPermissionsToCompanyMemberResponse {
|
|
1085
|
+
statusCode: number;
|
|
1086
|
+
status: boolean;
|
|
1087
|
+
message: string;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1002
1090
|
declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
1003
1091
|
|
|
1004
1092
|
declare const JobTCPAdapter: () => MicroserviceOptions;
|
|
@@ -1049,4 +1137,4 @@ declare class Plan extends BaseEntity {
|
|
|
1049
1137
|
features: Feature[];
|
|
1050
1138
|
}
|
|
1051
1139
|
|
|
1052
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_ROLES_PATTERNS, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyRoleDto, CreateExperienceDto, CreateFreelancerExperienceDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EmploymentType, FREELANCER_EXPERIENCE_PATTERN, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerExperience, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, 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 IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, 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, Plan, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto,
|
|
1140
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateExperienceDto, CreateFreelancerExperienceDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EmploymentType, FREELANCER_EXPERIENCE_PATTERN, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerExperience, FreelancerProfile, FreelancerProfileQuestionDto, 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, 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, Plan, 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, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateExperienceDto, UpdateFreelancerExperienceDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.d.ts
CHANGED
|
@@ -265,14 +265,16 @@ declare class RefreshToken {
|
|
|
265
265
|
user: User;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
declare class
|
|
268
|
+
declare class SenseloafLog {
|
|
269
269
|
id: number;
|
|
270
270
|
userId: number;
|
|
271
|
+
type: string;
|
|
271
272
|
endpoint: string;
|
|
272
273
|
success: boolean;
|
|
273
274
|
request: any;
|
|
274
275
|
response: any;
|
|
275
276
|
errorMessage: string;
|
|
277
|
+
scope: string;
|
|
276
278
|
createdAt: Date;
|
|
277
279
|
user: User;
|
|
278
280
|
}
|
|
@@ -542,7 +544,7 @@ declare class User extends BaseEntity {
|
|
|
542
544
|
googleId: string;
|
|
543
545
|
gitLabsId: string;
|
|
544
546
|
otps: Otp[];
|
|
545
|
-
|
|
547
|
+
senseloafLogs: SenseloafLog[];
|
|
546
548
|
freelancerProfile: FreelancerProfile;
|
|
547
549
|
companyProfile: CompanyProfile;
|
|
548
550
|
jobs: Job[];
|
|
@@ -999,6 +1001,92 @@ declare class UpdateFreelancerExperienceDto {
|
|
|
999
1001
|
experience: UpdateExperienceDto[];
|
|
1000
1002
|
}
|
|
1001
1003
|
|
|
1004
|
+
declare const COMPANY_MEMBERS_PATTERNS: {
|
|
1005
|
+
fetchCompanyMembers: string;
|
|
1006
|
+
fetchAllCompanyMembersDropdown: string;
|
|
1007
|
+
findCompanyMemberById: string;
|
|
1008
|
+
createCompanyMember: string;
|
|
1009
|
+
updateCompanyMember: string;
|
|
1010
|
+
deleteCompanyMember: string;
|
|
1011
|
+
toggleCompanyMemberStatus: string;
|
|
1012
|
+
fetchAllDeletedCompanyMembers: string;
|
|
1013
|
+
};
|
|
1014
|
+
|
|
1015
|
+
declare class CreateCompanyMemberDto {
|
|
1016
|
+
name: string;
|
|
1017
|
+
email: string;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
declare class UpdateCompanyMemberDto {
|
|
1021
|
+
name: string;
|
|
1022
|
+
email: string;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
declare class ToggleCompanyMemberVisibilityDto {
|
|
1026
|
+
isActive: boolean;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
interface IFetchCompanyMemberQuery {
|
|
1030
|
+
page_size?: number;
|
|
1031
|
+
page: number;
|
|
1032
|
+
searchText?: string;
|
|
1033
|
+
name: string;
|
|
1034
|
+
right: string;
|
|
1035
|
+
sortColumn?: string;
|
|
1036
|
+
sortBy?: string;
|
|
1037
|
+
}
|
|
1038
|
+
interface IFetchCompanyMembersResponse {
|
|
1039
|
+
statusCode: number;
|
|
1040
|
+
status: boolean;
|
|
1041
|
+
message: string;
|
|
1042
|
+
data: any;
|
|
1043
|
+
}
|
|
1044
|
+
interface IFetchCompanyMemberByIdQuery {
|
|
1045
|
+
permission?: string;
|
|
1046
|
+
}
|
|
1047
|
+
interface IFetchCompanyMemberByIdResponse {
|
|
1048
|
+
statusCode: number;
|
|
1049
|
+
status: boolean;
|
|
1050
|
+
message: string;
|
|
1051
|
+
data: any;
|
|
1052
|
+
}
|
|
1053
|
+
interface ICreateCompanyMemberPayload {
|
|
1054
|
+
name: string;
|
|
1055
|
+
email: string;
|
|
1056
|
+
}
|
|
1057
|
+
interface ICreateCompanyMemberResponse {
|
|
1058
|
+
statusCode: number;
|
|
1059
|
+
status: boolean;
|
|
1060
|
+
message: string;
|
|
1061
|
+
}
|
|
1062
|
+
interface IUpdateCompanyMemberPayload {
|
|
1063
|
+
name: string;
|
|
1064
|
+
email: string;
|
|
1065
|
+
}
|
|
1066
|
+
interface IUpdateCompanyMemberResponse {
|
|
1067
|
+
statusCode: number;
|
|
1068
|
+
status: boolean;
|
|
1069
|
+
message: string;
|
|
1070
|
+
}
|
|
1071
|
+
interface IToggleCompanyMemberVisibilityPayload {
|
|
1072
|
+
isActive: boolean;
|
|
1073
|
+
}
|
|
1074
|
+
interface IToggleCompanyMemberVisibilityResponse {
|
|
1075
|
+
statusCode: number;
|
|
1076
|
+
status: boolean;
|
|
1077
|
+
message: string;
|
|
1078
|
+
}
|
|
1079
|
+
interface IDeleteCompanyMemberResponse {
|
|
1080
|
+
statusCode: number;
|
|
1081
|
+
status: boolean;
|
|
1082
|
+
message: string;
|
|
1083
|
+
}
|
|
1084
|
+
interface IAttachPermissionsToCompanyMemberResponse {
|
|
1085
|
+
statusCode: number;
|
|
1086
|
+
status: boolean;
|
|
1087
|
+
message: string;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1002
1090
|
declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
1003
1091
|
|
|
1004
1092
|
declare const JobTCPAdapter: () => MicroserviceOptions;
|
|
@@ -1049,4 +1137,4 @@ declare class Plan extends BaseEntity {
|
|
|
1049
1137
|
features: Feature[];
|
|
1050
1138
|
}
|
|
1051
1139
|
|
|
1052
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_ROLES_PATTERNS, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyRoleDto, CreateExperienceDto, CreateFreelancerExperienceDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EmploymentType, FREELANCER_EXPERIENCE_PATTERN, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerExperience, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, 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 IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, 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, Plan, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto,
|
|
1140
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateExperienceDto, CreateFreelancerExperienceDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EmploymentType, FREELANCER_EXPERIENCE_PATTERN, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerExperience, FreelancerProfile, FreelancerProfileQuestionDto, 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, 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, Plan, 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, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateExperienceDto, UpdateFreelancerExperienceDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.js
CHANGED
|
@@ -38,12 +38,14 @@ __export(index_exports, {
|
|
|
38
38
|
BankDetail: () => BankDetail,
|
|
39
39
|
BaseEntity: () => BaseEntity,
|
|
40
40
|
CLIENT_PROFILE_PATTERN: () => CLIENT_PROFILE_PATTERN,
|
|
41
|
+
COMPANY_MEMBERS_PATTERNS: () => COMPANY_MEMBERS_PATTERNS,
|
|
41
42
|
COMPANY_ROLES_PATTERNS: () => COMPANY_ROLES_PATTERNS,
|
|
42
43
|
ClientChangePasswordDto: () => ClientChangePasswordDto,
|
|
43
44
|
ClientCreateAccountDto: () => ClientCreateAccountDto,
|
|
44
45
|
ClientProfileQuestionDto: () => ClientProfileQuestionDto,
|
|
45
46
|
CompanyProfile: () => CompanyProfile,
|
|
46
47
|
CompanyRole: () => CompanyRole,
|
|
48
|
+
CreateCompanyMemberDto: () => CreateCompanyMemberDto,
|
|
47
49
|
CreateCompanyRoleDto: () => CreateCompanyRoleDto,
|
|
48
50
|
CreateExperienceDto: () => CreateExperienceDto,
|
|
49
51
|
CreateFreelancerExperienceDto: () => CreateFreelancerExperienceDto,
|
|
@@ -110,17 +112,19 @@ __export(index_exports, {
|
|
|
110
112
|
RefreshDto: () => RefreshDto,
|
|
111
113
|
RefreshToken: () => RefreshToken,
|
|
112
114
|
ResetPasswordDto: () => ResetPasswordDto,
|
|
113
|
-
ResumeParserLog: () => ResumeParserLog,
|
|
114
115
|
SUBADMIN_PATTERN: () => SUBADMIN_PATTERN,
|
|
115
116
|
SYSTEM_PREFERENCES_PATTERN: () => SYSTEM_PREFERENCES_PATTERN,
|
|
116
117
|
ScopeEnum: () => ScopeEnum,
|
|
118
|
+
SenseloafLog: () => SenseloafLog,
|
|
117
119
|
Skill: () => Skill,
|
|
118
120
|
Step: () => Step,
|
|
119
121
|
SystemPreference: () => SystemPreference,
|
|
120
122
|
SystemPreferenceDto: () => SystemPreferenceDto,
|
|
121
123
|
SystemPreferenceKey: () => SystemPreferenceKey,
|
|
124
|
+
ToggleCompanyMemberVisibilityDto: () => ToggleCompanyMemberVisibilityDto,
|
|
122
125
|
ToggleCompanyRoleVisibilityDto: () => ToggleCompanyRoleVisibilityDto,
|
|
123
126
|
TypeOfEmploymentEnum: () => TypeOfEmploymentEnum,
|
|
127
|
+
UpdateCompanyMemberDto: () => UpdateCompanyMemberDto,
|
|
124
128
|
UpdateCompanyProfileDto: () => UpdateCompanyProfileDto,
|
|
125
129
|
UpdateCompanyRoleDto: () => UpdateCompanyRoleDto,
|
|
126
130
|
UpdateExperienceDto: () => UpdateExperienceDto,
|
|
@@ -640,41 +644,47 @@ RefreshToken = __decorateClass([
|
|
|
640
644
|
(0, import_typeorm2.Entity)("refresh_tokens")
|
|
641
645
|
], RefreshToken);
|
|
642
646
|
|
|
643
|
-
// src/entities/
|
|
647
|
+
// src/entities/senseloaf-log.entity.ts
|
|
644
648
|
var import_typeorm3 = require("typeorm");
|
|
645
|
-
var
|
|
649
|
+
var SenseloafLog = class {
|
|
646
650
|
};
|
|
647
651
|
__decorateClass([
|
|
648
652
|
(0, import_typeorm3.PrimaryGeneratedColumn)("increment", { type: "integer" })
|
|
649
|
-
],
|
|
653
|
+
], SenseloafLog.prototype, "id", 2);
|
|
650
654
|
__decorateClass([
|
|
651
655
|
(0, import_typeorm3.Column)({ name: "user_id", type: "integer", nullable: true })
|
|
652
|
-
],
|
|
656
|
+
], SenseloafLog.prototype, "userId", 2);
|
|
657
|
+
__decorateClass([
|
|
658
|
+
(0, import_typeorm3.Column)({ name: "type", type: "varchar", nullable: true })
|
|
659
|
+
], SenseloafLog.prototype, "type", 2);
|
|
653
660
|
__decorateClass([
|
|
654
661
|
(0, import_typeorm3.Column)({ name: "end_point", type: "varchar" })
|
|
655
|
-
],
|
|
662
|
+
], SenseloafLog.prototype, "endpoint", 2);
|
|
656
663
|
__decorateClass([
|
|
657
664
|
(0, import_typeorm3.Column)({ name: "success", type: "boolean" })
|
|
658
|
-
],
|
|
665
|
+
], SenseloafLog.prototype, "success", 2);
|
|
659
666
|
__decorateClass([
|
|
660
667
|
(0, import_typeorm3.Column)({ name: "request", type: "jsonb", nullable: true })
|
|
661
|
-
],
|
|
668
|
+
], SenseloafLog.prototype, "request", 2);
|
|
662
669
|
__decorateClass([
|
|
663
670
|
(0, import_typeorm3.Column)({ name: "response", type: "jsonb", nullable: true })
|
|
664
|
-
],
|
|
671
|
+
], SenseloafLog.prototype, "response", 2);
|
|
665
672
|
__decorateClass([
|
|
666
673
|
(0, import_typeorm3.Column)({ name: "error_message", type: "text", nullable: true })
|
|
667
|
-
],
|
|
674
|
+
], SenseloafLog.prototype, "errorMessage", 2);
|
|
675
|
+
__decorateClass([
|
|
676
|
+
(0, import_typeorm3.Column)({ name: "scope", type: "varchar", nullable: true })
|
|
677
|
+
], SenseloafLog.prototype, "scope", 2);
|
|
668
678
|
__decorateClass([
|
|
669
679
|
(0, import_typeorm3.CreateDateColumn)({ name: "created_at", type: "timestamp with time zone" })
|
|
670
|
-
],
|
|
680
|
+
], SenseloafLog.prototype, "createdAt", 2);
|
|
671
681
|
__decorateClass([
|
|
672
|
-
(0, import_typeorm3.ManyToOne)(() => User, (user) => user.
|
|
682
|
+
(0, import_typeorm3.ManyToOne)(() => User, (user) => user.senseloafLogs),
|
|
673
683
|
(0, import_typeorm3.JoinColumn)({ name: "user_id" })
|
|
674
|
-
],
|
|
675
|
-
|
|
676
|
-
(0, import_typeorm3.Entity)("
|
|
677
|
-
],
|
|
684
|
+
], SenseloafLog.prototype, "user", 2);
|
|
685
|
+
SenseloafLog = __decorateClass([
|
|
686
|
+
(0, import_typeorm3.Entity)("senseloaf_logs")
|
|
687
|
+
], SenseloafLog);
|
|
678
688
|
|
|
679
689
|
// src/entities/otp.entity.ts
|
|
680
690
|
var import_typeorm4 = require("typeorm");
|
|
@@ -1499,8 +1509,8 @@ __decorateClass([
|
|
|
1499
1509
|
(0, import_typeorm15.OneToMany)(() => Otp, (otp) => otp.user)
|
|
1500
1510
|
], User.prototype, "otps", 2);
|
|
1501
1511
|
__decorateClass([
|
|
1502
|
-
(0, import_typeorm15.OneToMany)(() =>
|
|
1503
|
-
], User.prototype, "
|
|
1512
|
+
(0, import_typeorm15.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
|
|
1513
|
+
], User.prototype, "senseloafLogs", 2);
|
|
1504
1514
|
__decorateClass([
|
|
1505
1515
|
(0, import_typeorm15.OneToOne)(
|
|
1506
1516
|
() => FreelancerProfile,
|
|
@@ -2113,10 +2123,10 @@ var import_class_validator30 = require("class-validator");
|
|
|
2113
2123
|
var CreateCompanyRoleDto = class {
|
|
2114
2124
|
};
|
|
2115
2125
|
__decorateClass([
|
|
2116
|
-
(0, import_class_validator30.IsNotEmpty)({ message: "Please enter company name." })
|
|
2126
|
+
(0, import_class_validator30.IsNotEmpty)({ message: "Please enter company role name." })
|
|
2117
2127
|
], CreateCompanyRoleDto.prototype, "name", 2);
|
|
2118
2128
|
__decorateClass([
|
|
2119
|
-
(0, import_class_validator30.IsNotEmpty)({ message: "Please enter slug" })
|
|
2129
|
+
(0, import_class_validator30.IsNotEmpty)({ message: "Please enter company role slug" })
|
|
2120
2130
|
], CreateCompanyRoleDto.prototype, "slug", 2);
|
|
2121
2131
|
__decorateClass([
|
|
2122
2132
|
(0, import_class_validator30.IsNotEmpty)({ message: "Please enter description" })
|
|
@@ -2218,6 +2228,48 @@ __decorateClass([
|
|
|
2218
2228
|
(0, import_class_transformer3.Type)(() => UpdateExperienceDto)
|
|
2219
2229
|
], UpdateFreelancerExperienceDto.prototype, "experience", 2);
|
|
2220
2230
|
|
|
2231
|
+
// src/modules/company-member/pattern/pattern.ts
|
|
2232
|
+
var COMPANY_MEMBERS_PATTERNS = {
|
|
2233
|
+
fetchCompanyMembers: "company.members.fetch",
|
|
2234
|
+
fetchAllCompanyMembersDropdown: "company.members.fetch_dropdown",
|
|
2235
|
+
findCompanyMemberById: "company.member.find_by_id",
|
|
2236
|
+
createCompanyMember: "company.member.create",
|
|
2237
|
+
updateCompanyMember: "company.member.update",
|
|
2238
|
+
deleteCompanyMember: "company.member.delete",
|
|
2239
|
+
toggleCompanyMemberStatus: "company.member.toggle_status",
|
|
2240
|
+
fetchAllDeletedCompanyMembers: "company.members.fetch_deleted"
|
|
2241
|
+
};
|
|
2242
|
+
|
|
2243
|
+
// src/modules/company-member/dto/create-company-member.dto.ts
|
|
2244
|
+
var import_class_validator35 = require("class-validator");
|
|
2245
|
+
var CreateCompanyMemberDto = class {
|
|
2246
|
+
};
|
|
2247
|
+
__decorateClass([
|
|
2248
|
+
(0, import_class_validator35.IsNotEmpty)({ message: "Please enter name." })
|
|
2249
|
+
], CreateCompanyMemberDto.prototype, "name", 2);
|
|
2250
|
+
__decorateClass([
|
|
2251
|
+
(0, import_class_validator35.IsNotEmpty)({ message: "Please enter email" })
|
|
2252
|
+
], CreateCompanyMemberDto.prototype, "email", 2);
|
|
2253
|
+
|
|
2254
|
+
// src/modules/company-member/dto/update-company-member.dto.ts
|
|
2255
|
+
var import_class_validator36 = require("class-validator");
|
|
2256
|
+
var UpdateCompanyMemberDto = class {
|
|
2257
|
+
};
|
|
2258
|
+
__decorateClass([
|
|
2259
|
+
(0, import_class_validator36.IsNotEmpty)({ message: "Please enter name." })
|
|
2260
|
+
], UpdateCompanyMemberDto.prototype, "name", 2);
|
|
2261
|
+
__decorateClass([
|
|
2262
|
+
(0, import_class_validator36.IsNotEmpty)({ message: "Please enter email" })
|
|
2263
|
+
], UpdateCompanyMemberDto.prototype, "email", 2);
|
|
2264
|
+
|
|
2265
|
+
// src/modules/company-member/dto/toggle-company-member-visibility.dto.ts
|
|
2266
|
+
var import_class_validator37 = require("class-validator");
|
|
2267
|
+
var ToggleCompanyMemberVisibilityDto = class {
|
|
2268
|
+
};
|
|
2269
|
+
__decorateClass([
|
|
2270
|
+
(0, import_class_validator37.IsBoolean)()
|
|
2271
|
+
], ToggleCompanyMemberVisibilityDto.prototype, "isActive", 2);
|
|
2272
|
+
|
|
2221
2273
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
2222
2274
|
var import_dotenv = require("dotenv");
|
|
2223
2275
|
var import_microservices = require("@nestjs/microservices");
|
|
@@ -2545,12 +2597,14 @@ Plan = __decorateClass([
|
|
|
2545
2597
|
BankDetail,
|
|
2546
2598
|
BaseEntity,
|
|
2547
2599
|
CLIENT_PROFILE_PATTERN,
|
|
2600
|
+
COMPANY_MEMBERS_PATTERNS,
|
|
2548
2601
|
COMPANY_ROLES_PATTERNS,
|
|
2549
2602
|
ClientChangePasswordDto,
|
|
2550
2603
|
ClientCreateAccountDto,
|
|
2551
2604
|
ClientProfileQuestionDto,
|
|
2552
2605
|
CompanyProfile,
|
|
2553
2606
|
CompanyRole,
|
|
2607
|
+
CreateCompanyMemberDto,
|
|
2554
2608
|
CreateCompanyRoleDto,
|
|
2555
2609
|
CreateExperienceDto,
|
|
2556
2610
|
CreateFreelancerExperienceDto,
|
|
@@ -2617,17 +2671,19 @@ Plan = __decorateClass([
|
|
|
2617
2671
|
RefreshDto,
|
|
2618
2672
|
RefreshToken,
|
|
2619
2673
|
ResetPasswordDto,
|
|
2620
|
-
ResumeParserLog,
|
|
2621
2674
|
SUBADMIN_PATTERN,
|
|
2622
2675
|
SYSTEM_PREFERENCES_PATTERN,
|
|
2623
2676
|
ScopeEnum,
|
|
2677
|
+
SenseloafLog,
|
|
2624
2678
|
Skill,
|
|
2625
2679
|
Step,
|
|
2626
2680
|
SystemPreference,
|
|
2627
2681
|
SystemPreferenceDto,
|
|
2628
2682
|
SystemPreferenceKey,
|
|
2683
|
+
ToggleCompanyMemberVisibilityDto,
|
|
2629
2684
|
ToggleCompanyRoleVisibilityDto,
|
|
2630
2685
|
TypeOfEmploymentEnum,
|
|
2686
|
+
UpdateCompanyMemberDto,
|
|
2631
2687
|
UpdateCompanyProfileDto,
|
|
2632
2688
|
UpdateCompanyRoleDto,
|
|
2633
2689
|
UpdateExperienceDto,
|
package/dist/index.mjs
CHANGED
|
@@ -587,7 +587,7 @@ RefreshToken = __decorateClass([
|
|
|
587
587
|
Entity("refresh_tokens")
|
|
588
588
|
], RefreshToken);
|
|
589
589
|
|
|
590
|
-
// src/entities/
|
|
590
|
+
// src/entities/senseloaf-log.entity.ts
|
|
591
591
|
import {
|
|
592
592
|
Entity as Entity2,
|
|
593
593
|
PrimaryGeneratedColumn as PrimaryGeneratedColumn3,
|
|
@@ -596,39 +596,45 @@ import {
|
|
|
596
596
|
ManyToOne as ManyToOne2,
|
|
597
597
|
JoinColumn as JoinColumn2
|
|
598
598
|
} from "typeorm";
|
|
599
|
-
var
|
|
599
|
+
var SenseloafLog = class {
|
|
600
600
|
};
|
|
601
601
|
__decorateClass([
|
|
602
602
|
PrimaryGeneratedColumn3("increment", { type: "integer" })
|
|
603
|
-
],
|
|
603
|
+
], SenseloafLog.prototype, "id", 2);
|
|
604
604
|
__decorateClass([
|
|
605
605
|
Column3({ name: "user_id", type: "integer", nullable: true })
|
|
606
|
-
],
|
|
606
|
+
], SenseloafLog.prototype, "userId", 2);
|
|
607
|
+
__decorateClass([
|
|
608
|
+
Column3({ name: "type", type: "varchar", nullable: true })
|
|
609
|
+
], SenseloafLog.prototype, "type", 2);
|
|
607
610
|
__decorateClass([
|
|
608
611
|
Column3({ name: "end_point", type: "varchar" })
|
|
609
|
-
],
|
|
612
|
+
], SenseloafLog.prototype, "endpoint", 2);
|
|
610
613
|
__decorateClass([
|
|
611
614
|
Column3({ name: "success", type: "boolean" })
|
|
612
|
-
],
|
|
615
|
+
], SenseloafLog.prototype, "success", 2);
|
|
613
616
|
__decorateClass([
|
|
614
617
|
Column3({ name: "request", type: "jsonb", nullable: true })
|
|
615
|
-
],
|
|
618
|
+
], SenseloafLog.prototype, "request", 2);
|
|
616
619
|
__decorateClass([
|
|
617
620
|
Column3({ name: "response", type: "jsonb", nullable: true })
|
|
618
|
-
],
|
|
621
|
+
], SenseloafLog.prototype, "response", 2);
|
|
619
622
|
__decorateClass([
|
|
620
623
|
Column3({ name: "error_message", type: "text", nullable: true })
|
|
621
|
-
],
|
|
624
|
+
], SenseloafLog.prototype, "errorMessage", 2);
|
|
625
|
+
__decorateClass([
|
|
626
|
+
Column3({ name: "scope", type: "varchar", nullable: true })
|
|
627
|
+
], SenseloafLog.prototype, "scope", 2);
|
|
622
628
|
__decorateClass([
|
|
623
629
|
CreateDateColumn3({ name: "created_at", type: "timestamp with time zone" })
|
|
624
|
-
],
|
|
630
|
+
], SenseloafLog.prototype, "createdAt", 2);
|
|
625
631
|
__decorateClass([
|
|
626
|
-
ManyToOne2(() => User, (user) => user.
|
|
632
|
+
ManyToOne2(() => User, (user) => user.senseloafLogs),
|
|
627
633
|
JoinColumn2({ name: "user_id" })
|
|
628
|
-
],
|
|
629
|
-
|
|
630
|
-
Entity2("
|
|
631
|
-
],
|
|
634
|
+
], SenseloafLog.prototype, "user", 2);
|
|
635
|
+
SenseloafLog = __decorateClass([
|
|
636
|
+
Entity2("senseloaf_logs")
|
|
637
|
+
], SenseloafLog);
|
|
632
638
|
|
|
633
639
|
// src/entities/otp.entity.ts
|
|
634
640
|
import {
|
|
@@ -1498,8 +1504,8 @@ __decorateClass([
|
|
|
1498
1504
|
OneToMany6(() => Otp, (otp) => otp.user)
|
|
1499
1505
|
], User.prototype, "otps", 2);
|
|
1500
1506
|
__decorateClass([
|
|
1501
|
-
OneToMany6(() =>
|
|
1502
|
-
], User.prototype, "
|
|
1507
|
+
OneToMany6(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
|
|
1508
|
+
], User.prototype, "senseloafLogs", 2);
|
|
1503
1509
|
__decorateClass([
|
|
1504
1510
|
OneToOne(
|
|
1505
1511
|
() => FreelancerProfile,
|
|
@@ -2153,10 +2159,10 @@ import { IsBoolean as IsBoolean7, IsNotEmpty as IsNotEmpty23, IsOptional as IsOp
|
|
|
2153
2159
|
var CreateCompanyRoleDto = class {
|
|
2154
2160
|
};
|
|
2155
2161
|
__decorateClass([
|
|
2156
|
-
IsNotEmpty23({ message: "Please enter company name." })
|
|
2162
|
+
IsNotEmpty23({ message: "Please enter company role name." })
|
|
2157
2163
|
], CreateCompanyRoleDto.prototype, "name", 2);
|
|
2158
2164
|
__decorateClass([
|
|
2159
|
-
IsNotEmpty23({ message: "Please enter slug" })
|
|
2165
|
+
IsNotEmpty23({ message: "Please enter company role slug" })
|
|
2160
2166
|
], CreateCompanyRoleDto.prototype, "slug", 2);
|
|
2161
2167
|
__decorateClass([
|
|
2162
2168
|
IsNotEmpty23({ message: "Please enter description" })
|
|
@@ -2258,6 +2264,48 @@ __decorateClass([
|
|
|
2258
2264
|
Type3(() => UpdateExperienceDto)
|
|
2259
2265
|
], UpdateFreelancerExperienceDto.prototype, "experience", 2);
|
|
2260
2266
|
|
|
2267
|
+
// src/modules/company-member/pattern/pattern.ts
|
|
2268
|
+
var COMPANY_MEMBERS_PATTERNS = {
|
|
2269
|
+
fetchCompanyMembers: "company.members.fetch",
|
|
2270
|
+
fetchAllCompanyMembersDropdown: "company.members.fetch_dropdown",
|
|
2271
|
+
findCompanyMemberById: "company.member.find_by_id",
|
|
2272
|
+
createCompanyMember: "company.member.create",
|
|
2273
|
+
updateCompanyMember: "company.member.update",
|
|
2274
|
+
deleteCompanyMember: "company.member.delete",
|
|
2275
|
+
toggleCompanyMemberStatus: "company.member.toggle_status",
|
|
2276
|
+
fetchAllDeletedCompanyMembers: "company.members.fetch_deleted"
|
|
2277
|
+
};
|
|
2278
|
+
|
|
2279
|
+
// src/modules/company-member/dto/create-company-member.dto.ts
|
|
2280
|
+
import { IsNotEmpty as IsNotEmpty27 } from "class-validator";
|
|
2281
|
+
var CreateCompanyMemberDto = class {
|
|
2282
|
+
};
|
|
2283
|
+
__decorateClass([
|
|
2284
|
+
IsNotEmpty27({ message: "Please enter name." })
|
|
2285
|
+
], CreateCompanyMemberDto.prototype, "name", 2);
|
|
2286
|
+
__decorateClass([
|
|
2287
|
+
IsNotEmpty27({ message: "Please enter email" })
|
|
2288
|
+
], CreateCompanyMemberDto.prototype, "email", 2);
|
|
2289
|
+
|
|
2290
|
+
// src/modules/company-member/dto/update-company-member.dto.ts
|
|
2291
|
+
import { IsNotEmpty as IsNotEmpty28 } from "class-validator";
|
|
2292
|
+
var UpdateCompanyMemberDto = class {
|
|
2293
|
+
};
|
|
2294
|
+
__decorateClass([
|
|
2295
|
+
IsNotEmpty28({ message: "Please enter name." })
|
|
2296
|
+
], UpdateCompanyMemberDto.prototype, "name", 2);
|
|
2297
|
+
__decorateClass([
|
|
2298
|
+
IsNotEmpty28({ message: "Please enter email" })
|
|
2299
|
+
], UpdateCompanyMemberDto.prototype, "email", 2);
|
|
2300
|
+
|
|
2301
|
+
// src/modules/company-member/dto/toggle-company-member-visibility.dto.ts
|
|
2302
|
+
import { IsBoolean as IsBoolean12 } from "class-validator";
|
|
2303
|
+
var ToggleCompanyMemberVisibilityDto = class {
|
|
2304
|
+
};
|
|
2305
|
+
__decorateClass([
|
|
2306
|
+
IsBoolean12()
|
|
2307
|
+
], ToggleCompanyMemberVisibilityDto.prototype, "isActive", 2);
|
|
2308
|
+
|
|
2261
2309
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
2262
2310
|
import { config } from "dotenv";
|
|
2263
2311
|
import { Transport } from "@nestjs/microservices";
|
|
@@ -2584,12 +2632,14 @@ export {
|
|
|
2584
2632
|
BankDetail,
|
|
2585
2633
|
BaseEntity,
|
|
2586
2634
|
CLIENT_PROFILE_PATTERN,
|
|
2635
|
+
COMPANY_MEMBERS_PATTERNS,
|
|
2587
2636
|
COMPANY_ROLES_PATTERNS,
|
|
2588
2637
|
ClientChangePasswordDto,
|
|
2589
2638
|
ClientCreateAccountDto,
|
|
2590
2639
|
ClientProfileQuestionDto,
|
|
2591
2640
|
CompanyProfile,
|
|
2592
2641
|
CompanyRole,
|
|
2642
|
+
CreateCompanyMemberDto,
|
|
2593
2643
|
CreateCompanyRoleDto,
|
|
2594
2644
|
CreateExperienceDto,
|
|
2595
2645
|
CreateFreelancerExperienceDto,
|
|
@@ -2656,17 +2706,19 @@ export {
|
|
|
2656
2706
|
RefreshDto,
|
|
2657
2707
|
RefreshToken,
|
|
2658
2708
|
ResetPasswordDto,
|
|
2659
|
-
ResumeParserLog,
|
|
2660
2709
|
SUBADMIN_PATTERN,
|
|
2661
2710
|
SYSTEM_PREFERENCES_PATTERN,
|
|
2662
2711
|
ScopeEnum,
|
|
2712
|
+
SenseloafLog,
|
|
2663
2713
|
Skill,
|
|
2664
2714
|
Step,
|
|
2665
2715
|
SystemPreference,
|
|
2666
2716
|
SystemPreferenceDto,
|
|
2667
2717
|
SystemPreferenceKey,
|
|
2718
|
+
ToggleCompanyMemberVisibilityDto,
|
|
2668
2719
|
ToggleCompanyRoleVisibilityDto,
|
|
2669
2720
|
TypeOfEmploymentEnum,
|
|
2721
|
+
UpdateCompanyMemberDto,
|
|
2670
2722
|
UpdateCompanyProfileDto,
|
|
2671
2723
|
UpdateCompanyRoleDto,
|
|
2672
2724
|
UpdateExperienceDto,
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export interface IFetchCompanyMemberQuery {
|
|
2
|
+
page_size?: number;
|
|
3
|
+
page: number;
|
|
4
|
+
searchText?: string;
|
|
5
|
+
name: string;
|
|
6
|
+
right: string;
|
|
7
|
+
sortColumn?: string;
|
|
8
|
+
sortBy?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface IFetchCompanyMembersResponse {
|
|
11
|
+
statusCode: number;
|
|
12
|
+
status: boolean;
|
|
13
|
+
message: string;
|
|
14
|
+
data: any;
|
|
15
|
+
}
|
|
16
|
+
export interface IFetchCompanyMemberByIdQuery {
|
|
17
|
+
permission?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface IFetchCompanyMemberByIdResponse {
|
|
20
|
+
statusCode: number;
|
|
21
|
+
status: boolean;
|
|
22
|
+
message: string;
|
|
23
|
+
data: any;
|
|
24
|
+
}
|
|
25
|
+
export interface ICreateCompanyMemberPayload {
|
|
26
|
+
name: string;
|
|
27
|
+
email: string;
|
|
28
|
+
}
|
|
29
|
+
export interface ICreateCompanyMemberResponse {
|
|
30
|
+
statusCode: number;
|
|
31
|
+
status: boolean;
|
|
32
|
+
message: string;
|
|
33
|
+
}
|
|
34
|
+
export interface IUpdateCompanyMemberPayload {
|
|
35
|
+
name: string;
|
|
36
|
+
email: string;
|
|
37
|
+
}
|
|
38
|
+
export interface IUpdateCompanyMemberResponse {
|
|
39
|
+
statusCode: number;
|
|
40
|
+
status: boolean;
|
|
41
|
+
message: string;
|
|
42
|
+
}
|
|
43
|
+
export interface IToggleCompanyMemberVisibilityPayload {
|
|
44
|
+
isActive: boolean;
|
|
45
|
+
}
|
|
46
|
+
export interface IToggleCompanyMemberVisibilityResponse {
|
|
47
|
+
statusCode: number;
|
|
48
|
+
status: boolean;
|
|
49
|
+
message: string;
|
|
50
|
+
}
|
|
51
|
+
export interface IDeleteCompanyMemberResponse {
|
|
52
|
+
statusCode: number;
|
|
53
|
+
status: boolean;
|
|
54
|
+
message: string;
|
|
55
|
+
}
|
|
56
|
+
export interface IAttachPermissionsToCompanyMemberResponse {
|
|
57
|
+
statusCode: number;
|
|
58
|
+
status: boolean;
|
|
59
|
+
message: string;
|
|
60
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const COMPANY_MEMBERS_PATTERNS: {
|
|
2
|
+
fetchCompanyMembers: string;
|
|
3
|
+
fetchAllCompanyMembersDropdown: string;
|
|
4
|
+
findCompanyMemberById: string;
|
|
5
|
+
createCompanyMember: string;
|
|
6
|
+
updateCompanyMember: string;
|
|
7
|
+
deleteCompanyMember: string;
|
|
8
|
+
toggleCompanyMemberStatus: string;
|
|
9
|
+
fetchAllDeletedCompanyMembers: string;
|
|
10
|
+
};
|
package/dist/modules/index.d.ts
CHANGED