@camstack/addon-export-google 0.1.105 → 0.1.107

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.
@@ -77,7 +77,7 @@ function createApiDeviceGateway(deps) {
77
77
  };
78
78
  }
79
79
  //#endregion
80
- //#region ../types/dist/event-category-DOl51-Ij.mjs
80
+ //#region ../types/dist/event-category-7pZEBmVg.mjs
81
81
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
82
82
  EventCategory["SystemBoot"] = "system.boot";
83
83
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -765,6 +765,14 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
765
765
  EventCategory["BackupRestored"] = "backup.restored";
766
766
  EventCategory["NotificationDispatched"] = "notification.dispatched";
767
767
  EventCategory["NotificationFailed"] = "notification.failed";
768
+ /**
769
+ * A notification rule that cannot work (D905): its stored row does not load,
770
+ * or it still names a device / delivery target the prune CONFIRMED deleted.
771
+ * One edge per rule per distinct set of reasons; never on an unanswered read.
772
+ */
773
+ EventCategory["NotificationRuleBroken"] = "notification.rule-broken";
774
+ /** The clear of {@link NotificationRuleBroken}: the rule loads and names nothing deleted. */
775
+ EventCategory["NotificationRuleRepaired"] = "notification.rule-repaired";
768
776
  EventCategory["DeviceUpdated"] = "device.updated";
