@camstack/addon-provider-petkit 0.2.106 → 0.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
|
@@ -13394,7 +13394,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
13394
13394
|
* This is what lets one picker serve both the bypass and the full source
|
|
13395
13395
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
13396
13396
|
*/
|
|
13397
|
-
allowTranscode: boolean().optional()
|
|
13397
|
+
allowTranscode: boolean().optional(),
|
|
13398
|
+
/**
|
|
13399
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
13400
|
+
*
|
|
13401
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
13402
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
13403
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
13404
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
13405
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
13406
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
13407
|
+
*
|
|
13408
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
13409
|
+
* here when it decides which source to BIND to a slot
|
|
13410
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
13411
|
+
* could never bind them.
|
|
13412
|
+
*/
|
|
13413
|
+
requireProfileBound: boolean().optional()
|
|
13398
13414
|
}).readonly();
|
|
13399
13415
|
var PickStreamPreferencesSchema = object({
|
|
13400
13416
|
/**
|
|
@@ -13435,7 +13451,43 @@ var PickedCamStreamSchema = object({
|
|
|
13435
13451
|
*/
|
|
13436
13452
|
transcodes: boolean(),
|
|
13437
13453
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
13438
|
-
reason: string()
|
|
13454
|
+
reason: string(),
|
|
13455
|
+
/**
|
|
13456
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
13457
|
+
*
|
|
13458
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
13459
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
13460
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
13461
|
+
* the same function a second time.
|
|
13462
|
+
*
|
|
13463
|
+
* Absent when the source has no slot, which a caller passing
|
|
13464
|
+
* `requireProfileBound` can never see.
|
|
13465
|
+
*/
|
|
13466
|
+
profile: CamProfileSchema.optional(),
|
|
13467
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
13468
|
+
brokerId: string().optional(),
|
|
13469
|
+
/**
|
|
13470
|
+
* The broker restream URL to dial for this stream.
|
|
13471
|
+
*
|
|
13472
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
13473
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
13474
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
13475
|
+
* naming a source and leaving each caller to look the URL up.
|
|
13476
|
+
*/
|
|
13477
|
+
url: string().optional(),
|
|
13478
|
+
/**
|
|
13479
|
+
* Frames per second this stream really delivers, and where the number came
|
|
13480
|
+
* from.
|
|
13481
|
+
*
|
|
13482
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
13483
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
13484
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
13485
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
13486
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
13487
|
+
* are not interchangeable.
|
|
13488
|
+
*/
|
|
13489
|
+
fps: number().positive().optional(),
|
|
13490
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
13439
13491
|
});
|
|
13440
13492
|
/**
|
|
13441
13493
|
* Camera streams — device-scoped facade over the system `stream-broker`.
|
|
@@ -14635,6 +14687,70 @@ var LocationIconAssignmentSchema = object({
|
|
|
14635
14687
|
locationKey: string(),
|
|
14636
14688
|
icon: LocationIconIdSchema
|
|
14637
14689
|
});
|
|
14690
|
+
/**
|
|
14691
|
+
* One (location, description) assignment as it travels.
|
|
14692
|
+
*
|
|
14693
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
14694
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
14695
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
14696
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
14697
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
14698
|
+
* off the location itself, on `locationIconKey`.
|
|
14699
|
+
*/
|
|
14700
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
14701
|
+
locationKey: string(),
|
|
14702
|
+
description: string()
|
|
14703
|
+
});
|
|
14704
|
+
/**
|
|
14705
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
14706
|
+
*
|
|
14707
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
14708
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
14709
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
14710
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
14711
|
+
*
|
|
14712
|
+
* ## Why not `zone`
|
|
14713
|
+
*
|
|
14714
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
14715
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
14716
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
14717
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
14718
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
14719
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
14720
|
+
*
|
|
14721
|
+
* ## The key
|
|
14722
|
+
*
|
|
14723
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
14724
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
14725
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
14726
|
+
* silently-dropped location description.
|
|
14727
|
+
*
|
|
14728
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
14729
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
14730
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
14731
|
+
*/
|
|
14732
|
+
/**
|
|
14733
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
14734
|
+
* the locations inside it.
|
|
14735
|
+
*
|
|
14736
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
14737
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
14738
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
14739
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
14740
|
+
* it has not fetched yet.
|
|
14741
|
+
*
|
|
14742
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
14743
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
14744
|
+
*/
|
|
14745
|
+
var SiteZoneSchema = object({
|
|
14746
|
+
zoneKey: string(),
|
|
14747
|
+
label: string(),
|
|
14748
|
+
icon: LocationIconIdSchema.nullable(),
|
|
14749
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
14750
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
14751
|
+
* the ones that most want grouping. */
|
|
14752
|
+
locationKeys: array(string())
|
|
14753
|
+
});
|
|
14638
14754
|
var ProviderStatusSchema = object({
|
|
14639
14755
|
connected: boolean(),
|
|
14640
14756
|
deviceCount: number(),
|
|
@@ -15233,6 +15349,33 @@ method(object({
|
|
|
15233
15349
|
}), _void(), {
|
|
15234
15350
|
kind: "mutation",
|
|
15235
15351
|
auth: "admin"
|
|
15352
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
15353
|
+
location: string(),
|
|
15354
|
+
description: string().max(400).nullable()
|
|
15355
|
+
}), _void(), {
|
|
15356
|
+
kind: "mutation",
|
|
15357
|
+
auth: "admin"
|
|
15358
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
15359
|
+
name: string(),
|
|
15360
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
15361
|
+
}), _void(), {
|
|
15362
|
+
kind: "mutation",
|
|
15363
|
+
auth: "admin"
|
|
15364
|
+
}), method(object({ name: string() }), _void(), {
|
|
15365
|
+
kind: "mutation",
|
|
15366
|
+
auth: "admin"
|
|
15367
|
+
}), method(object({
|
|
15368
|
+
from: string(),
|
|
15369
|
+
to: string()
|
|
15370
|
+
}), _void(), {
|
|
15371
|
+
kind: "mutation",
|
|
15372
|
+
auth: "admin"
|
|
15373
|
+
}), method(object({
|
|
15374
|
+
location: string(),
|
|
15375
|
+
zone: string().nullable()
|
|
15376
|
+
}), _void(), {
|
|
15377
|
+
kind: "mutation",
|
|
15378
|
+
auth: "admin"
|
|
15236
15379
|
}), method(object({
|
|
15237
15380
|
deviceId: number(),
|
|
15238
15381
|
disabled: boolean()
|
|
@@ -38151,6 +38294,12 @@ Object.freeze({
|
|
|
38151
38294
|
addonId: null,
|
|
38152
38295
|
access: "view"
|
|
38153
38296
|
},
|
|
38297
|
+
"deviceManager.listLocationDescriptions": {
|
|
38298
|
+
capName: "device-manager",
|
|
38299
|
+
capScope: "system",
|
|
38300
|
+
addonId: null,
|
|
38301
|
+
access: "view"
|
|
38302
|
+
},
|
|
38154
38303
|
"deviceManager.listLocationIcons": {
|
|
38155
38304
|
capName: "device-manager",
|
|
38156
38305
|
capScope: "system",
|
|
@@ -38169,6 +38318,12 @@ Object.freeze({
|
|
|
38169
38318
|
addonId: null,
|
|
38170
38319
|
access: "view"
|
|
38171
38320
|
},
|
|
38321
|
+
"deviceManager.listSiteZones": {
|
|
38322
|
+
capName: "device-manager",
|
|
38323
|
+
capScope: "system",
|
|
38324
|
+
addonId: null,
|
|
38325
|
+
access: "view"
|
|
38326
|
+
},
|
|
38172
38327
|
"deviceManager.listWrappersForCap": {
|
|
38173
38328
|
capName: "device-manager",
|
|
38174
38329
|
capScope: "system",
|
|
@@ -38253,12 +38408,24 @@ Object.freeze({
|
|
|
38253
38408
|
addonId: null,
|
|
38254
38409
|
access: "delete"
|
|
38255
38410
|
},
|
|
38411
|
+
"deviceManager.removeSiteZone": {
|
|
38412
|
+
capName: "device-manager",
|
|
38413
|
+
capScope: "system",
|
|
38414
|
+
addonId: null,
|
|
38415
|
+
access: "delete"
|
|
38416
|
+
},
|
|
38256
38417
|
"deviceManager.renameLocation": {
|
|
38257
38418
|
capName: "device-manager",
|
|
38258
38419
|
capScope: "system",
|
|
38259
38420
|
addonId: null,
|
|
38260
38421
|
access: "create"
|
|
38261
38422
|
},
|
|
38423
|
+
"deviceManager.renameSiteZone": {
|
|
38424
|
+
capName: "device-manager",
|
|
38425
|
+
capScope: "system",
|
|
38426
|
+
addonId: null,
|
|
38427
|
+
access: "create"
|
|
38428
|
+
},
|
|
38262
38429
|
"deviceManager.runDeviceAction": {
|
|
38263
38430
|
capName: "device-manager",
|
|
38264
38431
|
capScope: "system",
|
|
@@ -38301,12 +38468,24 @@ Object.freeze({
|
|
|
38301
38468
|
addonId: null,
|
|
38302
38469
|
access: "create"
|
|
38303
38470
|
},
|
|
38471
|
+
"deviceManager.setLocationDescription": {
|
|
38472
|
+
capName: "device-manager",
|
|
38473
|
+
capScope: "system",
|
|
38474
|
+
addonId: null,
|
|
38475
|
+
access: "create"
|
|
38476
|
+
},
|
|
38304
38477
|
"deviceManager.setLocationIcon": {
|
|
38305
38478
|
capName: "device-manager",
|
|
38306
38479
|
capScope: "system",
|
|
38307
38480
|
addonId: null,
|
|
38308
38481
|
access: "create"
|
|
38309
38482
|
},
|
|
38483
|
+
"deviceManager.setLocationZone": {
|
|
38484
|
+
capName: "device-manager",
|
|
38485
|
+
capScope: "system",
|
|
38486
|
+
addonId: null,
|
|
38487
|
+
access: "create"
|
|
38488
|
+
},
|
|
38310
38489
|
"deviceManager.setMetadata": {
|
|
38311
38490
|
capName: "device-manager",
|
|
38312
38491
|
capScope: "system",
|
|
@@ -38337,6 +38516,12 @@ Object.freeze({
|
|
|
38337
38516
|
addonId: null,
|
|
38338
38517
|
access: "create"
|
|
38339
38518
|
},
|
|
38519
|
+
"deviceManager.setSiteZone": {
|
|
38520
|
+
capName: "device-manager",
|
|
38521
|
+
capScope: "system",
|
|
38522
|
+
addonId: null,
|
|
38523
|
+
access: "create"
|
|
38524
|
+
},
|
|
38340
38525
|
"deviceManager.setStreamProfileMap": {
|
|
38341
38526
|
capName: "device-manager",
|
|
38342
38527
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -13393,7 +13393,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
13393
13393
|
* This is what lets one picker serve both the bypass and the full source
|
|
13394
13394
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
13395
13395
|
*/
|
|
13396
|
-
allowTranscode: boolean().optional()
|
|
13396
|
+
allowTranscode: boolean().optional(),
|
|
13397
|
+
/**
|
|
13398
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
13399
|
+
*
|
|
13400
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
13401
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
13402
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
13403
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
13404
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
13405
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
13406
|
+
*
|
|
13407
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
13408
|
+
* here when it decides which source to BIND to a slot
|
|
13409
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
13410
|
+
* could never bind them.
|
|
13411
|
+
*/
|
|
13412
|
+
requireProfileBound: boolean().optional()
|
|
13397
13413
|
}).readonly();
|
|
13398
13414
|
var PickStreamPreferencesSchema = object({
|
|
13399
13415
|
/**
|
|
@@ -13434,7 +13450,43 @@ var PickedCamStreamSchema = object({
|
|
|
13434
13450
|
*/
|
|
13435
13451
|
transcodes: boolean(),
|
|
13436
13452
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
13437
|
-
reason: string()
|
|
13453
|
+
reason: string(),
|
|
13454
|
+
/**
|
|
13455
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
13456
|
+
*
|
|
13457
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
13458
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
13459
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
13460
|
+
* the same function a second time.
|
|
13461
|
+
*
|
|
13462
|
+
* Absent when the source has no slot, which a caller passing
|
|
13463
|
+
* `requireProfileBound` can never see.
|
|
13464
|
+
*/
|
|
13465
|
+
profile: CamProfileSchema.optional(),
|
|
13466
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
13467
|
+
brokerId: string().optional(),
|
|
13468
|
+
/**
|
|
13469
|
+
* The broker restream URL to dial for this stream.
|
|
13470
|
+
*
|
|
13471
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
13472
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
13473
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
13474
|
+
* naming a source and leaving each caller to look the URL up.
|
|
13475
|
+
*/
|
|
13476
|
+
url: string().optional(),
|
|
13477
|
+
/**
|
|
13478
|
+
* Frames per second this stream really delivers, and where the number came
|
|
13479
|
+
* from.
|
|
13480
|
+
*
|
|
13481
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
13482
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
13483
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
13484
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
13485
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
13486
|
+
* are not interchangeable.
|
|
13487
|
+
*/
|
|
13488
|
+
fps: number().positive().optional(),
|
|
13489
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
13438
13490
|
});
|
|
13439
13491
|
/**
|
|
13440
13492
|
* Camera streams — device-scoped facade over the system `stream-broker`.
|
|
@@ -14634,6 +14686,70 @@ var LocationIconAssignmentSchema = object({
|
|
|
14634
14686
|
locationKey: string(),
|
|
14635
14687
|
icon: LocationIconIdSchema
|
|
14636
14688
|
});
|
|
14689
|
+
/**
|
|
14690
|
+
* One (location, description) assignment as it travels.
|
|
14691
|
+
*
|
|
14692
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
14693
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
14694
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
14695
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
14696
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
14697
|
+
* off the location itself, on `locationIconKey`.
|
|
14698
|
+
*/
|
|
14699
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
14700
|
+
locationKey: string(),
|
|
14701
|
+
description: string()
|
|
14702
|
+
});
|
|
14703
|
+
/**
|
|
14704
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
14705
|
+
*
|
|
14706
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
14707
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
14708
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
14709
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
14710
|
+
*
|
|
14711
|
+
* ## Why not `zone`
|
|
14712
|
+
*
|
|
14713
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
14714
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
14715
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
14716
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
14717
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
14718
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
14719
|
+
*
|
|
14720
|
+
* ## The key
|
|
14721
|
+
*
|
|
14722
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
14723
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
14724
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
14725
|
+
* silently-dropped location description.
|
|
14726
|
+
*
|
|
14727
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
14728
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
14729
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
14730
|
+
*/
|
|
14731
|
+
/**
|
|
14732
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
14733
|
+
* the locations inside it.
|
|
14734
|
+
*
|
|
14735
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
14736
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
14737
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
14738
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
14739
|
+
* it has not fetched yet.
|
|
14740
|
+
*
|
|
14741
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
14742
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
14743
|
+
*/
|
|
14744
|
+
var SiteZoneSchema = object({
|
|
14745
|
+
zoneKey: string(),
|
|
14746
|
+
label: string(),
|
|
14747
|
+
icon: LocationIconIdSchema.nullable(),
|
|
14748
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
14749
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
14750
|
+
* the ones that most want grouping. */
|
|
14751
|
+
locationKeys: array(string())
|
|
14752
|
+
});
|
|
14637
14753
|
var ProviderStatusSchema = object({
|
|
14638
14754
|
connected: boolean(),
|
|
14639
14755
|
deviceCount: number(),
|
|
@@ -15232,6 +15348,33 @@ method(object({
|
|
|
15232
15348
|
}), _void(), {
|
|
15233
15349
|
kind: "mutation",
|
|
15234
15350
|
auth: "admin"
|
|
15351
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
15352
|
+
location: string(),
|
|
15353
|
+
description: string().max(400).nullable()
|
|
15354
|
+
}), _void(), {
|
|
15355
|
+
kind: "mutation",
|
|
15356
|
+
auth: "admin"
|
|
15357
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
15358
|
+
name: string(),
|
|
15359
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
15360
|
+
}), _void(), {
|
|
15361
|
+
kind: "mutation",
|
|
15362
|
+
auth: "admin"
|
|
15363
|
+
}), method(object({ name: string() }), _void(), {
|
|
15364
|
+
kind: "mutation",
|
|
15365
|
+
auth: "admin"
|
|
15366
|
+
}), method(object({
|
|
15367
|
+
from: string(),
|
|
15368
|
+
to: string()
|
|
15369
|
+
}), _void(), {
|
|
15370
|
+
kind: "mutation",
|
|
15371
|
+
auth: "admin"
|
|
15372
|
+
}), method(object({
|
|
15373
|
+
location: string(),
|
|
15374
|
+
zone: string().nullable()
|
|
15375
|
+
}), _void(), {
|
|
15376
|
+
kind: "mutation",
|
|
15377
|
+
auth: "admin"
|
|
15235
15378
|
}), method(object({
|
|
15236
15379
|
deviceId: number(),
|
|
15237
15380
|
disabled: boolean()
|
|
@@ -38150,6 +38293,12 @@ Object.freeze({
|
|
|
38150
38293
|
addonId: null,
|
|
38151
38294
|
access: "view"
|
|
38152
38295
|
},
|
|
38296
|
+
"deviceManager.listLocationDescriptions": {
|
|
38297
|
+
capName: "device-manager",
|
|
38298
|
+
capScope: "system",
|
|
38299
|
+
addonId: null,
|
|
38300
|
+
access: "view"
|
|
38301
|
+
},
|
|
38153
38302
|
"deviceManager.listLocationIcons": {
|
|
38154
38303
|
capName: "device-manager",
|
|
38155
38304
|
capScope: "system",
|
|
@@ -38168,6 +38317,12 @@ Object.freeze({
|
|
|
38168
38317
|
addonId: null,
|
|
38169
38318
|
access: "view"
|
|
38170
38319
|
},
|
|
38320
|
+
"deviceManager.listSiteZones": {
|
|
38321
|
+
capName: "device-manager",
|
|
38322
|
+
capScope: "system",
|
|
38323
|
+
addonId: null,
|
|
38324
|
+
access: "view"
|
|
38325
|
+
},
|
|
38171
38326
|
"deviceManager.listWrappersForCap": {
|
|
38172
38327
|
capName: "device-manager",
|
|
38173
38328
|
capScope: "system",
|
|
@@ -38252,12 +38407,24 @@ Object.freeze({
|
|
|
38252
38407
|
addonId: null,
|
|
38253
38408
|
access: "delete"
|
|
38254
38409
|
},
|
|
38410
|
+
"deviceManager.removeSiteZone": {
|
|
38411
|
+
capName: "device-manager",
|
|
38412
|
+
capScope: "system",
|
|
38413
|
+
addonId: null,
|
|
38414
|
+
access: "delete"
|
|
38415
|
+
},
|
|
38255
38416
|
"deviceManager.renameLocation": {
|
|
38256
38417
|
capName: "device-manager",
|
|
38257
38418
|
capScope: "system",
|
|
38258
38419
|
addonId: null,
|
|
38259
38420
|
access: "create"
|
|
38260
38421
|
},
|
|
38422
|
+
"deviceManager.renameSiteZone": {
|
|
38423
|
+
capName: "device-manager",
|
|
38424
|
+
capScope: "system",
|
|
38425
|
+
addonId: null,
|
|
38426
|
+
access: "create"
|
|
38427
|
+
},
|
|
38261
38428
|
"deviceManager.runDeviceAction": {
|
|
38262
38429
|
capName: "device-manager",
|
|
38263
38430
|
capScope: "system",
|
|
@@ -38300,12 +38467,24 @@ Object.freeze({
|
|
|
38300
38467
|
addonId: null,
|
|
38301
38468
|
access: "create"
|
|
38302
38469
|
},
|
|
38470
|
+
"deviceManager.setLocationDescription": {
|
|
38471
|
+
capName: "device-manager",
|
|
38472
|
+
capScope: "system",
|
|
38473
|
+
addonId: null,
|
|
38474
|
+
access: "create"
|
|
38475
|
+
},
|
|
38303
38476
|
"deviceManager.setLocationIcon": {
|
|
38304
38477
|
capName: "device-manager",
|
|
38305
38478
|
capScope: "system",
|
|
38306
38479
|
addonId: null,
|
|
38307
38480
|
access: "create"
|
|
38308
38481
|
},
|
|
38482
|
+
"deviceManager.setLocationZone": {
|
|
38483
|
+
capName: "device-manager",
|
|
38484
|
+
capScope: "system",
|
|
38485
|
+
addonId: null,
|
|
38486
|
+
access: "create"
|
|
38487
|
+
},
|
|
38309
38488
|
"deviceManager.setMetadata": {
|
|
38310
38489
|
capName: "device-manager",
|
|
38311
38490
|
capScope: "system",
|
|
@@ -38336,6 +38515,12 @@ Object.freeze({
|
|
|
38336
38515
|
addonId: null,
|
|
38337
38516
|
access: "create"
|
|
38338
38517
|
},
|
|
38518
|
+
"deviceManager.setSiteZone": {
|
|
38519
|
+
capName: "device-manager",
|
|
38520
|
+
capScope: "system",
|
|
38521
|
+
addonId: null,
|
|
38522
|
+
access: "create"
|
|
38523
|
+
},
|
|
38339
38524
|
"deviceManager.setStreamProfileMap": {
|
|
38340
38525
|
capName: "device-manager",
|
|
38341
38526
|
capScope: "system",
|
package/package.json
CHANGED