@camstack/addon-smtp-nodemailer 1.2.134 → 1.2.136

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.
@@ -36,7 +36,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
36
36
  }) : target, mod));
37
37
  var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
38
38
  //#endregion
39
- //#region ../types/dist/event-category-DOl51-Ij.mjs
39
+ //#region ../types/dist/event-category-7pZEBmVg.mjs
40
40
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
41
41
  EventCategory["SystemBoot"] = "system.boot";
42
42
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -724,6 +724,14 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
724
724
  EventCategory["BackupRestored"] = "backup.restored";
725
725
  EventCategory["NotificationDispatched"] = "notification.dispatched";
726
726
  EventCategory["NotificationFailed"] = "notification.failed";
727
+ /**
728
+ * A notification rule that cannot work (D905): its stored row does not load,
729
+ * or it still names a device / delivery target the prune CONFIRMED deleted.
730
+ * One edge per rule per distinct set of reasons; never on an unanswered read.
731
+ */
732
+ EventCategory["NotificationRuleBroken"] = "notification.rule-broken";
733
+ /** The clear of {@link NotificationRuleBroken}: the rule loads and names nothing deleted. */
734
+ EventCategory["NotificationRuleRepaired"] = "notification.rule-repaired";
727
735
  EventCategory["DeviceUpdated"] = "device.updated";
