@camstack/addon-decoder-nodeav 1.2.112 → 1.2.113
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/index.js +27 -6
- package/dist/index.mjs +27 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5364,7 +5364,7 @@ var ZodIssueCode = {
|
|
|
5364
5364
|
var ZodFirstPartyTypeKind;
|
|
5365
5365
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5366
5366
|
//#endregion
|
|
5367
|
-
//#region ../types/dist/sleep-
|
|
5367
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5368
5368
|
/**
|
|
5369
5369
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5370
5370
|
* window to float samples (D455).
|
|
@@ -28992,6 +28992,26 @@ var PtzHomePresetSchema = object({
|
|
|
28992
28992
|
"none"
|
|
28993
28993
|
])
|
|
28994
28994
|
});
|
|
28995
|
+
/**
|
|
28996
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
28997
|
+
* after how long.
|
|
28998
|
+
*
|
|
28999
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
29000
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
29001
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
29002
|
+
* can disagree.
|
|
29003
|
+
*
|
|
29004
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
29005
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
29006
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
29007
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
29008
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
29009
|
+
* return at all.
|
|
29010
|
+
*/
|
|
29011
|
+
var PtzHomeReturnSchema = object({
|
|
29012
|
+
enabled: boolean(),
|
|
29013
|
+
seconds: number().int()
|
|
29014
|
+
});
|
|
28995
29015
|
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({
|
|
28996
29016
|
deviceId: number(),
|
|
28997
29017
|
presetId: string()
|
|
@@ -29017,8 +29037,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
29017
29037
|
}), method(object({ deviceId: number() }), _void(), {
|
|
29018
29038
|
kind: "mutation",
|
|
29019
29039
|
auth: "admin"
|
|
29020
|
-
}), method(object({ deviceId: number() }),
|
|
29040
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
29021
29041
|
deviceId: number(),
|
|
29042
|
+
enabled: boolean(),
|
|
29022
29043
|
seconds: number().int().min(0).max(3600)
|
|
29023
29044
|
}), _void(), {
|
|
29024
29045
|
kind: "mutation",
|
|
@@ -36050,7 +36071,7 @@ Object.freeze({
|
|
|
36050
36071
|
addonId: null,
|
|
36051
36072
|
access: "view"
|
|
36052
36073
|
},
|
|
36053
|
-
"ptz.
|
|
36074
|
+
"ptz.getHomeReturn": {
|
|
36054
36075
|
capName: "ptz",
|
|
36055
36076
|
capScope: "device",
|
|
36056
36077
|
addonId: null,
|
|
@@ -36110,7 +36131,7 @@ Object.freeze({
|
|
|
36110
36131
|
addonId: null,
|
|
36111
36132
|
access: "create"
|
|
36112
36133
|
},
|
|
36113
|
-
"ptz.
|
|
36134
|
+
"ptz.setHomeReturn": {
|
|
36114
36135
|
capName: "ptz",
|
|
36115
36136
|
capScope: "device",
|
|
36116
36137
|
addonId: null,
|
|
@@ -39299,7 +39320,7 @@ Object.freeze({
|
|
|
39299
39320
|
form: "single",
|
|
39300
39321
|
optional: false
|
|
39301
39322
|
}],
|
|
39302
|
-
"ptz.
|
|
39323
|
+
"ptz.getHomeReturn": [{
|
|
39303
39324
|
name: "deviceId",
|
|
39304
39325
|
form: "single",
|
|
39305
39326
|
optional: false
|
|
@@ -39349,7 +39370,7 @@ Object.freeze({
|
|
|
39349
39370
|
form: "single",
|
|
39350
39371
|
optional: false
|
|
39351
39372
|
}],
|
|
39352
|
-
"ptz.
|
|
39373
|
+
"ptz.setHomeReturn": [{
|
|
39353
39374
|
name: "deviceId",
|
|
39354
39375
|
form: "single",
|
|
39355
39376
|
optional: false
|
package/dist/index.mjs
CHANGED
|
@@ -5360,7 +5360,7 @@ var ZodIssueCode = {
|
|
|
5360
5360
|
var ZodFirstPartyTypeKind;
|
|
5361
5361
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5362
5362
|
//#endregion
|
|
5363
|
-
//#region ../types/dist/sleep-
|
|
5363
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5364
5364
|
/**
|
|
5365
5365
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5366
5366
|
* window to float samples (D455).
|
|
@@ -28988,6 +28988,26 @@ var PtzHomePresetSchema = object({
|
|
|
28988
28988
|
"none"
|
|
28989
28989
|
])
|
|
28990
28990
|
});
|
|
28991
|
+
/**
|
|
28992
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
28993
|
+
* after how long.
|
|
28994
|
+
*
|
|
28995
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
28996
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
28997
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
28998
|
+
* can disagree.
|
|
28999
|
+
*
|
|
29000
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
29001
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
29002
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
29003
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
29004
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
29005
|
+
* return at all.
|
|
29006
|
+
*/
|
|
29007
|
+
var PtzHomeReturnSchema = object({
|
|
29008
|
+
enabled: boolean(),
|
|
29009
|
+
seconds: number().int()
|
|
29010
|
+
});
|
|
28991
29011
|
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({
|
|
28992
29012
|
deviceId: number(),
|
|
28993
29013
|
presetId: string()
|
|
@@ -29013,8 +29033,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
29013
29033
|
}), method(object({ deviceId: number() }), _void(), {
|
|
29014
29034
|
kind: "mutation",
|
|
29015
29035
|
auth: "admin"
|
|
29016
|
-
}), method(object({ deviceId: number() }),
|
|
29036
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
29017
29037
|
deviceId: number(),
|
|
29038
|
+
enabled: boolean(),
|
|
29018
29039
|
seconds: number().int().min(0).max(3600)
|
|
29019
29040
|
}), _void(), {
|
|
29020
29041
|
kind: "mutation",
|
|
@@ -36046,7 +36067,7 @@ Object.freeze({
|
|
|
36046
36067
|
addonId: null,
|
|
36047
36068
|
access: "view"
|
|
36048
36069
|
},
|
|
36049
|
-
"ptz.
|
|
36070
|
+
"ptz.getHomeReturn": {
|
|
36050
36071
|
capName: "ptz",
|
|
36051
36072
|
capScope: "device",
|
|
36052
36073
|
addonId: null,
|
|
@@ -36106,7 +36127,7 @@ Object.freeze({
|
|
|
36106
36127
|
addonId: null,
|
|
36107
36128
|
access: "create"
|
|
36108
36129
|
},
|
|
36109
|
-
"ptz.
|
|
36130
|
+
"ptz.setHomeReturn": {
|
|
36110
36131
|
capName: "ptz",
|
|
36111
36132
|
capScope: "device",
|
|
36112
36133
|
addonId: null,
|
|
@@ -39295,7 +39316,7 @@ Object.freeze({
|
|
|
39295
39316
|
form: "single",
|
|
39296
39317
|
optional: false
|
|
39297
39318
|
}],
|
|
39298
|
-
"ptz.
|
|
39319
|
+
"ptz.getHomeReturn": [{
|
|
39299
39320
|
name: "deviceId",
|
|
39300
39321
|
form: "single",
|
|
39301
39322
|
optional: false
|
|
@@ -39345,7 +39366,7 @@ Object.freeze({
|
|
|
39345
39366
|
form: "single",
|
|
39346
39367
|
optional: false
|
|
39347
39368
|
}],
|
|
39348
|
-
"ptz.
|
|
39369
|
+
"ptz.setHomeReturn": [{
|
|
39349
39370
|
name: "deviceId",
|
|
39350
39371
|
form: "single",
|
|
39351
39372
|
optional: false
|