@camstack/addon-provider-dreame 0.2.107 → 0.2.109
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
|
@@ -65069,7 +65069,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
65069
65069
|
* This is what lets one picker serve both the bypass and the full source
|
|
65070
65070
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
65071
65071
|
*/
|
|
65072
|
-
allowTranscode: boolean().optional()
|
|
65072
|
+
allowTranscode: boolean().optional(),
|
|
65073
|
+
/**
|
|
65074
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
65075
|
+
*
|
|
65076
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
65077
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
65078
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
65079
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
65080
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
65081
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
65082
|
+
*
|
|
65083
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
65084
|
+
* here when it decides which source to BIND to a slot
|
|
65085
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
65086
|
+
* could never bind them.
|
|
65087
|
+
*/
|
|
65088
|
+
requireProfileBound: boolean().optional()
|
|
65073
65089
|
}).readonly();
|
|
65074
65090
|
var PickStreamPreferencesSchema = object({
|
|
65075
65091
|
/**
|
|
@@ -65110,7 +65126,43 @@ var PickedCamStreamSchema = object({
|
|
|
65110
65126
|
*/
|
|
65111
65127
|
transcodes: boolean(),
|
|
65112
65128
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
65113
|
-
reason: string()
|
|
65129
|
+
reason: string(),
|
|
65130
|
+
/**
|
|
65131
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
65132
|
+
*
|
|
65133
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
65134
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
65135
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
65136
|
+
* the same function a second time.
|
|
65137
|
+
*
|
|
65138
|
+
* Absent when the source has no slot, which a caller passing
|
|
65139
|
+
* `requireProfileBound` can never see.
|
|
65140
|
+
*/
|
|
65141
|
+
profile: CamProfileSchema.optional(),
|
|
65142
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
65143
|
+
brokerId: string().optional(),
|
|
65144
|
+
/**
|
|
65145
|
+
* The broker restream URL to dial for this stream.
|
|
65146
|
+
*
|
|
65147
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
65148
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
65149
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
65150
|
+
* naming a source and leaving each caller to look the URL up.
|
|
65151
|
+
*/
|
|
65152
|
+
url: string().optional(),
|
|
65153
|
+
/**
|
|
65154
|
+
* Frames per second this stream really delivers, and where the number came
|
|
65155
|
+
* from.
|
|
65156
|
+
*
|
|
65157
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
65158
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
65159
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
65160
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
65161
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
65162
|
+
* are not interchangeable.
|
|
65163
|
+
*/
|
|
65164
|
+
fps: number().positive().optional(),
|
|
65165
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
65114
65166
|
});
|
|
65115
65167
|
/**
|
|
65116
65168
|
* Camera streams — device-scoped facade over the system `stream-broker`.
|
|
@@ -66310,6 +66362,70 @@ var LocationIconAssignmentSchema = object({
|
|
|
66310
66362
|
locationKey: string(),
|
|
66311
66363
|
icon: LocationIconIdSchema
|
|
66312
66364
|
});
|
|
66365
|
+
/**
|
|
66366
|
+
* One (location, description) assignment as it travels.
|
|
66367
|
+
*
|
|
66368
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
66369
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
66370
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
66371
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
66372
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
66373
|
+
* off the location itself, on `locationIconKey`.
|
|
66374
|
+
*/
|
|
66375
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
66376
|
+
locationKey: string(),
|
|
66377
|
+
description: string()
|
|
66378
|
+
});
|
|
66379
|
+
/**
|
|
66380
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
66381
|
+
*
|
|
66382
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
66383
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
66384
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
66385
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
66386
|
+
*
|
|
66387
|
+
* ## Why not `zone`
|
|
66388
|
+
*
|
|
66389
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
66390
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
66391
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
66392
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
66393
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
66394
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
66395
|
+
*
|
|
66396
|
+
* ## The key
|
|
66397
|
+
*
|
|
66398
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
66399
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
66400
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
66401
|
+
* silently-dropped location description.
|
|
66402
|
+
*
|
|
66403
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
66404
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
66405
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
66406
|
+
*/
|
|
66407
|
+
/**
|
|
66408
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
66409
|
+
* the locations inside it.
|
|
66410
|
+
*
|
|
66411
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
66412
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
66413
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
66414
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
66415
|
+
* it has not fetched yet.
|
|
66416
|
+
*
|
|
66417
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
66418
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
66419
|
+
*/
|
|
66420
|
+
var SiteZoneSchema = object({
|
|
66421
|
+
zoneKey: string(),
|
|
66422
|
+
label: string(),
|
|
66423
|
+
icon: LocationIconIdSchema.nullable(),
|
|
66424
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
66425
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
66426
|
+
* the ones that most want grouping. */
|
|
66427
|
+
locationKeys: array(string())
|
|
66428
|
+
});
|
|
66313
66429
|
var ProviderStatusSchema = object({
|
|
66314
66430
|
connected: boolean(),
|
|
66315
66431
|
deviceCount: number(),
|
|
@@ -66908,6 +67024,33 @@ method(object({
|
|
|
66908
67024
|
}), _void(), {
|
|
66909
67025
|
kind: "mutation",
|
|
66910
67026
|
auth: "admin"
|
|
67027
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
67028
|
+
location: string(),
|
|
67029
|
+
description: string().max(400).nullable()
|
|
67030
|
+
}), _void(), {
|
|
67031
|
+
kind: "mutation",
|
|
67032
|
+
auth: "admin"
|
|
67033
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
67034
|
+
name: string(),
|
|
67035
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
67036
|
+
}), _void(), {
|
|
67037
|
+
kind: "mutation",
|
|
67038
|
+
auth: "admin"
|
|
67039
|
+
}), method(object({ name: string() }), _void(), {
|
|
67040
|
+
kind: "mutation",
|
|
67041
|
+
auth: "admin"
|
|
67042
|
+
}), method(object({
|
|
67043
|
+
from: string(),
|
|
67044
|
+
to: string()
|
|
67045
|
+
}), _void(), {
|
|
67046
|
+
kind: "mutation",
|
|
67047
|
+
auth: "admin"
|
|
67048
|
+
}), method(object({
|
|
67049
|
+
location: string(),
|
|
67050
|
+
zone: string().nullable()
|
|
67051
|
+
}), _void(), {
|
|
67052
|
+
kind: "mutation",
|
|
67053
|
+
auth: "admin"
|
|
66911
67054
|
}), method(object({
|
|
66912
67055
|
deviceId: number(),
|
|
66913
67056
|
disabled: boolean()
|
|
@@ -89991,6 +90134,12 @@ Object.freeze({
|
|
|
89991
90134
|
addonId: null,
|
|
89992
90135
|
access: "view"
|
|
89993
90136
|
},
|
|
90137
|
+
"deviceManager.listLocationDescriptions": {
|
|
90138
|
+
capName: "device-manager",
|
|
90139
|
+
capScope: "system",
|
|
90140
|
+
addonId: null,
|
|
90141
|
+
access: "view"
|
|
90142
|
+
},
|
|
89994
90143
|
"deviceManager.listLocationIcons": {
|
|
89995
90144
|
capName: "device-manager",
|
|
89996
90145
|
capScope: "system",
|
|
@@ -90009,6 +90158,12 @@ Object.freeze({
|
|
|
90009
90158
|
addonId: null,
|
|
90010
90159
|
access: "view"
|
|
90011
90160
|
},
|
|
90161
|
+
"deviceManager.listSiteZones": {
|
|
90162
|
+
capName: "device-manager",
|
|
90163
|
+
capScope: "system",
|
|
90164
|
+
addonId: null,
|
|
90165
|
+
access: "view"
|
|
90166
|
+
},
|
|
90012
90167
|
"deviceManager.listWrappersForCap": {
|
|
90013
90168
|
capName: "device-manager",
|
|
90014
90169
|
capScope: "system",
|
|
@@ -90093,12 +90248,24 @@ Object.freeze({
|
|
|
90093
90248
|
addonId: null,
|
|
90094
90249
|
access: "delete"
|
|
90095
90250
|
},
|
|
90251
|
+
"deviceManager.removeSiteZone": {
|
|
90252
|
+
capName: "device-manager",
|
|
90253
|
+
capScope: "system",
|
|
90254
|
+
addonId: null,
|
|
90255
|
+
access: "delete"
|
|
90256
|
+
},
|
|
90096
90257
|
"deviceManager.renameLocation": {
|
|
90097
90258
|
capName: "device-manager",
|
|
90098
90259
|
capScope: "system",
|
|
90099
90260
|
addonId: null,
|
|
90100
90261
|
access: "create"
|
|
90101
90262
|
},
|
|
90263
|
+
"deviceManager.renameSiteZone": {
|
|
90264
|
+
capName: "device-manager",
|
|
90265
|
+
capScope: "system",
|
|
90266
|
+
addonId: null,
|
|
90267
|
+
access: "create"
|
|
90268
|
+
},
|
|
90102
90269
|
"deviceManager.runDeviceAction": {
|
|
90103
90270
|
capName: "device-manager",
|
|
90104
90271
|
capScope: "system",
|
|
@@ -90141,12 +90308,24 @@ Object.freeze({
|
|
|
90141
90308
|
addonId: null,
|
|
90142
90309
|
access: "create"
|
|
90143
90310
|
},
|
|
90311
|
+
"deviceManager.setLocationDescription": {
|
|
90312
|
+
capName: "device-manager",
|
|
90313
|
+
capScope: "system",
|
|
90314
|
+
addonId: null,
|
|
90315
|
+
access: "create"
|
|
90316
|
+
},
|
|
90144
90317
|
"deviceManager.setLocationIcon": {
|
|
90145
90318
|
capName: "device-manager",
|
|
90146
90319
|
capScope: "system",
|
|
90147
90320
|
addonId: null,
|
|
90148
90321
|
access: "create"
|
|
90149
90322
|
},
|
|
90323
|
+
"deviceManager.setLocationZone": {
|
|
90324
|
+
capName: "device-manager",
|
|
90325
|
+
capScope: "system",
|
|
90326
|
+
addonId: null,
|
|
90327
|
+
access: "create"
|
|
90328
|
+
},
|
|
90150
90329
|
"deviceManager.setMetadata": {
|
|
90151
90330
|
capName: "device-manager",
|
|
90152
90331
|
capScope: "system",
|
|
@@ -90177,6 +90356,12 @@ Object.freeze({
|
|
|
90177
90356
|
addonId: null,
|
|
90178
90357
|
access: "create"
|
|
90179
90358
|
},
|
|
90359
|
+
"deviceManager.setSiteZone": {
|
|
90360
|
+
capName: "device-manager",
|
|
90361
|
+
capScope: "system",
|
|
90362
|
+
addonId: null,
|
|
90363
|
+
access: "create"
|
|
90364
|
+
},
|
|
90180
90365
|
"deviceManager.setStreamProfileMap": {
|
|
90181
90366
|
capName: "device-manager",
|
|
90182
90367
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -65066,7 +65066,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
65066
65066
|
* This is what lets one picker serve both the bypass and the full source
|
|
65067
65067
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
65068
65068
|
*/
|
|
65069
|
-
allowTranscode: boolean().optional()
|
|
65069
|
+
allowTranscode: boolean().optional(),
|
|
65070
|
+
/**
|
|
65071
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
65072
|
+
*
|
|
65073
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
65074
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
65075
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
65076
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
65077
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
65078
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
65079
|
+
*
|
|
65080
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
65081
|
+
* here when it decides which source to BIND to a slot
|
|
65082
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
65083
|
+
* could never bind them.
|
|
65084
|
+
*/
|
|
65085
|
+
requireProfileBound: boolean().optional()
|
|
65070
65086
|
}).readonly();
|
|
65071
65087
|
var PickStreamPreferencesSchema = object({
|
|
65072
65088
|
/**
|
|
@@ -65107,7 +65123,43 @@ var PickedCamStreamSchema = object({
|
|
|
65107
65123
|
*/
|
|
65108
65124
|
transcodes: boolean(),
|
|
65109
65125
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
65110
|
-
reason: string()
|
|
65126
|
+
reason: string(),
|
|
65127
|
+
/**
|
|
65128
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
65129
|
+
*
|
|
65130
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
65131
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
65132
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
65133
|
+
* the same function a second time.
|
|
65134
|
+
*
|
|
65135
|
+
* Absent when the source has no slot, which a caller passing
|
|
65136
|
+
* `requireProfileBound` can never see.
|
|
65137
|
+
*/
|
|
65138
|
+
profile: CamProfileSchema.optional(),
|
|
65139
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
65140
|
+
brokerId: string().optional(),
|
|
65141
|
+
/**
|
|
65142
|
+
* The broker restream URL to dial for this stream.
|
|
65143
|
+
*
|
|
65144
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
65145
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
65146
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
65147
|
+
* naming a source and leaving each caller to look the URL up.
|
|
65148
|
+
*/
|
|
65149
|
+
url: string().optional(),
|
|
65150
|
+
/**
|
|
65151
|
+
* Frames per second this stream really delivers, and where the number came
|
|
65152
|
+
* from.
|
|
65153
|
+
*
|
|
65154
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
65155
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
65156
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
65157
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
65158
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
65159
|
+
* are not interchangeable.
|
|
65160
|
+
*/
|
|
65161
|
+
fps: number().positive().optional(),
|
|
65162
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
65111
65163
|
});
|
|
65112
65164
|
/**
|
|
65113
65165
|
* Camera streams — device-scoped facade over the system `stream-broker`.
|
|
@@ -66307,6 +66359,70 @@ var LocationIconAssignmentSchema = object({
|
|
|
66307
66359
|
locationKey: string(),
|
|
66308
66360
|
icon: LocationIconIdSchema
|
|
66309
66361
|
});
|
|
66362
|
+
/**
|
|
66363
|
+
* One (location, description) assignment as it travels.
|
|
66364
|
+
*
|
|
66365
|
+
* Same key discipline as {@link LocationIconAssignmentSchema}, and for the same
|
|
66366
|
+
* reason: this lived for a while in the post-analysis addon's own settings,
|
|
66367
|
+
* keyed by a HAND-TYPED label matched exactly and case-sensitively. A rename in
|
|
66368
|
+
* the Locations page carried the icon and silently orphaned the description —
|
|
66369
|
+
* two authorities for one thing, joined by two different rules. Now both hang
|
|
66370
|
+
* off the location itself, on `locationIconKey`.
|
|
66371
|
+
*/
|
|
66372
|
+
var LocationDescriptionAssignmentSchema = object({
|
|
66373
|
+
locationKey: string(),
|
|
66374
|
+
description: string()
|
|
66375
|
+
});
|
|
66376
|
+
/**
|
|
66377
|
+
* A SITE ZONE — a named part of the property that several locations belong to.
|
|
66378
|
+
*
|
|
66379
|
+
* "Zona notte" holds every bedroom; "Zona giorno" the living room and the
|
|
66380
|
+
* kitchen. A camera belongs to exactly one location, and a location to at most
|
|
66381
|
+
* one zone, so a camera's zone is derived and never stored on the device: the
|
|
66382
|
+
* whole point of this entity is that grouping rooms touches no device row.
|
|
66383
|
+
*
|
|
66384
|
+
* ## Why not `zone`
|
|
66385
|
+
*
|
|
66386
|
+
* Because `zone` is already the most loaded word in this product: 612 source
|
|
66387
|
+
* files and 24 Italian strings where it means a DETECTION zone drawn on a
|
|
66388
|
+
* camera. The two are unrelated — one is a polygon in a frame, the other is a
|
|
66389
|
+
* set of rooms — and a reader who confuses them will look for a camera's
|
|
66390
|
+
* bedrooms. So the code says `siteZone` everywhere, and the UI frees the plain
|
|
66391
|
+
* word by calling the drawn one what it actually is: a detection zone.
|
|
66392
|
+
*
|
|
66393
|
+
* ## The key
|
|
66394
|
+
*
|
|
66395
|
+
* `siteZoneKey(label)` — trimmed, lower-cased, the SAME derivation locations
|
|
66396
|
+
* use (`locationIconKey`). Membership and the icon both hang off it, so a
|
|
66397
|
+
* case-only rename keeps them, which is exactly the orphaning that cost us a
|
|
66398
|
+
* silently-dropped location description.
|
|
66399
|
+
*
|
|
66400
|
+
* The icon vocabulary is the location one, unchanged: a zone is drawn on the
|
|
66401
|
+
* same two surfaces by the same glyph map, so a second vocabulary would be a
|
|
66402
|
+
* second thing to keep drawable (`scripts/check-location-icons-drawable.ts`).
|
|
66403
|
+
*/
|
|
66404
|
+
/**
|
|
66405
|
+
* One zone as it travels: its key, the label the operator typed, its icon and
|
|
66406
|
+
* the locations inside it.
|
|
66407
|
+
*
|
|
66408
|
+
* The LABEL is carried alongside the key because the key is lossy on purpose —
|
|
66409
|
+
* a surface must show "Zona notte", not "zona notte". Locations are carried
|
|
66410
|
+
* here, rather than left to a second call, because every consumer wants both
|
|
66411
|
+
* at once and a viewer that asked twice could render a zone whose membership
|
|
66412
|
+
* it has not fetched yet.
|
|
66413
|
+
*
|
|
66414
|
+
* `icon: null` means nobody chose one, which is NOT the fallback pin: only one
|
|
66415
|
+
* of those two is a choice, and a picker has to draw them differently.
|
|
66416
|
+
*/
|
|
66417
|
+
var SiteZoneSchema = object({
|
|
66418
|
+
zoneKey: string(),
|
|
66419
|
+
label: string(),
|
|
66420
|
+
icon: LocationIconIdSchema.nullable(),
|
|
66421
|
+
/** Folded location keys, sorted. A location listed here need not be
|
|
66422
|
+
* REGISTERED — devices carry labels nobody registered, and those rooms are
|
|
66423
|
+
* the ones that most want grouping. */
|
|
66424
|
+
locationKeys: array(string())
|
|
66425
|
+
});
|
|
66310
66426
|
var ProviderStatusSchema = object({
|
|
66311
66427
|
connected: boolean(),
|
|
66312
66428
|
deviceCount: number(),
|
|
@@ -66905,6 +67021,33 @@ method(object({
|
|
|
66905
67021
|
}), _void(), {
|
|
66906
67022
|
kind: "mutation",
|
|
66907
67023
|
auth: "admin"
|
|
67024
|
+
}), method(_void(), array(LocationDescriptionAssignmentSchema)), method(object({
|
|
67025
|
+
location: string(),
|
|
67026
|
+
description: string().max(400).nullable()
|
|
67027
|
+
}), _void(), {
|
|
67028
|
+
kind: "mutation",
|
|
67029
|
+
auth: "admin"
|
|
67030
|
+
}), method(_void(), array(SiteZoneSchema)), method(object({
|
|
67031
|
+
name: string(),
|
|
67032
|
+
icon: LocationIconIdSchema.nullable().optional()
|
|
67033
|
+
}), _void(), {
|
|
67034
|
+
kind: "mutation",
|
|
67035
|
+
auth: "admin"
|
|
67036
|
+
}), method(object({ name: string() }), _void(), {
|
|
67037
|
+
kind: "mutation",
|
|
67038
|
+
auth: "admin"
|
|
67039
|
+
}), method(object({
|
|
67040
|
+
from: string(),
|
|
67041
|
+
to: string()
|
|
67042
|
+
}), _void(), {
|
|
67043
|
+
kind: "mutation",
|
|
67044
|
+
auth: "admin"
|
|
67045
|
+
}), method(object({
|
|
67046
|
+
location: string(),
|
|
67047
|
+
zone: string().nullable()
|
|
67048
|
+
}), _void(), {
|
|
67049
|
+
kind: "mutation",
|
|
67050
|
+
auth: "admin"
|
|
66908
67051
|
}), method(object({
|
|
66909
67052
|
deviceId: number(),
|
|
66910
67053
|
disabled: boolean()
|
|
@@ -89988,6 +90131,12 @@ Object.freeze({
|
|
|
89988
90131
|
addonId: null,
|
|
89989
90132
|
access: "view"
|
|
89990
90133
|
},
|
|
90134
|
+
"deviceManager.listLocationDescriptions": {
|
|
90135
|
+
capName: "device-manager",
|
|
90136
|
+
capScope: "system",
|
|
90137
|
+
addonId: null,
|
|
90138
|
+
access: "view"
|
|
90139
|
+
},
|
|
89991
90140
|
"deviceManager.listLocationIcons": {
|
|
89992
90141
|
capName: "device-manager",
|
|
89993
90142
|
capScope: "system",
|
|
@@ -90006,6 +90155,12 @@ Object.freeze({
|
|
|
90006
90155
|
addonId: null,
|
|
90007
90156
|
access: "view"
|
|
90008
90157
|
},
|
|
90158
|
+
"deviceManager.listSiteZones": {
|
|
90159
|
+
capName: "device-manager",
|
|
90160
|
+
capScope: "system",
|
|
90161
|
+
addonId: null,
|
|
90162
|
+
access: "view"
|
|
90163
|
+
},
|
|
90009
90164
|
"deviceManager.listWrappersForCap": {
|
|
90010
90165
|
capName: "device-manager",
|
|
90011
90166
|
capScope: "system",
|
|
@@ -90090,12 +90245,24 @@ Object.freeze({
|
|
|
90090
90245
|
addonId: null,
|
|
90091
90246
|
access: "delete"
|
|
90092
90247
|
},
|
|
90248
|
+
"deviceManager.removeSiteZone": {
|
|
90249
|
+
capName: "device-manager",
|
|
90250
|
+
capScope: "system",
|
|
90251
|
+
addonId: null,
|
|
90252
|
+
access: "delete"
|
|
90253
|
+
},
|
|
90093
90254
|
"deviceManager.renameLocation": {
|
|
90094
90255
|
capName: "device-manager",
|
|
90095
90256
|
capScope: "system",
|
|
90096
90257
|
addonId: null,
|
|
90097
90258
|
access: "create"
|
|
90098
90259
|
},
|
|
90260
|
+
"deviceManager.renameSiteZone": {
|
|
90261
|
+
capName: "device-manager",
|
|
90262
|
+
capScope: "system",
|
|
90263
|
+
addonId: null,
|
|
90264
|
+
access: "create"
|
|
90265
|
+
},
|
|
90099
90266
|
"deviceManager.runDeviceAction": {
|
|
90100
90267
|
capName: "device-manager",
|
|
90101
90268
|
capScope: "system",
|
|
@@ -90138,12 +90305,24 @@ Object.freeze({
|
|
|
90138
90305
|
addonId: null,
|
|
90139
90306
|
access: "create"
|
|
90140
90307
|
},
|
|
90308
|
+
"deviceManager.setLocationDescription": {
|
|
90309
|
+
capName: "device-manager",
|
|
90310
|
+
capScope: "system",
|
|
90311
|
+
addonId: null,
|
|
90312
|
+
access: "create"
|
|
90313
|
+
},
|
|
90141
90314
|
"deviceManager.setLocationIcon": {
|
|
90142
90315
|
capName: "device-manager",
|
|
90143
90316
|
capScope: "system",
|
|
90144
90317
|
addonId: null,
|
|
90145
90318
|
access: "create"
|
|
90146
90319
|
},
|
|
90320
|
+
"deviceManager.setLocationZone": {
|
|
90321
|
+
capName: "device-manager",
|
|
90322
|
+
capScope: "system",
|
|
90323
|
+
addonId: null,
|
|
90324
|
+
access: "create"
|
|
90325
|
+
},
|
|
90147
90326
|
"deviceManager.setMetadata": {
|
|
90148
90327
|
capName: "device-manager",
|
|
90149
90328
|
capScope: "system",
|
|
@@ -90174,6 +90353,12 @@ Object.freeze({
|
|
|
90174
90353
|
addonId: null,
|
|
90175
90354
|
access: "create"
|
|
90176
90355
|
},
|
|
90356
|
+
"deviceManager.setSiteZone": {
|
|
90357
|
+
capName: "device-manager",
|
|
90358
|
+
capScope: "system",
|
|
90359
|
+
addonId: null,
|
|
90360
|
+
access: "create"
|
|
90361
|
+
},
|
|
90177
90362
|
"deviceManager.setStreamProfileMap": {
|
|
90178
90363
|
capName: "device-manager",
|
|
90179
90364
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-dreame",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.109",
|
|
4
4
|
"description": "Dreame robot-vacuum / lawn-mower device-provider addon for CamStack — wraps the @apocaliss92/nodedreame Dreamehome cloud client",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|