@feresmeryas/microservices-common 1.5.42 → 1.5.44
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 +29 -89
- package/dist/index.d.ts +29 -89
- package/dist/index.js +906 -1369
- package/dist/index.mjs +885 -1333
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -25,47 +25,19 @@ 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 ExperienceDto {
|
|
38
|
-
experience: string;
|
|
39
|
-
}
|
|
40
|
-
declare class AddressDto {
|
|
41
|
-
address: string;
|
|
42
|
-
}
|
|
43
|
-
declare class PhoneDto {
|
|
44
|
-
number: string;
|
|
45
|
-
}
|
|
46
|
-
declare class LinkDto {
|
|
47
|
-
url: string;
|
|
48
|
-
}
|
|
49
|
-
declare class ProfessionalDataDto {
|
|
50
|
-
businessSector: BusinessSector;
|
|
51
|
-
bio?: string;
|
|
52
|
-
companyName?: string;
|
|
53
|
-
skills?: SkillDto[];
|
|
54
|
-
education?: EducationDto[];
|
|
55
|
-
certifications?: CertificationDto[];
|
|
56
|
-
experiences?: ExperienceDto[];
|
|
57
|
-
addresses?: AddressDto[];
|
|
58
|
-
phones?: PhoneDto[];
|
|
59
|
-
links?: LinkDto[];
|
|
60
|
-
}
|
|
61
|
-
|
|
62
28
|
declare class CreateUserDto {
|
|
63
29
|
email: string;
|
|
64
30
|
fullName: string;
|
|
65
31
|
password: string;
|
|
66
32
|
confirmPassword: string;
|
|
67
33
|
userType: UserType;
|
|
68
|
-
|
|
34
|
+
businessSector?: BusinessSector;
|
|
35
|
+
bio?: string;
|
|
36
|
+
companyName?: string;
|
|
37
|
+
website?: string;
|
|
38
|
+
phone?: string;
|
|
39
|
+
location?: string;
|
|
40
|
+
yearsOfExperience?: number;
|
|
69
41
|
}
|
|
70
42
|
|
|
71
43
|
declare class CreateUserFireBaseDto {
|
|
@@ -109,52 +81,6 @@ declare class UpdatePasswordDto {
|
|
|
109
81
|
confirmNewPassword: string;
|
|
110
82
|
}
|
|
111
83
|
|
|
112
|
-
declare class SkillResponseDto {
|
|
113
|
-
id: string;
|
|
114
|
-
name: string;
|
|
115
|
-
}
|
|
116
|
-
declare class EducationResponseDto {
|
|
117
|
-
id: string;
|
|
118
|
-
degree: string;
|
|
119
|
-
}
|
|
120
|
-
declare class CertificationResponseDto {
|
|
121
|
-
id: string;
|
|
122
|
-
certif: string;
|
|
123
|
-
}
|
|
124
|
-
declare class AddressResponseDto {
|
|
125
|
-
id: string;
|
|
126
|
-
adresse: string;
|
|
127
|
-
}
|
|
128
|
-
declare class ExperienceResponseDto {
|
|
129
|
-
id: string;
|
|
130
|
-
experience: string;
|
|
131
|
-
}
|
|
132
|
-
declare class PhoneResponseDto {
|
|
133
|
-
id: string;
|
|
134
|
-
number: string;
|
|
135
|
-
}
|
|
136
|
-
declare class LinkResponseDto {
|
|
137
|
-
id: string;
|
|
138
|
-
url: string;
|
|
139
|
-
}
|
|
140
|
-
declare class ProfessionalProfileResponseDto {
|
|
141
|
-
id: string;
|
|
142
|
-
userId: string;
|
|
143
|
-
businessSector: BusinessSector;
|
|
144
|
-
bio?: string | null;
|
|
145
|
-
companyName?: string | null;
|
|
146
|
-
isVerified: boolean;
|
|
147
|
-
availabilityStatus: string;
|
|
148
|
-
createdAt: Date;
|
|
149
|
-
updatedAt: Date;
|
|
150
|
-
skills?: SkillResponseDto[];
|
|
151
|
-
education?: EducationResponseDto[];
|
|
152
|
-
certifications?: CertificationResponseDto[];
|
|
153
|
-
addresses?: AddressResponseDto[];
|
|
154
|
-
experiences?: ExperienceResponseDto[];
|
|
155
|
-
phones?: PhoneResponseDto[];
|
|
156
|
-
links?: LinkResponseDto[];
|
|
157
|
-
}
|
|
158
84
|
declare class UserResponseDto {
|
|
159
85
|
id: string;
|
|
160
86
|
email: string;
|
|
@@ -168,6 +94,21 @@ declare class UserResponseDto {
|
|
|
168
94
|
};
|
|
169
95
|
professionalProfile?: ProfessionalProfileResponseDto;
|
|
170
96
|
}
|
|
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
|
+
}
|
|
171
112
|
|
|
172
113
|
declare class SearchUsersByFullNameDTO extends FindAllUsersDto {
|
|
173
114
|
fullName?: string;
|
|
@@ -177,13 +118,12 @@ declare class UpdateProfessionalProfileDto {
|
|
|
177
118
|
businessSector?: BusinessSector;
|
|
178
119
|
bio?: string;
|
|
179
120
|
companyName?: string;
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
links?: LinkDto[];
|
|
121
|
+
website?: string;
|
|
122
|
+
phone?: string;
|
|
123
|
+
location?: string;
|
|
124
|
+
yearsOfExperience?: number;
|
|
125
|
+
hourlyRate?: number;
|
|
126
|
+
availabilityStatus?: string;
|
|
187
127
|
}
|
|
188
128
|
|
|
189
129
|
declare enum ReportCategory {
|
|
@@ -470,4 +410,4 @@ declare class SearchTagsDto {
|
|
|
470
410
|
name: string;
|
|
471
411
|
}
|
|
472
412
|
|
|
473
|
-
export {
|
|
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -25,47 +25,19 @@ 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 ExperienceDto {
|
|
38
|
-
experience: string;
|
|
39
|
-
}
|
|
40
|
-
declare class AddressDto {
|
|
41
|
-
address: string;
|
|
42
|
-
}
|
|
43
|
-
declare class PhoneDto {
|
|
44
|
-
number: string;
|
|
45
|
-
}
|
|
46
|
-
declare class LinkDto {
|
|
47
|
-
url: string;
|
|
48
|
-
}
|
|
49
|
-
declare class ProfessionalDataDto {
|
|
50
|
-
businessSector: BusinessSector;
|
|
51
|
-
bio?: string;
|
|
52
|
-
companyName?: string;
|
|
53
|
-
skills?: SkillDto[];
|
|
54
|
-
education?: EducationDto[];
|
|
55
|
-
certifications?: CertificationDto[];
|
|
56
|
-
experiences?: ExperienceDto[];
|
|
57
|
-
addresses?: AddressDto[];
|
|
58
|
-
phones?: PhoneDto[];
|
|
59
|
-
links?: LinkDto[];
|
|
60
|
-
}
|
|
61
|
-
|
|
62
28
|
declare class CreateUserDto {
|
|
63
29
|
email: string;
|
|
64
30
|
fullName: string;
|
|
65
31
|
password: string;
|
|
66
32
|
confirmPassword: string;
|
|
67
33
|
userType: UserType;
|
|
68
|
-
|
|
34
|
+
businessSector?: BusinessSector;
|
|
35
|
+
bio?: string;
|
|
36
|
+
companyName?: string;
|
|
37
|
+
website?: string;
|
|
38
|
+
phone?: string;
|
|
39
|
+
location?: string;
|
|
40
|
+
yearsOfExperience?: number;
|
|
69
41
|
}
|
|
70
42
|
|
|
71
43
|
declare class CreateUserFireBaseDto {
|
|
@@ -109,52 +81,6 @@ declare class UpdatePasswordDto {
|
|
|
109
81
|
confirmNewPassword: string;
|
|
110
82
|
}
|
|
111
83
|
|
|
112
|
-
declare class SkillResponseDto {
|
|
113
|
-
id: string;
|
|
114
|
-
name: string;
|
|
115
|
-
}
|
|
116
|
-
declare class EducationResponseDto {
|
|
117
|
-
id: string;
|
|
118
|
-
degree: string;
|
|
119
|
-
}
|
|
120
|
-
declare class CertificationResponseDto {
|
|
121
|
-
id: string;
|
|
122
|
-
certif: string;
|
|
123
|
-
}
|
|
124
|
-
declare class AddressResponseDto {
|
|
125
|
-
id: string;
|
|
126
|
-
adresse: string;
|
|
127
|
-
}
|
|
128
|
-
declare class ExperienceResponseDto {
|
|
129
|
-
id: string;
|
|
130
|
-
experience: string;
|
|
131
|
-
}
|
|
132
|
-
declare class PhoneResponseDto {
|
|
133
|
-
id: string;
|
|
134
|
-
number: string;
|
|
135
|
-
}
|
|
136
|
-
declare class LinkResponseDto {
|
|
137
|
-
id: string;
|
|
138
|
-
url: string;
|
|
139
|
-
}
|
|
140
|
-
declare class ProfessionalProfileResponseDto {
|
|
141
|
-
id: string;
|
|
142
|
-
userId: string;
|
|
143
|
-
businessSector: BusinessSector;
|
|
144
|
-
bio?: string | null;
|
|
145
|
-
companyName?: string | null;
|
|
146
|
-
isVerified: boolean;
|
|
147
|
-
availabilityStatus: string;
|
|
148
|
-
createdAt: Date;
|
|
149
|
-
updatedAt: Date;
|
|
150
|
-
skills?: SkillResponseDto[];
|
|
151
|
-
education?: EducationResponseDto[];
|
|
152
|
-
certifications?: CertificationResponseDto[];
|
|
153
|
-
addresses?: AddressResponseDto[];
|
|
154
|
-
experiences?: ExperienceResponseDto[];
|
|
155
|
-
phones?: PhoneResponseDto[];
|
|
156
|
-
links?: LinkResponseDto[];
|
|
157
|
-
}
|
|
158
84
|
declare class UserResponseDto {
|
|
159
85
|
id: string;
|
|
160
86
|
email: string;
|
|
@@ -168,6 +94,21 @@ declare class UserResponseDto {
|
|
|
168
94
|
};
|
|
169
95
|
professionalProfile?: ProfessionalProfileResponseDto;
|
|
170
96
|
}
|
|
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
|
+
}
|
|
171
112
|
|
|
172
113
|
declare class SearchUsersByFullNameDTO extends FindAllUsersDto {
|
|
173
114
|
fullName?: string;
|
|
@@ -177,13 +118,12 @@ declare class UpdateProfessionalProfileDto {
|
|
|
177
118
|
businessSector?: BusinessSector;
|
|
178
119
|
bio?: string;
|
|
179
120
|
companyName?: string;
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
links?: LinkDto[];
|
|
121
|
+
website?: string;
|
|
122
|
+
phone?: string;
|
|
123
|
+
location?: string;
|
|
124
|
+
yearsOfExperience?: number;
|
|
125
|
+
hourlyRate?: number;
|
|
126
|
+
availabilityStatus?: string;
|
|
187
127
|
}
|
|
188
128
|
|
|
189
129
|
declare enum ReportCategory {
|
|
@@ -470,4 +410,4 @@ declare class SearchTagsDto {
|
|
|
470
410
|
name: string;
|
|
471
411
|
}
|
|
472
412
|
|
|
473
|
-
export {
|
|
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 };
|