@camstack/addon-decoder-nodeav 1.2.111 → 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 +64 -1
- package/dist/index.mjs +64 -1
- 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()
|
|
@@ -29014,6 +29034,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
29014
29034
|
}), _void(), {
|
|
29015
29035
|
kind: "mutation",
|
|
29016
29036
|
auth: "admin"
|
|
29037
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
29038
|
+
kind: "mutation",
|
|
29039
|
+
auth: "admin"
|
|
29040
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
29041
|
+
deviceId: number(),
|
|
29042
|
+
enabled: boolean(),
|
|
29043
|
+
seconds: number().int().min(0).max(3600)
|
|
29044
|
+
}), _void(), {
|
|
29045
|
+
kind: "mutation",
|
|
29046
|
+
auth: "admin"
|
|
29017
29047
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
29018
29048
|
deviceId: number(),
|
|
29019
29049
|
enabled: boolean()
|
|
@@ -36017,6 +36047,12 @@ Object.freeze({
|
|
|
36017
36047
|
addonId: null,
|
|
36018
36048
|
access: "create"
|
|
36019
36049
|
},
|
|
36050
|
+
"ptz.captureHomeHere": {
|
|
36051
|
+
capName: "ptz",
|
|
36052
|
+
capScope: "device",
|
|
36053
|
+
addonId: null,
|
|
36054
|
+
access: "create"
|
|
36055
|
+
},
|
|
36020
36056
|
"ptz.continuousMove": {
|
|
36021
36057
|
capName: "ptz",
|
|
36022
36058
|
capScope: "device",
|
|
@@ -36035,6 +36071,12 @@ Object.freeze({
|
|
|
36035
36071
|
addonId: null,
|
|
36036
36072
|
access: "view"
|
|
36037
36073
|
},
|
|
36074
|
+
"ptz.getHomeReturn": {
|
|
36075
|
+
capName: "ptz",
|
|
36076
|
+
capScope: "device",
|
|
36077
|
+
addonId: null,
|
|
36078
|
+
access: "view"
|
|
36079
|
+
},
|
|
36038
36080
|
"ptz.getOptions": {
|
|
36039
36081
|
capName: "ptz",
|
|
36040
36082
|
capScope: "device",
|
|
@@ -36089,6 +36131,12 @@ Object.freeze({
|
|
|
36089
36131
|
addonId: null,
|
|
36090
36132
|
access: "create"
|
|
36091
36133
|
},
|
|
36134
|
+
"ptz.setHomeReturn": {
|
|
36135
|
+
capName: "ptz",
|
|
36136
|
+
capScope: "device",
|
|
36137
|
+
addonId: null,
|
|
36138
|
+
access: "create"
|
|
36139
|
+
},
|
|
36092
36140
|
"ptz.stop": {
|
|
36093
36141
|
capName: "ptz",
|
|
36094
36142
|
capScope: "device",
|
|
@@ -39252,6 +39300,11 @@ Object.freeze({
|
|
|
39252
39300
|
form: "single",
|
|
39253
39301
|
optional: false
|
|
39254
39302
|
}],
|
|
39303
|
+
"ptz.captureHomeHere": [{
|
|
39304
|
+
name: "deviceId",
|
|
39305
|
+
form: "single",
|
|
39306
|
+
optional: false
|
|
39307
|
+
}],
|
|
39255
39308
|
"ptz.continuousMove": [{
|
|
39256
39309
|
name: "deviceId",
|
|
39257
39310
|
form: "single",
|
|
@@ -39267,6 +39320,11 @@ Object.freeze({
|
|
|
39267
39320
|
form: "single",
|
|
39268
39321
|
optional: false
|
|
39269
39322
|
}],
|
|
39323
|
+
"ptz.getHomeReturn": [{
|
|
39324
|
+
name: "deviceId",
|
|
39325
|
+
form: "single",
|
|
39326
|
+
optional: false
|
|
39327
|
+
}],
|
|
39270
39328
|
"ptz.getOptions": [{
|
|
39271
39329
|
name: "deviceId",
|
|
39272
39330
|
form: "single",
|
|
@@ -39312,6 +39370,11 @@ Object.freeze({
|
|
|
39312
39370
|
form: "single",
|
|
39313
39371
|
optional: false
|
|
39314
39372
|
}],
|
|
39373
|
+
"ptz.setHomeReturn": [{
|
|
39374
|
+
name: "deviceId",
|
|
39375
|
+
form: "single",
|
|
39376
|
+
optional: false
|
|
39377
|
+
}],
|
|
39315
39378
|
"ptz.stop": [{
|
|
39316
39379
|
name: "deviceId",
|
|
39317
39380
|
form: "single",
|
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()
|
|
@@ -29010,6 +29030,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
29010
29030
|
}), _void(), {
|
|
29011
29031
|
kind: "mutation",
|
|
29012
29032
|
auth: "admin"
|
|
29033
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
29034
|
+
kind: "mutation",
|
|
29035
|
+
auth: "admin"
|
|
29036
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
29037
|
+
deviceId: number(),
|
|
29038
|
+
enabled: boolean(),
|
|
29039
|
+
seconds: number().int().min(0).max(3600)
|
|
29040
|
+
}), _void(), {
|
|
29041
|
+
kind: "mutation",
|
|
29042
|
+
auth: "admin"
|
|
29013
29043
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
29014
29044
|
deviceId: number(),
|
|
29015
29045
|
enabled: boolean()
|
|
@@ -36013,6 +36043,12 @@ Object.freeze({
|
|
|
36013
36043
|
addonId: null,
|
|
36014
36044
|
access: "create"
|
|
36015
36045
|
},
|
|
36046
|
+
"ptz.captureHomeHere": {
|
|
36047
|
+
capName: "ptz",
|
|
36048
|
+
capScope: "device",
|
|
36049
|
+
addonId: null,
|
|
36050
|
+
access: "create"
|
|
36051
|
+
},
|
|
36016
36052
|
"ptz.continuousMove": {
|
|
36017
36053
|
capName: "ptz",
|
|
36018
36054
|
capScope: "device",
|
|
@@ -36031,6 +36067,12 @@ Object.freeze({
|
|
|
36031
36067
|
addonId: null,
|
|
36032
36068
|
access: "view"
|
|
36033
36069
|
},
|
|
36070
|
+
"ptz.getHomeReturn": {
|
|
36071
|
+
capName: "ptz",
|
|
36072
|
+
capScope: "device",
|
|
36073
|
+
addonId: null,
|
|
36074
|
+
access: "view"
|
|
36075
|
+
},
|
|
36034
36076
|
"ptz.getOptions": {
|
|
36035
36077
|
capName: "ptz",
|
|
36036
36078
|
capScope: "device",
|
|
@@ -36085,6 +36127,12 @@ Object.freeze({
|
|
|
36085
36127
|
addonId: null,
|
|
36086
36128
|
access: "create"
|
|
36087
36129
|
},
|
|
36130
|
+
"ptz.setHomeReturn": {
|
|
36131
|
+
capName: "ptz",
|
|
36132
|
+
capScope: "device",
|
|
36133
|
+
addonId: null,
|
|
36134
|
+
access: "create"
|
|
36135
|
+
},
|
|
36088
36136
|
"ptz.stop": {
|
|
36089
36137
|
capName: "ptz",
|
|
36090
36138
|
capScope: "device",
|
|
@@ -39248,6 +39296,11 @@ Object.freeze({
|
|
|
39248
39296
|
form: "single",
|
|
39249
39297
|
optional: false
|
|
39250
39298
|
}],
|
|
39299
|
+
"ptz.captureHomeHere": [{
|
|
39300
|
+
name: "deviceId",
|
|
39301
|
+
form: "single",
|
|
39302
|
+
optional: false
|
|
39303
|
+
}],
|
|
39251
39304
|
"ptz.continuousMove": [{
|
|
39252
39305
|
name: "deviceId",
|
|
39253
39306
|
form: "single",
|
|
@@ -39263,6 +39316,11 @@ Object.freeze({
|
|
|
39263
39316
|
form: "single",
|
|
39264
39317
|
optional: false
|
|
39265
39318
|
}],
|
|
39319
|
+
"ptz.getHomeReturn": [{
|
|
39320
|
+
name: "deviceId",
|
|
39321
|
+
form: "single",
|
|
39322
|
+
optional: false
|
|
39323
|
+
}],
|
|
39266
39324
|
"ptz.getOptions": [{
|
|
39267
39325
|
name: "deviceId",
|
|
39268
39326
|
form: "single",
|
|
@@ -39308,6 +39366,11 @@ Object.freeze({
|
|
|
39308
39366
|
form: "single",
|
|
39309
39367
|
optional: false
|
|
39310
39368
|
}],
|
|
39369
|
+
"ptz.setHomeReturn": [{
|
|
39370
|
+
name: "deviceId",
|
|
39371
|
+
form: "single",
|
|
39372
|
+
optional: false
|
|
39373
|
+
}],
|
|
39311
39374
|
"ptz.stop": [{
|
|
39312
39375
|
name: "deviceId",
|
|
39313
39376
|
form: "single",
|