using Baya.Application.Models.Common;
using Baya.Application.Models.Verification;
using Mediator;

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

/// <summary>Admin-triggered scan for lapsed time-limited steps (criminal-record especially). Reverts each
/// to expired, raises a support alert + renewal notification, and re-gates bookability. The scheduled cron
/// is deferred — this is the clean entry point it will call. Batched/paginated.</summary>
public record ScanExpiringCredentialsCommand(int Page = 1, int PageSize = 50)
    : IRequest<OperationResult<ScanExpiringResult>>;
