using EAIAdminDAL.DTO; using GB5Shared.DTO.Framework.Login; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace EAIAdminBLL.EAIBotAdmin { public interface IEAIBotAdminBLL { Task> GetBotListAsync( string? search, LoginDTO login, CancellationToken ct = default); Task GetBotAsync( int botId, LoginDTO login, CancellationToken ct = default); /// Create or update a bot, then push the change to gbEAI. Returns a localised /// success message, with a sync-status suffix if the gbEAI push failed. Task SaveBotAsync( EAIBotAdminDTO dto, LoginDTO login, CancellationToken ct = default); /// Soft-delete a bot, then push the delete to gbEAI. Returns a localised /// success message, with a sync-status suffix if the gbEAI push failed. Task DeleteBotAsync( int botId, LoginDTO login, CancellationToken ct = default); } }