namespace IceImportDAL.DTO.ScheduledImportService; // Returned by IScheduledImportService.RunScheduledImportAsync — a summary of one manually/ // externally-triggered "check the remote source now" pass. One bad file's error is captured in // Errors and does not abort the rest of the batch (see ScheduledImportService's per-file // try/catch). public class ScheduledImportResultDTO { public int FilesFound { get; set; } public int FilesProcessed { get; set; } public int FilesSkippedAlreadyProcessed { get; set; } // One RunId per file that was successfully staged + enqueued (ICEIMPORT.TICEIMPORTRUN). // The pipeline itself continues running in the background after this DTO is returned — // callers should poll GetImportRunHistory/GetImportRunDetail for terminal status. public List RunIds { get; set; } = new(); // "{FileName}: {message}" — per-file failures that did not abort the batch. public List Errors { get; set; } = new(); }