728
736
  /**
729
737
  * Transport-level connectivity. Emitted by the device driver when
@@ -5451,7 +5459,7 @@ var ZodIssueCode = {
5451
5459
  var ZodFirstPartyTypeKind;
5452
5460
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5453
5461
  //#endregion
5454
- //#region ../types/dist/sleep-_sV1BE2f.mjs
5462
+ //#region ../types/dist/sleep-CueztlR1.mjs
5455
5463
  /**
5456
5464
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5457
5465
  * window to float samples (D455).
@@ -41989,6 +41997,8 @@ var NcSystemEventKindSchema = _enum([
41989
41997
  "alert-critical",
41990
41998
  "alert-error",
41991
41999
  "alert-critical-resolved",
42000
+ "rule-broken",
42001
+ "rule-repaired",
41992
42002
  "camera-online",
41993
42003
  "camera-offline",
41994
42004
  "camera-disabled",
@@ -73435,6 +73445,8 @@ new Map(Object.entries({
73435
73445
  "alert-critical": "system",
73436
73446
  "alert-error": "system",
73437
73447
  "alert-critical-resolved": "system",
73448
+ "rule-broken": "system",
73449
+ "rule-repaired": "system",
73438
73450
  "storage-location-low": "system",
73439
73451
  "storage-location-critical": "system",
73440
73452
  "storage-location-ok": "system",
@@ -73569,6 +73581,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
73569
73581
  "alert-critical-resolved"
73570
73582
  ]
73571
73583
  },
73584
+ {
73585
+ id: "rule-health",
73586
+ family: "system",
73587
+ label: "Notification rules",
73588
+ kinds: ["rule-broken", "rule-repaired"]
73589
+ },
73572
73590
  {
73573
73591
  id: "alarm",
73574
73592
  family: "alarm",
@@ -73846,6 +73864,10 @@ var STATE_SUMMARY_VARS = [
73846
73864
  [...RULE_TEXT],
73847
73865
  [...RULE_TEXT],
73848
73866
  [...RULE_TEXT],
73867
+ [...RULE_TEXT],
73868
+ [...RULE_TEXT],
73869
+ [...RULE_TEXT],
73870
+ [...RULE_TEXT],
73849
73871
  ([...RULE_TEXT], [...UPDATES]),
73850
73872
  ([...RULE_TEXT], [...PACKAGE_UPDATES]),
73851
73873
  ([...RULE_TEXT], [...PACKAGE_UPDATES]),
@@ -73884,6 +73906,107 @@ var STATE_SUMMARY_VARS = [
73884
73906
  [...RULE_TEXT],
73885
73907
  ...STATE_SUMMARY_VARS
73886
73908
  ];
73909
+ new Map([
73910
+ {
73911
+ id: "device-connectivity",
73912
+ family: "device-events",
73913
+ label: "Device connectivity (offline / back online)",
73914
+ bad: ["device-offline"],
73915
+ recovery: ["device-online"],
73916
+ snapshotLabel: "Devices offline now",
73917
+ snapshotSection: "device-state"
73918
+ },
73919
+ {
73920
+ id: "device-switch",
73921
+ family: "device-events",
73922
+ label: "Device switched off / back on",
73923
+ bad: ["device-disabled"],
73924
+ recovery: ["device-enabled"],
73925
+ snapshotLabel: "Devices switched off now",
73926
+ snapshotSection: "device-state"
73927
+ },
73928
+ {
73929
+ id: "stream-connectivity",
73930
+ family: "device-events",
73931
+ label: "Stream connectivity (offline / back online)",
73932
+ bad: ["stream-offline"],
73933
+ recovery: ["stream-online"],
73934
+ snapshotLabel: "Streams offline now",
73935
+ snapshotSection: "streams"
73936
+ },
73937
+ {
73938
+ id: "battery",
73939
+ family: "device-events",
73940
+ label: "Battery (low / back to normal)",
73941
+ bad: ["device-battery-low"],
73942
+ recovery: ["device-battery-normal"],
73943
+ snapshotLabel: "Batteries low now",
73944
+ snapshotSection: "battery"
73945
+ },
73946
+ {
73947
+ id: "consumables",
73948
+ family: "device-events",
73949
+ label: "Consumables (low / replaced)",
73950
+ bad: ["device-consumable-low"],
73951
+ recovery: ["device-consumable-normal"],
73952
+ snapshotLabel: "Consumables low now",
73953
+ snapshotSection: "consumables"
73954
+ },
73955
+ {
73956
+ id: "tanks",
73957
+ family: "device-events",
73958
+ label: "Tanks (low or full / back to normal)",
73959
+ bad: ["device-tank-low", "device-tank-full"],
73960
+ recovery: ["device-tank-normal"],
73961
+ snapshotLabel: "Tanks low or full now",
73962
+ snapshotSection: "tanks"
73963
+ },
73964
+ {
73965
+ id: "recording-health",
73966
+ family: "device-events",
73967
+ label: "Recording health (stalled or degraded / recording again)",
73968
+ bad: ["recording-stalled", "recording-degraded"],
73969
+ recovery: ["recording-healthy"],
73970
+ snapshotLabel: "Recordings stalled now",
73971
+ snapshotSection: null
73972
+ },
73973
+ {
73974
+ id: "node-connectivity",
73975
+ family: "system",
73976
+ label: "Node connectivity (offline / back online)",
73977
+ bad: ["node-offline"],
73978
+ recovery: ["node-online"],
73979
+ snapshotLabel: "Nodes offline now",
73980
+ snapshotSection: "nodes"
73981
+ },
73982
+ {
73983
+ id: "storage-space",
73984
+ family: "system",
73985
+ label: "Storage space (low or critical / ok again)",
73986
+ bad: ["storage-location-low", "storage-location-critical"],
73987
+ recovery: ["storage-location-ok"],
73988
+ snapshotLabel: "Storage locations low now",
73989
+ snapshotSection: null
73990
+ },
73991
+ {
73992
+ id: "critical-alerts",
73993
+ family: "system",
73994
+ label: "Critical alerts (raised / resolved)",
73995
+ bad: ["alert-critical"],
73996
+ recovery: ["alert-critical-resolved"],
73997
+ snapshotLabel: "Critical alerts open now",
73998
+ snapshotSection: null
73999
+ },
74000
+ {
74001
+ id: "rule-health",
74002
+ family: "system",
74003
+ label: "Rule health (broken / repaired)",
74004
+ bad: ["rule-broken"],
74005
+ recovery: ["rule-repaired"],
74006
+ snapshotLabel: "Notification rules broken now",
74007
+ snapshotSection: null
74008
+ }
74009
+ ].flatMap((spec) => [...spec.bad, ...spec.recovery].map((kind) => [kind, spec])));
73887
74010
  new Set([
73888
74011
  "disarmed",
73889
74012
  "armed_home",
@@ -34,7 +34,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
34
34
  var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
35
35
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
36
36
  //#endregion
37
- //#region ../types/dist/event-category-DOl51-Ij.mjs
37
+ //#region ../types/dist/event-category-7pZEBmVg.mjs
38
38
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
39
39
  EventCategory["SystemBoot"] = "system.boot";
40
40
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -722,6 +722,14 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
722
722
  EventCategory["BackupRestored"] = "backup.restored";
723
723
  EventCategory["NotificationDispatched"] = "notification.dispatched";
724
724
  EventCategory["NotificationFailed"] = "notification.failed";
725
+ /**
726
+ * A notification rule that cannot work (D905): its stored row does not load,
727
+ * or it still names a device / delivery target the prune CONFIRMED deleted.
728
+ * One edge per rule per distinct set of reasons; never on an unanswered read.
729
+ */
730
+ EventCategory["NotificationRuleBroken"] = "notification.rule-broken";
731
+ /** The clear of {@link NotificationRuleBroken}: the rule loads and names nothing deleted. */
732
+ EventCategory["NotificationRuleRepaired"] = "notification.rule-repaired";
725
733
  EventCategory["DeviceUpdated"] = "device.updated";
