using System.Security.Claims;
namespace SeaHaven.Services.Interfaces
{
public enum SlaBreachAcknowledgementOutcome
{
Acknowledged,
/// This breach was already acknowledged; nothing new is recorded.
AlreadyAcknowledged,
/// Not an SLA work order the caller's Notification Center covers (another account or dispatcher, closed, no SEV level).
NotFound,
/// The work order has not missed its response deadline.
NotBreached
}
///
/// Acknowledging a missed SEV response deadline from the Notification Center: records who and when in
/// the work order's audit history, which is also what removes the breach row from the feed.
///
public interface ISlaBreachAcknowledgementService
{
Task AcknowledgeAsync(
ClaimsPrincipal user, int workOrderId, CancellationToken cancellationToken);
}
}