@feresmeryas/microservices-common 1.5.31 → 1.5.32
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 +75 -20
- package/dist/index.d.ts +75 -20
- package/dist/index.js +522 -98
- package/dist/index.mjs +523 -113
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -25,6 +25,27 @@ declare enum BusinessSector {
|
|
|
25
25
|
LOGISTICS_OPERATIONS = "Logistics & Operations"
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
declare class SkillDto {
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
declare class EducationDto {
|
|
32
|
+
degree: string;
|
|
33
|
+
}
|
|
34
|
+
declare class CertificationDto {
|
|
35
|
+
certif: string;
|
|
36
|
+
}
|
|
37
|
+
declare class AddressDto {
|
|
38
|
+
adresse: string;
|
|
39
|
+
}
|
|
40
|
+
declare class ExperienceDto {
|
|
41
|
+
experience: string;
|
|
42
|
+
}
|
|
43
|
+
declare class PhoneDto {
|
|
44
|
+
number: string;
|
|
45
|
+
}
|
|
46
|
+
declare class LinkDto {
|
|
47
|
+
url: string;
|
|
48
|
+
}
|
|
28
49
|
declare class CreateUserDto {
|
|
29
50
|
email: string;
|
|
30
51
|
fullName: string;
|
|
@@ -34,10 +55,13 @@ declare class CreateUserDto {
|
|
|
34
55
|
businessSector?: BusinessSector;
|
|
35
56
|
bio?: string;
|
|
36
57
|
companyName?: string;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
58
|
+
skills?: SkillDto[];
|
|
59
|
+
education?: EducationDto[];
|
|
60
|
+
certifications?: CertificationDto[];
|
|
61
|
+
addresses?: AddressDto[];
|
|
62
|
+
experiences?: ExperienceDto[];
|
|
63
|
+
phones?: PhoneDto[];
|
|
64
|
+
links?: LinkDto[];
|
|
41
65
|
}
|
|
42
66
|
|
|
43
67
|
declare class CreateUserFireBaseDto {
|
|
@@ -81,6 +105,52 @@ declare class UpdatePasswordDto {
|
|
|
81
105
|
confirmNewPassword: string;
|
|
82
106
|
}
|
|
83
107
|
|
|
108
|
+
declare class SkillResponseDto {
|
|
109
|
+
id: string;
|
|
110
|
+
name: string;
|
|
111
|
+
}
|
|
112
|
+
declare class EducationResponseDto {
|
|
113
|
+
id: string;
|
|
114
|
+
degree: string;
|
|
115
|
+
}
|
|
116
|
+
declare class CertificationResponseDto {
|
|
117
|
+
id: string;
|
|
118
|
+
certif: string;
|
|
119
|
+
}
|
|
120
|
+
declare class AddressResponseDto {
|
|
121
|
+
id: string;
|
|
122
|
+
adresse: string;
|
|
123
|
+
}
|
|
124
|
+
declare class ExperienceResponseDto {
|
|
125
|
+
id: string;
|
|
126
|
+
experience: string;
|
|
127
|
+
}
|
|
128
|
+
declare class PhoneResponseDto {
|
|
129
|
+
id: string;
|
|
130
|
+
number: string;
|
|
131
|
+
}
|
|
132
|
+
declare class LinkResponseDto {
|
|
133
|
+
id: string;
|
|
134
|
+
url: string;
|
|
135
|
+
}
|
|
136
|
+
declare class ProfessionalProfileResponseDto {
|
|
137
|
+
id: string;
|
|
138
|
+
userId: string;
|
|
139
|
+
businessSector: BusinessSector;
|
|
140
|
+
bio?: string | null;
|
|
141
|
+
companyName?: string | null;
|
|
142
|
+
isVerified: boolean;
|
|
143
|
+
availabilityStatus: string;
|
|
144
|
+
createdAt: Date;
|
|
145
|
+
updatedAt: Date;
|
|
146
|
+
skills?: SkillResponseDto[];
|
|
147
|
+
education?: EducationResponseDto[];
|
|
148
|
+
certifications?: CertificationResponseDto[];
|
|
149
|
+
addresses?: AddressResponseDto[];
|
|
150
|
+
experiences?: ExperienceResponseDto[];
|
|
151
|
+
phones?: PhoneResponseDto[];
|
|
152
|
+
links?: LinkResponseDto[];
|
|
153
|
+
}
|
|
84
154
|
declare class UserResponseDto {
|
|
85
155
|
id: string;
|
|
86
156
|
email: string;
|
|
@@ -94,21 +164,6 @@ declare class UserResponseDto {
|
|
|
94
164
|
};
|
|
95
165
|
professionalProfile?: ProfessionalProfileResponseDto;
|
|
96
166
|
}
|
|
97
|
-
declare class ProfessionalProfileResponseDto {
|
|
98
|
-
id: string;
|
|
99
|
-
businessSector: BusinessSector;
|
|
100
|
-
bio?: string | null;
|
|
101
|
-
companyName?: string | null;
|
|
102
|
-
website?: string | null;
|
|
103
|
-
phone?: string | null;
|
|
104
|
-
location?: string | null;
|
|
105
|
-
yearsOfExperience?: number | null;
|
|
106
|
-
isVerified: boolean;
|
|
107
|
-
hourlyRate?: number | null;
|
|
108
|
-
availabilityStatus: string;
|
|
109
|
-
createdAt: Date;
|
|
110
|
-
updatedAt: Date;
|
|
111
|
-
}
|
|
112
167
|
|
|
113
168
|
declare class SearchUsersByFullNameDTO extends FindAllUsersDto {
|
|
114
169
|
fullName?: string;
|
|
@@ -410,4 +465,4 @@ declare class SearchTagsDto {
|
|
|
410
465
|
name: string;
|
|
411
466
|
}
|
|
412
467
|
|
|
413
|
-
export { BusinessSector, CommentFields, CommentLikeResponseDto, CommentResponseDto, CommentTreeDto, CreateCommentDto, CreateOrGetTagDto, CreatePostDto, CreatePostFileDto, CreateReportDto, CreateUserDto, CreateUserFireBaseDto, DeleteFileDto, type DeviceInfo, EmailParamDto, FileCategory, FileResponseDto, FindAllUsersDto, FindByRoleDto, ForgotPasswordDto, GetTagsBySectorDto, type IStorageProvider, LikeCommentDto, LikePostDto, LoginLocalDTO, PaginatedCommentLikesDto, PaginatedCommentsDto, PaginatedPostLikesDto, PaginatedPostsDto, PaginatedPostsSelfDto, PostFields, PostFileDto, PostLikeResponseDto, PostResponseDto, PostResponseSelfDto, ProfessionalProfileResponseDto, ReactionType, ReorderDto, ReportCategory, ReportStatus, ResetPasswordDto, RoleName, SearchTagsDto, SearchUsersByFullNameDTO, TagResponseDto, UpdateCommentDto, UpdatePasswordDto, UpdatePostDto, UpdateProfessionalProfileDto, UpdateUserDto, UploadFileDto, type UploadedFile, UserResponseDto, UserType };
|
|
468
|
+
export { AddressDto, AddressResponseDto, BusinessSector, CertificationDto, CertificationResponseDto, CommentFields, CommentLikeResponseDto, CommentResponseDto, CommentTreeDto, CreateCommentDto, CreateOrGetTagDto, CreatePostDto, CreatePostFileDto, CreateReportDto, CreateUserDto, CreateUserFireBaseDto, DeleteFileDto, type DeviceInfo, EducationDto, EducationResponseDto, EmailParamDto, ExperienceDto, ExperienceResponseDto, FileCategory, FileResponseDto, FindAllUsersDto, FindByRoleDto, ForgotPasswordDto, GetTagsBySectorDto, type IStorageProvider, LikeCommentDto, LikePostDto, LinkDto, LinkResponseDto, LoginLocalDTO, PaginatedCommentLikesDto, PaginatedCommentsDto, PaginatedPostLikesDto, PaginatedPostsDto, PaginatedPostsSelfDto, PhoneDto, PhoneResponseDto, PostFields, PostFileDto, PostLikeResponseDto, PostResponseDto, PostResponseSelfDto, ProfessionalProfileResponseDto, ReactionType, ReorderDto, ReportCategory, ReportStatus, ResetPasswordDto, RoleName, SearchTagsDto, SearchUsersByFullNameDTO, SkillDto, SkillResponseDto, TagResponseDto, UpdateCommentDto, UpdatePasswordDto, UpdatePostDto, UpdateProfessionalProfileDto, UpdateUserDto, UploadFileDto, type UploadedFile, UserResponseDto, UserType };
|
package/dist/index.d.ts
CHANGED
|
@@ -25,6 +25,27 @@ declare enum BusinessSector {
|
|
|
25
25
|
LOGISTICS_OPERATIONS = "Logistics & Operations"
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
declare class SkillDto {
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
declare class EducationDto {
|
|
32
|
+
degree: string;
|
|
33
|
+
}
|
|
34
|
+
declare class CertificationDto {
|
|
35
|
+
certif: string;
|
|
36
|
+
}
|
|
37
|
+
declare class AddressDto {
|
|
38
|
+
adresse: string;
|
|
39
|
+
}
|
|
40
|
+
declare class ExperienceDto {
|
|
41
|
+
experience: string;
|
|
42
|
+
}
|
|
43
|
+
declare class PhoneDto {
|
|
44
|
+
number: string;
|
|
45
|
+
}
|
|
46
|
+
declare class LinkDto {
|
|
47
|
+
url: string;
|
|
48
|
+
}
|
|
28
49
|
declare class CreateUserDto {
|
|
29
50
|
email: string;
|
|
30
51
|
fullName: string;
|
|
@@ -34,10 +55,13 @@ declare class CreateUserDto {
|
|
|
34
55
|
businessSector?: BusinessSector;
|
|
35
56
|
bio?: string;
|
|
36
57
|
companyName?: string;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
58
|
+
skills?: SkillDto[];
|
|
59
|
+
education?: EducationDto[];
|
|
60
|
+
certifications?: CertificationDto[];
|
|
61
|
+
addresses?: AddressDto[];
|
|
62
|
+
experiences?: ExperienceDto[];
|
|
63
|
+
phones?: PhoneDto[];
|
|
64
|
+
links?: LinkDto[];
|
|
41
65
|
}
|
|
42
66
|
|
|
43
67
|
declare class CreateUserFireBaseDto {
|
|
@@ -81,6 +105,52 @@ declare class UpdatePasswordDto {
|
|
|
81
105
|
confirmNewPassword: string;
|
|
82
106
|
}
|
|
83
107
|
|
|
108
|
+
declare class SkillResponseDto {
|
|
109
|
+
id: string;
|
|
110
|
+
name: string;
|
|
111
|
+
}
|
|
112
|
+
declare class EducationResponseDto {
|
|
113
|
+
id: string;
|
|
114
|
+
degree: string;
|
|
115
|
+
}
|
|
116
|
+
declare class CertificationResponseDto {
|
|
117
|
+
id: string;
|
|
118
|
+
certif: string;
|
|
119
|
+
}
|
|
120
|
+
declare class AddressResponseDto {
|
|
121
|
+
id: string;
|
|
122
|
+
adresse: string;
|
|
123
|
+
}
|
|
124
|
+
declare class ExperienceResponseDto {
|
|
125
|
+
id: string;
|
|
126
|
+
experience: string;
|
|
127
|
+
}
|
|
128
|
+
declare class PhoneResponseDto {
|
|
129
|
+
id: string;
|
|
130
|
+
number: string;
|
|
131
|
+
}
|
|
132
|
+
declare class LinkResponseDto {
|
|
133
|
+
id: string;
|
|
134
|
+
url: string;
|
|
135
|
+
}
|
|
136
|
+
declare class ProfessionalProfileResponseDto {
|
|
137
|
+
id: string;
|
|
138
|
+
userId: string;
|
|
139
|
+
businessSector: BusinessSector;
|
|
140
|
+
bio?: string | null;
|
|
141
|
+
companyName?: string | null;
|
|
142
|
+
isVerified: boolean;
|
|
143
|
+
availabilityStatus: string;
|
|
144
|
+
createdAt: Date;
|
|
145
|
+
updatedAt: Date;
|
|
146
|
+
skills?: SkillResponseDto[];
|
|
147
|
+
education?: EducationResponseDto[];
|
|
148
|
+
certifications?: CertificationResponseDto[];
|
|
149
|
+
addresses?: AddressResponseDto[];
|
|
150
|
+
experiences?: ExperienceResponseDto[];
|
|
151
|
+
phones?: PhoneResponseDto[];
|
|
152
|
+
links?: LinkResponseDto[];
|
|
153
|
+
}
|
|
84
154
|
declare class UserResponseDto {
|
|
85
155
|
id: string;
|
|
86
156
|
email: string;
|
|
@@ -94,21 +164,6 @@ declare class UserResponseDto {
|
|
|
94
164
|
};
|
|
95
165
|
professionalProfile?: ProfessionalProfileResponseDto;
|
|
96
166
|
}
|
|
97
|
-
declare class ProfessionalProfileResponseDto {
|
|
98
|
-
id: string;
|
|
99
|
-
businessSector: BusinessSector;
|
|
100
|
-
bio?: string | null;
|
|
101
|
-
companyName?: string | null;
|
|
102
|
-
website?: string | null;
|
|
103
|
-
phone?: string | null;
|
|
104
|
-
location?: string | null;
|
|
105
|
-
yearsOfExperience?: number | null;
|
|
106
|
-
isVerified: boolean;
|
|
107
|
-
hourlyRate?: number | null;
|
|
108
|
-
availabilityStatus: string;
|
|
109
|
-
createdAt: Date;
|
|
110
|
-
updatedAt: Date;
|
|
111
|
-
}
|
|
112
167
|
|
|
113
168
|
declare class SearchUsersByFullNameDTO extends FindAllUsersDto {
|
|
114
169
|
fullName?: string;
|
|
@@ -410,4 +465,4 @@ declare class SearchTagsDto {
|
|
|
410
465
|
name: string;
|
|
411
466
|
}
|
|
412
467
|
|
|
413
|
-
export { BusinessSector, CommentFields, CommentLikeResponseDto, CommentResponseDto, CommentTreeDto, CreateCommentDto, CreateOrGetTagDto, CreatePostDto, CreatePostFileDto, CreateReportDto, CreateUserDto, CreateUserFireBaseDto, DeleteFileDto, type DeviceInfo, EmailParamDto, FileCategory, FileResponseDto, FindAllUsersDto, FindByRoleDto, ForgotPasswordDto, GetTagsBySectorDto, type IStorageProvider, LikeCommentDto, LikePostDto, LoginLocalDTO, PaginatedCommentLikesDto, PaginatedCommentsDto, PaginatedPostLikesDto, PaginatedPostsDto, PaginatedPostsSelfDto, PostFields, PostFileDto, PostLikeResponseDto, PostResponseDto, PostResponseSelfDto, ProfessionalProfileResponseDto, ReactionType, ReorderDto, ReportCategory, ReportStatus, ResetPasswordDto, RoleName, SearchTagsDto, SearchUsersByFullNameDTO, TagResponseDto, UpdateCommentDto, UpdatePasswordDto, UpdatePostDto, UpdateProfessionalProfileDto, UpdateUserDto, UploadFileDto, type UploadedFile, UserResponseDto, UserType };
|
|
468
|
+
export { AddressDto, AddressResponseDto, BusinessSector, CertificationDto, CertificationResponseDto, CommentFields, CommentLikeResponseDto, CommentResponseDto, CommentTreeDto, CreateCommentDto, CreateOrGetTagDto, CreatePostDto, CreatePostFileDto, CreateReportDto, CreateUserDto, CreateUserFireBaseDto, DeleteFileDto, type DeviceInfo, EducationDto, EducationResponseDto, EmailParamDto, ExperienceDto, ExperienceResponseDto, FileCategory, FileResponseDto, FindAllUsersDto, FindByRoleDto, ForgotPasswordDto, GetTagsBySectorDto, type IStorageProvider, LikeCommentDto, LikePostDto, LinkDto, LinkResponseDto, LoginLocalDTO, PaginatedCommentLikesDto, PaginatedCommentsDto, PaginatedPostLikesDto, PaginatedPostsDto, PaginatedPostsSelfDto, PhoneDto, PhoneResponseDto, PostFields, PostFileDto, PostLikeResponseDto, PostResponseDto, PostResponseSelfDto, ProfessionalProfileResponseDto, ReactionType, ReorderDto, ReportCategory, ReportStatus, ResetPasswordDto, RoleName, SearchTagsDto, SearchUsersByFullNameDTO, SkillDto, SkillResponseDto, TagResponseDto, UpdateCommentDto, UpdatePasswordDto, UpdatePostDto, UpdateProfessionalProfileDto, UpdateUserDto, UploadFileDto, type UploadedFile, UserResponseDto, UserType };
|