@feresmeryas/microservices-common 1.5.21 → 1.5.23

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 CHANGED
@@ -114,6 +114,18 @@ declare class SearchUsersByFullNameDTO extends FindAllUsersDto {
114
114
  fullName?: string;
115
115
  }
116
116
 
117
+ declare class UpdateProfessionalProfileDto {
118
+ businessSector?: BusinessSector;
119
+ bio?: string;
120
+ companyName?: string;
121
+ website?: string;
122
+ phone?: string;
123
+ location?: string;
124
+ yearsOfExperience?: number;
125
+ hourlyRate?: number;
126
+ availabilityStatus?: string;
127
+ }
128
+
117
129
  declare class DeleteFileDto {
118
130
  fileUrl: string;
119
131
  }
@@ -196,6 +208,12 @@ declare class PostFileDto {
196
208
  createdAt: Date;
197
209
  }
198
210
 
211
+ declare class TagResponseDto {
212
+ name: string;
213
+ slug: string;
214
+ id: string;
215
+ }
216
+
199
217
  declare class PostResponseDto {
200
218
  id: string;
201
219
  publisherId: string;
@@ -203,6 +221,7 @@ declare class PostResponseDto {
203
221
  publisherFullName: string;
204
222
  publisherProfilePictureUrl: string | null;
205
223
  files: PostFileDto[];
224
+ tags: TagResponseDto[];
206
225
  commentsCount: number;
207
226
  sector: BusinessSector;
208
227
  likesCount: number;
@@ -218,8 +237,8 @@ declare class PaginatedPostsDto {
218
237
  }
219
238
 
220
239
  declare class UpdatePostDto {
221
- description: string;
222
- sector: BusinessSector;
240
+ description?: string;
241
+ sector?: BusinessSector;
223
242
  }
224
243
 
225
244
  declare class PostFields {
@@ -347,4 +366,24 @@ declare class PaginatedCommentLikesDto {
347
366
  totalPages: number;
348
367
  }
349
368
 
350
- export { BusinessSector, CommentFields, CommentLikeResponseDto, CommentResponseDto, CommentTreeDto, CreateCommentDto, CreatePostDto, CreatePostFileDto, CreateUserDto, CreateUserFireBaseDto, DeleteFileDto, type DeviceInfo, EmailParamDto, FileCategory, FileResponseDto, FindAllUsersDto, FindByRoleDto, ForgotPasswordDto, type IStorageProvider, LikeCommentDto, LikePostDto, LoginLocalDTO, PaginatedCommentLikesDto, PaginatedCommentsDto, PaginatedPostLikesDto, PaginatedPostsDto, PaginatedPostsSelfDto, PostFields, PostFileDto, PostLikeResponseDto, PostResponseDto, PostResponseSelfDto, ProfessionalProfileResponseDto, ReactionType, ReorderDto, ResetPasswordDto, SearchUsersByFullNameDTO, UpdateCommentDto, UpdatePasswordDto, UpdatePostDto, UpdateUserDto, UploadFileDto, type UploadedFile, UserResponseDto };
369
+ declare enum RoleName {
370
+ PREMIUM = "PREMIUM",
371
+ DEFAULT = "DEFAULT",
372
+ VISITOR = "VISITOR"
373
+ }
374
+
375
+ declare class CreateOrGetTagDto {
376
+ name: string;
377
+ sector: BusinessSector;
378
+ type?: "SYSTEM" | "USER_GENERATED";
379
+ }
380
+
381
+ declare class GetTagsBySectorDto {
382
+ sector: BusinessSector;
383
+ }
384
+
385
+ declare class SearchTagsDto {
386
+ name: string;
387
+ }
388
+
389
+ export { BusinessSector, CommentFields, CommentLikeResponseDto, CommentResponseDto, CommentTreeDto, CreateCommentDto, CreateOrGetTagDto, CreatePostDto, CreatePostFileDto, 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, ResetPasswordDto, RoleName, SearchTagsDto, SearchUsersByFullNameDTO, TagResponseDto, UpdateCommentDto, UpdatePasswordDto, UpdatePostDto, UpdateProfessionalProfileDto, UpdateUserDto, UploadFileDto, type UploadedFile, UserResponseDto, UserType };
package/dist/index.d.ts CHANGED
@@ -114,6 +114,18 @@ declare class SearchUsersByFullNameDTO extends FindAllUsersDto {
114
114
  fullName?: string;
115
115
  }
116
116
 
117
+ declare class UpdateProfessionalProfileDto {
118
+ businessSector?: BusinessSector;
119
+ bio?: string;
120
+ companyName?: string;
121
+ website?: string;
122
+ phone?: string;
123
+ location?: string;
124
+ yearsOfExperience?: number;
125
+ hourlyRate?: number;
126
+ availabilityStatus?: string;
127
+ }
128
+
117
129
  declare class DeleteFileDto {
118
130
  fileUrl: string;
119
131
  }
@@ -196,6 +208,12 @@ declare class PostFileDto {
196
208
  createdAt: Date;
197
209
  }
198
210
 
211
+ declare class TagResponseDto {
212
+ name: string;
213
+ slug: string;
214
+ id: string;
215
+ }
216
+
199
217
  declare class PostResponseDto {
200
218
  id: string;
201
219
  publisherId: string;
@@ -203,6 +221,7 @@ declare class PostResponseDto {
203
221
  publisherFullName: string;
204
222
  publisherProfilePictureUrl: string | null;
205
223
  files: PostFileDto[];
224
+ tags: TagResponseDto[];
206
225
  commentsCount: number;
207
226
  sector: BusinessSector;
208
227
  likesCount: number;
@@ -218,8 +237,8 @@ declare class PaginatedPostsDto {
218
237
  }
219
238
 
220
239
  declare class UpdatePostDto {
221
- description: string;
222
- sector: BusinessSector;
240
+ description?: string;
241
+ sector?: BusinessSector;
223
242
  }
224
243
 
225
244
  declare class PostFields {
@@ -347,4 +366,24 @@ declare class PaginatedCommentLikesDto {
347
366
  totalPages: number;
348
367
  }
349
368
 
350
- export { BusinessSector, CommentFields, CommentLikeResponseDto, CommentResponseDto, CommentTreeDto, CreateCommentDto, CreatePostDto, CreatePostFileDto, CreateUserDto, CreateUserFireBaseDto, DeleteFileDto, type DeviceInfo, EmailParamDto, FileCategory, FileResponseDto, FindAllUsersDto, FindByRoleDto, ForgotPasswordDto, type IStorageProvider, LikeCommentDto, LikePostDto, LoginLocalDTO, PaginatedCommentLikesDto, PaginatedCommentsDto, PaginatedPostLikesDto, PaginatedPostsDto, PaginatedPostsSelfDto, PostFields, PostFileDto, PostLikeResponseDto, PostResponseDto, PostResponseSelfDto, ProfessionalProfileResponseDto, ReactionType, ReorderDto, ResetPasswordDto, SearchUsersByFullNameDTO, UpdateCommentDto, UpdatePasswordDto, UpdatePostDto, UpdateUserDto, UploadFileDto, type UploadedFile, UserResponseDto };
369
+ declare enum RoleName {
370
+ PREMIUM = "PREMIUM",
371
+ DEFAULT = "DEFAULT",
372
+ VISITOR = "VISITOR"
373
+ }
374
+
375
+ declare class CreateOrGetTagDto {
376
+ name: string;
377
+ sector: BusinessSector;
378
+ type?: "SYSTEM" | "USER_GENERATED";
379
+ }
380
+
381
+ declare class GetTagsBySectorDto {
382
+ sector: BusinessSector;
383
+ }
384
+
385
+ declare class SearchTagsDto {
386
+ name: string;
387
+ }
388
+
389
+ export { BusinessSector, CommentFields, CommentLikeResponseDto, CommentResponseDto, CommentTreeDto, CreateCommentDto, CreateOrGetTagDto, CreatePostDto, CreatePostFileDto, 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, ResetPasswordDto, RoleName, SearchTagsDto, SearchUsersByFullNameDTO, TagResponseDto, UpdateCommentDto, UpdatePasswordDto, UpdatePostDto, UpdateProfessionalProfileDto, UpdateUserDto, UploadFileDto, type UploadedFile, UserResponseDto, UserType };