#nullable enable
using Baya.Application.Models.Common;
using Baya.Application.Models.Verification;
using Mediator;

namespace Baya.Application.Features.Verification.Commands.ConfirmDocumentUpload;

/// <summary>
/// Persists the metadata row for a document the client already uploaded to the signed URL — bytes never
/// enter the DB. Moves a manual step to <c>in_review</c>. <c>StepId</c> is route-supplied.
/// </summary>
public record ConfirmDocumentUploadCommand(
    long StepId,
    string ObjectStorageKey,
    string IntegrityHash,
    string ContentType,
    long FileSizeBytes,
    string? OriginalFileName) : IRequest<OperationResult<DocumentConfirmedResult>>;
