@camstack/addon-export-google 0.1.70 → 0.1.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.
- package/dist/export-google.addon.js +187 -2
- package/dist/export-google.addon.mjs +187 -2
- package/package.json +1 -1
|
@@ -12502,7 +12502,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
12502
12502
|
* This is what lets one picker serve both the bypass and the full source
|
|
12503
12503
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
12504
12504
|
*/
|
|
12505
|
-
allowTranscode: boolean().optional()
|
|
12505
|
+
allowTranscode: boolean().optional(),
|
|
12506
|
+
/**
|
|
12507
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
12508
|
+
*
|
|
12509
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
12510
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
12511
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
12512
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
12513
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
12514
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
12515
|
+
*
|
|
12516
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
12517
|
+
* here when it decides which source to BIND to a slot
|
|
12518
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
12519
|
+
* could never bind them.
|
|
12520
|
+
*/
|
|
12521
|
+
requireProfileBound: boolean().optional()
|
|
12506
12522
|
}).readonly();
|
|
12507
12523
|
var PickStreamPreferencesSchema = object({
|
|
12508
12524
|
/**
|
|
@@ -12543,7 +12559,43 @@ var PickedCamStreamSchema = object({
|
|
|
12543
12559
|
*/
|
|
12544
12560
|
transcodes: boolean(),
|
|
12545
12561
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12546
|
-
reason: string()
|
|
12562
|
+
reason: string(),
|
|
12563
|
+
/**
|
|
12564
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
12565
|
+
*
|
|
12566
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
12567
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
12568
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
12569
|
+
* the same function a second time.
|
|
12570
|
+
*
|
|
12571
|
+
* Absent when the source has no slot, which a caller passing
|
|
12572
|
+
* `requireProfileBound` can never see.
|
|
12573
|
+
*/
|
|
12574
|
+
profile: CamProfileSchema.optional(),
|
|
12575
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
12576
|
+
brokerId: string().optional(),
|
|
12577
|
+
/**
|
|
12578
|
+
* The broker restream URL to dial for this stream.
|
|
12579
|
+
*
|
|
12580
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
12581
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
12582
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
12583
|
+
* naming a source and leaving each caller to look the URL up.
|
|
12584
|
+
*/
|
|
12585
|
+
url: string().optional(),
|
|
12586
|
+
/**
|
|
12587
|
+
* Frames per second this stream really delivers, and where the number came
|
|
12588
|
+
* from.
|
|
12589
|
+
*
|
|
12590
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
12591
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
12592
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
12593
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
12594
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
12595
|
+
* are not interchangeable.
|
|
12596
|
+
*/
|
|
12597
|
+
fps: number().positive().optional(),
|
|
12598
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
12547
12599
|
});
|
|
12548
12600
|
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), array(CameraStreamSchema).readonly()), method(object({ deviceId: number().int().nonnegative() }), array(ProfileSlotSchema).readonly()), method(object({
|
|
12549
12601
|
deviceId: number().int().nonnegative(),
|
|
@@ -13542,6 +13594,70 @@ var LocationIconAssignmentSchema = object({
|
|
|
13542
13594
|
locationKey: string(),
|
|
13543
13595
|
icon: LocationIconIdSchema
|
|
13544
13596
|
});
|
|
13597
|
+
/**
|
|
13598
|
+
* One (location, description) assignment as it travels.
|
|
13599
|
+
*
|
|
13600
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
13601
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
13602
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
13603
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
13604
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
13605
|
+
* off the location itself, on `locationIconKey`.
|
|
13606
|
+
*/
|
|
13607
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
13608
|
+
locationKey: string(),
|
|
13609
|
+
description: string()
|
|
13610
|
+
});
|
|
13611
|
+
/**
|
|
13612
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
13613
|
+
*
|
|
13614
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
13615
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
13616
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
13617
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
13618
|
+
*
|
|
13619
|
+
* ## Why not `zone`
|
|
13620
|
+
*
|
|
13621
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
13622
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
13623
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
13624
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
13625
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
13626
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
13627
|
+
*
|
|
13628
|
+
* ## The key
|
|
13629
|
+
*
|
|
13630
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
13631
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
13632
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
13633
|
+
* silently-dropped location description.
|
|
13634
|
+
*
|
|
13635
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
13636
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
13637
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
13638
|
+
*/
|
|
13639
|
+
/**
|
|
13640
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
13641
|
+
* the locations inside it.
|
|
13642
|
+
*
|
|
13643
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
13644
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
13645
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
13646
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
13647
|
+
* it has not fetched yet.
|
|
13648
|
+
*
|
|
13649
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
13650
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
13651
|
+
*/
|
|
13652
|
+
var SiteZoneSchema = object({
|
|
13653
|
+
zoneKey: string(),
|
|
13654
|
+
label: string(),
|
|
13655
|
+
icon: LocationIconIdSchema.nullable(),
|
|
13656
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
13657
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
13658
|
+
* the ones that most want grouping. */
|
|
13659
|
+
locationKeys: array(string())
|
|
13660
|
+
});
|
|
13545
13661
|
var ProviderStatusSchema = object({
|
|
13546
13662
|
connected: boolean(),
|
|
13547
13663
|
deviceCount: number(),
|
|
@@ -14059,6 +14175,33 @@ method(object({
|
|
|
14059
14175
|
}), _void(), {
|
|
14060
14176
|
kind: "mutation",
|
|
14061
14177
|
auth: "admin"
|
|
14178
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
14179
|
+
location: string(),
|
|
14180
|
+
description: string().max(400).nullable()
|
|
14181
|
+
}), _void(), {
|
|
14182
|
+
kind: "mutation",
|
|
14183
|
+
auth: "admin"
|
|
14184
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
14185
|
+
name: string(),
|
|
14186
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
14187
|
+
}), _void(), {
|
|
14188
|
+
kind: "mutation",
|
|
14189
|
+
auth: "admin"
|
|
14190
|
+
}), method(object({ name: string() }), _void(), {
|
|
14191
|
+
kind: "mutation",
|
|
14192
|
+
auth: "admin"
|
|
14193
|
+
}), method(object({
|
|
14194
|
+
from: string(),
|
|
14195
|
+
to: string()
|
|
14196
|
+
}), _void(), {
|
|
14197
|
+
kind: "mutation",
|
|
14198
|
+
auth: "admin"
|
|
14199
|
+
}), method(object({
|
|
14200
|
+
location: string(),
|
|
14201
|
+
zone: string().nullable()
|
|
14202
|
+
}), _void(), {
|
|
14203
|
+
kind: "mutation",
|
|
14204
|
+
auth: "admin"
|
|
14062
14205
|
}), method(object({
|
|
14063
14206
|
deviceId: number(),
|
|
14064
14207
|
disabled: boolean()
|
|
@@ -32917,6 +33060,12 @@ Object.freeze({
|
|
|
32917
33060
|
addonId: null,
|
|
32918
33061
|
access: "view"
|
|
32919
33062
|
},
|
|
33063
|
+
"deviceManager.listLocationDescriptions": {
|
|
33064
|
+
capName: "device-manager",
|
|
33065
|
+
capScope: "system",
|
|
33066
|
+
addonId: null,
|
|
33067
|
+
access: "view"
|
|
33068
|
+
},
|
|
32920
33069
|
"deviceManager.listLocationIcons": {
|
|
32921
33070
|
capName: "device-manager",
|
|
32922
33071
|
capScope: "system",
|
|
@@ -32935,6 +33084,12 @@ Object.freeze({
|
|
|
32935
33084
|
addonId: null,
|
|
32936
33085
|
access: "view"
|
|
32937
33086
|
},
|
|
33087
|
+
"deviceManager.listSiteZones": {
|
|
33088
|
+
capName: "device-manager",
|
|
33089
|
+
capScope: "system",
|
|
33090
|
+
addonId: null,
|
|
33091
|
+
access: "view"
|
|
33092
|
+
},
|
|
32938
33093
|
"deviceManager.listWrappersForCap": {
|
|
32939
33094
|
capName: "device-manager",
|
|
32940
33095
|
capScope: "system",
|
|
@@ -33019,12 +33174,24 @@ Object.freeze({
|
|
|
33019
33174
|
addonId: null,
|
|
33020
33175
|
access: "delete"
|
|
33021
33176
|
},
|
|
33177
|
+
"deviceManager.removeSiteZone": {
|
|
33178
|
+
capName: "device-manager",
|
|
33179
|
+
capScope: "system",
|
|
33180
|
+
addonId: null,
|
|
33181
|
+
access: "delete"
|
|
33182
|
+
},
|
|
33022
33183
|
"deviceManager.renameLocation": {
|
|
33023
33184
|
capName: "device-manager",
|
|
33024
33185
|
capScope: "system",
|
|
33025
33186
|
addonId: null,
|
|
33026
33187
|
access: "create"
|
|
33027
33188
|
},
|
|
33189
|
+
"deviceManager.renameSiteZone": {
|
|
33190
|
+
capName: "device-manager",
|
|
33191
|
+
capScope: "system",
|
|
33192
|
+
addonId: null,
|
|
33193
|
+
access: "create"
|
|
33194
|
+
},
|
|
33028
33195
|
"deviceManager.runDeviceAction": {
|
|
33029
33196
|
capName: "device-manager",
|
|
33030
33197
|
capScope: "system",
|
|
@@ -33067,12 +33234,24 @@ Object.freeze({
|
|
|
33067
33234
|
addonId: null,
|
|
33068
33235
|
access: "create"
|
|
33069
33236
|
},
|
|
33237
|
+
"deviceManager.setLocationDescription": {
|
|
33238
|
+
capName: "device-manager",
|
|
33239
|
+
capScope: "system",
|
|
33240
|
+
addonId: null,
|
|
33241
|
+
access: "create"
|
|
33242
|
+
},
|
|
33070
33243
|
"deviceManager.setLocationIcon": {
|
|
33071
33244
|
capName: "device-manager",
|
|
33072
33245
|
capScope: "system",
|
|
33073
33246
|
addonId: null,
|
|
33074
33247
|
access: "create"
|
|
33075
33248
|
},
|
|
33249
|
+
"deviceManager.setLocationZone": {
|
|
33250
|
+
capName: "device-manager",
|
|
33251
|
+
capScope: "system",
|
|
33252
|
+
addonId: null,
|
|
33253
|
+
access: "create"
|
|
33254
|
+
},
|
|
33076
33255
|
"deviceManager.setMetadata": {
|
|
33077
33256
|
capName: "device-manager",
|
|
33078
33257
|
capScope: "system",
|
|
@@ -33103,6 +33282,12 @@ Object.freeze({
|
|
|
33103
33282
|
addonId: null,
|
|
33104
33283
|
access: "create"
|
|
33105
33284
|
},
|
|
33285
|
+
"deviceManager.setSiteZone": {
|
|
33286
|
+
capName: "device-manager",
|
|
33287
|
+
capScope: "system",
|
|
33288
|
+
addonId: null,
|
|
33289
|
+
access: "create"
|
|
33290
|
+
},
|
|
33106
33291
|
"deviceManager.setStreamProfileMap": {
|
|
33107
33292
|
capName: "device-manager",
|
|
33108
33293
|
capScope: "system",
|
|
@@ -12498,7 +12498,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
12498
12498
|
* This is what lets one picker serve both the bypass and the full source
|
|
12499
12499
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
12500
12500
|
*/
|
|
12501
|
-
allowTranscode: boolean().optional()
|
|
12501
|
+
allowTranscode: boolean().optional(),
|
|
12502
|
+
/**
|
|
12503
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
12504
|
+
*
|
|
12505
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
12506
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
12507
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
12508
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
12509
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
12510
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
12511
|
+
*
|
|
12512
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
12513
|
+
* here when it decides which source to BIND to a slot
|
|
12514
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
12515
|
+
* could never bind them.
|
|
12516
|
+
*/
|
|
12517
|
+
requireProfileBound: boolean().optional()
|
|
12502
12518
|
}).readonly();
|
|
12503
12519
|
var PickStreamPreferencesSchema = object({
|
|
12504
12520
|
/**
|
|
@@ -12539,7 +12555,43 @@ var PickedCamStreamSchema = object({
|
|
|
12539
12555
|
*/
|
|
12540
12556
|
transcodes: boolean(),
|
|
12541
12557
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12542
|
-
reason: string()
|
|
12558
|
+
reason: string(),
|
|
12559
|
+
/**
|
|
12560
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
12561
|
+
*
|
|
12562
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
12563
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
12564
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
12565
|
+
* the same function a second time.
|
|
12566
|
+
*
|
|
12567
|
+
* Absent when the source has no slot, which a caller passing
|
|
12568
|
+
* `requireProfileBound` can never see.
|
|
12569
|
+
*/
|
|
12570
|
+
profile: CamProfileSchema.optional(),
|
|
12571
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
12572
|
+
brokerId: string().optional(),
|
|
12573
|
+
/**
|
|
12574
|
+
* The broker restream URL to dial for this stream.
|
|
12575
|
+
*
|
|
12576
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
12577
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
12578
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
12579
|
+
* naming a source and leaving each caller to look the URL up.
|
|
12580
|
+
*/
|
|
12581
|
+
url: string().optional(),
|
|
12582
|
+
/**
|
|
12583
|
+
* Frames per second this stream really delivers, and where the number came
|
|
12584
|
+
* from.
|
|
12585
|
+
*
|
|
12586
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
12587
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
12588
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
12589
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
12590
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
12591
|
+
* are not interchangeable.
|
|
12592
|
+
*/
|
|
12593
|
+
fps: number().positive().optional(),
|
|
12594
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
12543
12595
|
});
|
|
12544
12596
|
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), array(CameraStreamSchema).readonly()), method(object({ deviceId: number().int().nonnegative() }), array(ProfileSlotSchema).readonly()), method(object({
|
|
12545
12597
|
deviceId: number().int().nonnegative(),
|
|
@@ -13538,6 +13590,70 @@ var LocationIconAssignmentSchema = object({
|
|
|
13538
13590
|
locationKey: string(),
|
|
13539
13591
|
icon: LocationIconIdSchema
|
|
13540
13592
|
});
|
|
13593
|
+
/**
|
|
13594
|
+
* One (location, description) assignment as it travels.
|
|
13595
|
+
*
|
|
13596
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
13597
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
13598
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
13599
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
13600
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
13601
|
+
* off the location itself, on `locationIconKey`.
|
|
13602
|
+
*/
|
|
13603
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
13604
|
+
locationKey: string(),
|
|
13605
|
+
description: string()
|
|
13606
|
+
});
|
|
13607
|
+
/**
|
|
13608
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
13609
|
+
*
|
|
13610
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
13611
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
13612
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
13613
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
13614
|
+
*
|
|
13615
|
+
* ## Why not `zone`
|
|
13616
|
+
*
|
|
13617
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
13618
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
13619
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
13620
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
13621
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
13622
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
13623
|
+
*
|
|
13624
|
+
* ## The key
|
|
13625
|
+
*
|
|
13626
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
13627
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
13628
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
13629
|
+
* silently-dropped location description.
|
|
13630
|
+
*
|
|
13631
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
13632
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
13633
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
13634
|
+
*/
|
|
13635
|
+
/**
|
|
13636
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
13637
|
+
* the locations inside it.
|
|
13638
|
+
*
|
|
13639
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
13640
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
13641
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
13642
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
13643
|
+
* it has not fetched yet.
|
|
13644
|
+
*
|
|
13645
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
13646
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
13647
|
+
*/
|
|
13648
|
+
var SiteZoneSchema = object({
|
|
13649
|
+
zoneKey: string(),
|
|
13650
|
+
label: string(),
|
|
13651
|
+
icon: LocationIconIdSchema.nullable(),
|
|
13652
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
13653
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
13654
|
+
* the ones that most want grouping. */
|
|
13655
|
+
locationKeys: array(string())
|
|
13656
|
+
});
|
|
13541
13657
|
var ProviderStatusSchema = object({
|
|
13542
13658
|
connected: boolean(),
|
|
13543
13659
|
deviceCount: number(),
|
|
@@ -14055,6 +14171,33 @@ method(object({
|
|
|
14055
14171
|
}), _void(), {
|
|
14056
14172
|
kind: "mutation",
|
|
14057
14173
|
auth: "admin"
|
|
14174
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
14175
|
+
location: string(),
|
|
14176
|
+
description: string().max(400).nullable()
|
|
14177
|
+
}), _void(), {
|
|
14178
|
+
kind: "mutation",
|
|
14179
|
+
auth: "admin"
|
|
14180
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
14181
|
+
name: string(),
|
|
14182
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
14183
|
+
}), _void(), {
|
|
14184
|
+
kind: "mutation",
|
|
14185
|
+
auth: "admin"
|
|
14186
|
+
}), method(object({ name: string() }), _void(), {
|
|
14187
|
+
kind: "mutation",
|
|
14188
|
+
auth: "admin"
|
|
14189
|
+
}), method(object({
|
|
14190
|
+
from: string(),
|
|
14191
|
+
to: string()
|
|
14192
|
+
}), _void(), {
|
|
14193
|
+
kind: "mutation",
|
|
14194
|
+
auth: "admin"
|
|
14195
|
+
}), method(object({
|
|
14196
|
+
location: string(),
|
|
14197
|
+
zone: string().nullable()
|
|
14198
|
+
}), _void(), {
|
|
14199
|
+
kind: "mutation",
|
|
14200
|
+
auth: "admin"
|
|
14058
14201
|
}), method(object({
|
|
14059
14202
|
deviceId: number(),
|
|
14060
14203
|
disabled: boolean()
|
|
@@ -32913,6 +33056,12 @@ Object.freeze({
|
|
|
32913
33056
|
addonId: null,
|
|
32914
33057
|
access: "view"
|
|
32915
33058
|
},
|
|
33059
|
+
"deviceManager.listLocationDescriptions": {
|
|
33060
|
+
capName: "device-manager",
|
|
33061
|
+
capScope: "system",
|
|
33062
|
+
addonId: null,
|
|
33063
|
+
access: "view"
|
|
33064
|
+
},
|
|
32916
33065
|
"deviceManager.listLocationIcons": {
|
|
32917
33066
|
capName: "device-manager",
|
|
32918
33067
|
capScope: "system",
|
|
@@ -32931,6 +33080,12 @@ Object.freeze({
|
|
|
32931
33080
|
addonId: null,
|
|
32932
33081
|
access: "view"
|
|
32933
33082
|
},
|
|
33083
|
+
"deviceManager.listSiteZones": {
|
|
33084
|
+
capName: "device-manager",
|
|
33085
|
+
capScope: "system",
|
|
33086
|
+
addonId: null,
|
|
33087
|
+
access: "view"
|
|
33088
|
+
},
|
|
32934
33089
|
"deviceManager.listWrappersForCap": {
|
|
32935
33090
|
capName: "device-manager",
|
|
32936
33091
|
capScope: "system",
|
|
@@ -33015,12 +33170,24 @@ Object.freeze({
|
|
|
33015
33170
|
addonId: null,
|
|
33016
33171
|
access: "delete"
|
|
33017
33172
|
},
|
|
33173
|
+
"deviceManager.removeSiteZone": {
|
|
33174
|
+
capName: "device-manager",
|
|
33175
|
+
capScope: "system",
|
|
33176
|
+
addonId: null,
|
|
33177
|
+
access: "delete"
|
|
33178
|
+
},
|
|
33018
33179
|
"deviceManager.renameLocation": {
|
|
33019
33180
|
capName: "device-manager",
|
|
33020
33181
|
capScope: "system",
|
|
33021
33182
|
addonId: null,
|
|
33022
33183
|
access: "create"
|
|
33023
33184
|
},
|
|
33185
|
+
"deviceManager.renameSiteZone": {
|
|
33186
|
+
capName: "device-manager",
|
|
33187
|
+
capScope: "system",
|
|
33188
|
+
addonId: null,
|
|
33189
|
+
access: "create"
|
|
33190
|
+
},
|
|
33024
33191
|
"deviceManager.runDeviceAction": {
|
|
33025
33192
|
capName: "device-manager",
|
|
33026
33193
|
capScope: "system",
|
|
@@ -33063,12 +33230,24 @@ Object.freeze({
|
|
|
33063
33230
|
addonId: null,
|
|
33064
33231
|
access: "create"
|
|
33065
33232
|
},
|
|
33233
|
+
"deviceManager.setLocationDescription": {
|
|
33234
|
+
capName: "device-manager",
|
|
33235
|
+
capScope: "system",
|
|
33236
|
+
addonId: null,
|
|
33237
|
+
access: "create"
|
|
33238
|
+
},
|
|
33066
33239
|
"deviceManager.setLocationIcon": {
|
|
33067
33240
|
capName: "device-manager",
|
|
33068
33241
|
capScope: "system",
|
|
33069
33242
|
addonId: null,
|
|
33070
33243
|
access: "create"
|
|
33071
33244
|
},
|
|
33245
|
+
"deviceManager.setLocationZone": {
|
|
33246
|
+
capName: "device-manager",
|
|
33247
|
+
capScope: "system",
|
|
33248
|
+
addonId: null,
|
|
33249
|
+
access: "create"
|
|
33250
|
+
},
|
|
33072
33251
|
"deviceManager.setMetadata": {
|
|
33073
33252
|
capName: "device-manager",
|
|
33074
33253
|
capScope: "system",
|
|
@@ -33099,6 +33278,12 @@ Object.freeze({
|
|
|
33099
33278
|
addonId: null,
|
|
33100
33279
|
access: "create"
|
|
33101
33280
|
},
|
|
33281
|
+
"deviceManager.setSiteZone": {
|
|
33282
|
+
capName: "device-manager",
|
|
33283
|
+
capScope: "system",
|
|
33284
|
+
addonId: null,
|
|
33285
|
+
access: "create"
|
|
33286
|
+
},
|
|
33102
33287
|
"deviceManager.setStreamProfileMap": {
|
|
33103
33288
|
capName: "device-manager",
|
|
33104
33289
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-google",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.72",
|
|
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",
|