using MediatR;

namespace ColaFlow.Modules.Identity.Application.Commands.AcceptInvitation;

/// <summary>
/// Command to accept an invitation and create/add user to tenant
/// </summary>
public sealed record AcceptInvitationCommand(
    string Token,
    string FullName,
    string Password
) : IRequest<Guid>; // Returns user ID
