using DigitalData.EmailProfiler.Domain.Entities; namespace DigitalData.EmailProfiler.Application.Interfaces.Repositories; /// /// Repository interface for EmailProcess entity. /// public interface IEmailProcessRepository : IRepository { /// /// Get process with all steps (ProcessSteps and IndexingSteps). /// Task GetWithStepsAsync(int id, CancellationToken cancellationToken = default); /// /// Get process by profile ID. /// Task GetByProfileIdAsync(int profileId, CancellationToken cancellationToken = default); /// /// Get all processes by type. /// Task> GetByProcessTypeAsync(string processType, CancellationToken cancellationToken = default); }