@camstack/addon-provider-rtsp 1.2.106 → 1.2.108
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
|
@@ -12348,7 +12348,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
12348
12348
|
* This is what lets one picker serve both the bypass and the full source
|
|
12349
12349
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
12350
12350
|
*/
|
|
12351
|
-
allowTranscode: boolean().optional()
|
|
12351
|
+
allowTranscode: boolean().optional(),
|
|
12352
|
+
/**
|
|
12353
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
12354
|
+
*
|
|
12355
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
12356
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
12357
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
12358
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
12359
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
12360
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
12361
|
+
*
|
|
12362
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
12363
|
+
* here when it decides which source to BIND to a slot
|
|
12364
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
12365
|
+
* could never bind them.
|
|
12366
|
+
*/
|
|
12367
|
+
requireProfileBound: boolean().optional()
|
|
12352
12368
|
}).readonly();
|
|
12353
12369
|
var PickStreamPreferencesSchema = object({
|
|
12354
12370
|
/**
|
|
@@ -12389,7 +12405,43 @@ var PickedCamStreamSchema = object({
|
|
|
12389
12405
|
*/
|
|
12390
12406
|
transcodes: boolean(),
|
|
12391
12407
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12392
|
-
reason: string()
|
|
12408
|
+
reason: string(),
|
|
12409
|
+
/**
|
|
12410
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
12411
|
+
*
|
|
12412
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
12413
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
12414
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
12415
|
+
* the same function a second time.
|
|
12416
|
+
*
|
|
12417
|
+
* Absent when the source has no slot, which a caller passing
|
|
12418
|
+
* `requireProfileBound` can never see.
|
|
12419
|
+
*/
|
|
12420
|
+
profile: CamProfileSchema.optional(),
|
|
12421
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
12422
|
+
brokerId: string().optional(),
|
|
12423
|
+
/**
|
|
12424
|
+
* The broker restream URL to dial for this stream.
|
|
12425
|
+
*
|
|
12426
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
12427
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
12428
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
12429
|
+
* naming a source and leaving each caller to look the URL up.
|
|
12430
|
+
*/
|
|
12431
|
+
url: string().optional(),
|
|
12432
|
+
/**
|
|
12433
|
+
* Frames per second this stream really delivers, and where the number came
|
|
12434
|
+
* from.
|
|
12435
|
+
*
|
|
12436
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
12437
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
12438
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
12439
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
12440
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
12441
|
+
* are not interchangeable.
|
|
12442
|
+
*/
|
|
12443
|
+
fps: number().positive().optional(),
|
|
12444
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
12393
12445
|
});
|
|
12394
12446
|
/**
|
|
12395
12447
|
* Camera streams — device-scoped facade over the system `stream-broker`.
|
|
@@ -13572,6 +13624,70 @@ var LocationIconAssignmentSchema = object({
|
|
|
13572
13624
|
locationKey: string(),
|
|
13573
13625
|
icon: LocationIconIdSchema
|
|
13574
13626
|
});
|
|
13627
|
+
/**
|
|
13628
|
+
* One (location, description) assignment as it travels.
|
|
13629
|
+
*
|
|
13630
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
13631
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
13632
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
13633
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
13634
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
13635
|
+
* off the location itself, on `locationIconKey`.
|
|
13636
|
+
*/
|
|
13637
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
13638
|
+
locationKey: string(),
|
|
13639
|
+
description: string()
|
|
13640
|
+
});
|
|
13641
|
+
/**
|
|
13642
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
13643
|
+
*
|
|
13644
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
13645
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
13646
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
13647
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
13648
|
+
*
|
|
13649
|
+
* ## Why not `zone`
|
|
13650
|
+
*
|
|
13651
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
13652
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
13653
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
13654
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
13655
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
13656
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
13657
|
+
*
|
|
13658
|
+
* ## The key
|
|
13659
|
+
*
|
|
13660
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
13661
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
13662
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
13663
|
+
* silently-dropped location description.
|
|
13664
|
+
*
|
|
13665
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
13666
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
13667
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
13668
|
+
*/
|
|
13669
|
+
/**
|
|
13670
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
13671
|
+
* the locations inside it.
|
|
13672
|
+
*
|
|
13673
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
13674
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
13675
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
13676
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
13677
|
+
* it has not fetched yet.
|
|
13678
|
+
*
|
|
13679
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
13680
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
13681
|
+
*/
|
|
13682
|
+
var SiteZoneSchema = object({
|
|
13683
|
+
zoneKey: string(),
|
|
13684
|
+
label: string(),
|
|
13685
|
+
icon: LocationIconIdSchema.nullable(),
|
|
13686
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
13687
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
13688
|
+
* the ones that most want grouping. */
|
|
13689
|
+
locationKeys: array(string())
|
|
13690
|
+
});
|
|
13575
13691
|
var ProviderStatusSchema = object({
|
|
13576
13692
|
connected: boolean(),
|
|
13577
13693
|
deviceCount: number(),
|
|
@@ -14170,6 +14286,33 @@ method(object({
|
|
|
14170
14286
|
}), _void(), {
|
|
14171
14287
|
kind: "mutation",
|
|
14172
14288
|
auth: "admin"
|
|
14289
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
14290
|
+
location: string(),
|
|
14291
|
+
description: string().max(400).nullable()
|
|
14292
|
+
}), _void(), {
|
|
14293
|
+
kind: "mutation",
|
|
14294
|
+
auth: "admin"
|
|
14295
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
14296
|
+
name: string(),
|
|
14297
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
14298
|
+
}), _void(), {
|
|
14299
|
+
kind: "mutation",
|
|
14300
|
+
auth: "admin"
|
|
14301
|
+
}), method(object({ name: string() }), _void(), {
|
|
14302
|
+
kind: "mutation",
|
|
14303
|
+
auth: "admin"
|
|
14304
|
+
}), method(object({
|
|
14305
|
+
from: string(),
|
|
14306
|
+
to: string()
|
|
14307
|
+
}), _void(), {
|
|
14308
|
+
kind: "mutation",
|
|
14309
|
+
auth: "admin"
|
|
14310
|
+
}), method(object({
|
|
14311
|
+
location: string(),
|
|
14312
|
+
zone: string().nullable()
|
|
14313
|
+
}), _void(), {
|
|
14314
|
+
kind: "mutation",
|
|
14315
|
+
auth: "admin"
|
|
14173
14316
|
}), method(object({
|
|
14174
14317
|
deviceId: number(),
|
|
14175
14318
|
disabled: boolean()
|
|
@@ -37258,6 +37401,12 @@ Object.freeze({
|
|
|
37258
37401
|
addonId: null,
|
|
37259
37402
|
access: "view"
|
|
37260
37403
|
},
|
|
37404
|
+
"deviceManager.listLocationDescriptions": {
|
|
37405
|
+
capName: "device-manager",
|
|
37406
|
+
capScope: "system",
|
|
37407
|
+
addonId: null,
|
|
37408
|
+
access: "view"
|
|
37409
|
+
},
|
|
37261
37410
|
"deviceManager.listLocationIcons": {
|
|
37262
37411
|
capName: "device-manager",
|
|
37263
37412
|
capScope: "system",
|
|
@@ -37276,6 +37425,12 @@ Object.freeze({
|
|
|
37276
37425
|
addonId: null,
|
|
37277
37426
|
access: "view"
|
|
37278
37427
|
},
|
|
37428
|
+
"deviceManager.listSiteZones": {
|
|
37429
|
+
capName: "device-manager",
|
|
37430
|
+
capScope: "system",
|
|
37431
|
+
addonId: null,
|
|
37432
|
+
access: "view"
|
|
37433
|
+
},
|
|
37279
37434
|
"deviceManager.listWrappersForCap": {
|
|
37280
37435
|
capName: "device-manager",
|
|
37281
37436
|
capScope: "system",
|
|
@@ -37360,12 +37515,24 @@ Object.freeze({
|
|
|
37360
37515
|
addonId: null,
|
|
37361
37516
|
access: "delete"
|
|
37362
37517
|
},
|
|
37518
|
+
"deviceManager.removeSiteZone": {
|
|
37519
|
+
capName: "device-manager",
|
|
37520
|
+
capScope: "system",
|
|
37521
|
+
addonId: null,
|
|
37522
|
+
access: "delete"
|
|
37523
|
+
},
|
|
37363
37524
|
"deviceManager.renameLocation": {
|
|
37364
37525
|
capName: "device-manager",
|
|
37365
37526
|
capScope: "system",
|
|
37366
37527
|
addonId: null,
|
|
37367
37528
|
access: "create"
|
|
37368
37529
|
},
|
|
37530
|
+
"deviceManager.renameSiteZone": {
|
|
37531
|
+
capName: "device-manager",
|
|
37532
|
+
capScope: "system",
|
|
37533
|
+
addonId: null,
|
|
37534
|
+
access: "create"
|
|
37535
|
+
},
|
|
37369
37536
|
"deviceManager.runDeviceAction": {
|
|
37370
37537
|
capName: "device-manager",
|
|
37371
37538
|
capScope: "system",
|
|
@@ -37408,12 +37575,24 @@ Object.freeze({
|
|
|
37408
37575
|
addonId: null,
|
|
37409
37576
|
access: "create"
|
|
37410
37577
|
},
|
|
37578
|
+
"deviceManager.setLocationDescription": {
|
|
37579
|
+
capName: "device-manager",
|
|
37580
|
+
capScope: "system",
|
|
37581
|
+
addonId: null,
|
|
37582
|
+
access: "create"
|
|
37583
|
+
},
|
|
37411
37584
|
"deviceManager.setLocationIcon": {
|
|
37412
37585
|
capName: "device-manager",
|
|
37413
37586
|
capScope: "system",
|
|
37414
37587
|
addonId: null,
|
|
37415
37588
|
access: "create"
|
|
37416
37589
|
},
|
|
37590
|
+
"deviceManager.setLocationZone": {
|
|
37591
|
+
capName: "device-manager",
|
|
37592
|
+
capScope: "system",
|
|
37593
|
+
addonId: null,
|
|
37594
|
+
access: "create"
|
|
37595
|
+
},
|
|
37417
37596
|
"deviceManager.setMetadata": {
|
|
37418
37597
|
capName: "device-manager",
|
|
37419
37598
|
capScope: "system",
|
|
@@ -37444,6 +37623,12 @@ Object.freeze({
|
|
|
37444
37623
|
addonId: null,
|
|
37445
37624
|
access: "create"
|
|
37446
37625
|
},
|
|
37626
|
+
"deviceManager.setSiteZone": {
|
|
37627
|
+
capName: "device-manager",
|
|
37628
|
+
capScope: "system",
|
|
37629
|
+
addonId: null,
|
|
37630
|
+
access: "create"
|
|
37631
|
+
},
|
|
37447
37632
|
"deviceManager.setStreamProfileMap": {
|
|
37448
37633
|
capName: "device-manager",
|
|
37449
37634
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -12324,7 +12324,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
12324
12324
|
* This is what lets one picker serve both the bypass and the full source
|
|
12325
12325
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
12326
12326
|
*/
|
|
12327
|
-
allowTranscode: boolean().optional()
|
|
12327
|
+
allowTranscode: boolean().optional(),
|
|
12328
|
+
/**
|
|
12329
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
12330
|
+
*
|
|
12331
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
12332
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
12333
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
12334
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
12335
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
12336
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
12337
|
+
*
|
|
12338
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
12339
|
+
* here when it decides which source to BIND to a slot
|
|
12340
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
12341
|
+
* could never bind them.
|
|
12342
|
+
*/
|
|
12343
|
+
requireProfileBound: boolean().optional()
|
|
12328
12344
|
}).readonly();
|
|
12329
12345
|
var PickStreamPreferencesSchema = object({
|
|
12330
12346
|
/**
|
|
@@ -12365,7 +12381,43 @@ var PickedCamStreamSchema = object({
|
|
|
12365
12381
|
*/
|
|
12366
12382
|
transcodes: boolean(),
|
|
12367
12383
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12368
|
-
reason: string()
|
|
12384
|
+
reason: string(),
|
|
12385
|
+
/**
|
|
12386
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
12387
|
+
*
|
|
12388
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
12389
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
12390
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
12391
|
+
* the same function a second time.
|
|
12392
|
+
*
|
|
12393
|
+
* Absent when the source has no slot, which a caller passing
|
|
12394
|
+
* `requireProfileBound` can never see.
|
|
12395
|
+
*/
|
|
12396
|
+
profile: CamProfileSchema.optional(),
|
|
12397
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
12398
|
+
brokerId: string().optional(),
|
|
12399
|
+
/**
|
|
12400
|
+
* The broker restream URL to dial for this stream.
|
|
12401
|
+
*
|
|
12402
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
12403
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
12404
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
12405
|
+
* naming a source and leaving each caller to look the URL up.
|
|
12406
|
+
*/
|
|
12407
|
+
url: string().optional(),
|
|
12408
|
+
/**
|
|
12409
|
+
* Frames per second this stream really delivers, and where the number came
|
|
12410
|
+
* from.
|
|
12411
|
+
*
|
|
12412
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
12413
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
12414
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
12415
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
12416
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
12417
|
+
* are not interchangeable.
|
|
12418
|
+
*/
|
|
12419
|
+
fps: number().positive().optional(),
|
|
12420
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
12369
12421
|
});
|
|
12370
12422
|
/**
|
|
12371
12423
|
* Camera streams — device-scoped facade over the system `stream-broker`.
|
|
@@ -13548,6 +13600,70 @@ var LocationIconAssignmentSchema = object({
|
|
|
13548
13600
|
locationKey: string(),
|
|
13549
13601
|
icon: LocationIconIdSchema
|
|
13550
13602
|
});
|
|
13603
|
+
/**
|
|
13604
|
+
* One (location, description) assignment as it travels.
|
|
13605
|
+
*
|
|
13606
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
13607
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
13608
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
13609
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
13610
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
13611
|
+
* off the location itself, on `locationIconKey`.
|
|
13612
|
+
*/
|
|
13613
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
13614
|
+
locationKey: string(),
|
|
13615
|
+
description: string()
|
|
13616
|
+
});
|
|
13617
|
+
/**
|
|
13618
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
13619
|
+
*
|
|
13620
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
13621
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
13622
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
13623
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
13624
|
+
*
|
|
13625
|
+
* ## Why not `zone`
|
|
13626
|
+
*
|
|
13627
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
13628
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
13629
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
13630
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
13631
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
13632
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
13633
|
+
*
|
|
13634
|
+
* ## The key
|
|
13635
|
+
*
|
|
13636
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
13637
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
13638
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
13639
|
+
* silently-dropped location description.
|
|
13640
|
+
*
|
|
13641
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
13642
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
13643
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
13644
|
+
*/
|
|
13645
|
+
/**
|
|
13646
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
13647
|
+
* the locations inside it.
|
|
13648
|
+
*
|
|
13649
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
13650
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
13651
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
13652
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
13653
|
+
* it has not fetched yet.
|
|
13654
|
+
*
|
|
13655
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
13656
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
13657
|
+
*/
|
|
13658
|
+
var SiteZoneSchema = object({
|
|
13659
|
+
zoneKey: string(),
|
|
13660
|
+
label: string(),
|
|
13661
|
+
icon: LocationIconIdSchema.nullable(),
|
|
13662
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
13663
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
13664
|
+
* the ones that most want grouping. */
|
|
13665
|
+
locationKeys: array(string())
|
|
13666
|
+
});
|
|
13551
13667
|
var ProviderStatusSchema = object({
|
|
13552
13668
|
connected: boolean(),
|
|
13553
13669
|
deviceCount: number(),
|
|
@@ -14146,6 +14262,33 @@ method(object({
|
|
|
14146
14262
|
}), _void(), {
|
|
14147
14263
|
kind: "mutation",
|
|
14148
14264
|
auth: "admin"
|
|
14265
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
14266
|
+
location: string(),
|
|
14267
|
+
description: string().max(400).nullable()
|
|
14268
|
+
}), _void(), {
|
|
14269
|
+
kind: "mutation",
|
|
14270
|
+
auth: "admin"
|
|
14271
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
14272
|
+
name: string(),
|
|
14273
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
14274
|
+
}), _void(), {
|
|
14275
|
+
kind: "mutation",
|
|
14276
|
+
auth: "admin"
|
|
14277
|
+
}), method(object({ name: string() }), _void(), {
|
|
14278
|
+
kind: "mutation",
|
|
14279
|
+
auth: "admin"
|
|
14280
|
+
}), method(object({
|
|
14281
|
+
from: string(),
|
|
14282
|
+
to: string()
|
|
14283
|
+
}), _void(), {
|
|
14284
|
+
kind: "mutation",
|
|
14285
|
+
auth: "admin"
|
|
14286
|
+
}), method(object({
|
|
14287
|
+
location: string(),
|
|
14288
|
+
zone: string().nullable()
|
|
14289
|
+
}), _void(), {
|
|
14290
|
+
kind: "mutation",
|
|
14291
|
+
auth: "admin"
|
|
14149
14292
|
}), method(object({
|
|
14150
14293
|
deviceId: number(),
|
|
14151
14294
|
disabled: boolean()
|
|
@@ -37234,6 +37377,12 @@ Object.freeze({
|
|
|
37234
37377
|
addonId: null,
|
|
37235
37378
|
access: "view"
|
|
37236
37379
|
},
|
|
37380
|
+
"deviceManager.listLocationDescriptions": {
|
|
37381
|
+
capName: "device-manager",
|
|
37382
|
+
capScope: "system",
|
|
37383
|
+
addonId: null,
|
|
37384
|
+
access: "view"
|
|
37385
|
+
},
|
|
37237
37386
|
"deviceManager.listLocationIcons": {
|
|
37238
37387
|
capName: "device-manager",
|
|
37239
37388
|
capScope: "system",
|
|
@@ -37252,6 +37401,12 @@ Object.freeze({
|
|
|
37252
37401
|
addonId: null,
|
|
37253
37402
|
access: "view"
|
|
37254
37403
|
},
|
|
37404
|
+
"deviceManager.listSiteZones": {
|
|
37405
|
+
capName: "device-manager",
|
|
37406
|
+
capScope: "system",
|
|
37407
|
+
addonId: null,
|
|
37408
|
+
access: "view"
|
|
37409
|
+
},
|
|
37255
37410
|
"deviceManager.listWrappersForCap": {
|
|
37256
37411
|
capName: "device-manager",
|
|
37257
37412
|
capScope: "system",
|
|
@@ -37336,12 +37491,24 @@ Object.freeze({
|
|
|
37336
37491
|
addonId: null,
|
|
37337
37492
|
access: "delete"
|
|
37338
37493
|
},
|
|
37494
|
+
"deviceManager.removeSiteZone": {
|
|
37495
|
+
capName: "device-manager",
|
|
37496
|
+
capScope: "system",
|
|
37497
|
+
addonId: null,
|
|
37498
|
+
access: "delete"
|
|
37499
|
+
},
|
|
37339
37500
|
"deviceManager.renameLocation": {
|
|
37340
37501
|
capName: "device-manager",
|
|
37341
37502
|
capScope: "system",
|
|
37342
37503
|
addonId: null,
|
|
37343
37504
|
access: "create"
|
|
37344
37505
|
},
|
|
37506
|
+
"deviceManager.renameSiteZone": {
|
|
37507
|
+
capName: "device-manager",
|
|
37508
|
+
capScope: "system",
|
|
37509
|
+
addonId: null,
|
|
37510
|
+
access: "create"
|
|
37511
|
+
},
|
|
37345
37512
|
"deviceManager.runDeviceAction": {
|
|
37346
37513
|
capName: "device-manager",
|
|
37347
37514
|
capScope: "system",
|
|
@@ -37384,12 +37551,24 @@ Object.freeze({
|
|
|
37384
37551
|
addonId: null,
|
|
37385
37552
|
access: "create"
|
|
37386
37553
|
},
|
|
37554
|
+
"deviceManager.setLocationDescription": {
|
|
37555
|
+
capName: "device-manager",
|
|
37556
|
+
capScope: "system",
|
|
37557
|
+
addonId: null,
|
|
37558
|
+
access: "create"
|
|
37559
|
+
},
|
|
37387
37560
|
"deviceManager.setLocationIcon": {
|
|
37388
37561
|
capName: "device-manager",
|
|
37389
37562
|
capScope: "system",
|
|
37390
37563
|
addonId: null,
|
|
37391
37564
|
access: "create"
|
|
37392
37565
|
},
|
|
37566
|
+
"deviceManager.setLocationZone": {
|
|
37567
|
+
capName: "device-manager",
|
|
37568
|
+
capScope: "system",
|
|
37569
|
+
addonId: null,
|
|
37570
|
+
access: "create"
|
|
37571
|
+
},
|
|
37393
37572
|
"deviceManager.setMetadata": {
|
|
37394
37573
|
capName: "device-manager",
|
|
37395
37574
|
capScope: "system",
|
|
@@ -37420,6 +37599,12 @@ Object.freeze({
|
|
|
37420
37599
|
addonId: null,
|
|
37421
37600
|
access: "create"
|
|
37422
37601
|
},
|
|
37602
|
+
"deviceManager.setSiteZone": {
|
|
37603
|
+
capName: "device-manager",
|
|
37604
|
+
capScope: "system",
|
|
37605
|
+
addonId: null,
|
|
37606
|
+
access: "create"
|
|
37607
|
+
},
|
|
37423
37608
|
"deviceManager.setStreamProfileMap": {
|
|
37424
37609
|
capName: "device-manager",
|
|
37425
37610
|
capScope: "system",
|