@camstack/addon-export-google 0.1.28 → 0.1.30

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.
@@ -7746,7 +7746,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7746
7746
  var CameraSwitchUnavailableReasonSchema = _enum([
7747
7747
  "no-provider",
7748
7748
  "source-unreachable",
7749
- "not-configured"
7749
+ "not-configured",
7750
+ "device-disabled"
7750
7751
  ]);
7751
7752
  /**
7752
7753
  * One switch, resolved for one camera.
@@ -13019,7 +13020,12 @@ var ConfigEntrySchema = object({
13019
13020
  value: unknown(),
13020
13021
  description: string().optional()
13021
13022
  });
13022
- var LinkedDevicesModeSchema = _enum(["auto", "manual"]);
13023
+ /**
13024
+ * Only `manual` since D356: the operator picks, nothing links itself. The
13025
+ * field survives on the wire because a viewer already OTA'd parses it —
13026
+ * drop it once no shipped client reads `mode`.
13027
+ */
13028
+ var LinkedDevicesModeSchema = _enum(["manual"]);
13023
13029
  /** One resolved linked device — the compact projection consumers need. */
13024
13030
  var LinkedDeviceSchema = object({
13025
13031
  deviceId: number(),
@@ -23353,12 +23359,20 @@ var BatteryStatusSchema = object({
23353
23359
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23354
23360
  * Reolink-specific for the Solar Panel 2 accessory (will become
23355
23361
  * common on other battery cams). `'none'` means running on battery
23356
- * alone.
23362
+ * alone — a NEGATIVE the firmware actually reported.
23363
+ *
23364
+ * `'unknown'` is the absence of an answer: the provider has not read the
23365
+ * power fields yet, or the firmware reported neither. Before it existed,
23366
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
23367
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
23368
+ * by going nullable. Consumers SKIP it (no charger state published, no
23369
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
23357
23370
  */
23358
23371
  charging: _enum([
23359
23372
  "dc",
23360
23373
  "solar",
23361
- "none"
23374
+ "none",
23375
+ "unknown"
23362
23376
  ]),
23363
23377
  /**
23364
23378
  * True when the camera firmware has gone into low-power mode. Battery
@@ -7742,7 +7742,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
7742
7742
  var CameraSwitchUnavailableReasonSchema = _enum([
7743
7743
  "no-provider",
7744
7744
  "source-unreachable",
7745
- "not-configured"
7745
+ "not-configured",
7746
+ "device-disabled"
7746
7747
  ]);
7747
7748
  /**
7748
7749
  * One switch, resolved for one camera.
@@ -13015,7 +13016,12 @@ var ConfigEntrySchema = object({
13015
13016
  value: unknown(),
13016
13017
  description: string().optional()
13017
13018
  });
13018
- var LinkedDevicesModeSchema = _enum(["auto", "manual"]);
13019
+ /**
13020
+ * Only `manual` since D356: the operator picks, nothing links itself. The
13021
+ * field survives on the wire because a viewer already OTA'd parses it —
13022
+ * drop it once no shipped client reads `mode`.
13023
+ */
13024
+ var LinkedDevicesModeSchema = _enum(["manual"]);
13019
13025
  /** One resolved linked device — the compact projection consumers need. */
13020
13026
  var LinkedDeviceSchema = object({
13021
13027
  deviceId: number(),
@@ -23349,12 +23355,20 @@ var BatteryStatusSchema = object({
23349
23355
  * Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
23350
23356
  * Reolink-specific for the Solar Panel 2 accessory (will become
23351
23357
  * common on other battery cams). `'none'` means running on battery
23352
- * alone.
23358
+ * alone — a NEGATIVE the firmware actually reported.
23359
+ *
23360
+ * `'unknown'` is the absence of an answer: the provider has not read the
23361
+ * power fields yet, or the firmware reported neither. Before it existed,
23362
+ * two unreadable fields produced `'none'`, and a camera nobody had reached
23363
+ * was drawn "on battery alone" — the same D315 defect `percentage` closed
23364
+ * by going nullable. Consumers SKIP it (no charger state published, no
23365
+ * glyph, no HomeKit ChargingState) rather than coerce it either way.
23353
23366
  */
23354
23367
  charging: _enum([
23355
23368
  "dc",
23356
23369
  "solar",
23357
- "none"
23370
+ "none",
23371
+ "unknown"
23358
23372
  ]),
23359
23373
  /**
23360
23374
  * True when the camera firmware has gone into low-power mode. Battery
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-google",
3
- "version": "0.1.28",
3
+ "version": "0.1.30",
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",