feat: agregar soporte para el envío de plantillas de WhatsApp a través de Meta, incluyendo nueva funcionalidad y adaptadores

This commit is contained in:
2026-09-19 10:50:56 -03:00
parent 728d0a711c
commit 40bc65396f
17 changed files with 177 additions and 32 deletions
@@ -1,9 +1,19 @@
export enum NOTIFICATION_TYPES {
EMAIL = "EMAIL",
WAP = "WAP",
META_WAP = "META_WAP",
SYSTEM = "SYSTEM",
}
export type NotificationDataMeta = {
phoneNumber: string;
templateName: string;
languageCode: string;
// Si el template tiene variables, este array es obligatorio.
// Cada elemento mapea a {{1}}, {{2}}, {{3}}, etc.
templateVariables?: string[];
};
export type NotificationDataEmail = {
email: string;
subject?: string;