@adatechnology/notification-contracts 0.2.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -297,6 +297,12 @@ interface EmailDriverPort {
297
297
  * independentes, com a costura acontecendo no produto (regra de módulos plugáveis, §2).
298
298
  */
299
299
  interface WhatsAppDriverPort {
300
+ /**
301
+ * `true` = o provedor entrega texto livre sem janela de 24 h (ex.: Evolution, sessão própria).
302
+ * Então o canal não exige `whatsappTemplateName`. Ausente/`false` = Meta Cloud API, que só
303
+ * aceita template aprovado fora da janela.
304
+ */
305
+ readonly acceptsFreeText?: boolean;
300
306
  send(params: SendWhatsAppParams): Promise<DeliveryAttemptResult>;
301
307
  }
302
308
  /**
package/dist/index.d.ts CHANGED
@@ -297,6 +297,12 @@ interface EmailDriverPort {
297
297
  * independentes, com a costura acontecendo no produto (regra de módulos plugáveis, §2).
298
298
  */
299
299
  interface WhatsAppDriverPort {
300
+ /**
301
+ * `true` = o provedor entrega texto livre sem janela de 24 h (ex.: Evolution, sessão própria).
302
+ * Então o canal não exige `whatsappTemplateName`. Ausente/`false` = Meta Cloud API, que só
303
+ * aceita template aprovado fora da janela.
304
+ */
305
+ readonly acceptsFreeText?: boolean;
300
306
  send(params: SendWhatsAppParams): Promise<DeliveryAttemptResult>;
301
307
  }
302
308
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adatechnology/notification-contracts",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "Shared types, zod schemas, and port interfaces for the notification trio (contracts only — no runtime behavior)",
5
5
  "license": "MIT",
6
6
  "publishConfig": {