using Tiku.Domain.Tenancy;

namespace Tiku.Application.Auth;

public interface ISmsVerificationService
{
    Task<SmsSendResult> CreateCodeAsync(
        SendSmsCodeRequest request,
        CancellationToken cancellationToken = default);

    Task VerifyCodeAsync(
        Guid tenantId,
        string phone,
        SmsPurpose purpose,
        string code,
        CancellationToken cancellationToken = default);
}
