using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using GB5Shared.DTO.Framework.Login; using GB5Shared.SIP; namespace FrameworkDAL.CustomCode.SIP { public interface ISIPPatternEntryDAL { /// Appends one immutable Interaction Pattern Ledger row. Task InsertPatternEntry(PatternEntryDTO dto, LoginDTO login, CancellationToken ct); /// /// Returns raw per-SignalType occurrence rows (OccurrenceCount/FirstSeen/LastSeen only — /// IsRecurring is computed by the caller, not this query). /// Task> GetPatternSummary( string domain, string entityCode, int entityId, LoginDTO login, CancellationToken ct); } }