@camstack/addon-terminal 0.1.116 → 0.1.118
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
|
@@ -5392,7 +5392,7 @@ var ZodIssueCode = {
|
|
|
5392
5392
|
var ZodFirstPartyTypeKind;
|
|
5393
5393
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5394
5394
|
//#endregion
|
|
5395
|
-
//#region ../types/dist/sleep-
|
|
5395
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5396
5396
|
/**
|
|
5397
5397
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5398
5398
|
* window to float samples (D455).
|
|
@@ -31195,6 +31195,26 @@ var PtzHomePresetSchema = object({
|
|
|
31195
31195
|
"none"
|
|
31196
31196
|
])
|
|
31197
31197
|
});
|
|
31198
|
+
/**
|
|
31199
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
31200
|
+
* after how long.
|
|
31201
|
+
*
|
|
31202
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
31203
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
31204
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
31205
|
+
* can disagree.
|
|
31206
|
+
*
|
|
31207
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
31208
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
31209
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
31210
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
31211
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
31212
|
+
* return at all.
|
|
31213
|
+
*/
|
|
31214
|
+
var PtzHomeReturnSchema = object({
|
|
31215
|
+
enabled: boolean(),
|
|
31216
|
+
seconds: number().int()
|
|
31217
|
+
});
|
|
31198
31218
|
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({
|
|
31199
31219
|
deviceId: number(),
|
|
31200
31220
|
presetId: string()
|
|
@@ -31217,6 +31237,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31217
31237
|
}), _void(), {
|
|
31218
31238
|
kind: "mutation",
|
|
31219
31239
|
auth: "admin"
|
|
31240
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
31241
|
+
kind: "mutation",
|
|
31242
|
+
auth: "admin"
|
|
31243
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31244
|
+
deviceId: number(),
|
|
31245
|
+
enabled: boolean(),
|
|
31246
|
+
seconds: number().int().min(0).max(3600)
|
|
31247
|
+
}), _void(), {
|
|
31248
|
+
kind: "mutation",
|
|
31249
|
+
auth: "admin"
|
|
31220
31250
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
31221
31251
|
deviceId: number(),
|
|
31222
31252
|
enabled: boolean()
|
|
@@ -40041,6 +40071,12 @@ Object.freeze({
|
|
|
40041
40071
|
addonId: null,
|
|
40042
40072
|
access: "create"
|
|
40043
40073
|
},
|
|
40074
|
+
"ptz.captureHomeHere": {
|
|
40075
|
+
capName: "ptz",
|
|
40076
|
+
capScope: "device",
|
|
40077
|
+
addonId: null,
|
|
40078
|
+
access: "create"
|
|
40079
|
+
},
|
|
40044
40080
|
"ptz.continuousMove": {
|
|
40045
40081
|
capName: "ptz",
|
|
40046
40082
|
capScope: "device",
|
|
@@ -40059,6 +40095,12 @@ Object.freeze({
|
|
|
40059
40095
|
addonId: null,
|
|
40060
40096
|
access: "view"
|
|
40061
40097
|
},
|
|
40098
|
+
"ptz.getHomeReturn": {
|
|
40099
|
+
capName: "ptz",
|
|
40100
|
+
capScope: "device",
|
|
40101
|
+
addonId: null,
|
|
40102
|
+
access: "view"
|
|
40103
|
+
},
|
|
40062
40104
|
"ptz.getOptions": {
|
|
40063
40105
|
capName: "ptz",
|
|
40064
40106
|
capScope: "device",
|
|
@@ -40113,6 +40155,12 @@ Object.freeze({
|
|
|
40113
40155
|
addonId: null,
|
|
40114
40156
|
access: "create"
|
|
40115
40157
|
},
|
|
40158
|
+
"ptz.setHomeReturn": {
|
|
40159
|
+
capName: "ptz",
|
|
40160
|
+
capScope: "device",
|
|
40161
|
+
addonId: null,
|
|
40162
|
+
access: "create"
|
|
40163
|
+
},
|
|
40116
40164
|
"ptz.stop": {
|
|
40117
40165
|
capName: "ptz",
|
|
40118
40166
|
capScope: "device",
|
|
@@ -43276,6 +43324,11 @@ Object.freeze({
|
|
|
43276
43324
|
form: "single",
|
|
43277
43325
|
optional: false
|
|
43278
43326
|
}],
|
|
43327
|
+
"ptz.captureHomeHere": [{
|
|
43328
|
+
name: "deviceId",
|
|
43329
|
+
form: "single",
|
|
43330
|
+
optional: false
|
|
43331
|
+
}],
|
|
43279
43332
|
"ptz.continuousMove": [{
|
|
43280
43333
|
name: "deviceId",
|
|
43281
43334
|
form: "single",
|
|
@@ -43291,6 +43344,11 @@ Object.freeze({
|
|
|
43291
43344
|
form: "single",
|
|
43292
43345
|
optional: false
|
|
43293
43346
|
}],
|
|
43347
|
+
"ptz.getHomeReturn": [{
|
|
43348
|
+
name: "deviceId",
|
|
43349
|
+
form: "single",
|
|
43350
|
+
optional: false
|
|
43351
|
+
}],
|
|
43294
43352
|
"ptz.getOptions": [{
|
|
43295
43353
|
name: "deviceId",
|
|
43296
43354
|
form: "single",
|
|
@@ -43336,6 +43394,11 @@ Object.freeze({
|
|
|
43336
43394
|
form: "single",
|
|
43337
43395
|
optional: false
|
|
43338
43396
|
}],
|
|
43397
|
+
"ptz.setHomeReturn": [{
|
|
43398
|
+
name: "deviceId",
|
|
43399
|
+
form: "single",
|
|
43400
|
+
optional: false
|
|
43401
|
+
}],
|
|
43339
43402
|
"ptz.stop": [{
|
|
43340
43403
|
name: "deviceId",
|
|
43341
43404
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -5369,7 +5369,7 @@ var ZodIssueCode = {
|
|
|
5369
5369
|
var ZodFirstPartyTypeKind;
|
|
5370
5370
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5371
5371
|
//#endregion
|
|
5372
|
-
//#region ../types/dist/sleep-
|
|
5372
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5373
5373
|
/**
|
|
5374
5374
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5375
5375
|
* window to float samples (D455).
|
|
@@ -31172,6 +31172,26 @@ var PtzHomePresetSchema = object({
|
|
|
31172
31172
|
"none"
|
|
31173
31173
|
])
|
|
31174
31174
|
});
|
|
31175
|
+
/**
|
|
31176
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
31177
|
+
* after how long.
|
|
31178
|
+
*
|
|
31179
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
31180
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
31181
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
31182
|
+
* can disagree.
|
|
31183
|
+
*
|
|
31184
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
31185
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
31186
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
31187
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
31188
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
31189
|
+
* return at all.
|
|
31190
|
+
*/
|
|
31191
|
+
var PtzHomeReturnSchema = object({
|
|
31192
|
+
enabled: boolean(),
|
|
31193
|
+
seconds: number().int()
|
|
31194
|
+
});
|
|
31175
31195
|
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({
|
|
31176
31196
|
deviceId: number(),
|
|
31177
31197
|
presetId: string()
|
|
@@ -31194,6 +31214,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
31194
31214
|
}), _void(), {
|
|
31195
31215
|
kind: "mutation",
|
|
31196
31216
|
auth: "admin"
|
|
31217
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
31218
|
+
kind: "mutation",
|
|
31219
|
+
auth: "admin"
|
|
31220
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
31221
|
+
deviceId: number(),
|
|
31222
|
+
enabled: boolean(),
|
|
31223
|
+
seconds: number().int().min(0).max(3600)
|
|
31224
|
+
}), _void(), {
|
|
31225
|
+
kind: "mutation",
|
|
31226
|
+
auth: "admin"
|
|
31197
31227
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
31198
31228
|
deviceId: number(),
|
|
31199
31229
|
enabled: boolean()
|
|
@@ -40018,6 +40048,12 @@ Object.freeze({
|
|
|
40018
40048
|
addonId: null,
|
|
40019
40049
|
access: "create"
|
|
40020
40050
|
},
|
|
40051
|
+
"ptz.captureHomeHere": {
|
|
40052
|
+
capName: "ptz",
|
|
40053
|
+
capScope: "device",
|
|
40054
|
+
addonId: null,
|
|
40055
|
+
access: "create"
|
|
40056
|
+
},
|
|
40021
40057
|
"ptz.continuousMove": {
|
|
40022
40058
|
capName: "ptz",
|
|
40023
40059
|
capScope: "device",
|
|
@@ -40036,6 +40072,12 @@ Object.freeze({
|
|
|
40036
40072
|
addonId: null,
|
|
40037
40073
|
access: "view"
|
|
40038
40074
|
},
|
|
40075
|
+
"ptz.getHomeReturn": {
|
|
40076
|
+
capName: "ptz",
|
|
40077
|
+
capScope: "device",
|
|
40078
|
+
addonId: null,
|
|
40079
|
+
access: "view"
|
|
40080
|
+
},
|
|
40039
40081
|
"ptz.getOptions": {
|
|
40040
40082
|
capName: "ptz",
|
|
40041
40083
|
capScope: "device",
|
|
@@ -40090,6 +40132,12 @@ Object.freeze({
|
|
|
40090
40132
|
addonId: null,
|
|
40091
40133
|
access: "create"
|
|
40092
40134
|
},
|
|
40135
|
+
"ptz.setHomeReturn": {
|
|
40136
|
+
capName: "ptz",
|
|
40137
|
+
capScope: "device",
|
|
40138
|
+
addonId: null,
|
|
40139
|
+
access: "create"
|
|
40140
|
+
},
|
|
40093
40141
|
"ptz.stop": {
|
|
40094
40142
|
capName: "ptz",
|
|
40095
40143
|
capScope: "device",
|
|
@@ -43253,6 +43301,11 @@ Object.freeze({
|
|
|
43253
43301
|
form: "single",
|
|
43254
43302
|
optional: false
|
|
43255
43303
|
}],
|
|
43304
|
+
"ptz.captureHomeHere": [{
|
|
43305
|
+
name: "deviceId",
|
|
43306
|
+
form: "single",
|
|
43307
|
+
optional: false
|
|
43308
|
+
}],
|
|
43256
43309
|
"ptz.continuousMove": [{
|
|
43257
43310
|
name: "deviceId",
|
|
43258
43311
|
form: "single",
|
|
@@ -43268,6 +43321,11 @@ Object.freeze({
|
|
|
43268
43321
|
form: "single",
|
|
43269
43322
|
optional: false
|
|
43270
43323
|
}],
|
|
43324
|
+
"ptz.getHomeReturn": [{
|
|
43325
|
+
name: "deviceId",
|
|
43326
|
+
form: "single",
|
|
43327
|
+
optional: false
|
|
43328
|
+
}],
|
|
43271
43329
|
"ptz.getOptions": [{
|
|
43272
43330
|
name: "deviceId",
|
|
43273
43331
|
form: "single",
|
|
@@ -43313,6 +43371,11 @@ Object.freeze({
|
|
|
43313
43371
|
form: "single",
|
|
43314
43372
|
optional: false
|
|
43315
43373
|
}],
|
|
43374
|
+
"ptz.setHomeReturn": [{
|
|
43375
|
+
name: "deviceId",
|
|
43376
|
+
form: "single",
|
|
43377
|
+
optional: false
|
|
43378
|
+
}],
|
|
43316
43379
|
"ptz.stop": [{
|
|
43317
43380
|
name: "deviceId",
|
|
43318
43381
|
form: "single",
|