using static BlueMine.Redmine.RedmineDto; namespace BlueMine.Redmine { public interface IRedmineConnect { Task LogTimeAsync(int issueId, double hours, string comments, DateTime? date = null, int? activityId = null); Task CloseIssueAsync(int issueId); Task CreateIssueAsync(string projectId, int trackerId, string subject, string? description = null, double? estimatedHours = null, int? priorityId = 9, int? parentIssueId = null); Task> GetProjectsAsync(int limit = 25, IProgress<(int, int)>? progress = null); Task> GetTrackersAsync(string projectId, CancellationToken? token = null); Task VerifyApiKey(); Task> GetMyIssuesAsync(int limit = 25, IProgress<(int, int)>? progress = null); Task GetIssueTotalTimeAsync(int issueId); Task GetTodaysHoursAsync(DateTime startDate, DateTime endDate); Task> GetSpentTimeForIssuesAsync(List simpleIssues, IProgress<(int, int)>? progress = null); } }