769
777
  /**
770
778
  * Transport-level connectivity. Emitted by the device driver when
@@ -5492,7 +5500,7 @@ var ZodIssueCode = {
5492
5500
  var ZodFirstPartyTypeKind;
5493
5501
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5494
5502
  //#endregion
5495
- //#region ../types/dist/sleep-_sV1BE2f.mjs
5503
+ //#region ../types/dist/sleep-CueztlR1.mjs
5496
5504
  /**
5497
5505
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5498
5506
  * window to float samples (D455).
@@ -42230,6 +42238,8 @@ var NcSystemEventKindSchema = _enum([
42230
42238
  "alert-critical",
42231
42239
  "alert-error",
42232
42240
  "alert-critical-resolved",
42241
+ "rule-broken",
42242
+ "rule-repaired",
42233
42243
  "camera-online",
42234
42244
  "camera-offline",
42235
42245
  "camera-disabled",
@@ -73698,6 +73708,8 @@ new Map(Object.entries({
73698
73708
  "alert-critical": "system",
73699
73709
  "alert-error": "system",
73700
73710
  "alert-critical-resolved": "system",
73711
+ "rule-broken": "system",
73712
+ "rule-repaired": "system",
73701
73713
  "storage-location-low": "system",
73702
73714
  "storage-location-critical": "system",
73703
73715
  "storage-location-ok": "system",
@@ -73832,6 +73844,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
73832
73844
  "alert-critical-resolved"
73833
73845
  ]
73834
73846
  },
73847
+ {
73848
+ id: "rule-health",
73849
+ family: "system",
73850
+ label: "Notification rules",
73851
+ kinds: ["rule-broken", "rule-repaired"]
73852
+ },
73835
73853
  {
73836
73854
  id: "alarm",
73837
73855
  family: "alarm",
@@ -74109,6 +74127,10 @@ var STATE_SUMMARY_VARS = [
74109
74127
  [...RULE_TEXT],
74110
74128
  [...RULE_TEXT],
74111
74129
  [...RULE_TEXT],
74130
+ [...RULE_TEXT],
74131
+ [...RULE_TEXT],
74132
+ [...RULE_TEXT],
74133
+ [...RULE_TEXT],
74112
74134
  ([...RULE_TEXT], [...UPDATES]),
74113
74135
  ([...RULE_TEXT], [...PACKAGE_UPDATES]),
74114
74136
  ([...RULE_TEXT], [...PACKAGE_UPDATES]),
@@ -74147,6 +74169,107 @@ var STATE_SUMMARY_VARS = [
74147
74169
  [...RULE_TEXT],
74148
74170
  ...STATE_SUMMARY_VARS
74149
74171
  ];
74172
+ new Map([
74173
+ {
74174
+ id: "device-connectivity",
74175
+ family: "device-events",
74176
+ label: "Device connectivity (offline / back online)",
74177
+ bad: ["device-offline"],
74178
+ recovery: ["device-online"],
74179
+ snapshotLabel: "Devices offline now",
74180
+ snapshotSection: "device-state"
74181
+ },
74182
+ {
74183
+ id: "device-switch",
74184
+ family: "device-events",
74185
+ label: "Device switched off / back on",
74186
+ bad: ["device-disabled"],
74187
+ recovery: ["device-enabled"],
74188
+ snapshotLabel: "Devices switched off now",
74189
+ snapshotSection: "device-state"
74190
+ },
74191
+ {
74192
+ id: "stream-connectivity",
74193
+ family: "device-events",
74194
+ label: "Stream connectivity (offline / back online)",
74195
+ bad: ["stream-offline"],
74196
+ recovery: ["stream-online"],
74197
+ snapshotLabel: "Streams offline now",
74198
+ snapshotSection: "streams"
74199
+ },
74200
+ {
74201
+ id: "battery",
74202
+ family: "device-events",
74203
+ label: "Battery (low / back to normal)",
74204
+ bad: ["device-battery-low"],
74205
+ recovery: ["device-battery-normal"],
74206
+ snapshotLabel: "Batteries low now",
74207
+ snapshotSection: "battery"
74208
+ },
74209
+ {
74210
+ id: "consumables",
74211
+ family: "device-events",
74212
+ label: "Consumables (low / replaced)",
74213
+ bad: ["device-consumable-low"],
74214
+ recovery: ["device-consumable-normal"],
74215
+ snapshotLabel: "Consumables low now",
74216
+ snapshotSection: "consumables"
74217
+ },
74218
+ {
74219
+ id: "tanks",
74220
+ family: "device-events",
74221
+ label: "Tanks (low or full / back to normal)",
74222
+ bad: ["device-tank-low", "device-tank-full"],
74223
+ recovery: ["device-tank-normal"],
74224
+ snapshotLabel: "Tanks low or full now",
74225
+ snapshotSection: "tanks"
74226
+ },
74227
+ {
74228
+ id: "recording-health",
74229
+ family: "device-events",
74230
+ label: "Recording health (stalled or degraded / recording again)",
74231
+ bad: ["recording-stalled", "recording-degraded"],
74232
+ recovery: ["recording-healthy"],
74233
+ snapshotLabel: "Recordings stalled now",
74234
+ snapshotSection: null
74235
+ },
74236
+ {
74237
+ id: "node-connectivity",
74238
+ family: "system",
74239
+ label: "Node connectivity (offline / back online)",
74240
+ bad: ["node-offline"],
74241
+ recovery: ["node-online"],
74242
+ snapshotLabel: "Nodes offline now",
74243
+ snapshotSection: "nodes"
74244
+ },
74245
+ {
74246
+ id: "storage-space",
74247
+ family: "system",
74248
+ label: "Storage space (low or critical / ok again)",
74249
+ bad: ["storage-location-low", "storage-location-critical"],
74250
+ recovery: ["storage-location-ok"],
74251
+ snapshotLabel: "Storage locations low now",
74252
+ snapshotSection: null
74253
+ },
74254
+ {
74255
+ id: "critical-alerts",
74256
+ family: "system",
74257
+ label: "Critical alerts (raised / resolved)",
74258
+ bad: ["alert-critical"],
74259
+ recovery: ["alert-critical-resolved"],
74260
+ snapshotLabel: "Critical alerts open now",
74261
+ snapshotSection: null
74262
+ },
74263
+ {
74264
+ id: "rule-health",
74265
+ family: "system",
74266
+ label: "Rule health (broken / repaired)",
74267
+ bad: ["rule-broken"],
74268
+ recovery: ["rule-repaired"],
74269
+ snapshotLabel: "Notification rules broken now",
74270
+ snapshotSection: null
74271
+ }
74272
+ ].flatMap((spec) => [...spec.bad, ...spec.recovery].map((kind) => [kind, spec])));
74150
74273
  new Set([
74151
74274
  "disarmed",
74152
74275
  "armed_home",
@@ -73,7 +73,7 @@ function createApiDeviceGateway(deps) {
73
73
  };
74
74
  }
75
75
  //#endregion
76
- //#region ../types/dist/event-category-DOl51-Ij.mjs
76
+ //#region ../types/dist/event-category-7pZEBmVg.mjs
77
77
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
78
78
  EventCategory["SystemBoot"] = "system.boot";
79
79
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -761,6 +761,14 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
761
761
  EventCategory["BackupRestored"] = "backup.restored";
762
762
  EventCategory["NotificationDispatched"] = "notification.dispatched";
763
763
  EventCategory["NotificationFailed"] = "notification.failed";
764
+ /**
765
+ * A notification rule that cannot work (D905): its stored row does not load,
766
+ * or it still names a device / delivery target the prune CONFIRMED deleted.
767
+ * One edge per rule per distinct set of reasons; never on an unanswered read.
768
+ */
769
+ EventCategory["NotificationRuleBroken"] = "notification.rule-broken";
770
+ /** The clear of {@link NotificationRuleBroken}: the rule loads and names nothing deleted. */
771
+ EventCategory["NotificationRuleRepaired"] = "notification.rule-repaired";
764
772
  EventCategory["DeviceUpdated"] = "device.updated";
