using Data.SeaHavenIndustries; using Data.SeaHavenIndustries.Enums; using SeaHaven.DataServices.Interfaces; namespace SeaHaven.DataServices.Interfaces { public interface IWorkOrderDetailDataService { Task ExistsAsync( int workOrderId, CancellationToken cancellationToken = default, int? accountId = null); Task GetExtendedFieldsAsync(int workOrderId); Task> GetCommentsAsync(int workOrderId); Task> GetAuditLogsAsync(int workOrderId, int? limit = null); Task> GetAttachmentsAsync( int workOrderId, CancellationToken cancellationToken = default); Task> GetDispatchSignoffsAsync(int workOrderId); Task GetWorkOrderForMediaAsync( int workOrderId, CancellationToken cancellationToken = default, int? accountId = null); } public interface ICompletionDocTemplateDataService { Task> GetActiveAsync(string? serviceKey, WorkOrderType? workOrderType); Task GetByIdAsync(int id); Task ResolveForWorkOrderAsync(string? trade, WorkOrderType? workOrderType); Task CreateAsync(CompletionDocTemplate template); Task UpdateAsync(CompletionDocTemplate template); Task DeleteAsync(int id); } }