using MediatR;

namespace ColaFlow.Modules.Identity.Application.Queries.GetPendingInvitations;

/// <summary>
/// Query to get all pending invitations for a tenant
/// </summary>
public sealed record GetPendingInvitationsQuery(
    Guid TenantId
) : IRequest<List<InvitationDto>>;

/// <summary>
/// DTO for invitation data
/// </summary>
public record InvitationDto(
    Guid Id,
    string Email,
    string Role,
    string InvitedByName,
    Guid InvitedById,
    DateTime CreatedAt,
    DateTime ExpiresAt);