765
773
  /**
766
774
  * Transport-level connectivity. Emitted by the device driver when
@@ -5488,7 +5496,7 @@ var ZodIssueCode = {
5488
5496
  var ZodFirstPartyTypeKind;
5489
5497
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5490
5498
  //#endregion
5491
- //#region ../types/dist/sleep-_sV1BE2f.mjs
5499
+ //#region ../types/dist/sleep-CueztlR1.mjs
5492
5500
  /**
5493
5501
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5494
5502
  * window to float samples (D455).
@@ -42226,6 +42234,8 @@ var NcSystemEventKindSchema = _enum([
42226
42234
  "alert-critical",
42227
42235
  "alert-error",
42228
42236
  "alert-critical-resolved",
42237
+ "rule-broken",
42238
+ "rule-repaired",
42229
42239
  "camera-online",
42230
42240
  "camera-offline",
42231
42241
  "camera-disabled",
@@ -73694,6 +73704,8 @@ new Map(Object.entries({
73694
73704
  "alert-critical": "system",
73695
73705
  "alert-error": "system",
73696
73706
  "alert-critical-resolved": "system",
73707
+ "rule-broken": "system",
73708
+ "rule-repaired": "system",
73697
73709
  "storage-location-low": "system",
73698
73710
  "storage-location-critical": "system",
73699
73711
  "storage-location-ok": "system",
@@ -73828,6 +73840,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
73828
73840
  "alert-critical-resolved"
73829
73841
  ]
73830
73842
  },
73843
+ {
73844
+ id: "rule-health",
73845
+ family: "system",
73846
+ label: "Notification rules",
73847
+ kinds: ["rule-broken", "rule-repaired"]
73848
+ },
73831
73849
  {
73832
73850
  id: "alarm",
73833
73851
  family: "alarm",
@@ -74105,6 +74123,10 @@ var STATE_SUMMARY_VARS = [
74105
74123
  [...RULE_TEXT],
74106
74124
  [...RULE_TEXT],
74107
74125
  [...RULE_TEXT],
74126
+ [...RULE_TEXT],
74127
+ [...RULE_TEXT],
74128
+ [...RULE_TEXT],
74129
+ [...RULE_TEXT],
74108
74130
  ([...RULE_TEXT], [...UPDATES]),
74109
74131
  ([...RULE_TEXT], [...PACKAGE_UPDATES]),
74110
74132
  ([...RULE_TEXT], [...PACKAGE_UPDATES]),
@@ -74143,6 +74165,107 @@ var STATE_SUMMARY_VARS = [
74143
74165
  [...RULE_TEXT],
74144
74166
  ...STATE_SUMMARY_VARS
74145
74167
  ];
74168
+ new Map([
74169
+ {
74170
+ id: "device-connectivity",
74171
+ family: "device-events",
74172
+ label: "Device connectivity (offline / back online)",
74173
+ bad: ["device-offline"],
74174
+ recovery: ["device-online"],
74175
+ snapshotLabel: "Devices offline now",
74176
+ snapshotSection: "device-state"
74177
+ },
74178
+ {
74179
+ id: "device-switch",
74180
+ family: "device-events",
74181
+ label: "Device switched off / back on",
74182
+ bad: ["device-disabled"],
74183
+ recovery: ["device-enabled"],
74184
+ snapshotLabel: "Devices switched off now",
74185
+ snapshotSection: "device-state"
74186
+ },
74187
+ {
74188
+ id: "stream-connectivity",
74189
+ family: "device-events",
74190
+ label: "Stream connectivity (offline / back online)",
74191
+ bad: ["stream-offline"],
74192
+ recovery: ["stream-online"],
74193
+ snapshotLabel: "Streams offline now",
74194
+ snapshotSection: "streams"
74195
+ },
74196
+ {
74197
+ id: "battery",
74198
+ family: "device-events",
74199
+ label: "Battery (low / back to normal)",
74200
+ bad: ["device-battery-low"],
74201
+ recovery: ["device-battery-normal"],
74202
+ snapshotLabel: "Batteries low now",
74203
+ snapshotSection: "battery"
74204
+ },
74205
+ {
74206
+ id: "consumables",
74207
+ family: "device-events",
74208
+ label: "Consumables (low / replaced)",
74209
+ bad: ["device-consumable-low"],
74210
+ recovery: ["device-consumable-normal"],
74211
+ snapshotLabel: "Consumables low now",
74212
+ snapshotSection: "consumables"
74213
+ },
74214
+ {
74215
+ id: "tanks",
74216
+ family: "device-events",
74217
+ label: "Tanks (low or full / back to normal)",
74218
+ bad: ["device-tank-low", "device-tank-full"],
74219
+ recovery: ["device-tank-normal"],
74220
+ snapshotLabel: "Tanks low or full now",
74221
+ snapshotSection: "tanks"
74222
+ },
74223
+ {
74224
+ id: "recording-health",
74225
+ family: "device-events",
74226
+ label: "Recording health (stalled or degraded / recording again)",
74227
+ bad: ["recording-stalled", "recording-degraded"],
74228
+ recovery: ["recording-healthy"],
74229
+ snapshotLabel: "Recordings stalled now",
74230
+ snapshotSection: null
74231
+ },
74232
+ {
74233
+ id: "node-connectivity",
74234
+ family: "system",
74235
+ label: "Node connectivity (offline / back online)",
74236
+ bad: ["node-offline"],
74237
+ recovery: ["node-online"],
74238
+ snapshotLabel: "Nodes offline now",
74239
+ snapshotSection: "nodes"
74240
+ },
74241
+ {
74242
+ id: "storage-space",
74243
+ family: "system",
74244
+ label: "Storage space (low or critical / ok again)",
74245
+ bad: ["storage-location-low", "storage-location-critical"],
74246
+ recovery: ["storage-location-ok"],
74247
+ snapshotLabel: "Storage locations low now",
74248
+ snapshotSection: null
74249
+ },
74250
+ {
74251
+ id: "critical-alerts",
74252
+ family: "system",
74253
+ label: "Critical alerts (raised / resolved)",
74254
+ bad: ["alert-critical"],
74255
+ recovery: ["alert-critical-resolved"],
74256
+ snapshotLabel: "Critical alerts open now",
74257
+ snapshotSection: null
74258
+ },
74259
+ {
74260
+ id: "rule-health",
74261
+ family: "system",
74262
+ label: "Rule health (broken / repaired)",
74263
+ bad: ["rule-broken"],
74264
+ recovery: ["rule-repaired"],
74265
+ snapshotLabel: "Notification rules broken now",
74266
+ snapshotSection: null
74267
+ }
74268
+ ].flatMap((spec) => [...spec.bad, ...spec.recovery].map((kind) => [kind, spec])));
74146
74269
  new Set([
74147
74270
  "disarmed",
74148
74271
  "armed_home",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-google",
3
- "version": "0.1.105",
3
+ "version": "0.1.107",
4
4
  "description": "Google Home export — hub-side smart-home fulfillment (SYNC / QUERY / EXECUTE / DISCONNECT) for the non-camera fleet, served over the hub's own OAuth account link. No Google credential is stored, sent or required.",
5
5
  "keywords": [
6
6
  "camstack",