@camstack/addon-provider-reolink 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.
- package/dist/addon.js +187 -2
- package/dist/addon.mjs +187 -2
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -12896,7 +12896,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
12896
12896
|
* This is what lets one picker serve both the bypass and the full source
|
|
12897
12897
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
12898
12898
|
*/
|
|
12899
|
-
allowTranscode: boolean().optional()
|
|
12899
|
+
allowTranscode: boolean().optional(),
|
|
12900
|
+
/**
|
|
12901
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
12902
|
+
*
|
|
12903
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
12904
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
12905
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
12906
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
12907
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
12908
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
12909
|
+
*
|
|
12910
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
12911
|
+
* here when it decides which source to BIND to a slot
|
|
12912
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
12913
|
+
* could never bind them.
|
|
12914
|
+
*/
|
|
12915
|
+
requireProfileBound: boolean().optional()
|
|
12900
12916
|
}).readonly();
|
|
12901
12917
|
var PickStreamPreferencesSchema = object({
|
|
12902
12918
|
/**
|
|
@@ -12937,7 +12953,43 @@ var PickedCamStreamSchema = object({
|
|
|
12937
12953
|
*/
|
|
12938
12954
|
transcodes: boolean(),
|
|
12939
12955
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12940
|
-
reason: string()
|
|
12956
|
+
reason: string(),
|
|
12957
|
+
/**
|
|
12958
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
12959
|
+
*
|
|
12960
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
12961
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
12962
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
12963
|
+
* the same function a second time.
|
|
12964
|
+
*
|
|
12965
|
+
* Absent when the source has no slot, which a caller passing
|
|
12966
|
+
* `requireProfileBound` can never see.
|
|
12967
|
+
*/
|
|
12968
|
+
profile: CamProfileSchema.optional(),
|
|
12969
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
12970
|
+
brokerId: string().optional(),
|
|
12971
|
+
/**
|
|
12972
|
+
* The broker restream URL to dial for this stream.
|
|
12973
|
+
*
|
|
12974
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
12975
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
12976
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
12977
|
+
* naming a source and leaving each caller to look the URL up.
|
|
12978
|
+
*/
|
|
12979
|
+
url: string().optional(),
|
|
12980
|
+
/**
|
|
12981
|
+
* Frames per second this stream really delivers, and where the number came
|
|
12982
|
+
* from.
|
|
12983
|
+
*
|
|
12984
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
12985
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
12986
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
12987
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
12988
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
12989
|
+
* are not interchangeable.
|
|
12990
|
+
*/
|
|
12991
|
+
fps: number().positive().optional(),
|
|
12992
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
12941
12993
|
});
|
|
12942
12994
|
/**
|
|
12943
12995
|
* Camera streams — device-scoped facade over the system `stream-broker`.
|
|
@@ -14120,6 +14172,70 @@ var LocationIconAssignmentSchema = object({
|
|
|
14120
14172
|
locationKey: string(),
|
|
14121
14173
|
icon: LocationIconIdSchema
|
|
14122
14174
|
});
|
|
14175
|
+
/**
|
|
14176
|
+
* One (location, description) assignment as it travels.
|
|
14177
|
+
*
|
|
14178
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
14179
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
14180
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
14181
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
14182
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
14183
|
+
* off the location itself, on `locationIconKey`.
|
|
14184
|
+
*/
|
|
14185
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
14186
|
+
locationKey: string(),
|
|
14187
|
+
description: string()
|
|
14188
|
+
});
|
|
14189
|
+
/**
|
|
14190
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
14191
|
+
*
|
|
14192
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
14193
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
14194
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
14195
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
14196
|
+
*
|
|
14197
|
+
* ## Why not `zone`
|
|
14198
|
+
*
|
|
14199
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
14200
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
14201
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
14202
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
14203
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
14204
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
14205
|
+
*
|
|
14206
|
+
* ## The key
|
|
14207
|
+
*
|
|
14208
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
14209
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
14210
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
14211
|
+
* silently-dropped location description.
|
|
14212
|
+
*
|
|
14213
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
14214
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
14215
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
14216
|
+
*/
|
|
14217
|
+
/**
|
|
14218
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
14219
|
+
* the locations inside it.
|
|
14220
|
+
*
|
|
14221
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
14222
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
14223
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
14224
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
14225
|
+
* it has not fetched yet.
|
|
14226
|
+
*
|
|
14227
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
14228
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
14229
|
+
*/
|
|
14230
|
+
var SiteZoneSchema = object({
|
|
14231
|
+
zoneKey: string(),
|
|
14232
|
+
label: string(),
|
|
14233
|
+
icon: LocationIconIdSchema.nullable(),
|
|
14234
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
14235
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
14236
|
+
* the ones that most want grouping. */
|
|
14237
|
+
locationKeys: array(string())
|
|
14238
|
+
});
|
|
14123
14239
|
var ProviderStatusSchema = object({
|
|
14124
14240
|
connected: boolean(),
|
|
14125
14241
|
deviceCount: number(),
|
|
@@ -14718,6 +14834,33 @@ method(object({
|
|
|
14718
14834
|
}), _void(), {
|
|
14719
14835
|
kind: "mutation",
|
|
14720
14836
|
auth: "admin"
|
|
14837
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
14838
|
+
location: string(),
|
|
14839
|
+
description: string().max(400).nullable()
|
|
14840
|
+
}), _void(), {
|
|
14841
|
+
kind: "mutation",
|
|
14842
|
+
auth: "admin"
|
|
14843
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
14844
|
+
name: string(),
|
|
14845
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
14846
|
+
}), _void(), {
|
|
14847
|
+
kind: "mutation",
|
|
14848
|
+
auth: "admin"
|
|
14849
|
+
}), method(object({ name: string() }), _void(), {
|
|
14850
|
+
kind: "mutation",
|
|
14851
|
+
auth: "admin"
|
|
14852
|
+
}), method(object({
|
|
14853
|
+
from: string(),
|
|
14854
|
+
to: string()
|
|
14855
|
+
}), _void(), {
|
|
14856
|
+
kind: "mutation",
|
|
14857
|
+
auth: "admin"
|
|
14858
|
+
}), method(object({
|
|
14859
|
+
location: string(),
|
|
14860
|
+
zone: string().nullable()
|
|
14861
|
+
}), _void(), {
|
|
14862
|
+
kind: "mutation",
|
|
14863
|
+
auth: "admin"
|
|
14721
14864
|
}), method(object({
|
|
14722
14865
|
deviceId: number(),
|
|
14723
14866
|
disabled: boolean()
|
|
@@ -38255,6 +38398,12 @@ Object.freeze({
|
|
|
38255
38398
|
addonId: null,
|
|
38256
38399
|
access: "view"
|
|
38257
38400
|
},
|
|
38401
|
+
"deviceManager.listLocationDescriptions": {
|
|
38402
|
+
capName: "device-manager",
|
|
38403
|
+
capScope: "system",
|
|
38404
|
+
addonId: null,
|
|
38405
|
+
access: "view"
|
|
38406
|
+
},
|
|
38258
38407
|
"deviceManager.listLocationIcons": {
|
|
38259
38408
|
capName: "device-manager",
|
|
38260
38409
|
capScope: "system",
|
|
@@ -38273,6 +38422,12 @@ Object.freeze({
|
|
|
38273
38422
|
addonId: null,
|
|
38274
38423
|
access: "view"
|
|
38275
38424
|
},
|
|
38425
|
+
"deviceManager.listSiteZones": {
|
|
38426
|
+
capName: "device-manager",
|
|
38427
|
+
capScope: "system",
|
|
38428
|
+
addonId: null,
|
|
38429
|
+
access: "view"
|
|
38430
|
+
},
|
|
38276
38431
|
"deviceManager.listWrappersForCap": {
|
|
38277
38432
|
capName: "device-manager",
|
|
38278
38433
|
capScope: "system",
|
|
@@ -38357,12 +38512,24 @@ Object.freeze({
|
|
|
38357
38512
|
addonId: null,
|
|
38358
38513
|
access: "delete"
|
|
38359
38514
|
},
|
|
38515
|
+
"deviceManager.removeSiteZone": {
|
|
38516
|
+
capName: "device-manager",
|
|
38517
|
+
capScope: "system",
|
|
38518
|
+
addonId: null,
|
|
38519
|
+
access: "delete"
|
|
38520
|
+
},
|
|
38360
38521
|
"deviceManager.renameLocation": {
|
|
38361
38522
|
capName: "device-manager",
|
|
38362
38523
|
capScope: "system",
|
|
38363
38524
|
addonId: null,
|
|
38364
38525
|
access: "create"
|
|
38365
38526
|
},
|
|
38527
|
+
"deviceManager.renameSiteZone": {
|
|
38528
|
+
capName: "device-manager",
|
|
38529
|
+
capScope: "system",
|
|
38530
|
+
addonId: null,
|
|
38531
|
+
access: "create"
|
|
38532
|
+
},
|
|
38366
38533
|
"deviceManager.runDeviceAction": {
|
|
38367
38534
|
capName: "device-manager",
|
|
38368
38535
|
capScope: "system",
|
|
@@ -38405,12 +38572,24 @@ Object.freeze({
|
|
|
38405
38572
|
addonId: null,
|
|
38406
38573
|
access: "create"
|
|
38407
38574
|
},
|
|
38575
|
+
"deviceManager.setLocationDescription": {
|
|
38576
|
+
capName: "device-manager",
|
|
38577
|
+
capScope: "system",
|
|
38578
|
+
addonId: null,
|
|
38579
|
+
access: "create"
|
|
38580
|
+
},
|
|
38408
38581
|
"deviceManager.setLocationIcon": {
|
|
38409
38582
|
capName: "device-manager",
|
|
38410
38583
|
capScope: "system",
|
|
38411
38584
|
addonId: null,
|
|
38412
38585
|
access: "create"
|
|
38413
38586
|
},
|
|
38587
|
+
"deviceManager.setLocationZone": {
|
|
38588
|
+
capName: "device-manager",
|
|
38589
|
+
capScope: "system",
|
|
38590
|
+
addonId: null,
|
|
38591
|
+
access: "create"
|
|
38592
|
+
},
|
|
38414
38593
|
"deviceManager.setMetadata": {
|
|
38415
38594
|
capName: "device-manager",
|
|
38416
38595
|
capScope: "system",
|
|
@@ -38441,6 +38620,12 @@ Object.freeze({
|
|
|
38441
38620
|
addonId: null,
|
|
38442
38621
|
access: "create"
|
|
38443
38622
|
},
|
|
38623
|
+
"deviceManager.setSiteZone": {
|
|
38624
|
+
capName: "device-manager",
|
|
38625
|
+
capScope: "system",
|
|
38626
|
+
addonId: null,
|
|
38627
|
+
access: "create"
|
|
38628
|
+
},
|
|
38444
38629
|
"deviceManager.setStreamProfileMap": {
|
|
38445
38630
|
capName: "device-manager",
|
|
38446
38631
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -12891,7 +12891,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
12891
12891
|
* This is what lets one picker serve both the bypass and the full source
|
|
12892
12892
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
12893
12893
|
*/
|
|
12894
|
-
allowTranscode: boolean().optional()
|
|
12894
|
+
allowTranscode: boolean().optional(),
|
|
12895
|
+
/**
|
|
12896
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
12897
|
+
*
|
|
12898
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
12899
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
12900
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
12901
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
12902
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
12903
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
12904
|
+
*
|
|
12905
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
12906
|
+
* here when it decides which source to BIND to a slot
|
|
12907
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
12908
|
+
* could never bind them.
|
|
12909
|
+
*/
|
|
12910
|
+
requireProfileBound: boolean().optional()
|
|
12895
12911
|
}).readonly();
|
|
12896
12912
|
var PickStreamPreferencesSchema = object({
|
|
12897
12913
|
/**
|
|
@@ -12932,7 +12948,43 @@ var PickedCamStreamSchema = object({
|
|
|
12932
12948
|
*/
|
|
12933
12949
|
transcodes: boolean(),
|
|
12934
12950
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12935
|
-
reason: string()
|
|
12951
|
+
reason: string(),
|
|
12952
|
+
/**
|
|
12953
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
12954
|
+
*
|
|
12955
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
12956
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
12957
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
12958
|
+
* the same function a second time.
|
|
12959
|
+
*
|
|
12960
|
+
* Absent when the source has no slot, which a caller passing
|
|
12961
|
+
* `requireProfileBound` can never see.
|
|
12962
|
+
*/
|
|
12963
|
+
profile: CamProfileSchema.optional(),
|
|
12964
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
12965
|
+
brokerId: string().optional(),
|
|
12966
|
+
/**
|
|
12967
|
+
* The broker restream URL to dial for this stream.
|
|
12968
|
+
*
|
|
12969
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
12970
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
12971
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
12972
|
+
* naming a source and leaving each caller to look the URL up.
|
|
12973
|
+
*/
|
|
12974
|
+
url: string().optional(),
|
|
12975
|
+
/**
|
|
12976
|
+
* Frames per second this stream really delivers, and where the number came
|
|
12977
|
+
* from.
|
|
12978
|
+
*
|
|
12979
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
12980
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
12981
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
12982
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
12983
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
12984
|
+
* are not interchangeable.
|
|
12985
|
+
*/
|
|
12986
|
+
fps: number().positive().optional(),
|
|
12987
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
12936
12988
|
});
|
|
12937
12989
|
/**
|
|
12938
12990
|
* Camera streams — device-scoped facade over the system `stream-broker`.
|
|
@@ -14115,6 +14167,70 @@ var LocationIconAssignmentSchema = object({
|
|
|
14115
14167
|
locationKey: string(),
|
|
14116
14168
|
icon: LocationIconIdSchema
|
|
14117
14169
|
});
|
|
14170
|
+
/**
|
|
14171
|
+
* One (location, description) assignment as it travels.
|
|
14172
|
+
*
|
|
14173
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
14174
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
14175
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
14176
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
14177
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
14178
|
+
* off the location itself, on `locationIconKey`.
|
|
14179
|
+
*/
|
|
14180
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
14181
|
+
locationKey: string(),
|
|
14182
|
+
description: string()
|
|
14183
|
+
});
|
|
14184
|
+
/**
|
|
14185
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
14186
|
+
*
|
|
14187
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
14188
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
14189
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
14190
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
14191
|
+
*
|
|
14192
|
+
* ## Why not `zone`
|
|
14193
|
+
*
|
|
14194
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
14195
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
14196
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
14197
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
14198
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
14199
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
14200
|
+
*
|
|
14201
|
+
* ## The key
|
|
14202
|
+
*
|
|
14203
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
14204
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
14205
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
14206
|
+
* silently-dropped location description.
|
|
14207
|
+
*
|
|
14208
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
14209
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
14210
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
14211
|
+
*/
|
|
14212
|
+
/**
|
|
14213
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
14214
|
+
* the locations inside it.
|
|
14215
|
+
*
|
|
14216
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
14217
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
14218
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
14219
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
14220
|
+
* it has not fetched yet.
|
|
14221
|
+
*
|
|
14222
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
14223
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
14224
|
+
*/
|
|
14225
|
+
var SiteZoneSchema = object({
|
|
14226
|
+
zoneKey: string(),
|
|
14227
|
+
label: string(),
|
|
14228
|
+
icon: LocationIconIdSchema.nullable(),
|
|
14229
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
14230
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
14231
|
+
* the ones that most want grouping. */
|
|
14232
|
+
locationKeys: array(string())
|
|
14233
|
+
});
|
|
14118
14234
|
var ProviderStatusSchema = object({
|
|
14119
14235
|
connected: boolean(),
|
|
14120
14236
|
deviceCount: number(),
|
|
@@ -14713,6 +14829,33 @@ method(object({
|
|
|
14713
14829
|
}), _void(), {
|
|
14714
14830
|
kind: "mutation",
|
|
14715
14831
|
auth: "admin"
|
|
14832
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
14833
|
+
location: string(),
|
|
14834
|
+
description: string().max(400).nullable()
|
|
14835
|
+
}), _void(), {
|
|
14836
|
+
kind: "mutation",
|
|
14837
|
+
auth: "admin"
|
|
14838
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
14839
|
+
name: string(),
|
|
14840
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
14841
|
+
}), _void(), {
|
|
14842
|
+
kind: "mutation",
|
|
14843
|
+
auth: "admin"
|
|
14844
|
+
}), method(object({ name: string() }), _void(), {
|
|
14845
|
+
kind: "mutation",
|
|
14846
|
+
auth: "admin"
|
|
14847
|
+
}), method(object({
|
|
14848
|
+
from: string(),
|
|
14849
|
+
to: string()
|
|
14850
|
+
}), _void(), {
|
|
14851
|
+
kind: "mutation",
|
|
14852
|
+
auth: "admin"
|
|
14853
|
+
}), method(object({
|
|
14854
|
+
location: string(),
|
|
14855
|
+
zone: string().nullable()
|
|
14856
|
+
}), _void(), {
|
|
14857
|
+
kind: "mutation",
|
|
14858
|
+
auth: "admin"
|
|
14716
14859
|
}), method(object({
|
|
14717
14860
|
deviceId: number(),
|
|
14718
14861
|
disabled: boolean()
|
|
@@ -38250,6 +38393,12 @@ Object.freeze({
|
|
|
38250
38393
|
addonId: null,
|
|
38251
38394
|
access: "view"
|
|
38252
38395
|
},
|
|
38396
|
+
"deviceManager.listLocationDescriptions": {
|
|
38397
|
+
capName: "device-manager",
|
|
38398
|
+
capScope: "system",
|
|
38399
|
+
addonId: null,
|
|
38400
|
+
access: "view"
|
|
38401
|
+
},
|
|
38253
38402
|
"deviceManager.listLocationIcons": {
|
|
38254
38403
|
capName: "device-manager",
|
|
38255
38404
|
capScope: "system",
|
|
@@ -38268,6 +38417,12 @@ Object.freeze({
|
|
|
38268
38417
|
addonId: null,
|
|
38269
38418
|
access: "view"
|
|
38270
38419
|
},
|
|
38420
|
+
"deviceManager.listSiteZones": {
|
|
38421
|
+
capName: "device-manager",
|
|
38422
|
+
capScope: "system",
|
|
38423
|
+
addonId: null,
|
|
38424
|
+
access: "view"
|
|
38425
|
+
},
|
|
38271
38426
|
"deviceManager.listWrappersForCap": {
|
|
38272
38427
|
capName: "device-manager",
|
|
38273
38428
|
capScope: "system",
|
|
@@ -38352,12 +38507,24 @@ Object.freeze({
|
|
|
38352
38507
|
addonId: null,
|
|
38353
38508
|
access: "delete"
|
|
38354
38509
|
},
|
|
38510
|
+
"deviceManager.removeSiteZone": {
|
|
38511
|
+
capName: "device-manager",
|
|
38512
|
+
capScope: "system",
|
|
38513
|
+
addonId: null,
|
|
38514
|
+
access: "delete"
|
|
38515
|
+
},
|
|
38355
38516
|
"deviceManager.renameLocation": {
|
|
38356
38517
|
capName: "device-manager",
|
|
38357
38518
|
capScope: "system",
|
|
38358
38519
|
addonId: null,
|
|
38359
38520
|
access: "create"
|
|
38360
38521
|
},
|
|
38522
|
+
"deviceManager.renameSiteZone": {
|
|
38523
|
+
capName: "device-manager",
|
|
38524
|
+
capScope: "system",
|
|
38525
|
+
addonId: null,
|
|
38526
|
+
access: "create"
|
|
38527
|
+
},
|
|
38361
38528
|
"deviceManager.runDeviceAction": {
|
|
38362
38529
|
capName: "device-manager",
|
|
38363
38530
|
capScope: "system",
|
|
@@ -38400,12 +38567,24 @@ Object.freeze({
|
|
|
38400
38567
|
addonId: null,
|
|
38401
38568
|
access: "create"
|
|
38402
38569
|
},
|
|
38570
|
+
"deviceManager.setLocationDescription": {
|
|
38571
|
+
capName: "device-manager",
|
|
38572
|
+
capScope: "system",
|
|
38573
|
+
addonId: null,
|
|
38574
|
+
access: "create"
|
|
38575
|
+
},
|
|
38403
38576
|
"deviceManager.setLocationIcon": {
|
|
38404
38577
|
capName: "device-manager",
|
|
38405
38578
|
capScope: "system",
|
|
38406
38579
|
addonId: null,
|
|
38407
38580
|
access: "create"
|
|
38408
38581
|
},
|
|
38582
|
+
"deviceManager.setLocationZone": {
|
|
38583
|
+
capName: "device-manager",
|
|
38584
|
+
capScope: "system",
|
|
38585
|
+
addonId: null,
|
|
38586
|
+
access: "create"
|
|
38587
|
+
},
|
|
38409
38588
|
"deviceManager.setMetadata": {
|
|
38410
38589
|
capName: "device-manager",
|
|
38411
38590
|
capScope: "system",
|
|
@@ -38436,6 +38615,12 @@ Object.freeze({
|
|
|
38436
38615
|
addonId: null,
|
|
38437
38616
|
access: "create"
|
|
38438
38617
|
},
|
|
38618
|
+
"deviceManager.setSiteZone": {
|
|
38619
|
+
capName: "device-manager",
|
|
38620
|
+
capScope: "system",
|
|
38621
|
+
addonId: null,
|
|
38622
|
+
access: "create"
|
|
38623
|
+
},
|
|
38439
38624
|
"deviceManager.setStreamProfileMap": {
|
|
38440
38625
|
capName: "device-manager",
|
|
38441
38626
|
capScope: "system",
|