@camstack/addon-notifiers 1.2.115 → 1.2.117
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
|
@@ -5390,7 +5390,7 @@ var ZodIssueCode = {
|
|
|
5390
5390
|
var ZodFirstPartyTypeKind;
|
|
5391
5391
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5392
5392
|
//#endregion
|
|
5393
|
-
//#region ../types/dist/sleep-
|
|
5393
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5394
5394
|
/**
|
|
5395
5395
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5396
5396
|
* window to float samples (D455).
|
|
@@ -29048,6 +29048,26 @@ var PtzHomePresetSchema = object({
|
|
|
29048
29048
|
"none"
|
|
29049
29049
|
])
|
|
29050
29050
|
});
|
|
29051
|
+
/**
|
|
29052
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
29053
|
+
* after how long.
|
|
29054
|
+
*
|
|
29055
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
29056
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
29057
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
29058
|
+
* can disagree.
|
|
29059
|
+
*
|
|
29060
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
29061
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
29062
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
29063
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
29064
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
29065
|
+
* return at all.
|
|
29066
|
+
*/
|
|
29067
|
+
var PtzHomeReturnSchema = object({
|
|
29068
|
+
enabled: boolean(),
|
|
29069
|
+
seconds: number().int()
|
|
29070
|
+
});
|
|
29051
29071
|
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({
|
|
29052
29072
|
deviceId: number(),
|
|
29053
29073
|
presetId: string()
|
|
@@ -29070,6 +29090,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
29070
29090
|
}), _void(), {
|
|
29071
29091
|
kind: "mutation",
|
|
29072
29092
|
auth: "admin"
|
|
29093
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
29094
|
+
kind: "mutation",
|
|
29095
|
+
auth: "admin"
|
|
29096
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
29097
|
+
deviceId: number(),
|
|
29098
|
+
enabled: boolean(),
|
|
29099
|
+
seconds: number().int().min(0).max(3600)
|
|
29100
|
+
}), _void(), {
|
|
29101
|
+
kind: "mutation",
|
|
29102
|
+
auth: "admin"
|
|
29073
29103
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
29074
29104
|
deviceId: number(),
|
|
29075
29105
|
enabled: boolean()
|
|
@@ -36073,6 +36103,12 @@ Object.freeze({
|
|
|
36073
36103
|
addonId: null,
|
|
36074
36104
|
access: "create"
|
|
36075
36105
|
},
|
|
36106
|
+
"ptz.captureHomeHere": {
|
|
36107
|
+
capName: "ptz",
|
|
36108
|
+
capScope: "device",
|
|
36109
|
+
addonId: null,
|
|
36110
|
+
access: "create"
|
|
36111
|
+
},
|
|
36076
36112
|
"ptz.continuousMove": {
|
|
36077
36113
|
capName: "ptz",
|
|
36078
36114
|
capScope: "device",
|
|
@@ -36091,6 +36127,12 @@ Object.freeze({
|
|
|
36091
36127
|
addonId: null,
|
|
36092
36128
|
access: "view"
|
|
36093
36129
|
},
|
|
36130
|
+
"ptz.getHomeReturn": {
|
|
36131
|
+
capName: "ptz",
|
|
36132
|
+
capScope: "device",
|
|
36133
|
+
addonId: null,
|
|
36134
|
+
access: "view"
|
|
36135
|
+
},
|
|
36094
36136
|
"ptz.getOptions": {
|
|
36095
36137
|
capName: "ptz",
|
|
36096
36138
|
capScope: "device",
|
|
@@ -36145,6 +36187,12 @@ Object.freeze({
|
|
|
36145
36187
|
addonId: null,
|
|
36146
36188
|
access: "create"
|
|
36147
36189
|
},
|
|
36190
|
+
"ptz.setHomeReturn": {
|
|
36191
|
+
capName: "ptz",
|
|
36192
|
+
capScope: "device",
|
|
36193
|
+
addonId: null,
|
|
36194
|
+
access: "create"
|
|
36195
|
+
},
|
|
36148
36196
|
"ptz.stop": {
|
|
36149
36197
|
capName: "ptz",
|
|
36150
36198
|
capScope: "device",
|
|
@@ -39308,6 +39356,11 @@ Object.freeze({
|
|
|
39308
39356
|
form: "single",
|
|
39309
39357
|
optional: false
|
|
39310
39358
|
}],
|
|
39359
|
+
"ptz.captureHomeHere": [{
|
|
39360
|
+
name: "deviceId",
|
|
39361
|
+
form: "single",
|
|
39362
|
+
optional: false
|
|
39363
|
+
}],
|
|
39311
39364
|
"ptz.continuousMove": [{
|
|
39312
39365
|
name: "deviceId",
|
|
39313
39366
|
form: "single",
|
|
@@ -39323,6 +39376,11 @@ Object.freeze({
|
|
|
39323
39376
|
form: "single",
|
|
39324
39377
|
optional: false
|
|
39325
39378
|
}],
|
|
39379
|
+
"ptz.getHomeReturn": [{
|
|
39380
|
+
name: "deviceId",
|
|
39381
|
+
form: "single",
|
|
39382
|
+
optional: false
|
|
39383
|
+
}],
|
|
39326
39384
|
"ptz.getOptions": [{
|
|
39327
39385
|
name: "deviceId",
|
|
39328
39386
|
form: "single",
|
|
@@ -39368,6 +39426,11 @@ Object.freeze({
|
|
|
39368
39426
|
form: "single",
|
|
39369
39427
|
optional: false
|
|
39370
39428
|
}],
|
|
39429
|
+
"ptz.setHomeReturn": [{
|
|
39430
|
+
name: "deviceId",
|
|
39431
|
+
form: "single",
|
|
39432
|
+
optional: false
|
|
39433
|
+
}],
|
|
39371
39434
|
"ptz.stop": [{
|
|
39372
39435
|
name: "deviceId",
|
|
39373
39436
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -5363,7 +5363,7 @@ var ZodIssueCode = {
|
|
|
5363
5363
|
var ZodFirstPartyTypeKind;
|
|
5364
5364
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5365
5365
|
//#endregion
|
|
5366
|
-
//#region ../types/dist/sleep-
|
|
5366
|
+
//#region ../types/dist/sleep-Dk-BdnBf.mjs
|
|
5367
5367
|
/**
|
|
5368
5368
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5369
5369
|
* window to float samples (D455).
|
|
@@ -29021,6 +29021,26 @@ var PtzHomePresetSchema = object({
|
|
|
29021
29021
|
"none"
|
|
29022
29022
|
])
|
|
29023
29023
|
});
|
|
29024
|
+
/**
|
|
29025
|
+
* The camera's own idle-return behaviour: whether it goes home by itself, and
|
|
29026
|
+
* after how long.
|
|
29027
|
+
*
|
|
29028
|
+
* ONE shape, not two scalars, because on the camera they are ONE fact —
|
|
29029
|
+
* Reolink's guard point carries `benable` and `timeout` in the same element,
|
|
29030
|
+
* written by the same command. Reading them apart means two round-trips that
|
|
29031
|
+
* can disagree.
|
|
29032
|
+
*
|
|
29033
|
+
* `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
|
|
29034
|
+
* the behaviour switched off, which is exactly what the vendor app leaves when
|
|
29035
|
+
* you turn the guard point off without clearing it. The first version of this
|
|
29036
|
+
* cap reported only the delay, so that state was invisible — a camera could be
|
|
29037
|
+
* configured to return after 68 seconds with no way to say whether it should
|
|
29038
|
+
* return at all.
|
|
29039
|
+
*/
|
|
29040
|
+
var PtzHomeReturnSchema = object({
|
|
29041
|
+
enabled: boolean(),
|
|
29042
|
+
seconds: number().int()
|
|
29043
|
+
});
|
|
29024
29044
|
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({
|
|
29025
29045
|
deviceId: number(),
|
|
29026
29046
|
presetId: string()
|
|
@@ -29043,6 +29063,16 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
|
|
|
29043
29063
|
}), _void(), {
|
|
29044
29064
|
kind: "mutation",
|
|
29045
29065
|
auth: "admin"
|
|
29066
|
+
}), method(object({ deviceId: number() }), _void(), {
|
|
29067
|
+
kind: "mutation",
|
|
29068
|
+
auth: "admin"
|
|
29069
|
+
}), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
|
|
29070
|
+
deviceId: number(),
|
|
29071
|
+
enabled: boolean(),
|
|
29072
|
+
seconds: number().int().min(0).max(3600)
|
|
29073
|
+
}), _void(), {
|
|
29074
|
+
kind: "mutation",
|
|
29075
|
+
auth: "admin"
|
|
29046
29076
|
}), method(object({ deviceId: number() }), PtzPositionSchema), method(object({
|
|
29047
29077
|
deviceId: number(),
|
|
29048
29078
|
enabled: boolean()
|
|
@@ -36046,6 +36076,12 @@ Object.freeze({
|
|
|
36046
36076
|
addonId: null,
|
|
36047
36077
|
access: "create"
|
|
36048
36078
|
},
|
|
36079
|
+
"ptz.captureHomeHere": {
|
|
36080
|
+
capName: "ptz",
|
|
36081
|
+
capScope: "device",
|
|
36082
|
+
addonId: null,
|
|
36083
|
+
access: "create"
|
|
36084
|
+
},
|
|
36049
36085
|
"ptz.continuousMove": {
|
|
36050
36086
|
capName: "ptz",
|
|
36051
36087
|
capScope: "device",
|
|
@@ -36064,6 +36100,12 @@ Object.freeze({
|
|
|
36064
36100
|
addonId: null,
|
|
36065
36101
|
access: "view"
|
|
36066
36102
|
},
|
|
36103
|
+
"ptz.getHomeReturn": {
|
|
36104
|
+
capName: "ptz",
|
|
36105
|
+
capScope: "device",
|
|
36106
|
+
addonId: null,
|
|
36107
|
+
access: "view"
|
|
36108
|
+
},
|
|
36067
36109
|
"ptz.getOptions": {
|
|
36068
36110
|
capName: "ptz",
|
|
36069
36111
|
capScope: "device",
|
|
@@ -36118,6 +36160,12 @@ Object.freeze({
|
|
|
36118
36160
|
addonId: null,
|
|
36119
36161
|
access: "create"
|
|
36120
36162
|
},
|
|
36163
|
+
"ptz.setHomeReturn": {
|
|
36164
|
+
capName: "ptz",
|
|
36165
|
+
capScope: "device",
|
|
36166
|
+
addonId: null,
|
|
36167
|
+
access: "create"
|
|
36168
|
+
},
|
|
36121
36169
|
"ptz.stop": {
|
|
36122
36170
|
capName: "ptz",
|
|
36123
36171
|
capScope: "device",
|
|
@@ -39281,6 +39329,11 @@ Object.freeze({
|
|
|
39281
39329
|
form: "single",
|
|
39282
39330
|
optional: false
|
|
39283
39331
|
}],
|
|
39332
|
+
"ptz.captureHomeHere": [{
|
|
39333
|
+
name: "deviceId",
|
|
39334
|
+
form: "single",
|
|
39335
|
+
optional: false
|
|
39336
|
+
}],
|
|
39284
39337
|
"ptz.continuousMove": [{
|
|
39285
39338
|
name: "deviceId",
|
|
39286
39339
|
form: "single",
|
|
@@ -39296,6 +39349,11 @@ Object.freeze({
|
|
|
39296
39349
|
form: "single",
|
|
39297
39350
|
optional: false
|
|
39298
39351
|
}],
|
|
39352
|
+
"ptz.getHomeReturn": [{
|
|
39353
|
+
name: "deviceId",
|
|
39354
|
+
form: "single",
|
|
39355
|
+
optional: false
|
|
39356
|
+
}],
|
|
39299
39357
|
"ptz.getOptions": [{
|
|
39300
39358
|
name: "deviceId",
|
|
39301
39359
|
form: "single",
|
|
@@ -39341,6 +39399,11 @@ Object.freeze({
|
|
|
39341
39399
|
form: "single",
|
|
39342
39400
|
optional: false
|
|
39343
39401
|
}],
|
|
39402
|
+
"ptz.setHomeReturn": [{
|
|
39403
|
+
name: "deviceId",
|
|
39404
|
+
form: "single",
|
|
39405
|
+
optional: false
|
|
39406
|
+
}],
|
|
39344
39407
|
"ptz.stop": [{
|
|
39345
39408
|
name: "deviceId",
|
|
39346
39409
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-notifiers",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.117",
|
|
4
4
|
"description": "System notifiers addon for CamStack — a `notification-output` collection provider hosting per-kind notifier adapters (ntfy, pushover, gotify, telegram, discord, webhook, zentik).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|