namespace Baya.Application.Models.Identity;

/// <summary>
/// Deliberately non-enumerating: the same shape comes back whether or not the phone already had an
/// account. <see cref="OtpSent"/> is false only when the per-phone resend window is still open.
/// <see cref="CodeLength"/> drives the OTP input-box count; <see cref="ExpiresInSeconds"/> the expiry hint.
/// </summary>
public record RequestOtpResult(bool OtpSent, int ResendAvailableInSeconds, int CodeLength, int ExpiresInSeconds);