@camstack/addon-provider-wyze 0.2.108 → 0.2.110
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 +56 -0
- package/dist/addon.mjs +56 -0
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -13528,6 +13528,43 @@ var ExposeInputSchema = object({
|
|
|
13528
13528
|
});
|
|
13529
13529
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13530
13530
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13531
|
+
/** Wire/storage schema for one icon id. */
|
|
13532
|
+
var LocationIconIdSchema = _enum([
|
|
13533
|
+
"map-pin",
|
|
13534
|
+
"house",
|
|
13535
|
+
"door-open",
|
|
13536
|
+
"sofa",
|
|
13537
|
+
"utensils",
|
|
13538
|
+
"bed-double",
|
|
13539
|
+
"bath",
|
|
13540
|
+
"briefcase",
|
|
13541
|
+
"car",
|
|
13542
|
+
"circle-parking",
|
|
13543
|
+
"route",
|
|
13544
|
+
"trees",
|
|
13545
|
+
"umbrella",
|
|
13546
|
+
"waves-ladder",
|
|
13547
|
+
"fence",
|
|
13548
|
+
"package",
|
|
13549
|
+
"warehouse",
|
|
13550
|
+
"store",
|
|
13551
|
+
"sun",
|
|
13552
|
+
"radar"
|
|
13553
|
+
]);
|
|
13554
|
+
/**
|
|
13555
|
+
* One (location, icon) assignment as it travels.
|
|
13556
|
+
*
|
|
13557
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13558
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13559
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13560
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13561
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13562
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13563
|
+
*/
|
|
13564
|
+
var LocationIconAssignmentSchema = object({
|
|
13565
|
+
locationKey: string(),
|
|
13566
|
+
icon: LocationIconIdSchema
|
|
13567
|
+
});
|
|
13531
13568
|
var ProviderStatusSchema = object({
|
|
13532
13569
|
connected: boolean(),
|
|
13533
13570
|
deviceCount: number(),
|
|
@@ -14120,6 +14157,12 @@ method(object({
|
|
|
14120
14157
|
}), object({ moved: number() }), {
|
|
14121
14158
|
kind: "mutation",
|
|
14122
14159
|
auth: "admin"
|
|
14160
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
14161
|
+
location: string(),
|
|
14162
|
+
icon: LocationIconIdSchema.nullable()
|
|
14163
|
+
}), _void(), {
|
|
14164
|
+
kind: "mutation",
|
|
14165
|
+
auth: "admin"
|
|
14123
14166
|
}), method(object({
|
|
14124
14167
|
deviceId: number(),
|
|
14125
14168
|
disabled: boolean()
|
|
@@ -20094,6 +20137,7 @@ var MediaFileKindEnum = _enum([
|
|
|
20094
20137
|
"keyFrame",
|
|
20095
20138
|
"keyFrameSmall",
|
|
20096
20139
|
"thumbnailSmall",
|
|
20140
|
+
"confirmationCrop",
|
|
20097
20141
|
"sceneFrame"
|
|
20098
20142
|
]);
|
|
20099
20143
|
/**
|
|
@@ -37141,6 +37185,12 @@ Object.freeze({
|
|
|
37141
37185
|
addonId: null,
|
|
37142
37186
|
access: "view"
|
|
37143
37187
|
},
|
|
37188
|
+
"deviceManager.listLocationIcons": {
|
|
37189
|
+
capName: "device-manager",
|
|
37190
|
+
capScope: "system",
|
|
37191
|
+
addonId: null,
|
|
37192
|
+
access: "view"
|
|
37193
|
+
},
|
|
37144
37194
|
"deviceManager.listLocations": {
|
|
37145
37195
|
capName: "device-manager",
|
|
37146
37196
|
capScope: "system",
|
|
@@ -37285,6 +37335,12 @@ Object.freeze({
|
|
|
37285
37335
|
addonId: null,
|
|
37286
37336
|
access: "create"
|
|
37287
37337
|
},
|
|
37338
|
+
"deviceManager.setLocationIcon": {
|
|
37339
|
+
capName: "device-manager",
|
|
37340
|
+
capScope: "system",
|
|
37341
|
+
addonId: null,
|
|
37342
|
+
access: "create"
|
|
37343
|
+
},
|
|
37288
37344
|
"deviceManager.setMetadata": {
|
|
37289
37345
|
capName: "device-manager",
|
|
37290
37346
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -13507,6 +13507,43 @@ var ExposeInputSchema = object({
|
|
|
13507
13507
|
});
|
|
13508
13508
|
var UnexposeInputSchema = object({ deviceId: string() });
|
|
13509
13509
|
method(_void(), DeviceExportStatusSchema), method(_void(), array(DeviceKindSchema)), method(_void(), array(ExposedDeviceSchema)), method(ExposeInputSchema, _void(), { kind: "mutation" }), method(UnexposeInputSchema, _void(), { kind: "mutation" });
|
|
13510
|
+
/** Wire/storage schema for one icon id. */
|
|
13511
|
+
var LocationIconIdSchema = _enum([
|
|
13512
|
+
"map-pin",
|
|
13513
|
+
"house",
|
|
13514
|
+
"door-open",
|
|
13515
|
+
"sofa",
|
|
13516
|
+
"utensils",
|
|
13517
|
+
"bed-double",
|
|
13518
|
+
"bath",
|
|
13519
|
+
"briefcase",
|
|
13520
|
+
"car",
|
|
13521
|
+
"circle-parking",
|
|
13522
|
+
"route",
|
|
13523
|
+
"trees",
|
|
13524
|
+
"umbrella",
|
|
13525
|
+
"waves-ladder",
|
|
13526
|
+
"fence",
|
|
13527
|
+
"package",
|
|
13528
|
+
"warehouse",
|
|
13529
|
+
"store",
|
|
13530
|
+
"sun",
|
|
13531
|
+
"radar"
|
|
13532
|
+
]);
|
|
13533
|
+
/**
|
|
13534
|
+
* One (location, icon) assignment as it travels.
|
|
13535
|
+
*
|
|
13536
|
+
* `locationKey` is ALWAYS {@link locationIconKey} of the label — never the
|
|
13537
|
+
* operator's casing. The registry matches labels trimmed + case-insensitively
|
|
13538
|
+
* everywhere (`addLocation`, `removeLocation`, `renameLocation`), and a
|
|
13539
|
+
* case-only rename (`cucina` → `Cucina`) is a real edit this repo supports; a
|
|
13540
|
+
* map keyed on the displayed casing would orphan its entry on exactly that
|
|
13541
|
+
* edit. Consumers join by keying their own label through `locationIconKey`.
|
|
13542
|
+
*/
|
|
13543
|
+
var LocationIconAssignmentSchema = object({
|
|
13544
|
+
locationKey: string(),
|
|
13545
|
+
icon: LocationIconIdSchema
|
|
13546
|
+
});
|
|
13510
13547
|
var ProviderStatusSchema = object({
|
|
13511
13548
|
connected: boolean(),
|
|
13512
13549
|
deviceCount: number(),
|
|
@@ -14099,6 +14136,12 @@ method(object({
|
|
|
14099
14136
|
}), object({ moved: number() }), {
|
|
14100
14137
|
kind: "mutation",
|
|
14101
14138
|
auth: "admin"
|
|
14139
|
+
}), method(_void(), array(LocationIconAssignmentSchema)), method(object({
|
|
14140
|
+
location: string(),
|
|
14141
|
+
icon: LocationIconIdSchema.nullable()
|
|
14142
|
+
}), _void(), {
|
|
14143
|
+
kind: "mutation",
|
|
14144
|
+
auth: "admin"
|
|
14102
14145
|
}), method(object({
|
|
14103
14146
|
deviceId: number(),
|
|
14104
14147
|
disabled: boolean()
|
|
@@ -20073,6 +20116,7 @@ var MediaFileKindEnum = _enum([
|
|
|
20073
20116
|
"keyFrame",
|
|
20074
20117
|
"keyFrameSmall",
|
|
20075
20118
|
"thumbnailSmall",
|
|
20119
|
+
"confirmationCrop",
|
|
20076
20120
|
"sceneFrame"
|
|
20077
20121
|
]);
|
|
20078
20122
|
/**
|
|
@@ -37120,6 +37164,12 @@ Object.freeze({
|
|
|
37120
37164
|
addonId: null,
|
|
37121
37165
|
access: "view"
|
|
37122
37166
|
},
|
|
37167
|
+
"deviceManager.listLocationIcons": {
|
|
37168
|
+
capName: "device-manager",
|
|
37169
|
+
capScope: "system",
|
|
37170
|
+
addonId: null,
|
|
37171
|
+
access: "view"
|
|
37172
|
+
},
|
|
37123
37173
|
"deviceManager.listLocations": {
|
|
37124
37174
|
capName: "device-manager",
|
|
37125
37175
|
capScope: "system",
|
|
@@ -37264,6 +37314,12 @@ Object.freeze({
|
|
|
37264
37314
|
addonId: null,
|
|
37265
37315
|
access: "create"
|
|
37266
37316
|
},
|
|
37317
|
+
"deviceManager.setLocationIcon": {
|
|
37318
|
+
capName: "device-manager",
|
|
37319
|
+
capScope: "system",
|
|
37320
|
+
addonId: null,
|
|
37321
|
+
access: "create"
|
|
37322
|
+
},
|
|
37267
37323
|
"deviceManager.setMetadata": {
|
|
37268
37324
|
capName: "device-manager",
|
|
37269
37325
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-wyze",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.110",
|
|
4
4
|
"description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|