726
734
  /**
727
735
  * Transport-level connectivity. Emitted by the device driver when
@@ -5449,7 +5457,7 @@ var ZodIssueCode = {
5449
5457
  var ZodFirstPartyTypeKind;
5450
5458
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5451
5459
  //#endregion
5452
- //#region ../types/dist/sleep-_sV1BE2f.mjs
5460
+ //#region ../types/dist/sleep-CueztlR1.mjs
5453
5461
  /**
5454
5462
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5455
5463
  * window to float samples (D455).
@@ -41987,6 +41995,8 @@ var NcSystemEventKindSchema = _enum([
41987
41995
  "alert-critical",
41988
41996
  "alert-error",
41989
41997
  "alert-critical-resolved",
41998
+ "rule-broken",
41999
+ "rule-repaired",
41990
42000
  "camera-online",
41991
42001
  "camera-offline",
41992
42002
  "camera-disabled",
@@ -73433,6 +73443,8 @@ new Map(Object.entries({
73433
73443
  "alert-critical": "system",
73434
73444
  "alert-error": "system",
73435
73445
  "alert-critical-resolved": "system",
73446
+ "rule-broken": "system",
73447
+ "rule-repaired": "system",
73436
73448
  "storage-location-low": "system",
73437
73449
  "storage-location-critical": "system",
73438
73450
  "storage-location-ok": "system",
@@ -73567,6 +73579,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
73567
73579
  "alert-critical-resolved"
73568
73580
  ]
73569
73581
  },
73582
+ {
73583
+ id: "rule-health",
73584
+ family: "system",
73585
+ label: "Notification rules",
73586
+ kinds: ["rule-broken", "rule-repaired"]
73587
+ },
73570
73588
  {
73571
73589
  id: "alarm",
73572
73590
  family: "alarm",
@@ -73844,6 +73862,10 @@ var STATE_SUMMARY_VARS = [
73844
73862
  [...RULE_TEXT],
73845
73863
  [...RULE_TEXT],
73846
73864
  [...RULE_TEXT],
73865
+ [...RULE_TEXT],
73866
+ [...RULE_TEXT],
73867
+ [...RULE_TEXT],
73868
+ [...RULE_TEXT],
73847
73869
  ([...RULE_TEXT], [...UPDATES]),
73848
73870
  ([...RULE_TEXT], [...PACKAGE_UPDATES]),
73849
73871
  ([...RULE_TEXT], [...PACKAGE_UPDATES]),
@@ -73882,6 +73904,107 @@ var STATE_SUMMARY_VARS = [
73882
73904
  [...RULE_TEXT],
73883
73905
  ...STATE_SUMMARY_VARS
73884
73906
  ];
73907
+ new Map([
73908
+ {
73909
+ id: "device-connectivity",
73910
+ family: "device-events",
73911
+ label: "Device connectivity (offline / back online)",
73912
+ bad: ["device-offline"],
73913
+ recovery: ["device-online"],
73914
+ snapshotLabel: "Devices offline now",
73915
+ snapshotSection: "device-state"
73916
+ },
73917
+ {
73918
+ id: "device-switch",
73919
+ family: "device-events",
73920
+ label: "Device switched off / back on",
73921
+ bad: ["device-disabled"],
73922
+ recovery: ["device-enabled"],
73923
+ snapshotLabel: "Devices switched off now",
73924
+ snapshotSection: "device-state"
73925
+ },
73926
+ {
73927
+ id: "stream-connectivity",
73928
+ family: "device-events",
73929
+ label: "Stream connectivity (offline / back online)",
73930
+ bad: ["stream-offline"],
73931
+ recovery: ["stream-online"],
73932
+ snapshotLabel: "Streams offline now",
73933
+ snapshotSection: "streams"
73934
+ },
73935
+ {
73936
+ id: "battery",
73937
+ family: "device-events",
73938
+ label: "Battery (low / back to normal)",
73939
+ bad: ["device-battery-low"],
73940
+ recovery: ["device-battery-normal"],
73941
+ snapshotLabel: "Batteries low now",
73942
+ snapshotSection: "battery"
73943
+ },
73944
+ {
73945
+ id: "consumables",
73946
+ family: "device-events",
73947
+ label: "Consumables (low / replaced)",
73948
+ bad: ["device-consumable-low"],
73949
+ recovery: ["device-consumable-normal"],
73950
+ snapshotLabel: "Consumables low now",
73951
+ snapshotSection: "consumables"
73952
+ },
73953
+ {
73954
+ id: "tanks",
73955
+ family: "device-events",
73956
+ label: "Tanks (low or full / back to normal)",
73957
+ bad: ["device-tank-low", "device-tank-full"],
73958
+ recovery: ["device-tank-normal"],
73959
+ snapshotLabel: "Tanks low or full now",
73960
+ snapshotSection: "tanks"
73961
+ },
73962
+ {
73963
+ id: "recording-health",
73964
+ family: "device-events",
73965
+ label: "Recording health (stalled or degraded / recording again)",
73966
+ bad: ["recording-stalled", "recording-degraded"],
73967
+ recovery: ["recording-healthy"],
73968
+ snapshotLabel: "Recordings stalled now",
73969
+ snapshotSection: null
73970
+ },
73971
+ {
73972
+ id: "node-connectivity",
73973
+ family: "system",
73974
+ label: "Node connectivity (offline / back online)",
73975
+ bad: ["node-offline"],
73976
+ recovery: ["node-online"],
73977
+ snapshotLabel: "Nodes offline now",
73978
+ snapshotSection: "nodes"
73979
+ },
73980
+ {
73981
+ id: "storage-space",
73982
+ family: "system",
73983
+ label: "Storage space (low or critical / ok again)",
73984
+ bad: ["storage-location-low", "storage-location-critical"],
73985
+ recovery: ["storage-location-ok"],
73986
+ snapshotLabel: "Storage locations low now",
73987
+ snapshotSection: null
73988
+ },
73989
+ {
73990
+ id: "critical-alerts",
73991
+ family: "system",
73992
+ label: "Critical alerts (raised / resolved)",
73993
+ bad: ["alert-critical"],
73994
+ recovery: ["alert-critical-resolved"],
73995
+ snapshotLabel: "Critical alerts open now",
73996
+ snapshotSection: null
73997
+ },
73998
+ {
73999
+ id: "rule-health",
74000
+ family: "system",
74001
+ label: "Rule health (broken / repaired)",
74002
+ bad: ["rule-broken"],
74003
+ recovery: ["rule-repaired"],
74004
+ snapshotLabel: "Notification rules broken now",
74005
+ snapshotSection: null
74006
+ }
74007
+ ].flatMap((spec) => [...spec.bad, ...spec.recovery].map((kind) => [kind, spec])));
73885
74008
  new Set([
73886
74009
  "disarmed",
73887
74010
  "armed_home",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-smtp-nodemailer",
3
- "version": "1.2.134",
3
+ "version": "1.2.136",
4
4
  "description": "SMTP email provider addon for CamStack — wraps `nodemailer` and registers a `smtp-provider` cap collection entry. Used by notifier addons.",
5
5
  "keywords": [
6
6
  "camstack",