fix(api): Статистика по шаблонам

This commit is contained in:
Mikhail Trubnikov
2023-12-19 15:33:21 +10:00
parent 6d21c72e9f
commit a37ac87913
3 changed files with 76 additions and 0 deletions

View File

@@ -182,6 +182,11 @@ namespace PARR.API.Contracts.V1
public const string Get = BaseStat + "/robot-histories/";
}
public static class StatTemplate
{
public const string Get = BaseStat + "/templates/";
}
#endregion
}

View File

@@ -0,0 +1,17 @@
namespace PARR.API.Contracts.V1.Responses.Statistics
{
public class StatTemplateResponse
{
public int TemplateCount { get; set; }
public int ActivateTemplateCount { get; set; }
public int ActivateScheduleCount { get; set; }
public int TemplateAgentCount { get; set; }
public int SyncEsppTemplatesCount { get;set; }
public int SyncEsppScheduleCount { get; set; }
}
}