using MediatR; namespace FiscalFlow.Application.Commands.Auth; public record RegisterCommand( string Email, string Password, string? FullName) : IRequest; public record LoginCommand( string Email, string Password) : IRequest; public record RefreshTokenCommand( string RefreshToken) : IRequest; public record LogoutCommand( Guid UserId) : IRequest; public record AuthResultDto( bool Success, string? ErrorMessage, UserDto? User, TokenResultDto? Tokens); public record TokenResultDto( string AccessToken, string RefreshToken, int ExpiresIn); public record UserDto( Guid Id, string Email, string? FullName, DateTime CreatedAt);