using CashLineERP.Contracts.Workflow;

namespace CashLineERP.Application.Workflow;

public interface IWorkflowService
{
    IReadOnlyCollection<WorkflowQueueItemResponse> GetPendingQueue();
    IReadOnlyCollection<WorkflowRuleAdminResponse> GetWorkflowRules(bool activeOnly = false);
    IReadOnlyCollection<WorkflowInstanceSummaryResponse> GetWorkflowInstances(string? moduleCode = null, string? documentType = null, string? statusCode = null);
    WorkflowInstanceResponse? GetWorkflowInstance(long workflowInstanceId);
}
