initial commit
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
public interface IAuthService
|
||||
{
|
||||
Task<LoginResponse> LoginAsync(LoginRequest req);
|
||||
Task<User> GetCurrentUserAsync(Guid userId);
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
public interface IBatchService
|
||||
{
|
||||
Task<DigitizationBatch> CreateAsync(Stream fileStream, string contentType, BatchType batchType, BatchTrack track, Guid? patientId, Guid actorUserId);
|
||||
Task<DigitizationBatch> GetByIdAsync(Guid id);
|
||||
Task<PagedResult<DigitizationBatch>> ListAsync(BatchStatus? status, BatchType? batchType, Guid? assignedTo, BatchTrack? track, int page, int pageSize);
|
||||
Task<DigitizationBatch> AssignAsync(Guid batchId, Guid entryClerkUserId, Guid actorUserId);
|
||||
BatchStatus[] GetAllowedTransitions(BatchStatus current);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public interface IDocumentStorageService
|
||||
{
|
||||
Task<(string objectKey, string sha256, long fileSize)> UploadAsync(Stream fileStream, string contentType, Guid batchId);
|
||||
Task<string> GetPresignedUrlAsync(string objectKey);
|
||||
}
|
||||
Reference in New Issue
Block a user