using EnvelopeGenerator.Domain.Constants;
namespace EnvelopeGenerator.Application.Common.Interfaces.Services.Notification;
///
/// Payload for template.
///
public record TotpSecretNotification : EnvelopeNotificationBase
{
///
/// Replaces [TFA_EXPIRATION] in mail body.
///
public required string TfaExpiration { get; init; }
///
/// Replaces [TFA_QR_CODE] in mail body.
///
public required string TfaQrCode { get; init; }
///
/// Replaces [NAME_PORTAL] in mail body.
///
public string NamePortal { get; init; } = "signFLOW Portal";
///
public override EmailTemplateType GetTemplateType() => EmailTemplateType.TotpSecret;
}