2026-01-21 15:07:20 +00:00
|
|
|
using RealCV.Application.DTOs;
|
|
|
|
|
using RealCV.Application.Models;
|
2026-01-18 19:20:50 +01:00
|
|
|
|
2026-01-21 15:07:20 +00:00
|
|
|
namespace RealCV.Application.Interfaces;
|
2026-01-18 19:20:50 +01:00
|
|
|
|
|
|
|
|
public interface ICVCheckService
|
|
|
|
|
{
|
|
|
|
|
Task<Guid> CreateCheckAsync(Guid userId, Stream file, string fileName);
|
|
|
|
|
Task<CVCheckDto?> GetCheckAsync(Guid id);
|
|
|
|
|
Task<CVCheckDto?> GetCheckForUserAsync(Guid id, Guid userId);
|
|
|
|
|
Task<List<CVCheckDto>> GetUserChecksAsync(Guid userId);
|
|
|
|
|
Task<VeracityReport?> GetReportAsync(Guid checkId, Guid userId);
|
2026-01-20 20:58:12 +01:00
|
|
|
Task<bool> DeleteCheckAsync(Guid checkId, Guid userId);
|
2026-01-22 02:00:39 +00:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// GDPR: Delete all CV checks and associated data for a user (right to erasure).
|
|
|
|
|
/// </summary>
|
|
|
|
|
Task<int> DeleteAllUserDataAsync(Guid userId);
|
2026-01-18 19:20:50 +01:00
|
|
|
}
|