2023-06-11 15:22:48 +00:00
|
|
|
namespace BotSharp.Abstraction.Agents;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Agent management service
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IAgentService
|
|
|
|
|
{
|
2023-06-12 13:28:49 +00:00
|
|
|
Task<Agent> CreateAgent(Agent agent);
|
2023-06-16 11:36:03 +00:00
|
|
|
Task<List<Agent>> GetAgents();
|
2023-06-27 18:31:13 +00:00
|
|
|
Task<Agent> GetAgent(string id);
|
2023-06-11 23:46:02 +00:00
|
|
|
Task<bool> DeleteAgent(string id);
|
|
|
|
|
Task UpdateAgent(Agent agent);
|
2023-08-09 21:49:55 +00:00
|
|
|
string GetDataDir();
|
2023-06-27 18:31:13 +00:00
|
|
|
string GetAgentDataDir(string agentId);
|
2023-06-11 15:22:48 +00:00
|
|
|
}
|