namespace CashLineERP.Application.Workflow;

public interface IWorkflowReadRepository
{
    IReadOnlyCollection<WorkflowQueueItemView> GetPendingQueue();
    IReadOnlyCollection<WorkflowRuleAdminView> GetWorkflowRules(bool activeOnly = false);
    IReadOnlyCollection<WorkflowInstanceSummaryView> GetWorkflowInstances(string? moduleCode = null, string? documentType = null, string? statusCode = null);
    WorkflowInstanceDetailView? GetWorkflowInstance(long workflowInstanceId);
}
