// EN: Command to confirm email
// VI: Command để xác nhận email

using MediatR;

namespace IamService.API.Application.Commands.Auth;

/// <summary>
/// EN: Command to confirm email with token.
/// VI: Command để xác nhận email với token.
/// </summary>
public record ConfirmEmailCommand(
    string Email,
    string Token
) : IRequest<ConfirmEmailResult>;

/// <summary>
/// EN: Result of email confirmation.
/// VI: Kết quả xác nhận email.
/// </summary>
public record ConfirmEmailResult(
    bool Success,
    string Message
);
