@camstack/addon-export-alexa 1.2.70 → 1.2.72
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.
|
@@ -7721,7 +7721,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
|
|
|
7721
7721
|
var CameraSwitchUnavailableReasonSchema = _enum([
|
|
7722
7722
|
"no-provider",
|
|
7723
7723
|
"source-unreachable",
|
|
7724
|
-
"not-configured"
|
|
7724
|
+
"not-configured",
|
|
7725
|
+
"device-disabled"
|
|
7725
7726
|
]);
|
|
7726
7727
|
/**
|
|
7727
7728
|
* One switch, resolved for one camera.
|
|
@@ -13048,7 +13049,12 @@ var ConfigEntrySchema = object({
|
|
|
13048
13049
|
value: unknown(),
|
|
13049
13050
|
description: string().optional()
|
|
13050
13051
|
});
|
|
13051
|
-
|
|
13052
|
+
/**
|
|
13053
|
+
* Only `manual` since D356: the operator picks, nothing links itself. The
|
|
13054
|
+
* field survives on the wire because a viewer already OTA'd parses it —
|
|
13055
|
+
* drop it once no shipped client reads `mode`.
|
|
13056
|
+
*/
|
|
13057
|
+
var LinkedDevicesModeSchema = _enum(["manual"]);
|
|
13052
13058
|
/** One resolved linked device — the compact projection consumers need. */
|
|
13053
13059
|
var LinkedDeviceSchema = object({
|
|
13054
13060
|
deviceId: number(),
|
|
@@ -23382,12 +23388,20 @@ var BatteryStatusSchema = object({
|
|
|
23382
23388
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23383
23389
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
23384
23390
|
* common on other battery cams). `'none'` means running on battery
|
|
23385
|
-
* alone.
|
|
23391
|
+
* alone — a NEGATIVE the firmware actually reported.
|
|
23392
|
+
*
|
|
23393
|
+
* `'unknown'` is the absence of an answer: the provider has not read the
|
|
23394
|
+
* power fields yet, or the firmware reported neither. Before it existed,
|
|
23395
|
+
* two unreadable fields produced `'none'`, and a camera nobody had reached
|
|
23396
|
+
* was drawn "on battery alone" — the same D315 defect `percentage` closed
|
|
23397
|
+
* by going nullable. Consumers SKIP it (no charger state published, no
|
|
23398
|
+
* glyph, no HomeKit ChargingState) rather than coerce it either way.
|
|
23386
23399
|
*/
|
|
23387
23400
|
charging: _enum([
|
|
23388
23401
|
"dc",
|
|
23389
23402
|
"solar",
|
|
23390
|
-
"none"
|
|
23403
|
+
"none",
|
|
23404
|
+
"unknown"
|
|
23391
23405
|
]),
|
|
23392
23406
|
/**
|
|
23393
23407
|
* True when the camera firmware has gone into low-power mode. Battery
|
|
@@ -7694,7 +7694,8 @@ var CameraSwitchAuthoritySchema = discriminatedUnion("kind", [
|
|
|
7694
7694
|
var CameraSwitchUnavailableReasonSchema = _enum([
|
|
7695
7695
|
"no-provider",
|
|
7696
7696
|
"source-unreachable",
|
|
7697
|
-
"not-configured"
|
|
7697
|
+
"not-configured",
|
|
7698
|
+
"device-disabled"
|
|
7698
7699
|
]);
|
|
7699
7700
|
/**
|
|
7700
7701
|
* One switch, resolved for one camera.
|
|
@@ -13021,7 +13022,12 @@ var ConfigEntrySchema = object({
|
|
|
13021
13022
|
value: unknown(),
|
|
13022
13023
|
description: string().optional()
|
|
13023
13024
|
});
|
|
13024
|
-
|
|
13025
|
+
/**
|
|
13026
|
+
* Only `manual` since D356: the operator picks, nothing links itself. The
|
|
13027
|
+
* field survives on the wire because a viewer already OTA'd parses it —
|
|
13028
|
+
* drop it once no shipped client reads `mode`.
|
|
13029
|
+
*/
|
|
13030
|
+
var LinkedDevicesModeSchema = _enum(["manual"]);
|
|
13025
13031
|
/** One resolved linked device — the compact projection consumers need. */
|
|
13026
13032
|
var LinkedDeviceSchema = object({
|
|
13027
13033
|
deviceId: number(),
|
|
@@ -23355,12 +23361,20 @@ var BatteryStatusSchema = object({
|
|
|
23355
23361
|
* Charging source. `'dc'` covers wall/USB adapters; `'solar'` is
|
|
23356
23362
|
* Reolink-specific for the Solar Panel 2 accessory (will become
|
|
23357
23363
|
* common on other battery cams). `'none'` means running on battery
|
|
23358
|
-
* alone.
|
|
23364
|
+
* alone — a NEGATIVE the firmware actually reported.
|
|
23365
|
+
*
|
|
23366
|
+
* `'unknown'` is the absence of an answer: the provider has not read the
|
|
23367
|
+
* power fields yet, or the firmware reported neither. Before it existed,
|
|
23368
|
+
* two unreadable fields produced `'none'`, and a camera nobody had reached
|
|
23369
|
+
* was drawn "on battery alone" — the same D315 defect `percentage` closed
|
|
23370
|
+
* by going nullable. Consumers SKIP it (no charger state published, no
|
|
23371
|
+
* glyph, no HomeKit ChargingState) rather than coerce it either way.
|
|
23359
23372
|
*/
|
|
23360
23373
|
charging: _enum([
|
|
23361
23374
|
"dc",
|
|
23362
23375
|
"solar",
|
|
23363
|
-
"none"
|
|
23376
|
+
"none",
|
|
23377
|
+
"unknown"
|
|
23364
23378
|
]),
|
|
23365
23379
|
/**
|
|
23366
23380
|
* 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-alexa",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.72",
|
|
4
4
|
"description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|