初始化

This commit is contained in:
2025-10-16 09:56:36 +08:00
commit de704db577
272 changed files with 37331 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
using FutureMailAPI.DTOs;
namespace FutureMailAPI.Services
{
public interface INotificationService
{
Task<ApiResponse<NotificationDeviceResponseDto>> RegisterDeviceAsync(int userId, NotificationDeviceRequestDto request);
Task<ApiResponse<bool>> UnregisterDeviceAsync(int userId, string deviceId);
Task<ApiResponse<NotificationSettingsDto>> GetNotificationSettingsAsync(int userId);
Task<ApiResponse<bool>> UpdateNotificationSettingsAsync(int userId, NotificationSettingsDto settings);
Task<ApiResponse<NotificationListResponseDto>> GetNotificationsAsync(int userId, NotificationListQueryDto query);
Task<ApiResponse<bool>> MarkNotificationAsReadAsync(int userId, string notificationId);
Task<ApiResponse<bool>> MarkAllNotificationsAsReadAsync(int userId);
Task<ApiResponse<bool>> SendNotificationAsync(int userId, NotificationMessageDto notification);
}
}