@camstack/addon-provider-amcrest 0.2.87 → 0.2.89
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 +110 -70
- package/dist/addon.mjs +110 -70
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -7622,6 +7622,35 @@ var CameraSwitchGroupSchema = object({
|
|
|
7622
7622
|
/** Unix ms when the group was composed server-side. */
|
|
7623
7623
|
fetchedAt: number()
|
|
7624
7624
|
});
|
|
7625
|
+
/** One archived note — the operator's words plus enough context to find what
|
|
7626
|
+
* they were looking at, after the track itself is gone. */
|
|
7627
|
+
var ArchivedDebugNoteSchema = object({
|
|
7628
|
+
/** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
|
|
7629
|
+
* same sentence about the same track lands on the row already there. */
|
|
7630
|
+
id: string(),
|
|
7631
|
+
/** The operator's own words, verbatim. */
|
|
7632
|
+
note: string(),
|
|
7633
|
+
/** The camera. Required — every question here is asked per-camera. */
|
|
7634
|
+
deviceId: number().int(),
|
|
7635
|
+
/** The track the note was written on. PROVENANCE, not ownership: the track
|
|
7636
|
+
* is expected to be gone, and this row is not a reference to it. */
|
|
7637
|
+
sourceTrackId: string(),
|
|
7638
|
+
/** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
|
|
7639
|
+
archivedAt: number().int(),
|
|
7640
|
+
/** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
|
|
7641
|
+
trackStartedAt: number().int().nullable(),
|
|
7642
|
+
/** The track's detector class (`person`, `car`, …); `null` when unknown. */
|
|
7643
|
+
trackClass: string().nullable(),
|
|
7644
|
+
/** The track's display label at review time; `null` when it had none. */
|
|
7645
|
+
trackLabel: string().nullable()
|
|
7646
|
+
});
|
|
7647
|
+
/** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
|
|
7648
|
+
var ArchivedDebugNoteQueryInputSchema = object({
|
|
7649
|
+
/** Restrict to a single camera; omit for every row. */
|
|
7650
|
+
deviceId: number().int().optional(),
|
|
7651
|
+
/** Max rows returned, newest-first. */
|
|
7652
|
+
limit: number().int().min(1).max(1e3).optional()
|
|
7653
|
+
});
|
|
7625
7654
|
/**
|
|
7626
7655
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
7627
7656
|
* recordings and events management surfaces.
|
|
@@ -16103,14 +16132,14 @@ var alarmPanelCapability = {
|
|
|
16103
16132
|
code: string().min(1).optional()
|
|
16104
16133
|
}), _void(), {
|
|
16105
16134
|
kind: "mutation",
|
|
16106
|
-
auth: "
|
|
16135
|
+
auth: "protected"
|
|
16107
16136
|
}),
|
|
16108
16137
|
disarm: method(object({
|
|
16109
16138
|
deviceId: number().int().nonnegative(),
|
|
16110
16139
|
code: string().min(1).optional()
|
|
16111
16140
|
}), _void(), {
|
|
16112
16141
|
kind: "mutation",
|
|
16113
|
-
auth: "
|
|
16142
|
+
auth: "protected"
|
|
16114
16143
|
}),
|
|
16115
16144
|
/**
|
|
16116
16145
|
* Force the panel into the `triggered` state — used by HA
|
|
@@ -16121,7 +16150,7 @@ var alarmPanelCapability = {
|
|
|
16121
16150
|
*/
|
|
16122
16151
|
trigger: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
16123
16152
|
kind: "mutation",
|
|
16124
|
-
auth: "
|
|
16153
|
+
auth: "protected"
|
|
16125
16154
|
})
|
|
16126
16155
|
},
|
|
16127
16156
|
status: {
|
|
@@ -20085,7 +20114,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20085
20114
|
deviceId: number(),
|
|
20086
20115
|
trackId: string(),
|
|
20087
20116
|
flags: TrackFlagsPatchSchema
|
|
20088
|
-
}), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
|
|
20117
|
+
}), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
|
|
20089
20118
|
kind: "query",
|
|
20090
20119
|
auth: "admin"
|
|
20091
20120
|
}), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
|
|
@@ -24192,7 +24221,7 @@ var brightnessCapability = {
|
|
|
24192
24221
|
percentage: number().min(0).max(100)
|
|
24193
24222
|
}), _void(), {
|
|
24194
24223
|
kind: "mutation",
|
|
24195
|
-
auth: "
|
|
24224
|
+
auth: "protected"
|
|
24196
24225
|
}) },
|
|
24197
24226
|
events: {
|
|
24198
24227
|
/**
|
|
@@ -24225,7 +24254,7 @@ onBrightnessChanged: { data: object({
|
|
|
24225
24254
|
};
|
|
24226
24255
|
DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24227
24256
|
kind: "mutation",
|
|
24228
|
-
auth: "
|
|
24257
|
+
auth: "protected"
|
|
24229
24258
|
});
|
|
24230
24259
|
/**
|
|
24231
24260
|
* camera-credentials — device-scoped cap exposing the camera's network
|
|
@@ -24417,28 +24446,28 @@ var climateControlCapability = {
|
|
|
24417
24446
|
mode: HvacModeSchema
|
|
24418
24447
|
}), _void(), {
|
|
24419
24448
|
kind: "mutation",
|
|
24420
|
-
auth: "
|
|
24449
|
+
auth: "protected"
|
|
24421
24450
|
}),
|
|
24422
24451
|
setFanMode: method(object({
|
|
24423
24452
|
deviceId: number().int().nonnegative(),
|
|
24424
24453
|
fanMode: string().min(1)
|
|
24425
24454
|
}), _void(), {
|
|
24426
24455
|
kind: "mutation",
|
|
24427
|
-
auth: "
|
|
24456
|
+
auth: "protected"
|
|
24428
24457
|
}),
|
|
24429
24458
|
setPreset: method(object({
|
|
24430
24459
|
deviceId: number().int().nonnegative(),
|
|
24431
24460
|
preset: string().min(1)
|
|
24432
24461
|
}), _void(), {
|
|
24433
24462
|
kind: "mutation",
|
|
24434
|
-
auth: "
|
|
24463
|
+
auth: "protected"
|
|
24435
24464
|
}),
|
|
24436
24465
|
setTarget: method(object({
|
|
24437
24466
|
deviceId: number().int().nonnegative(),
|
|
24438
24467
|
target: number()
|
|
24439
24468
|
}), _void(), {
|
|
24440
24469
|
kind: "mutation",
|
|
24441
|
-
auth: "
|
|
24470
|
+
auth: "protected"
|
|
24442
24471
|
}),
|
|
24443
24472
|
setTargetRange: method(object({
|
|
24444
24473
|
deviceId: number().int().nonnegative(),
|
|
@@ -24446,28 +24475,28 @@ var climateControlCapability = {
|
|
|
24446
24475
|
targetHigh: number()
|
|
24447
24476
|
}), _void(), {
|
|
24448
24477
|
kind: "mutation",
|
|
24449
|
-
auth: "
|
|
24478
|
+
auth: "protected"
|
|
24450
24479
|
}),
|
|
24451
24480
|
setTargetHumidity: method(object({
|
|
24452
24481
|
deviceId: number().int().nonnegative(),
|
|
24453
24482
|
targetHumidity: number().min(0).max(100)
|
|
24454
24483
|
}), _void(), {
|
|
24455
24484
|
kind: "mutation",
|
|
24456
|
-
auth: "
|
|
24485
|
+
auth: "protected"
|
|
24457
24486
|
}),
|
|
24458
24487
|
setSwingVertical: method(object({
|
|
24459
24488
|
deviceId: number().int().nonnegative(),
|
|
24460
24489
|
on: boolean()
|
|
24461
24490
|
}), _void(), {
|
|
24462
24491
|
kind: "mutation",
|
|
24463
|
-
auth: "
|
|
24492
|
+
auth: "protected"
|
|
24464
24493
|
}),
|
|
24465
24494
|
setSwingHorizontal: method(object({
|
|
24466
24495
|
deviceId: number().int().nonnegative(),
|
|
24467
24496
|
on: boolean()
|
|
24468
24497
|
}), _void(), {
|
|
24469
24498
|
kind: "mutation",
|
|
24470
|
-
auth: "
|
|
24499
|
+
auth: "protected"
|
|
24471
24500
|
})
|
|
24472
24501
|
},
|
|
24473
24502
|
status: {
|
|
@@ -24567,7 +24596,7 @@ var colorCapability = {
|
|
|
24567
24596
|
color: ColorInputSchema
|
|
24568
24597
|
}), _void(), {
|
|
24569
24598
|
kind: "mutation",
|
|
24570
|
-
auth: "
|
|
24599
|
+
auth: "protected"
|
|
24571
24600
|
}) },
|
|
24572
24601
|
events: {
|
|
24573
24602
|
/**
|
|
@@ -24896,7 +24925,7 @@ var controlCapability = {
|
|
|
24896
24925
|
control: ControlSetValueInputSchema
|
|
24897
24926
|
}), _void(), {
|
|
24898
24927
|
kind: "mutation",
|
|
24899
|
-
auth: "
|
|
24928
|
+
auth: "protected"
|
|
24900
24929
|
}) },
|
|
24901
24930
|
status: {
|
|
24902
24931
|
schema: ControlStatusSchema,
|
|
@@ -24942,29 +24971,29 @@ var coverCapability = {
|
|
|
24942
24971
|
methods: {
|
|
24943
24972
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24944
24973
|
kind: "mutation",
|
|
24945
|
-
auth: "
|
|
24974
|
+
auth: "protected"
|
|
24946
24975
|
}),
|
|
24947
24976
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24948
24977
|
kind: "mutation",
|
|
24949
|
-
auth: "
|
|
24978
|
+
auth: "protected"
|
|
24950
24979
|
}),
|
|
24951
24980
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24952
24981
|
kind: "mutation",
|
|
24953
|
-
auth: "
|
|
24982
|
+
auth: "protected"
|
|
24954
24983
|
}),
|
|
24955
24984
|
setPosition: method(object({
|
|
24956
24985
|
deviceId: number().int().nonnegative(),
|
|
24957
24986
|
position: number().min(0).max(100)
|
|
24958
24987
|
}), _void(), {
|
|
24959
24988
|
kind: "mutation",
|
|
24960
|
-
auth: "
|
|
24989
|
+
auth: "protected"
|
|
24961
24990
|
}),
|
|
24962
24991
|
setTiltPosition: method(object({
|
|
24963
24992
|
deviceId: number().int().nonnegative(),
|
|
24964
24993
|
tiltPosition: number().min(0).max(100)
|
|
24965
24994
|
}), _void(), {
|
|
24966
24995
|
kind: "mutation",
|
|
24967
|
-
auth: "
|
|
24996
|
+
auth: "protected"
|
|
24968
24997
|
})
|
|
24969
24998
|
},
|
|
24970
24999
|
status: {
|
|
@@ -25747,28 +25776,28 @@ var fanControlCapability = {
|
|
|
25747
25776
|
percentage: number().min(0).max(100)
|
|
25748
25777
|
}), _void(), {
|
|
25749
25778
|
kind: "mutation",
|
|
25750
|
-
auth: "
|
|
25779
|
+
auth: "protected"
|
|
25751
25780
|
}),
|
|
25752
25781
|
setPreset: method(object({
|
|
25753
25782
|
deviceId: number().int().nonnegative(),
|
|
25754
25783
|
preset: string().min(1)
|
|
25755
25784
|
}), _void(), {
|
|
25756
25785
|
kind: "mutation",
|
|
25757
|
-
auth: "
|
|
25786
|
+
auth: "protected"
|
|
25758
25787
|
}),
|
|
25759
25788
|
setDirection: method(object({
|
|
25760
25789
|
deviceId: number().int().nonnegative(),
|
|
25761
25790
|
direction: FanDirectionSchema
|
|
25762
25791
|
}), _void(), {
|
|
25763
25792
|
kind: "mutation",
|
|
25764
|
-
auth: "
|
|
25793
|
+
auth: "protected"
|
|
25765
25794
|
}),
|
|
25766
25795
|
setOscillating: method(object({
|
|
25767
25796
|
deviceId: number().int().nonnegative(),
|
|
25768
25797
|
oscillating: boolean()
|
|
25769
25798
|
}), _void(), {
|
|
25770
25799
|
kind: "mutation",
|
|
25771
|
-
auth: "
|
|
25800
|
+
auth: "protected"
|
|
25772
25801
|
})
|
|
25773
25802
|
},
|
|
25774
25803
|
status: {
|
|
@@ -25990,21 +26019,21 @@ var humidifierCapability = {
|
|
|
25990
26019
|
on: boolean()
|
|
25991
26020
|
}), _void(), {
|
|
25992
26021
|
kind: "mutation",
|
|
25993
|
-
auth: "
|
|
26022
|
+
auth: "protected"
|
|
25994
26023
|
}),
|
|
25995
26024
|
setTargetHumidity: method(object({
|
|
25996
26025
|
deviceId: number().int().nonnegative(),
|
|
25997
26026
|
humidity: number().min(0).max(100)
|
|
25998
26027
|
}), _void(), {
|
|
25999
26028
|
kind: "mutation",
|
|
26000
|
-
auth: "
|
|
26029
|
+
auth: "protected"
|
|
26001
26030
|
}),
|
|
26002
26031
|
setMode: method(object({
|
|
26003
26032
|
deviceId: number().int().nonnegative(),
|
|
26004
26033
|
mode: string().min(1)
|
|
26005
26034
|
}), _void(), {
|
|
26006
26035
|
kind: "mutation",
|
|
26007
|
-
auth: "
|
|
26036
|
+
auth: "protected"
|
|
26008
26037
|
})
|
|
26009
26038
|
},
|
|
26010
26039
|
status: {
|
|
@@ -26705,15 +26734,15 @@ var lawnMowerControlCapability = {
|
|
|
26705
26734
|
methods: {
|
|
26706
26735
|
startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26707
26736
|
kind: "mutation",
|
|
26708
|
-
auth: "
|
|
26737
|
+
auth: "protected"
|
|
26709
26738
|
}),
|
|
26710
26739
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26711
26740
|
kind: "mutation",
|
|
26712
|
-
auth: "
|
|
26741
|
+
auth: "protected"
|
|
26713
26742
|
}),
|
|
26714
26743
|
dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26715
26744
|
kind: "mutation",
|
|
26716
|
-
auth: "
|
|
26745
|
+
auth: "protected"
|
|
26717
26746
|
})
|
|
26718
26747
|
},
|
|
26719
26748
|
status: {
|
|
@@ -26998,18 +27027,18 @@ var lockControlCapability = {
|
|
|
26998
27027
|
code: string().min(1).optional()
|
|
26999
27028
|
}), _void(), {
|
|
27000
27029
|
kind: "mutation",
|
|
27001
|
-
auth: "
|
|
27030
|
+
auth: "protected"
|
|
27002
27031
|
}),
|
|
27003
27032
|
unlock: method(object({
|
|
27004
27033
|
deviceId: number().int().nonnegative(),
|
|
27005
27034
|
code: string().min(1).optional()
|
|
27006
27035
|
}), _void(), {
|
|
27007
27036
|
kind: "mutation",
|
|
27008
|
-
auth: "
|
|
27037
|
+
auth: "protected"
|
|
27009
27038
|
}),
|
|
27010
27039
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27011
27040
|
kind: "mutation",
|
|
27012
|
-
auth: "
|
|
27041
|
+
auth: "protected"
|
|
27013
27042
|
})
|
|
27014
27043
|
},
|
|
27015
27044
|
status: {
|
|
@@ -27112,65 +27141,65 @@ var mediaPlayerCapability = {
|
|
|
27112
27141
|
methods: {
|
|
27113
27142
|
play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27114
27143
|
kind: "mutation",
|
|
27115
|
-
auth: "
|
|
27144
|
+
auth: "protected"
|
|
27116
27145
|
}),
|
|
27117
27146
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27118
27147
|
kind: "mutation",
|
|
27119
|
-
auth: "
|
|
27148
|
+
auth: "protected"
|
|
27120
27149
|
}),
|
|
27121
27150
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27122
27151
|
kind: "mutation",
|
|
27123
|
-
auth: "
|
|
27152
|
+
auth: "protected"
|
|
27124
27153
|
}),
|
|
27125
27154
|
next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27126
27155
|
kind: "mutation",
|
|
27127
|
-
auth: "
|
|
27156
|
+
auth: "protected"
|
|
27128
27157
|
}),
|
|
27129
27158
|
previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27130
27159
|
kind: "mutation",
|
|
27131
|
-
auth: "
|
|
27160
|
+
auth: "protected"
|
|
27132
27161
|
}),
|
|
27133
27162
|
seek: method(object({
|
|
27134
27163
|
deviceId: number().int().nonnegative(),
|
|
27135
27164
|
positionMs: number().int().nonnegative()
|
|
27136
27165
|
}), _void(), {
|
|
27137
27166
|
kind: "mutation",
|
|
27138
|
-
auth: "
|
|
27167
|
+
auth: "protected"
|
|
27139
27168
|
}),
|
|
27140
27169
|
setVolume: method(object({
|
|
27141
27170
|
deviceId: number().int().nonnegative(),
|
|
27142
27171
|
volumeLevel: number().min(0).max(100)
|
|
27143
27172
|
}), _void(), {
|
|
27144
27173
|
kind: "mutation",
|
|
27145
|
-
auth: "
|
|
27174
|
+
auth: "protected"
|
|
27146
27175
|
}),
|
|
27147
27176
|
setMute: method(object({
|
|
27148
27177
|
deviceId: number().int().nonnegative(),
|
|
27149
27178
|
muted: boolean()
|
|
27150
27179
|
}), _void(), {
|
|
27151
27180
|
kind: "mutation",
|
|
27152
|
-
auth: "
|
|
27181
|
+
auth: "protected"
|
|
27153
27182
|
}),
|
|
27154
27183
|
setShuffle: method(object({
|
|
27155
27184
|
deviceId: number().int().nonnegative(),
|
|
27156
27185
|
shuffle: boolean()
|
|
27157
27186
|
}), _void(), {
|
|
27158
27187
|
kind: "mutation",
|
|
27159
|
-
auth: "
|
|
27188
|
+
auth: "protected"
|
|
27160
27189
|
}),
|
|
27161
27190
|
setRepeat: method(object({
|
|
27162
27191
|
deviceId: number().int().nonnegative(),
|
|
27163
27192
|
repeat: MediaPlayerRepeatSchema
|
|
27164
27193
|
}), _void(), {
|
|
27165
27194
|
kind: "mutation",
|
|
27166
|
-
auth: "
|
|
27195
|
+
auth: "protected"
|
|
27167
27196
|
}),
|
|
27168
27197
|
selectSource: method(object({
|
|
27169
27198
|
deviceId: number().int().nonnegative(),
|
|
27170
27199
|
source: string().min(1)
|
|
27171
27200
|
}), _void(), {
|
|
27172
27201
|
kind: "mutation",
|
|
27173
|
-
auth: "
|
|
27202
|
+
auth: "protected"
|
|
27174
27203
|
}),
|
|
27175
27204
|
playMedia: method(object({
|
|
27176
27205
|
deviceId: number().int().nonnegative(),
|
|
@@ -27181,7 +27210,7 @@ var mediaPlayerCapability = {
|
|
|
27181
27210
|
mediaType: string().min(1)
|
|
27182
27211
|
}), _void(), {
|
|
27183
27212
|
kind: "mutation",
|
|
27184
|
-
auth: "
|
|
27213
|
+
auth: "protected"
|
|
27185
27214
|
})
|
|
27186
27215
|
},
|
|
27187
27216
|
status: {
|
|
@@ -28820,27 +28849,27 @@ var petFeederCapability = {
|
|
|
28820
28849
|
hopper2: gramsPortion.optional()
|
|
28821
28850
|
}), _void(), {
|
|
28822
28851
|
kind: "mutation",
|
|
28823
|
-
auth: "
|
|
28852
|
+
auth: "protected"
|
|
28824
28853
|
}),
|
|
28825
28854
|
/** Cancel an in-progress manual feed. */
|
|
28826
28855
|
cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28827
28856
|
kind: "mutation",
|
|
28828
|
-
auth: "
|
|
28857
|
+
auth: "protected"
|
|
28829
28858
|
}),
|
|
28830
28859
|
/** Reset the desiccant "days remaining" counter after replacing it. */
|
|
28831
28860
|
resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28832
28861
|
kind: "mutation",
|
|
28833
|
-
auth: "
|
|
28862
|
+
auth: "protected"
|
|
28834
28863
|
}),
|
|
28835
28864
|
/** Mark a hopper as refilled (D4H/D4S/D4SH). */
|
|
28836
28865
|
markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28837
28866
|
kind: "mutation",
|
|
28838
|
-
auth: "
|
|
28867
|
+
auth: "protected"
|
|
28839
28868
|
}),
|
|
28840
28869
|
/** Call the pet with the recorded prompt (D3). */
|
|
28841
28870
|
callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28842
28871
|
kind: "mutation",
|
|
28843
|
-
auth: "
|
|
28872
|
+
auth: "protected"
|
|
28844
28873
|
}),
|
|
28845
28874
|
/** Play a stored sound by id (D3 / D4H / D4SH). */
|
|
28846
28875
|
playSound: method(object({
|
|
@@ -28848,7 +28877,7 @@ var petFeederCapability = {
|
|
|
28848
28877
|
soundId: number().int().nonnegative()
|
|
28849
28878
|
}), _void(), {
|
|
28850
28879
|
kind: "mutation",
|
|
28851
|
-
auth: "
|
|
28880
|
+
auth: "protected"
|
|
28852
28881
|
}),
|
|
28853
28882
|
/** Toggle the child-lock (manual-lock) setting. */
|
|
28854
28883
|
setChildLock: method(object({
|
|
@@ -28856,7 +28885,7 @@ var petFeederCapability = {
|
|
|
28856
28885
|
on: boolean()
|
|
28857
28886
|
}), _void(), {
|
|
28858
28887
|
kind: "mutation",
|
|
28859
|
-
auth: "
|
|
28888
|
+
auth: "protected"
|
|
28860
28889
|
}),
|
|
28861
28890
|
/** Toggle the front indicator light. */
|
|
28862
28891
|
setIndicatorLight: method(object({
|
|
@@ -28864,7 +28893,7 @@ var petFeederCapability = {
|
|
|
28864
28893
|
on: boolean()
|
|
28865
28894
|
}), _void(), {
|
|
28866
28895
|
kind: "mutation",
|
|
28867
|
-
auth: "
|
|
28896
|
+
auth: "protected"
|
|
28868
28897
|
}),
|
|
28869
28898
|
/** Toggle the dispense chime. */
|
|
28870
28899
|
setFeedSound: method(object({
|
|
@@ -28872,7 +28901,7 @@ var petFeederCapability = {
|
|
|
28872
28901
|
on: boolean()
|
|
28873
28902
|
}), _void(), {
|
|
28874
28903
|
kind: "mutation",
|
|
28875
|
-
auth: "
|
|
28904
|
+
auth: "protected"
|
|
28876
28905
|
}),
|
|
28877
28906
|
/** Set the speaker / prompt volume level. */
|
|
28878
28907
|
setVolume: method(object({
|
|
@@ -28880,7 +28909,7 @@ var petFeederCapability = {
|
|
|
28880
28909
|
level: number().int().nonnegative()
|
|
28881
28910
|
}), _void(), {
|
|
28882
28911
|
kind: "mutation",
|
|
28883
|
-
auth: "
|
|
28912
|
+
auth: "protected"
|
|
28884
28913
|
})
|
|
28885
28914
|
},
|
|
28886
28915
|
status: {
|
|
@@ -31436,7 +31465,7 @@ var switchCapability = {
|
|
|
31436
31465
|
on: boolean()
|
|
31437
31466
|
}), _void(), {
|
|
31438
31467
|
kind: "mutation",
|
|
31439
|
-
auth: "
|
|
31468
|
+
auth: "protected"
|
|
31440
31469
|
}) },
|
|
31441
31470
|
events: { onStateChanged: { data: object({
|
|
31442
31471
|
deviceId: number(),
|
|
@@ -32424,30 +32453,30 @@ var vacuumControlCapability = {
|
|
|
32424
32453
|
methods: {
|
|
32425
32454
|
start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32426
32455
|
kind: "mutation",
|
|
32427
|
-
auth: "
|
|
32456
|
+
auth: "protected"
|
|
32428
32457
|
}),
|
|
32429
32458
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32430
32459
|
kind: "mutation",
|
|
32431
|
-
auth: "
|
|
32460
|
+
auth: "protected"
|
|
32432
32461
|
}),
|
|
32433
32462
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32434
32463
|
kind: "mutation",
|
|
32435
|
-
auth: "
|
|
32464
|
+
auth: "protected"
|
|
32436
32465
|
}),
|
|
32437
32466
|
returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32438
32467
|
kind: "mutation",
|
|
32439
|
-
auth: "
|
|
32468
|
+
auth: "protected"
|
|
32440
32469
|
}),
|
|
32441
32470
|
locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32442
32471
|
kind: "mutation",
|
|
32443
|
-
auth: "
|
|
32472
|
+
auth: "protected"
|
|
32444
32473
|
}),
|
|
32445
32474
|
setFanSpeed: method(object({
|
|
32446
32475
|
deviceId: number().int().nonnegative(),
|
|
32447
32476
|
speed: string().min(1)
|
|
32448
32477
|
}), _void(), {
|
|
32449
32478
|
kind: "mutation",
|
|
32450
|
-
auth: "
|
|
32479
|
+
auth: "protected"
|
|
32451
32480
|
})
|
|
32452
32481
|
},
|
|
32453
32482
|
status: {
|
|
@@ -32491,22 +32520,22 @@ var valveCapability = {
|
|
|
32491
32520
|
methods: {
|
|
32492
32521
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32493
32522
|
kind: "mutation",
|
|
32494
|
-
auth: "
|
|
32523
|
+
auth: "protected"
|
|
32495
32524
|
}),
|
|
32496
32525
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32497
32526
|
kind: "mutation",
|
|
32498
|
-
auth: "
|
|
32527
|
+
auth: "protected"
|
|
32499
32528
|
}),
|
|
32500
32529
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32501
32530
|
kind: "mutation",
|
|
32502
|
-
auth: "
|
|
32531
|
+
auth: "protected"
|
|
32503
32532
|
}),
|
|
32504
32533
|
setPosition: method(object({
|
|
32505
32534
|
deviceId: number().int().nonnegative(),
|
|
32506
32535
|
position: number().min(0).max(100)
|
|
32507
32536
|
}), _void(), {
|
|
32508
32537
|
kind: "mutation",
|
|
32509
|
-
auth: "
|
|
32538
|
+
auth: "protected"
|
|
32510
32539
|
})
|
|
32511
32540
|
},
|
|
32512
32541
|
status: {
|
|
@@ -32605,21 +32634,21 @@ var waterHeaterCapability = {
|
|
|
32605
32634
|
temp: number().finite()
|
|
32606
32635
|
}), _void(), {
|
|
32607
32636
|
kind: "mutation",
|
|
32608
|
-
auth: "
|
|
32637
|
+
auth: "protected"
|
|
32609
32638
|
}),
|
|
32610
32639
|
setOperationMode: method(object({
|
|
32611
32640
|
deviceId: number().int().nonnegative(),
|
|
32612
32641
|
mode: string().min(1)
|
|
32613
32642
|
}), _void(), {
|
|
32614
32643
|
kind: "mutation",
|
|
32615
|
-
auth: "
|
|
32644
|
+
auth: "protected"
|
|
32616
32645
|
}),
|
|
32617
32646
|
setAway: method(object({
|
|
32618
32647
|
deviceId: number().int().nonnegative(),
|
|
32619
32648
|
on: boolean()
|
|
32620
32649
|
}), _void(), {
|
|
32621
32650
|
kind: "mutation",
|
|
32622
|
-
auth: "
|
|
32651
|
+
auth: "protected"
|
|
32623
32652
|
})
|
|
32624
32653
|
},
|
|
32625
32654
|
status: {
|
|
@@ -38095,6 +38124,12 @@ Object.freeze({
|
|
|
38095
38124
|
addonId: null,
|
|
38096
38125
|
access: "view"
|
|
38097
38126
|
},
|
|
38127
|
+
"pipelineAnalytics.listArchivedDebugNotes": {
|
|
38128
|
+
capName: "pipeline-analytics",
|
|
38129
|
+
capScope: "device",
|
|
38130
|
+
addonId: null,
|
|
38131
|
+
access: "view"
|
|
38132
|
+
},
|
|
38098
38133
|
"pipelineAnalytics.listEventKinds": {
|
|
38099
38134
|
capName: "pipeline-analytics",
|
|
38100
38135
|
capScope: "device",
|
|
@@ -41882,6 +41917,11 @@ Object.freeze({
|
|
|
41882
41917
|
form: "array",
|
|
41883
41918
|
optional: true
|
|
41884
41919
|
}],
|
|
41920
|
+
"pipelineAnalytics.listArchivedDebugNotes": [{
|
|
41921
|
+
name: "deviceId",
|
|
41922
|
+
form: "single",
|
|
41923
|
+
optional: true
|
|
41924
|
+
}],
|
|
41885
41925
|
"pipelineAnalytics.listEventKinds": [{
|
|
41886
41926
|
name: "deviceId",
|
|
41887
41927
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -7623,6 +7623,35 @@ var CameraSwitchGroupSchema = object({
|
|
|
7623
7623
|
/** Unix ms when the group was composed server-side. */
|
|
7624
7624
|
fetchedAt: number()
|
|
7625
7625
|
});
|
|
7626
|
+
/** One archived note — the operator's words plus enough context to find what
|
|
7627
|
+
* they were looking at, after the track itself is gone. */
|
|
7628
|
+
var ArchivedDebugNoteSchema = object({
|
|
7629
|
+
/** Archive row id. Derived from `(sourceTrackId, note)`, so re-archiving the
|
|
7630
|
+
* same sentence about the same track lands on the row already there. */
|
|
7631
|
+
id: string(),
|
|
7632
|
+
/** The operator's own words, verbatim. */
|
|
7633
|
+
note: string(),
|
|
7634
|
+
/** The camera. Required — every question here is asked per-camera. */
|
|
7635
|
+
deviceId: number().int(),
|
|
7636
|
+
/** The track the note was written on. PROVENANCE, not ownership: the track
|
|
7637
|
+
* is expected to be gone, and this row is not a reference to it. */
|
|
7638
|
+
sourceTrackId: string(),
|
|
7639
|
+
/** Epoch ms the note was moved here, i.e. when the operator reviewed it. */
|
|
7640
|
+
archivedAt: number().int(),
|
|
7641
|
+
/** The track's `firstSeen`, when the row still knew it; `null` otherwise. */
|
|
7642
|
+
trackStartedAt: number().int().nullable(),
|
|
7643
|
+
/** The track's detector class (`person`, `car`, …); `null` when unknown. */
|
|
7644
|
+
trackClass: string().nullable(),
|
|
7645
|
+
/** The track's display label at review time; `null` when it had none. */
|
|
7646
|
+
trackLabel: string().nullable()
|
|
7647
|
+
});
|
|
7648
|
+
/** Query input for `listArchivedDebugNotes` — newest first, one camera or all. */
|
|
7649
|
+
var ArchivedDebugNoteQueryInputSchema = object({
|
|
7650
|
+
/** Restrict to a single camera; omit for every row. */
|
|
7651
|
+
deviceId: number().int().optional(),
|
|
7652
|
+
/** Max rows returned, newest-first. */
|
|
7653
|
+
limit: number().int().min(1).max(1e3).optional()
|
|
7654
|
+
});
|
|
7626
7655
|
/**
|
|
7627
7656
|
* Ops-log — the durable, append-only operations audit shared by the
|
|
7628
7657
|
* recordings and events management surfaces.
|
|
@@ -16104,14 +16133,14 @@ var alarmPanelCapability = {
|
|
|
16104
16133
|
code: string().min(1).optional()
|
|
16105
16134
|
}), _void(), {
|
|
16106
16135
|
kind: "mutation",
|
|
16107
|
-
auth: "
|
|
16136
|
+
auth: "protected"
|
|
16108
16137
|
}),
|
|
16109
16138
|
disarm: method(object({
|
|
16110
16139
|
deviceId: number().int().nonnegative(),
|
|
16111
16140
|
code: string().min(1).optional()
|
|
16112
16141
|
}), _void(), {
|
|
16113
16142
|
kind: "mutation",
|
|
16114
|
-
auth: "
|
|
16143
|
+
auth: "protected"
|
|
16115
16144
|
}),
|
|
16116
16145
|
/**
|
|
16117
16146
|
* Force the panel into the `triggered` state — used by HA
|
|
@@ -16122,7 +16151,7 @@ var alarmPanelCapability = {
|
|
|
16122
16151
|
*/
|
|
16123
16152
|
trigger: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
16124
16153
|
kind: "mutation",
|
|
16125
|
-
auth: "
|
|
16154
|
+
auth: "protected"
|
|
16126
16155
|
})
|
|
16127
16156
|
},
|
|
16128
16157
|
status: {
|
|
@@ -20086,7 +20115,7 @@ DeviceType.Camera, method(object({ deviceId: number() }), array(TrackSchema).rea
|
|
|
20086
20115
|
deviceId: number(),
|
|
20087
20116
|
trackId: string(),
|
|
20088
20117
|
flags: TrackFlagsPatchSchema
|
|
20089
|
-
}), TrackFlagsSchema, { kind: "mutation" }), method(object({}), EventStoreFootprintSchema, {
|
|
20118
|
+
}), TrackFlagsSchema, { kind: "mutation" }), method(ArchivedDebugNoteQueryInputSchema, array(ArchivedDebugNoteSchema).readonly(), { kind: "query" }), method(object({}), EventStoreFootprintSchema, {
|
|
20090
20119
|
kind: "query",
|
|
20091
20120
|
auth: "admin"
|
|
20092
20121
|
}), method(object({ deviceId: number().int().optional() }), EventMediaKindBreakdownSchema, {
|
|
@@ -24193,7 +24222,7 @@ var brightnessCapability = {
|
|
|
24193
24222
|
percentage: number().min(0).max(100)
|
|
24194
24223
|
}), _void(), {
|
|
24195
24224
|
kind: "mutation",
|
|
24196
|
-
auth: "
|
|
24225
|
+
auth: "protected"
|
|
24197
24226
|
}) },
|
|
24198
24227
|
events: {
|
|
24199
24228
|
/**
|
|
@@ -24226,7 +24255,7 @@ onBrightnessChanged: { data: object({
|
|
|
24226
24255
|
};
|
|
24227
24256
|
DeviceType.Button, method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24228
24257
|
kind: "mutation",
|
|
24229
|
-
auth: "
|
|
24258
|
+
auth: "protected"
|
|
24230
24259
|
});
|
|
24231
24260
|
/**
|
|
24232
24261
|
* camera-credentials — device-scoped cap exposing the camera's network
|
|
@@ -24418,28 +24447,28 @@ var climateControlCapability = {
|
|
|
24418
24447
|
mode: HvacModeSchema
|
|
24419
24448
|
}), _void(), {
|
|
24420
24449
|
kind: "mutation",
|
|
24421
|
-
auth: "
|
|
24450
|
+
auth: "protected"
|
|
24422
24451
|
}),
|
|
24423
24452
|
setFanMode: method(object({
|
|
24424
24453
|
deviceId: number().int().nonnegative(),
|
|
24425
24454
|
fanMode: string().min(1)
|
|
24426
24455
|
}), _void(), {
|
|
24427
24456
|
kind: "mutation",
|
|
24428
|
-
auth: "
|
|
24457
|
+
auth: "protected"
|
|
24429
24458
|
}),
|
|
24430
24459
|
setPreset: method(object({
|
|
24431
24460
|
deviceId: number().int().nonnegative(),
|
|
24432
24461
|
preset: string().min(1)
|
|
24433
24462
|
}), _void(), {
|
|
24434
24463
|
kind: "mutation",
|
|
24435
|
-
auth: "
|
|
24464
|
+
auth: "protected"
|
|
24436
24465
|
}),
|
|
24437
24466
|
setTarget: method(object({
|
|
24438
24467
|
deviceId: number().int().nonnegative(),
|
|
24439
24468
|
target: number()
|
|
24440
24469
|
}), _void(), {
|
|
24441
24470
|
kind: "mutation",
|
|
24442
|
-
auth: "
|
|
24471
|
+
auth: "protected"
|
|
24443
24472
|
}),
|
|
24444
24473
|
setTargetRange: method(object({
|
|
24445
24474
|
deviceId: number().int().nonnegative(),
|
|
@@ -24447,28 +24476,28 @@ var climateControlCapability = {
|
|
|
24447
24476
|
targetHigh: number()
|
|
24448
24477
|
}), _void(), {
|
|
24449
24478
|
kind: "mutation",
|
|
24450
|
-
auth: "
|
|
24479
|
+
auth: "protected"
|
|
24451
24480
|
}),
|
|
24452
24481
|
setTargetHumidity: method(object({
|
|
24453
24482
|
deviceId: number().int().nonnegative(),
|
|
24454
24483
|
targetHumidity: number().min(0).max(100)
|
|
24455
24484
|
}), _void(), {
|
|
24456
24485
|
kind: "mutation",
|
|
24457
|
-
auth: "
|
|
24486
|
+
auth: "protected"
|
|
24458
24487
|
}),
|
|
24459
24488
|
setSwingVertical: method(object({
|
|
24460
24489
|
deviceId: number().int().nonnegative(),
|
|
24461
24490
|
on: boolean()
|
|
24462
24491
|
}), _void(), {
|
|
24463
24492
|
kind: "mutation",
|
|
24464
|
-
auth: "
|
|
24493
|
+
auth: "protected"
|
|
24465
24494
|
}),
|
|
24466
24495
|
setSwingHorizontal: method(object({
|
|
24467
24496
|
deviceId: number().int().nonnegative(),
|
|
24468
24497
|
on: boolean()
|
|
24469
24498
|
}), _void(), {
|
|
24470
24499
|
kind: "mutation",
|
|
24471
|
-
auth: "
|
|
24500
|
+
auth: "protected"
|
|
24472
24501
|
})
|
|
24473
24502
|
},
|
|
24474
24503
|
status: {
|
|
@@ -24568,7 +24597,7 @@ var colorCapability = {
|
|
|
24568
24597
|
color: ColorInputSchema
|
|
24569
24598
|
}), _void(), {
|
|
24570
24599
|
kind: "mutation",
|
|
24571
|
-
auth: "
|
|
24600
|
+
auth: "protected"
|
|
24572
24601
|
}) },
|
|
24573
24602
|
events: {
|
|
24574
24603
|
/**
|
|
@@ -24897,7 +24926,7 @@ var controlCapability = {
|
|
|
24897
24926
|
control: ControlSetValueInputSchema
|
|
24898
24927
|
}), _void(), {
|
|
24899
24928
|
kind: "mutation",
|
|
24900
|
-
auth: "
|
|
24929
|
+
auth: "protected"
|
|
24901
24930
|
}) },
|
|
24902
24931
|
status: {
|
|
24903
24932
|
schema: ControlStatusSchema,
|
|
@@ -24943,29 +24972,29 @@ var coverCapability = {
|
|
|
24943
24972
|
methods: {
|
|
24944
24973
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24945
24974
|
kind: "mutation",
|
|
24946
|
-
auth: "
|
|
24975
|
+
auth: "protected"
|
|
24947
24976
|
}),
|
|
24948
24977
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24949
24978
|
kind: "mutation",
|
|
24950
|
-
auth: "
|
|
24979
|
+
auth: "protected"
|
|
24951
24980
|
}),
|
|
24952
24981
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
24953
24982
|
kind: "mutation",
|
|
24954
|
-
auth: "
|
|
24983
|
+
auth: "protected"
|
|
24955
24984
|
}),
|
|
24956
24985
|
setPosition: method(object({
|
|
24957
24986
|
deviceId: number().int().nonnegative(),
|
|
24958
24987
|
position: number().min(0).max(100)
|
|
24959
24988
|
}), _void(), {
|
|
24960
24989
|
kind: "mutation",
|
|
24961
|
-
auth: "
|
|
24990
|
+
auth: "protected"
|
|
24962
24991
|
}),
|
|
24963
24992
|
setTiltPosition: method(object({
|
|
24964
24993
|
deviceId: number().int().nonnegative(),
|
|
24965
24994
|
tiltPosition: number().min(0).max(100)
|
|
24966
24995
|
}), _void(), {
|
|
24967
24996
|
kind: "mutation",
|
|
24968
|
-
auth: "
|
|
24997
|
+
auth: "protected"
|
|
24969
24998
|
})
|
|
24970
24999
|
},
|
|
24971
25000
|
status: {
|
|
@@ -25748,28 +25777,28 @@ var fanControlCapability = {
|
|
|
25748
25777
|
percentage: number().min(0).max(100)
|
|
25749
25778
|
}), _void(), {
|
|
25750
25779
|
kind: "mutation",
|
|
25751
|
-
auth: "
|
|
25780
|
+
auth: "protected"
|
|
25752
25781
|
}),
|
|
25753
25782
|
setPreset: method(object({
|
|
25754
25783
|
deviceId: number().int().nonnegative(),
|
|
25755
25784
|
preset: string().min(1)
|
|
25756
25785
|
}), _void(), {
|
|
25757
25786
|
kind: "mutation",
|
|
25758
|
-
auth: "
|
|
25787
|
+
auth: "protected"
|
|
25759
25788
|
}),
|
|
25760
25789
|
setDirection: method(object({
|
|
25761
25790
|
deviceId: number().int().nonnegative(),
|
|
25762
25791
|
direction: FanDirectionSchema
|
|
25763
25792
|
}), _void(), {
|
|
25764
25793
|
kind: "mutation",
|
|
25765
|
-
auth: "
|
|
25794
|
+
auth: "protected"
|
|
25766
25795
|
}),
|
|
25767
25796
|
setOscillating: method(object({
|
|
25768
25797
|
deviceId: number().int().nonnegative(),
|
|
25769
25798
|
oscillating: boolean()
|
|
25770
25799
|
}), _void(), {
|
|
25771
25800
|
kind: "mutation",
|
|
25772
|
-
auth: "
|
|
25801
|
+
auth: "protected"
|
|
25773
25802
|
})
|
|
25774
25803
|
},
|
|
25775
25804
|
status: {
|
|
@@ -25991,21 +26020,21 @@ var humidifierCapability = {
|
|
|
25991
26020
|
on: boolean()
|
|
25992
26021
|
}), _void(), {
|
|
25993
26022
|
kind: "mutation",
|
|
25994
|
-
auth: "
|
|
26023
|
+
auth: "protected"
|
|
25995
26024
|
}),
|
|
25996
26025
|
setTargetHumidity: method(object({
|
|
25997
26026
|
deviceId: number().int().nonnegative(),
|
|
25998
26027
|
humidity: number().min(0).max(100)
|
|
25999
26028
|
}), _void(), {
|
|
26000
26029
|
kind: "mutation",
|
|
26001
|
-
auth: "
|
|
26030
|
+
auth: "protected"
|
|
26002
26031
|
}),
|
|
26003
26032
|
setMode: method(object({
|
|
26004
26033
|
deviceId: number().int().nonnegative(),
|
|
26005
26034
|
mode: string().min(1)
|
|
26006
26035
|
}), _void(), {
|
|
26007
26036
|
kind: "mutation",
|
|
26008
|
-
auth: "
|
|
26037
|
+
auth: "protected"
|
|
26009
26038
|
})
|
|
26010
26039
|
},
|
|
26011
26040
|
status: {
|
|
@@ -26706,15 +26735,15 @@ var lawnMowerControlCapability = {
|
|
|
26706
26735
|
methods: {
|
|
26707
26736
|
startMowing: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26708
26737
|
kind: "mutation",
|
|
26709
|
-
auth: "
|
|
26738
|
+
auth: "protected"
|
|
26710
26739
|
}),
|
|
26711
26740
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26712
26741
|
kind: "mutation",
|
|
26713
|
-
auth: "
|
|
26742
|
+
auth: "protected"
|
|
26714
26743
|
}),
|
|
26715
26744
|
dock: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
26716
26745
|
kind: "mutation",
|
|
26717
|
-
auth: "
|
|
26746
|
+
auth: "protected"
|
|
26718
26747
|
})
|
|
26719
26748
|
},
|
|
26720
26749
|
status: {
|
|
@@ -26999,18 +27028,18 @@ var lockControlCapability = {
|
|
|
26999
27028
|
code: string().min(1).optional()
|
|
27000
27029
|
}), _void(), {
|
|
27001
27030
|
kind: "mutation",
|
|
27002
|
-
auth: "
|
|
27031
|
+
auth: "protected"
|
|
27003
27032
|
}),
|
|
27004
27033
|
unlock: method(object({
|
|
27005
27034
|
deviceId: number().int().nonnegative(),
|
|
27006
27035
|
code: string().min(1).optional()
|
|
27007
27036
|
}), _void(), {
|
|
27008
27037
|
kind: "mutation",
|
|
27009
|
-
auth: "
|
|
27038
|
+
auth: "protected"
|
|
27010
27039
|
}),
|
|
27011
27040
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27012
27041
|
kind: "mutation",
|
|
27013
|
-
auth: "
|
|
27042
|
+
auth: "protected"
|
|
27014
27043
|
})
|
|
27015
27044
|
},
|
|
27016
27045
|
status: {
|
|
@@ -27113,65 +27142,65 @@ var mediaPlayerCapability = {
|
|
|
27113
27142
|
methods: {
|
|
27114
27143
|
play: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27115
27144
|
kind: "mutation",
|
|
27116
|
-
auth: "
|
|
27145
|
+
auth: "protected"
|
|
27117
27146
|
}),
|
|
27118
27147
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27119
27148
|
kind: "mutation",
|
|
27120
|
-
auth: "
|
|
27149
|
+
auth: "protected"
|
|
27121
27150
|
}),
|
|
27122
27151
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27123
27152
|
kind: "mutation",
|
|
27124
|
-
auth: "
|
|
27153
|
+
auth: "protected"
|
|
27125
27154
|
}),
|
|
27126
27155
|
next: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27127
27156
|
kind: "mutation",
|
|
27128
|
-
auth: "
|
|
27157
|
+
auth: "protected"
|
|
27129
27158
|
}),
|
|
27130
27159
|
previous: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
27131
27160
|
kind: "mutation",
|
|
27132
|
-
auth: "
|
|
27161
|
+
auth: "protected"
|
|
27133
27162
|
}),
|
|
27134
27163
|
seek: method(object({
|
|
27135
27164
|
deviceId: number().int().nonnegative(),
|
|
27136
27165
|
positionMs: number().int().nonnegative()
|
|
27137
27166
|
}), _void(), {
|
|
27138
27167
|
kind: "mutation",
|
|
27139
|
-
auth: "
|
|
27168
|
+
auth: "protected"
|
|
27140
27169
|
}),
|
|
27141
27170
|
setVolume: method(object({
|
|
27142
27171
|
deviceId: number().int().nonnegative(),
|
|
27143
27172
|
volumeLevel: number().min(0).max(100)
|
|
27144
27173
|
}), _void(), {
|
|
27145
27174
|
kind: "mutation",
|
|
27146
|
-
auth: "
|
|
27175
|
+
auth: "protected"
|
|
27147
27176
|
}),
|
|
27148
27177
|
setMute: method(object({
|
|
27149
27178
|
deviceId: number().int().nonnegative(),
|
|
27150
27179
|
muted: boolean()
|
|
27151
27180
|
}), _void(), {
|
|
27152
27181
|
kind: "mutation",
|
|
27153
|
-
auth: "
|
|
27182
|
+
auth: "protected"
|
|
27154
27183
|
}),
|
|
27155
27184
|
setShuffle: method(object({
|
|
27156
27185
|
deviceId: number().int().nonnegative(),
|
|
27157
27186
|
shuffle: boolean()
|
|
27158
27187
|
}), _void(), {
|
|
27159
27188
|
kind: "mutation",
|
|
27160
|
-
auth: "
|
|
27189
|
+
auth: "protected"
|
|
27161
27190
|
}),
|
|
27162
27191
|
setRepeat: method(object({
|
|
27163
27192
|
deviceId: number().int().nonnegative(),
|
|
27164
27193
|
repeat: MediaPlayerRepeatSchema
|
|
27165
27194
|
}), _void(), {
|
|
27166
27195
|
kind: "mutation",
|
|
27167
|
-
auth: "
|
|
27196
|
+
auth: "protected"
|
|
27168
27197
|
}),
|
|
27169
27198
|
selectSource: method(object({
|
|
27170
27199
|
deviceId: number().int().nonnegative(),
|
|
27171
27200
|
source: string().min(1)
|
|
27172
27201
|
}), _void(), {
|
|
27173
27202
|
kind: "mutation",
|
|
27174
|
-
auth: "
|
|
27203
|
+
auth: "protected"
|
|
27175
27204
|
}),
|
|
27176
27205
|
playMedia: method(object({
|
|
27177
27206
|
deviceId: number().int().nonnegative(),
|
|
@@ -27182,7 +27211,7 @@ var mediaPlayerCapability = {
|
|
|
27182
27211
|
mediaType: string().min(1)
|
|
27183
27212
|
}), _void(), {
|
|
27184
27213
|
kind: "mutation",
|
|
27185
|
-
auth: "
|
|
27214
|
+
auth: "protected"
|
|
27186
27215
|
})
|
|
27187
27216
|
},
|
|
27188
27217
|
status: {
|
|
@@ -28821,27 +28850,27 @@ var petFeederCapability = {
|
|
|
28821
28850
|
hopper2: gramsPortion.optional()
|
|
28822
28851
|
}), _void(), {
|
|
28823
28852
|
kind: "mutation",
|
|
28824
|
-
auth: "
|
|
28853
|
+
auth: "protected"
|
|
28825
28854
|
}),
|
|
28826
28855
|
/** Cancel an in-progress manual feed. */
|
|
28827
28856
|
cancelFeed: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28828
28857
|
kind: "mutation",
|
|
28829
|
-
auth: "
|
|
28858
|
+
auth: "protected"
|
|
28830
28859
|
}),
|
|
28831
28860
|
/** Reset the desiccant "days remaining" counter after replacing it. */
|
|
28832
28861
|
resetDesiccant: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28833
28862
|
kind: "mutation",
|
|
28834
|
-
auth: "
|
|
28863
|
+
auth: "protected"
|
|
28835
28864
|
}),
|
|
28836
28865
|
/** Mark a hopper as refilled (D4H/D4S/D4SH). */
|
|
28837
28866
|
markFoodReplenished: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28838
28867
|
kind: "mutation",
|
|
28839
|
-
auth: "
|
|
28868
|
+
auth: "protected"
|
|
28840
28869
|
}),
|
|
28841
28870
|
/** Call the pet with the recorded prompt (D3). */
|
|
28842
28871
|
callPet: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
28843
28872
|
kind: "mutation",
|
|
28844
|
-
auth: "
|
|
28873
|
+
auth: "protected"
|
|
28845
28874
|
}),
|
|
28846
28875
|
/** Play a stored sound by id (D3 / D4H / D4SH). */
|
|
28847
28876
|
playSound: method(object({
|
|
@@ -28849,7 +28878,7 @@ var petFeederCapability = {
|
|
|
28849
28878
|
soundId: number().int().nonnegative()
|
|
28850
28879
|
}), _void(), {
|
|
28851
28880
|
kind: "mutation",
|
|
28852
|
-
auth: "
|
|
28881
|
+
auth: "protected"
|
|
28853
28882
|
}),
|
|
28854
28883
|
/** Toggle the child-lock (manual-lock) setting. */
|
|
28855
28884
|
setChildLock: method(object({
|
|
@@ -28857,7 +28886,7 @@ var petFeederCapability = {
|
|
|
28857
28886
|
on: boolean()
|
|
28858
28887
|
}), _void(), {
|
|
28859
28888
|
kind: "mutation",
|
|
28860
|
-
auth: "
|
|
28889
|
+
auth: "protected"
|
|
28861
28890
|
}),
|
|
28862
28891
|
/** Toggle the front indicator light. */
|
|
28863
28892
|
setIndicatorLight: method(object({
|
|
@@ -28865,7 +28894,7 @@ var petFeederCapability = {
|
|
|
28865
28894
|
on: boolean()
|
|
28866
28895
|
}), _void(), {
|
|
28867
28896
|
kind: "mutation",
|
|
28868
|
-
auth: "
|
|
28897
|
+
auth: "protected"
|
|
28869
28898
|
}),
|
|
28870
28899
|
/** Toggle the dispense chime. */
|
|
28871
28900
|
setFeedSound: method(object({
|
|
@@ -28873,7 +28902,7 @@ var petFeederCapability = {
|
|
|
28873
28902
|
on: boolean()
|
|
28874
28903
|
}), _void(), {
|
|
28875
28904
|
kind: "mutation",
|
|
28876
|
-
auth: "
|
|
28905
|
+
auth: "protected"
|
|
28877
28906
|
}),
|
|
28878
28907
|
/** Set the speaker / prompt volume level. */
|
|
28879
28908
|
setVolume: method(object({
|
|
@@ -28881,7 +28910,7 @@ var petFeederCapability = {
|
|
|
28881
28910
|
level: number().int().nonnegative()
|
|
28882
28911
|
}), _void(), {
|
|
28883
28912
|
kind: "mutation",
|
|
28884
|
-
auth: "
|
|
28913
|
+
auth: "protected"
|
|
28885
28914
|
})
|
|
28886
28915
|
},
|
|
28887
28916
|
status: {
|
|
@@ -31437,7 +31466,7 @@ var switchCapability = {
|
|
|
31437
31466
|
on: boolean()
|
|
31438
31467
|
}), _void(), {
|
|
31439
31468
|
kind: "mutation",
|
|
31440
|
-
auth: "
|
|
31469
|
+
auth: "protected"
|
|
31441
31470
|
}) },
|
|
31442
31471
|
events: { onStateChanged: { data: object({
|
|
31443
31472
|
deviceId: number(),
|
|
@@ -32425,30 +32454,30 @@ var vacuumControlCapability = {
|
|
|
32425
32454
|
methods: {
|
|
32426
32455
|
start: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32427
32456
|
kind: "mutation",
|
|
32428
|
-
auth: "
|
|
32457
|
+
auth: "protected"
|
|
32429
32458
|
}),
|
|
32430
32459
|
pause: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32431
32460
|
kind: "mutation",
|
|
32432
|
-
auth: "
|
|
32461
|
+
auth: "protected"
|
|
32433
32462
|
}),
|
|
32434
32463
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32435
32464
|
kind: "mutation",
|
|
32436
|
-
auth: "
|
|
32465
|
+
auth: "protected"
|
|
32437
32466
|
}),
|
|
32438
32467
|
returnToBase: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32439
32468
|
kind: "mutation",
|
|
32440
|
-
auth: "
|
|
32469
|
+
auth: "protected"
|
|
32441
32470
|
}),
|
|
32442
32471
|
locate: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32443
32472
|
kind: "mutation",
|
|
32444
|
-
auth: "
|
|
32473
|
+
auth: "protected"
|
|
32445
32474
|
}),
|
|
32446
32475
|
setFanSpeed: method(object({
|
|
32447
32476
|
deviceId: number().int().nonnegative(),
|
|
32448
32477
|
speed: string().min(1)
|
|
32449
32478
|
}), _void(), {
|
|
32450
32479
|
kind: "mutation",
|
|
32451
|
-
auth: "
|
|
32480
|
+
auth: "protected"
|
|
32452
32481
|
})
|
|
32453
32482
|
},
|
|
32454
32483
|
status: {
|
|
@@ -32492,22 +32521,22 @@ var valveCapability = {
|
|
|
32492
32521
|
methods: {
|
|
32493
32522
|
open: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32494
32523
|
kind: "mutation",
|
|
32495
|
-
auth: "
|
|
32524
|
+
auth: "protected"
|
|
32496
32525
|
}),
|
|
32497
32526
|
close: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32498
32527
|
kind: "mutation",
|
|
32499
|
-
auth: "
|
|
32528
|
+
auth: "protected"
|
|
32500
32529
|
}),
|
|
32501
32530
|
stop: method(object({ deviceId: number().int().nonnegative() }), _void(), {
|
|
32502
32531
|
kind: "mutation",
|
|
32503
|
-
auth: "
|
|
32532
|
+
auth: "protected"
|
|
32504
32533
|
}),
|
|
32505
32534
|
setPosition: method(object({
|
|
32506
32535
|
deviceId: number().int().nonnegative(),
|
|
32507
32536
|
position: number().min(0).max(100)
|
|
32508
32537
|
}), _void(), {
|
|
32509
32538
|
kind: "mutation",
|
|
32510
|
-
auth: "
|
|
32539
|
+
auth: "protected"
|
|
32511
32540
|
})
|
|
32512
32541
|
},
|
|
32513
32542
|
status: {
|
|
@@ -32606,21 +32635,21 @@ var waterHeaterCapability = {
|
|
|
32606
32635
|
temp: number().finite()
|
|
32607
32636
|
}), _void(), {
|
|
32608
32637
|
kind: "mutation",
|
|
32609
|
-
auth: "
|
|
32638
|
+
auth: "protected"
|
|
32610
32639
|
}),
|
|
32611
32640
|
setOperationMode: method(object({
|
|
32612
32641
|
deviceId: number().int().nonnegative(),
|
|
32613
32642
|
mode: string().min(1)
|
|
32614
32643
|
}), _void(), {
|
|
32615
32644
|
kind: "mutation",
|
|
32616
|
-
auth: "
|
|
32645
|
+
auth: "protected"
|
|
32617
32646
|
}),
|
|
32618
32647
|
setAway: method(object({
|
|
32619
32648
|
deviceId: number().int().nonnegative(),
|
|
32620
32649
|
on: boolean()
|
|
32621
32650
|
}), _void(), {
|
|
32622
32651
|
kind: "mutation",
|
|
32623
|
-
auth: "
|
|
32652
|
+
auth: "protected"
|
|
32624
32653
|
})
|
|
32625
32654
|
},
|
|
32626
32655
|
status: {
|
|
@@ -38096,6 +38125,12 @@ Object.freeze({
|
|
|
38096
38125
|
addonId: null,
|
|
38097
38126
|
access: "view"
|
|
38098
38127
|
},
|
|
38128
|
+
"pipelineAnalytics.listArchivedDebugNotes": {
|
|
38129
|
+
capName: "pipeline-analytics",
|
|
38130
|
+
capScope: "device",
|
|
38131
|
+
addonId: null,
|
|
38132
|
+
access: "view"
|
|
38133
|
+
},
|
|
38099
38134
|
"pipelineAnalytics.listEventKinds": {
|
|
38100
38135
|
capName: "pipeline-analytics",
|
|
38101
38136
|
capScope: "device",
|
|
@@ -41883,6 +41918,11 @@ Object.freeze({
|
|
|
41883
41918
|
form: "array",
|
|
41884
41919
|
optional: true
|
|
41885
41920
|
}],
|
|
41921
|
+
"pipelineAnalytics.listArchivedDebugNotes": [{
|
|
41922
|
+
name: "deviceId",
|
|
41923
|
+
form: "single",
|
|
41924
|
+
optional: true
|
|
41925
|
+
}],
|
|
41886
41926
|
"pipelineAnalytics.listEventKinds": [{
|
|
41887
41927
|
name: "deviceId",
|
|
41888
41928
|
form: "single",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-amcrest",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.89",
|
|
4
4
|
"description": "Amcrest/Dahua camera device provider addon for CamStack — Dahua CGI over HTTP(S) with digest auth (snapshot, RTSP catalog, PTZ, image/day-night config)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|