using Journal.Core.Dtos;

namespace Journal.Core.Services.Conversations;

public interface IConversationService
{
    List<ConversationDto> GetAll();
    ConversationDetailDto? GetById(Guid id);
    ConversationDto Create(CreateConversationDto dto);
    bool Update(Guid id, UpdateConversationDto dto);
    bool Remove(Guid id);
    ConversationMessageDto AddMessage(Guid conversationId, string role, string text);
    List<ConversationMessageDto> GetMessages(Guid conversationId);
}
