using EAIAdminDAL.DTO; using GB5Shared.DTO.Framework.Login; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace EAIAdminDAL.CustomCode { public interface IEAIBotAdminDAL { Task> GetBotListAsync( string? search, LoginDTO login, CancellationToken ct = default); Task GetBotAsync( int botId, LoginDTO login, CancellationToken ct = default); Task InsertBotAsync( EAIBotAdminDTO dto, LoginDTO login, CancellationToken ct = default); Task UpdateBotAsync( EAIBotAdminDTO dto, LoginDTO login, CancellationToken ct = default); Task UpdateEAIRemoteIdAsync( int botId, long eaiRemoteId, LoginDTO login, CancellationToken ct = default); Task DeleteBotAsync( int botId, LoginDTO login, CancellationToken ct = default); Task BotCodeExistsAsync( string botCode, int excludeBotId, LoginDTO login, CancellationToken ct = default); } }