using EnvelopeGenerator.Application.Common.Dto.EnvelopeReceiver;
using EnvelopeGenerator.Application.Common.Dto.Messaging;
namespace EnvelopeGenerator.Application.Common.Interfaces.Services;
///
///
///
public interface IEnvelopeSmsHandler
{
///
/// If expiration is passed then, sends sms and returns smsResponse and up-to-date expiration; otherwise send expiration.
///
///
///
///
Task<(SmsResponse? SmsResponse, DateTime Expiration)> SendTotpAsync(EnvelopeReceiverSecretDto er_secret, CancellationToken cToken = default);
///
///
///
///
///
///
bool VerifyTotp(string totpCode, string secretKey);
}