@camstack/addon-matter-broker 0.2.110 → 0.2.112
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 +64 -1
- package/dist/addon.mjs +64 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -5374,7 +5374,7 @@ var ZodIssueCode = {
|
|
|
5374
5374
|
var ZodFirstPartyTypeKind;
|
|
5375
5375
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5376
5376
|
//#endregion
|
|
5377
|
-
//#region ../types/dist/sleep-
|
|
5377
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5378
5378
|
/**
|
|
5379
5379
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5380
5380
|
* window to float samples (D455).
|
|
@@ -31126,6 +31126,26 @@ var PtzHomePresetSchema = object({
|
|
|
31126
31126
|
"none"
|
|
31127
31127
|
])
|
|
31128
31128
|
});
|
|
31129
|
+
/**
|
|
31130
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
31131
|
+
* after how long.
|
|
31132
|
+
*
|
|
31133
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
31134
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
31135
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
31136
|
+
* can disagree.
|
|
31137
|
+
*
|
|
31138
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
31139
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
31140
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
31141
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
31142
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
31143
|
+
* return at all.
|
|
31144
|
+
*/
|
|
31145
|
+
var PtzHomeReturnSchema = object({
|
|
31146
|
+
enabled: boolean(),
|
|
31147
|
+
seconds: number().int()
|
|
31148
|
+
});
|
|
31129
31149
|
DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(PtzPresetSchema)), method(object({
|
|
31130
31150
|
deviceId: number(),
|
|
31131
31151
|
presetId: string$2()
|
|
@@ -31148,6 +31168,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31148
31168
|
}), _void(), {
|
|
31149
31169
|
kind: "mutation",
|
|
31150
31170
|
auth: "admin"
|
|
31171
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
31172
|
+
kind: "mutation",
|
|
31173
|
+
auth: "admin"
|
|
31174
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31175
|
+
deviceId: number(),
|
|
31176
|
+
enabled: boolean(),
|
|
31177
|
+
seconds: number().int().min(0).max(3600)
|
|
31178
|
+
}), _void(), {
|
|
31179
|
+
kind: "mutation",
|
|
31180
|
+
auth: "admin"
|
|
31151
31181
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
31152
31182
|
deviceId: number(),
|
|
31153
31183
|
enabled: boolean()
|
|
@@ -40390,6 +40420,12 @@ Object.freeze({
|
|
|
40390
40420
|
addonId: null,
|
|
40391
40421
|
access: "create"
|
|
40392
40422
|
},
|
|
40423
|
+
"ptz.captureHomeHere": {
|
|
40424
|
+
capName: "ptz",
|
|
40425
|
+
capScope: "device",
|
|
40426
|
+
addonId: null,
|
|
40427
|
+
access: "create"
|
|
40428
|
+
},
|
|
40393
40429
|
"ptz.continuousMove": {
|
|
40394
40430
|
capName: "ptz",
|
|
40395
40431
|
capScope: "device",
|
|
@@ -40408,6 +40444,12 @@ Object.freeze({
|
|
|
40408
40444
|
addonId: null,
|
|
40409
40445
|
access: "view"
|
|
40410
40446
|
},
|
|
40447
|
+
"ptz.getHomeReturn": {
|
|
40448
|
+
capName: "ptz",
|
|
40449
|
+
capScope: "device",
|
|
40450
|
+
addonId: null,
|
|
40451
|
+
access: "view"
|
|
40452
|
+
},
|
|
40411
40453
|
"ptz.getOptions": {
|
|
40412
40454
|
capName: "ptz",
|
|
40413
40455
|
capScope: "device",
|
|
@@ -40462,6 +40504,12 @@ Object.freeze({
|
|
|
40462
40504
|
addonId: null,
|
|
40463
40505
|
access: "create"
|
|
40464
40506
|
},
|
|
40507
|
+
"ptz.setHomeReturn": {
|
|
40508
|
+
capName: "ptz",
|
|
40509
|
+
capScope: "device",
|
|
40510
|
+
addonId: null,
|
|
40511
|
+
access: "create"
|
|
40512
|
+
},
|
|
40465
40513
|
"ptz.stop": {
|
|
40466
40514
|
capName: "ptz",
|
|
40467
40515
|
capScope: "device",
|
|
@@ -43625,6 +43673,11 @@ Object.freeze({
|
|
|
43625
43673
|
form: "single",
|
|
43626
43674
|
optional: false
|
|
43627
43675
|
}],
|
|
43676
|
+
"ptz.captureHomeHere": [{
|
|
43677
|
+
name: "deviceId",
|
|
43678
|
+
form: "single",
|
|
43679
|
+
optional: false
|
|
43680
|
+
}],
|
|
43628
43681
|
"ptz.continuousMove": [{
|
|
43629
43682
|
name: "deviceId",
|
|
43630
43683
|
form: "single",
|
|
@@ -43640,6 +43693,11 @@ Object.freeze({
|
|
|
43640
43693
|
form: "single",
|
|
43641
43694
|
optional: false
|
|
43642
43695
|
}],
|
|
43696
|
+
"ptz.getHomeReturn": [{
|
|
43697
|
+
name: "deviceId",
|
|
43698
|
+
form: "single",
|
|
43699
|
+
optional: false
|
|
43700
|
+
}],
|
|
43643
43701
|
"ptz.getOptions": [{
|
|
43644
43702
|
name: "deviceId",
|
|
43645
43703
|
form: "single",
|
|
@@ -43685,6 +43743,11 @@ Object.freeze({
|
|
|
43685
43743
|
form: "single",
|
|
43686
43744
|
optional: false
|
|
43687
43745
|
}],
|
|
43746
|
+
"ptz.setHomeReturn": [{
|
|
43747
|
+
name: "deviceId",
|
|
43748
|
+
form: "single",
|
|
43749
|
+
optional: false
|
|
43750
|
+
}],
|
|
43688
43751
|
"ptz.stop": [{
|
|
43689
43752
|
name: "deviceId",
|
|
43690
43753
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -5372,7 +5372,7 @@ var ZodIssueCode = {
|
|
|
5372
5372
|
var ZodFirstPartyTypeKind;
|
|
5373
5373
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5374
5374
|
//#endregion
|
|
5375
|
-
//#region ../types/dist/sleep-
|
|
5375
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5376
5376
|
/**
|
|
5377
5377
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5378
5378
|
* window to float samples (D455).
|
|
@@ -31124,6 +31124,26 @@ var PtzHomePresetSchema = object({
|
|
|
31124
31124
|
"none"
|
|
31125
31125
|
])
|
|
31126
31126
|
});
|
|
31127
|
+
/**
|
|
31128
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
31129
|
+
* after how long.
|
|
31130
|
+
*
|
|
31131
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
31132
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
31133
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
31134
|
+
* can disagree.
|
|
31135
|
+
*
|
|
31136
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
31137
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
31138
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
31139
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
31140
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
31141
|
+
* return at all.
|
|
31142
|
+
*/
|
|
31143
|
+
var PtzHomeReturnSchema = object({
|
|
31144
|
+
enabled: boolean(),
|
|
31145
|
+
seconds: number().int()
|
|
31146
|
+
});
|
|
31127
31147
|
DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(PtzPresetSchema)), method(object({
|
|
31128
31148
|
deviceId: number(),
|
|
31129
31149
|
presetId: string$2()
|
|
@@ -31146,6 +31166,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31146
31166
|
}), _void(), {
|
|
31147
31167
|
kind: "mutation",
|
|
31148
31168
|
auth: "admin"
|
|
31169
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
31170
|
+
kind: "mutation",
|
|
31171
|
+
auth: "admin"
|
|
31172
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31173
|
+
deviceId: number(),
|
|
31174
|
+
enabled: boolean(),
|
|
31175
|
+
seconds: number().int().min(0).max(3600)
|
|
31176
|
+
}), _void(), {
|
|
31177
|
+
kind: "mutation",
|
|
31178
|
+
auth: "admin"
|
|
31149
31179
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
31150
31180
|
deviceId: number(),
|
|
31151
31181
|
enabled: boolean()
|
|
@@ -40388,6 +40418,12 @@ Object.freeze({
|
|
|
40388
40418
|
addonId: null,
|
|
40389
40419
|
access: "create"
|
|
40390
40420
|
},
|
|
40421
|
+
"ptz.captureHomeHere": {
|
|
40422
|
+
capName: "ptz",
|
|
40423
|
+
capScope: "device",
|
|
40424
|
+
addonId: null,
|
|
40425
|
+
access: "create"
|
|
40426
|
+
},
|
|
40391
40427
|
"ptz.continuousMove": {
|
|
40392
40428
|
capName: "ptz",
|
|
40393
40429
|
capScope: "device",
|
|
@@ -40406,6 +40442,12 @@ Object.freeze({
|
|
|
40406
40442
|
addonId: null,
|
|
40407
40443
|
access: "view"
|
|
40408
40444
|
},
|
|
40445
|
+
"ptz.getHomeReturn": {
|
|
40446
|
+
capName: "ptz",
|
|
40447
|
+
capScope: "device",
|
|
40448
|
+
addonId: null,
|
|
40449
|
+
access: "view"
|
|
40450
|
+
},
|
|
40409
40451
|
"ptz.getOptions": {
|
|
40410
40452
|
capName: "ptz",
|
|
40411
40453
|
capScope: "device",
|
|
@@ -40460,6 +40502,12 @@ Object.freeze({
|
|
|
40460
40502
|
addonId: null,
|
|
40461
40503
|
access: "create"
|
|
40462
40504
|
},
|
|
40505
|
+
"ptz.setHomeReturn": {
|
|
40506
|
+
capName: "ptz",
|
|
40507
|
+
capScope: "device",
|
|
40508
|
+
addonId: null,
|
|
40509
|
+
access: "create"
|
|
40510
|
+
},
|
|
40463
40511
|
"ptz.stop": {
|
|
40464
40512
|
capName: "ptz",
|
|
40465
40513
|
capScope: "device",
|
|
@@ -43623,6 +43671,11 @@ Object.freeze({
|
|
|
43623
43671
|
form: "single",
|
|
43624
43672
|
optional: false
|
|
43625
43673
|
}],
|
|
43674
|
+
"ptz.captureHomeHere": [{
|
|
43675
|
+
name: "deviceId",
|
|
43676
|
+
form: "single",
|
|
43677
|
+
optional: false
|
|
43678
|
+
}],
|
|
43626
43679
|
"ptz.continuousMove": [{
|
|
43627
43680
|
name: "deviceId",
|
|
43628
43681
|
form: "single",
|
|
@@ -43638,6 +43691,11 @@ Object.freeze({
|
|
|
43638
43691
|
form: "single",
|
|
43639
43692
|
optional: false
|
|
43640
43693
|
}],
|
|
43694
|
+
"ptz.getHomeReturn": [{
|
|
43695
|
+
name: "deviceId",
|
|
43696
|
+
form: "single",
|
|
43697
|
+
optional: false
|
|
43698
|
+
}],
|
|
43641
43699
|
"ptz.getOptions": [{
|
|
43642
43700
|
name: "deviceId",
|
|
43643
43701
|
form: "single",
|
|
@@ -43683,6 +43741,11 @@ Object.freeze({
|
|
|
43683
43741
|
form: "single",
|
|
43684
43742
|
optional: false
|
|
43685
43743
|
}],
|
|
43744
|
+
"ptz.setHomeReturn": [{
|
|
43745
|
+
name: "deviceId",
|
|
43746
|
+
form: "single",
|
|
43747
|
+
optional: false
|
|
43748
|
+
}],
|
|
43686
43749
|
"ptz.stop": [{
|
|
43687
43750
|
name: "deviceId",
|
|
43688
43751
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-matter-broker",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.112",
|
|
4
4
|
"description": "Matter broker addon for CamStack — owns a Matter fabric (commissioning + the long-lived controller) via the matter.js controller and brokers commissioned Matter nodes into CamStack",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|