@rodrigobeber/patoai-dtos 4.8.4 → 4.8.5
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.
|
@@ -11,8 +11,11 @@ export declare enum AlertTypeEnum {
|
|
|
11
11
|
}
|
|
12
12
|
/** Alertas que PODEM ser entregues por WhatsApp (os demais = só e-mail). */
|
|
13
13
|
export declare const WHATSAPP_ELIGIBLE_ALERTS: readonly AlertTypeEnum[];
|
|
14
|
-
/**
|
|
15
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Trio crítico: já vem LIGADO por padrão (inclusive em crews existentes, via backfill da V151)
|
|
16
|
+
* e SÓ por e-mail — WhatsApp começa desligado em todos os tipos.
|
|
17
|
+
*/
|
|
18
|
+
export declare const DEFAULT_ENABLED_ALERTS: readonly AlertTypeEnum[];
|
|
16
19
|
/** Alertas que só existem/avaliam quando a crew tem agenda ativa. */
|
|
17
20
|
export declare const AGENDA_REQUIRED_ALERTS: readonly AlertTypeEnum[];
|
|
18
21
|
/** Nome do template UTILITY na Meta por tipo de alerta (só os WhatsApp-elegíveis). */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ALERT_TEMPLATE = exports.AGENDA_REQUIRED_ALERTS = exports.
|
|
3
|
+
exports.ALERT_TEMPLATE = exports.AGENDA_REQUIRED_ALERTS = exports.DEFAULT_ENABLED_ALERTS = exports.WHATSAPP_ELIGIBLE_ALERTS = exports.AlertTypeEnum = void 0;
|
|
4
4
|
var AlertTypeEnum;
|
|
5
5
|
(function (AlertTypeEnum) {
|
|
6
6
|
AlertTypeEnum["WHATSAPP_HEALTH"] = "whatsapp_health";
|
|
@@ -23,8 +23,11 @@ exports.WHATSAPP_ELIGIBLE_ALERTS = [
|
|
|
23
23
|
AlertTypeEnum.SCHEDULE_CANCELED,
|
|
24
24
|
AlertTypeEnum.DAILY_DIGEST
|
|
25
25
|
];
|
|
26
|
-
/**
|
|
27
|
-
|
|
26
|
+
/**
|
|
27
|
+
* Trio crítico: já vem LIGADO por padrão (inclusive em crews existentes, via backfill da V151)
|
|
28
|
+
* e SÓ por e-mail — WhatsApp começa desligado em todos os tipos.
|
|
29
|
+
*/
|
|
30
|
+
exports.DEFAULT_ENABLED_ALERTS = [
|
|
28
31
|
AlertTypeEnum.WHATSAPP_HEALTH,
|
|
29
32
|
AlertTypeEnum.SUBSCRIPTION,
|
|
30
33
|
AlertTypeEnum.LOW_CREDITS
|